Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for bar (0.13 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        val pushPromise =
          PushPromise(
            "GET",
            "/foo/bar",
            headersOf("foo", "bar"),
            MockResponse(body = "bar"),
          )
        server.enqueue(
          MockResponse.Builder()
            .body("ABCDE")
            .addPush(pushPromise)
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        List<Object> result = doConcurrentGet(cache, "bar", count, startSignal);
    
        assertEquals(1, callCount.get());
        for (int i = 0; i < count; i++) {
          assertThat(result.get(i)).isInstanceOf(InvalidCacheLoadException.class);
        }
    
        // subsequent calls should call the loader again, not get the old exception
        try {
          cache.getUnchecked("bar");
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(url.queryParameterValues("bar")).isEqualTo(listOf(null as String?))
        assertThat(url.queryParameterValues("baz")).isEqualTo(listOf(null as String?))
      }
    
      @Test
      fun queryParametersWithEmptyValues() {
        val url = parse("http://host/?foo=&bar=&baz=")
        assertThat(url.querySize).isEqualTo(3)
        assertThat(url.queryParameterNames).containsExactlyInAnyOrder("foo", "bar", "baz")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        TreeMap<Derived, Integer> map = Maps.newTreeMap();
        assertEquals(Collections.emptyMap(), map);
        map.put(new Derived("foo"), 1);
        map.put(new Derived("bar"), 2);
        assertThat(map.keySet()).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
        assertThat(map.values()).containsExactly(2, 1).inOrder();
        assertNull(map.comparator());
      }
    
      public void testTreeMapNonGeneric() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        TreeMap<Derived, Integer> map = Maps.newTreeMap();
        assertEquals(Collections.emptyMap(), map);
        map.put(new Derived("foo"), 1);
        map.put(new Derived("bar"), 2);
        assertThat(map.keySet()).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
        assertThat(map.values()).containsExactly(2, 1).inOrder();
        assertNull(map.comparator());
      }
    
      public void testTreeMapNonGeneric() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class Bar<T> {}
        class SubBar<T> extends Bar<T> {
          @SuppressWarnings("unused")
          Bar<T> delegate;
    
          TypeToken<SubBar<T>> fieldTypeAsSubBar() {
            return new TypeToken<SubBar<T>>() {};
          }
        }
    
        Field delegateField = SubBar.class.getDeclaredField("delegate");
        // barType is Bar<T>, a ParameterizedType with no generic arguments specified
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class Bar<T> {}
        class SubBar<T> extends Bar<T> {
          @SuppressWarnings("unused")
          Bar<T> delegate;
    
          TypeToken<SubBar<T>> fieldTypeAsSubBar() {
            return new TypeToken<SubBar<T>>() {};
          }
        }
    
        Field delegateField = SubBar.class.getDeclaredField("delegate");
        // barType is Bar<T>, a ParameterizedType with no generic arguments specified
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

     * </tr>
     * 
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/foo/bar/
     * </code></td>
     * <td width="20%"><code>
     *  /share2/zig/zag
     * </code></td>
     * <td><code>
     *  smb://host/share2/zig/zag
     * </code></td>
     * </tr>
     * 
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/foo/bar/
     * </code></td>
     * <td width="20%"><code>
     *  ../zip/
     * </code></td>
     * <td><code>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    func TestIndexRune(t *testing.T) {
    	tests := []struct {
    		in   string
    		rune rune
    		want int
    	}{
    		{"", 'a', -1},
    		{"", '☺', -1},
    		{"foo", '☹', -1},
    		{"foo", 'o', 1},
    		{"foo☺bar", '☺', 3},
    		{"foo☺☻☹bar", '☹', 9},
    		{"a A x", 'A', 2},
    		{"some_text=some_value", '=', 9},
    		{"☺a", 'a', 3},
    		{"a☻☺b", '☺', 4},
    
    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    		{testBuckets[5], "foo/201910/1112", "content", nil},
    		{testBuckets[5], "foo/201910/2112", "content", nil},
    		{testBuckets[5], "foo/201910_txt", "content", nil},
    		{testBuckets[5], "201910/foo/bar/xl.meta/1.txt", "content", nil},
    		{testBuckets[6], "aaa", "content", nil},
    		{testBuckets[6], "bbb_aaa", "content", nil},
    		{testBuckets[6], "bbb_aaa", "content", nil},
    		{testBuckets[6], "ccc", "content", nil},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top