- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for lineLess (0.14 sec)
-
src/cmd/vendor/golang.org/x/mod/modfile/work.go
for _, stmt := range f.Syntax.Stmt { block, ok := stmt.(*LineBlock) if !ok { continue } sort.SliceStable(block.Line, func(i, j int) bool { return lineLess(block.Line[i], block.Line[j]) }) } } // removeDups removes duplicate replace directives. // // Later replace directives take priority. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 7.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
if len(lines) == 0 { continue } } stmts = append(stmts, stmt) } syntax.Stmt = stmts } // lineLess returns whether li should be sorted before lj. It sorts // lexicographically without assigning any special meaning to tokens. func lineLess(li, lj *Line) bool { for k := 0; k < len(li.Token) && k < len(lj.Token); k++ { if li.Token[k] != lj.Token[k] { return li.Token[k] < lj.Token[k]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
// Garbage collector liveness bitmap generation. // The command line flag -live causes this code to print debug information. // The levels are: // // -live (aka -live=1): print liveness lists as code warnings at safe points // -live=2: print an assembly listing with liveness annotations // // Each level includes the earlier output as well. package liveness import ( "fmt" "os" "sort"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
pkg/probe/exec/exec.go
func New() Prober { return execProber{} } // Prober is an interface defining the Probe object for container readiness/liveness checks. type Prober interface { Probe(e exec.Cmd) (probe.Result, string, error) } type execProber struct{} // Probe executes a command to check the liveness/readiness of container // from executing a command. Returns the Result status, command output, and // errors if any.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 2.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
"cmd/compile/internal/ir" "cmd/compile/internal/liveness" "cmd/compile/internal/objw" "cmd/compile/internal/pgoir" "cmd/compile/internal/ssa" "cmd/compile/internal/types" "cmd/internal/obj" "cmd/internal/objabi" "cmd/internal/src" ) // cmpstackvarlt reports whether the stack variable a sorts before b. func cmpstackvarlt(a, b *ir.Name, mls *liveness.MergeLocalsState) bool { // Sort non-autos before autos.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
cni/pkg/constants/constants.go
// Internal constants const ( DefaultKubeconfigMode = 0o600 CNIAgentLogScope = "cni-agent" CNIPluginLogScope = "cni-plugin" CNIAddEventPath = "/cmdadd" UDSLogPath = "/log" // K8s liveness and readiness endpoints LivenessEndpoint = "/healthz" ReadinessEndpoint = "/readyz" ReadinessPort = "8000" ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount" )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
TerminationGracePeriodSeconds: &longGracePeriod, }, }, reason: reasonUnknown, expectedGracePeriod: longGracePeriod, }, { name: "liveness probe overrides pod termination grace period", pod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{{ Name: "foo", LivenessProbe: &v1.Probe{TerminationGracePeriodSeconds: &shortGracePeriod},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
cmd/prepare-storage.go
var errErasureV3ThisEmpty = fmt.Errorf("Erasure format version 3 has This field empty") // isServerResolvable - checks if the endpoint is resolvable // by sending a naked HTTP request with liveness checks. func isServerResolvable(endpoint Endpoint, timeout time.Duration) error { serverURL := &url.URL{ Scheme: endpoint.Scheme, Host: endpoint.Host,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 19 08:06:49 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/http-tracer.go
op = strings.Replace(op, "ClusterCheckHandler", "health.Cluster", 1) op = strings.Replace(op, "ClusterReadCheckHandler", "health.ClusterRead", 1) op = strings.Replace(op, "LivenessCheckHandler", "health.Liveness", 1) op = strings.Replace(op, "ReadinessCheckHandler", "health.Readiness", 1) op = strings.Replace(op, "-fm", "", 1) return op } // If trace is enabled, execute the request if it is traced by other handlers
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz.go
healthz.InstallPathHandlerWithHealthyFunc(mux, reg.path, firstTimeHealthy, reg.checks...) } // AddHealthChecks adds HealthCheck(s) to health endpoints (healthz, livez, readyz) but // configures the liveness grace period to be zero, which means we expect this health check // to immediately indicate that the apiserver is unhealthy. func (s *GenericAPIServer) AddHealthChecks(checks ...healthz.HealthChecker) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 6K bytes - Viewed (0)