Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 179 for Shardz (0.21 sec)

  1. pkg/controller/resourcequota/resource_quota_controller.go

    func (rq *Controller) syncResourceQuota(ctx context.Context, resourceQuota *v1.ResourceQuota) (err error) {
    	// quota is dirty if any part of spec hard limits differs from the status hard limits
    	statusLimitsDirty := !apiequality.Semantic.DeepEqual(resourceQuota.Spec.Hard, resourceQuota.Status.Hard)
    
    	// dirty tracks if the usage status differs from the previous sync,
    	// if so, we send a new usage with latest status
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/metrics.cc

    // Counter that records how many checkpoint shard files were written during
    // saving.
    auto* num_checkpoint_shards_written = monitoring::Counter<0>::New(
        "/tensorflow/core/checkpoint/sharding/num_checkpoint_shards_written",
        "Number of checkpoint shard files written during saving.");
    
    // String gauge which describes the callback used to shard the checkpoint during
    // saving.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. istioctl/pkg/multixds/gather.go

    	retval := discovery.DiscoveryResponse{}
    	if len(responses) == 0 {
    		return &retval, nil
    	}
    
    	for _, response := range responses {
    		// Combine all the shards as one, even if that means losing information about
    		// the control plane version from each shard.
    		retval.ControlPlane = response.ControlPlane
    		retval.Resources = append(retval.Resources, response.Resources...)
    	}
    
    	return &retval, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. pkg/volume/git_repo/git_repo_test.go

    					dir: "",
    				},
    				{
    					cmd: []string{"git", "checkout", revision},
    					dir: "/target_dir",
    				},
    				{
    					cmd: []string{"git", "reset", "--hard"},
    					dir: "/target_dir",
    				},
    			},
    			isExpectedFailure: false,
    		},
    		{
    			name: "target-dir-no-revision",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

                }
            }
            resolve.prepare()
            resolve.addDefaultVariantDerivationStrategy()
        }
    
        void "dependency constraint is not included in resolution without a hard dependency"() {
            given:
            mavenRepo.module("org", "foo", '1.0').publish()
            writeSpec {
                rootProject {
                    dependencies {
                        constraints {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller.go

    		c.opts.XDSUpdater.ConfigUpdate(&model.PushRequest{Full: true, Reason: model.NewReasonStats(model.NetworksTrigger)})
    	}
    
    	shard := model.ShardKeyFromRegistry(c)
    	event := model.EventDelete
    	c.opts.XDSUpdater.SvcUpdate(shard, string(svc.Hostname), svc.Attributes.Namespace, event)
    
    	c.handlers.NotifyServiceHandlers(nil, svc, event)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/PublishedDependencyConstraintsIntegrationTest.groovy

                    module("org:first-level:1.0")
                    module("org:foo:1.0")
                }
            }
        }
    
        void "dependency constraint is not included in resolution without a hard dependency"() {
            given:
            def available = featureAvailable()
            repository {
                'org:foo:1.0'()
                'org:first-level:1.0' {
                    constraint 'org:foo:1.0'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top