Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 231 for Keys (0.05 sec)

  1. tensorflow/compiler/mlir/quantization/common/python/testing.py

        test_parameters: List of dictionaries that maps parameter keys and values.
    
      Returns:
        real_parameters: All possible combinations of the parameters as list of
        dictionaries.
      """
      real_parameters = []
      for parameters in test_parameters:
        keys = parameters.keys()
        for curr in itertools.product(*parameters.values()):
          real_parameters.append(dict(zip(keys, curr)))
      return real_parameters
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/net/http/routing_tree_test.go

    	}
    	if n.emptyChild != nil {
    		fmt.Fprintf(w, "%s%q:\n", indent, "")
    		n.emptyChild.print(w, level+1)
    	}
    
    	var keys []string
    	n.children.eachPair(func(k string, _ *routingNode) bool {
    		keys = append(keys, k)
    		return true
    	})
    	slices.Sort(keys)
    
    	for _, k := range keys {
    		fmt.Fprintf(w, "%s%q:\n", indent, k)
    		n, _ := n.children.find(k)
    		n.print(w, level+1)
    	}
    
    	if n.multiChild != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. pkg/kube/krt/fetch.go

    	// This pre-filtering upfront avoids extra work
    	var list []T
    	if !d.filter.keys.IsNil() {
    		// If they fetch a set of keys, directly Get these. Usually this is a single resource.
    		list = make([]T, 0, d.filter.keys.Len())
    		for _, k := range d.filter.keys.List() {
    			if i := c.GetKey(Key[T](k)); i != nil {
    				list = append(list, *i)
    			}
    		}
    	} else if d.filter.listFromIndex != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/3-iter.md

      sub-slices of up to n elements of a slice.
    
    The [maps] package adds several functions that work with iterators:
    - [All](/pkg/maps#All) returns an iterator over key-value pairs from m.
    - [Keys](/pkg/maps#Keys) returns an iterator over keys in m.
    - [Values](/pkg/maps#Values) returns an iterator over values in m.
    - [Insert](/pkg/maps#Insert) adds the key-value pairs from seq to m.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

                    return true;
                } else {
                    return obj != null && this.getClass().equals(obj.getClass()) && this.keys.equals(((Key) obj).keys);
                }
            }
    
            public int hashCode() {
                return this.keys.hashCode();
            }
        }
    
        /**
         * chains a collection of {@link WorkspaceReader}s
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/net/http/header.go

    // It is case insensitive; [textproto.CanonicalMIMEHeaderKey] is
    // used to canonicalize the provided key. Get assumes that all
    // keys are stored in canonical form. To use non-canonical keys,
    // access the map directly.
    func (h Header) Get(key string) string {
    	return textproto.MIMEHeader(h).Get(key)
    }
    
    // Values returns all values associated with the given key.
    // It is case insensitive; [textproto.CanonicalMIMEHeaderKey] is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutPresentKeyPropagatesToGet() {
        List<K> keys = Helpers.copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().get(key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutPresentKeyPropagatesToGet() {
        List<K> keys = Helpers.copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().get(key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/maps/iter.go

    	return func(yield func(K, V) bool) {
    		for k, v := range m {
    			if !yield(k, v) {
    				return
    			}
    		}
    	}
    }
    
    // Keys returns an iterator over keys in m.
    // The iteration order is not specified and is not guaranteed
    // to be the same from one call to the next.
    func Keys[Map ~map[K]V, K comparable, V any](m Map) iter.Seq[K] {
    	return func(yield func(K) bool) {
    		for k := range m {
    			if !yield(k) {
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:41:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. docs_src/generate_clients/tutorial004.js

      try {
        const data = await fs.promises.readFile(filePath)
        const openapiContent = JSON.parse(data)
    
        const paths = openapiContent.paths
        for (const pathKey of Object.keys(paths)) {
          const pathData = paths[pathKey]
          for (const method of Object.keys(pathData)) {
            const operation = pathData[method]
            if (operation.tags && operation.tags.length > 0) {
              const tag = operation.tags[0]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 14 11:40:05 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top