Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 666 for entries3 (0.54 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

                + " even if some keys are null.",
            getMap().equals(newHashMap(entries)));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherContainsNullKey() {
        Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
        entries.add(entry(null, v3()));
        Map<K, V> other = newHashMap(entries);
    
        assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  2. cmd/metacache-server-pool.go

    	}(*o)
    
    	entries, err = filteredResults()
    	cancelList()
    	wg.Wait()
    	if listErr != nil && !errors.Is(listErr, context.Canceled) {
    		return entries, listErr
    	}
    	entries.reuse = true
    	truncated := entries.len() > o.Limit || err == nil
    	entries.truncate(o.Limit)
    	if !o.Transient && truncated {
    		if o.ID == "" {
    			entries.listID = mustGetUUID()
    		} else {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Act
            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
    
            // Assert
            assertNotNull(entries, "Entries array should not be null");
            assertEquals(1, entries.length, "Exactly one entry is expected");
            AppConfigurationEntry e = entries[0];
            assertNotNull(e, "Entry should not be null");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

          this.entries = entries;
        }
    
        @Override
        public Entry<V, K> get(int index) {
          Entry<K, V> entry = entries.get(index);
          return immutableEntry(entry.getValue(), entry.getKey());
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        @Override
        public int size() {
          return entries.size();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/ReferenceEntry.java

      /** Returns the entry's hash. */
      int getHash();
    
      /** Returns the key for this entry. */
      @Nullable 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. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        List<Entry<K, V>> entries =
            copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        sort(entries, Helpers.entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            c = entries.get(2);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      /**
       * Resizes the internal entries array to the specified capacity, which may be greater or less than
       * the current capacity.
       */
      void resizeEntries(int newCapacity) {
        this.keys = Arrays.copyOf(keys, newCapacity);
        this.values = Arrays.copyOf(values, newCapacity);
        long[] entries = this.entries;
        int oldCapacity = entries.length;
        entries = Arrays.copyOf(entries, newCapacity);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. 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) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      }
    
      private Entry<K, V>[] getEntriesMultipleNullKeys() {
        Entry<K, V>[] entries = createArrayWithNullKey();
        entries[0] = entry(null, entries[0].getValue());
        return entries;
      }
    
      private Entry<K, V>[] getEntriesMultipleNonNullKeys() {
        Entry<K, V>[] entries = createSamplesArray();
        entries[0] = entry(k1(), v0());
        return entries;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/RegularImmutableMap.java

            if (entries == entryArray) {
              // Temporary variable is necessary to defeat bad smartcast (entries adopting the type of
              // entryArray) in the Kotlin translation.
              Entry<K, V>[] originalEntries = entries;
              entries = originalEntries.clone();
            }
          }
          entries[entryIndex] = effectiveEntry;
        }
        if (duplicates != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
Back to Top