- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 387 for foo3 (0.02 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) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
val requestWithoutCache = Request.Builder().url("http://localhost/api").build() val builtRequestWithoutCache = requestWithoutCache.newBuilder().url("http://localhost/api/foo").build() assertThat(builtRequestWithoutCache.url).isEqualTo( "http://localhost/api/foo".toHttpUrl(), ) val requestWithCache = Request .Builder() .url("http://localhost/api") .build() // cache url object
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K 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) -
src/main/webapp/WEB-INF/view/admin/role/admin_role_edit.jsp
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 3.4K 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) -
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) -
android/guava-tests/test/com/google/common/net/UrlEscapersTest.java
// Plus for spaces assertEscaping(e, "+", ' '); assertEscaping(e, "%2B", '+'); assertEquals("safe+with+spaces", e.escape("safe with spaces")); assertEquals("foo%40bar.com", e.escape("foo@bar.com")); } public void testUrlPathSegmentEscaper() { UnicodeEscaper e = (UnicodeEscaper) urlPathSegmentEscaper(); assertPathEscaper(e); assertUnescaped(e, '+'); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
* fieldDesc.getFieldValue(foo); // Retrieve the value of Foo's field * } * * for (ConstructorDesc constructorDesc : beanDesc.getConstructorDescs()) { * constructorDesc.newInstance(...); // Create an instance of Foo * } * * for (String methodName : beanDesc.getMethodNames()) { * for (MethodDesc methodDesc : beanDesc.getMethodDescs(methodName)) { * methodDesc.invoke(foo, ...); // Invoke Foo's method * }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<String> iterable = singletonList("foo"); assertEquals("foo", getOnlyElement(iterable)); } public void testGetOnlyElement_noDefault_empty() { Iterable<String> iterable = emptyList(); assertThrows(NoSuchElementException.class, () -> getOnlyElement(iterable)); } public void testGetOnlyElement_noDefault_multiple() { Iterable<String> iterable = asList("foo", "bar");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/MapCacheTest.java
assertThat(mapCache.get("key")).isEqualTo("new value"); } @Test public void testRemoveEqualKeyWithDifferentReference() { String fooReference1 = new String("foo"); String fooReference2 = new String("foo"); assertThat(fooReference1).isNotSameInstanceAs(fooReference2); assertThat(mapCache.put(fooReference1, "bar")).isNull();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0)