- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 160 for smaller (0.09 sec)
-
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getMessageByDcerpcError() with an error code smaller than any known. */ @Test void testGetMessageByDcerpcError_smallerThanAny() { int unknownCode = -1; String message = DcerpcException.getMessageByDcerpcError(unknownCode); assertEquals("0xFFFFFFFF", message, "Should return hex string for code smaller than any known."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
void testSizeCalculationWithDifferentBufferSizes() { // Test with smaller maximum buffer size when(mockConfig.getMaximumBufferSize()).thenReturn(8192); when(mockConfig.getListSize()).thenReturn(16384); request = new Smb2QueryDirectoryRequest(mockConfig); assertNotNull(request); // Test with smaller list size when(mockConfig.getMaximumBufferSize()).thenReturn(16384);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
Table<String, Integer, C> smaller = create("foo", 1, 'a', "bar", 1, 'b'); Table<String, Integer, C> swapOuter = create("bar", 1, 'a', "foo", 1, 'b', "bar", 3, 'c'); Table<String, Integer, C> swapValues = create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a'); new EqualsTester() .addEqualityGroup(table, hashCopy, reordered) .addEqualityGroup(smaller) .addEqualityGroup(swapOuter)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.6K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
The following arguments are supported: * `minimum_size` - Do not GZip responses that are smaller than this minimum size in bytes. Defaults to `500`. * `compresslevel` - Used during GZip compression. It is an integer ranging from 1 to 9. Defaults to `9`. Lower value results in faster compression but larger file sizes, while higher value results in slower compression but smaller file sizes. ## Other middlewares { #other-middlewares }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:59:07 UTC 2025 - 4.3K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
// Test - 2 invalid buffer with no CRLF. {bytes.NewReader([]byte("he")), errMalformedEncoding}, // Test - 3 invalid buffer with more characters. {bytes.NewReader([]byte("he\r\n")), errMalformedEncoding}, // Test - 4 smaller buffer than expected. {bytes.NewReader([]byte("h")), io.ErrUnexpectedEOF}, } for i, tt := range tests { err := readCRLF(tt.reader) if err != tt.expectedErr {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
*/ double estimateCompressionRatio(byte[] data, int algorithm); /** * Gets the minimum data size threshold for compression. * Data smaller than this threshold should not be compressed. * * @return minimum size in bytes for compression to be beneficial */ int getMinCompressionSize(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
// Any PACDecodingException is acceptable for this test assertNotNull(e.getMessage()); } @Test void testTooSmallPac() { // Test that PAC smaller than 8 bytes is rejected byte[] smallData = new byte[4]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(smallData, keys));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
} @Test @DisplayName("Test small data handling") public void testSmallDataHandling() throws CIFSException { byte[] smallData = new byte[100]; // Below minimum compression size byte[] compressed = compressionService.compress(smallData, CompressionService.COMPRESSION_LZ77); // Should return uncompressed data for small inputs assertArrayEquals(smallData, compressed); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
@SuppressWarnings("Immutable") private final long[] array; /* * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most * instances. Note that the instances that would get smaller are the right set to care about * optimizing, because the rest have the option of calling `trimmed`. */ private final transient int start; // it happens that we only serialize instances where this is 0
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
@SuppressWarnings("Immutable") private final int[] array; /* * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most * instances. Note that the instances that would get smaller are the right set to care about * optimizing, because the rest have the option of calling `trimmed`. */ private final transient int start; // it happens that we only serialize instances where this is 0
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0)