Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 261 for Tata (0.15 sec)

  1. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.).
     *   <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API).
     * </ul>
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestAlgorithmBenchmark {
      @Param({"10", "1000", "100000", "1000000"})
      int size;
    
    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. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

         * more values and build again.
         *
         * <p><b>Performance note:</b> the returned array is backed by the same array as the builder, so
         * no data is copied as part of this step, but this may occupy more memory than strictly
         * necessary. To copy the data to a right-sized backing array, use {@code .build().trimmed()}.
         */
        public ImmutableIntArray build() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClusterException.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    
    /**
     * An {@link ClusterException} is a data structure that allows for some code to "throw multiple
     * exceptions", or something close to it. The prototypical code that calls for this class is
     * presented below:
     *
     * <pre>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

         * more values and build again.
         *
         * <p><b>Performance note:</b> the returned array is backed by the same array as the builder, so
         * no data is copied as part of this step, but this may occupy more memory than strictly
         * necessary. To copy the data to a right-sized backing array, use {@code .build().trimmed()}.
         */
        public ImmutableDoubleArray build() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBasedTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

        hashTableVToK[valueBucket] = entry;
      }
    
      /**
       * Updates the K-to-V hash table to remove the entry at the specified index, which is assumed to
       * be present. Does not update any other data structures.
       */
      private void deleteFromTableKToV(int entry, int keyHash) {
        checkArgument(entry != ABSENT);
        int keyBucket = bucket(keyHash);
    
        if (hashTableKToV[keyBucket] == entry) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

          WatchedCreatorLoader loader,
          FakeTicker ticker,
          String keyPrefix,
          long ttl) {
    
        int shift1 = 10 + VALUE_PREFIX;
        loader.setValuePrefix(shift1);
        // fill with initial data
        for (int i = 0; i < 10; i++) {
          assertEquals(Integer.valueOf(i + shift1), cache.getUnchecked(keyPrefix + i));
        }
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
      public void testPutNonChars() {
        Hasher hasher = HASH_FN.newHasher();
        // Expected data is 0x0100010100000000
        hasher
            .putBoolean(true)
            .putBoolean(true)
            .putBoolean(false)
            .putBoolean(true)
            .putBoolean(false)
            .putBoolean(false)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 15:56:47 GMT 2017
    - 6.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

    /**
     * Unit tests for {@link JdkFutureAdapters}.
     *
     * @author Sven Mawson
     * @author Kurt Alfred Kluever
     */
    public class JdkFutureAdaptersTest extends TestCase {
      private static final String DATA1 = "data";
    
      public void testListenInPoolThreadReturnsSameFuture() throws Exception {
        ListenableFuture<String> listenableFuture = immediateFuture(DATA1);
        assertSame(listenableFuture, listenInPoolThread(listenableFuture));
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
Back to top