- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,412 for sizes (0.02 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
// Test when data length exceeds outputBuffer size byte[] buffer = new byte[2000]; int dataLen = outputBuffer.length + 100; // Exceeds outputBuffer size SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readDataWireFormat(buffer, 0, dataLen)); assertEquals("Payload exceeds buffer size", exception.getMessage()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
1024L * 1024L * 1024L * 1024L * 10L // 10 TB }; for (long size : typicalSizes) { TestAllocInfo allocInfo = new TestAllocInfo(size, size / 2); assertEquals(size, allocInfo.getCapacity()); assertEquals(size / 2, allocInfo.getFree()); } } } @Nested @DisplayName("Usage Pattern Tests")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
return readDirect(b, off, len); } /** * Reads up to len bytes of data from this input stream into an array of bytes. * Optimized for better performance with larger read sizes and reduced round trips. * * @param b the buffer to read into * @param off the offset in the buffer to start writing * @param len the maximum number of bytes to read * @return number of bytes read
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
// zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected"); verify(smbFile, times(1)).length(); // positive size -> accept reset(smbFile); when(smbFile.length()).thenReturn(42L); assertTrue(filter.accept(smbFile), "Positive size should be accepted");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
@Test @DisplayName("Should handle different session key sizes") void testDeriveKeys_DifferentSessionKeySizes() { // Test with various session key sizes int[] keySizes = { 8, 16, 24, 32, 64, 128 }; int dialect = Smb2Constants.SMB2_DIALECT_0311; for (int size : keySizes) { // Given byte[] testKey = new byte[size]; new SecureRandom().nextBytes(testKey);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
return "Close unused file handles or increase the file handle limit"; case CONNECTION: return "Close idle connections or increase the connection pool size"; case MEMORY: return "Reduce buffer sizes or increase heap memory"; case DISK_SPACE: return "Free up disk space or use a different location"; case QUOTA:
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertFalse(handle.isSameTree(other)); verify(treeConnection, times(2)).isSame(otherConn); } @Test @DisplayName("Buffer sizes and signing flags from negotiate response") void bufferSizesAndSigning() throws Exception { // Validate buffer sizes and signing flag are read from negotiate response SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
cmd/last-minute.go
sizeLastElemMarker ) // sizeToTag converts a size to a tag. func sizeToTag(size int64) int { switch { case size < 1024: return sizeLessThan1KiB case size < 1024*1024: return sizeLessThan1MiB case size < 10*1024*1024: return sizeLessThan10MiB case size < 100*1024*1024: return sizeLessThan100MiB case size < 1024*1024*1024: return sizeLessThan1GiB default:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
@BeforeEach fun setUp() { // Sockets on some platforms can have large buffers that mean writes do not block when // required. These socket factories explicitly set the buffer sizes on sockets created. server = MockWebServer() server.serverSocketFactory = object : DelegatingServerSocketFactory(getDefault()) { @Throws(SocketException::class)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 18:33:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.bat
set FESS_MIN_MEM=256m ) if "%FESS_MAX_MEM%" == "" ( set FESS_MAX_MEM=1g ) if NOT "%FESS_HEAP_SIZE%" == "" ( set FESS_MIN_MEM=%FESS_HEAP_SIZE% set FESS_MAX_MEM=%FESS_HEAP_SIZE% ) REM min and max heap sizes should be set to the same value to avoid REM stop-the-world GC pauses during resize, and so that we can lock the REM heap in memory on startup to prevent any of it from being swapped REM out.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 03:48:59 UTC 2025 - 4.8K bytes - Viewed (0)