- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for allocation (0.08 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
// Simulate setting info using reflection SmbInfoAllocation allocation = new SmbInfoAllocation(); setInfoField(response, allocation); SmbInfoAllocation result = response.getInfo(SmbInfoAllocation.class); assertNotNull(result); assertSame(allocation, result); } @Test void testGetInfoWithClass_Incompatible() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} // Check total memory allocation long totalSize = (long) size * (long) elementSize; long maxAllocation = 100 * 1024 * 1024; // 100MB max if (totalSize > maxAllocation) { failedValidations.incrementAndGet(); log.warn("Array allocation too large: {} bytes", totalSize); throw new SmbException("Array allocation exceeds limit"); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(1048576L); // Total allocation units (1M) buffer.putLong(524288L); // Caller available allocation units (512K) buffer.putLong(524288L); // Actual free allocation units (512K) buffer.putInt(8); // Sectors per allocation unit buffer.putInt(512); // Bytes per sector byte[] bufferArray = buffer.array();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(1048576L); // Total allocation units (1M) buffer.putLong(524288L); // Free allocation units (512K) buffer.putInt(8); // Sectors per allocation unit buffer.putInt(512); // Bytes per sector byte[] bufferArray = buffer.array(); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
double avgAllocTimeNs = totalAllocTime.get() / (double) allocations.get(); double avgReleaseTimeNs = totalReleaseTime.get() / (double) releases.get(); System.out.printf("Buffer Cache Performance: %d allocs, %d releases in %.2f ms%n", allocations.get(), releases.get(), overallTimeMs); System.out.printf(" Avg allocation time: %.2f ns%n", avgAllocTimeNs);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
if (log.isDebugEnabled() && holder.allocationStackTrace != null) { StringBuilder sb = new StringBuilder("Allocation stack trace:\n"); for (StackTraceElement element : holder.allocationStackTrace) { sb.append("\tat ").append(element).append("\n"); } log.debug(sb.toString());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
connectionsActive.decrementAndGet(); } /** * Record memory region allocation */ public void recordMemoryRegionAllocated() { memoryRegionsAllocated.incrementAndGet(); memoryRegionsActive.incrementAndGet(); } /** * Record memory region deallocation */ public void recordMemoryRegionReleased() { memoryRegionsActive.decrementAndGet();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
README.md
- **Sequenced Collections** - Full support for Java 21 sequenced collections API with dedicated utility methods - **Performance Focused** - Optimized implementations for better runtime performance with reduced memory allocation - **Type Safe** - Comprehensive use of generics and modern Java type system features ### Additional Components
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
void testDecodeSkipsActualFreeUnits() throws SMBProtocolDecodingException { byte[] buffer = new byte[32]; // total allocation units (8 bytes) buffer[4] = 0x01; // caller available allocation units (8 bytes) buffer[12] = 0x01; // actual free units (8 bytes) - should be skipped buffer[20] = (byte) 0xFF;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// Change Time (8 bytes) long changeTime = creationTime + 3000000L; SMBUtil.writeInt8(changeTime, buffer, bufferIndex + 32); // Allocation Size (8 bytes) SMBUtil.writeInt8(4096, buffer, bufferIndex + 40); // End of File (8 bytes) SMBUtil.writeInt8(1024, buffer, bufferIndex + 48); // File Attributes (4 bytes)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)