- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 648 for allocation (0.57 sec)
-
internal/jwt/parser_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package jwt // This file is a re-implementation of the original code here with some // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1 // original file https://github.com/golang-jwt/jwt/blob/main/parser.go // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE import ( "fmt"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
assertTrue(result.contains("sectPerAlloc=" + sectPerAlloc)); assertTrue(result.contains("bytesPerSect=" + bytesPerSect)); } @Test @DisplayName("Test decode with single sector per allocation") void testDecodeWithSingleSectorPerAllocation() throws SMBProtocolDecodingException { // Prepare test data with sectPerAlloc = 1 byte[] buffer = new byte[22]; int idFileSystem = 0x11111111;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
RdmaProvider provider = RdmaProviderFactory.selectBestProvider(); try (RdmaBufferManager bufferManager = new RdmaBufferManager(provider)) { // Test basic buffer allocation RdmaMemoryRegion sendRegion = bufferManager.getSendRegion(4096); assertNotNull(sendRegion, "Send region should not be null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/arena/arena.go
Arenas allocate large chunks of memory for Go values, so they're likely to be inefficient for allocating only small amounts of small Go values. They're best used in bulk, on the order of MiB of memory allocated on each use. Note that by allowing for this limited form of manual memory allocation that use-after-free bugs are possible with regular Go values. This package
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 4.3K 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/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) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
/* * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of * allocation—not that any program should be deserializing hostile inputs to begin with!) */ setDelegates(new EnumMap<>(keyTypeOrObjectUnderJ2cl), new HashMap<>()); Serialization.populateMap(this, stream); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
} /** * @return the lastWriteTime */ @Override public final long getLastWriteTime() { return this.lastWriteTime; } /** * Gets the allocation size. * * @return the allocationSize */ public final long getAllocationSize() { return this.allocationSize; } /** * Gets the end of file position.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/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; /** * Checks if a specific flag is setRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K 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)