Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 175 for 0x12 (1.08 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        static Stream<Arguments> validParams() {
            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            }
    
            // MAC address
            int macOffset = srcIndex + 1 + (18 * numNames);
            byte[] testMac = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };
            System.arraycopy(testMac, 0, src, macOffset, 6);
    
            // Statistics
            byte[] stats = { 0x10, 0x11, 0x12, 0x13, 0x14, 0x15 };
            System.arraycopy(stats, 0, src, macOffset + 6, 6);
    
            int result = response.readRDataWireFormat(src, srcIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            // Assert
            assertEquals(10, bytesWritten, "Should write 10 bytes");
            // Check FID (little-endian)
            assertEquals(0x34, dst[0] & 0xFF);
            assertEquals(0x12, dst[1] & 0xFF);
            // Check count
            assertEquals(10, dst[2] & 0xFF);
            assertEquals(0, dst[3] & 0xFF);
            // Check offset
            assertEquals(0x78, dst[4] & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            dnsDomainInfo.domain_guid.time_mid = 0x1234;
            dnsDomainInfo.domain_guid.time_hi_and_version = 0x5678;
            dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12;
            dnsDomainInfo.domain_guid.clock_seq_low = 0x34;
            dnsDomainInfo.domain_guid.node = new byte[] { 1, 2, 3, 4, 5, 6 };
    
            dnsDomainInfo.sid = new rpc.sid_t();
            dnsDomainInfo.sid.revision = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

       * {@code ByteBuffer.allocate(4).putInt(value).array()}. For example, the input value {@code
       * 0x12131415} would yield the byte array {@code {0x12, 0x13, 0x14, 0x15}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            // First decode
            byte[] buffer1 = new byte[28];
            Arrays.fill(buffer1, 0, 24, (byte) 0x11);
    
            int bytesConsumed1 = response.decode(buffer1, 0, 28);
            assertEquals(28, bytesConsumed1);
    
            byte[] resumeKey1 = response.getResumeKey();
            assertNotNull(resumeKey1);
            assertEquals((byte) 0x11, resumeKey1[0]);
    
            // Second decode - should overwrite
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Arrays.equals(expected, actual))
            .isTrue();
      }
    
      public void testToByteArray() {
        assertByteArrayEquals(
            new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19},
            Longs.toByteArray(0x1213141516171819L));
        assertByteArrayEquals(
            new byte[] {
              (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.toByteArray(0x12131415)).isEqualTo(new byte[] {0x12, 0x13, 0x14, 0x15});
        assertThat(Ints.toByteArray(0xFFEEDDCC))
            .isEqualTo(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC});
      }
    
      public void testFromByteArray() {
        assertThat(Ints.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x33})).isEqualTo(0x12131415);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0x18] = encoding // Cancel
          encodings[ 0x19] = encoding // End of Medium
          encodings[ 0x1a] = encoding // Substitute
          encodings[ 0x1b] = encoding // Escape
          encodings[ 0x1c] = encoding // File Separator
          encodings[ 0x1d] = encoding // Group Separator
          encodings[ 0x1e] = encoding // Record Separator
          encodings[ 0x1f] = encoding // Unit Separator
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // Arrange: minimal valid fields + APPLICATION tag 3
            ASN1EncodableVector v = new ASN1EncodableVector();
            byte ap = (byte) 0x12;
            v.add(new DERTaggedObject(true, 0, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_VERSION))));
            v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ))));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top