Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for key_values (0.05 sec)

  1. cmd/utils_test.go

    	testCases := []struct {
    		keys      []string
    		keyvalues []string
    	}{
    		{
    			[]string{"aaaa", "bbbb"},
    			[]string{"aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"},
    		},
    	}
    
    	for i, test := range testCases {
    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    				t.Fatalf("test %d: keyvalues[%d] does not match", i+1, j)
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/LinkedListMultimap.java

        ListIterator<V> keyValues = new ValueForKeyIterator(key);
        Iterator<? extends V> newValues = values.iterator();
    
        // Replace existing values, if any.
        while (keyValues.hasNext() && newValues.hasNext()) {
          keyValues.next();
          keyValues.set(newValues.next());
        }
    
        // Remove remaining old values, if any.
        while (keyValues.hasNext()) {
          keyValues.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  3. cmd/iam-etcd-store.go

    	"github.com/puzpuzpuz/xsync/v3"
    	"go.etcd.io/etcd/api/v3/mvccpb"
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var defaultContextTimeout = 30 * time.Second
    
    func etcdKvsToSet(prefix string, kvs []*mvccpb.KeyValue) set.StringSet {
    	users := set.NewStringSet()
    	for _, kv := range kvs {
    		user := extractPathPrefixAndSuffix(string(kv.Key), prefix, path.Base(string(kv.Key)))
    		users.Add(user)
    	}
    	return users
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. internal/s3select/jstream/decoder.go

    		// next token must be ',' or '}'
    		switch c = d.skipSpaces(); c {
    		case '}':
    			goto out
    		case ',':
    			c = d.skipSpaces()
    			goto scan
    		default:
    			err = d.mkError(ErrSyntax, "after object key:value pair")
    			goto out
    		}
    	}
    
    out:
    	d.depth--
    	return obj, err
    }
    
    // object (ordered) accept valid JSON array value
    func (d *Decoder) objectOrdered() (KVS, error) {
    	d.depth++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    	if err != nil {
    		return PostPolicyForm{}, err
    	}
    
    	// Parse conditions.
    	for _, val := range rawPolicy.Conditions {
    		switch condt := val.(type) {
    		case map[string]interface{}: // Handle key:value map types.
    			for k, v := range condt {
    				if !isString(v) { // Pre-check value type.
    					// All values must be of type string.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top