Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 256 for Younis (0.19 sec)

  1. android/guava/src/com/google/common/collect/Range.java

        }
    
        for (C value : values) {
          if (!contains(value)) {
            return false;
          }
        }
        return true;
      }
    
      /**
       * Returns {@code true} if the bounds of {@code other} do not extend outside the bounds of this
       * range. Examples:
       *
       * <ul>
       *   <li>{@code [3..6]} encloses {@code [4..5]}
       *   <li>{@code (3..6)} encloses {@code (3..6)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

      private static boolean isPermutation(List<?> first, List<?> second) {
        if (first.size() != second.size()) {
          return false;
        }
        ObjectCountHashMap<?> firstCounts = counts(first);
        ObjectCountHashMap<?> secondCounts = counts(second);
        if (first.size() != second.size()) {
          return false;
        }
        for (int i = 0; i < first.size(); i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashingTest.java

          HashFunction hasher = Hashing.goodFastHash(i);
          assertTrue(hasher.bits() >= i);
          HashTestUtils.assertInvariants(hasher);
        }
      }
    
      // goodFastHash(32) uses Murmur3_32. Use the same epsilon bounds.
      public void testGoodFastHash32() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(32), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(32), 250, 0.17);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/IntMath.java

        }
        int div = p / q;
        int rem = p - q * div; // equal to p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static <D extends GenericDeclaration> TypeVariable<D> withBounds(
          TypeVariable<D> typeVariable, Type... bounds) {
        return Types.newArtificialTypeVariable(
            typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds);
      }
    
      private static class TypeVariableEqualsTester {
        private final EqualsTester tester = new EqualsTester();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          return delegate.create(elements);
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return delegate.createArray(length);
        }
      }
    
      /** Two bounds (from and to) define how to build a subMap. */
      public enum Bound {
        INCLUSIVE,
        EXCLUSIVE,
        NO_BOUND;
      }
    
      public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static <D extends GenericDeclaration> TypeVariable<D> withBounds(
          TypeVariable<D> typeVariable, Type... bounds) {
        return Types.newArtificialTypeVariable(
            typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds);
      }
    
      private static class TypeVariableEqualsTester {
        private final EqualsTester tester = new EqualsTester();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingTest.java

          HashFunction hasher = Hashing.goodFastHash(i);
          assertTrue(hasher.bits() >= i);
          HashTestUtils.assertInvariants(hasher);
        }
      }
    
      // goodFastHash(32) uses Murmur3_32. Use the same epsilon bounds.
      public void testGoodFastHash32() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(32), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(32), 250, 0.17);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetsTest.java

        EnumSet<SomeEnum> noUnits = Sets.complementOf(allUnits, SomeEnum.class);
        verifySetContents(noUnits, EnumSet.noneOf(SomeEnum.class));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // complementOf
      public void testComplementOfEmptyEnumSetWithoutType() {
        Set<SomeEnum> noUnits = EnumSet.noneOf(SomeEnum.class);
        EnumSet<SomeEnum> allUnits = Sets.complementOf(noUnits);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

    }
    
    
    private
    fun apiTypeKey(usage: ApiTypeUsage): List<Any> = usage.run {
        listOf(sourceName, isNullable, isRaw, variance) +
            typeArguments.flatMap(::apiTypeKey) +
            bounds.flatMap(::apiTypeKey)
    }
    
    
    // TODO Policy for extensions with reified generics
    //
    // Goals
    // - make the dsl predictable
    // - prevent ambiguous overload situations
    //
    // Rules
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top