- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 162 for Sizes (0.02 sec)
-
cmd/object-api-datatypes.go
) // StorageInfo - represents total capacity of underlying storage. type StorageInfo = madmin.StorageInfo // objectHistogramInterval is an interval that will be // used to report the histogram of objects data sizes type objectHistogramInterval struct { name string start, end int64 } const ( // dataUsageBucketLenV1 must be length of ObjectsHistogramIntervalsV1 dataUsageBucketLenV1 = 7Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.2K bytes - Viewed (0) -
src/bytes/boundary_test.go
for i := range b { idx := Index(b[i:], q[:j]) if idx != -1 { t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx) } } q[j-1] = 0 } // Test differing alignments and sizes of q which always end on a page boundary. q[len(q)-1] = 1 // difference is only found on the last byte for j := 0; j < len(q); j++ { for i := range b { idx := Index(b[i:], q[j:]) if idx != -1 {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Nov 30 20:05:58 UTC 2023 - 2.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
buf2[n-1] = '\x00' } } func BenchmarkEqualBothUnaligned(b *testing.B) { sizes := []int{64, 4 << 10} if !isRaceBuilder { sizes = append(sizes, []int{4 << 20, 64 << 20}...) } maxSize := 2 * (sizes[len(sizes)-1] + 8) if len(bmbuf) < maxSize { bmbuf = make([]byte, maxSize) } for _, n := range sizes { for _, off := range []int{0, 1, 4, 7} { buf1 := bmbuf[off : off+n]
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 23 23:54:14 UTC 2025 - 62.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("Test constructor with different buffer sizes") void testConstructorWithDifferentBufferSizes() { when(mockConfig.getMaximumBufferSize()).thenReturn(32768); when(mockConfig.getListSize()).thenReturn(16384);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link Base64}. * * These tests cover the public static encode/decode methods for different * payload sizes, padding rules, and error conditions such as null and empty * input. */ @ExtendWith(MockitoExtension.class) class Base64Test { /** * Data provider for various byte arrays and the expected Base64 string.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
override fun close() { if (closed) return closed = true detachTimeout(timeout) state = STATE_READ_RESPONSE_HEADERS } } /** * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility * to buffer chunks; typically by using a buffered sink with this sink. */ private inner class ChunkedSink : Sink {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
assertArrayEquals(machineId, actualMachineId); } /** * Test with customData and machineId that are not exactly 8 and 32 bytes respectively. * The constructor requires exact sizes, so we need to pad them manually. */ @Test void testAvSingleHostCustomDataMachineIdConstructor_ShorterInputs() { // Prepare padded arrays byte[] customData = new byte[8];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
/** * Interface for SMB protocol negotiation response handling. * Represents the server's response to a protocol negotiation request, containing negotiated * dialect version, security settings, capabilities, and buffer sizes for the SMB connection. * * @author mbechler */ public interface SmbNegotiationResponse extends CommonServerMessageBlock, Response { /** * Check if the negotiation response is valid *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 3.2K bytes - Viewed (1) -
internal/http/dial_linux.go
// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can // affect clients reading data with a very slow pace (disappropriate with socket buffer sizes) if opts.UserTimeout > 0 { _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, opts.UserTimeout) } if opts.Interface != "" { if h, _, err := net.SplitHostPort(address); err == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5K bytes - Viewed (0)