- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 74 for useless3 (0.32 sec)
-
src/math/rand/rand.go
// in the half-open interval [0,n). func (r *Rand) Perm(n int) []int { m := make([]int, n) // In the following loop, the iteration when i=0 always swaps m[0] with m[0]. // A change to remove this useless iteration is to assign 1 to i in the init // statement. But Perm also effects r. Making this change will affect // the final state of r. So this change can't be made for compatibility // reasons for Go 1.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 16.9K bytes - Viewed (0) -
pilot/pkg/model/gateway.go
// While we can use the same RDS route name for two servers (say HTTP and HTTPS) exposing the same set of hosts on // different ports, the optimization (one RDS instead of two) could quickly become useless the moment the set of // hosts on the two servers start differing -- necessitating the need for two different RDS routes. func gatewayRDSRouteName(server *networking.Server, portNumber uint32, cfg config.Config) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 26K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
// the argument passed here to -o ends up recorded in the final // shared library in the LC_ID_DYLIB load command. // To avoid putting the temporary output directory name there // (and making the resulting shared library useless), // run the link in the output directory so that -o can name // just the final path element. // On Windows, DLL file name is recorded in PE file // export section, so do like on OS X.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/runtime/pprof/proto.go
frames := runtime.CallersFrames([]uintptr{addr}) frame, more := frames.Next() if frame.Function == "runtime.goexit" { // Short-circuit if we see runtime.goexit so the loop // below doesn't allocate a useless empty location. return nil, 0 } symbolizeResult := lookupTried if frame.PC == 0 || frame.Function == "" || frame.File == "" || frame.Line == 0 { symbolizeResult |= lookupFailed }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 13 20:40:52 UTC 2023 - 25.7K bytes - Viewed (0) -
src/mime/multipart/multipart_test.go
[longline] --MyBoundary Header1: value1b HEADER2: value2b foo-bar: bazb Line 1 Line 2 Line 3 ends in a newline, but just one. --MyBoundary never read data --MyBoundary-- useless trailer ` testBody = strings.ReplaceAll(testBody, "\n", sep) return strings.Replace(testBody, "[longline]", longLine, 1) } func TestMultipart(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:36:47 UTC 2022 - 30.4K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/run.go
iptV, ipt6V *dep.IptablesVersion, proxyUID, proxyGID string, dnsServersV4 []string, dnsServersV6 []string, captureAllDNS bool, ownerGroupsFilter config.InterceptFilter, ) { // TODO BML drop "UDPRuleApplier", it is a largely useless type. // we do not need a unique type just to apply UDP iptables rules f := UDPRuleApplier{ iptables: iptables, ext: ext, ops: ops, table: constants.NAT,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/scheduler/framework/types.go
WildCard GVK = "*" ) type ClusterEventWithHint struct { Event ClusterEvent // QueueingHintFn is executed for the plugin rejected by this plugin when the above Event happens, // and filters out events to reduce useless retry of Pod's scheduling. // It's an optional field. If not set, // the scheduling of Pods will be always retried with backoff when this Event happens. // (the same as Queue) QueueingHintFn QueueingHintFn }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
Plugin // EventsToRegister returns a series of possible events that may cause a Pod // failed by this plugin schedulable. Each event has a callback function that // filters out events to reduce useless retry of Pod's scheduling. // The events will be registered when instantiating the internal scheduling queue, // and leveraged to build event handlers dynamically.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
ir.OGOTO, ir.OFALL: return n case ir.OBLOCK: n := n.(*ir.BlockStmt) Stmts(n.List) return n case ir.OLABEL: if n.Sym().IsBlank() { // Empty identifier is valid but useless. // Eliminate now to simplify life later. // See issues 7538, 11589, 11593. n = ir.NewBlockStmt(n.Pos(), nil) } return n case ir.ODEFER, ir.OGO: n := n.(*ir.GoDeferStmt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
pkg/features/kube_features.go
// owner: @sanposhiho // kep: http://kep.k8s.io/4247 // beta: v1.28 // // Enables the scheduler's enhancement called QueueingHints, // which benefits to reduce the useless requeueing. SchedulerQueueingHints featuregate.Feature = "SchedulerQueueingHints" // owner: @atosatto @yuanchen8911 // kep: http://kep.k8s.io/3902 // beta: v1.29 //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0)