- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 78 for 0x1234 (0.34 sec)
-
src/test/java/jcifs/pac/PacMacTest.java
byte[] expanded = PacMac.expandNFold(data, outlen); assertNotNull(expanded); assertEquals(outlen, expanded.length); // Test vectors from RFC 3961 Appendix A.1 // 64-fold("012345") verifyNfold("012345", 8, new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 }); // 56-fold("password")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
switch (il) { case FileSystemInformation.SMB_INFO_ALLOCATION: return 0x1; case FileSystemInformation.FS_SIZE_INFO: return 0x103; } throw new IllegalArgumentException("Unhandled information level"); } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
customData[0] = 0x01; customData[1] = 0x02; byte[] machineId = new byte[32]; machineId[0] = 0x10; machineId[1] = 0x11; machineId[2] = 0x12; AvSingleHost avSingleHost = new AvSingleHost(customData, machineId); assertNotNull(avSingleHost); byte[] value = avSingleHost.getRaw(); assertNotNull(value);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertEquals(0, hash.length); } // Test that changing lmCompatibility at runtime doesn't affect already loaded static value @ParameterizedTest @ValueSource(strings = { "0", "1", "2", "3", "4", "5" }) void testLmCompatibilityStaticInitialization(String lmCompatibility) { // Attempt to change the property (won't affect static final LM_COMPATIBILITY)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
// Pre-populate buffer with the encoding of a short value NdrBuffer prepare = new NdrBuffer(new byte[10], 0); prepare.enc_ndr_short(0x34); // Encode value 0x34 prepare.reset(); // Reset to beginning for decoding NdrBuffer spy = spy(prepare); ns.decode(spy); verify(spy).dec_ndr_short(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[3] = 0x00; // Size high byte testBuffer[4] = (byte) 0xA9; // Access mask byte 0 testBuffer[5] = 0x00; // Access mask byte 1 testBuffer[6] = 0x12; // Access mask byte 2 testBuffer[7] = 0x00; // Access mask byte 3 // Add minimal SID data (S-1-1-0 - Everyone) testBuffer[8] = 0x01; // Revision testBuffer[9] = 0x01; // Sub-authority count
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
package jcifs.smb1.smb1; class Trans2QueryFSInformationResponse extends SmbComTransactionResponse { // information levels static final int SMB_INFO_ALLOCATION = 1; static final int SMB_QUERY_FS_SIZE_INFO = 0x103; static final int SMB_FS_FULL_SIZE_INFORMATION = 1007; class SmbInfoAllocation implements AllocInfo { long alloc; // Also handles SmbQueryFSSizeInfo long free; int sectPerAlloc;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
byte[] buffer = new byte[10]; int bytesRead = stream.read(buffer, 2, 5); assertEquals(5, bytesRead); assertEquals("01234", new String(buffer, 2, 5)); } public void test_available_delegatesToUnderlying() throws IOException { // Test that available() delegates to underlying stream byte[] data = "Test data".getBytes();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
class ParameterizedInit { static Stream<Arguments> validRanges() { byte[] src = new byte[] { 0, 1, 2, 3 }; return Stream.of(Arguments.of(src, 0, 0, new byte[] {}), Arguments.of(src, 0, 4, new byte[] { 0, 1, 2, 3 }), Arguments.of(src, 1, 2, new byte[] { 1, 2 }), Arguments.of(src, 3, 1, new byte[] { 3 })); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(fileName, smbComOpenAndX.path); assertEquals(ServerMessageBlock.SMB_COM_OPEN_ANDX, smbComOpenAndX.command); assertEquals(0x12, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_TRUNC } /** * Test constructor with O_CREAT and O_EXCL flags. */ @Test void testConstructor_CreateAndFailIfExists() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0)