search for: test_int

Displaying 7 results from an estimated 7 matches for "test_int".

Did you mean: test_init
2012 Sep 13
1
[LLVMdev] Parsing C++ template parameters using cindex.py
...ld to the VAR_DECL node (the TYPE_REF node seen in the example below), but this is not the case with for example int. Any hint on where the template type is located for int/float/etc? /joel de vahl Example code: template <typename T> class Test { T test; }; struct S { }; Test<int> test_int; Test<S> test_struct; Tree dump script: def DeepPrintType(node, depth = 0): tabs = " " * depth print tabs + "type" print tabs + " kind", node.kind def DeepPrint(node, depth = 0): tabs = " " * depth print tabs + "cursor",...
2015 May 11
3
[PATCH 1/2] mllib: Require OUnit2 for tests.
...SON.Indented doc) -let test_bool () = +let test_bool ctx = let doc = [ "test_true", JSON.Bool true; "test_false", JSON.Bool false ] in assert_equal_string @@ -52,7 +52,7 @@ let test_bool () = }" (JSON.string_of_doc ~fmt:JSON.Indented doc) -let test_int () = +let test_int ctx = let doc = [ "test_zero", JSON.Int 0; "test_pos", JSON.Int 5; "test_neg", JSON.Int (-5); @@ -71,7 +71,7 @@ let test_int () = }" (JSON.string_of_doc ~fmt:JSON.Indented doc) -let test_list () = +let te...
2006 Jun 30
1
Very Strange IE behavior
...ulfernsehen/ It works fine on IE and FF. So I integrated the page into the clients CMS.... now its not working sometimes on IE. Error on line 155 file slider.js (this.handles[handleIdx].style[this.isVertical() ? ''top'' : ''left''] =) http://www.orientation.ch/dyn/test_int.asp ??? No JS Errors in the FF JS-console. Thereore it can not be an double variable declaration or something like that. to make sure everything was ok I tripplecheck the inludes. I added an alertbox in the builder.js (to check if the file is loading) and then it worked fine for IE most of the...
2015 Jan 23
0
[PATCH 2/2] mllib: add simple tests for the JSON module
...t_equal_string + "{ \"test_true\": true, \"test_false\": false }" + (JSON.string_of_doc doc); + assert_equal_string + "{ + \"test_true\": true, + \"test_false\": false +}" + (JSON.string_of_doc ~fmt:JSON.Indented doc) + +let test_int () = + let doc = [ "test_zero", JSON.Int 0; + "test_pos", JSON.Int 5; + "test_neg", JSON.Int (-5); + "test_pos64", JSON.Int64 (Int64.of_int 10); + "test_neg64", JSON.Int64 (Int64.of_int (-10)); ]...
2015 Jan 23
2
[PATCH 1/2] mllib: tests: add tests for string_lines_split
--- mllib/common_utils_tests.ml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/mllib/common_utils_tests.ml b/mllib/common_utils_tests.ml index 09d5c51..283e9a1 100644 --- a/mllib/common_utils_tests.ml +++ b/mllib/common_utils_tests.ml @@ -27,6 +27,7 @@ let prog = "common_utils_tests" let assert_equal_string = assert_equal ~printer:(fun x -> x) let
2016 Mar 31
2
Question about 'isUnsignedDIType' function on DwarfUnit.cpp
Hi All, I have question about 'isUnsignedDIType' function on 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp' When we want to generate object file with dwarf debug format, clang can generates 'DW_ATE_lo_user' encoding for complex integer type as follow: "clang/lib/CodeGen/CGDebugInfo.cpp" llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) { ... if
2018 Aug 20
6
[PATCH 0/4] mltools: JSON unification
An evolution of: https://www.redhat.com/archives/libguestfs/2018-August/msg00155.html