Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 437 for max_mem (0.04 sec)

  1. guava/src/com/google/common/hash/LittleEndianByteArray.java

          return usingVarHandle;
        }
    
        try {
          /*
           * UnsafeByteArray uses Unsafe.getLong() in an unsupported way, which is known to cause
           * crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use
           * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so
           * as a compromise, we enable the optimization only on platforms that we specifically know to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test boundary conditions for buffer offsets")
        void testBoundaryConditions() {
            byte[] smallBuffer = new byte[10];
    
            // Test with maximum offset
            int result = response.writeSetupWireFormat(smallBuffer, Integer.MAX_VALUE);
            assertEquals(0, result);
    
            result = response.readSetupWireFormat(smallBuffer, Integer.MAX_VALUE, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SmbCircuitBreaker.java

         */
        public long getMinResponseTime() {
            long min = minResponseTime.get();
            return min == Long.MAX_VALUE ? 0 : min;
        }
    
        /**
         * Get maximum response time
         *
         * @return maximum response time in milliseconds
         */
        public long getMaxResponseTime() {
            return maxResponseTime.get();
        }
    
        /**
         * Close circuit breaker and cleanup resources
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertThrows(SMBProtocolDecodingException.class, () -> {
                notifyInfo.decode(buffer, 0, buffer.length);
            });
        }
    
        @Test
        @DisplayName("Test decode with maximum file name length")
        void testDecodeMaxFileNameLength() throws SMBProtocolDecodingException {
            // Create a very long filename (but within reasonable bounds)
            StringBuilder sb = new StringBuilder();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test size calculation with different buffer sizes")
        void testSizeCalculationWithDifferentBufferSizes() {
            // Test with smaller maximum buffer size
            when(mockConfig.getMaximumBufferSize()).thenReturn(8192);
            when(mockConfig.getListSize()).thenReturn(16384);
    
            request = new Smb2QueryDirectoryRequest(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

    And the `dict` you receive as `weights` will actually have `int` keys and `float` values.
    
    ///
    
    ## Recap { #recap }
    
    With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant.
    
    But with all the benefits:
    
    * Editor support (completion everywhere!)
    * Data conversion (a.k.a. parsing / serialization)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(0L, SMBUtil.readInt8(buffer, startIndex + 8));
                assertEquals(0, SMBUtil.readInt4(buffer, startIndex + 16));
            }
    
            @Test
            @DisplayName("Should encode maximum values correctly")
            void testEncodeMaxValues() {
                // Given
                long maxLong = Long.MAX_VALUE;
                int maxInt = Integer.MAX_VALUE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

            streamId = streamId,
            length = 4,
            type = TYPE_RST_STREAM,
            flags = FLAG_NONE,
          )
          sink.writeInt(errorCode.httpCode)
          sink.flush()
        }
      }
    
      /** The maximum size of bytes that may be sent in a single call to [data]. */
      fun maxDataLength(): Int = maxFrameSize
    
      /**
       * `source.length` may be longer than the max length of the variant's data frame. Implementations
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.readDataWireFormat(buffer, 99, 0));
        }
    
        @Test
        @DisplayName("Test boundary conditions for read methods with maximum length")
        void testReadMethodsWithMaxLength() {
            // Arrange
            byte[] buffer = new byte[100];
    
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            // Verify DFS name is set to server name
            assertEquals(TEST_SERVER, dfsRootEnum.dfs_name);
    
            // Verify preferred max length is set to maximum
            assertEquals(0xFFFF, dfsRootEnum.prefmaxlen);
    
            // Verify totalentries is initialized
            assertNotNull(dfsRootEnum.totalentries);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top