Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 876 for entry (0.02 sec)

  1. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

          for (Object object : entries) {
            Entry<Country, Currency> entry = (Entry<Country, Currency>) object;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, Currency>> samples() {
          return new SampleElements<>(
              mapEntry(Country.CANADA, Currency.DOLLAR),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. internal/lru/lru.go

    }
    
    // insertValue is a convenience wrapper for insert(&Entry{Value: v, ExpiresAt: ExpiresAt}, at).
    func (l *LruList[K, V]) insertValue(k K, v V, expiresAt time.Time, at *Entry[K, V]) *Entry[K, V] {
    	return l.insert(&Entry[K, V]{Value: v, Key: k, ExpiresAt: expiresAt}, at)
    }
    
    // Remove removes e from its list, decrements l.len
    func (l *LruList[K, V]) Remove(e *Entry[K, V]) V {
    	e.prev.next = e.next
    	e.next.prev = e.prev
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      @CanIgnoreReturnValue
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/jar/JarFileUtil.java

        /**
         * Returns an input stream to read the contents of the specified JAR file entry.
         *
         * @param file the JAR file (must not be {@literal null})
         * @param entry the JAR file entry (must not be {@literal null})
         * @return the input stream to read the entry
         */
        public static InputStream getInputStream(final JarFile file, final ZipEntry entry) {
            assertArgumentNotNull("file", file);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      @CanIgnoreReturnValue
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      private static final class EntrySet<K, V> extends ImmutableSet<Entry<K, V>> {
        @Weak private final transient ImmutableSetMultimap<K, V> multimap;
    
        EntrySet(ImmutableSetMultimap<K, V> multimap) {
          this.multimap = multimap;
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            when(nameFilter.accept(any(), any())).thenReturn(false);
            when(nameFilter.accept(parent, acceptedName)).thenReturn(true);
    
            FileEntry initial = entry("first");
            FileEntry[] page1 = new FileEntry[] { entry("."), entry(".."), entry("rejected"), entry(acceptedName) };
            TestIterator it = TestIterator.create(tree, parent, "*", nameFilter, 0, initial, List.of(new FileEntry[][] { page1 }));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void clear() {
        if (removalListener != null) {
          for (Entry<K, Timestamped<V>> entry : cachingHashMap.entrySet()) {
            alertListenerIfPresent(entry.getKey(), entry.getValue().getValue(), RemovalCause.EXPLICIT);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/StandardTable.java

            if (o instanceof Entry) {
              Entry<?, ?> entry = (Entry<?, ?>) o;
              return containsMapping(entry.getKey(), columnKey, entry.getValue());
            }
            return false;
          }
    
          @Override
          public boolean remove(@Nullable Object obj) {
            if (obj instanceof Entry) {
              Entry<?, ?> entry = (Entry<?, ?>) obj;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                key = this.connection.getHeaderFieldKey(i);
                value = this.connection.getHeaderField(i);
            }
            for (final Entry<String, List<String>> entry : map.entrySet()) {
                entry.setValue(Collections.unmodifiableList(entry.getValue()));
            }
            return this.headerFields = Collections.unmodifiableMap(map);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top