Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 156 for 2586 (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        void testGetNextEntryOffset() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
            int expectedNextEntryOffset = 256;
            SMBUtil.writeInt4(expectedNextEntryOffset, buffer, 0);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            byte[] buffer = new byte[40];
    
            // Mock times (8 bytes each)
            for (int i = 0; i < 32; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
            // Mock attributes (4 bytes)
            buffer[32] = 0x01;
            buffer[33] = 0x00;
            buffer[34] = 0x00;
            buffer[35] = 0x00;
    
            return buffer;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Given - buffer with random data
                byte[] buffer = new byte[10];
                for (int i = 0; i < buffer.length; i++) {
                    buffer[i] = (byte) (Math.random() * 256);
                }
    
                // When & Then
                // Should either read successfully if random data happens to be 4,
                // or throw SMBProtocolDecodingException
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/InputValidator.java

        }
    
        // Maximum sizes for various SMB fields (based on protocol specifications)
        public static final int MAX_SMB_PATH_LENGTH = 32767; // Windows MAX_PATH
        public static final int MAX_USERNAME_LENGTH = 256;
        public static final int MAX_DOMAIN_LENGTH = 255;
        public static final int MAX_SHARE_NAME_LENGTH = 80;
        public static final int MAX_BUFFER_SIZE = 65536; // 64KB default max buffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                }
            }
    
            return dstIndex - start;
        }
    
        String readString(final byte[] src, final int srcIndex) {
            return readString(src, srcIndex, 256, useUnicode);
        }
    
        String readString(final byte[] src, int srcIndex, final int maxLen, final boolean useUnicode) {
            int len = 0;
            String str = null;
            try {
                if (useUnicode) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            Files.createDirectory(largeDir);
            byte[] largeContent = new byte[10 * 1024 * 1024]; // 10MB
            for (int i = 0; i < largeContent.length; i++) {
                largeContent[i] = (byte) (i % 256);
            }
            Files.write(largeDir.resolve("largefile.bin"), largeContent);
    
            // Special character files for test_specialCharactersInFileName
            Path specialDir = publicDir.resolve("special");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ACETest.java

                assertEquals(64, ACE.FILE_DELETE, "FILE_DELETE constant value");
                assertEquals(128, ACE.FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES constant value");
                assertEquals(256, ACE.FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES constant value");
    
                assertEquals(0x00010000, ACE.DELETE, "DELETE constant value");
                assertEquals(0x00020000, ACE.READ_CONTROL, "READ_CONTROL constant value");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            // Create large response data
            byte[] largeBody = new byte[10 * 1024 * 1024]; // 10MB
            for (int i = 0; i < largeBody.length; i++) {
                largeBody[i] = (byte) (i % 256);
            }
    
            ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/large");
            responseData.setResponseBody(largeBody);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top