Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,472 for updatePod (0.12 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

      if (!updated.hasRank()) return false;
    
      // If the original type doesn't have a rank, then refine as the updated type
      // has a rank.
      if (!original.hasRank()) return true;
    
      // Both types must have the same rank.
      if (original.getRank() != updated.getRank()) return false;
    
      // Refine if the updated type is bounded.
      return IsBounded(updated);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue16008.go

    const benchmarkNumNodes = 10000
    
    func BenchmarkUpdateNodeTransaction(b B) {
    	s, nodeIDs := setupNodes(benchmarkNumNodes)
    	b.ResetTimer()
    	for i := 0; i < b.N(); i++ {
    		_ = s.Update(func(tx1 Tx) error {
    			_ = UpdateNode(tx1, &Node{
    				ID: nodeIDs[i%benchmarkNumNodes],
    			})
    			return nil
    		})
    	}
    }
    
    type B interface {
    	ResetTimer()
    	N() int
    }
    
    type Tx interface {
    }
    
    type Node struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. pkg/util/async/bounded_frequency_runner_test.go

    	waitForRun("fifth run", t, timer, obj)
    
    	// Clean up.
    	stop <- struct{}{}
    	// a message is sent to time.updated in func Stop() at the end of the child goroutine
    	// to terminate the child, a receive on time.updated is needed here
    	<-timer.updated
    }
    
    func Test_BoundedFrequencyRunnerBurst(t *testing.T) {
    	obj := &receiver{}
    	timer := newFakeTimer()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  4. tests/integration/pilot/webhook_test.go

    					}
    					if err := verifyValidatingWebhookConfiguration(got); err != nil {
    						return err
    					}
    
    					updated := got.DeepCopyObject().(*kubeApiAdmission.ValidatingWebhookConfiguration)
    					updated.Webhooks[0].ClientConfig.CABundle = nil
    					ignore := kubeApiAdmission.Ignore // can't take the address of a constant
    					updated.Webhooks[0].FailurePolicy = &ignore
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 01 13:31:34 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithNewProtocolTest.groovy

        @Override
        protected DefaultLockOptions options() {
            return DefaultLockOptions.mode(FileLockManager.LockMode.OnDemand)
        }
    
        def "a lock has been updated when never written to"() {
            given:
            def lock = createLock(Shared)
            def state = lock.state
            lock.close()
    
            when:
            lock = createLock(lockMode)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/controller/repair_test.go

    		t.Fatal(err)
    	}
    	if !ipregistry.updateCalled || ipregistry.updated == nil || ipregistry.updated.Range != cidr.String() || ipregistry.updated != ipregistry.item {
    		t.Errorf("unexpected ipregistry: %#v", ipregistry)
    	}
    	if !secondaryIPRegistry.updateCalled || secondaryIPRegistry.updated == nil || secondaryIPRegistry.updated.Range != secondaryCIDR.String() || secondaryIPRegistry.updated != secondaryIPRegistry.item {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy

            file("a/build.gradle") << """
                myExtension.message = "updated message for :a"
            """
    
            withIsolatedProjects()
            def model5 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model5.size() == 2
            model5[0].message == "updated message for root"
            model5[1].message == "updated message for :a"
    
            and:
            fixture.assertStateUpdated {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestIdProvider.groovy

            methodName = description.methodName
            className = description.className
            updateId()
            return base
        }
    
        void setTestSpec(testSpec) {
            this.testSpec = testSpec
            updateId()
        }
    
        def updateId() {
            if (methodName != null && testSpec != null) {
                if (testSpec.hasProperty('testId') && testSpec.testId == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutionSpec.groovy

            details.updated
            details.ruleDescriptors == [SELECTED_BY_RULE]
        }
    
        def "can specify custom selection reason"() {
            when:
            details.useTarget("org:bar:2.0", 'with custom reason')
    
            then:
            details.target instanceof ModuleComponentSelector
            details.target.toString() == 'org:bar:2.0'
            details.updated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/endpoint_test.go

    			require.Len(t, devices, 3)
    			require.Equal(t, devices[0].ID, updated[0].ID)
    			require.Equal(t, devices[1].ID, updated[1].ID)
    			require.Equal(t, devices[2].ID, updated[2].ID)
    			require.Equal(t, devices[0].Health, updated[0].Health)
    			require.Equal(t, devices[1].Health, updated[1].Health)
    			require.Equal(t, devices[2].Health, updated[2].Health)
    		}
    
    		callbackCount++
    		callbackChan <- callbackCount
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top