Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 287 for aloop (0.06 sec)

  1. src/internal/coverage/cformat/format.go

    		// Within a package, sort the units, then walk through the
    		// sorted array. Each time we hit a new function, emit the
    		// summary entry for the previous function, then make one last
    		// emit call at the end of the loop.
    		p.sortUnits(units)
    		fname := ""
    		ffile := ""
    		flit := false
    		var fline uint32
    		var cstmts, tstmts uint64
    		captureFuncStart := func(u extcu) {
    			fname = p.funcs[u.fnfid].fname
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/cmd/trace/gen.go

    		})
    	}
    }
    
    // emitRegion emits goroutine-based slice events to the UI. The caller
    // must be emitting for a goroutine-oriented trace.
    //
    // TODO(mknyszek): Make regions part of the regular generator loop and
    // treat them like ranges so that we can emit regions in traces oriented
    // by proc or thread.
    func emitRegion(ctx *traceContext, region *trace.UserRegionSummary) {
    	if region.Name == "" {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. pkg/spiffe/spiffe.go

    func (v *PeerCertVerifier) AddMappingFromPEM(trustDomain string, rootCertBytes []byte) error {
    	block, rest := pem.Decode(rootCertBytes)
    	var blockBytes []byte
    
    	// Loop while there are no block are found
    	for block != nil {
    		blockBytes = append(blockBytes, block.Bytes...)
    		block, rest = pem.Decode(rest)
    	}
    
    	rootCAs, err := x509.ParseCertificates(blockBytes)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    				// x is a comptype
    				complit_ok = true
    			}
    			if !complit_ok {
    				break loop
    			}
    			if t != x {
    				p.syntaxError("cannot parenthesize type in composite literal")
    				// already progressed, no need to advance
    			}
    			n := p.complitexpr()
    			n.Type = x
    			x = n
    
    		default:
    			break loop
    		}
    	}
    
    	return x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_volumes.go

    	}
    
    	return orphanVolumeErrors
    }
    
    // cleanupOrphanedPodDirs removes the volumes of pods that should not be
    // running and that have no containers running.  Note that we roll up logs here since it runs in the main loop.
    func (kl *Kubelet) cleanupOrphanedPodDirs(pods []*v1.Pod, runningPods []*kubecontainer.Pod) error {
    	allPods := sets.New[string]()
    	for _, pod := range pods {
    		allPods.Insert(string(pod.UID))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/runtime/mbitmap.go

    		c *= n // now total number of bits to copy
    
    		// If the number of bits being repeated is small, load them
    		// into a register and use that register for the entire loop
    		// instead of repeatedly reading from memory.
    		// Handling fewer than 8 bits here makes the general loop simpler.
    		// The cutoff is goarch.PtrSize*8 - 7 to guarantee that when we add
    		// the pattern to a bit buffer holding at most 7 bits (a partial byte)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  7. configure.py

                                     suppress_default_error=False,
                                     resolve_symlinks=False,
                                     n_ask_attempts=_DEFAULT_PROMPT_ASK_ATTEMPTS):
      """Loop over user prompts for an ENV param until receiving a valid response.
    
      For the env param var_name, read from the environment or verify user input
      until receiving valid input. When done, set var_name in the environ_cp to its
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (1)
  8. src/index/suffixarray/suffixarray.go

    	// points for anchored searches
    	// (regexp "^" matches beginning of input, not beginning of line)
    	r = regexp.MustCompile("^" + r.String()) // compiles because r compiled
    
    	// same comment about Lookup applies here as in the loop above
    	for n1 := n; ; n1 += 2 * (n - len(result)) /* overflow ok */ {
    		indices := x.Lookup(lit, n1)
    		if len(indices) == 0 {
    			return
    		}
    		slices.Sort(indices)
    		result = result[0:0]
    		prev := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/check.go

    }
    
    // processDelayed processes all delayed actions pushed after top.
    func (check *Checker) processDelayed(top int) {
    	// If each delayed action pushes a new action, the
    	// stack will continue to grow during this loop.
    	// However, it is only processing functions (which
    	// are processed in a delayed fashion) that may
    	// add more actions (such as nested functions), so
    	// this is a sufficiently bounded process.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. cmd/kube-scheduler/app/server.go

    		// TODO: handle stoppedCh and listenerStoppedCh returned by c.SecureServing.Serve
    		if _, _, err := cc.SecureServing.Serve(handler, 0, ctx.Done()); err != nil {
    			// fail early for secure handlers, removing the old error loop from above
    			return fmt.Errorf("failed to start secure server: %v", err)
    		}
    	}
    
    	startInformersAndWaitForSync := func(ctx context.Context) {
    		// Start all informers.
    		cc.InformerFactory.Start(ctx.Done())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top