Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 124 for keyA (0.04 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    			bucketName:         bucketName,
    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        const auto& keys = computation_map.Keys();
        for (size_t i = 0; i < keys.size(); ++i) {
          const auto key = keys[i].AsKey();
          const auto& value = computation_map[key];
          if (has_side_effect_key == key) has_side_effect_set = true;
          if (value.IsBool()) {
            auto attr = value.AsBool();
            auto named_attr =
                builder.getNamedAttr(key, BuildVhloBooleanV1Attr(attr, builder));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. pilot/pkg/model/endpointshards.go

    		keys = append(keys, k)
    	}
    	if len(keys) >= 2 {
    		sort.Slice(keys, func(i, j int) bool {
    			if keys[i].Provider == keys[j].Provider {
    				return keys[i].Cluster < keys[j].Cluster
    			}
    			return keys[i].Provider < keys[j].Provider
    		})
    	}
    	return keys
    }
    
    // CopyEndpoints takes a snapshot of all endpoints. As input, it takes a map of port name to number, to allow it to group
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. internal/config/config.go

    		return defaultKVS.Get(key)
    	}
    	return v
    }
    
    // Keys returns the list of keys for the current KVS
    func (kvs KVS) Keys() []string {
    	keys := make([]string, len(kvs))
    	var foundComment bool
    	for i := range kvs {
    		if kvs[i].Key == madmin.CommentKey {
    			foundComment = true
    		}
    		keys[i] = kvs[i].Key
    	}
    	// Comment KV not found, add it explicitly.
    	if !foundComment {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  5. src/net/url/url.go

    func (v Values) Get(key string) string {
    	vs := v[key]
    	if len(vs) == 0 {
    		return ""
    	}
    	return vs[0]
    }
    
    // Set sets the key to value. It replaces any existing
    // values.
    func (v Values) Set(key, value string) {
    	v[key] = []string{value}
    }
    
    // Add adds the value to key. It appends to any existing
    // values associated with key.
    func (v Values) Add(key, value string) {
    	v[key] = append(v[key], value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. src/crypto/ecdsa/ecdsa.go

    	md := sha512.New()
    	md.Write(priv.D.Bytes()) // the private key,
    	md.Write(entropy)        // the entropy,
    	md.Write(hash)           // and the input hash;
    	key := md.Sum(nil)[:32]  // and compute ChopMD-256(SHA-512),
    	// which is an indifferentiable MAC.
    
    	// Create an AES-CTR instance to use as a CSPRNG.
    	block, err := aes.NewCipher(key)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller.go

    	// Find all keys we need to lookup
    	keys := map[instancesKey]struct{}{}
    	for _, i := range instances {
    		keys[makeInstanceKey(i)] = struct{}{}
    	}
    	s.queueEdsEvent(keys, s.doEdsCacheUpdate)
    }
    
    // queueEdsEvent processes eds events sequentially for the passed keys and invokes the passed function.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top