- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 191 for allocations (0.05 seconds)
-
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;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java
* existed in Maven 3 land, uses POM distributionManagement/relocation. * <p> * Note: this component should kick-in last regarding relocations. * * @since 4.0.0 * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Singleton @Named(DistributionManagementArtifactRelocationSource.NAME) @Priority(5) @Deprecated(since = "4.0.0")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0) -
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 */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
* * @throws IOException if `protocol` is unknown. */ @JvmStatic @Throws(IOException::class) fun get(protocol: String): Protocol { // Unroll the loop over values() to save an allocation. @Suppress("DEPRECATION") return when (protocol) { HTTP_1_0.protocol -> HTTP_1_0 HTTP_1_1.protocol -> HTTP_1_1 H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGECreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jun 23 18:58:57 GMT 2025 - 4.4K bytes - Click Count (0) -
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"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (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)
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
when(response.getHeaderStart()).thenReturn(0); // Write FileFsSizeInformation data (24 bytes) SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (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;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (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");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt
/** Used for concurrent threads reading the list for the first time. */ private val readCompleteLatch = CountDownLatch(1) // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings // that will likely never be used. Each rule is separated by '\n'. Please see the // PublicSuffixListGenerator class for how these lists are generated. // Guarded by this.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 3.6K bytes - Click Count (0)