Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for Perron (0.19 sec)

  1. cmd/storage-interface.go

    	ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error)
    	RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) error
    	CheckParts(ctx context.Context, volume string, path string, fi FileInfo) error
    	Delete(ctx context.Context, volume string, path string, opts DeleteOptions) (err error)
    	VerifyFile(ctx context.Context, volume, path string, fi FileInfo) error
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    type ObjectNamePrefixAsSlash GenericError
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNameInvalid) Error() string {
    	return "Object name invalid: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNameTooLong) Error() string {
    	return "Object name too long: " + e.Bucket + "/" + e.Object
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. migrator/migrator.go

    }
    
    // GetTables returns tables
    func (m Migrator) GetTables() (tableList []string, err error) {
    	err = m.DB.Raw("SELECT TABLE_NAME FROM information_schema.tables where TABLE_SCHEMA=?", m.CurrentDatabase()).
    		Scan(&tableList).Error
    	return
    }
    
    // CreateTable create table in database for values
    func (m Migrator) CreateTable(values ...interface{}) error {
    	for _, value := range m.ReorderModels(values, false) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  4. cmd/naughty-disk_test.go

    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    	// The error to return when no error value is programmed
    	defaultErr error
    	// The current API call number
    	callNR int
    	// Data protection
    	mu sync.Mutex
    }
    
    func newNaughtyDisk(d StorageAPI, errs map[int]error, defaultErr error) *naughtyDisk {
    	return &naughtyDisk{disk: d, errors: errs, defaultErr: defaultErr}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. fastapi/security/api_key.py

                    """
                ),
            ] = None,
            auto_error: Annotated[
                bool,
                Doc(
                    """
                    By default, if the query parameter is not provided, `APIKeyQuery` will
                    automatically cancel the request and send the client an error.
    
                    If `auto_error` is set to `False`, when the query parameter is not
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. tests/query_test.go

    		t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    
    	var sub3 []User
    	if result := DB.Limit(4).Where("name = ?", users[0].Name).FindInBatches(&sub3, 2, func(tx *gorm.DB, batch int) error {
    		return nil
    	}); result.Error != nil || result.RowsAffected != 4 {
    		t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	startTime := time.Now()
    	trace := globalTrace.NumSubscribers(madmin.TraceStorage) > 0
    	return func(errp *error) {
    		duration := time.Since(startTime)
    
    		var err error
    		if errp != nil && *errp != nil {
    			err = *errp
    		}
    
    		atomic.AddUint64(&p.apiCalls[s], 1)
    		if IsErr(err, []error{
    			errFaultyDisk,
    			errFaultyRemoteDisk,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	out := c.FullDump
    	if outputFormat == "yaml" {
    		var err error
    		out, err = yaml.JSONToYAML(out)
    		if err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    // PrintVersionSummary prints version information for Istio and Ztunnel from the config dump
    func (c *ConfigWriter) PrintVersionSummary() error {
    	// TODO
    	return nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    			}
    			entry, err := r.peek()
    			switch err {
    			case io.EOF:
    				atEOF++
    				continue
    			case nil:
    			default:
    				switch err.Error() {
    				case errFileNotFound.Error(),
    					errVolumeNotFound.Error(),
    					errUnformattedDisk.Error():
    					atEOF++
    					fnf++
    					// This is a special case, to handle bucket does
    					// not exist situations.
    					if errors.Is(err, errVolumeNotFound) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    type concErr struct {
    	errMap     map[string]error
    	summaryErr error
    }
    
    func (c concErr) Error() string {
    	if c.summaryErr != nil {
    		return c.summaryErr.Error()
    	}
    	return "<nil>"
    }
    
    func (c concErr) Unwrap() error {
    	return c.summaryErr
    }
    
    func (c *SiteReplicationSys) toErrorFromErrMap(errMap map[string]error, actionName string) error {
    	if len(errMap) == 0 {
    		return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
Back to top