Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 174 for reached (0.82 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    	}
    
    	a := &addr2Liner{
    		rw:   j,
    		base: base,
    	}
    
    	return a, nil
    }
    
    // readFrame parses the addr2line output for a single address. It
    // returns a populated plugin.Frame and whether it has reached the end of the
    // data.
    func (d *addr2Liner) readFrame() (plugin.Frame, bool) {
    	funcname, err := d.rw.readLine()
    	if err != nil {
    		return plugin.Frame{}, true
    	}
    	if strings.HasPrefix(funcname, "0x") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/looprotate.go

    			continue
    		}
    		p.Hotness |= HotNotFlowIn
    
    		// the loop header b follows p
    		after[p.ID] = []*Block{b}
    		for {
    			nextIdx := idToIdx[b.ID] + 1
    			if nextIdx >= len(f.Blocks) { // reached end of function (maybe impossible?)
    				break
    			}
    			nextb := f.Blocks[nextIdx]
    			if nextb == p { // original loop predecessor is next
    				break
    			}
    			if loopnest.b2l[nextb.ID] == loop {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/testdata/map.go

    type Iterator[K, V any] struct {
    	r *chans.Receiver[keyValue[K, V]]
    }
    
    // Next returns the next key and value pair, and a boolean indicating
    // whether they are valid or whether we have reached the end.
    func (it *Iterator[K, V]) Next() (K, V, bool) {
    	keyval, ok := it.r.Next()
    	if !ok {
    		var zerok K
    		var zerov V
    		return zerok, zerov, false
    	}
    	return keyval.key, keyval.val, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    			if pass.Fset.File(pos) != pass.Fset.File(end) {
    				end = pos
    			}
    			pass.Report(analysis.Diagnostic{
    				Pos:     pos,
    				End:     end,
    				Message: fmt.Sprintf("this return statement may be reached without using the %s var defined on line %d", v.Name(), lineno),
    			})
    		}
    	}
    }
    
    func isCall(n ast.Node) bool { _, ok := n.(*ast.CallExpr); return ok }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		h.Preds[i] = Edge{test, 1}
    		headerMemPhi.SetArg(i, mem0)
    
    		test.Likely = BranchUnlikely
    
    		// sched:
    		//    mem1 := call resched (mem0)
    		//    goto header
    		resched := f.fe.Syslook("goschedguarded")
    		call := sched.NewValue1A(bb.Pos, OpStaticCall, types.TypeResultMem, StaticAuxCall(resched, bb.Func.ABIDefault.ABIAnalyzeTypes(nil, nil)), mem0)
    		mem1 := sched.NewValue1I(bb.Pos, OpSelectN, types.TypeMem, 0, call)
    		sched.AddEdgeTo(h)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go

    		filename: file,
    		rw:       j,
    		base:     base,
    	}
    
    	return a, nil
    }
    
    // readFrame parses the llvm-symbolizer output for a single address. It
    // returns a populated plugin.Frame and whether it has reached the end of the
    // data.
    func (d *llvmSymbolizer) readFrame() (plugin.Frame, bool) {
    	funcname, err := d.rw.readLine()
    	if err != nil {
    		return plugin.Frame{}, true
    	}
    
    	switch funcname {
    	case "":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    //
    // If f should mutate the map, Iterate provides the same guarantees as
    // Go maps: if f deletes a map entry that Iterate has not yet reached,
    // f will not be invoked for it, but if f inserts a map entry that
    // Iterate has not yet reached, whether or not f will be invoked for
    // it is unspecified.
    func (m *Map) Iterate(f func(key types.Type, value any)) {
    	if m != nil {
    		for _, bucket := range m.table {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    	}
    	return nil
    }
    
    func (ts *triState) String() string {
    	switch *ts {
    	case unset:
    		return "true"
    	case setTrue:
    		return "true"
    	case setFalse:
    		return "false"
    	}
    	panic("not reached")
    }
    
    func (ts triState) IsBoolFlag() bool {
    	return true
    }
    
    // Legacy flag support
    
    // vetLegacyFlags maps flags used by legacy vet to their corresponding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/sumdb.go

    			c.base = web.Join(proxyURL, "sumdb/"+c.name)
    			return nil
    		}
    	})
    	if errors.Is(err, fs.ErrNotExist) {
    		// No proxies, or all proxies failed (with 404, 410, or were allowed
    		// to fall back), or we reached an explicit "direct" or "off".
    		c.base = c.direct
    	} else if err != nil {
    		c.baseErr = err
    	}
    }
    
    // ReadConfig reads the key from c.key
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:02:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/stackcheck.go

    	for _, out := range edges {
    		*chain = append(*chain, stackCheckChain{out, false})
    		sc.report(out.target, depth-out.growth, chain)
    		*chain = (*chain)[:len(*chain)-1]
    	}
    	sc.graph[sym] = edges
    
    	// If we've reached the end of a chain and it went over the
    	// stack limit or was a cycle that would eventually go over,
    	// print the whole chain.
    	//
    	// We should either be in morestack (which has no out-edges)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top