Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 65 for Updated (0.15 sec)

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

            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
              tableSet(table, tableIndex, newNext);
            } else {
              // we need to update the link from the chain
              entries[lastEntryIndex] = maskCombine(entries[lastEntryIndex], newNext, mask);
            }
    
            return entryIndex;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/EndpointPairIterator.java

        this.graph = graph;
        this.nodeIterator = graph.nodes().iterator();
      }
    
      /**
       * Called after {@link #successorIterator} is exhausted. Advances {@link #node} to the next node
       * and updates {@link #successorIterator} to iterate through the successors of {@link #node}.
       */
      final boolean advance() {
        checkState(!successorIterator.hasNext());
        if (!nodeIterator.hasNext()) {
          return false;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
        },
        HASH_FUNCTION_DIRECT() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractIterator.java

     *     }
     *   };
     * }
     * }</pre>
     *
     * <p>This class supports iterators that include null elements.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    // When making changes to this class, please also update the copy at
    // com.google.common.base.AbstractIterator
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractIterator<T extends @Nullable Object> extends UnmodifiableIterator<T> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/AbstractCache.java

         * Cache#invalidate invalidations}.
         */
        void recordEviction();
    
        /**
         * Returns a snapshot of this counter's values. Note that this may be an inconsistent view, as
         * it may be interleaved with update operations.
         */
        CacheStats snapshot();
      }
    
      /**
       * A thread-safe {@link StatsCounter} implementation for use by {@link Cache} implementors.
       *
       * @since 10.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
    
        // Run the corresponding FuturesTest test method in a new classloader that disallows
        // certain core jdk classes.
        ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
        Thread.currentThread().setContextClassLoader(NO_ATOMIC_FIELD_UPDATER);
        try {
          runTestMethod(NO_ATOMIC_FIELD_UPDATER);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

      }
    
      @Benchmark
      byte crc32Checksum(int reps) throws Exception {
        byte result = 0x01;
        for (int i = 0; i < reps; i++) {
          CRC32 checksum = new CRC32();
          checksum.update(testBytes, 0, testBytes.length);
          result = (byte) (result ^ checksum.getValue());
        }
        return result;
      }
    
      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

      }
    
      @Benchmark
      byte crc32Checksum(int reps) throws Exception {
        byte result = 0x01;
        for (int i = 0; i < reps; i++) {
          CRC32 checksum = new CRC32();
          checksum.update(testBytes, 0, testBytes.length);
          result = (byte) (result ^ checksum.getValue());
        }
        return result;
      }
    
      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

                .<String>nodeOrder(ElementOrder.<String>natural());
        ImmutableNetwork.Builder<String, Integer> immutableNetworkBuilder =
            networkBuilder.<String, Integer>immutable();
    
        // Update NetworkBuilder, but this shouldn't impact immutableNetworkBuilder
        networkBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
       * testLower, which could make this all unnecessary
       */
      public static Method[] getHoleMethods() {
        return new Method[] {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top