Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 581 for maximum (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        @Test
        @DisplayName("Test readDataWireFormat with maximum length server name")
        void testReadDataWireFormatMaxLengthServerName() throws Exception {
            setConverter(response, 0);
            setNumEntries(response, 1);
    
            // Create a 15-character server name (maximum for NetBIOS name)
            String serverName = "SERVERNAME12345"; // 15 characters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(0, response.getEndOfFile());
                assertEquals(0, response.getFileAttributes());
            }
    
            @Test
            @DisplayName("Should handle maximum values correctly")
            void testReadBytesWireFormatWithMaxValues() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

      fun setClient(client: Boolean) {
        if (this.client == client) return
        this.client = client
        writer = Http2Writer(bytesOut, client)
      }
    
      fun acceptFrame() {
        frameCount++
      }
    
      /** Maximum length of an outbound data frame.  */
      fun maxOutboundDataLength(): Int = writer.maxDataLength()
    
      /** Count of frames sent or received.  */
      fun frameCount(): Int = frameCount
    
      fun sendFrame(): Http2Writer {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

          return File.createTempFile(
              /* prefix= */ prefix,
              /* suffix= */ null,
              /* directory= */ null /* defaults to java.io.tmpdir */);
        }
    
        /** Maximum loop count when creating temp directories. */
        private static final int TEMP_DIR_ATTEMPTS = 10000;
      }
    
      private static final class ThrowingCreator extends TempFileCreator {
        private static final String MESSAGE =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ResourceManager.java

                }
            }
    
            return Collections.unmodifiableSet(result);
        }
    
        /**
         * Configure resource manager
         *
         * @param maxAge maximum resource age in milliseconds
         * @param cleanupInterval cleanup interval in milliseconds
         * @param enableLeakDetection enable leak detection
         * @param enableAutoCleanup enable auto cleanup
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertEquals(0, bytesWritten); // Should return 0 as buffer is insufficient
        }
    
        @Test
        @DisplayName("Test with maximum offset boundary")
        void testMaxOffsetBoundary() {
            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
        /**
         * Reads a null-terminated string from the buffer with specified encoding
         * @param src source buffer
         * @param srcIndex starting index in the buffer
         * @param maxLen maximum length to read
         * @param unicode whether to use Unicode encoding
         * @return read string
         */
        public String readString(final byte[] src, int srcIndex, final int maxLen, final boolean unicode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/ASN1Util.java

        /**
         * Read a tagged object without parsing it's contents
         *
         * BC no longer seems to allow that out of the box
         *
         * @param expectTag the expected tag number
         * @param limit the maximum length limit
         * @param in the ASN.1 input stream
         * @return coded bytes of the tagged object
         * @throws IOException if reading fails or tag mismatch
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         */
        public DialectVersion getDialect() {
            return this.dialect;
        }
    
        /**
         * Set key rotation limits
         *
         * @param bytesLimit maximum bytes to encrypt before rotation (0 to disable)
         * @param timeMillis maximum time in milliseconds before rotation (0 to disable)
         */
        public void setKeyRotationLimits(long bytesLimit, long timeMillis) {
            if (bytesLimit > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Test minimum value
            event.setVersionNo(Long.MIN_VALUE);
            assertEquals(Long.valueOf(Long.MIN_VALUE), event.getVersionNo());
    
            // Test zero
            event.setVersionNo(0L);
            assertEquals(Long.valueOf(0L), event.getVersionNo());
    
            // Test maximum value
            event.setVersionNo(Long.MAX_VALUE);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top