Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for 0x0040 (0.03 sec)

  1. 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)
  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. 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)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                    this.createDisposition = FILE_OPEN_IF;
                }
            } else {
                this.createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            this.impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0041, 0x0041, TYPE_MAPPED, "a".encodeUtf8()),
              Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()),
            ),
          ),
        ).containsExactly(
          Mapping(0x0041, 0x0041, TYPE_MAPPED, "a".encodeUtf8()),
          Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()),
        )
      }
    
      @Test fun simplifyCanonicalizesType() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    	version(3.0)
    ]
    interface netdfs
    {
    	import "../rpc.idl";
    
    	const uint32_t DFS_VOLUME_FLAVOR_STANDALONE = 0x100;
    	const uint32_t DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
    
    	const uint32_t DFS_STORAGE_STATE_OFFLINE = 0x0001;
    	const uint32_t DFS_STORAGE_STATE_ONLINE = 0x0002;
    	const uint32_t DFS_STORAGE_STATE_ACTIVE = 0x0004;
    
    	typedef struct {
    		[string] wchar_t *entry_path;
    	} DfsInfo1;
    
    	typedef struct {
    		uint32_t count;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl

    	version(3.0)
    ]
    interface netdfs
    {
    	import "../rpc.idl";
    
    	const uint32_t DFS_VOLUME_FLAVOR_STANDALONE = 0x100;
    	const uint32_t DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
    
    	const uint32_t DFS_STORAGE_STATE_OFFLINE = 0x0001;
    	const uint32_t DFS_STORAGE_STATE_ONLINE = 0x0002;
    	const uint32_t DFS_STORAGE_STATE_ACTIVE = 0x0004;
    
    	typedef struct {
    		[string] wchar_t *entry_path;
    	} DfsInfo1;
    
    	typedef struct {
    		uint32_t count;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            byte[] encryptionKey = "12345678".getBytes();
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
            buffer.put(domainNameBytes);
            buffer.putShort((short) 0x0000); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        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);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top