Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 227 for bursty (0.11 sec)

  1. platforms/core-runtime/build-profile/src/test/groovy/org/gradle/profile/TaskExecutionTest.groovy

        def "knows task status"() {
            def skipped = Stub(TaskState) {
                getSkipped() >> true
                getSkipMessage() >> "Skipped for a good reason."
            }
            def busy = Stub(TaskState) {
                getSkipped() >> false
                getDidWork() >> true
            }
            def noWork = Stub(TaskState) {
                getSkipped() >> false
                getDidWork() >> false
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/EmbeddedDaemonRegistrySpec.groovy

            expect:
            all.size() == 2
            idle.size() == 2
            notIdle.empty
    
            when:
            markState(address(10), Busy)
    
            then:
            all.size() == 2
            idle.size() == 1
            notIdle.size() == 1
    
            when:
            markState(address(20), Busy)
    
            then:
            all.size() == 2
            idle.empty
            notIdle.size() == 2
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/validation/validation.go

    	}
    	if kc.EventBurst < 0 {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: eventBurst (--event-burst) %v must not be a negative number", kc.EventBurst))
    	}
    	if kc.EventRecordQPS < 0 {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: eventRecordQPS (--event-qps) %v must not be a negative number", kc.EventRecordQPS))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    	"k8s.io/client-go/dynamic"
    )
    
    func TestChangeCRD(t *testing.T) {
    	tearDown, config, _, err := fixtures.StartDefaultServer(t)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer tearDown()
    	config.QPS = 1000
    	config.Burst = 1000
    	apiExtensionsClient, err := clientset.NewForConfig(config)
    	if err != nil {
    		t.Fatal(err)
    	}
    	dynamicClient, err := dynamic.NewForConfig(config)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. istioctl/pkg/cli/context.go

    		// We are running a one-off command locally, so we don't need to worry too much about rate limiting
    		// Bumping this up greatly decreases install time
    		config.QPS = 50
    		config.Burst = 100
    	})
    	if err != nil {
    		return nil, err
    	}
    	return kube.NewCLIClient(kube.NewClientConfigForRestConfig(rc), kube.WithRevision(revision))
    }
    
    func NewCLIContext(rootFlags *RootFlags) Context {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/kube-scheduler/app/server_test.go

    			},
    			wantClientConnection: &componentbaseconfig.ClientConnectionConfiguration{
    				Kubeconfig:  configKubeconfig,
    				ContentType: "application/vnd.kubernetes.protobuf",
    				QPS:         50,
    				Burst:       100,
    			},
    		},
    		{
    			name: "leader election CLI args, without --config arg",
    			flags: []string{
    				"--leader-elect=false",
    				"--leader-elect-lease-duration=2h",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Striped64.java

      transient volatile int busy;
    
      /** Package-private default constructor */
      Striped64() {}
    
      /** CASes the base field. */
      final boolean casBase(long cmp, long val) {
        return UNSAFE.compareAndSwapLong(this, baseOffset, cmp, val);
      }
    
      /** CASes the busy field from 0 to 1 to acquire lock. */
      final boolean casBusy() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/StartBuildOrRespondWithBusy.java

    import org.gradle.launcher.daemon.server.api.DaemonStoppedException;
    import org.gradle.launcher.daemon.server.api.DaemonUnavailableException;
    
    /**
     * Updates the daemon idle/busy status, sending a DaemonUnavailable result back to the client if the daemon is busy.
     */
    public class StartBuildOrRespondWithBusy extends BuildCommandOnly {
        
        private static final Logger LOGGER = Logging.getLogger(StartBuildOrRespondWithBusy.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonRegistryUpdater.java

        }
    
        public void onStartActivity() {
            LOGGER.info("Marking the daemon as busy, address: {}", connectorAddress);
            try {
                daemonRegistry.markState(connectorAddress, Busy);
            } catch (DaemonRegistry.EmptyRegistryException e) {
                LOGGER.warn("Cannot mark daemon as busy because the registry is empty.");
            }
        }
    
        public void onCompleteActivity() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonExpirationStrategyTest.groovy

    import org.gradle.launcher.daemon.server.api.DaemonStateControl
    import org.gradle.internal.time.MockClock
    import spock.lang.Specification
    
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Busy
    
    abstract class DaemonExpirationStrategyTest extends Specification {
        DaemonRegistry registry
    
        def setup() {
            // Start with a new registry on each test.
            registry = new EmbeddedDaemonRegistry()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top