Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 257 for fchdir (0.28 sec)

  1. src/path/filepath/path_windows_test.go

    		wd := replacer.Replace(test.wd)
    		arg := replacer.Replace(test.arg)
    		want := replacer.Replace(test.want)
    
    		if test.wd == "." {
    			err := os.Chdir(cwd)
    			if err != nil {
    				t.Error(err)
    
    				continue
    			}
    		} else {
    			err := os.Chdir(wd)
    			if err != nil {
    				t.Error(err)
    
    				continue
    			}
    		}
    		if arg != "" {
    			arg = filepath.Clean(arg)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/badsym_test.go

    			t.Fatal(err)
    		}
    		return ret
    	}
    
    	cdir := mkdir("c")
    	godir := mkdir("go")
    
    	makeFile := func(mdir, base, source string) string {
    		ret := filepath.Join(mdir, base)
    		if err := os.WriteFile(ret, []byte(source), 0644); err != nil {
    			t.Fatal(err)
    		}
    		return ret
    	}
    
    	cDefFile := makeFile(cdir, "cdef.c", cDefSource)
    	cRefFile := makeFile(cdir, "cref.c", cRefSource)
    
    	ccCmd := cCompilerCmd(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/cmd/internal/buildid/buildid.go

    	}
    
    	// Read fixed-length header.
    	if _, err := f.Seek(0, io.SeekStart); err != nil {
    		return "", err
    	}
    	var flhdr [128]byte
    	if _, err := io.ReadFull(f, flhdr[:]); err != nil {
    		return "", err
    	}
    	// Read first member offset.
    	offStr := strings.TrimSpace(string(flhdr[68:88]))
    	off, err := strconv.ParseInt(offStr, 10, 64)
    	if err != nil {
    		return bad()
    	}
    	for {
    		if off == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 28 21:52:53 UTC 2020
    - 9K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/plugin_test.go

    	}
    
    	os.Setenv("GOPATH", filepath.Join(GOPATH, "alt"))
    	if err := os.Chdir(altRoot); err != nil {
    		log.Panic(err)
    	} else {
    		prettyPrintf("cd %s\n", altRoot)
    	}
    	os.Setenv("PWD", altRoot)
    	goCmd(nil, "build", "-buildmode=plugin", "-o", filepath.Join(modRoot, "plugin-mismatch.so"), "./plugin-mismatch")
    
    	os.Setenv("GOPATH", GOPATH)
    	if err := os.Chdir(modRoot); err != nil {
    		log.Panic(err)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), func Connect(int, Sockaddr) error
    pkg syscall (netbsd-arm64-cgo), func Dup2(int, int) error
    pkg syscall (netbsd-arm64-cgo), func Dup(int) (int, error)
    pkg syscall (netbsd-arm64-cgo), func Fchdir(int) error
    pkg syscall (netbsd-arm64-cgo), func Fchflags(int, int) error
    pkg syscall (netbsd-arm64-cgo), func Fchmod(int, uint32) error
    pkg syscall (netbsd-arm64-cgo), func Fchown(int, int, int) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy

            repo1 == augmentMapWithProperties(expectedRepo, [
                URL: expectedRepo.name == 'MavenLocal' ? m2.mavenRepo().uri.toASCIIString() : mavenHttpRepo.uri.toASCIIString(),
                DIRS: [buildFile.parentFile.file('fooDir').absolutePath]
            ])
    
            where:
            repo                   | repoBlock                     | expectedRepo                     | deprecationWarning
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go

    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func chdir(path string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_plan9_386.go

    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func chdir(path string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  9. src/syscall/exec_bsd.go

    		if err1 != 0 {
    			goto childerror
    		}
    		_, _, err1 = RawSyscall(SYS_SETUID, uintptr(cred.Uid), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Chdir
    	if dir != nil {
    		_, _, err1 = RawSyscall(SYS_CHDIR, uintptr(unsafe.Pointer(dir)), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Pass 1: look for fd[i] < i and move those up above len(fd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/syscall/exec_freebsd.go

    		if err1 != 0 {
    			goto childerror
    		}
    		_, _, err1 = RawSyscall(SYS_SETUID, uintptr(cred.Uid), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Chdir
    	if dir != nil {
    		_, _, err1 = RawSyscall(SYS_CHDIR, uintptr(unsafe.Pointer(dir)), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Parent death signal
    	if sys.Pdeathsig != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top