Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 240 for larger (0.12 sec)

  1. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] dst = new byte[256];
            int bytesWritten = packet.writeTrailerWireFormat(dst, 0);
    
            assertTrue(bytesWritten > 68); // Should be larger due to scope
        }
    
        @Test
        @DisplayName("readTrailerWireFormat should read complete packet data")
        void testReadTrailerWireFormatSuccess() throws IOException {
            SessionRequestPacket writePacket =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

            return readDirect(b, off, len);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         * 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            }
        }
    
        @Test
        @DisplayName("Test decode with larger buffer and length")
        void testDecodeWithLargerBufferAndLength() throws SMBProtocolDecodingException {
            // Test with buffer and length larger than needed
            byte[] buffer = new byte[100];
    
            // Fill test pattern
            for (int i = 0; i < buffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacCredentialTypeTest.java

        }
    
        /**
         * Tests the constructor with a byte array that is larger than the minimal buffer size.
         */
        @Test
        void testConstructorWithDataMuchLarger() {
            // A byte array with a length greater than 32 should also be considered too large.
            byte[] veryLargeData = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/HexdumpTest.java

            };
    
            String result = Hexdump.toHexString(data);
            assertEquals("00FF7F80", result);
        }
    
        @Test
        @DisplayName("Should handle large byte arrays efficiently")
        void testLargeByteArray() {
            // Create a larger test array
            byte[] data = createTestData(1024);
    
            // Test full array conversion
            String result = Hexdump.toHexString(data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

       * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the
       * 64k limit on string literal size. In-memory strings can be much larger (2G).
       */
      static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) {
        String encoded = DIRECT_JOINER.join(encodedChunks);
        return parseFullString(encoded);
      }
    
      @VisibleForTesting
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            assertEquals("0xFFFFFFFF", message, "Should return hex string for code smaller than any known.");
        }
    
        /**
         * Test getMessageByDcerpcError() with an error code larger than any known.
         * The binary search implementation has a bug where it accesses array out of bounds.
         */
        @Test
        void testGetMessageByDcerpcError_largerThanAny() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

     * All tests are pure unit tests – no network or file system access is
     * required.
     */
    class Trans2QueryFSInformationTest {
    
        /** Small helper to create a byte buffer larger than the maximum expected
         *  wire format so that we can observe only the bytes written by a method.
         */
        private static byte[] newBuffer(int length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MIENameTest.java

                            IllegalArgumentException.class),
    
                    // Name length larger than remaining bytes - use method reference
                    Arguments.of("name length exceeds remaining", (java.util.function.Supplier<byte[]>) () -> {
                        byte[] buf = buildBuffer(der, nameBytes);
                        // Corrupt NAME_LEN to be larger than actual by +5
                        int i = 2 + 2 + der.length; // index where NAME_LEN starts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top