Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for entryAt (0.22 sec)

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

        }
        Set<Entry<Number, String>> entries = unmod.entrySet();
        Entry<Number, String> entry = entries.iterator().next();
        try {
          entry.setValue("four");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        @SuppressWarnings("unchecked")
        Entry<Integer, String> entry2 = (Entry<Integer, String>) entries.toArray()[0];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

        return (vs != null) ? vs : (values = new Values());
      }
    
      @LazyInit @CheckForNull transient Set<Entry<K, V>> entrySet;
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        Set<Entry<K, V>> es = entrySet;
        return (es != null) ? es : (entrySet = new EntrySet());
      }
    
      // Iterator Support
    
      abstract class HashIterator<T> implements Iterator<T> {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	"k8s.io/apiserver/pkg/features"
    	"k8s.io/apiserver/pkg/storage/value"
    	"k8s.io/apiserver/pkg/storage/value/encrypt/envelope"
    	envelopekmsv2 "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2"
    	kmstypes "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2"
    	"k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    		}
    		return nil, err
    	}
    	volsInfo := make([]VolInfo, 0, len(entries))
    	for _, entry := range entries {
    		if !HasSuffix(entry, SlashSeparator) || !isValidVolname(pathutil.Clean(entry)) {
    			// Skip if entry is neither a directory not a valid volume name.
    			continue
    		}
    		volsInfo = append(volsInfo, VolInfo{
    			Name: pathutil.Clean(entry),
    		})
    	}
    	return volsInfo, nil
    }
    
    // StatVol - get volume info.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

        def "throws NullPointerException when adding an entry with a null key to the property"() {
            when:
            property.put(null, (String) 'v')
            then:
            def ex = thrown NullPointerException
            ex.message == "Cannot add an entry with a null key to a property of type ${type().simpleName}."
        }
    
        def "throws NullPointerException when adding an entry with a null value to the property"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

          this.multimap = multimap;
        }
    
        @Override
        Iterator<Multiset.Entry<K>> entryIterator() {
          return new TransformedIterator<Map.Entry<K, Collection<V>>, Multiset.Entry<K>>(
              multimap.asMap().entrySet().iterator()) {
            @Override
            Multiset.Entry<K> transform(final Map.Entry<K, Collection<V>> backingEntry) {
              return new Multisets.AbstractEntry<K>() {
                @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    		print(" in goroutine ", goid)
    	}
    	print("\n")
    	tracepc := pc // back up to CALL instruction for funcline.
    	if pc > f.entry() {
    		tracepc -= sys.PCQuantum
    	}
    	file, line := funcline(f, tracepc)
    	print("\t", file, ":", line)
    	if pc > f.entry() {
    		print(" +", hex(pc-f.entry()))
    	}
    	print("\n")
    }
    
    func traceback(pc, sp, lr uintptr, gp *g) {
    	traceback1(pc, sp, lr, gp, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    // make entries. Here is the general flow
    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    // -- If yes, check if the IP of entry matches local IP.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  9. src/crypto/tls/common.go

    		}
    		return
    	}
    
    	if c.q.Len() < c.capacity {
    		entry := &lruSessionCacheEntry{sessionKey, cs}
    		c.m[sessionKey] = c.q.PushFront(entry)
    		return
    	}
    
    	elem := c.q.Back()
    	entry := elem.Value.(*lruSessionCacheEntry)
    	delete(c.m, entry.sessionKey)
    	entry.sessionKey = sessionKey
    	entry.state = cs
    	c.q.MoveToFront(elem)
    	c.m[sessionKey] = elem
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  10. src/crypto/tls/conn.go

    	} else {
    		head = make([]byte, total)
    		copy(head, in)
    	}
    	tail = head[len(in):]
    	return
    }
    
    // encrypt encrypts payload, adding the appropriate nonce and/or MAC, and
    // appends it to record, which must already contain the record header.
    func (hc *halfConn) encrypt(record, payload []byte, rand io.Reader) ([]byte, error) {
    	if hc.cipher == nil {
    		return append(record, payload...), nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top