Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 406 for clocks (0.11 sec)

  1. src/runtime/runtime.go

    const minTimeForTicksPerSecond = 5_000_000*(1-osHasLowResClockInt) + 100_000_000*osHasLowResClockInt
    
    // ticksPerSecond returns a conversion rate between the cputicks clock and the nanotime clock.
    //
    // Note: Clocks are hard. Using this as an actual conversion rate for timestamps is ill-advised
    // and should be avoided when possible. Use only for durations, where a tiny error term isn't going
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                                        + now
                                        + ", lastUpdated = " + lastUpdated + "). Please verify that the clocks of all"
                                        + " deploying machines are reasonably synchronized.");
                        versioning.setLastUpdated(now);
                        changed = true;
                    }
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/runtime/metrics_test.go

    // to abstract over the relationship of two Lock calls or an RLock
    // and a Lock call.
    type locker2 interface {
    	Lock1()
    	Unlock1()
    	Lock2()
    	Unlock2()
    }
    
    type mutex struct {
    	mu sync.Mutex
    }
    
    func (m *mutex) Lock1()   { m.mu.Lock() }
    func (m *mutex) Unlock1() { m.mu.Unlock() }
    func (m *mutex) Lock2()   { m.mu.Lock() }
    func (m *mutex) Unlock2() { m.mu.Unlock() }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/block.go

    package ssa
    
    import (
    	"cmd/internal/src"
    	"fmt"
    )
    
    // Block represents a basic block in the control flow graph of a function.
    type Block struct {
    	// A unique identifier for the block. The system will attempt to allocate
    	// these IDs densely, but no guarantees.
    	ID ID
    
    	// Source position for block's control operation
    	Pos src.XPos
    
    	// The kind of block this is.
    	Kind BlockKind
    
    	// Likely direction for branches.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top