Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 148 for clocks (0.21 sec)

  1. src/cmd/compile/internal/ssa/looprotate.go

    	for i, b := range f.Blocks {
    		idToIdx[b.ID] = i
    	}
    
    	// Set of blocks we're moving, by ID.
    	move := map[ID]struct{}{}
    
    	// Map from block ID to the moving blocks that should
    	// come right after it.
    	after := map[ID][]*Block{}
    
    	// Check each loop header and decide if we want to move it.
    	for _, loop := range loopnest.loops {
    		b := loop.header
    		var p *Block // b's in-loop predecessor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/sync/rwmutex.go

    		runtime_Semrelease(&rw.writerSem, false, 1)
    	}
    }
    
    // Lock locks rw for writing.
    // If the lock is already locked for reading or writing,
    // Lock blocks until the lock is available.
    func (rw *RWMutex) Lock() {
    	if race.Enabled {
    		_ = rw.w.state
    		race.Disable()
    	}
    	// First, resolve competition with other writers.
    	rw.w.Lock()
    	// Announce to readers there is a pending writer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/go/types/labels.go

    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                      // enclosing block
    	lstmt  *ast.LabeledStmt            // labeled statement to which this block belongs, or nil
    	labels map[string]*ast.LabeledStmt // allocated lazily
    }
    
    // insert records a new label declaration for the current block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/MonotonicClockTest.groovy

            1 * nanoTime() >> START_NANOS
        }
    
        private Clock clock = new MonotonicClock(timeSource, SYNC_INTERVAL)
    
        def "prevents time from going backwards"() {
            when:
            setNanos 0
    
            then:
            clock.currentTime == START_MILLIS + 0
    
            when:
            setNanos 10
    
            then:
            clock.currentTime == START_MILLIS + 10
    
            when:
            setNanos 8
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/SuiteTestClassProcessor.java

                                       Clock clock) {
            this.suiteDescriptor = suiteDescriptor;
            this.processor = processor;
            this.clock = clock;
        }
    
        @Override
        public void startProcessing(TestResultProcessor testResultProcessor) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/sync/mutex.go

    	// Starvation mode is important to prevent pathological cases of tail latency.
    	starvationThresholdNs = 1e6
    )
    
    // Lock locks m.
    // If the lock is already in use, the calling goroutine
    // blocks until the mutex is available.
    func (m *Mutex) Lock() {
    	// Fast path: grab unlocked mutex.
    	if atomic.CompareAndSwapInt32(&m.state, 0, mutexLocked) {
    		if race.Enabled {
    			race.Acquire(unsafe.Pointer(m))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildLoggerFactory.java

            this.styledTextOutputFactory = styledTextOutputFactory;
            this.workValidationWarningReporter = workValidationWarningReporter;
            this.clock = clock;
            this.gradleEnterprisePluginManager = gradleEnterprisePluginManager;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/labels.go

    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                         // enclosing block
    	lstmt  *syntax.LabeledStmt            // labeled statement to which this block belongs, or nil
    	labels map[string]*syntax.LabeledStmt // allocated lazily
    }
    
    // insert records a new label declaration for the current block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileEventAdapter.java

        public ProfileEventAdapter(BuildProfile buildProfile, BuildStartedTime buildStartedTime, Clock clock) {
            this.buildProfile = buildProfile;
            this.buildStartedTime = buildStartedTime;
            this.clock = clock;
        }
    
        // BuildListener
        @Override
        public void beforeSettings(Settings settings) {
            long now = clock.getCurrentTime();
            buildProfile.setBuildStarted(now);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ThrottlingOutputEventListener.java

        }
    
        ThrottlingOutputEventListener(OutputEventListener listener, int throttleMs, ScheduledExecutorService executor, Clock clock) {
            this.throttleMs = throttleMs;
            this.listener = listener;
            this.executor = executor;
            this.clock = clock;
            scheduleUpdateNow();
        }
    
        private void scheduleUpdateNow() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top