Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 193 for getAlg (3.18 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/ImplicitInputsCapturingInstantiator.java

                return serviceRegistry.get(serviceType);
            }
    
            @Override
            public <T> List<T> getAll(Class<T> serviceType) throws ServiceLookupException {
                return serviceRegistry.getAll(serviceType);
            }
    
            @Override
            public Object get(Type serviceType) throws UnknownServiceException, ServiceLookupException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:08:22 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistry.java

    /**
     * Provides access to existing daemons.
     *
     * Implementations should be thread-safe.
     */
    @ThreadSafe
    @ServiceScope(Scope.Global.class)
    public interface DaemonRegistry {
    
        List<DaemonInfo> getAll();
        List<DaemonInfo> getIdle();
        List<DaemonInfo> getNotIdle();
        List<DaemonInfo> getCanceled();
    
        void store(DaemonInfo info);
        void remove(Address address);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceProvider.java

         */
        @Nullable Service getFactory(Class<?> type);
    
        /**
         * Collects all services of the given type.
         *
         * @return A visitor that should be used for all subsequent services.
         */
        Visitor getAll(Class<?> serviceType, Visitor visitor);
    
        interface Visitor {
            void visit(Service service);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceLocator.java

    import javax.annotation.Nullable;
    import java.util.List;
    
    @ServiceScope(Scope.Global.class)
    public interface ServiceLocator {
        <T> T get(Class<T> serviceType) throws UnknownServiceException;
    
        <T> List<T> getAll(Class<T> serviceType) throws UnknownServiceException;
    
        <T> DefaultServiceLocator.ServiceFactory<T> getFactory(Class<T> serviceType) throws UnknownServiceException;
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/model/RequestExtrasContainer.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Optional;
    
    public class RequestExtrasContainer {
        private final List<RequestExtra> extras = new ArrayList<>();
    
        public List<RequestExtra> getAll() {
            return Collections.unmodifiableList(extras);
        }
    
        public <T> Optional<T> getByType(Class<T> type) {
            return Cast.uncheckedCast(extras.stream().filter(type::isInstance).findFirst());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java

                        fileLockManager),
                    DaemonRegistryContent.SERIALIZER,
                    chmod
                ));
        }
    
        @Override
        public List<DaemonInfo> getAll() {
            lock.lock();
            try {
                DaemonRegistryContent content = cache.get();
                if (content == null) {
                    //when no daemon process has started yet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonExpirationStrategyTest.groovy

            registry = new EmbeddedDaemonRegistry()
        }
    
        DaemonInfo registerDaemon(DaemonStateControl.State state, long lastIdle = -1) {
            final String uid = UUID.randomUUID().toString()
            final int id = registry.getAll().size() + 1
            final long lastIdleTime = lastIdle == -1L ? id * 1000 : lastIdle;
            Address daemonAddress = createAddress(id)
            DaemonContext context = Mock(DaemonContext) {
                _ * getUid() >> uid
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/runtime/syscall_windows_test.go

    	fmtp, _ := syscall.BytePtrFromString("%d %d %d")
    	a, _, _ := GetDLL(t, "user32.dll").Proc("wsprintfA").Call(
    		uintptr(unsafe.Pointer(&buf[0])),
    		uintptr(unsafe.Pointer(fmtp)),
    		1000, 2000, 3000)
    	if string(buf[:a]) != "1000 2000 3000" {
    		t.Error("cdecl USER32.wsprintfA returns", a, "buf=", buf[:a])
    	}
    }
    
    func TestEnumWindows(t *testing.T) {
    	d := GetDLL(t, "user32.dll")
    	isWindows := d.Proc("IsWindow")
    	counter := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-state/src/main/java/org/gradle/internal/buildprocess/BuildProcessScopeServices.java

            List<GradleModuleServices> servicesProviders = new DefaultServiceLocator(classLoaderRegistry.getRuntimeClassLoader(), classLoaderRegistry.getPluginsClassLoader()).getAll(GradleModuleServices.class);
            for (GradleModuleServices services : servicesProviders) {
                registration.add(GradleModuleServices.class, services);
                services.registerGlobalServices(registration);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/runtime/debugcall.go

    // explaining why.
    //
    //go:nosplit
    func debugCallCheck(pc uintptr) string {
    	// No user calls from the system stack.
    	if getg() != getg().m.curg {
    		return debugCallSystemStack
    	}
    	if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) {
    		// Fast syscalls (nanotime) and racecall switch to the
    		// g0 stack without switching g. We can't safely make
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top