Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for nextar (0.19 sec)

  1. src/cmd/link/internal/ld/ar.go

    	if _, err := io.ReadFull(f, magbuf[:]); err != nil {
    		Exitf("file %s too short", name)
    	}
    
    	if string(magbuf[:]) != ARMAG {
    		Exitf("%s is not an archive file", name)
    	}
    
    	var arhdr ArHdr
    	l := nextar(f, f.Offset(), &arhdr)
    	if l <= 0 {
    		Exitf("%s missing armap", name)
    	}
    
    	var armap archiveMap
    	if arhdr.name == "/" || arhdr.name == "/SYM64/" {
    		armap = readArmap(name, f, arhdr)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    		j = len(name)
    	}
    	hash := notsha256.Sum256([]byte(name[i+1 : j]))
    	return name[:i+1] + base64.StdEncoding.EncodeToString(hash[:6]) + name[j:]
    }
    
    /*
     * look for the next file in an archive.
     * adapted from libmach.
     */
    func nextar(bp *bio.Reader, off int64, a *ArHdr) int64 {
    	if off&1 != 0 {
    		off++
    	}
    	bp.MustSeek(off, 0)
    	var buf [SAR_HDR]byte
    	if n, err := io.ReadFull(bp, buf[:]); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultCompositeExcludeTest.groovy

        }
    
        ExcludeSpec nextAny() {
            FACTORY.anyOf((0..(1 + random.nextInt(3))).collect { next() } as Set<ExcludeSpec>)
        }
    
        ExcludeSpec nextAll() {
            FACTORY.allOf((0..(1 + random.nextInt(3))).collect { next() } as Set<ExcludeSpec>)
        }
    
        ExcludeSpec nextArtifact() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/CodeGeneratingSignatureTreeVisitor.java

            CodeBlock nextArg = CodeBlock.of("nextArg");
            result.addStatement("Object $L = invocation.getArgument(argIndex)", nextArg);
            result.beginControlFlow("if ($1L == null || $1L instanceof $2T)", nextArg, entryParamType);
            if (entryParamType.equals(TypeName.OBJECT)) {
                result.addStatement("$1L[argIndex - $2L] = $3L", varargVariable, paramIndex, nextArg);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/MatchesSignatureGeneratingSignatureTreeVisitor.java

            CodeBlock nextArg = CodeBlock.of("nextArg");
            result.addStatement("Class<?> $L = argumentClasses[argIndex]", nextArg);
            result.beginControlFlow("if ($2L != null && !$1T.class.isAssignableFrom($2L))", entryParamType, nextArg);
            result.addStatement("$L = false", varargMatched);
            result.addStatement("break");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. test/escape_slice.go

    NextVar:
    	for _, inkv := range in {
    		k := strings.SplitAfterN(inkv, "=", 2)[0]
    		for i, outkv := range out {
    			if strings.HasPrefix(outkv, k) {
    				out[i] = inkv
    				continue NextVar
    			}
    		}
    		out = append(out, inkv)
    	}
    	return out
    }
    
    const (
    	IPv4len = 4
    	IPv6len = 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. src/syscall/exec_libc2.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++
    			}
    			if runtime.GOOS == "openbsd" {
    				_, _, err1 = rawSyscall(dupTrampoline, uintptr(fd[i]), uintptr(nextfd), O_CLOEXEC)
    			} else {
    				_, _, err1 = rawSyscall(dupTrampoline, uintptr(fd[i]), uintptr(nextfd), 0)
    				if err1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. pkg/volume/csi/fake/fake_client.go

    type ControllerClient struct {
    	nextCapabilities []*csipb.ControllerServiceCapability
    	nextErr          error
    }
    
    // SetNextError injects next expected error
    func (f *ControllerClient) SetNextError(err error) {
    	f.nextErr = err
    }
    
    // SetNextCapabilities injects next expected capabilities
    func (f *ControllerClient) SetNextCapabilities(caps []*csipb.ControllerServiceCapability) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 16K bytes
    - Viewed (0)
  10. src/syscall/exec_plan9.go

    	// so that pass 2 won't stomp on an fd it needs later.
    	if pipe < nextfd {
    		r1, _, _ = RawSyscall(SYS_DUP, uintptr(pipe), uintptr(nextfd), 0)
    		if int32(r1) == -1 {
    			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: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top