Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 802 for clocks (0.12 sec)

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

         * Runs a given {@link Factory} while the specified locks are being held, releasing
         * the locks upon completion.  Blocks until the specified locks can be obtained.
         */
        <T> T withLocks(Collection<? extends ResourceLock> locks, Factory<T> factory);
    
        /**
         * Runs a given {@link Runnable} while the specified locks are being held, releasing
         * the locks upon completion.  Blocks until the specified locks can be obtained.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. internal/dsync/lock-args.go

    // LockArgs is minimal required values for any dsync compatible lock operation.
    type LockArgs struct {
    	// Unique ID of lock/unlock request.
    	UID string
    
    	// Resources contains single or multiple entries to be locked/unlocked.
    	Resources []string
    
    	// Source contains the line number, function and file name of the code
    	// on the client node that requested the lock.
    	Source string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 04:34:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SendPartialResponseThenBlock.java

        private final Lock lock;
        private final Duration timeout;
        private final Condition condition;
        private final WaitPrecondition precondition;
        private boolean requestStarted;
        private boolean released;
        private final Clock clock = Time.clock();
        private long mostRecentEvent;
        private AssertionError failure;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. 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)
  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. cmd/kubeadm/app/preflight/checks.go

    	} else {
    		checks = append(checks, ContainerRuntimeCheck{runtime: containerRuntime})
    	}
    
    	// non-windows checks
    	checks = addSwapCheck(checks)
    	checks = addExecChecks(checks, execer)
    	checks = append(checks,
    		SystemVerificationCheck{},
    		HostnameCheck{nodeName: nodeReg.Name},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java

        private final Clock clock = Time.clock();
        private final Lock lock;
        private WaitPrecondition last;
        private boolean completed;
        private final Condition condition;
        private int requestsStarted;
    
        ChainingHttpHandler(Lock lock, int timeoutMs, AtomicInteger counter, WaitPrecondition first) {
            this.lock = lock;
            this.condition = lock.newCondition();
            this.timeoutMs = timeoutMs;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

            }
            handler.addHandler(previous -> new ExpectInAnyOrder(lock, previous, expectations));
        }
    
        /**
         * Expects the given requests to be made. Blocks until the given number of concurrent requests have been received, then releases one of the requests and blocks again.
         * Repeats until all of the requests have been received.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top