Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for foo (0.15 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 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

      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. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNotSame(one, two);
        assertEquals(2, loader.getCount());
      }
    
      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());
      }
    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

        assertNotSame(one, two);
        assertEquals(2, loader.getCount());
      }
    
      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());
      }
    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)
Back to top