Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Breiding (0.23 sec)

  1. internal/s3select/select.go

    	Start *uint64 `xml:"Start"`
    	// End is the offset of the last byte that should be returned when Start
    	// is set, otherwise it is the offset from EOF to start reading.
    	End *uint64 `xml:"End"`
    }
    
    // Validate if the scan range is valid.
    func (s *ScanRange) Validate() error {
    	if s == nil {
    		return nil
    	}
    	if s.Start == nil && s.End == nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatalf("Expected GetObject reading data to succeed, but failed with %v", err)
    	}
    	gr.Close()
    
    	const expectedHash = "fffb6377948ebea75ad2b8058e849ef5"
    	foundHash := fmt.Sprintf("%x", h.Sum(nil))
    	if foundHash != expectedHash {
    		t.Fatalf("Expected data to have md5sum = `%s`, found `%s`", expectedHash, foundHash)
    	}
    }
    
    // Test reading an object with some outdated data in some disks
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  3. cmd/update.go

    		}
    	}
    
    	contentBytes, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return content, AdminError{
    			Code:       AdminUpdateUnexpectedFailure,
    			Message:    fmt.Sprintf("Error reading response. %s", err),
    			StatusCode: http.StatusInternalServerError,
    		}
    	}
    
    	return string(contentBytes), nil
    }
    
    func releaseInfoToReleaseTime(releaseInfo string) (releaseTime time.Time, err error) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    		if err != nil || len(contentSHA256) == 0 {
    			return ErrContentSHA256Mismatch
    		}
    	}
    
    	// Verify 'Content-Md5' and/or 'X-Amz-Content-Sha256' if present.
    	// The verification happens implicit during reading.
    	reader, err := hash.NewReader(ctx, r.Body, -1, clientETag.String(), hex.EncodeToString(contentSHA256), -1)
    	if err != nil {
    		return toAPIErrorCode(ctx, err)
    	}
    	r.Body = reader
    	return ErrNone
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. internal/s3select/sql/value.go

    	}
    	// Fallback to string
    	v.setString(asString)
    	return
    }
    
    // When numeric types are compared, type promotions could happen. If
    // values do not have types (e.g. when reading from CSV), for
    // comparison operations, automatic type conversion happens by trying
    // to check if the value is a number (first an integer, then a float),
    // and falling back to string.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    		// coming up and trying to read format.json or create format.json
    		return nil
    	}
    	storedDiskID, err := p.storage.GetDiskID()
    	if err != nil {
    		// return any error generated while reading `format.json`
    		return err
    	}
    	if err == nil && *p.diskID.Load() == storedDiskID {
    		return nil
    	}
    	// not the same disk we remember, take it offline.
    	return errDiskNotFound
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  7. cmd/object_api_suite_test.go

    		enableCompression(t, true)
    		fn(t)
    	})
    }
    
    // ExecExtendedObjectLayerTest will execute the tests with combinations of encrypted & compressed.
    // This can be used to test functionality when reading and writing data.
    func ExecExtendedObjectLayerTest(t *testing.T, objTest objTestType) {
    	execExtended(t, func(t *testing.T) {
    		ExecObjectLayerTest(t, objTest)
    	})
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  8. internal/logger/target/http/http.go

    	status         int32
    
    	// Worker control
    	workers    int64
    	maxWorkers int64
    	// workerStartMu sync.Mutex
    	lastStarted time.Time
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    	// Reading logCh must hold read lock on logChMu (to avoid read race)
    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. internal/auth/credentials.go

    	Name         string                 `xml:"-" json:"name,omitempty"`
    	Description  string                 `xml:"-" json:"description,omitempty"`
    
    	// Deprecated: In favor of Description - when reading credentials from
    	// storage the value of this field is placed in the Description field above
    	// if the existing Description from storage is empty.
    	Comment string `xml:"-" json:"comment,omitempty"`
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. cmd/utils.go

    	if err != nil {
    		return "", fmt.Errorf("request err: %v", err)
    	}
    	// {
    	// 	bodyBuf, err := io.ReadAll(resp.Body)
    	// 	if err != nil {
    	// 		return "", fmt.Errorf("Error reading body: %v", err)
    	// 	}
    	// 	fmt.Printf("bodyBuf (for LDAP login page): %s\n", string(bodyBuf))
    	// }
    
    	// Fill the login form with our test creds:
    	// fmt.Printf("login form url: %s\n", lastReq.URL.String())
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32K bytes
    - Viewed (0)
Back to top