Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 139 for 012345 (0.04 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            when(mockConnection.getDoInput()).thenReturn(true);
            when(mockConnection.getDoOutput()).thenReturn(true);
            when(mockConnection.getIfModifiedSince()).thenReturn(12345L);
            when(mockConnection.getUseCaches()).thenReturn(false);
            when(mockConnection.getReadTimeout()).thenReturn(1000);
            when(mockConnection.getConnectTimeout()).thenReturn(2000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
            assertEquals("00001234", Hexdump.toHexString(0x1234, 8));
            assertEquals("1234", Hexdump.toHexString(0x1234, 4));
            assertEquals("34", Hexdump.toHexString(0x1234, 2));
    
            // Test negative values (treated as unsigned)
            assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

        serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
        assertData("8105")
        assertData(payload)
      }
    
      @Test fun serverLargeBufferedPayloadWrittenAsOneFrame() {
        val length = 12345
        val payload: ByteString = (binaryData(length))
        serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
        assertData("817e")
        assertData(format("%04x", length))
        assertData(payload)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/EncdecTest.java

    @DisplayName("Encdec Utility Tests")
    class EncdecTest extends BaseTest {
    
        @Test
        @DisplayName("Should encode and decode 16-bit integers")
        void testInt16Operations() {
            // Given
            short value = 0x1234;
            byte[] buffer = new byte[2];
    
            // When - encode little endian
            Encdec.enc_uint16le(value, buffer, 0);
            short decoded = (short) Encdec.dec_uint16le(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/HexdumpTest.java

            // Test different sizes
            assertEquals("00", Hexdump.toHexString(0, 2));
            assertEquals("FF", Hexdump.toHexString(255, 2));
            assertEquals("1234", Hexdump.toHexString(0x1234, 4));
        }
    
        @Test
        @DisplayName("Should convert long to hex string with padding")
        void testLongToHexString() {
            // Test various long values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        @DisplayName("Read array delegates to read with offset and length")
        void readArrayDelegatesToReadWithOffsetAndLength() throws IOException {
            // Create message with data
            byte[] data = new byte[] { 1, 2, 3, 4, 5 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Read using array-only method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type1Message(invalidBytes);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/config/BaseConfigurationTest.java

        void testInitDefaultsWithPresetFlags() throws CIFSException {
            BaseConfiguration testConfig = new BaseConfiguration(false);
            testConfig.flags2 = 0x1234;
            testConfig.capabilities = 0x5678;
    
            testConfig.initDefaults();
    
            assertEquals(0x1234, testConfig.getFlags2());
            assertEquals(0x5678, testConfig.getCapabilities());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

        // Now change the inputs and see result dynamically change as well
    
        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        // Now change the inputs and see result dynamically change as well
    
        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top