Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 318 for getOld (0.19 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/NamedOperation.groovy

        String toString() {
            return "[operation $name]"
        }
    
        Instant getEnd() {
            def instant = end.get()
            if (instant == null) {
                throw new IllegalStateException("Operation '$name' has not completed yet.")
            }
            return instant
        }
    
        Duration getDuration() {
            return getEnd() - start
        }
    
        void completed(Instant when) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/internal/ImmutableDomainObjectSet.java

        @Override
        public int size() {
            return elements.size();
        }
    
        @Override
        public T getAt(int index) throws IndexOutOfBoundsException {
            return getAll().get(index);
        }
    
        @Override
        public List<T> getAll() {
            return new ArrayList<T>(elements);
        }
    
        public static <T> ImmutableDomainObjectSet<T> of(Iterable<? extends T> elements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceRegistry.java

         *
         * @param serviceType The service type.
         * @param <T>         The service type.
         * @throws ServiceLookupException On failure to lookup the specified service.
         */
        <T> List<T> getAll(Class<T> serviceType) throws ServiceLookupException;
    
        /**
         * Locates the service of the given type.
         *
         * @param serviceType The service type.
         * @return The service instance. Never returns null.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    int fchmodat(int, uintptr_t, unsigned int, int);
    int fchownat(int, uintptr_t, int, int, int);
    int fdatasync(int);
    int getpgid(int);
    int getpgrp();
    int getpid();
    int getppid();
    int getpriority(int, int);
    int getrusage(int, uintptr_t);
    int getsid(int);
    int kill(int, int);
    int syslog(int, uintptr_t, size_t);
    int mkdir(int, uintptr_t, unsigned int);
    int mkdirat(int, uintptr_t, unsigned int);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_solaris_amd64.go

    //go:cgo_import_dynamic libc_Fpathconf fpathconf "libc.so"
    //go:cgo_import_dynamic libc_Fstat fstat "libc.so"
    //go:cgo_import_dynamic libc_Getdents getdents "libc.so"
    //go:cgo_import_dynamic libc_Getgid getgid "libc.so"
    //go:cgo_import_dynamic libc_Getpid getpid "libc.so"
    //go:cgo_import_dynamic libc_Geteuid geteuid "libc.so"
    //go:cgo_import_dynamic libc_Getegid getegid "libc.so"
    //go:cgo_import_dynamic libc_Getppid getppid "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:09:10 UTC 2023
    - 37.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

            return allServices.getFactory(serviceType);
        }
    
        @Override
        public <T> List<T> getAll(Class<T> serviceType) throws ServiceLookupException {
            assertValidServiceType(serviceType);
            List<T> services = new ArrayList<T>();
            serviceRequested();
            allServices.getAll(serviceType, new InstanceUnpackingVisitor<T>(serviceType, services));
            return services;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/lockosthread.go

    		runtime.LockOSThread()
    		if mainTID != 0 && gettid() != mainTID {
    			println("failed to start goroutine on main thread")
    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    		// main thread.
    		ready <- true
    	}()
    	<-ready
    	time.Sleep(1 * time.Millisecond)
    	// Check that this goroutine is still running on a different
    	// thread.
    	if mainTID != 0 && gettid() == mainTID {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/runtime/os_aix.go

    //go:nosplit
    func runPerThreadSyscall() {
    	throw("runPerThreadSyscall only valid on linux")
    }
    
    //go:nosplit
    func getuid() int32 {
    	r, errno := syscall0(&libc_getuid)
    	if errno != 0 {
    		print("getuid failed ", errno)
    		throw("getuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    func geteuid() int32 {
    	r, errno := syscall0(&libc_geteuid)
    	if errno != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. security/pkg/util/jwtutil.go

    	case float64:
    		expiration = time.Unix(int64(exp), 0)
    	case json.Number:
    		v, _ := exp.Int64()
    		expiration = time.Unix(v, 0)
    	}
    	return expiration, nil
    }
    
    // GetAud returns the claim `aud` from the token. Returns nil if not found.
    func GetAud(token string) ([]string, error) {
    	claims, err := parseJwtClaims(token)
    	if err != nil {
    		return nil, err
    	}
    
    	rawAud := claims["aud"]
    	if rawAud == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/CachingServiceLocator.java

            return t;
        }
    
        @Override
        public synchronized <T> List<T> getAll(Class<T> serviceType) throws UnknownServiceException {
            if (allServices.containsKey(serviceType)) {
                return Cast.uncheckedNonnullCast(allServices.get(serviceType));
            }
            List<T> all = delegate.getAll(serviceType);
            allServices.put(serviceType, all);
            return all;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top