- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for startBlock (0.24 sec)
-
cmd/erasure-decode.go
reader.preferReaders(prefer) } defer reader.Done() startBlock := offset / e.blockSize endBlock := (offset + length) / e.blockSize var bytesWritten int64 var bufs [][]byte for block := startBlock; block <= endBlock; block++ { var blockOffset, blockLength int64 switch { case startBlock == endBlock: blockOffset = offset % e.blockSize blockLength = length
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 21 14:36:21 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/print.go
h := notsha256.New() p := stringFuncPrinter{w: h, printDead: false} fprintFunc(p, f) return fmt.Sprintf("%x", h.Sum(nil)) } type funcPrinter interface { header(f *Func) startBlock(b *Block, reachable bool) endBlock(b *Block, reachable bool) value(v *Value, live bool) startDepCycle() endDepCycle() named(n LocalSlot, vals []*Value) } type stringFuncPrinter struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 3.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
// only its end coordinate. type pendingEntry struct { present bool startBlock, startValue ID // The location of each piece of the variable, in the same order as the // SlotIDs in varParts. pieces []VarLoc } func (e *pendingEntry) clear() { e.present = false e.startBlock = 0 e.startValue = 0 for i := range e.pieces { e.pieces[i] = VarLoc{} } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/html.go
_, err := io.CopyN(w, buf, int64(i+len(sep))) return err } type htmlFuncPrinter struct { w io.Writer } func (p htmlFuncPrinter) header(f *Func) {} func (p htmlFuncPrinter) startBlock(b *Block, reachable bool) { var dead string if !reachable { dead = "dead-block" } fmt.Fprintf(p.w, "<ul class=\"%s ssa-print-func %s\">", b, dead)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 15:11:40 UTC 2023 - 34.8K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/InterruptibleRunnable.java
} } private void beforeRun() { stateLock.lock(); try { thread = Thread.currentThread(); if (interrupted) { thread.interrupt(); } } finally { stateLock.unlock(); } } private void afterRun() { stateLock.lock(); try { Thread.interrupted();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/TaskExecutionLock.java
private final ProjectLock stateLock; public TaskExecutionLock(String displayName, ProjectLock stateLock, ResourceLockCoordinationService coordinationService, ResourceLockContainer owner) { super(displayName, coordinationService, owner); this.stateLock = stateLock; } @Override protected boolean canAcquire() { return stateLock.isLockedByCurrentThread() || stateLock.tryLock(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccess.java
this.cacheDisplayName = cacheDisplayName; this.lockTarget = lockTarget; this.lockOptions = lockOptions; this.lockManager = lockManager; this.stateLock = stateLock; this.initAction = initAction; this.onOpen = onOpen;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 6.7K bytes - Viewed (0) -
internal/event/targetlist.go
failedEvents int64 } func (list *TargetList) getStatsByTargetID(id TargetID) (stat targetStat) { list.statLock.RLock() defer list.statLock.RUnlock() return list.targetStats[id] } func (list *TargetList) incCurrentSendCalls(id TargetID) { list.statLock.Lock() defer list.statLock.Unlock() stats, ok := list.targetStats[id] if !ok { stats = targetStat{} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java
private ManagedExecutor cacheUpdateExecutor; private ExclusiveCacheAccessingWorker cacheAccessWorker; private final Lock stateLock = new ReentrantLock(); // protects the following state private final Condition condition = stateLock.newCondition(); private boolean open; private Thread owner; private FileLock fileLock; private FileLock.State stateAtOpen;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 01 12:21:15 UTC 2024 - 20.5K bytes - Viewed (0)