Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for allocation (0.4 sec)

  1. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
            // When - Get a buffer
            byte[] buffer = BufferCache.getBuffer();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            this.dialectRevision = SMBUtil.readInt2(buffer, bufferIndex);
            final int negotiateContextCount = SMBUtil.readInt2(buffer, bufferIndex + 2);
    
            // Validate negotiate context count - prevent excessive memory allocation
            if (negotiateContextCount < 0 || negotiateContextCount > 100) {
                throw new SMBProtocolDecodingException("Invalid negotiate context count: " + negotiateContextCount + " (must be 0-100)");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. pom.xml

    							<sources>
    								<source>
    									<location>${project.build.directory}/tomcat-lib</location>
    								</source>
    							</sources>
    						</mapping>
    						<mapping>
    							<directory>${packaging.fess.lib.dir}/classes/org/codelibs/fess</directory>
    							<sources>
    								<source>
    									<location>${project.build.directory}/fess/WEB-INF/classes/org/codelibs/fess</location>
    									<includes>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:22:58 UTC 2025
    - 49.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtStatus.java

        int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
        int NT_STATUS_INVALID_PARAMETER = 0xC000000d;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtStatus.java

        int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
        int NT_STATUS_INVALID_PARAMETER = 0xC000000d;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/generate-clients.md

    ### Generate a TypeScript Client with the Preprocessed OpenAPI { #generate-a-typescript-client-with-the-preprocessed-openapi }
    
    Since the end result is now in an `openapi.json` file, you need to update your input location:
    
    ```sh
    npx @hey-api/openapi-ts -i ./openapi.json -o src/client
    ```
    
    After generating the new client, you would now have **clean method names**, with all the **autocompletion**, **inline errors**, etc:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/additional-responses.md

                        "msg",
                        "type"
                    ],
                    "type": "object",
                    "properties": {
                        "loc": {
                            "title": "Location",
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "msg": {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. android/pom.xml

        <profile>
          <id>print-java-11-home</id>
          <build>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
Back to top