Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,030 for entry (0.19 sec)

  1. cmd/metacache-entries.go

    	r.candidates = r.candidates[:0]
    	objsAgree := 0
    	objsValid := 0
    	for i := range m {
    		entry := &m[i]
    		// Empty entry
    		if entry.name == "" {
    			continue
    		}
    
    		if entry.isDir() {
    			dirExists++
    			selected = entry
    			continue
    		}
    
    		// Get new entry metadata,
    		// shallow decode.
    		xl, err := entry.xlmeta()
    		if err != nil {
    			if !errors.Is(err, errFileNotFound) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. android/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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        @SuppressWarnings("unchecked") // Should get a CCE later if cast is wrong
        Entry<?, Object> entry = (Entry<?, Object>) map.entrySet().toArray(new Entry<?, ?>[0])[0];
        assertEquals(TypeToken.of(String.class), entry.getKey());
        assertEquals("test", entry.getValue());
        assertThrows(UnsupportedOperationException.class, () -> entry.setValue(1));
      }
    
      public void testPutAndGetInstance() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        @CheckForNull
        public Entry<K, Collection<V>> lastEntry() {
          Entry<K, Collection<V>> entry = sortedMap().lastEntry();
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        @CheckForNull
        public Entry<K, Collection<V>> pollFirstEntry() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

          if (delegate != null) {
            return delegate.entrySet().contains(o);
          } else if (o instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) o;
            int index = indexOf(entry.getKey());
            return index != -1 && Objects.equal(value(index), entry.getValue());
          }
          return false;
        }
    
        @Override
        public boolean remove(@CheckForNull Object o) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/MapIteratorCache.java

      V getIfCached(@CheckForNull Object key) {
        Entry<K, V> entry = cacheEntry; // store local reference for thread-safety
    
        // Check cache. We use == on purpose because it's cheaper and a cache miss is ok.
        if (entry != null && entry.getKey() == key) {
          return entry.getValue();
        }
        return null;
      }
    
      void clearCache() {
        cacheEntry = null;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        extends AbstractContainerTester<M, Entry<K, V>> {
    
      private M multimap;
    
      protected M multimap() {
        return multimap;
      }
    
      /**
       * @return an array of the proper size with {@code null} as the key of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractSortedMultiset.java

        return comparator;
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        Iterator<Entry<E>> entryIterator = entryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        Iterator<Entry<E>> entryIterator = descendingEntryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key
       * of {@link #belowSamplesGreater()}.
       */
      Entry<K, V> belowSamplesLesser();
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the
       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        for (Entry<K, V> entry : entries) {
          assertFalse("Should not contain entry " + entry, actualContents().contains(entry));
          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top