Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 872 for entry (0.03 sec)

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

        }
      }
    
      private static int getHash(long entry) {
        return (int) (entry >>> 32);
      }
    
      /** Returns the index, or UNSET if the pointer is "null" */
      private static int getNext(long entry) {
        return (int) entry;
      }
    
      /** Returns a new entry value by changing the "next" index of an existing entry */
      private static long swapNext(long entry, int newNext) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

        void removeCollectedEntry(ReferenceEntry<K, V> entry) {
          enqueueNotification(
              entry.getKey(),
              entry.getHash(),
              entry.getValueReference().get(),
              entry.getValueReference().getWeight(),
              RemovalCause.COLLECTED);
          writeQueue.remove(entry);
          accessQueue.remove(entry);
        }
    
        /** Removes an entry whose key has been garbage collected. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

              contents.add(entry.getElement());
            }
          }
          return ((Multiset<E>) gen.create(contents.toArray())).entrySet();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Multiset.Entry<E>[] createArray(int length) {
          return (Multiset.Entry<E>[]) new Multiset.Entry<?>[length];
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

      public Entry<String, String> aboveSamplesGreater() {
        return mapEntry("~~ b", "above view");
      }
    
      @Override
      public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
        return orderEntriesByKey(insertionOrder);
      }
    
      @Override
      protected abstract SortedMap<String, String> create(Entry<String, String>[] entries);
    
      @Override
      public SortedMap<String, String> create(Object... entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

      public Entry<String, String> aboveSamplesGreater() {
        return mapEntry("~~ b", "above view");
      }
    
      @Override
      public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
        return orderEntriesByKey(insertionOrder);
      }
    
      @Override
      protected abstract SortedMap<String, String> create(Entry<String, String>[] entries);
    
      @Override
      public SortedMap<String, String> create(Object... entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        BiMap<K, V> bimap = (BiMap<K, V>) map;
    
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
          assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue()));
        }
    
        assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

      private final Map<E, Integer> delegateMap;
      private final ImmutableList<Entry<E>> entries;
      private final long size;
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        @SuppressWarnings("unchecked")
        Entry<E>[] entriesArray = entries.toArray((Entry<E>[]) new Entry<?>[0]);
        Map<E, Integer> delegateMap = Maps.newHashMapWithExpectedSize(entriesArray.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        @Weak private final transient ImmutableSetMultimap<K, V> multimap;
    
        EntrySet(ImmutableSetMultimap<K, V> multimap) {
          this.multimap = multimap;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

                      @Override
                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = CompactHashMap.create();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            while (entries.hasNext()) {
                TransferResourceAndSize entry = entries.next();
                // just in case, make sure 0 <= complete <= total
                long complete = Math.max(0, entry.transferredBytes);
                long total = Math.max(complete, entry.resource.getContentLength());
    
                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top