- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 90 for Shardz (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go
hardResources := quota.ResourceNames(resourceQuota.Status.Hard) requestedUsage := quota.Mask(deltaUsage, hardResources) newUsage := quota.Add(resourceQuota.Status.Used, requestedUsage) maskedNewUsage := quota.Mask(newUsage, quota.ResourceNames(requestedUsage)) if allowed, exceeded := quota.LessThanOrEqual(maskedNewUsage, resourceQuota.Status.Hard); !allowed { failedRequestedUsage := quota.Mask(requestedUsage, exceeded)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 25.8K bytes - Viewed (0) -
pkg/proxy/config/config_test.go
// if the consumer falls behind. Unittests will hard timeout in 5m. var slices []*discoveryv1.EndpointSlice for { select { case slices = <-h.updated: if reflect.DeepEqual(slices, expectedSlices) { return } // Unittests will hard timeout in 5m with a stack trace, prevent that // and surface a clearer reason for failure.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 14.3K bytes - Viewed (0) -
hack/golangci.yaml
path: _test.go$ # TODO(oscr) Remove these excluded directories and fix findings. Due to large amount of findings in different components # with different owners it's hard to fix everything in a single pr. This will therefore be done in multiple prs. - path: (pkg/volume/*|test/*|azure/*|pkg/cmd/wait*|request/bearertoken/*|metrics/*|filters/*) linters: - gocritic
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 12:10:09 UTC 2024 - 9.8K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
NilPodAffinity PodAffinityKind = iota // PodAffinityWithRequiredReq applies a HARD requirement to pod.spec.affinity.PodAffinity. PodAffinityWithRequiredReq // PodAffinityWithPreferredReq applies a SOFT requirement to pod.spec.affinity.PodAffinity. PodAffinityWithPreferredReq // PodAffinityWithRequiredPreferredReq applies HARD and SOFT requirements to pod.spec.affinity.PodAffinity. PodAffinityWithRequiredPreferredReq
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
cmd/notification.go
// To avoid these problems we must split the work at scale. With 1000 node // setup becoming a reality we must try to shard the work properly such as // pick 10 nodes that precisely can send those 100 requests the first node // in the 10 node shard would coordinate between other 9 shards to get the // rest of the `99*9` requests. // // This essentially splits the workload properly and also allows for network
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 44.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpointslice.go
v1beta1.LabelServiceName: name, }).AsSelectorPreValidated().Add(*endpointSliceRequirement) } func (esc *endpointSliceController) pushEDS(hostnames []host.Name, namespace string) { shard := model.ShardKeyFromRegistry(esc.c) // Even though we just read from the cache, we need the full lock to ensure pushEDS // runs sequentially when `EnableK8SServiceSelectWorkloadEntries` is enabled. Otherwise,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 16.9K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
" fnID:", fnID, " numCtrs:", nCtrs) println("list of hard-coded runtime package IDs needs revising.") println("[see the comment on the 'rtPkgs' var in ") println(" <goroot>/src/internal/coverage/pkid.go]") println("registered list:") for k, b := range metaList { print("slot: ", k, " path='", b.PkgPath, "' ") if b.PkgID != -1 { print(" hard-coded id: ", b.PkgID) } println("") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
pkg/registry/core/service/strategy.go
if a[i] != b[i] { return false } } return true } // This is an unusual case. Service has a number of inter-related fields and // in order to avoid breaking clients we try really hard to infer what users // mean when they change them. // // Services are effectively a discriminated union, where `type` is the // discriminator. Some fields just don't make sense with some types, so we // clear them.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
src/runtime/mstats.go
} } // unsafeRead aggregates the delta for this shard into out. // // Unsafe because it does so without any synchronization. The // world must be stopped. func (m *consistentHeapStats) unsafeRead(out *heapStatsDelta) { assertWorldStopped() for i := range m.stats { out.merge(&m.stats[i]) } } // unsafeClear clears the shard. // // Unsafe because the world must be stopped and values should
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 34.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java
cachedValue = null; } public void cache(LocalComponentGraphResolveState state, boolean useStrongReference) { if (useStrongReference) { // Keep a hard reference to the state for re-evaluation on mutation // and to force the value to be reused for resolution of other configurations reference = null; cachedValue = state;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 11.6K bytes - Viewed (0)