Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 144 for Updated (0.14 sec)

  1. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  2. .github/workflows/ci.yml

              java-version: 11
              distribution: 'zulu'
              cache: 'maven'
          - name: 'Generate latest docs'
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

                .<String>nodeOrder(ElementOrder.<String>natural());
        ImmutableValueGraph.Builder<String, Integer> immutableValueGraphBuilder =
            graphBuilder.<String, Integer>immutable();
    
        // Update ValueGraphBuilder, but this shouldn't impact immutableValueGraphBuilder
        graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedListMultimap}.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

                }
              }
            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

                }
              }
            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Strings.java

        if (count <= 1) {
          checkArgument(count >= 0, "invalid count: %s", count);
          return (count == 0) ? "" : string;
        }
    
        // IF YOU MODIFY THE CODE HERE, you must update StringsRepeatBenchmark
        final int len = string.length();
        final long longSize = (long) len * (long) count;
        final int size = (int) longSize;
        if (size != longSize) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        assertThat(read).isEqualTo(bf);
        assertThat(read.expectedFpp()).isGreaterThan(0);
      }
    
      /**
       * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only
       * appending a new constant is allowed.
       */
      public void testBloomFilterStrategies() {
        assertThat(BloomFilterStrategies.values()).hasLength(2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

                    ignored.getKey(), ignored.getValue().getValue(), RemovalCause.SIZE));
          }
          statsCounter.recordEviction();
          return removal;
        }
      }
    
      /**
       * Any updates to LocalCache.Strength used in CacheBuilder need to be matched in this class for
       * compilation purposes.
       */
      enum Strength {
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top