Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isUpdate (0.15 sec)

  1. cmd/admin-handlers-idp-config.go

    	if cfgTarget != madmin.Default {
    		// This cannot give an error at this point.
    		subSysTargets, _ := s.GetAvailableTargets(subSys)
    		subSysTargetsSet := set.CreateStringSet(subSysTargets...)
    		if isUpdate && !subSysTargetsSet.Contains(cfgTarget) {
    			return ErrAdminConfigIDPCfgNameDoesNotExist
    		}
    		if !isUpdate && subSysTargetsSet.Contains(cfgTarget) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pkg/controller/daemon/util/daemonset_util_test.go

    			hash,
    			false,
    		},
    	}
    	for _, test := range tests {
    		updated := IsPodUpdated(test.pod, test.hash, test.templateGeneration)
    		if updated != test.isUpdated {
    			t.Errorf("%s: IsPodUpdated returned wrong value. Expected %t, got %t", test.test, test.isUpdated, updated)
    		}
    	}
    }
    
    func TestCreatePodTemplate(t *testing.T) {
    	tests := []struct {
    		templateGeneration *int64
    		hash               string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/DefaultDependencyLockingProvider.java

            @Override
            public List<ComponentSelectionDescriptorInternal> getRuleDescriptors() {
                return Collections.emptyList();
            }
    
            @Override
            public boolean isUpdated() {
                return false;
            }
    
            @Override
            public ArtifactSelectionDetailsInternal getArtifactSelectionDetails() {
                return new NoOpArtifactSelectionDetails();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

                throw new FileAccessException("ECL0111", new Object[] { path });
            } else {
                propertiesFile = file;
            }
            load();
        }
    
        public boolean isUpdated() {
            final long now = System.currentTimeMillis();
            if (now - lastChecked < checkInterval) {
                lastChecked = now;
                return false;
            }
            lastChecked = now;
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    }
    
    func toFlowSchemaApplyConfiguration(fsUpdate fsStatusUpdate) *flowcontrolapplyconfiguration.FlowSchemaApplyConfiguration {
    	condition := flowcontrolapplyconfiguration.FlowSchemaCondition().
    		WithType(fsUpdate.condition.Type).
    		WithStatus(fsUpdate.condition.Status).
    		WithReason(fsUpdate.condition.Reason).
    		WithLastTransitionTime(fsUpdate.condition.LastTransitionTime).
    		WithMessage(fsUpdate.condition.Message)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

        bool is_read = read_array.contains(arg.getOperandNumber());
        bool is_update = update_array.contains(arg.getOperandNumber());
        // We want the resource operands that are on composite devices to be the
        // exact same set as the resource operands that are read or updated.
        if ((is_read || is_update) != lattice.is_on_composite_device) {
          return false;
        }
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    			if job.Spec.Suspend != nil && *job.Spec.Suspend {
    				// Job can be in the suspended state only if it is NOT completed.
    				var isUpdated bool
    				job.Status.Conditions, isUpdated = ensureJobConditionStatus(job.Status.Conditions, batch.JobSuspended, v1.ConditionTrue, "JobSuspended", "Job suspended", jm.clock.Now())
    				if isUpdated {
    					suspendCondChanged = true
    					jm.recorder.Event(&job, v1.EventTypeNormal, "Suspended", "Job suspended")
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	gracefulDeleter, isGracefulDeleter := storage.(rest.GracefulDeleter)
    	collectionDeleter, isCollectionDeleter := storage.(rest.CollectionDeleter)
    	updater, isUpdater := storage.(rest.Updater)
    	patcher, isPatcher := storage.(rest.Patcher)
    	watcher, isWatcher := storage.(rest.Watcher)
    	connecter, isConnecter := storage.(rest.Connecter)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            if (details != null && details.isUpdated()) {
                // This caching works because our substitutionResult are cached themselves
                return dependencyState.withSubstitution(substitutionResult, result -> {
                    ArtifactSelectionDetailsInternal artifactSelectionDetails = details.getArtifactSelectionDetails();
                    if (artifactSelectionDetails.isUpdated()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller_test.go

    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			gotList, isUpdated := ensureJobConditionStatus(tc.haveList, tc.wantType, tc.wantStatus, tc.wantReason, "", realClock.Now())
    			if isUpdated != tc.expectUpdate {
    				t.Errorf("Got isUpdated=%v, want %v", isUpdated, tc.expectUpdate)
    			}
    			if len(gotList) != len(tc.expectList) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top