- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for pct_ (0.1 sec)
-
pilot/pkg/networking/core/envoyfilter/cluster_patch.go
// If cluster ADD patch does not specify a patch context, only add for sidecar outbound and gateway. if cp.Match.Context == networking.EnvoyFilter_ANY && pctx != networking.EnvoyFilter_SIDECAR_OUTBOUND && pctx != networking.EnvoyFilter_GATEWAY { continue } if commonConditionMatch(pctx, cp) { result = append(result, proto.Clone(cp.Value).(*cluster.Cluster)) } } } return result }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.8K bytes - Viewed (0) -
src/runtime/trace/annotation_test.go
for pb.Next() { StartRegion(ctx, "region").End() } }) } func BenchmarkNewTask(b *testing.B) { b.ReportAllocs() pctx, task := NewTask(context.Background(), "benchmark") defer task.End() b.RunParallel(func(pb *testing.PB) { for pb.Next() { _, task := NewTask(pctx, "task") task.End() } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 721 bytes - Viewed (0) -
src/runtime/trace/annotation.go
// defer task.End() // trace.WithRegion(ctx, "remainingWork", remainingWork) // }() func NewTask(pctx context.Context, taskType string) (ctx context.Context, task *Task) { pid := fromContext(pctx).id id := newID() userTaskCreate(id, pid, taskType) s := &Task{id: id} return context.WithValue(pctx, traceContextKey{}, s), s // We allocate a new task even when // the tracing is disabled because the context and task
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 20 00:47:09 UTC 2023 - 6.1K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster.go
inboundPatcher := clusterPatcher{efw: envoyFilterPatches, pctx: networking.EnvoyFilter_SIDECAR_INBOUND} clusters = append(clusters, configgen.buildWaypointInboundClusters(cb, proxy, req.Push, wps.services)...) clusters = append(clusters, inboundPatcher.insertedClusters()...) default: // Gateways patcher := clusterPatcher{efw: envoyFilterPatches, pctx: networking.EnvoyFilter_GATEWAY}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0) -
src/cmd/go/main.go
func init() { base.Usage = mainUsage } func mainUsage() { help.PrintUsage(os.Stderr, base.Go) os.Exit(2) } func maybeStartTrace(pctx context.Context) context.Context { if cfg.DebugTrace == "" { return pctx } ctx, close, err := trace.Start(pctx, cfg.DebugTrace) if err != nil { base.Fatalf("failed to start trace: %v", err) } base.AtExit(func() { if err := close(); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/trace/main.go
if parsed.err != nil { log.Printf("Encountered error, but able to proceed. Error: %v", parsed.err) lost := parsed.size - parsed.valid pct := float64(lost) / float64(parsed.size) * 100 log.Printf("Lost %.2f%% of the latest trace data due to error (%s of %s)", pct, byteCount(lost), byteCount(parsed.size)) } log.Print("Splitting trace for viewer...") ranges, err := splitTrace(parsed) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/scoring.go
} // PreScore builds and writes cycle state used by Score and NormalizeScore. func (pl *InterPodAffinity) PreScore( pCtx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodes []*framework.NodeInfo, ) *framework.Status { if len(nodes) == 0 { // No nodes to score. return framework.NewStatus(framework.Skip)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.5K bytes - Viewed (0) -
src/runtime/race.go
} //go:nosplit func raceinit() (gctx, pctx uintptr) { lockInit(&raceFiniLock, lockRankRaceFini) // On most machines, cgo is required to initialize libc, which is used by race runtime. if !iscgo && GOOS != "darwin" { throw("raceinit: race build must use cgo") } racecall(&__tsan_init, uintptr(unsafe.Pointer(&gctx)), uintptr(unsafe.Pointer(&pctx)), abi.FuncPCABI0(racecallbackthunk), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http/httpguts/httplex.go
'Q': true, 'R': true, 'S': true, 'T': true, 'U': true, 'V': true, 'W': true, 'X': true, 'Y': true, 'Z': true, '!': true, // sub-delims '$': true, // sub-delims '%': true, // pct-encoded (and used in IPv6 zones) '&': true, // sub-delims '(': true, // sub-delims ')': true, // sub-delims '*': true, // sub-delims '+': true, // sub-delims ',': true, // sub-delims
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.7K bytes - Viewed (0) -
src/net/url/url.go
// Section 3.2.1: // // userinfo = *( unreserved / pct-encoded / sub-delims / ":" ) // unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" // sub-delims = "!" / "$" / "&" / "'" / "(" / ")" // / "*" / "+" / "," / ";" / "=" // // It doesn't validate pct-encoded. The caller does that via func unescape. func validUserinfo(s string) bool { for _, r := range s {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 36.1K bytes - Viewed (0)