Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 458 for key5 (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependenciesExtensionModule.java

            return self.module(group, name, version);
        }
    
        @Nullable
        private static String extract(Map<String, CharSequence> map, String key) {
            return map.containsKey(key) ? map.get(key).toString() : null;
        }
    
        /**
         * Modifies a dependency.
         *
         * @param dependencyNotation dependency to modify
         * @return the modified dependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return addAndGet(key, 1);
      }
    
      /**
       * Decrements by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long decrementAndGet(K key) {
        return addAndGet(key, -1);
      }
    
      /**
       * Adds {@code delta} to the value currently associated with {@code key}, and returns the new
       * value.
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. 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)
  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/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)
  9. 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)
  10. internal/auth/credentials.go

    		return "", errors.New("auth: access key length is too short")
    	}
    
    	key := make([]byte, length)
    	if _, err := io.ReadFull(random, key); err != nil {
    		return "", err
    	}
    	for i := range key {
    		key[i] = alphaNumericTable[key[i]%alphaNumericTableLen]
    	}
    	return string(key), nil
    }
    
    // GenerateSecretKey returns a new secret key generated randomly using
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top