- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 310 for Res (0.02 sec)
-
pkg/dns/client/dns.go
func roundRobinResponse(res *dns.Msg) { if res.Rcode != dns.RcodeSuccess { return } if res.Question[0].Qtype == dns.TypeAXFR || res.Question[0].Qtype == dns.TypeIXFR { return } res.Answer = roundRobin(res.Answer) res.Ns = roundRobin(res.Ns) res.Extra = roundRobin(res.Extra) } func roundRobin(in []dns.RR) []dns.RR {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 23.9K bytes - Viewed (0) -
src/math/rand/rand_test.go
} return nil } func getStatsResults(samples []float64) *statsResults { res := new(statsResults) var sum, squaresum float64 for _, s := range samples { sum += s squaresum += s * s } res.mean = sum / float64(len(samples)) res.stddev = math.Sqrt(squaresum/float64(len(samples)) - res.mean*res.mean) return res } func checkSampleDistribution(t *testing.T, samples []float64, expected *statsResults) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
cmd/admin-heal-ops.go
select { case res := <-task.respCh: if res.err == nil { h.countHealed(healType) } else { h.countFailed(healType) } if !h.reportProgress { if errors.Is(res.err, errSkipFile) { // this is only sent usually by nopHeal return nil } // Report caller of any failure return res.err } res.result.Type = healType if res.err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 18:04:41 UTC 2024 - 25.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRolesIntegrationTest.groovy
} } } dependencies { res project } task resolve { def files = configurations.res.incoming.files doLast { println files.files } } """ expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 15:38:24 UTC 2023 - 15.1K bytes - Viewed (0) -
src/go/types/stmt.go
} check.convertUntyped(&v, x.typ) if v.mode == invalid { continue L } // Order matters: By comparing v against x, error positions are at the case values. res := v // keep original v unchanged check.comparison(&res, x, token.EQL, true) if res.mode == invalid { continue L } if v.mode != constant_ { continue L // we're done } // look for duplicate values
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
src/net/http/request_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
src/cmd/trace/pprof.go
res := make(map[trace.GoID][]interval) for _, g := range t.summary.Goroutines { if name != "" && g.Name != name { continue } endTime := g.EndTime if g.EndTime == 0 { endTime = t.endTime() // Use the trace end time, since the goroutine is still live then. } res[g.ID] = []interval{{start: g.StartTime, end: endTime}} } if len(res) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.1K bytes - Viewed (0) -
pilot/pkg/networking/core/tracing.go
if otelProvider.ResourceDetectors != nil { res := []*core.TypedExtensionConfig{} rd := otelProvider.ResourceDetectors if rd.Environment != nil { res = append(res, xdsfilters.EnvironmentResourceDetector) } if rd.Dynatrace != nil { res = append(res, xdsfilters.DynatraceResourceDetector) } oc.ResourceDetectors = res } // Add configured Sampler
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 17:05:28 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/kube/krt/collection.go
// For implementation simplicity, represent TransformationSingle as a TransformationMulti so we can share an implementation. hm := func(ctx HandlerContext, i I) []O { res := hf(ctx, i) if res == nil { return nil } return []O{*res} } o := buildCollectionOptions(opts...) if o.name == "" { o.name = fmt.Sprintf("Collection[%v,%v]", ptr.TypeName[I](), ptr.TypeName[O]()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 19.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
} return eventC } testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { cniAddServerCalled = true if serverErr { res.WriteHeader(http.StatusInternalServerError) res.Write([]byte("server not happy")) return } res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) })) return testServer.URL, func() bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 17.5K bytes - Viewed (0)