Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 139 of 139 for fchdir (0.11 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

                    @TaskAction
                    void consume() { print("Consumer ran") }
                }
    
                def producer = tasks.register('producer', Producer) {
                    foo.set(project.layout.buildDir.dir('fooDir'))
                }
    
                tasks.register('consumer', Consumer) {
                    foo = producer.flatMap { it.foo }
                }
            """
            expect:
            succeeds("consumer")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/syscall/fs_wasip1.go

    	errno := fd_filestat_set_size(int32(fd), filesize(length))
    	return errnoErr(errno)
    }
    
    const ImplementsGetwd = true
    
    func Getwd() (string, error) {
    	return cwd, nil
    }
    
    func Chdir(path string) error {
    	if path == "" {
    		return EINVAL
    	}
    
    	dir := "/"
    	if !isAbs(path) {
    		dir = cwd
    	}
    	path = joinPath(dir, path)
    
    	var stat Stat_t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. pkg/volume/iscsi/iscsi_util.go

    }
    
    // isSessionBusy determines if the iSCSI session is busy by counting both FS and block volumes in use.
    func isSessionBusy(host volume.VolumeHost, portal, iqn string) bool {
    	fsDir := host.GetPluginDir(iscsiPluginName)
    	countFS, err := getVolCount(fsDir, portal, iqn)
    	if err != nil {
    		klog.Errorf("iscsi: could not determine FS volumes in use: %v", err)
    		return true
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/cache.go

    		return "", nil, errNotCached
    	}
    
    	if !codehost.AllHex(rev) || len(rev) < 12 {
    		return "", nil, errNotCached
    	}
    	rev = rev[:12]
    	cdir, err := cacheDir(ctx, path)
    	if err != nil {
    		return "", nil, errNotCached
    	}
    	dir, err := os.Open(cdir)
    	if err != nil {
    		return "", nil, errNotCached
    	}
    	names, err := dir.Readdirnames(-1)
    	dir.Close()
    	if err != nil {
    		return "", nil, errNotCached
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/script/cmds.go

    		CmdUsage{
    			Summary: "change the working directory",
    			Args:    "dir",
    		},
    		func(s *State, args ...string) (WaitFunc, error) {
    			if len(args) != 1 {
    				return nil, ErrUsage
    			}
    			return nil, s.Chdir(args[0])
    		})
    }
    
    // Chmod changes the permissions of a file or a directory..
    func Chmod() Cmd {
    	return Command(
    		CmdUsage{
    			Summary: "change file mode bits",
    			Args:    "perm paths...",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	// declaring the same path.
    	modRoot := filepath.Join(GOPATH, "src", "testcarchive")
    	if err := cgotest.OverlayDir(modRoot, "testdata"); err != nil {
    		log.Panic(err)
    	}
    	if err := os.Chdir(modRoot); err != nil {
    		log.Panic(err)
    	}
    	os.Setenv("PWD", modRoot)
    	if err := os.WriteFile("go.mod", []byte("module testcarchive\n"), 0666); err != nil {
    		log.Panic(err)
    	}
    
    	GOOS = goEnv("GOOS")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  7. pkg/istio-agent/agent_test.go

    	// https://github.com/golang/go/issues/43547
    	leak.Check(t)
    	// We run in the temp dir to ensure that when we are writing to the hardcoded ./etc/certs we
    	// don't collide with other tests
    	if err := os.Chdir(wd); err != nil {
    		t.Fatal(err)
    	}
    	certDir := filepath.Join(env.IstioSrc, "./tests/testdata/certs/pilot")
    	fakeSpiffeID := "spiffe://cluster.local/ns/fake-namespace/sa/fake-sa"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. cmd/common-main.go

    	if err != nil {
    		logger.Fatal(err, "Invalid KMS configuration specified")
    	}
    	if !present {
    		return
    	}
    
    	KMS, err := kms.Connect(GlobalContext, &kms.ConnectionOptions{
    		CADir: globalCertsCADir.Get(),
    	})
    	if err != nil {
    		logger.Fatal(err, "Failed to connect to KMS")
    	}
    
    	if _, err = KMS.GenerateKey(GlobalContext, &kms.GenerateKeyRequest{}); errors.Is(err, kms.ErrKeyNotFound) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    matsusaka.mie.jp matsushige.tokushima.jp matsushima.miyagi.jp matsuura.nagasaki.jp matsuyama.ehime.jp matsuzaki.shizuoka.jp matta-varjjat.no mattel mayfirst.info mayfirst.org mazeplay.com mazowsze.pl mazury.pl mb.ca mb.it mba mc mc.ax mc.eu.org mc.it mcdir.me mcdir.ru mckinsey mcpe.me mcpre.ru md md.ci md.us me me.eu.org me.in me.it me.ke me.so me.ss me.tc me.tz me.uk me.us me.vu med med.br med.ec med.ee med.ht med.ly med.om med.pa med.pl med.pro med.sa med.sd medecin.fr medecin.km media media.aero media.hu...
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (0)
Back to top