Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 481 for clocks (0.11 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerThreadRegistry.java

         * This method is reentrant so that a thread can call this method from the given action.
         *
         * This method blocks until a worker lease is available.
         */
        <T> T runAsWorkerThread(Factory<T> action);
    
        /**
         * Runs the given action as a worker. While the action is running, the thread can acquire resource locks.
         * A worker lease is also granted to the thread. The thread can release this if it needs to, but should reacquire
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingIntegrationTest.groovy

    task b {
        def files = configurations.b
        doLast {
            files.files
        }
    }
    task block1 {
        doLast {
            ${blockingServer.callFromBuild("block1")}
        }
    }
    block1.mustRunAfter a
    b.mustRunAfter block1
    
    task block2 {
        doLast {
            ${blockingServer.callFromBuild("block2")}
        }
    }
    block2.mustRunAfter b
    """
            // Ensure scripts are compiled
            run("help")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. cmd/lock-rest-server.go

    		dst.Code = dsync.RespErr
    		dst.Err = err.Error()
    	}
    	return dst, nil
    }
    
    const (
    	// Lock maintenance interval.
    	lockMaintenanceInterval = 1 * time.Minute
    
    	// Lock validity duration
    	lockValidityDuration = 1 * time.Minute
    )
    
    // lockMaintenance loops over all locks and discards locks
    // that have not been refreshed for some time.
    func lockMaintenance(ctx context.Context) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingCrossVersionIntegrationTest.groovy

        }
    }
    
    task block1 {
        dependsOn tasks.a
        onlyIf { project.hasProperty("enable-block1") }
        doLast {
            ${blockingServer.callFromBuild("block1")}
        }
    }
    
    task b {
        dependsOn tasks.block1
        doLast {
            configurations.b.files
        }
    }
    
    task block2 {
        dependsOn tasks.b
        onlyIf { project.hasProperty("enable-block2") }
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/work/AsyncWorkTracker.java

         *
         * @param operation - The build operation whose asynchronous work should be completed
         * @param lockRetention - How project locks should be treated while waiting on work
         */
        void waitForCompletion(BuildOperationRef operation, ProjectLockRetention lockRetention);
    
        /**
         * Blocks waiting for the completion of the specified items of asynchronous work.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestExecutor.groovy

    package org.gradle.test.fixtures.concurrent
    
    import java.util.concurrent.Executor
    import java.util.concurrent.locks.Condition
    import java.util.concurrent.locks.Lock
    import java.util.concurrent.locks.ReentrantLock
    
    class TestExecutor implements Executor {
        private final Lock lock = new ReentrantLock()
        private final Condition condition = lock.newCondition()
        private final Set<Thread> threads = new HashSet<Thread>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/crypto/aes/block.go

    //	https://csrc.nist.gov/csrc/media/publications/fips/197/final/documents/fips-197.pdf
    //	https://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf
    
    package aes
    
    import "internal/byteorder"
    
    // Encrypt one block from src into dst, using the expanded key xk.
    func encryptBlockGo(xk []uint32, dst, src []byte) {
    	_ = src[15] // early bounds check
    	s0 := byteorder.BeUint32(src[0:4])
    	s1 := byteorder.BeUint32(src[4:8])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/Block.java

     * limitations under the License.
     */
    package org.gradle.cache.internal.btree;
    
    public abstract class Block {
        static final int LONG_SIZE = 8;
        static final int INT_SIZE = 4;
        static final int SHORT_SIZE = 2;
    
        private BlockPayload payload;
    
        protected Block(BlockPayload payload) {
            this.payload = payload;
            payload.setBlock(this);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. pkg/proxy/healthcheck/proxier_health.go

    	return newProxierHealthServer(stdNetListener{}, stdHTTPServerFactory{}, clock.RealClock{}, addr, healthTimeout)
    }
    
    func newProxierHealthServer(listener listener, httpServerFactory httpServerFactory, c clock.Clock, addr string, healthTimeout time.Duration) *ProxierHealthServer {
    	return &ProxierHealthServer{
    		listener:      listener,
    		httpFactory:   httpServerFactory,
    		clock:         c,
    		addr:          addr,
    		healthTimeout: healthTimeout,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 10:41:18 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/LazyConsumerActionExecutor.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    /**
     * Creates the actual executor implementation on demand.
     */
    public class LazyConsumerActionExecutor implements ConsumerActionExecutor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top