Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for KV (0.04 sec)

  1. src/go/types/expr.go

    				for _, e := range e.Elts {
    					kv, _ := e.(*ast.KeyValueExpr)
    					if kv == nil {
    						check.error(e, MixedStructLit, "mixture of field:value and value elements in struct literal")
    						continue
    					}
    					key, _ := kv.Key.(*ast.Ident)
    					// do all possible checks early (before exiting due to errors)
    					// so we don't drop information on the floor
    					check.expr(nil, x, kv.Value)
    					if key == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    					}
    				}
    				check.exprWithHint(x, kv.Value, utyp.elem)
    				check.assignment(x, utyp.elem, "map literal")
    			}
    
    		default:
    			// when "using" all elements unpack KeyValueExpr
    			// explicitly because check.use doesn't accept them
    			for _, e := range e.ElemList {
    				if kv, _ := e.(*syntax.KeyValueExpr); kv != nil {
    					// Ideally, we should also "use" kv.Key but we can't know
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    					return false
    				}
    				tagMap = t.ToMap()
    			}
    			for _, kv := range r.Flags.Filter.Tags {
    				for t, v := range tagMap {
    					if kv.Match(BatchJobKV{Key: t, Value: v}) {
    						return true
    					}
    				}
    			}
    
    			// None of the provided tags filter match skip the object
    			return false
    		}
    
    		for _, kv := range r.Flags.Filter.Metadata {
    			for k, v := range oi.UserDefined {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    func statusUnschedulable(logger klog.Logger, reason string, kv ...interface{}) *framework.Status {
    	if loggerV := logger.V(5); loggerV.Enabled() {
    		helper, loggerV := loggerV.WithCallStackHelper()
    		helper()
    		kv = append(kv, "reason", reason)
    		// nolint: logcheck // warns because it cannot check key/values
    		loggerV.Info("pod unschedulable", kv...)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  5. src/cmd/dist/test.go

    	}
    
    	setupCmd = func(cmd *exec.Cmd) {
    		setDir(cmd, filepath.Join(goroot, "src"))
    		if len(opts.env) != 0 {
    			for _, kv := range opts.env {
    				if i := strings.Index(kv, "="); i < 0 {
    					unsetEnv(cmd, kv[:len(kv)-1])
    				} else {
    					setEnv(cmd, kv[:i], kv[i+1:])
    				}
    			}
    		}
    		if runOnHost {
    			setEnv(cmd, "GOARCH", gohostarch)
    			setEnv(cmd, "GOOS", gohostos)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. src/runtime/pprof/pprof_test.go

    	m := make(map[int64]int)
    	type nkey struct {
    		count    int64
    		key, val string
    	}
    	n := make(map[nkey]int)
    	for c, kv := range countLabels {
    		m[c]++
    		for k, v := range kv {
    			n[nkey{
    				count: c,
    				key:   k,
    				val:   v,
    			}]++
    
    		}
    	}
    	for _, s := range prof.Sample {
    		// The count is the single value in the sample
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  7. src/compress/gzip/testdata/issue6550.gz.base64

    enEEsOslwvb67v9nVVZl1qOnp2um505PKy/Mza/+1/f/5///85t7e3tF+P3PfvmJA5V9snFt75173vzZK3/liYO/C38+/sY3Nputfr97o9c77bZ63b2bj+ztDVXfJ14jUKXi+4Hvh1MuPEZYVTpCEiklUV3XNeomkS5ntbIpuSiwtzTfee0trXfuvX701k73vLX3xvO3Lv76Pf/172Rf9/p3XnsT/Pn6b3gne8tt/83Db3jrzUt87f3G/KV/FYHUEcgTe+782bfCs8nLL78c/Zfa7W7rxqDV7Lfb/b0mABGepkyHoS+FppGRRgLHtjTKmeMIgwvX48KpudJ1XAeAcGkLKZiexNFboMC/G1HsAYo9QFG/PxR7vzl/4S8sQLxpIY3XwbPvXIBotQY3Wv1Wuz3oRdIYJyUx1ALS2LdrnNekEIaQdl3UJeARnvAcDzA5nuNK6SRQNP0kDvjrYxzX7h/Hzb3Pzl/6txdA9iJpvDz/2ovVCj6x...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 21 14:55:12 UTC 2019
    - 85.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		expectedError: storage.ErrResourceVersionSetOnCreate,
    	}}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			out := &example.Pod{} // reset
    			// verify that kv pair is empty before set
    			key := computePodKey(tt.inputObj)
    			if err := store.Get(ctx, key, storage.GetOptions{}, out); !storage.IsNotFound(err) {
    				t.Fatalf("expecting empty result on key %s, got %v", key, err)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  9. src/compress/flate/testdata/huffman-rand-max.in

    eF�@�Ƹ4��5�$kV�c�d��q��`����H�g��9��2�N|v��$^ͅ� �-rn�"1���9���9��B�(wp����({LE����A�C��c\�({�����U_��Y!��?�(,/DD�&
    :�`��N�qj�#}k�<���i�3P�q_����re��D�3�A-�#��w9r���sߟ0�$�-U0��Ф�@U=.k��MA�l9c\�Wj���4��lMY.g�����9�����pf4�i��
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 64K bytes
    - Viewed (0)
Back to top