- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 47 for maxKey (0.52 sec)
-
cmd/object-api-listobjects_test.go
{"test-bucket-list-object", "", "", "", 10, resultCases[0], nil, true}, // Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19). {"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true}, // Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20). {"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], 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) -
cmd/api-resources_test.go
} if fetchOwner != testCase.fetchOwner { t.Errorf("Test %d: Expected %t, got %t", i+1, testCase.fetchOwner, fetchOwner) } if maxKeys != testCase.maxKeys { t.Errorf("Test %d: Expected %d, got %d", i+1, testCase.maxKeys, maxKeys) } if encodingType != testCase.encodingType { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.encodingType, encodingType) } } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 7.1K bytes - Viewed (0) -
cmd/bucket-listobjects-handlers.go
// - marker if set should have a common prefix with 'prefix' param, otherwise // the request is rejected. func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode { // Max keys cannot be negative. if maxKeys < 0 { return ErrInvalidMaxKeys } if encodingType != "" { // AWS S3 spec only supports 'url' encoding type if !strings.EqualFold(encodingType, "url") {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 11.4K bytes - Viewed (0) -
cmd/api-resources.go
func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType string, errCode APIErrorCode) { errCode = ErrNone if values.Get("max-keys") != "" { var err error if maxkeys, err = strconv.Atoi(values.Get("max-keys")); err != nil { errCode = ErrInvalidMaxKeys return } } else { maxkeys = maxObjectList } prefix = values.Get("prefix")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jun 07 18:25:26 GMT 2023 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
* @param bufferIndex * @param maxLen * @return position of terminating null bytes */ public static int findUNITermination ( byte[] buffer, int bufferIndex, int maxLen ) { int len = 0; while ( buffer[ bufferIndex + len ] != (byte) 0x00 || buffer[ bufferIndex + len + 1 ] != (byte) 0x00 ) { len += 2; if ( len > maxLen ) { if ( log.isDebugEnabled() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 21K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
private static String[] splitString ( String str, int maxLen ) { int num = str.length() / maxLen; if ( str.length() % maxLen != 0 ) { num++; } String strings[] = new String[num]; for ( int i = 0; i < num; i++ ) { strings[ i ] = str.substring(i * maxLen, Math.min(str.length() - 1, ( i + 1 ) * maxLen)); } return strings; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jun 06 10:48:05 GMT 2020 - 7K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
break; } } } sorted.add(j, dirents[ i ]); } if ( maxLen > 50 ) { maxLen = 50; } maxLen *= 9; /* convert to px */ resp.setContentType("text/html"); out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
break; } } } sorted.add( j, dirents[i] ); } if( maxLen > 50 ) { maxLen = 50; } maxLen *= 9; /* convert to px */ out = resp.getWriter(); resp.setContentType( "text/html" );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 22 03:57:31 GMT 2020 - 19.7K bytes - Viewed (0) -
src/archive/tar/common.go
format.mustNotBe(FormatPAX) } else { paxHdrs[paxKey] = strconv.FormatInt(n, 10) } } if v, ok := h.PAXRecords[paxKey]; ok && v == strconv.FormatInt(n, 10) { paxHdrs[paxKey] = v } } verifyTime := func(ts time.Time, size int, name, paxKey string) { if ts.IsZero() { return // Always okay } if !fitsInBase256(size, ts.Unix()) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2)