- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for slots (0.03 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
/** * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is * a black-box test that tries to create lots of different thread-interleavings, and asserts that * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
if (expected.equals(in)) { assertSame(in, out); } else { assertEquals(expected, out); } } // Test collapse() a little differently than the rest, as we really want to // cover lots of different configurations of input text public void testCollapse() { // collapsing groups of '-' into '_' or '-' doTestCollapse("-", "_"); doTestCollapse("x-", "x_"); doTestCollapse("-x", "_x");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* determined experimentally to match our desired probability of false positives. */ // NB: yes, this is surprisingly high, but that's what the experiments said was necessary // Raising this number slows the worst-case contains behavior, speeds up hashFloodingDetected, // and reduces the false-positive probability. static final int MAX_RUN_MULTIPLIER = 13; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
if (expected.equals(in)) { assertSame(in, out); } else { assertEquals(expected, out); } } // Test collapse() a little differently than the rest, as we really want to // cover lots of different configurations of input text public void testCollapse() { // collapsing groups of '-' into '_' or '-' doTestCollapse("-", "_"); doTestCollapse("x-", "x_"); doTestCollapse("-x", "_x");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} } } /* * This next part consists of several sample classes that provide * demonstrations of conditions that cause NullPointerTester * to succeed/fail. */ /** Lots of well-behaved methods. */ @SuppressWarnings("unused") // used by reflection private static class PassObject extends SomeClassThatDoesNotUseNullable { @Keep public static void doThrow(Object arg) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
assertThat(hpackReader!!.headerCount).isEqualTo(1) } /** Header table backing array is initially 8 long, let's ensure it grows. */ @Test fun dynamicallyGrowsBeyond64Entries() { // Lots of headers need more room! hpackReader = Hpack.Reader(bytesIn, 16384, 4096) bytesIn.writeByte(0x3F) // Dynamic table size update (size = 16384). bytesIn.writeByte(0xE1) bytesIn.writeByte(0x7F)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
static final class Whitespace extends NamedFastMatcher { // TABLE is a precomputed hashset of whitespace characters. MULTIPLIER serves as a hash function // whose key property is that it maps 25 characters into the 32-slot table without collision. // Basically this is an opportunistic fast implementation as opposed to "good code". For most // other use-cases, the reduction in readability isn't worth it. static final String TABLE =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Test cases for {@link TypeToken}. * * @author Sven Mawson * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? @NullUnmarked public class TypeTokenTest extends TestCase { private abstract static class StringList implements List<String> {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Test cases for {@link TypeToken}. * * @author Sven Mawson * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? @NullUnmarked public class TypeTokenTest extends TestCase { private abstract static class StringList implements List<String> {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java
ama.no.1-&htron-nc.wolfria,tsewhtron-nc.wolfria,?wanozama.&ble,etupmoc,wolfria.1-&htron-nc,tsewhtron-nc,???ur.&dliub,e&doc,sabatad,tirwppa,?noitargim,??o&c.&pato,timx,?i.&0pci.war,1pci.war,e&lacsnoom,varb.s,?nroca-no,oir-no,reniatnoceruza,s&3k-no,olots,?xcq.sys,??p&j.&a&mahokoy?yogan??ebok?i&adnes?kasawak??oroppas?uhsuykatik??n?ot.ldaw,pa.&detsoh,e&kalfwons:.kniletavirp,,varb.s,?knalfhtron,nu&r:.sltm,,spu,?repoleved,sporez,tegeb,??r&b.mon?e??s&edoc.owo,w&.rosivda,a.&no.&1-&ht&ron-ue.wolfria,uos-...
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:39:59 UTC 2025 - 75.3K bytes - Viewed (0)