Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 169 for Potter (0.19 sec)

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

       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
       * but not exactly, the number of entries added to the builder.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 08 18:58:42 GMT 2023
    - 22K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Interners.java

        @Override
        public int hashCode() {
          return interner.hashCode();
        }
    
        @Override
        public boolean equals(@CheckForNull Object other) {
          if (other instanceof InternerFunction) {
            InternerFunction<?> that = (InternerFunction<?>) other;
            return interner.equals(that.interner);
          }
    
          return false;
        }
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/io/ByteSource.java

       */
      public boolean contentEquals(ByteSource other) throws IOException {
        checkNotNull(other);
    
        byte[] buf1 = createBuffer();
        byte[] buf2 = createBuffer();
    
        Closer closer = Closer.create();
        try {
          InputStream in1 = closer.register(openStream());
          InputStream in2 = closer.register(other.openStream());
          while (true) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          if (newArg == null || Objects.equal(args.get(i), newArg)) {
            if (params.get(i).getType().getRawType().isEnum()) {
              continue; // Nothing better we can do if it's single-value enum
            }
            throw new ParameterHasNoDistinctValueException(params.get(i));
          }
          newArgs.set(i, newArg);
          tester.addEqualityGroup(createInstance(factory, newArgs));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Floats.java

       */
      public static int hashCode(float value) {
        // TODO(kevinb): is there a better way, that's still gwt-safe?
        return ((Float) value).hashCode();
      }
    
      /**
       * Compares the two specified {@code float} values using {@link Float#compare(float, float)}. You
       * may prefer to invoke that method directly; this method exists only for consistency with the
       * other utilities in this package.
       *
    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)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       */
      private static TestCase generateGuardWithWrongMonitorTestCase(
          final Method method, final boolean fair1, final boolean fair2) {
        final boolean timed = isTimed(method); // Not going to bother with all timeouts, just 0ms.
        return new TestCase(method.getName() + (timed ? "(0ms)" : "()") + "/WrongMonitor->IMSE") {
          @Override
          protected void runTest() throws Throwable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
         * - A new getter `getX` is added, where the old getter is a boolean getter `isX` of an upgraded property
         * - A return type is changed for a getter `getX` of an upgraded property
         *
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            queue[index] = parentElement;
            queue[parentIndex] = x;
            return parentIndex;
          }
          queue[index] = x;
          return index;
        }
    
        // About the term "aunt node": it's better to leave gender out of it, but for this the English
        // language has nothing for us. Except for the whimsical neologism "pibling" (!) which we
        // obviously could not expect to increase anyone's understanding of the code.
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

          upEnd = other.getUpperEndpoint();
          upType = other.getUpperBoundType();
        } else if (other.hasUpperBound()) {
          int cmp = comparator.compare(getUpperEndpoint(), other.getUpperEndpoint());
          if (cmp > 0 || (cmp == 0 && other.getUpperBoundType() == OPEN)) {
            upEnd = other.getUpperEndpoint();
            upType = other.getUpperBoundType();
          }
        }
    
        if (hasLowBound && hasUpBound) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

            theUnsafe.putLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET, littleEndianValue);
          }
        };
    
        // Provides load and store operations that use native instructions to get better performance.
        private static final Unsafe theUnsafe;
    
        // The offset to the first element in a byte array.
        private static final int BYTE_ARRAY_BASE_OFFSET;
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
Back to top