- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for newLru (0.24 sec)
-
cmd/jwt.go
errMalformedAuth = errors.New("Malformed authentication input") ) type cacheKey struct { accessKey, secretKey, audience string } var cacheLRU = expirable.NewLRU[cacheKey, string](1000, nil, 15*time.Second) func authenticateNode(accessKey, secretKey, audience string) (string, error) { claims := xjwt.NewStandardClaims() claims.SetExpiry(UTCNow().Add(defaultInterNodeJWTExpiry))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/fix/main.go
// output of the printer run on a mangled AST generated by a fixer. newSrc, err = gofmtFile(newFile) if err != nil { return err } if *doDiff { os.Stdout.Write(diff.Diff(filename, src, "fixed/"+filename, newSrc)) return nil } if useStdin { os.Stdout.Write(newSrc) return nil } return os.WriteFile(f.Name(), newSrc, 0) } func gofmt(n any) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/kube/inject/app_probe.go
func convertAppProber(probe *corev1.Probe, newURL string, statusPort int) *corev1.Probe { if probe == nil { return nil } if probe.HTTPGet != nil { return convertAppProberHTTPGet(probe, newURL, statusPort) } else if probe.TCPSocket != nil { return convertAppProberTCPSocket(probe, newURL, statusPort) } else if probe.GRPC != nil { return convertAppProberGRPC(probe, newURL, statusPort) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/kubelet/container/cache.go
) // Cache stores the PodStatus for the pods. It represents *all* the visible // pods/containers in the container runtime. All cache entries are at least as // new or newer than the global timestamp (set by UpdateTime()), while // individual entries may be slightly newer than the global timestamp. If a pod // has no states known by the runtime, Cache returns an empty PodStatus object // with ID populated. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 07:37:01 UTC 2023 - 6.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go
if a.result.Error != nil { return types.NewErr("composited variable %q fails to compile: %v", a.name, a.result.Error) } v, details, err := a.result.Program.ContextEval(a.context, a.activation) if details == nil { return types.NewErr("unable to get evaluation details of variable %q", a.name) } costPtr := details.ActualCost() if costPtr == nil { return types.NewErr("unable to calculate cost of variable %q", a.name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 13 21:06:39 UTC 2024 - 7.4K bytes - Viewed (0) -
src/sort/slice.go
// may be reversed from their original order. // For a stable sort, use [SliceStable]. // // The less function must satisfy the same requirements as // the Interface type's Less method. // // Note: in many situations, the newer [slices.SortFunc] function is more // ergonomic and runs faster. func Slice(x any, less func(i, j int) bool) { rv := reflectlite.ValueOf(x) swap := reflectlite.Swapper(x) length := rv.Len()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 16:40:32 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/switch.go
for i := len(list) - 1; i >= 0; i-- { v := list[i] if gover.Compare(v, need) < 0 { break } if gover.Lang(latest) == gover.Lang(v) { continue } newer := latest latest = v if newer != "" && !gover.IsPrerelease(newer) { // latest is the last patch release of Go 1.X, and we saw a non-prerelease of Go 1.(X+1), // so latest is the one we want. break } } if latest == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 7K bytes - Viewed (0)