Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hasInitializer (0.16 sec)

  1. src/cmd/compile/internal/types2/initorder.go

    		for p := range n.pred {
    			p.ndeps--
    			heap.Fix(&pq, p.index)
    		}
    
    		// record the init order for variables with initializers only
    		v, _ := n.obj.(*Var)
    		info := check.objMap[v]
    		if v == nil || !info.hasInitializer() {
    			continue
    		}
    
    		// n:1 variable declarations such as: a, b = f()
    		// introduce a node for each lhs variable (here: a, b);
    		// but they all have the same initializer - emit only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/go/types/initorder.go

    		for p := range n.pred {
    			p.ndeps--
    			heap.Fix(&pq, p.index)
    		}
    
    		// record the init order for variables with initializers only
    		v, _ := n.obj.(*Var)
    		info := check.objMap[v]
    		if v == nil || !info.hasInitializer() {
    			continue
    		}
    
    		// n:1 variable declarations such as: a, b = f()
    		// introduce a node for each lhs variable (here: a, b);
    		// but they all have the same initializer - emit only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/resolver.go

    	// The deps field tracks initialization expression dependencies.
    	deps map[Object]bool // lazily initialized
    }
    
    // hasInitializer reports whether the declared object has an initialization
    // expression or function body.
    func (d *declInfo) hasInitializer() bool {
    	return d.init != nil || d.fdecl != nil && d.fdecl.Body != nil
    }
    
    // addDep adds obj to the set of objects d's init expression depends on.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. src/go/types/resolver.go

    	// The deps field tracks initialization expression dependencies.
    	deps map[Object]bool // lazily initialized
    }
    
    // hasInitializer reports whether the declared object has an initialization
    // expression or function body.
    func (d *declInfo) hasInitializer() bool {
    	return d.init != nil || d.fdecl != nil && d.fdecl.Body != nil
    }
    
    // addDep adds obj to the set of objects d's init expression depends on.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		if len(containersToStart) == 0 {
    			hasInitialized := false
    			if !utilfeature.DefaultFeatureGate.Enabled(features.SidecarContainers) {
    				_, _, hasInitialized = findNextInitContainerToRun(pod, podStatus)
    			} else {
    				// If there is any regular container, it means all init containers have
    				// been initialized.
    				hasInitialized = hasAnyRegularContainerCreated(pod, podStatus)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top