Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for 0x0040 (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        void testSubCommandConstants() {
            assertEquals((short) 0x0001, SmbComTransaction.TRANS2_FIND_FIRST2);
            assertEquals((short) 0x0002, SmbComTransaction.TRANS2_FIND_NEXT2);
            assertEquals((short) 0x0003, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
            assertEquals((short) 0x0005, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION);
            assertEquals((short) 0x0007, SmbComTransaction.TRANS2_QUERY_FILE_INFORMATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(0, bytesRead);
            assertEquals(0, response.getAttributes());
            assertEquals(0, response.getSize());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0x0001, 0x0002, 0x0004, 0x0010, 0x0020, 0x0080, 0x0100 })
        void testDifferentFileAttributes(int fileAttribute) {
            // Test various file attribute values
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb/SmbFile.java

                    try (SmbFileHandleImpl f = openUnshared(O_RDONLY, FILE_WRITE_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE, dir,
                            dir != 0 ? 0x0001 : 0x0040)) {
                        th.send(new Trans2SetFileInformation(th.getConfig(), f.getFid(), attrs | dir, ctime, mtime, atime),
                                new Trans2SetFileInformationResponse(th.getConfig()), RequestParam.NO_RETRY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/base/Utf8Test.java

        }
      }
    
      // 128 - [chars 0x0000 to 0x007f]
      private static final long ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x007f - 0x0000 + 1;
    
      // 128
      private static final long EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT =
          ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1920 [chars 0x0080 to 0x07FF]
      private static final long TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x07FF - 0x0080 + 1;
    
      // 18,304
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /** SMB2 create/open file command */
        protected static final short SMB2_CREATE = 0x0005;
        /** SMB2 close file command */
        protected static final short SMB2_CLOSE = 0x0006;
        /** SMB2 flush file command */
        protected static final short SMB2_FLUSH = 0x0007;
        /** SMB2 read file command */
        protected static final short SMB2_READ = 0x0008;
        /** SMB2 write file command */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K 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. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Hexdump.toHexString uses uppercase and produces only the specified width
            // Note: completionFilter is displayed with 4 hex chars, not 8
            assertTrue(result.contains("fid=0x0000"));
            assertTrue(result.contains("filter=0x0000")); // Only 4 hex chars are shown
            assertTrue(result.contains("watchTree=false"));
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat preserves other buffer content")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
Back to top