Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Tretter (5.05 sec)

  1. cmd/metrics-v2.go

    		// A is 65, a is 97
    		if v >= 'a' {
    			b.WriteRune(v)
    			continue
    		}
    		// v is capital letter here
    		// disregard first letter
    		// add underscore if last letter is capital letter
    		// add underscore when previous letter is lowercase
    		// add underscore when next letter is lowercase
    		if (i != 0 || i == l-1) && ((i > 0 && rune(camel[i-1]) >= 'a') ||
    			(i < l-1 && rune(camel[i+1]) >= 'a')) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    }
    
    // ObjectTooLarge error returned when the size of the object > max object size allowed (5G) per request.
    type ObjectTooLarge GenericError
    
    func (e ObjectTooLarge) Error() string {
    	return "size of the object greater than what is allowed(5G)"
    }
    
    // ObjectTooSmall error returned when the size of the object < what is expected.
    type ObjectTooSmall GenericError
    
    func (e ObjectTooSmall) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    		}
    		if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    			return i
    		}
    		i++
    		fails++
    		if fails >= 4+i>>4 && i < t {
    			// Give up on IndexByte, it isn't skipping ahead
    			// far enough to be better than Rabin-Karp.
    			// Experiments (using IndexPeriodic) suggest
    			// the cutover is about 16 byte skips.
    			// TODO: if large prefixes of sep are matching
    			// we should cutover at even larger average skips,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  4. cmd/server_test.go

    	// seed the random number generator once.
    	rand.Seed(3)
    	// generate a random number between 13 and 200.
    	randInt := getRandomRange(13, 200, -1)
    	// write into buffer till length of the buffer is greater than the generated random number.
    	for i := 0; i <= randInt; i += 10 {
    		buffer.WriteString(data)
    	}
    	// String content which is used for put object range test.
    	putBytes := buffer.Bytes()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    	default:
    		p.errorf("register list not supported on this architecture")
    	}
    }
    
    func (p *Parser) registerListX86(a *obj.Addr) {
    	// Accept only [RegA-RegB] syntax.
    	// Don't use p.get() to provide better error messages.
    
    	loName := p.next().String()
    	lo, ok := p.arch.Register[loName]
    	if !ok {
    		if loName == "EOF" {
    			p.errorf("register list: expected ']', found EOF")
    		} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. internal/event/target/postgresql.go

    			return '0'
    		case r == '_', r == '$':
    			return r
    		default:
    			valid = false
    			return -1
    		}
    	}, name)
    
    	if valid {
    		// check for simple name or quoted name
    		// - letter/underscore followed by one or more letter/digit/underscore
    		// - any text between quotes (text cannot contain a quote itself)
    		if match, err := regexp.MatchString("^[a_][a0_$]*$", cleaned); err != nil {
    			return err
    		} else if match {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err)
    	}
    
    	uploadIDs = append(uploadIDs, res.UploadID)
    	// Parts with size greater than 5 MiB.
    	// Generating a 6MiB byte array.
    	validPart := bytes.Repeat([]byte("abcdef"), 1*humanize.MiByte)
    	validPartMD5 := getMD5Hash(validPart)
    	// Create multipart parts.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "", "obj1", "", 2, resultCases[12], nil, true},
    		{"test-bucket-list-object", "", "man", "", 11, resultCases[13], nil, true},
    		// Marker being set to a value which is greater than and all object names when sorted (36).
    		// Expected to send an empty response in this case.
    		{"test-bucket-list-object", "", "zen", "", 10, ListObjectsInfo{}, nil, true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/rule_test.go

    	                    </Rule>`,
    			expectedErr: errXMLNotWellFormed,
    		},
    		{ // Rule with negative values for ObjectSizeGreaterThan
    			inputXML: `<Rule>
    				<ID>negative-obj-size-greater-than</ID>
    				<Filter><ObjectSizeGreaterThan>-1</ObjectSizeGreaterThan></Filter>
    				<Expiration>
    					<Days>365</Days>
    				</Expiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. cmd/batch-expire_test.go

          size:
            lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB)
            greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
          purge:
              # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
              # retainVersions: 5 # keep the latest 5 versions of the object.
      
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top