- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 520 for FOO (0.01 sec)
-
android/guava-tests/test/com/google/common/collect/MultisetsTest.java
assertTrue(set.isEmpty()); set.add(new DerivedComparable("foo"), 2); set.add(new DerivedComparable("bar"), 3); assertThat(set) .containsExactly( new DerivedComparable("bar"), new DerivedComparable("bar"), new DerivedComparable("bar"), new DerivedComparable("foo"), new DerivedComparable("foo")) .inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.2K bytes - Viewed (0) -
cmd/utils_test.go
}{ {[]string{"", ""}, ""}, {[]string{"a", "b"}, ""}, {[]string{"a", "a"}, "a"}, {[]string{"a/", "a/"}, "a/"}, {[]string{"abcd/", ""}, ""}, {[]string{"abcd/foo/", "abcd/bar/"}, "abcd/"}, {[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"}, } for i, test := range testCases { foundPrefix := lcp(test.prefixes, true) if foundPrefix != test.commonPrefix {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback("foo"); addCallback(f, callback, directExecutor()); f.set("foo"); } public void testExecutorSuccess() { CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo"); assertEquals(1, ex.runCount); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MultiIteratorTest.java
@Test public void test() { final List<String> list1 = asList("Foo", "Bar"); final List<String> list2 = asList("Baz"); @SuppressWarnings("unchecked") final Iterator<String> it = new MultiIterator<String>(list1.iterator(), list2.iterator()); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Foo")); assertThat(it.hasNext(), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
fun writerEviction() { val headerBlock = headerEntries( "custom-foo", "custom-header", "custom-bar", "custom-header", "custom-baz", "custom-header", ) bytesIn.writeByte(0x40) // Literal indexed bytesIn.writeByte(0x0a) // Literal name (len = 10) bytesIn.writeUtf8("custom-foo") bytesIn.writeByte(0x0d) // Literal value (len = 13)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/html/HtmlEscapersTest.java
assertEquals("test >> 1", htmlEscaper().escape("test >> 1")); assertEquals("<tab>", htmlEscaper().escape("<tab>")); // Test simple escape of '&'. assertEquals("foo&bar", htmlEscaper().escape("foo&bar")); // If the string contains no escapes, it should return the arg. // Note: assert<b>Same</b> for this implementation. String s = "blah blah farhvergnugen";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt
assertFailsWith<SSLPeerUnverifiedException> { certificatePinner.check("foo.example.co.uk", listOf(certB1.certificate)) } assertFailsWith<SSLPeerUnverifiedException> { certificatePinner.check("foo.bar.example.co.uk", listOf(certB1.certificate)) } assertFailsWith<SSLPeerUnverifiedException> { certificatePinner.check("foo.bar.baz.example.co.uk", listOf(certB1.certificate)) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
publicSuffixList.ensureLoaded() // Break apart the domain into UTF-8 labels, i.e. foo.bar.com turns into [foo, bar, com]. val domainLabelsUtf8Bytes = Array(domainLabels.size) { i -> domainLabels[i].encodeUtf8() } // Start by looking for exact matches. We start at the leftmost label. For example, foo.bar.com // will look like: [foo, bar, com], [bar, com], [com]. The longest matching rule wins. var exactMatch: String? = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
docs/es/docs/tutorial/body-multiple-params.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
} @Test @DisplayName("writeSetupWireFormat writes subCommand and padding") void testWriteSetup() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("foo"); byte[] buf = new byte[2]; int r = cmd.writeSetupWireFormat(buf, 0); assertEquals(2, r); byte subCmd = (byte) getPrivateField(cmd, "subCommand"); assertEquals(subCmd, buf[0]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)