Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,664 for collector (0.18 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyCollector.java

        /**
         * Returns all dependencies declared on this collector.
         *
         * @since 8.6
         */
        Provider<Set<Dependency>> getDependencies();
    
        /**
         * Returns all dependency constraints declared on this collector.
         *
         * @since 8.7
         */
        Provider<Set<DependencyConstraint>> getDependencyConstraints();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:19:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. test/gcstring.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that s[len(s):] - which can point past the end of the allocated block -
    // does not confuse the garbage collector.
    
    package main
    
    import (
    	"runtime"
    	"time"
    )
    
    type T struct {
    	ptr **int
    	pad [120]byte
    }
    
    var things []interface{}
    
    func main() {
    	setup()
    	runtime.GC()
    	runtime.GC()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 872 bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * Artifact collector - takes a set of original artifacts and resolves all of the best versions to use
     * along with their metadata. No artifacts are downloaded.
     */
    @Deprecated
    @Named
    @Singleton
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 15 14:24:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue11256.go

    // Test that stack barriers are reset when a goroutine exits without
    // returning.
    
    package main
    
    import (
    	"runtime"
    	"sync/atomic"
    	"time"
    )
    
    func main() {
    	// Let the garbage collector run concurrently.
    	runtime.GOMAXPROCS(2)
    
    	var x [100][]byte
    
    	for i := range x {
    		var done int32
    
    		go func() {
    			// Use enough stack to get stack barriers, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 29 15:02:30 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/apiserverleasegc/gc_controller.go

    	}
    }
    
    // Run starts one worker.
    func (c *Controller) Run(stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer klog.Infof("Shutting down apiserver lease garbage collector")
    
    	klog.Infof("Starting apiserver lease garbage collector")
    
    	// we have a personal informer that is narrowly scoped, start it.
    	go c.leaseInformer.Run(stopCh)
    
    	if !cache.WaitForCacheSync(stopCh, c.leasesSynced) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 25 03:27:44 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  6. test/init1.go

    	runtime.ReadMemStats(memstats)
    	sys, numGC := memstats.Sys, memstats.NumGC
    
    	// Generate 1,000 MB of garbage, only retaining 1 MB total.
    	for i := 0; i < N; i++ {
    		x = []byte(s)
    	}
    
    	// Verify that the garbage collector ran by seeing if we
    	// allocated fewer than N*MB bytes from the system.
    	runtime.ReadMemStats(memstats)
    	sys1, numGC1 := memstats.Sys, memstats.NumGC
    	if sys1-sys >= N*MB || numGC1 == numGC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/doc.go

    // unsafe.Pointer is invalid if it implies that there is a uintptr-typed
    // word in memory that holds a pointer value, because that word will be
    // invisible to stack copying and to the garbage collector.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 738 bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/FileHasherStatistics.java

        @ServiceScope(Scope.Global.class)
        class Collector {
            private final AtomicLong hashedFileCount = new AtomicLong();
            private final AtomicLong hashedContentLength = new AtomicLong();
    
            public void reportFileHashed(long length) {
                hashedFileCount.incrementAndGet();
                hashedContentLength.addAndGet(length);
            }
    
            public FileHasherStatistics collect() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. cmd/preferredimports/preferredimports.go

    	for _, f := range fs {
    		files = append(files, f)
    	}
    	return files
    }
    
    type collector struct {
    	dirs  []string
    	regex *regexp.Regexp
    }
    
    // handlePath walks the filesystem recursively, collecting directories,
    // ignoring some unneeded directories (hidden/vendored) that are handled
    // specially later.
    func (c *collector) handlePath(path string, info os.FileInfo, err error) error {
    	if err != nil {
    		return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/FinalizablePhantomReference.java

    import java.lang.ref.ReferenceQueue;
    import javax.annotation.CheckForNull;
    
    /**
     * Phantom reference with a {@code finalizeReferent()} method which a background thread invokes
     * after the garbage collector reclaims the referent. This is a simpler alternative to using a
     * {@link ReferenceQueue}.
     *
     * <p>Unlike a normal phantom reference, this reference will be cleared automatically.
     *
     * @author Bob Lee
     * @since 2.0
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top