Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Cutler (0.24 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedSetTest.java

                    TestSet<String> inner = new TestSet<>(new HashSet<String>(), null);
                    Set<String> outer = Synchronized.set(inner, null);
                    inner.mutex = outer;
                    Collections.addAll(outer, elements);
                    return outer;
                  }
                })
            .named("Synchronized.set")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        NavigableMap<K, V> innermost =
            new SafeTreeMap<>((Comparator<? super K>) Ordering.natural().nullsFirst());
        TestMap<K, V> inner = new TestMap<>(innermost, mutex);
        NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex);
        return outer;
      }
    
      static class TestEntry<K, V> extends ForwardingMapEntry<K, V> implements Serializable {
        private final Entry<K, V> delegate;
        private final Object mutex;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedBiMapTest.java

        return suite;
      }
    
      @Override
      protected <K, V> BiMap<K, V> create() {
        TestBiMap<K, V> inner = new TestBiMap<>(HashBiMap.<K, V>create(), mutex);
        BiMap<K, V> outer = Synchronized.biMap(inner, mutex);
        return outer;
      }
    
      public static final class SynchronizedHashBiMapGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Bytes.java

        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    
        outer:
        for (int i = 0; i < array.length - target.length + 1; i++) {
          for (int j = 0; j < target.length; j++) {
            if (array[i + j] != target[j]) {
              continue outer;
            }
          }
          return i;
        }
        return -1;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class BaseWithTypeVar<T> {}
        class Outer<O> {
          class Sub<X> extends BaseWithTypeVar<List<X>> {}
    
          class Sub2<Y extends Sub2<Y>> extends BaseWithTypeVar<List<Y>> {}
        }
        ParameterizedType subtype =
            (ParameterizedType)
                new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub.class).getType();
        assertEquals(Outer.Sub.class, subtype.getRawType());
    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)
  6. android/guava/src/com/google/common/primitives/Floats.java

        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    
        outer:
        for (int i = 0; i < array.length - target.length + 1; i++) {
          for (int j = 0; j < target.length; j++) {
            if (array[i + j] != target[j]) {
              continue outer;
            }
          }
          return i;
        }
        return -1;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/InvokableTest.java

        static {
          class Local {
            @SuppressWarnings("unused") // through reflection
            Local(LocalClassWithSeeminglyHiddenThisInStaticInitializer outer) {}
          }
          Constructor<?> constructor = Local.class.getDeclaredConstructors()[0];
          int miscalculated = 0;
          assertEquals(miscalculated, Invokable.from(constructor).getParameters().size());
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>Elements appear in these subsets in the same iteration order as they appeared in the input
       * set. The order in which these subsets appear in the outer set is undefined. Note that the power
       * set of the empty set is not the empty set, but a one-element set containing the empty set.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacMac.java

        }
    
    
        public static byte[] expandNFold ( byte[] data, int outlen ) {
            int lcm = lcm(outlen, data.length);
            byte[] buf = new byte[outlen];
            int carry = 0;
            for ( int i = lcm - 1; i >= 0; i-- ) {
                carry = carry_add(data, buf, carry, i);
            }
    
            if ( carry != 0 ) {
                for ( int i = outlen - 1; i >= 0; i-- ) {
                    carry += ( buf[ i ] & 0xff );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        @TestSubtype
        public Mall<Outdoor>.Shop<Electronics> ownerTypeIsSubtype(
            Outlet<Outdoor>.Shop<Electronics> shop) {
          return isSubtype(shop);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public Mall<? extends Outdoor>.Shop<Electronics> ownerTypeIsSubtype_supertypeWithWildcard(
            Outlet<Outdoor>.Shop<Electronics> shop) {
          return isSubtype(shop);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
Back to top