Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 804 for clocks (0.22 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy

                }
            }
    
            then:
            def e = thrown(IllegalStateException)
            e.message == "This thread may not release any locks."
        }
    
        def "releases worker lease but does not release project locks in blocking action when changes to locks are disallowed"() {
            def lease = workerLeaseService.newWorkerLease()
            def projectLock = workerLeaseService.getProjectLock(path("root"), path(":project"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java

    import java.util.LinkedList;
    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    public class DefaultDaemonConnection implements DaemonConnection {
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultDaemonConnection.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. src/runtime/mspanset.go

    	// which claimed the last slot in the block, we're just the last one
    	// to finish popping.
    	if block.popped.Add(1) == spanSetBlockEntries {
    		// Clear the block's pointer.
    		blockp.StoreNoWB(nil)
    
    		// Return the block to the block pool.
    		spanSetBlockPool.free(block)
    	}
    	return s
    }
    
    // reset resets a spanSet which is empty. It will also clean up
    // any left over blocks.
    //
    // Throws if the buf is not empty.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileLockManager.java

         * released by calling {@link FileLock#close()}. This method blocks until the lock can be acquired.
         * <p>
         * Enable other processes to request access to the provided lock. Provided action runs when the lock access request is received
         * (it means that the lock is contended).
         *
         * @param target The file to be locked.
         * @param options The lock options.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. hack/update-mocks.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script generates mock files using mockgen.
    # Usage: `hack/update-mocks.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    
    echo 'installing mockgen'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. samples/bookinfo/src/details/Gemfile.lock

    Brian Sonnenberg <******@****.***> 1716576125 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 24 18:42:05 UTC 2024
    - 171 bytes
    - Viewed (0)
  7. src/runtime/rwmutex.go

    // protects some resource (e.g., allocmLock protects creation of new Ms). The
    // read and write locks of that resource need to be represented in the lock
    // rank.
    //
    // Internal ranking: as an implementation detail, rwmutex uses two mutexes:
    // rLock and wLock. These have lock order requirements: wLock must be locked
    // before rLock. This also needs to be represented in the lock rank.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. pkg/kubelet/pleg/generic.go

    	relistDuration *RelistDuration, cache kubecontainer.Cache,
    	clock clock.Clock) PodLifecycleEventGenerator {
    	return &GenericPLEG{
    		relistDuration: relistDuration,
    		runtime:        runtime,
    		eventChannel:   eventChannel,
    		podRecords:     make(podRecords),
    		cache:          cache,
    		clock:          clock,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/cmd/cover/cover.go

    		return
    	}
    	// Self-check: Verify that the instrumented basic blocks are disjoint.
    	t := make([]block1, len(f.blocks))
    	for i := range f.blocks {
    		t[i].Block = f.blocks[i]
    		t[i].index = i
    	}
    	sort.Sort(blockSlice(t))
    	for i := 1; i < len(t); i++ {
    		if t[i-1].endByte > t[i].startByte {
    			fmt.Fprintf(os.Stderr, "cover: internal error: block %d overlaps block %d\n", t[i-1].index, t[i].index)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy

        private final List<TestParticipant> participants
        private final Lock lock
    
        CompositeTestParticipant(ConcurrentTestUtil owner, Lock lock, List<TestParticipant> participants) {
            super(owner)
            this.participants = participants
            this.lock = lock
        }
    
        void running() {
            lock.lock()
            try {
                participants*.running()
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top