Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for injectList (0.14 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

            Model.Builder builder = Model.newBuilder(model);
    
            builder.dependencies(injectList(model.getDependencies(), this::injectDependency));
            Build build = model.getBuild();
            if (build != null) {
                Build newBuild = Build.newBuilder(build)
                        .plugins(injectList(build.getPlugins(), this::injectPlugin))
                        .build();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. maven-di/src/test/java/org/apache/maven/di/impl/InjectorImplTest.java

        void injectListTest() {
            Injector injector = Injector.create().bindImplicit(InjectList.class);
            List<InjectList.MyService> services = injector.getInstance(new Key<List<InjectList.MyService>>() {});
            assertNotNull(services);
            assertEquals(2, services.size());
    
            assertNotNull(services.get(0));
            assertInstanceOf(InjectList.MyService.class, services.get(0));
            assertNotNull(services.get(1));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Model.Builder builder = Model.newBuilder(model);
    
            builder.dependencies(injectList(model.getDependencies(), this::injectDependency));
            Build build = model.getBuild();
            if (build != null) {
                Build newBuild = Build.newBuilder(build)
                        .plugins(injectList(build.getPlugins(), this::injectPlugin))
                        .build();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    				// (pretending that one more is running) before injectglist.
    				// Otherwise it can lead to the following situation:
    				// injectglist grabs all P's but before it starts M's to run the P's,
    				// another M returns from syscall, finishes running its G,
    				// observes that there is no work to do and no other running M's
    				// and reports deadlock.
    				incidlelocked(-1)
    				injectglist(&list)
    				incidlelocked(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. src/runtime/mgcscavenge.go

    		// Ready the goroutine by injecting it. We use injectglist instead
    		// of ready or goready in order to allow us to run this function
    		// without a P. injectglist also avoids placing the goroutine in
    		// the current P's runnext slot, which is desirable to prevent
    		// the scavenger from interfering with user goroutine scheduling
    		// too much.
    		var list gList
    		list.push(s.g)
    		injectglist(&list)
    	}
    	unlock(&s.lock)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  6. src/runtime/mgcmark.go

    // at the end of a GC cycle. gcBlackenEnabled must be false to prevent
    // new assists from going to sleep after this point.
    func gcWakeAllAssists() {
    	lock(&work.assistQueue.lock)
    	list := work.assistQueue.q.popList()
    	injectglist(&list)
    	unlock(&work.assistQueue.lock)
    }
    
    // gcParkAssist puts the current goroutine on the assist queue and parks.
    //
    // gcParkAssist reports whether the assist is now satisfied. If it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  7. src/runtime/mgc.go

    	sched.idleTime.Store(0)
    
    	if work.userForced {
    		memstats.numforcedgc++
    	}
    
    	// Bump GC cycle count and wake goroutines waiting on sweep.
    	lock(&work.sweepWaiters.lock)
    	memstats.numgc++
    	injectglist(&work.sweepWaiters.list)
    	unlock(&work.sweepWaiters.lock)
    
    	// Increment the scavenge generation now.
    	//
    	// This moment represents peak heap in use because we're
    	// about to start sweeping.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/tests/go122-gc-stress.test

    	data="runtime.traceLocker.stack"
    String id=76
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2event.go"
    String id=77
    	data="runtime.traceLocker.GoUnpark"
    String id=78
    	data="runtime.injectglist"
    String id=79
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 139.1K bytes
    - Viewed (0)
Back to top