Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 437 for max_mem (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                request.setEncodedSize(16);
                int result3 = request.encode(buffer, 240);
                assertEquals(16, result3);
            }
    
            @Test
            @DisplayName("Should handle maximum name length")
            void testMaximumNameLength() {
                byte[] maxName = new byte[65536]; // 64KB
                Arrays.fill(maxName, (byte) 'M');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

    import okhttp3.internal.okHttpName
    import okhttp3.internal.platform.Platform
    import okio.IOException
    
    class RealConnectionPool internal constructor(
      private val taskRunner: TaskRunner,
      /**
       * The maximum number of idle connections across all addresses.
       * Connections needed to satisfy a [ConnectionPool.AddressPolicy] are not considered idle.
       */
      private val maxIdleConnections: Int,
      keepAliveDuration: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashCode.java

      /**
       * Copies bytes from this hash code into {@code dest}.
       *
       * @param dest the byte array into which the hash code will be written
       * @param offset the start offset in the data
       * @param maxLength the maximum number of bytes to write
       * @return the number of bytes written to {@code dest}
       * @throws IndexOutOfBoundsException if there is not enough room in {@code dest}
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteStreams.java

        return NULL_OUTPUT_STREAM;
      }
    
      /**
       * Wraps a {@link InputStream}, limiting the number of bytes which can be read.
       *
       * @param in the input stream to be wrapped
       * @param limit the maximum number of bytes to be read
       * @return a length-limited {@link InputStream}
       * @since 14.0 (since 1.0 as com.google.common.io.LimitInputStream)
       */
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       * chosen. Guarded by this.
       */
      internal var routeFailureCount = 0
    
      private var successCount = 0
      private var refusedStreamCount = 0
    
      /**
       * The maximum number of concurrent streams that can be carried by this connection. If
       * `allocations.size() < allocationLimit` then new streams can be created on this connection.
       */
      internal var allocationLimit = 1
        private set
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         * Optimized for better performance with larger read sizes and reduced round trips.
         *
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the maximum number of bytes to read
         * @return number of bytes read
         *
         * @throws IOException
         *             if a network error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCasesTest {
    
            @Test
            @DisplayName("Should handle maximum size arrays")
            void testMaximumSizeArrays() throws SMBProtocolDecodingException {
                // Arrange
                int[] largeHashAlgos = new int[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            // Bit 0 of byte 1 is MSB, followed by bytes 2 and 3
            assertEquals(0x012345, length);
        }
    
        @Test
        @DisplayName("readLength should handle maximum length")
        void testReadLengthMaximum() {
            byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF };
            int length = SessionServicePacket.readLength(src, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum values")
            void testMaximumValues() throws SMBProtocolDecodingException {
                byte[] buffer = createValidCopyChunkResponse(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            assertEquals(" ", testTransformer.getName());
    
            // Single Unicode character
            testTransformer.setName("あ");
            assertEquals("あ", testTransformer.getName());
    
            // Maximum practical length (avoid OutOfMemoryError)
            StringBuilder maxName = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                maxName.append("0123456789");
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top