Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for bar (0.12 sec)

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

        SettableFuture<Foo> f1 = SettableFuture.create();
        final SettableFuture<Bar> secondary = SettableFuture.create();
        AsyncFunction<Foo, Bar> function =
            new AsyncFunction<Foo, Bar>() {
              @Override
              public ListenableFuture<Bar> apply(Foo unused) {
                return secondary;
              }
            };
        ListenableFuture<Bar> f2 = transformAsync(f1, function, directExecutor());
        f1.cancel(true);
    Java
    - Registered: Fri May 03 12:43:13 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

        SettableFuture<Foo> f1 = SettableFuture.create();
        final SettableFuture<Bar> secondary = SettableFuture.create();
        AsyncFunction<Foo, Bar> function =
            new AsyncFunction<Foo, Bar>() {
              @Override
              public ListenableFuture<Bar> apply(Foo unused) {
                return secondary;
              }
            };
        ListenableFuture<Bar> f2 = transformAsync(f1, function, directExecutor());
        f1.cancel(true);
    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. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(recordedRequest1.sequenceNumber).isEqualTo(0)
        val request2 = Request.Builder().url(server.url("/bar")).build()
        val response2 = client.newCall(request2).execute()
        assertThat(response2.body.string()).isEqualTo("ABC")
        val recordedRequest2 = server.takeRequest()
        assertThat(recordedRequest2.requestLine).isEqualTo("GET /bar HTTP/1.1")
        assertThat(recordedRequest2.sequenceNumber).isEqualTo(1)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testComputeIfAbsent_RemovalListener() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testCopyEntry_computing() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

            headers =
              headersOf(
                "Set-Cookie",
                "a=b; Expires=Thu, 01 Jan 1970 00:00:00 GMT",
                "Set-Cookie",
                "c=d; Expires=Fri, 02 Jan 1970 23:59:59 GMT; path=/bar; secure",
              ),
          ),
        )
        val cookieJar = RecordingCookieJar()
        client =
          client.newBuilder()
            .cookieJar(cookieJar)
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    Carriage return characters ('\r') inside raw string literals
    are discarded from the raw string value.
    </p>
    
    <p>
    Interpreted string literals are character sequences between double
    quotes, as in <code>&quot;bar&quot;</code>.
    Within the quotes, any character may appear except newline and unescaped double quote.
    The text between the quotes forms the
    value of the literal, with backslash escapes interpreted as they
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

                to generate the reports on the Maven-generated site.
                These reports will be run when a user executes {@code mvn site}.
                All the reports will be included in the navigation bar for browsing.
              </description>
              <association>
                <type>Reporting</type>
              </association>
            </field>
          </fields>
        </class>
        <class>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       *   }
       * }
       * }</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
       * NavigableSet<K> set2 = map2.descendingKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not map2 or set2!
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top