Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for putempty (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/PublicationFieldValidator.java

            if (value == null) {
                String message = String.format("%s cannot be null.", name);
                throw failure(message);
            }
            return type.cast(this);
        }
    
        public T notEmpty() {
            notNull();
            if (value.length() == 0) {
                throw failure(String.format("%s cannot be empty.", name));
            }
            return type.cast(this);
        }
    
        public T validInFileName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            sanityCheckApplicationIds()
    
            if (notEmpty(initFile)) {
                initScriptAppId = findScriptApplicationId(targetsGradle(), scriptFile(initFile))
            }
            if (hasScript(initFile, scriptFile.name)) {
                initOtherScriptAppId = findScriptApplicationId(targetsGradle(), scriptFile(scriptFile))
            }
            if (notEmpty(settingsFile)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top