- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 757 for padding (0.1 seconds)
-
cmd/server-startup-msg.go
"github.com/minio/minio/internal/color" "github.com/minio/minio/internal/logger" ) // generates format string depending on the string length and padding. func getFormatStr(strLen int, padding int) string { formatStr := fmt.Sprintf("%ds", strLen+padding) return "%" + formatStr } // Prints the formatted startup message. func printStartupMessage(apiEndpoints []string, err error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
int charsLeft = slen - lastEscape; if (charsLeft > 0) { int sizeNeeded = destIndex + charsLeft; if (destSize < sizeNeeded) { // Regrow and copy, expensive! No padding as this is the final copy. dest = growBuffer(dest, destIndex, sizeNeeded); } s.getChars(lastEscape, slen, dest, destIndex); destIndex = sizeNeeded; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
* @return an array containing the values of {@code array}, with guaranteed minimum length {@code * minLength} */ public static int[] ensureCapacity(int[] array, int minLength, int padding) { checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); checkArgument(padding >= 0, "Invalid padding: %s", padding); return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
* @return the 16-byte file ID */ public byte[] getFileId() { return Arrays.copyOf(fileId, 16); } @Override public int size() { // Context header (16) + name length (4) + padding to 8-byte alignment + data (16) return 16 + 4 + 4 + STRUCTURE_SIZE; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex; // Write context headerCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
// Check name length assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8)); // Check timeout specified flag (should be 0) assertEquals(0x0, buffer[12]); // Check padding assertEquals(0x0, buffer[13]); // Check name bytes byte[] encodedName = new byte[nameBytes.length]; System.arraycopy(buffer, 14, encodedName, 0, nameBytes.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
*/ public void setEpoch(int epoch) { this.epoch = epoch; } @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("RqL2") // Padding: 4 bytes (to align data to 8-byte boundary) // Data: 52 bytes (lease V2 structure) return 16 + 4 + 4 + 52; } @Override public int encode(byte[] dst, int dstIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0) -
internal/amztime/iso8601_time.go
) // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec. // // This function is needed to avoid a Go's float64 precision bug, where Go avoids // padding the extra '0' before the timezone. func ISO8601Format(t time.Time) string { value := t.Format(iso8601TimeFormat) if len(value) < len(iso8601TimeFormat) { value = t.Format(iso8601TimeFormat[:len(iso8601TimeFormat)-1])
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 16 23:38:33 GMT 2023 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
// Test that non-space characters in padding are preserved in length calculation byte[] src = new byte[100]; src[0] = 0x20; // Encode "AB" followed by non-space padding src[1] = 'E'; src[2] = 'B'; // A src[3] = 'E'; src[4] = 'C'; // B // Use 'X' (0x58) instead of space for padding for (int i = 5; i < 31; i += 2) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/webapp/js/admin/plugins/form-validator/theme-default.min.css
8MVQPEF0GAgqYYwSRlycNcWskCkApIyEAOwAAAAAAAAAAAA==);background-position:right 5px center;background-repeat:no-repeat;background-color:#FFF}div.form-error{background-color:#f2dede;padding:15px;margin-bottom:20px;border:1px solid #b94a48;border-radius:4px}div.form-error strong{font-weight:700;display:block;margin:0;padding:0 0 10px}div.form-error strong,div.form-error ul li{line-height:140%;color:#b94a48;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px}div.form-error ul,div.form-error...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 33.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
return 32; } @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("DLse") // Padding: 4 bytes (to align data to 8-byte boundary) // Standard lease data: 32 bytes // Directory-specific data: 20 bytes (CacheScope(4) + MaxCacheAge(8) + Flags(4) + NotificationFilter(4))Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0)