Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for nextch (0.18 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	if fetcher != nil {
    		p, src, err = fetcher.Fetch(source, duration, timeout)
    		if err != nil {
    			return
    		}
    	}
    	if err != nil || p == nil {
    		// Fetch the profile over HTTP or from a file.
    		p, src, err = fetch(source, duration, timeout, ui, tr)
    		if err != nil {
    			return
    		}
    	}
    
    	if err = p.CheckValid(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. pkg/kube/krt/fetch.go

    	"istio.io/istio/pkg/slices"
    )
    
    func FetchOne[T any](ctx HandlerContext, c Collection[T], opts ...FetchOption) *T {
    	res := Fetch[T](ctx, c, opts...)
    	switch len(res) {
    	case 0:
    		return nil
    	case 1:
    		return &res[0]
    	default:
    		panic("FetchOne found for more than 1 item")
    	}
    }
    
    func Fetch[T any](ctx HandlerContext, cc Collection[T], opts ...FetchOption) []T {
    	h := ctx.(registerDependency)
    	c := cc.(internalCollection[T])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/syscall/exec_freebsd.go

    	// so that pass 2 won't stomp on an fd it needs later.
    	if pipe < nextfd {
    		_, _, err1 = RawSyscall(SYS_FCNTL, uintptr(pipe), F_DUP2FD_CLOEXEC, uintptr(nextfd))
    		if err1 != 0 {
    			goto childerror
    		}
    		pipe = nextfd
    		nextfd++
    	}
    	for i = 0; i < len(fd); i++ {
    		if fd[i] >= 0 && fd[i] < i {
    			if nextfd == pipe { // don't stomp on pipe
    				nextfd++
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/syscall/exec_libc.go

    		pipe = nextfd
    		nextfd++
    	}
    	for i = 0; i < len(fd); i++ {
    		if fd[i] >= 0 && fd[i] < i {
    			if nextfd == pipe { // don't stomp on pipe
    				nextfd++
    			}
    			switch runtime.GOOS {
    			case "illumos", "solaris":
    				_, err1 = fcntl1(uintptr(fd[i]), _F_DUP2FD_CLOEXEC, uintptr(nextfd))
    			default:
    				_, err1 = dup2child(uintptr(fd[i]), uintptr(nextfd))
    				if err1 != 0 {
    					goto childerror
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. src/syscall/exec_bsd.go

    			if err1 != 0 {
    				goto childerror
    			}
    			_, _, err1 = RawSyscall(SYS_FCNTL, uintptr(nextfd), F_SETFD, FD_CLOEXEC)
    		}
    		if err1 != 0 {
    			goto childerror
    		}
    		pipe = nextfd
    		nextfd++
    	}
    	for i = 0; i < len(fd); i++ {
    		if fd[i] >= 0 && fd[i] < i {
    			if nextfd == pipe { // don't stomp on pipe
    				nextfd++
    			}
    			if runtime.GOOS == "netbsd" || (runtime.GOOS == "openbsd" && runtime.GOARCH == "mips64") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/fetch.go

    			// Zip may have partially written to f before failing.
    			// (Perhaps the server crashed while sending the file?)
    			// Since we allow fallback on error in some cases, we need to fix up the
    			// file to be empty again for the next attempt.
    			if _, err := f.Seek(0, io.SeekStart); err != nil {
    				unrecoverableErr = err
    				return err
    			}
    			if err := f.Truncate(0); err != nil {
    				unrecoverableErr = err
    				return err
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationIdFactory.java

    public class DefaultBuildOperationIdFactory implements BuildOperationIdFactory {
        public static final long ROOT_BUILD_OPERATION_ID_VALUE = 1L;
    
        private final AtomicLong nextId = new AtomicLong(ROOT_BUILD_OPERATION_ID_VALUE);
    
        @Override
        public long nextId() {
            return nextId.getAndIncrement();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/id/LongIdGenerator.java

    package org.gradle.internal.id;
    
    import java.util.concurrent.atomic.AtomicLong;
    
    public class LongIdGenerator implements IdGenerator<Long> {
        private final AtomicLong nextId = new AtomicLong(1);
    
        @Override
        public Long generateId() {
            return nextId.getAndIncrement();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 910 bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ResolvedArtifactsGraphVisitor.java

            ) {
                int id = nextId++;
                return new ArtifactsForNode(id, new VariantResolvingArtifactSet(variantResolver, component, variant, dependency, graphVariantSelector, consumerSchema));
            }
    
            return artifactsByNodeId.computeIfAbsent(toNode.getNodeId(), (LongFunction<ArtifactsForNode>) value -> {
                int id = nextId++;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ComponentIdGenerator.java

    @ServiceScope(Scope.BuildTree.class)
    public class ComponentIdGenerator {
        private final AtomicLong nextId = new AtomicLong();
    
        public long nextComponentId() {
            return nextId.getAndIncrement();
        }
    
        public long nextVariantId() {
            return nextId.getAndIncrement();
        }
    
        public long nextGraphNodeId() {
            return nextId.getAndIncrement();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top