Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 679 for clocks (0.64 sec)

  1. src/cmd/go/internal/lockedfile/lockedfile_test.go

    func TestSpuriousEDEADLK(t *testing.T) {
    	// 	P.1 locks file A.
    	// 	Q.3 locks file B.
    	// 	Q.3 blocks on file A.
    	// 	P.2 blocks on file B. (Spurious EDEADLK occurs here.)
    	// 	P.1 unlocks file A.
    	// 	Q.3 unblocks and locks file A.
    	// 	Q.3 unlocks files A and B.
    	// 	P.2 unblocks and locks file B.
    	// 	P.2 unlocks file B.
    
    	testenv.MustHaveExec(t)
    
    	dirVar := t.Name() + "DIR"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ConcurrentBuildsArtifactTransformIntegrationTest.groovy

            def block1 = server.expectAndBlock("block1")
            def block2 = server.expectAndBlock("block2")
    
            when:
            // Block until first build has produced red things
            def build1 = executer.withTasks("redThings", "block1", "blueThings").start()
            block1.waitForAllPendingCalls()
    
            // Block until second build has produced blue things
            def build2 = executer.withTasks("redThings", "blueThings", "block2").start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.2K 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top