Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 157 for Schick (0.16 sec)

  1. android/guava/src/com/google/common/net/InetAddresses.java

        int srcPos = Math.max(0, addressBytes.length - numBytes);
        int copyLength = addressBytes.length - srcPos;
        int destPos = numBytes - copyLength;
    
        // Check the extra bytes in the BigInteger are all zero.
        for (int i = 0; i < srcPos; i++) {
          if (addressBytes[i] != 0x00) {
            throw formatIllegalArgumentException(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<StringForFirstTypeArg<Integer>> subtype =
            new TypeToken<StringForFirstTypeArg<Integer>>() {};
        assertTrue(subtype.isSubtypeOf(supertype));
    
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        TypeToken<?> unused = supertype.getSubtype(subtype.getRawType());
      }
    
      public void testGetSubtype_baseClassWithNoTypeArgs() {
    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)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * be read without locking. Next fields of nodes are immutable (final). All list additions are
         * performed at the front of each bin. This makes it easy to check changes, and also fast to
         * traverse. When nodes would otherwise be changed, new nodes are created to replace them. This
         * works well for hash tables since the bin lists tend to be short. (The average length is less
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<String, @Nullable Integer> function = Functions.forMap(map, null);
    
        assertEquals((Integer) 1, function.apply("One"));
        assertNull(function.apply("Two"));
    
        // check basic sanity of equals and hashCode
        new EqualsTester()
            .addEqualityGroup(function)
            .addEqualityGroup(Functions.forMap(map, 1))
            .testEquals();
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<String, @Nullable Integer> function = Functions.forMap(map, null);
    
        assertEquals((Integer) 1, function.apply("One"));
        assertNull(function.apply("Two"));
    
        // check basic sanity of equals and hashCode
        new EqualsTester()
            .addEqualityGroup(function)
            .addEqualityGroup(Functions.forMap(map, 1))
            .testEquals();
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheTesting.java

       * SoftValueReference (and not a LoadingValueReference), and throws an IllegalStateException if
       * that assumption does not hold.
       */
      @SuppressWarnings("unchecked") // the instanceof check and the cast generate this warning
      static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) {
        ReferenceEntry<K, V> entry = getReferenceEntry(cache, key);
        if (entry != null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

          assertEquals(elements, targetList);
        }
      }
    
      private <T extends @Nullable Object> void actsLikeIteratorHelper(final List<T> list) {
        // Check with modifiable copies of the list
        new PeekingIteratorTester<T>(list).test();
    
        // Check with unmodifiable lists
        new IteratorTester<T>(
            list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

      LazyLogger(Class<?> ownerOfLogger) {
        this.loggerName = ownerOfLogger.getName();
      }
    
      Logger get() {
        /*
         * We use double-checked locking. We could the try racy single-check idiom, but that would
         * depend on Logger not contain mutable state.
         *
         * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EnumMultiset.java

      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
      @Override
      public int count(@CheckForNull Object element) {
        // isActuallyE checks for null, but we check explicitly to help nullness checkers.
        if (element == null || !isActuallyE(element)) {
          return 0;
        }
        Enum<?> e = (Enum<?>) element;
        return counts[e.ordinal()];
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/GeneralRange.java

        T lbound = uncheckedCastNullableTToT(getLowerEndpoint());
        int cmp = comparator.compare(t, lbound);
        return cmp < 0 | (cmp == 0 & getLowerBoundType() == OPEN);
      }
    
      boolean tooHigh(@ParametricNullness T t) {
        if (!hasUpperBound()) {
          return false;
        }
        // The cast is safe because of the hasUpperBound() check.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top