Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 261 for Tata (0.23 sec)

  1. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

            Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        AtomicInteger existingCounter = Maps.safeGet(countMap, element);
        return (existingCounter == null) ? 0 : existingCounter.get();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>If the data in the multiset is modified by any other threads during this method, it is
       * undefined which (if any) of these modifications will be reflected in the result.
       */
      @Override
      public int size() {
        long sum = 0L;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeMultimap.java

        stream.writeObject(valueComparator());
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      @SuppressWarnings("unchecked") // reading data stored by writeObject
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyComparator = requireNonNull((Comparator<? super K>) stream.readObject());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Cache.java

       * the cache is not recording statistics. All statistics begin at zero and never decrease over the
       * lifetime of the cache.
       *
       * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
       * created using {@link CacheBuilder} only does so if the {@link CacheBuilder#recordStats} method
       * was called. If statistics are not being recorded, a {@code CacheStats} instance with zero for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractBiMap.java

          stream.defaultWriteObject();
          stream.writeObject(inverse());
        }
    
        @GwtIncompatible // java.io.ObjectInputStream
        @J2ktIncompatible
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
          stream.defaultReadObject();
          setInverse((AbstractBiMap<V, K>) requireNonNull(stream.readObject()));
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

      /**
       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      @SuppressWarnings("unchecked")
      public void ignore_testSerializationNoDuplication_regularImmutableMap() throws Exception {
        // Tests that serializing a map, its keySet, and values only writes the underlying data once.
    
        Entry<Integer, Integer>[] entries = (Entry<Integer, Integer>[]) new Entry<?, ?>[1000];
        for (int i = 0; i < 1000; i++) {
          entries[i] = ImmutableMap.entryOf(i, i);
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            return unbox(countMap.get(element));
          } catch (NullPointerException | ClassCastException e) {
            return 0;
          }
        }
    
        /**
         * {@inheritDoc}
         *
         * <p>If the data in the multiset is modified by any other threads during this method, it is
         * undefined which (if any) of these modifications will be reflected in the result.
         */
        @Override
        public int size() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

             * invoke interruptTask on any subsequent futures.
             */
            callInterruptTask = false;
          }
          // We call this before the listeners in order to avoid needing to manage a separate stack data
          // structure for them.  Also, some implementations rely on this running prior to listeners
          // so that the cleanup work is visible to listeners.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top