- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for putempty (0.15 sec)
-
src/runtime/mgcwork.go
newb.nobj = 0 lfnodeValidate(&newb.node) if i == 0 { b = newb } else { putempty(newb) } } } return b } // putempty puts a workbuf onto the work.empty list. // Upon entry this goroutine owns b. The lfstack.push relinquishes ownership. // //go:nowritebarrier func putempty(b *workbuf) { b.checkempty() work.empty.push(&b.node) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 12.9K bytes - Viewed (0) -
src/runtime/mgcstack.go
if s.freeBuf != nil { putempty((*workbuf)(unsafe.Pointer(s.freeBuf))) s.freeBuf = nil } return 0, false } // addObject adds a stack object at addr of type typ to the set of stack objects. func (s *stackScanState) addObject(addr uintptr, r *stackObjectRecord) { x := s.tail if x == nil { // initial setup x = (*stackObjectBuf)(unsafe.Pointer(getempty())) x.next = nil s.head = x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 21:06:52 UTC 2023 - 10.6K bytes - Viewed (0) -
src/runtime/mgcmark.go
continue } println(" dead stkobj at", hex(gp.stack.lo+uintptr(obj.off)), "of size", obj.r.size) // Note: not necessarily really dead - only reachable-from-ptr dead. } } x.nobj = 0 putempty((*workbuf)(unsafe.Pointer(x))) } if state.buf != nil || state.cbuf != nil || state.freeBuf != nil { throw("remaining pointer buffers") } return int64(scannedSize) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/ConcurrentGroupingQueue.kt
) { private val q = ArrayDeque<T>() private val lock = ReentrantLock() private val notEmpty = lock.newCondition() fun push(element: T) { lock.withLock { q.addFirst(element) if (q.size == 1) { notEmpty.signal() } } } /** * Returns the next group of elements after removing them from the queue.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/catalog/parser/TomlCatalogFileParser.java
versionRef = notEmpty(versionTable.getString("ref"), "version reference", alias); require = notEmpty(versionTable.getString("require"), "required version", alias); prefer = notEmpty(versionTable.getString("prefer"), "preferred version", alias); strictly = notEmpty(versionTable.getString("strictly"), "strict version", alias);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 29.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go
res1_initial, _, _ := fetchPath(manager1, "application/json", discoveryPath, "") res2_initial, _, _ := fetchPath(manager2, "application/json", discoveryPath, "") assert.NotEmpty(t, res1_initial.Header.Get("ETag"), "Etag should be populated") assert.NotEmpty(t, res2_initial.Header.Get("ETag"), "Etag should be populated") assert.Equal(t, res1_initial.Header.Get("ETag"), res2_initial.Header.Get("ETag"), "etag should be deterministic")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 28.6K bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publisher/ValidatingIvyPublisher.java
.notEmpty() .validInFileName(); IvyFieldValidator moduleName = field(publication, "module name", identity.getName()) .notEmpty() .validInFileName(); IvyFieldValidator revision = field(publication, "revision", identity.getVersion()) .notEmpty() .validInFileName();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 8.3K bytes - Viewed (0) -
plugin/pkg/admission/runtimeclass/admission_test.go
errs := setOverhead(attrs, tc.pod, tc.runtimeClass) if tc.expectError { assert.NotEmpty(t, errs) } else { assert.Empty(t, errs) } }) } } func TestSetScheduling(t *testing.T) { tests := []struct { name string runtimeClass *nodev1.RuntimeClass
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 17 01:30:14 UTC 2022 - 17.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisher.java
.validMavenIdentifier(); MavenFieldValidator versionValidator = field(publication, "version", publication.getVersion()) .notEmpty() .validInFileName(); if (!hasParentPom) { groupIdValidator.matches(model.getGroupId()); versionValidator.matches(model.getVersion()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 6.9K bytes - Viewed (0)