Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for FS (0.19 sec)

  1. src/archive/zip/struct.go

    	case fs.ModeNamedPipe:
    		m = s_IFIFO
    	case fs.ModeSocket:
    		m = s_IFSOCK
    	case fs.ModeDevice:
    		m = s_IFBLK
    	case fs.ModeDevice | fs.ModeCharDevice:
    		m = s_IFCHR
    	}
    	if mode&fs.ModeSetuid != 0 {
    		m |= s_ISUID
    	}
    	if mode&fs.ModeSetgid != 0 {
    		m |= s_ISGID
    	}
    	if mode&fs.ModeSticky != 0 {
    		m |= s_ISVTX
    	}
    	return m | uint32(mode&0777)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Files.createDirectory(fs.getPath("dir/e"));
        Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete"));
        Files.createFile(fs.getPath("dir/b/g"));
        Files.createSymbolicLink(fs.getPath("dir/b/h"), fs.getPath("../a"));
        Files.createFile(fs.getPath("dir/b/i/j/k"));
        Files.createDirectory(fs.getPath("/dontdelete"));
        Files.createFile(fs.getPath("/dontdelete/a"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. docs/bigdata/README.md

    fs.s3a.access.key=minio
    fs.s3a.secret.key=minio123
    fs.s3a.path.style.access=true
    fs.s3a.block.size=512M
    fs.s3a.buffer.dir=${hadoop.tmp.dir}/s3a
    fs.s3a.committer.magic.enabled=false
    fs.s3a.committer.name=directory
    fs.s3a.committer.staging.abort.pending.uploads=true
    fs.s3a.committer.staging.conflict-mode=append
    fs.s3a.committer.staging.tmp.path=/tmp/staging
    fs.s3a.committer.staging.unique-filenames=true
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  4. cmd/xl-storage_windows_test.go

    	// Instantiate posix object to manage a disk
    	fs, err := newLocalXLStorage(dir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Create volume to use in conjunction with other StorageAPI's file API(s)
    	err = fs.MakeVol(context.Background(), "voldir")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. cmd/object-api-putobject_test.go

    // Also each of these Benchmarks are run both Erasure and FS backends.
    
    // BenchmarkPutObjectVerySmallFS - Benchmark FS.PutObject() for object size of 10 bytes.
    func BenchmarkPutObjectVerySmallFS(b *testing.B) {
    	benchmarkPutObject(b, "FS", 10)
    }
    
    // BenchmarkPutObjectVerySmallErasure - Benchmark Erasure.PutObject() for object size of 10 bytes.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    // using the semantics of fs.FS.Open:
    // paths are always slash separated, with no
    // leading / or ../ elements.
    func (r *Reader) Open(name string) (fs.File, error) {
    	r.initFileList()
    
    	if !fs.ValidPath(name) {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrInvalid}
    	}
    	e := r.openLookup(name)
    	if e == nil {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    	switch m := fs.FileMode(fi.h.Mode) &^ 07777; m {
    	case c_ISDIR:
    		mode |= fs.ModeDir
    	case c_ISFIFO:
    		mode |= fs.ModeNamedPipe
    	case c_ISLNK:
    		mode |= fs.ModeSymlink
    	case c_ISBLK:
    		mode |= fs.ModeDevice
    	case c_ISCHR:
    		mode |= fs.ModeDevice
    		mode |= fs.ModeCharDevice
    	case c_ISSOCK:
    		mode |= fs.ModeSocket
    	}
    
    	switch fi.h.Typeflag {
    	case TypeSymlink:
    		mode |= fs.ModeSymlink
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. cni/pkg/nodeagent/fakes_test.go

    	return nil
    }
    
    func fakeFs() fs.FS {
    	subFs, err := fs.Sub(fakeProc, "testdata")
    	if err != nil {
    		panic(err)
    	}
    	subFs, err = fs.Sub(subFs, "cgroupns")
    	if err != nil {
    		panic(err)
    	}
    	return &fakeFsWithFakeFds{ReadDirFS: subFs.(fs.ReadDirFS)}
    }
    
    type fakeFsWithFakeFds struct {
    	fs.ReadDirFS
    }
    type fakeFileFakeFds struct {
    	fs.File
    	fd uintptr
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers_test.go

    	wg, waitForMockCalls := NewWaitForNCalls(t, 1)
    
    	fs := &fakeServer{testWG: wg}
    
    	fs.On("AddPodToMesh",
    		ctx,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    		"",
    	).Return(nil)
    
    	server := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	fs.Start(ctx)
    	handlers := setupHandlers(ctx, client, server, "istio-system")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. manifests/manifest.go

    package manifests
    
    import (
    	"embed"
    	"io/fs"
    	"os"
    )
    
    // FS embeds the manifests
    //
    //go:embed all:charts/* profiles/*
    var FS embed.FS
    
    // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in
    // FS will be used
    func BuiltinOrDir(dir string) fs.FS {
    	if dir == "" {
    		return FS
    	}
    	return os.DirFS(dir)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Mar 15 02:30:16 GMT 2023
    - 935 bytes
    - Viewed (0)
Back to top