- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 223 for 10 (0.12 sec)
-
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertThrows(IOException.class, () -> reader.read(new char[10], 0, 10)); assertThrows(IOException.class, () -> reader.read(CharBuffer.allocate(10))); assertThrows(IOException.class, () -> reader.skip(10)); assertThrows(IOException.class, () -> reader.ready()); assertThrows(IOException.class, () -> reader.mark(10));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
sub.asMapOfRanges()); assertEquals( ImmutableMap.of(Range.open(3, 7), 1, Range.openClosed(9, 10), 2, Range.closed(12, 16), 3), rangeMap.asMapOfRanges()); sub.remove(Range.closed(3, 9)); assertEquals(ImmutableMap.of(Range.openClosed(9, 10), 2), sub.asMapOfRanges()); assertEquals(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 28K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
} public void testColumnKeySet_isSorted() { table = create( "a", 2, 'X', "a", 2, 'X', "b", 3, 'X', "b", 2, 'X', "c", 10, 'X', "c", 10, 'X', "c", 20, 'X', "d", 15, 'X', "d", 20, 'X', "d", 1, 'X', "e", 5, 'X'); assertEquals("[1, 2, 3, 5, 10, 15, 20]", table.columnKeySet().toString()); } public void testColumnKeySet_isSortedWithRealComparator() { table = create(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
// overlap above assertEquals(Range.closed(4, 10), range.span(Range.closed(6, 10))); assertEquals(Range.atLeast(4), range.span(Range.atLeast(6))); // adjacent above assertEquals(Range.closed(4, 10), range.span(Range.openClosed(8, 10))); assertEquals(Range.atLeast(4), range.span(Range.greaterThan(8))); // separate above
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
assertFalse(in.closed()); sink.writeFrom(in); assertFalse(in.closed()); } public void testClosesOnErrors_copyingFromByteSourceThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { TestByteSource failSource = new TestByteSource(new byte[10], option); TestByteSink okSink = new TestByteSink();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
public void testThreshold() throws Exception { testThreshold(0, 100, true, false); testThreshold(10, 100, true, false); testThreshold(100, 100, true, false); testThreshold(1000, 100, true, false); testThreshold(0, 100, false, false); testThreshold(10, 100, false, false); testThreshold(100, 100, false, false); testThreshold(1000, 100, false, false); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
/** Sanity checking with many combinations of false positive rates and expected insertions */ public void testBasic() { for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) { for (int expectedInsertions = 1; expectedInsertions <= 10000; expectedInsertions *= 10) { checkSanity(BloomFilter.create(HashTestUtils.BAD_FUNNEL, expectedInsertions, fpr)); } } } public void testPreconditions() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(ImmutableDoubleArray.of(0, 1, 3, 6, 10).asList()) .containsExactly(0.0, 1.0, 3.0, 6.0, 10.0) .inOrder(); } public void testOf6() { assertThat(ImmutableDoubleArray.of(0, 1, 3, 6, 10, 15).asList()) .containsExactly(0.0, 1.0, 3.0, 6.0, 10.0, 15.0) .inOrder(); } public void testOf7() { assertThat(ImmutableDoubleArray.of(0, 1, 3, 6, 10, 15, 21).asList())
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 15:23:21 GMT 2023 - 20K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LongMath.java
1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10, 1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11, 1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12, 1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13, 1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14, 1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15, 1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 44.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
} } public void testTruncate() { assertEquals("foobar", Ascii.truncate("foobar", 10, "...")); assertEquals("fo...", Ascii.truncate("foobar", 5, "...")); assertEquals("foobar", Ascii.truncate("foobar", 6, "...")); assertEquals("...", Ascii.truncate("foobar", 3, "...")); assertEquals("foobar", Ascii.truncate("foobar", 10, "…")); assertEquals("foo…", Ascii.truncate("foobar", 4, "…"));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K bytes - Viewed (0)