Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 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. android-test/src/androidDeviceTest/README.md

    ...
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AABwAAQ}
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyStart
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyEnd: byteCount=128
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] connectionReleased
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

            assertThat(df.format(date), is("11:49:10"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_FullStyle() throws Exception {
            final Date date = toDate("11時49分10秒 JST");
            final SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss");
            df.setTimeZone(TimeZone.getTimeZone("JST"));
            assertThat(df.format(date), is("11:49:10"));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            if (structureSize == 9) {
                return super.readErrorResponse(buffer, bufferIndex);
            }
            if (structureSize != 49) {
                throw new SMBProtocolDecodingException("Expected structureSize = 49");
            }
            bufferIndex += 4;
            this.ctlCode = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.fileId = new byte[16];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 49);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(49, dst, dstIndex);
            dst[dstIndex + 2] = this.padding;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. 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)
Back to Top