Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for npidle (0.07 sec)

  1. src/net/http/export_test.go

    	return t.closeIdle
    }
    
    func (t *Transport) QueueForIdleConnForTesting() {
    	t.queueForIdleConn(nil)
    }
    
    // PutIdleTestConn reports whether it was able to insert a fresh
    // persistConn for scheme, addr into the idle connection pool.
    func (t *Transport) PutIdleTestConn(scheme, addr string) bool {
    	c, _ := net.Pipe()
    	key := connectMethodKey{"", scheme, addr, false}
    
    	if t.MaxConnsPerHost > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

              return -1L
            }
          },
          delayNanos,
        )
      }
    
      /** Returns a latch that reaches 0 when the queue is next idle. */
      fun idleLatch(): CountDownLatch {
        taskRunner.lock.withLock {
          // If the queue is already idle, that's easy.
          if (activeTask == null && futureTasks.isEmpty()) {
            return CountDownLatch(0)
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

            }
            if (lastRegistryState == state && lastLogState == state) {
                return
            }
            // TODO remove debug log
            if (lastRegistryState == State.Stopped && lastLogState == State.Idle) {
                println("The daemon probably disappeared before it could've printed the stop message. Daemon log content:")
                println(logFile.text)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerDaemonIntegrationTest.groovy

            requireIsolatedTestKitDir = true
        }
    
        @Rule
        final ConcurrentTestUtil concurrent = new ConcurrentTestUtil(60000)
    
        def "daemon process dedicated to test execution uses short idle timeout"() {
            when:
            runner().build()
    
            then:
            testKitDaemons().daemon.context.idleTimeout == 120000
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/internal/trace/resources.go

    	ProcNotExist                      // Proc does not exist.
    	ProcRunning                       // Proc is running.
    	ProcIdle                          // Proc is idle.
    )
    
    // Executing returns true if the state indicates that the proc is executing
    // and bound to its thread.
    func (s ProcState) Executing() bool {
    	return s == ProcRunning
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/connection/ProviderOperationParameters.java

         * @since 1.0-milestone-3
         */
        @Nullable
        OutputStream getStandardError();
    
        /**
         * @return When null, use the provider's default daemon idle timeout
         * @since 1.0-milestone-3
         */
        @Nullable
        Integer getDaemonMaxIdleTimeValue();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/WorkInProgressRendererTest.groovy

            renderer.onOutput(updateNow())
            console.flush()
    
            then:
            // there should be no more copies of task 2 claiming to be running
            progressArea.display == ["> IDLE"]
        }
    
    
        private ConsoleStub.TestableBuildProgressTextArea getProgressArea() {
            console.buildProgressArea as ConsoleStub.TestableBuildProgressTextArea
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/v1/default_plugins.go

    		// This plugin should come before DefaultPreemption because if
    		// there is a problem with a Pod and PostFilter gets called to
    		// resolve the problem, it is better to first deallocate an
    		// idle ResourceClaim than it is to evict some Pod that might
    		// be doing useful work.
    		for i := range config.MultiPoint.Enabled {
    			if config.MultiPoint.Enabled[i].Name == names.DefaultPreemption {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/LoggingFileSystemWatchingIntegrationTest.groovy

            def vfsLogs = enableVerboseVfsLogs()
            withWatchFs().run("assemble")
            then:
            vfsLogs.retainedFilesInCurrentBuild >= 4
            // Make sure the daemon is already idle before making the file changes
            daemon.becomesIdle()
    
            when:
            sourceFile.text = "public class MyClass { private void doStuff() {} }"
            waitForChangesToBePickedUp()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    	if err != nil {
    		return "", err
    	}
    
    	// Limit the number of frames we request.
    	pcs = pcs[:min(len(pcs), 16)]
    
    	if len(pcs) == 0 {
    		// This can occur if all goroutines are idle, as when
    		// caught in a deadlock, or killed by an async signal
    		// while blocked.
    		//
    		// TODO(adonovan): consider how to report such
    		// situations. Reporting a goroutine in [sleep] or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top