Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 227 for lengthOf (0.18 sec)

  1. internal/store/batch_test.go

    		t.Fatalf("expected batch length to be %v but got %v", limit, batchLen)
    	}
    	keys, items, err := batch.GetAll()
    	if err != nil {
    		t.Fatalf("unable to get the items from the batch; %v", err)
    	}
    	if len(items) != int(limit) {
    		t.Fatalf("Expected length of the batch items to be %v but got %v", limit, len(items))
    	}
    	if len(keys) != int(limit) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. docs/sts/client-grants.md

    | :--                  | :--                                            |
    | *Type*               | *String*                                       |
    | *Length Constraints* | *Minimum length of 4. Maximum length of 2048.* |
    | *Required*           | *Yes*                                          |
    
    ### Version
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.2K bytes
    - Viewed (1)
  3. internal/s3select/sql/funceval.go

    		}
    		length = int(lenInt)
    		if length < 0 {
    			err := fmt.Errorf("Negative length argument in %s", sqlFnSubstring)
    			return nil, errIncorrectSQLFunctionArgumentType(err)
    		}
    	}
    
    	res, err := evalSQLSubstring(s, int(startIdx), length)
    	return FromString(res), err
    }
    
    func handleSQLTrim(r Record, e *TrimFunc, tableAlias string) (res *Value, err error) {
    	chars := ""
    	ok := false
    	if e.TrimChars != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  4. docs/minio-limits.md

    | Maximum length for bucket names                                                 | 63                                                                              |
    | Maximum length for object names                                                 | 1024                                                                            |
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. docs/sts/ldap.md

    | :--                  | :--                                            |
    | _Type_               | _String_                                       |
    | _Length Constraints_ | _Minimum length of 2. Maximum length of 2048._ |
    | _Required_           | _Yes_                                          |
    
    ### LDAPPassword
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.4K bytes
    - Viewed (1)
  6. cmd/notification.go

    func (sys *NotificationSys) SpeedTest(ctx context.Context, sopts speedTestOpts) []SpeedTestResult {
    	length := len(sys.allPeerClients)
    	if length == 0 {
    		// For single node erasure setup.
    		length = 1
    	}
    	results := make([]SpeedTestResult, length)
    
    	scheme := "http"
    	if globalIsTLS {
    		scheme = "https"
    	}
    
    	var wg sync.WaitGroup
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser.go

    // arguments.
    type SimpleArgFunc struct {
    	FunctionName string `parser:" @(\"AVG\" | \"MAX\" | \"MIN\" | \"SUM\" |  \"COALESCE\" | \"NULLIF\" | \"TO_STRING\" | \"TO_TIMESTAMP\" | \"UTCNOW\" | \"CHAR_LENGTH\" | \"CHARACTER_LENGTH\" | \"LOWER\" | \"UPPER\") "`
    
    	ArgsList []*Expression `parser:"\"(\" (@@ (\",\" @@)*)?\")\""`
    }
    
    // CountFunc represents the COUNT sql function
    type CountFunc struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. cmd/api-headers_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    func TestNewRequestID(t *testing.T) {
    	// Ensure that it returns an alphanumeric result of length 16.
    	id := mustGetRequestID(UTCNow())
    
    	if len(id) != 16 {
    		t.Fail()
    	}
    
    	var e rune
    	for _, char := range id {
    		e = char
    
    		// Ensure that it is alphanumeric, in this case, between 0-9 and A-Z.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  9. internal/logger/target/types/types.go

    // Constants for target types
    const (
    	_ TargetType = iota
    	TargetConsole
    	TargetHTTP
    	TargetKafka
    )
    
    // TargetStats contains statistics for a target.
    type TargetStats struct {
    	// QueueLength is the queue length if any messages are queued.
    	QueueLength int
    
    	// TotalMessages is the total number of messages sent in the lifetime of the target
    	TotalMessages int64
    
    	// FailedMessages should log message count that failed to send.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 10 18:20:21 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  10. cmd/object-api-interface.go

    func GetObject(ctx context.Context, api ObjectLayer, bucket, object string, startOffset int64, length int64, writer io.Writer, etag string, opts ObjectOptions) (err error) {
    	var header http.Header
    	if etag != "" {
    		header.Set("ETag", etag)
    	}
    	Range := &HTTPRangeSpec{Start: startOffset, End: startOffset + length}
    
    	reader, err := api.GetObjectNInfo(ctx, bucket, object, Range, header, opts)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
Back to top