- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for keyValue (0.12 sec)
-
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) -
internal/s3select/jstream/decoder_test.go
t.Logf("depth=%d offset=%d len=%d (%v)", mv.Depth, mv.Offset, mv.Length, mv.Value) } if err := decoder.Err(); err != nil { t.Fatalf("decoder error: %s", err) } if kvcounter != 0 { t.Fatalf("expected 0 keyvalue items, got %d", kvcounter) } if counter != 15 { t.Fatalf("expected 15 items, got %d", counter) } // test at depth level 1 w/ emitKV counter = 0 kvcounter = 0
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 6.6K bytes - Viewed (0) -
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) -
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) -
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) -
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)