Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 388 for 100 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
            expected[directoryName.length() + 1] = 0x00; // Null terminator
    
            byte[] dst = new byte[100];
            int bytesWritten = smbCom.writeBytesWireFormat(dst, 0);
    
            assertEquals(expected.length, bytesWritten, "Number of bytes written should match expected length.");
    
            byte[] actual = new byte[bytesWritten];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(new BigDecimal("10"), BigDecimalConversionUtil.toBigDecimal(Short.valueOf((short) 10)));
            assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100)));
            assertEquals(new BigDecimal("1000"), BigDecimalConversionUtil.toBigDecimal(Long.valueOf(1000L)));
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        void testWriteDataWireFormatSufficientBuffer() {
            // Arrange
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
            byte[] dst = new byte[100];
            int dstIndex = 10;
    
            // Act
            int bytesWritten = trans.writeDataWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(TEST_LENGTH, bytesWritten);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/reqheader/CreateForm.java

        }
    
        /**
         * The CRUD mode for the form.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The name of the request header.
         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * The value of the request header.
         */
        @Required
        @Size(max = 1000)
        public String value;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    
            int offset = 100;
            byte[] buffer = new byte[offset + request.size()];
            int encodedLength = request.encode(buffer, offset);
    
            // Verify encoded length
            assertEquals(request.size(), encodedLength);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        void testFileInformationDecode() throws SMBProtocolDecodingException {
            // Create mock
            FileInformation mockFileInfo = mock(FileInformation.class);
            byte[] buffer = new byte[100];
    
            // Define behavior
            when(mockFileInfo.decode(buffer, 0, 100)).thenReturn(8);
    
            // Test decode
            int decoded = mockFileInfo.decode(buffer, 0, 100);
            assertEquals(8, decoded);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            }
    
            @Test
            @DisplayName("Should validate tree ID correctly")
            void testIsValidTid() {
                // Test valid TID
                response.setTid(100);
                assertTrue(response.isValidTid(), "TID 100 should be valid");
    
                // Test invalid TID (0xFFFF)
                response.setTid(0xFFFF);
                assertFalse(response.isValidTid(), "TID 0xFFFF should be invalid");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            FileBasicInfo info =
                    new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES);
    
            // Prepare buffer
            byte[] buffer = new byte[100];
            int startIndex = 10;
    
            // Encode
            int bytesWritten = info.encode(buffer, startIndex);
    
            // Verify bytes written (encode returns 40, which includes 4 padding bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            @BeforeEach
            void setupBuffer() {
                // Create buffer with 3 v1 referrals
                byte[] testBuffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                // Header
                bb.putShort((short) 100); // pathConsumed
                bb.putShort((short) 3); // numReferrals
                bb.putShort((short) 25); // tflags
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
    
            @Test
            @DisplayName("Should decode buffer correctly")
            void testDecode() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[100];
                when(mockFileSystemInfo.decode(any(byte[].class), anyInt(), anyInt())).thenReturn(24);
    
                int result = mockFileSystemInfo.decode(buffer, 0, 100);
    
                assertEquals(24, result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top