- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for fs (0.22 sec)
-
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) -
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) -
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 Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K 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) -
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) -
cni/pkg/nodeagent/podcgroupns_other.go
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 781 bytes - Viewed (0) -
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/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) -
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) -
cni/pkg/nodeagent/podcgroupns_linux.go
// See the License for the specific language governing permissions and // limitations under the License. package nodeagent import ( "fmt" "io/fs" "syscall" ) func GetInode(fi fs.FileInfo) (uint64, error) { if stat, ok := fi.Sys().(*syscall.Stat_t); ok { return stat.Ino, nil } return 0, fmt.Errorf("unable to get inode")
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 814 bytes - Viewed (0)