Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for updateDead (0.09 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    	dead := make(map[ast.Node]bool)
    	nodeFilter := []ast.Node{
    		(*ast.IfStmt)(nil),
    		(*ast.SwitchStmt)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		// TODO(adonovan): move updateDead into this file.
    		updateDead(pass.TypesInfo, dead, n)
    	})
    
    	nodeFilter = []ast.Node{
    		(*ast.AssignStmt)(nil),
    		(*ast.BinaryExpr)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(node ast.Node) {
    		if dead[node] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/runtime/time.go

    	return (*hchan)(efaceOf(&t.arg).data)
    }
    
    // updateHeap updates t as directed by t.state, updating t.state
    // and returning a bool indicating whether the state (and ts.heap[0].when) changed.
    // The caller must hold t's lock, or the world can be stopped instead.
    // The timer set t.ts must be non-nil and locked, t must be t.ts.heap[0], and updateHeap
    // takes care of moving t within the timers heap to preserve the heap invariants.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. operator/pkg/patch/patch_test.go

            - --validation-webhook-config-file
            name: galley
            ports:
            - containerPort: 443
            - containerPort: 15014
            - containerPort: 9901
    `,
    		},
    		{
    			desc:  "UpdateLeaf",
    			path:  `spec.template.spec.containers.[name:galley].ports.[containerPort:15014].containerPort`,
    			value: `22222`,
    			want: `
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: istio-citadel
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 29 08:32:11 UTC 2022
    - 10.3K bytes
    - Viewed (0)
Back to top