Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for Tire (0.02 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

          "Test stories missing, checkout git submodule",
        )
    
        val newCases = mutableListOf<Case>()
        for (case in story.cases) {
          hpackWriter.writeHeaders(case.headersList)
          newCases += case.copy(wire = bytesOut.readByteString())
        }
    
        testDecoder(story.copy(cases = newCases))
      }
    
      companion object {
        private val RAW_DATA = arrayOf("raw-data")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, 8, copiedFileId, 0, 16);
            assertArrayEquals(expectedFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test wire format structure matches SMB2 specification")
        void testWireFormatStructure() {
            byte[] buffer = new byte[256];
            Arrays.fill(buffer, (byte) 0xCC); // Fill with pattern to detect unwritten areas
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

      private val bytesIn = Buffer()
      private val hpackReader = Hpack.Reader(bytesIn, 4096)
    
      protected fun testDecoder(story: Story) {
        for (testCase in story.cases) {
          val encoded = testCase.wire ?: continue
          bytesIn.write(encoded)
          hpackReader.readHeaders()
          assertSetEquals(
            "seqno=$testCase.seqno",
            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    /**
     * Tests for {@link SmbComSetInformationResponse}.
     *
     * Tests focus on the wire format methods which all return 0,
     * and the toString method implementation.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbComSetInformationResponse tests")
    public class SmbComSetInformationResponseTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

            final int start = bufferIndex;
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("invalid session request wire format");
            }
            bufferIndex += calledName.readWireFormat(buffer, bufferIndex);
            bufferIndex += callingName.readWireFormat(buffer, bufferIndex);
            return bufferIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. lib/time/zoneinfo.zip

    Brazil/Acre Brazil/DeNoronha Brazil/East Brazil/West CET CST6CDT Canada/Atlantic Canada/Central Canada/Eastern Canada/Mountain Canada/Newfoundland Canada/Pacific Canada/Saskatchewan Canada/Yukon Chile/Continental Chile/EasterIsland Cuba EET EST EST5EDT Egypt Eire Etc/GMT Etc/GMT+0 Etc/GMT+1 Etc/GMT+10 Etc/GMT+11 Etc/GMT+12 Etc/GMT+2 Etc/GMT+3 Etc/GMT+4 Etc/GMT+5 Etc/GMT+6 Etc/GMT+7 Etc/GMT+8 Etc/GMT+9 Etc/GMT-0 Etc/GMT-1 Etc/GMT-10 Etc/GMT-11 Etc/GMT-12 Etc/GMT-13 Etc/GMT-14 Etc/GMT-2 Etc/GMT-3 Etc/GMT-4 Etc/GMT-5...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 28 16:03:11 UTC 2025
    - 397.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertEquals(0x40, Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER);
            assertEquals(0x80, Smb2TreeConnectResponse.SMB2_SHARE_CAP_ASYMMETRIC);
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            void testIsForceUnicodeMultipleCalls() {
                for (int i = 0; i < 5; i++) {
                    assertTrue(response.isForceUnicode());
                }
            }
        }
    
        @Nested
        @DisplayName("Wire Format Write Tests")
        class WireFormatWriteTests {
    
            @Test
            @DisplayName("Should return 0 for writeSetupWireFormat")
            void testWriteSetupWireFormat() {
                byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, 8, copiedFileId, 0, 16);
            assertArrayEquals(expectedFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test wire format structure matches SMB2 specification")
        void testWireFormatStructure() {
            byte[] buffer = new byte[256];
            Arrays.fill(buffer, (byte) 0xCC); // Fill with pattern to detect unwritten areas
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/InfoTest.java

            // toString() uses lastWriteTime directly without offset
            assertTrue(resp.toString().contains(new Date(1630000000000L).toString()));
        }
    
        // Buffer helpers to build SMB basic file info wire format.
        // SMB uses little-endian byte order
        private static void writeLong(byte[] buf, int offset, long val) {
            for (int i = 0; i < 8; i++) {
                buf[offset + i] = (byte) ((val >>> (8 * i)) & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top