Home
last modified time | relevance | path

Searched refs:integers (Results 1 – 25 of 201) sorted by relevance

123456789

/external/guava/guava-tests/test/com/google/common/collect/
DContiguousSetTest.java21 import static com.google.common.collect.DiscreteDomains.integers;
41 return integers().next(value);
45 return integers().previous(value);
49 return integers().distance(start, end);
53 return integers().minValue();
57 return integers().maxValue();
64 Ranges.closed(1, 3).asSet(integers()), in testEquals()
65 Ranges.closedOpen(1, 4).asSet(integers()), in testEquals()
66 Ranges.openClosed(0, 3).asSet(integers()), in testEquals()
67 Ranges.open(0, 4).asSet(integers()), in testEquals()
[all …]
DRangeTest.java21 import static com.google.common.collect.DiscreteDomains.integers;
538 return DiscreteDomains.integers().next(value);
542 return DiscreteDomains.integers().previous(value);
546 return DiscreteDomains.integers().distance(start, end);
567 assertEquals(ImmutableSet.of(), Ranges.closedOpen(1, 1).asSet(integers())); in testAsSet_empty()
568 assertEquals(ImmutableSet.of(), Ranges.openClosed(5, 5).asSet(integers())); in testAsSet_empty()
569 assertEquals(ImmutableSet.of(), Ranges.lessThan(Integer.MIN_VALUE).asSet(integers())); in testAsSet_empty()
570 assertEquals(ImmutableSet.of(), Ranges.greaterThan(Integer.MAX_VALUE).asSet(integers())); in testAsSet_empty()
575 Ranges.closed(1, 4).canonical(integers())); in testCanonical()
577 Ranges.open(0, 5).canonical(integers())); in testCanonical()
[all …]
DContiguousSetNonGwtTest.java20 import static com.google.common.collect.DiscreteDomains.integers;
59 return Ranges.closed(set.first(), set.last()).asSet(integers()); in suite()
DTransformedSetTest.java105 Iterable<Integer> integers = (Iterable) Arrays.asList(elements); in create() local
109 Set<Integer> invertedIntegers = Sets.newHashSet(Iterables.transform(integers, in create()
DDiscreteDomainsTest.java33 reserializeAndAssert(DiscreteDomains.integers()); in testSerialization()
/external/chromium_org/third_party/sqlite/src/test/
Drecover1.test288 DROP TABLE IF EXISTS integers;
289 CREATE TABLE integers (value);
292 INSERT INTO integers VALUES (0);
293 INSERT INTO integers VALUES (1);
296 INSERT INTO integers VALUES (2);
297 INSERT INTO integers VALUES (-2);
298 INSERT INTO integers VALUES (127);
299 INSERT INTO integers VALUES (-128);
302 INSERT INTO integers VALUES (12345);
303 INSERT INTO integers VALUES (-12345);
[all …]
Danalyze5.test53 CREATE INDEX t1w ON t1(w); -- integers 0, 1, 2 and a few NULLs
54 CREATE INDEX t1x ON t1(x); -- integers 1, 2, 3 and many NULLs
55 CREATE INDEX t1y ON t1(y); -- integers 0 and very few 1s
56 CREATE INDEX t1z ON t1(z); -- integers 0, 1, 2, and 3
Dtypes.test152 # Create a table and insert some 1-byte integers. Make sure they
168 # Try some 2-byte integers (4 byte records)
181 # 4-byte integers (6 byte records)
194 # 8-byte integers (10 byte records)
/external/chromium_org/tools/json_schema_compiler/test/
Dchoices_unittest.cc51 EXPECT_FALSE(params->string_info.integers); in TEST()
61 ASSERT_TRUE(params->string_info.integers); in TEST()
62 EXPECT_FALSE(params->string_info.integers->as_integers); in TEST()
63 EXPECT_EQ(6, *params->string_info.integers->as_integer); in TEST()
120 ASSERT_TRUE(out.integers.as_integer.get()); in TEST()
121 EXPECT_FALSE(out.integers.as_integers.get()); in TEST()
122 EXPECT_EQ(4, *out.integers.as_integer); in TEST()
253 ASSERT_TRUE(choice_type->integers.as_integers); in TEST()
254 EXPECT_FALSE(choice_type->integers.as_integer); in TEST()
255 EXPECT_EQ(Vector(1, 2), *choice_type->integers.as_integers); in TEST()
Darrays_unittest.cc191 std::vector<int> integers; in TEST() local
192 integers.push_back(1); in TEST()
193 integers.push_back(2); in TEST()
194 scoped_ptr<ListValue> results = ReturnIntegerArray::Results::Create(integers); in TEST()
/external/chromium_org/third_party/mt19937ar/
Dreadme-mt.txt23 by using an array init_key[] of unsigned 32-bit integers
25 then each array of 32-bit integers gives distinct initial
33 genrand_int32() generates unsigned 32-bit integers.
34 genrand_int31() generates unsigned 31-bit integers.
47 then 1000 outputs of unsigned 32-bit integers,
/external/libexif/test/
DMakefile.am13 TESTS = test-mem test-value test-integers test-parse test-tagtable test-sorted
18 check_PROGRAMS = test-mem test-mnote test-value test-integers test-parse \
DMakefile.in36 TESTS = test-mem$(EXEEXT) test-value$(EXEEXT) test-integers$(EXEEXT) \
40 test-value$(EXEEXT) test-integers$(EXEEXT) test-parse$(EXEEXT) \
66 test_integers_SOURCES = test-integers.c
67 test_integers_OBJECTS = test-integers.$(OBJEXT)
131 SOURCES = test-integers.c test-mem.c test-mnote.c test-parse.c \
133 DIST_SOURCES = test-integers.c test-mem.c test-mnote.c test-parse.c \
365 test-integers$(EXEEXT): $(test_integers_OBJECTS) $(test_integers_DEPENDENCIES)
366 @rm -f test-integers$(EXEEXT)
393 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-integers.Po@am__quote@
/external/chromium_org/tools/gn/
Dtokenizer_unittest.cc61 TokenExpectation integers[] = { in TEST() local
65 EXPECT_TRUE(CheckTokenizer(" 123 -123 ", integers)); in TEST()
69 TokenExpectation integers[] = { in TEST() local
73 EXPECT_TRUE(CheckTokenizer(" 123-123 ", integers)); in TEST()
/external/srtp/googlepatches/
Dgoogle-7-srtp-security-fix.patch1 …/google3/third_party/libsrtp/crypto/include/integers.h b/google3/third_party/libsrtp/crypto/includ…
3 --- a/google3/third_party/libsrtp/crypto/include/integers.h
4 +++ b/google3/third_party/libsrtp/crypto/include/integers.h
/external/llvm/docs/CommandGuide/
Dllvm-bcanalyzer.rst207 The total number of 32-bit integers encoded using the Variable Bit Rate
212 The total number of 64-bit integers encoded using the Variable Bit Rate encoding
217 The total number of bytes consumed by the 32-bit and 64-bit integers that use
223 integers had they not been compressed with the Variable Bit Rage encoding
279 The total number of 32-bit integers found in this function (for any use).
283 The total number of 64-bit integers found in this function (for any use).
288 integers that use the Variable Bit Rate encoding scheme.
293 the 32-bit and 64-bit integers had they not been compressed with the Variable
/external/chromium/third_party/libevent/test/
Dregress.c1363 uint32_t integers[TEST_MAX_INT] = { in evtag_int_test() local
1372 encode_int(tmp, integers[i]); in evtag_int_test()
1375 integers[i], newlen - oldlen); in evtag_int_test()
1383 if (integer != integers[i]) { in evtag_int_test()
1385 integer, integers[i]); in evtag_int_test()
1446 uint32_t integers[TEST_MAX_INT] = { in evtag_tag_encoding() local
1455 evtag_encode_tag(tmp, integers[i]); in evtag_tag_encoding()
1458 integers[i], newlen - oldlen); in evtag_tag_encoding()
1466 if (integer != integers[i]) { in evtag_tag_encoding()
1468 integer, integers[i]); in evtag_tag_encoding()
/external/chromium_org/third_party/libevent/test/
Dregress.c1363 uint32_t integers[TEST_MAX_INT] = { in evtag_int_test() local
1372 encode_int(tmp, integers[i]); in evtag_int_test()
1375 integers[i], newlen - oldlen); in evtag_int_test()
1383 if (integer != integers[i]) { in evtag_int_test()
1385 integer, integers[i]); in evtag_int_test()
1446 uint32_t integers[TEST_MAX_INT] = { in evtag_tag_encoding() local
1455 evtag_encode_tag(tmp, integers[i]); in evtag_tag_encoding()
1458 integers[i], newlen - oldlen); in evtag_tag_encoding()
1466 if (integer != integers[i]) { in evtag_tag_encoding()
1468 integer, integers[i]); in evtag_tag_encoding()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextRun.cpp33 int integers[2]; member
/external/llvm/include/llvm/IR/
DInstruction.def145 HANDLE_CAST_INST(33, Trunc , TruncInst ) // Truncate integers
146 HANDLE_CAST_INST(34, ZExt , ZExtInst ) // Zero extend integers
147 HANDLE_CAST_INST(35, SExt , SExtInst ) // Sign extend integers
/external/llvm/test/Transforms/InstCombine/
Dselect-2.ll4 ; select of two integers unless it's selecting 0 / 1.
Dapint-and-xor-merge.ll2 ; precision integers.
/external/llvm/test/Transforms/GlobalOpt/
Dinteger-bool.ll2 ;; check that global opt turns integers that only hold 0 or 1 into bools.
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DIntentTest.java388 final ArrayList<Integer> integers = new ArrayList<Integer>(Arrays.asList(100, 200, 300)); in putIntegerArrayListExtra_addsListToExtras() local
390 intent.putIntegerArrayListExtra("KEY", integers); in putIntegerArrayListExtra_addsListToExtras()
391 assertThat(intent.getIntegerArrayListExtra("KEY"), equalTo(integers)); in putIntegerArrayListExtra_addsListToExtras()
392 …assertThat(Robolectric.shadowOf(intent.getExtras()).getIntegerArrayList("KEY"), equalTo(integers)); in putIntegerArrayListExtra_addsListToExtras()
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/
DREADME.chromium14 big-endian integers, and contains a total reorganization of the code. The
44 - Replaced custom off_t encoding with signed 64-bit little-endian integers.

123456789