- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 109 for allocation (0.65 sec)
-
src/main/java/jcifs/SmbResourceException.java
*/ package jcifs; /** * Exception for resource-related SMB errors * * This exception is thrown when resource issues occur such as: * - File handle leaks * - Connection pool exhaustion * - Memory allocation failures * - Quota exceeded */ public class SmbResourceException extends SmbException { private static final long serialVersionUID = 1L; /** * Resource type that caused the error */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/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/internal/fscc/FileStandardInfo.java
import jcifs.internal.util.SMBUtil; /** * Represents the FILE_STANDARD_INFORMATION structure used in SMB2/3 file system control code (FSCC) operations. * This structure provides standard file information including allocation size, end-of-file position, * number of links, deletion status, and directory flag. */ public class FileStandardInfo implements BasicFileInformation { private long allocationSize; private long endOfFile;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K 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/fscc/FileSystemInformation.java
* used in query file system information operations, with constants for information levels. * * @author mbechler */ public interface FileSystemInformation extends Decodable { /** * SMB information allocation constant. */ byte SMB_INFO_ALLOCATION = -1; /** * File system size information constant. */ byte FS_SIZE_INFO = 3; /** * File system full size information constant.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
} /** * Get a send region from the pool or allocate a new one * * @param minSize minimum required size * @return memory region for sending * @throws IOException if allocation fails */ public RdmaMemoryRegion getSendRegion(int minSize) throws IOException { if (minSize <= sendBufferSize) { RdmaMemoryRegion region = availableSendRegions.poll();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
// Allocate regions larger than pool buffer size to force new allocations RdmaMemoryRegion region1 = bufferManager.getSendRegion(131072); // 128KB > 64KB pool size RdmaMemoryRegion region2 = bufferManager.getSendRegion(131072); // Another large allocation assertTrue(bufferManager.getTotalAllocated() > initialAllocated, "Total allocated should increase");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
* The total length of this DCERPC message */ protected int length = 0; /** * The call ID for matching requests and responses */ protected int call_id = 0; /** * The allocation hint for buffer sizing */ protected int alloc_hint = 0; /** * The result code of the DCERPC operation */ protected int result = 0; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
} // Since cache cannot store, getBuffer must create a new buffer of configured size byte[] got = impl.getBuffer(); assertNotNull(got); assertEquals(8, got.length, "Allocation uses configured maximum size when cache is empty"); assertNotSame(supplied, got, "Zero-sized cache must not return the released instance"); } // Edge: releasing null must be a no-op without exceptionsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K 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)