Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 300 for keyA (0.29 sec)

  1. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * Returns the value associated with {@code key}, or zero if there is no value associated with
       * {@code key}.
       */
      public long get(K key) {
        return map.getOrDefault(key, 0L);
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long incrementAndGet(K key) {
        return addAndGet(key, 1);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    // it is unspecified.
    func (m *Map) Iterate(f func(key types.Type, value any)) {
    	if m != nil {
    		for _, bucket := range m.table {
    			for _, e := range bucket {
    				if e.key != nil {
    					f(e.key, e.value)
    				}
    			}
    		}
    	}
    }
    
    // Keys returns a new slice containing the set of map keys.
    // The order is unspecified.
    func (m *Map) Keys() []types.Type {
    	keys := make([]types.Type, 0, m.Len())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof.go

    	return nil
    }
    
    // keysByCount sorts keys with higher counts first, breaking ties by key string order.
    type keysByCount struct {
    	keys  []string
    	count map[string]int
    }
    
    func (x *keysByCount) Len() int      { return len(x.keys) }
    func (x *keysByCount) Swap(i, j int) { x.keys[i], x.keys[j] = x.keys[j], x.keys[i] }
    func (x *keysByCount) Less(i, j int) bool {
    	ki, kj := x.keys[i], x.keys[j]
    	ci, cj := x.count[ki], x.count[kj]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  9. pkg/workloadapi/workload.proto

        Service service = 2;
      }
    }
    
    // Service represents a service - a group of workloads that can be accessed together.
    // The xds primary key is "namespace/hostname".
    // Secondary (alias) keys are the unique `network/IP` pairs that the service can be reached at.
    message Service {
      // Name represents the name for the service.
      // For Kubernetes, this is the Service name.
      string name = 1;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/options/options.go

    	}
    
    	for key, value := range completed.APIEnablement.RuntimeConfig {
    		if key == "v1" || strings.HasPrefix(key, "v1/") ||
    			key == "api/v1" || strings.HasPrefix(key, "api/v1/") {
    			delete(completed.APIEnablement.RuntimeConfig, key)
    			completed.APIEnablement.RuntimeConfig["/v1"] = value
    		}
    		if key == "api/legacy" {
    			delete(completed.APIEnablement.RuntimeConfig, key)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top