- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for fs (0.15 sec)
-
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) -
api/next/62484.txt
pkg os, func CopyFS(string, fs.FS) error #62484...
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 23 00:19:54 GMT 2024 - 48 bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 15.8K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
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 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
docs_src/generate_clients/tutorial004.js
import * as fs from 'fs' async function modifyOpenAPIFile(filePath) { try { const data = await fs.promises.readFile(filePath) const openapiContent = JSON.parse(data) const paths = openapiContent.paths for (const pathKey of Object.keys(paths)) { const pathData = paths[pathKey] for (const method of Object.keys(pathData)) { const operation = pathData[method] if (operation.tags && operation.tags.length > 0) {
JavaScript - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 14 11:40:05 GMT 2024 - 1K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
wg, waitForMockCalls := NewWaitForNCalls(t, 1) fs := &fakeServer{testWG: wg} fs.On("AddPodToMesh", ctx, pod, util.GetPodIPsIfPresent(pod), valid.Netns, ).Return(nil) dpServer := &meshDataplane{ kubeClient: client.Kube(), netServer: fs, } handlers := setupHandlers(ctx, client, dpServer, "istio-system")
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Feb 02 08:18:40 GMT 2024 - 5.4K bytes - Viewed (0) -
src/archive/tar/tar_test.go
ModTime: time.Unix(1360600852, 0), Typeflag: TypeSymlink, }, fm: 0777 | fs.ModeSymlink, }, { // character device node. h: &Header{ Name: "dev/null", Mode: 0666, Size: 0, ModTime: time.Unix(1360578951, 0), Typeflag: TypeChar, }, fm: 0666 | fs.ModeDevice | fs.ModeCharDevice, }, { // block device node. h: &Header{ Name: "dev/sda",
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24K bytes - Viewed (0) -
lib/time/mkzip.go
// external zip tool is used or the ordering of file names in a directory // or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath" "strings" ) func usage() { fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n") os.Exit(2) } func main() { log.SetPrefix("mkzip: ")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Viewed (0)