Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 560 for Entrees (0.19 sec)

  1. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX);
    
          Set<?> expected = Maps.newHashMap(cache.asMap()).entrySet();
          assertThat(entries).containsExactlyElementsIn(expected);
          assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        int estimatedSize =
            (entries instanceof Collection)
                ? ((Collection<?>) entries).size()
                : ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY;
        return new Builder<K, V>(estimatedSize).putAll(entries).build();
      }
    
      ImmutableBiMap() {}
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  3. cmd/os_other.go

    			if fi.IsDir() {
    				// Append SlashSeparator instead of "\" so that sorting is achieved as expected.
    				entries = append(entries, fi.Name()+SlashSeparator)
    			} else if fi.Mode().IsRegular() {
    				entries = append(entries, fi.Name())
    			}
    			if opts.count > 0 {
    				remaining--
    			}
    		}
    	}
    	return entries, nil
    }
    
    func globalSync() {
    	// no-op not sure about plan9/solaris support for syscall support
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    			e, err := tmp.filter(o)
    			pr.CloseWithError(err)
    			tmp.Close()
    			entries.o = append(entries.o, e.o...)
    			if o.Limit > 0 && entries.len() > o.Limit {
    				entries.truncate(o.Limit)
    				return entries, nil
    			}
    			if err == nil {
    				// We stopped within the listing, we are done for now...
    				return entries, nil
    			}
    			if err != nil && !errors.Is(err, io.EOF) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/ReferenceEntry.java

      int getHash();
    
      /** Returns the key for this entry. */
      @CheckForNull
      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

      public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        List<Entry<K, V>> entries =
            Helpers.copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = Maps.newHashMap();
                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        map = Maps.filterEntries(map, FILTER_ENTRIES_1);
                        return Maps.filterEntries(map, FILTER_ENTRIES_2);
                      }
                    })
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

              entryIndex = next - 1;
              entry = entries[entryIndex];
              next = CompactHashing.getNext(entry, mask);
            } while (next != srcNext);
            // here, entries[entryIndex] points to the old entry location; update it
            entries[entryIndex] = CompactHashing.maskCombine(entry, dstIndex + 1, mask);
          }
        } else {
          elements[dstIndex] = null;
          entries[dstIndex] = 0;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        List<Entry<K, V>> entries =
            Helpers.copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top