Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 99 for 0x4004 (0.03 sec)

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

            assertEquals((byte) 0x10, SmbComTransaction.TRANS2_GET_DFS_REFERRAL);
            assertEquals((byte) 0x08, SmbComTransaction.TRANS2_SET_FILE_INFORMATION);
    
            // Test NET subcommands
            assertEquals(0x0000, SmbComTransaction.NET_SHARE_ENUM);
            assertEquals(0x0068, SmbComTransaction.NET_SERVER_ENUM2);
            assertEquals(0x00D7, SmbComTransaction.NET_SERVER_ENUM3);
    
            // Test TRANS subcommands
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/Utf8Test.java

          assertThat(expected)
              .hasMessageThat()
              .isEqualTo("Unpaired surrogate at index " + invalidCodePointIndex);
        }
      }
    
      // 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]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            SMBUtil.writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.serverTypes, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                dstIndex++;
                dst[dstIndex++] = (byte) 0x00; // Reserved1
                writeInt2(flags, dst, dstIndex);
                dstIndex += 2;
                writeInt4(timeout, dst, dstIndex);
                dstIndex += 4;
                dst[dstIndex++] = (byte) 0x00; // Reserved2
                dst[dstIndex++] = (byte) 0x00;
            }
            writeInt2(parameterCount, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

                buffer[16 + i] = expectedData[i];
            }
    
            // Set header values
            SMBUtil.writeInt4(0x100, buffer, 0);
            SMBUtil.writeInt4(0x200, buffer, 4);
            SMBUtil.writeInt4(0x300, buffer, 8);
            SMBUtil.writeInt4(0x400, buffer, 12);
    
            // Decode
            response.decode(buffer, 0, 32);
    
            // Verify data integrity
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testWriteHeaderReadHeader() {
            byte[] buffer = new byte[32];
            smb.command = ServerMessageBlock.SMB_COM_NEGOTIATE;
            smb.flags = (byte) 0x18;
            smb.flags2 = 0x0001;
            smb.tid = 1;
            smb.pid = 2;
            smb.uid = 3;
            smb.mid = 4;
    
            smb.writeHeaderWireFormat(buffer, 0);
    
            TestServerMessageBlock readSmb = new TestServerMessageBlock();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertNotNull(result);
            assertTrue(result.contains("FileNotifyInformation"));
            assertTrue(result.contains("nextEntry=0"));
            assertTrue(result.contains("action=0x0000")); // Hexdump.toHexString produces 4-char padded hex
            assertTrue(result.contains("file=null"));
        }
    
        @ParameterizedTest
        @DisplayName("Test decode with aligned next entry offsets")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

    /**
     * Test class for ValidateNegotiateInfoRequest
     */
    class ValidateNegotiateInfoRequestTest {
    
        private static final int DEFAULT_CAPABILITIES = 0x12345678;
        private static final int DEFAULT_SECURITY_MODE = 0x0003;
        private byte[] defaultClientGuid;
        private int[] defaultDialects;
    
        @BeforeEach
        void setUp() {
            // Initialize default GUID (16 bytes)
            defaultClientGuid = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top