Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 98 of 98 for TrimPrefix (0.31 sec)

  1. cmd/batch-handlers.go

    }
    
    //msgp:ignore batchJobMetrics
    type batchJobMetrics struct {
    	sync.RWMutex
    	metrics map[string]*batchJobInfo
    }
    
    //msgp:ignore batchJobMetric
    //go:generate stringer -type=batchJobMetric -trimprefix=batchJobMetric $GOFILE
    type batchJobMetric uint8
    
    const (
    	batchJobMetricReplication batchJobMetric = iota
    	batchJobMetricKeyRotation
    	batchJobMetricExpire
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    func copyDir(src string, dest string) error {
    	return filepath.Walk(src, func(path string, info fs.FileInfo, err error) error {
    		if err != nil {
    			return err
    		}
    
    		outpath := filepath.Join(dest, strings.TrimPrefix(path, src))
    
    		if info.IsDir() {
    			os.MkdirAll(outpath, info.Mode())
    			return nil
    		}
    		cpErr := file.AtomicCopy(path, filepath.Dir(outpath), filepath.Base(outpath))
    		if cpErr != nil {
    			return cpErr
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    	RangeRequested   string `xml:"RangeRequested,omitempty" json:"RangeRequested,omitempty"`
    }
    
    // APIErrorCode type of error status.
    type APIErrorCode int
    
    //go:generate stringer -type=APIErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
    const (
    	ErrNone APIErrorCode = iota
    	ErrAccessDenied
    	ErrBadDigest
    	ErrEntityTooSmall
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/erasure-server-pool.go

    					objQuorum:         listingQuorum,
    					bucket:            bucket,
    					requestedVersions: requestedVersions,
    				}
    
    				path := baseDirFromPrefix(prefix)
    				filterPrefix := strings.Trim(strings.TrimPrefix(prefix, path), slashSeparator)
    				if path == prefix {
    					filterPrefix = ""
    				}
    
    				lopts := listPathRawOptions{
    					disks:          disks,
    					fallbackDisks:  fallbackDisks,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback.go

    		if strings.HasPrefix(fname, "_") {
    			fname = path.Base(f.Name()[1:])
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    		fname = strings.TrimPrefix(fname, "cmd/cgo/internal/")
    
    		namei := ""
    		if i < len(name) {
    			namei = name[i]
    		}
    		if fname != namei {
    			t.Errorf("stk[%d] = %q, want %q", i, fname, namei)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    			hdrs = make(http.Header)
    			for k, v := range tarHdrs.PAXRecords {
    				if k == "minio.versionId" {
    					continue
    				}
    				if strings.HasPrefix(k, "minio.metadata.") {
    					k = strings.TrimPrefix(k, "minio.metadata.")
    					hdrs.Set(k, v)
    				}
    			}
    			m, err := extractMetadata(ctx, textproto.MIMEHeader(hdrs))
    			if err != nil {
    				return err
    			}
    			for k, v := range m {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    .Values.labels.app }}app: {{.|quote}} {{- end}} {{- else }}app: {{ include "gateway.name" . }} {{- end }} {{- if hasKey .Values.labels "istio" }} {{- with .Values.labels.istio }} istio: {{.|quote}} {{- end}} {{- else }} istio: {{ include "gateway.name" . | trimPrefix "istio-" }} {{- end }} {{- end }} {{- define "gateway.serviceAccountName" -}} {{- if .Values.serviceAccount.create }} {{- .Values.serviceAccount.name | default (include "gateway.name" .) }} {{- else }} {{- .Values.serviceAccount.name | default "default"...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  8. api/go1.1.txt

    pkg bufio, type SplitFunc func([]uint8, bool) (int, []uint8, error)
    pkg bufio, var ErrAdvanceTooFar error
    pkg bufio, var ErrNegativeAdvance error
    pkg bufio, var ErrTooLong error
    pkg bytes, const MinRead = 512
    pkg bytes, func TrimPrefix([]uint8, []uint8) []uint8
    pkg bytes, func TrimSuffix([]uint8, []uint8) []uint8
    pkg bytes, method (*Buffer) Grow(int)
    pkg bytes, method (*Reader) WriteTo(io.Writer) (int64, error)
    pkg compress/flate, const BestCompression = 9
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top