Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for 49 (0.01 seconds)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertEquals(49, bytesWritten);
            }
    
            @Test
            @DisplayName("Should write default values correctly")
            void testWriteBytesWireFormatDefaults() {
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                assertEquals(49, bytesWritten);
                assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

        //    }
    
        /**
         * @throws Exception
         */
        //    @Test
        //    public void testToDate_FullStyle() throws Exception {
        //        final Date date = toDate("2010年9月7日 11時49分10秒 JST", Locale.JAPAN);
        //        final SimpleDateFormat df = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
        //        df.setTimeZone(TimeZone.getTimeZone("JST"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

                    Arguments.of(5L, ScaleUnit.MEGABYTE, "0 MB"),
                    Arguments.of(5L, ScaleUnit.GIGABYTE, "0 GB"),
    
                    // 49 bytes
                    Arguments.of(49L, null, "49 B"),
                    Arguments.of(49L, ScaleUnit.BYTE, "49 B"),
                    Arguments.of(49L, ScaleUnit.KILOBYTE, "0 kB"),
                    Arguments.of(49L, ScaleUnit.MEGABYTE, "0 MB"),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("0 MB", format.format(5L, ScaleUnit.MEGABYTE));
            assertEquals("0 GB", format.format(5L, ScaleUnit.GIGABYTE));
    
            assertEquals("49 B", format.format(49L));
            assertEquals("49 B", format.format(49L, ScaleUnit.BYTE));
            assertEquals("0 kB", format.format(49L, ScaleUnit.KILOBYTE));
            assertEquals("0 MB", format.format(49L, ScaleUnit.MEGABYTE));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            SMBUtil.writeInt4(0x00000001, hdr, 16); // Flags = SMB2_FLAGS_SERVER_TO_REDIR
            return hdr;
        }
    
        // Helper: build SMB2 IOCTL response body (without header) with structureSize=49
        private static byte[] buildIoctlResponseBody(int ctlCode, byte[] fileId, int inputCount, byte[] inputBytes, int outputCount,
                byte[] outputBytes, int ioctlFlags) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                // Execute
                int bytesWritten = request.writeBytesWireFormat(buffer, headerStart);
    
                // Verify structure
                assertEquals(49, SMBUtil.readInt2(buffer, headerStart)); // Structure size
                assertEquals(data.length, SMBUtil.readInt4(buffer, headerStart + 4)); // Data length
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

            assertTrue(details.contains("Total: 60 event(s) (showing 50)"));
            assertTrue(details.contains("... and 10 more"));
            // msg49 should be present (50th event, index 49), msg50 should not
            assertTrue(details.contains("msg49"));
            assertFalse(details.contains("msg50"));
        }
    
        private static class TestableLogNotificationJob extends LogNotificationJob {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/util/DES.java

                0x000002, 0x000001 };
        private static byte[] pc1 = { (byte) 56, (byte) 48, (byte) 40, (byte) 32, (byte) 24, (byte) 16, (byte) 8, (byte) 0, (byte) 57,
                (byte) 49, (byte) 41, (byte) 33, (byte) 25, (byte) 17, (byte) 9, (byte) 1, (byte) 58, (byte) 50, (byte) 42, (byte) 34,
                (byte) 26, (byte) 18, (byte) 10, (byte) 2, (byte) 59, (byte) 51, (byte) 43, (byte) 35, (byte) 62, (byte) 54, (byte) 46,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[45] = 0x00;
            buffer[46] = 0x00;
    
            // Data offset (2 bytes)
            buffer[47] = 0x00;
            buffer[48] = 0x00;
    
            // Data displacement (2 bytes)
            buffer[49] = 0x00;
            buffer[50] = 0x00;
    
            // Setup count (1 byte)
            buffer[51] = 0x00;
    
            // Reserved (1 byte)
            buffer[52] = 0x00;
    
            // Byte count (2 bytes)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            testBuffer[45] = 0x02; // sub-authority count
            testBuffer[46] = 0x00; // identifier authority
            testBuffer[47] = 0x00;
            testBuffer[48] = 0x00;
            testBuffer[49] = 0x00;
            testBuffer[50] = 0x00;
            testBuffer[51] = 0x05;
            SMBUtil.writeInt4(32, testBuffer, 52); // sub-authority 1
            SMBUtil.writeInt4(544, testBuffer, 56); // sub-authority 2
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top