Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for oKey (0.3 sec)

  1. pkg/kube/krt/collection.go

    	h.mu.Lock()
    	for idx, a := range items {
    		i := a.Latest()
    		iKey := GetKey(i)
    		if a.Event == controllers.EventDelete {
    			for oKey := range h.collectionState.mappings[iKey] {
    				oldRes, f := h.collectionState.outputs[oKey]
    				if !f {
    					h.log.WithLabels("oKey", oKey).Errorf("invalid event, deletion of non-existent object")
    					continue
    				}
    				e := Event[O]{
    					Event: controllers.EventDelete,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/complit.go

    			return initDynamic
    		}
    
    	case ir.OARRAYLIT, ir.OSTRUCTLIT:
    	}
    	lit := n.(*ir.CompLitExpr)
    
    	var mode initGenType
    	for _, n1 := range lit.List {
    		switch n1.Op() {
    		case ir.OKEY:
    			n1 = n1.(*ir.KeyExpr).Value
    		case ir.OSTRUCTKEY:
    			n1 = n1.(*ir.StructKeyExpr).Value
    		}
    		mode |= getdyn(n1, false)
    		if mode == initDynamic|initConst {
    			break
    		}
    	}
    	return mode
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/staticinit/sched.go

    	s.Plans[n] = p
    	switch n.Op() {
    	default:
    		base.Fatalf("initplan")
    
    	case ir.OARRAYLIT, ir.OSLICELIT:
    		n := n.(*ir.CompLitExpr)
    		var k int64
    		for _, a := range n.List {
    			if a.Op() == ir.OKEY {
    				kv := a.(*ir.KeyExpr)
    				k = typecheck.IndexConst(kv.Key)
    				if k < 0 {
    					base.Fatalf("initplan arraylit: invalid index %v", kv.Key)
    				}
    				a = kv.Value
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/typecheck.go

    	var indices map[int64]bool
    	for _, elt := range elts {
    		if elt.Op() == ir.OKEY {
    			indices = make(map[int64]bool)
    			break
    		}
    	}
    
    	var key, length int64
    	for i, elt := range elts {
    		ir.SetPos(elt)
    		r := elts[i]
    		var kv *ir.KeyExpr
    		if elt.Op() == ir.OKEY {
    			elt := elt.(*ir.KeyExpr)
    			elt.Key = Expr(elt.Key)
    			key = IndexConst(elt.Key)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/expr.go

    		length := typecheckarraylit(t.Elem(), -1, n.List, "slice literal")
    		n.SetOp(ir.OSLICELIT)
    		n.Len = length
    
    	case types.TMAP:
    		for i3, l := range n.List {
    			ir.SetPos(l)
    			if l.Op() != ir.OKEY {
    				n.List[i3] = Expr(l)
    				base.Errorf("missing key in map literal")
    				continue
    			}
    			l := l.(*ir.KeyExpr)
    
    			r := l.Key
    			r = Expr(r)
    			l.Key = AssignConv(r, t.Key(), "map key")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/fmt.go

    		n := n.(*CompLitExpr)
    		if n.Implicit() {
    			fmt.Fprintf(s, "... argument")
    			return
    		}
    		fmt.Fprintf(s, "%v{%s}", n.Type(), ellipsisIf(len(n.List) != 0))
    
    	case OKEY:
    		n := n.(*KeyExpr)
    		if n.Key != nil && n.Value != nil {
    			fmt.Fprintf(s, "%v:%v", n.Key, n.Value)
    			return
    		}
    
    		if n.Key == nil && n.Value != nil {
    			fmt.Fprintf(s, ":%v", n.Value)
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/order.go

    			elem := elem.(*ir.StructKeyExpr)
    			if mapKeyReplaceStrConv(elem.Value) {
    				replaced = true
    			}
    		}
    	case ir.OARRAYLIT:
    		n := n.(*ir.CompLitExpr)
    		for _, elem := range n.List {
    			if elem.Op() == ir.OKEY {
    				elem = elem.(*ir.KeyExpr).Value
    			}
    			if mapKeyReplaceStrConv(elem) {
    				replaced = true
    			}
    		}
    	}
    	return replaced
    }
    
    type ordermarker int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/wait/error_test.go

    	in := errors.New("test")
    	actual, expected := ErrorInterrupted(in), (errInterrupted{in})
    	if actual != expected {
    		t.Fatalf("did not wrap error")
    	}
    	if !errors.Is(actual, errWaitTimeout) {
    		t.Fatalf("does not obey errors.Is contract")
    	}
    	if actual.Error() != in.Error() {
    		t.Fatalf("unexpected error output")
    	}
    	if !Interrupted(actual) {
    		t.Fatalf("is not Interrupted")
    	}
    	if Interrupted(in) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. manifests/charts/README.md

    The install is organized in 'environments' - each environment consists of a set of components
    in different namespaces that are configured to work together. Regardless of 'environment',
    workloads can talk with each other and obey the Istio configuration resources, but each environment
    can use different Istio versions and different configuration defaults.
    
    `istioctl kube-inject` or the automatic sidecar injector are used to select the environment.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ReaderInputStream.java

      }
    
      // TODO(chrisn): Consider trying to encode/flush directly to the argument byte
      // buffer when possible.
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        // Obey InputStream contract.
        checkPositionIndexes(off, off + len, b.length);
        if (len == 0) {
          return 0;
        }
    
        // The rest of this method implements the process described by the CharsetEncoder javadoc.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top