Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 136 for clocks (0.1 sec)

  1. docs/en/overrides/main.html

          <a title="Deploy FastAPI on AWS with a few clicks" style="display: block; position: relative;" href="https://www.porter.run" target="_blank">
            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/porter-banner.png" />
          </a>
        </div>
        <div class="item">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/testprog/cpu-profile.go

    		}
    	}
    	for stack, samples := range pprofStacks {
    		fmt.Fprintf(os.Stderr, "%s\t%d\n", stack, samples)
    	}
    }
    
    func cpuHogger(f func(x int) int, y *int, dur time.Duration) {
    	// We only need to get one 100 Hz clock tick, so we've got
    	// a large safety buffer.
    	// But do at least 500 iterations (which should take about 100ms),
    	// otherwise TestCPUProfileMultithreaded can fail if only one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/software/schemaFromSoftwareTypes.kt

    import org.gradle.plugin.software.internal.SoftwareTypeRegistry
    import kotlin.reflect.KClass
    import kotlin.reflect.KFunction
    
    
    /**
     * Support for software types that are used as configuration blocks in build definitions.
     *
     * When a software type is used, the plugin providing it is applied to the project.
     */
    internal
    fun EvaluationAndConversionSchemaBuilder.softwareTypesWithPluginApplication(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/go/printer/gobuild.go

    		block = append(block, "//go:build "...)
    		block = append(block, x.String()...)
    		block = append(block, tabwriter.Escape, '\n')
    		if len(p.plusBuild) > 0 {
    			lines, err := constraint.PlusBuildLines(x)
    			if err != nil {
    				lines = []string{"// +build error: " + err.Error()}
    			}
    			for _, line := range lines {
    				block = append(block, tabwriter.Escape)
    				block = append(block, line...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccess.java

        /**
         * Actions are notified when lock is opened or closed. Actions are called while holding state lock, so that no other threads are working with cache while these are running.
         *
         * @param stateLock Lock to hold while mutating state.
         * @param onOpen Action to run when the lock is opened. Action is called while holding state lock
         * @param onClose Action to run when the lock is closed. Action is called while holding state lock
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblemsSummary.kt

        private
        var uniqueProblems = ObjectOpenHashSet<UniquePropertyProblem>()
    
        private
        var causes = ArrayList<Throwable>(maxCauses)
    
        private
        val lock = ReentrantLock()
    
        fun get(): Summary = lock.withLock {
            Summary(
                problemCount,
                failureCount,
                suppressedCount,
                ImmutableSet.copyOf(uniqueProblems),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. src/sync/waitgroup.go

    	wg.state.Store(0)
    	for ; w != 0; w-- {
    		runtime_Semrelease(&wg.sema, false, 0)
    	}
    }
    
    // Done decrements the [WaitGroup] counter by one.
    func (wg *WaitGroup) Done() {
    	wg.Add(-1)
    }
    
    // Wait blocks until the [WaitGroup] counter is zero.
    func (wg *WaitGroup) Wait() {
    	if race.Enabled {
    		race.Disable()
    	}
    	for {
    		state := wg.state.Load()
    		v := int32(state >> 32)
    		w := uint32(state)
    		if v == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/BuildStatusRenderer.java

    import java.util.HashSet;
    import java.util.Locale;
    import java.util.Set;
    
    /**
     * <p>This listener displays nothing unless it receives periodic {@link UpdateNowEvent} clock events.</p>
     */
    public class BuildStatusRenderer implements OutputEventListener {
        public static final int PROGRESS_BAR_WIDTH = 13;
        public static final String PROGRESS_BAR_PREFIX = "<";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

        def "manages contention for multiple locks"() {
            def action1 = new AtomicBoolean()
            def action2 = new AtomicBoolean()
    
            when:
            int port = handler.reservePort()
            handler.start(10, { action1.set(true) })
            handler.start(11, { action2.set(true) })
    
            client.maybePingOwner(port, 10, "lock 1", 50000, null)
            client.maybePingOwner(port, 11, "lock 2", 50000, null)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     * future.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses AtomicReferenceFieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AbstractFuture} (and all of {@code
     * com.google.common.util.concurrent}) in degenerate class loaders which make certain platform
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top