- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for about (0.15 sec)
-
cmd/leak-detect_test.go
for _, stackFn := range ignoredStackFns { if !strings.Contains(stack, stackFn) { ok = false continue } break } return ok } // pickRelevantGoroutines returns all goroutines we care about for the purpose // of leak checking. It excludes testing or runtime ones. func pickRelevantGoroutines() (gs []string) { // get runtime stack buffer. buf := debug.Stack()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.2K bytes - Viewed (0) -
cmd/server-rlimit.go
// Could not probe the kernel version return false } if currentKernel == 0 { // We could not get any valid value return false return false } // legacy linux indicator for printing warnings // about older Linux kernels and Go runtime. return currentKernel < kernel.Version(4, 0, 0) } func setMaxResources(ctx *cli.Context) (err error) { // Set the Go runtime max threads threshold to 90% of kernel setting.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:06:57 GMT 2024 - 2.8K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue27340/a.go
// Failed to resolve typedefs consistently. // No runtime test; just make sure it compiles. // In separate directory to isolate #pragma GCC diagnostic. package issue27340 // We use the #pragma to avoid a compiler warning about incompatible // pointer types, because we generate code passing a struct ptr rather // than using the typedef. This warning is expected and does not break // a normal build.
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1.2K bytes - Viewed (0) -
cmd/metrics-realtime.go
m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (loadStat)", byHostName, err.Error())) } else { m.Aggregated.CPU.LoadStat = loadStat } } // Add types... // ByHost is a shallow reference, so careful about sharing. m.ByHost = map[string]madmin.Metrics{byHostName: m.Aggregated} m.Hosts = append(m.Hosts, byHostName) return m }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 10 16:28:08 GMT 2024 - 6.1K bytes - Viewed (0) -
src/cmd/cgo/godefs.go
// semicolon at each newline, so we can replace newline with semicolon. // However, we can't do that in cases where the lexer would not insert // a semicolon. We only have to worry about cases that can occur in an // expression passed through gofmt, which means composite literals and // (due to the printer possibly inserting newlines because of position // information) operators.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 08 14:33:35 GMT 2022 - 4.5K bytes - Viewed (0) -
cmd/tier-handlers.go
case storageclass.STANDARD, storageclass.RRS: writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL) return } // Refresh from the disk in case we had missed notifications about edits from peers. if err := globalTierConfigMgr.Reload(ctx, objAPI); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } err = globalTierConfigMgr.Add(ctx, cfg, ignoreInUse)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 15 19:52:44 GMT 2024 - 7.5K bytes - Viewed (0) -
internal/rest/rpc-stats.go
"sync/atomic" "time" ) var globalStats = struct { errs uint64 tcpDialErrs uint64 tcpDialCount uint64 tcpDialTotalDur uint64 }{} // RPCStats holds information about the DHCP/TCP metrics and errors type RPCStats struct { Errs uint64 DialAvgDuration uint64 DialErrs uint64 } // GetRPCStats returns RPC stats, include calls errors and dhcp/tcp metrics
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Sep 29 16:27:58 GMT 2022 - 2.3K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
}, { name: "has both rev label and annotation, use label", pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ label.IoIstioRev.Name: "test-label", // don't care about the label }, Annotations: map[string]string{ annotation.SidecarStatus.Name: `{"revision":"test-anno"}`, }, }, }, expectedRevision: "test-anno", }, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 2.9K bytes - Viewed (0) -
internal/kms/kms.go
// DefaultKey is the key used when no explicit key ID // is specified. It is empty if the KMS does not support // a default key. DefaultKey string // Details provides more details about the KMS endpoint status. // including uptime, version and available CPUs. // Could be more in future. Details kes.State } // DEK is a data encryption key. It consists of a
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 4.6K bytes - Viewed (0) -
internal/http/transports.go
RootCAs: s.RootCAs, CipherSuites: s.CipherSuites, CurvePreferences: s.CurvePreferences, ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize), } // For more details about various values used here refer // https://golang.org/pkg/net/http/#Transport documentation tr := &http.Transport{ Proxy: http.ProxyFromEnvironment, DialContext: dialContext,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 5.9K bytes - Viewed (0)