Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for 0x0010 (0.03 sec)

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

            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            buffer[1] = 0x00;
            // Last Write Time (UTime): A sample timestamp in milliseconds
            long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES);
            assertEquals(0x0002, SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES);
            assertEquals(0x0800, SmbConstants.FLAGS2_EXTENDED_SECURITY_NEGOTIATION);
            assertEquals(0x0004, SmbConstants.FLAGS2_SECURITY_SIGNATURES);
            assertEquals(0x4000, SmbConstants.FLAGS2_STATUS32);
            assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

            .putChar((char) 0x0101)
            .putChar((char) 0x0100)
            .putChar((char) 0x0000)
            .putChar((char) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00});
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

            .putChar((char) 0x0101)
            .putChar((char) 0x0100)
            .putChar((char) 0x0000)
            .putChar((char) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00});
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        /**
         * SMB2 negotiate flag indicating signing is enabled
         */
        public static final int SMB2_NEGOTIATE_SIGNING_ENABLED = 0x0001;
    
        /**
         * SMB2 negotiate flag indicating signing is required
         */
        public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002;
    
        /**
         * SMB 2.0.2 dialect (Windows Vista/Server 2008)
         */
        public static final int SMB2_DIALECT_0202 = 0x0202;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            checkVersionParsing("1.0.0.-SNAPSHOT", 0, 0, 0, 0, "1.0.0.-SNAPSHOT");
            checkVersionParsing("1..0-SNAPSHOT", 0, 0, 0, 0, "1..0-SNAPSHOT");
            checkVersionParsing("1.0.-SNAPSHOT", 0, 0, 0, 0, "1.0.-SNAPSHOT");
            checkVersionParsing(".1.0-SNAPSHOT", 0, 0, 0, 0, ".1.0-SNAPSHOT");
    
            checkVersionParsing("1.2.3.200705301630", 0, 0, 0, 0, "1.2.3.200705301630");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

     */
    internal object DnsRecordCodec {
      private const val SERVFAIL = 2
      private const val NXDOMAIN = 3
      const val TYPE_A = 0x0001
      const val TYPE_AAAA = 0x001c
      private const val TYPE_PTR = 0x000c
      private val ASCII = Charsets.US_ASCII
    
      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer()
          .apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        void createOptionsAddedWhenLow() {
            // createOptions less than 0x0001 (i.e., 0) should be padded with 0x0040
            SmbComNTCreateAndX req = createRequest(0, 0);
            int actual = (int) getPrivateField(req, "createOptions");
            assertEquals(0x0040, actual, "createOptions should be padded with 0x0040");
        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                    createDisposition = FILE_OPEN_IF;
                }
            } else {
                createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // informationLevel (2 bytes, LE) -> 0x0104
            assertEquals((byte) 0x04, dst[4]);
            assertEquals((byte) 0x01, dst[5]);
    
            // resumeKey (4 bytes, LE)
            assertEquals((byte) 0xEF, dst[6]);
            assertEquals((byte) 0xCD, dst[7]);
            assertEquals((byte) 0xAB, dst[8]);
            assertEquals((byte) 0x89, dst[9]);
    
            // flags (2 bytes, LE) -> 0x0000
            assertEquals((byte) 0x00, dst[10]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top