Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 622 for key0 (0.21 sec)

  1. android/guava/src/com/google/common/collect/Multimap.java

       *     multimap already contained the key-value pair and doesn't allow duplicates
       */
      @CanIgnoreReturnValue
      boolean put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
       * Removes a single key-value pair with the key {@code key} and the value {@code value} from this
       * multimap, if such exists. If multiple key-value pairs in the multimap fit this description,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. pkg/controlplane/reconcilers/lease_test.go

    			if !contains(test.endpointKeys, test.ip) {
    				if !storage.IsNotFound(err) {
    					t.Errorf("expected error StorageError: key not found, Code: 1, Key: /registry/base/key/%s got:  %v", test.ip, err)
    				}
    			} else if err != nil {
    				t.Errorf("unexpected error reconciling: %v", err)
    			}
    
    			err = verifyCreatesAndUpdates(clientset, nil, test.expectUpdate)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  }
    
                  @Override
                  public @Nullable String put(String key, String value) {
                    checkNotNull(key);
                    return map.put(key, value);
                  }
                };
              }
            },
            "HashMap w/out null keys",
            ALLOWS_NULL_VALUES);
      }
    
      private static Test testsForHashMapNullValuesForbidden() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. pkg/volume/projected/projected_test.go

    		rootDir, host = newTestHost(t, client)
    	)
    	volumeSpec.VolumeSource.Projected.Sources[0].Secret.Items = []v1.KeyToPath{
    		{Key: "data-1", Path: "data-1"},
    		{Key: "data-2", Path: "data-2"},
    		{Key: "data-3", Path: "data-3"},
    		{Key: "missing", Path: "missing"},
    	}
    	volumeSpec.VolumeSource.Projected.Sources[0].Secret.Optional = &trueVal
    	defer os.RemoveAll(rootDir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go

    }
    
    // testPropagateStore helps propagates store with objects, automates key generation, and returns
    // keys and stored objects.
    func testPropagateStore(ctx context.Context, t *testing.T, store storage.Interface, obj *example.Pod) (string, *example.Pod) {
    	// Setup store with a key and grab the output for returning.
    	key := computePodKey(obj)
    
    	// Setup store with the specified key and grab the output for returning.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 07:26:55 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  6. src/net/http/transfer.go

    	trailer := make(Header)
    	var err error
    	for _, v := range vv {
    		foreachHeaderElement(v, func(key string) {
    			key = CanonicalHeaderKey(key)
    			switch key {
    			case "Transfer-Encoding", "Trailer", "Content-Length":
    				if err == nil {
    					err = badStringError("bad trailer key", key)
    					return
    				}
    			}
    			trailer[key] = nil
    		})
    	}
    	if err != nil {
    		return nil, err
    	}
    	if len(trailer) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. statement.go

    			}
    		case map[string]string:
    			keys := make([]string, 0, len(v))
    			for i := range v {
    				keys = append(keys, i)
    			}
    			sort.Strings(keys)
    
    			for _, key := range keys {
    				conds = append(conds, clause.Eq{Column: key, Value: v[key]})
    			}
    		case map[string]interface{}:
    			keys := make([]string, 0, len(v))
    			for i := range v {
    				keys = append(keys, i)
    			}
    			sort.Strings(keys)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/object.h

      /// Retrieves `key` with type `T`.
      template <class T>
      tensorflow::StatusOr<T> Get(const Handle& key) {
        auto it = value_.dict().find(key.value_);
        if (it != value_.dict().end()) return Cast<T>(Handle(it->second));
        return absl::NotFoundError("Key not in dictionary.");
      }
      /// Sets `key` with value `value`.
      void Set(const String& key, Handle value) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

        self.assertCountEqual(dataset_file_map.keys(), ['serving_default'])
    
        dataset_map = repr_dataset.TfRecordRepresentativeDatasetLoader(
            dataset_file_map
        ).load()
        self.assertCountEqual(dataset_map.keys(), ['serving_default'])
        samples = dataset_map['serving_default']
        for sample in samples:
          self.assertCountEqual(sample.keys(), {'x'})
          self.assertAllEqual(sample['x'], np.array([1, 2]))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. src/mdo/merger.vm

                        Object key = e.getKey();
                        V v = e.getValue();
                        map.merge(key, v, remapping);
                    }
                } else {
                    for (V v : vs) {
                        Object key = keyComputer.apply(v);
                        map.merge(key, v, remapping);
                    }
                }
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Sep 05 16:06:44 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top