Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 502 for timerC (0.13 sec)

  1. src/runtime/lockrank.go

    	lockRankAllg:            "allg",
    	lockRankAllp:            "allp",
    	lockRankNotifyList:      "notifyList",
    	lockRankSudog:           "sudog",
    	lockRankTimers:          "timers",
    	lockRankTimer:           "timer",
    	lockRankNetpollInit:     "netpollInit",
    	lockRankRoot:            "root",
    	lockRankItab:            "itab",
    	lockRankReflectOffs:     "reflectOffs",
    	lockRankUserArenaState:  "userArenaState",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. pkg/bootstrap/platform/discovery.go

    		}
    		wg.Done()
    	}()
    
    	go func() {
    		wg.Wait()
    		close(done)
    	}()
    
    	timer := time.NewTimer(timeout)
    	defer timer.Stop()
    	select {
    	case p := <-plat:
    		return p
    	case <-done:
    		select {
    		case p := <-plat:
    			return p
    		default:
    			return &Unknown{}
    		}
    	case <-timer.C:
    		log.Info("timed out waiting for platform detection, treating it as Unknown")
    		return &Unknown{}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/configuration/project/BuildScriptProcessor.java

    import org.gradle.configuration.ScriptPlugin;
    import org.gradle.configuration.ScriptPluginFactory;
    import org.gradle.groovy.scripts.ScriptSource;
    import org.gradle.internal.time.Time;
    import org.gradle.internal.time.Timer;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    public class BuildScriptProcessor implements ProjectConfigureAction {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 19 20:09:56 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. src/time/tick.go

    func (t *Ticker) Stop() {
    	if !t.initTicker {
    		// This is misuse, and the same for time.Timer would panic,
    		// but this didn't always panic, and we keep it not panicking
    		// to avoid breaking old programs. See issue 21874.
    		return
    	}
    	stopTimer((*Timer)(unsafe.Pointer(t)))
    }
    
    // Reset stops a ticker and resets its period to the specified duration.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go

    func (b *bufferedBackend) processIncomingEvents(stopCh <-chan struct{}) {
    	defer close(b.buffer)
    
    	var (
    		maxWaitChan  <-chan time.Time
    		maxWaitTimer *time.Timer
    	)
    	// Only use max wait batching if batching is enabled.
    	if b.maxBatchSize > 1 {
    		maxWaitTimer = time.NewTimer(b.maxBatchWait)
    		maxWaitChan = maxWaitTimer.C
    		defer maxWaitTimer.Stop()
    	}
    
    	for {
    		func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/legacy/BuildScanBuildStartedTimeIntegTest.groovy

    import org.gradle.internal.scan.time.BuildScanBuildStartedTime
    
    class BuildScanBuildStartedTimeIntegTest extends AbstractIntegrationSpec {
    
        def "can access build scan build started time"() {
            when:
            buildFile << """
                def time = project.services.get($BuildScanBuildStartedTime.name).buildStartedTime
                def timer = project.services.get($BuildStartedTime.name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/runtime/os_windows.go

    // adjusts the system-wide timer resolution. Go needs a
    // high resolution timer while running and there's little extra cost
    // if we're already using the CPU, but if all Ps are idle there's no
    // need to consume extra power to drive the high-res timer.
    func osRelax(relax bool) uint32 {
    	if haveHighResTimer {
    		// If the high resolution timer is available, the runtime uses the timer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/CurrentCompilationAccess.java

    import org.gradle.internal.operations.BuildOperationExecutor;
    import org.gradle.internal.operations.BuildOperationQueue;
    import org.gradle.internal.operations.RunnableBuildOperation;
    import org.gradle.internal.time.Time;
    import org.gradle.internal.time.Timer;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import javax.annotation.Nullable;
    import java.io.File;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Objects;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/runtime/signal_unix.go

    	}
    	c := &sigctxt{info, ctx}
    	gp := sigFetchG(c)
    	setg(gp)
    	if gp == nil || (gp.m != nil && gp.m.isExtraInC) {
    		if sig == _SIGPROF {
    			// Some platforms (Linux) have per-thread timers, which we use in
    			// combination with the process-wide timer. Avoid double-counting.
    			if validSIGPROF(nil, c) {
    				sigprofNonGoPC(c.sigpc())
    			}
    			return
    		}
    		if sig == sigPreempt && preemptMSupported && debug.asyncpreemptoff == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java

    import org.gradle.api.internal.specs.ExplainingSpec;
    import org.gradle.api.logging.Logger;
    import org.gradle.api.logging.Logging;
    import org.gradle.internal.id.IdGenerator;
    import org.gradle.internal.time.CountdownTimer;
    import org.gradle.internal.time.Time;
    import org.gradle.launcher.daemon.context.DaemonConnectDetails;
    import org.gradle.launcher.daemon.context.DaemonContext;
    import org.gradle.launcher.daemon.logging.DaemonMessages;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top