Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for foo (0.16 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testNonCancellationPropagating_successful() throws Exception {
        SettableFuture<Foo> input = SettableFuture.create();
        ListenableFuture<Foo> wrapper = nonCancellationPropagating(input);
        Foo foo = new Foo();
    
        assertFalse(wrapper.isDone());
        input.set(foo);
        assertTrue(wrapper.isDone());
        assertSame(foo, getDone(wrapper));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testNonCancellationPropagating_successful() throws Exception {
        SettableFuture<Foo> input = SettableFuture.create();
        ListenableFuture<Foo> wrapper = nonCancellationPropagating(input);
        Foo foo = new Foo();
    
        assertFalse(wrapper.isDone());
        input.set(foo);
        assertTrue(wrapper.isDone());
        assertSame(foo, getDone(wrapper));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            )
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        val response = getResponse(newRequest("/foo"))
        assertContent("this response comes via HTTPS", response)
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo("GET /foo HTTP/1.1")
      }
    
      @Test
      fun connectViaHttpsReusingConnections() {
        connectViaHttpsReusingConnections(false)
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  4. cmd/server_test.go

    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", "url"), []string{"<Key>foo+bar+1</Key>", "<Key>foo+bar+2</Key>", "<Key>foo+%01+bar</Key>"}},
    		{
    			getListObjectsV2URL(s.endPoint, bucketName, "", "1000", "", ""),
    			[]string{
    				"<Key>foo bar 1</Key>",
    				"<Key>foo bar 2</Key>",
    				"<Key>foo &#x1; bar</Key>",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

            .build()
        val request = Request("http://android.com/foo".toHttpUrl())
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("response body")
        val get1 = server.takeRequest()
        assertThat(get1.requestLine).isEqualTo("GET http://android.com/foo HTTP/1.1")
        assertThat(get1.headers["Proxy-Authorization"]).isNull()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *  smb1://host/share/zig/zag
     * </code></td><td width="20%"><code>
     *  smb1://foo/bar/
     * </code></td><td><code>
     *  smb1://foo/bar/
     * </code></td></tr>
     * 
     * <tr><td width="20%"><code>
     *  smb1://host/share/foo/
     * </code></td><td width="20%"><code>
     *  ../.././.././../foo/
     * </code></td><td><code>
     *  smb1://host/foo/
     * </code></td></tr>
     * 
     * <tr><td width="20%"><code>
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  7. okhttp/src/test/java/okhttp3/CacheTest.kt

          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_MOVED_PERM)
            .addHeader("Location: /foo")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("DEF")
            .build(),
        )
        val request1 = Request.Builder().url(server.url("/foo")).build()
        val response1 = client.newCall(request1).execute()
        assertThat(response1.body.string()).isEqualTo("ABC")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    will match if both the operand and the examined object are arrays of the same length and contain items that are equal to each other (according to the above rules) in the same indexes. For example: assertThat("foo", equalTo("foo")); assertThat(new String[] {"foo", "bar"}, equalTo(new String[] {"foo", "bar"})); any public static <T> Matcher<T> any(java.lang.Class<T> type) Creates a matcher that matches when the examined object is an instance of the specified type, as determined by calling the Class.isInstance(Object)...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    'a'                 byte        97 is in the set of byte values
    97                  rune        rune is an alias for int32, and 97 is in the set of 32-bit integers
    "foo"               string      "foo" is in the set of string values
    1024                int16       1024 is in the set of 16-bit integers
    42.0                byte        42 is in the set of unsigned 8-bit integers
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
       * <p>or:
       *
       * <pre>{@code
       * NavigableMap<K, V> map = synchronizedNavigableMap(new TreeMap<K, V>());
       * NavigableMap<K, V> map2 = map.subMap(foo, false, bar, true);
       *
       * // Needn't be in synchronized block
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
Back to top