- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 146 for files (0.17 sec)
-
internal/disk/stat_linux_32bit.go
if err != nil { return Info{}, err } reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Frsize) * s.Bavail, Files: s.Files, Ffree: s.Ffree, FSType: getFSType(s.Type), } // Check for overflows. // https://github.com/minio/minio/issues/8035 // XFS can show wrong values at times error out // in such scenarios.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Viewed (0) -
src/archive/zip/reader_test.go
} _, err = r.Open("test.txt") if err != nil { t.Errorf("Error reading file: %v", err) } if len(r.File) != 1 { t.Fatalf("No entries in the file list") } if r.File[0].Name != "../test.txt" { t.Errorf("Unexpected entry name: %s", r.File[0].Name) } if _, err := r.File[0].Open(); err != nil { t.Errorf("Error opening file: %v", err) } } func TestOpenReaderInsecurePath(t *testing.T) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
docs/debugging/healing-bin/main.go
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.2K bytes - Viewed (0) -
src/archive/tar/common.go
// A sparse file can be represented as either a sparseDatas or a sparseHoles. // As long as the total size is known, they are equivalent and one can be // converted to the other form and back. The various tar formats with sparse // file support represent sparse files in the sparseDatas form. That is, they // specify the fragments in the file that has data, and treat everything else as
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) -
cmd/erasure-encode.go
if n == 0 && total != 0 { // Reached EOF, nothing more to be done. break } // We take care of the situation where if n == 0 and total == 0 by creating empty data and parity files. blocks, err = e.EncodeData(ctx, buf[:n]) if err != nil { return 0, err } if err = writer.Write(ctx, blocks); err != nil { return 0, err } total += int64(n) if eof {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3K bytes - Viewed (0) -
cmd/metacache-walk.go
return nil } if len(prefix) > 0 && !strings.HasPrefix(entry, prefix) { // Do not retain the file, since it doesn't // match the prefix. entries[i] = "" continue } if len(forward) > 0 && entry < forward { // Do not retain the file, since its // lexially smaller than 'forward' entries[i] = "" continue }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 15 08:25:46 GMT 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
}, { // case 4 with only iop files Args: strings.Split( "--operatorFileName testdata/istio-operator.yaml"+ " --injectConfigFile testdata/inject-config-iop.yaml -f testdata/deployment/hello.yaml", " "), GoldenFilename: "testdata/deployment/hello.yaml.iop.injected", }, { // case 5 with only iop files Args: strings.Split( "--operatorFileName testdata/istio-operator.yaml"+
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 3.4K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
revision, injectorAddress string, ) (*ExternalInjector, *meshconfig.MeshConfig, error) { var err error // Get configs from IOP files firstly, and if not exists, get configs from files and configmaps. values, meshConfig, err := getIOPConfigs() if err != nil { return nil, nil, err } if meshConfig == nil { if meshConfigFile != "" {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
cmd/object-api-putobject_test.go
tmpMetaDir := path.Join(disk, minioMetaTmpBucket) files, err := os.ReadDir(tmpMetaDir) if err != nil { t.Fatal(err) } var found bool for _, fi := range files { if fi.Name() == ".trash" { continue } found = true } if found { t.Fatalf("%s: expected: empty, got: non-empty %#v", minioMetaTmpBucket, files) } } }
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) -
cmd/os_unix.go
if direntInode(dirent) == 0 { // File absent in directory. return } switch dirent.Type { case syscall.DT_REG: typ = 0 case syscall.DT_DIR: typ = os.ModeDir case syscall.DT_LNK: typ = os.ModeSymlink default: // Skip all other file types. Revisit if/when this code needs // to handle such files, MinIO is only interested in // files and directories. typ = unexpectedFileMode }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.3K bytes - Viewed (0)