Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for files (0.19 sec)

  1. cmd/s3-zip-handlers.go

    	}
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	files, err := zipindex.DeserializeFiles(zipInfo)
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	sort.Slice(files, func(i, j int) bool {
    		return files[i].Name < files[j].Name
    	})
    
    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. cni/test/install_cni.go

    				t.Logf("PASS: File %v was removed from %v", f, tempCNIBinDir)
    				return nil
    			}
    		}
    	}
    
    	return fmt.Errorf("no files, or unrecognized op")
    }
    
    // checkTempFilesCleaned verifies that all temporary files have been cleaned up
    func checkTempFilesCleaned(tempCNIConfDir string, t *testing.T) {
    	t.Helper()
    	files, err := os.ReadDir(tempCNIConfDir)
    	if err != nil {
    		t.Fatalf("Failed to list files, err: %v", err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. cmd/sftp-server-driver.go

    		return nil, err
    	}
    
    	switch r.Method {
    	case "List":
    		var files []os.FileInfo
    
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			buckets, err := clnt.ListBuckets(r.Context())
    			if err != nil {
    				return nil, err
    			}
    
    			for _, bucket := range buckets {
    				files = append(files, &minioFileInfo{
    					p:     bucket.Name,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    	filenames := append(append([]string{}, info.GoFiles...), info.CgoFiles...)
    
    	// Parse package files.
    	var files []*ast.File
    	for _, file := range filenames {
    		f, err := w.parseFile(dir, file)
    		if err != nil {
    			log.Fatalf("error parsing package %s: %s", name, err)
    		}
    		files = append(files, f)
    	}
    
    	// Type-check package files.
    	var sizes types.Sizes
    	if w.context != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate_test.go

    			wantError: false,
    		},
    		{
    			name:      "validate combination of yaml files and directories with valid files and invalid files",
    			args:      []string{"--filename", validFilenameYAML, "--filename", tempDirYAML, "--filename", validTempDirYAML},
    			wantError: true, // Since the directory has invalid files
    		},
    		{
    			name:      "validate all json files in a directory",
    			args:      []string{"--filename", tempDirJSON},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    them as part of the Go package. Any .c, .s, .S or .sx files will be
    compiled with the C compiler. Any .cc, .cpp, or .cxx files will be
    compiled with the C++ compiler. Any .f, .F, .for or .f90 files will be
    compiled with the fortran compiler. Any .h, .hh, .hpp, or .hxx files will
    not be compiled separately, but, if these header files are changed,
    the package (including its non-Go source files) will be recompiled.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    			continue
    		}
    
    		break
    	}
    
    	g := errgroup.WithNErrs(len(req.Files)).WithConcurrency(32)
    
    	partsInfo := make([]ObjectPartInfo, len(req.Files))
    	for i, file := range req.Files {
    		file := file
    		partN := i + start
    		i := i
    
    		g.Go(func() error {
    			buf, err := disk.ReadAll(ctx, minioMetaMultipartBucket, pathJoin(partPath, file))
    			if err != nil {
    				return err
    			}
    
    			var pfi FileInfo
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. istioctl/pkg/analyze/analyze.go

    			if len(outputMessages) == 0 {
    				if parseErrors == 0 {
    					if len(readers) > 0 {
    						var files []string
    						for _, r := range readers {
    							files = append(files, r.Name)
    						}
    						fmt.Fprintf(cmd.ErrOrStderr(), "\u2714 No validation issues found when analyzing %s.\n", strings.Join(files, "\n"))
    					} else {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig.go

    func getDefaultCNINetwork(confDir string) (string, error) {
    	files, err := libcni.ConfFiles(confDir, []string{".conf", ".conflist"})
    	switch {
    	case err != nil:
    		return "", err
    	case len(files) == 0:
    		return "", fmt.Errorf("no networks found in %s", confDir)
    	}
    
    	sort.Strings(files)
    	for _, confFile := range files {
    		var confList *libcni.NetworkConfigList
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    	// files. Internally, the tar format often uses fake "files" to add meta
    	// data that describes the next file. These meta data "files" should not
    	// normally be visible to the outside. As such, this loop iterates through
    	// one or more "header files" until it finds a "normal file".
    	format := FormatUSTAR | FormatPAX | FormatGNU
    	for {
    		// Discard the remainder of the file and any padding.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top