- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checknonempty (0.17 sec)
-
src/runtime/mgcwork.go
// //go:nowritebarrier func putfull(b *workbuf) { b.checknonempty() work.full.push(&b.node) } // trygetfull tries to get a full or partially empty workbuffer. // If one is not immediately available return nil. // //go:nowritebarrier func trygetfull() *workbuf { b := (*workbuf)(work.full.pop()) if b != nil { b.checknonempty() return b } return b } //go:nowritebarrier
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 12.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/cacheops/CacheOperationStack.java
} public CacheOperationStack pushCacheAction() { operationCount++; return this; } public void popCacheAction() { checkNotEmpty(); operationCount--; } private void checkNotEmpty() { if (operationCount==0) { throw new IllegalStateException("Operation stack is empty."); } } public boolean isEmpty() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.2K bytes - Viewed (0)