Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Wiles (0.19 sec)

  1. 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 Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  2. internal/store/queuestore.go

    	if err := os.MkdirAll(store.directory, os.FileMode(0o770)); err != nil {
    		return err
    	}
    
    	files, err := store.list()
    	if err != nil {
    		return err
    	}
    
    	// Truncate entries.
    	if uint64(len(files)) > store.entryLimit {
    		files = files[:store.entryLimit]
    	}
    
    	for _, file := range files {
    		if file.IsDir() {
    			continue
    		}
    		key := strings.TrimSuffix(file.Name(), store.fileExt)
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/archive/tar/fuzz_test.go

    		type file struct {
    			header  *Header
    			content []byte
    		}
    		files := []file{}
    		for {
    			hdr, err := r.Next()
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				return
    			}
    			buf := bytes.NewBuffer(nil)
    			if _, err := io.Copy(buf, r); err != nil {
    				continue
    			}
    			files = append(files, file{header: hdr, content: buf.Bytes()})
    		}
    
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  4. 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 Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-diff.go

    		Short: "Diffs two Istio configuration profiles",
    		Long:  "The diff subcommand displays the differences between two Istio configuration profiles.",
    		Example: `  # Profile diff by providing yaml files
      istioctl profile diff manifests/profiles/default.yaml manifests/profiles/demo.yaml
    
      # Profile diff by providing a profile name
      istioctl profile diff default demo`,
    		Args: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. 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 14 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/debugging/healing-bin/main.go

    	app.HideHelpCommand = true
    	app.CustomAppHelpTemplate = `NAME:
      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    	TypeXHeader = 'x'
    
    	// Type 'g' is used by the PAX format to store key-value records that
    	// are relevant to all subsequent files.
    	// This package only supports parsing and composing such headers,
    	// but does not currently support persisting the global state across files.
    	TypeXGlobalHeader = 'g'
    
    	// Type 'S' indicates a sparse file in the GNU format.
    	TypeGNUSparse = 'S'
    
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. cmd/prepare-storage.go

    			pathJoin(diskPath, minioMetaTmpBucket),
    			err))
    	}
    
    	// Delete all temporary files created for DirectIO write check
    	files, _ := filepath.Glob(filepath.Join(diskPath, ".writable-check-*.tmp"))
    	for _, file := range files {
    		go removeAll(file)
    	}
    
    	// Remove the entire folder in case there are leftovers that didn't get cleaned up before restart.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    			content: bytes.Repeat([]byte("abcdefg"), 2048),
    			method:  Deflate,
    		},
    	}
    
    	// write a zip file
    	archive := new(bytes.Buffer)
    	w := NewWriter(archive)
    
    	for i := range files {
    		f := &files[i]
    		f.crc32 = crc32.ChecksumIEEE(f.content)
    		size := uint64(len(f.content))
    		f.uncompressedSize = size
    		f.compressedSize = size
    
    		var compressedContent []byte
    		if f.method == Deflate {
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top