Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for FS (0.13 sec)

  1. 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)
  2. api/next/62484.txt

    pkg os, func CopyFS(string, fs.FS) error #62484...
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 23 00:19:54 GMT 2024
    - 48 bytes
    - Viewed (0)
  3. 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 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. 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 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns_other.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	return 0, fmt.Errorf("unable to get inode os not supported")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 781 bytes
    - Viewed (0)
  8. api/go1.22.txt

    pkg math/rand/v2, type Zipf struct #61716
    pkg net, method (*TCPConn) WriteTo(io.Writer) (int64, error) #58808
    pkg net/http, func FileServerFS(fs.FS) Handler #51971
    pkg net/http, func NewFileTransportFS(fs.FS) RoundTripper #51971
    pkg net/http, func ServeFileFS(ResponseWriter, *Request, fs.FS, string) #51971
    pkg net/http, method (*Request) PathValue(string) string #61410
    pkg net/http, method (*Request) SetPathValue(string, string) #61410
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. 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)
  10. cni/pkg/nodeagent/podcgroupns.go

    type PodNetnsEntry struct {
    	uid     types.UID
    	netns   fs.File
    	netnsfd uintptr
    	inode   uint64
    }
    
    func (p *PodNetnsProcFinder) processEntry(proc fs.FS, netnsObserved sets.Set[uint64], filter sets.Set[types.UID], entry fs.DirEntry) (*PodNetnsEntry, error) {
    	if !isProcess(entry) {
    		return nil, nil
    	}
    
    	netnsName := path.Join(entry.Name(), "ns", "net")
    	fi, err := fs.Stat(proc, netnsName)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top