- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 154 for 1024 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
byte[] dst = new byte[1024]; int dstIndex = 0; int result = response.writeBytesWireFormat(dst, dstIndex); assertEquals(0, result); } @Test @DisplayName("Test readBytesWireFormat with valid structure size") void testReadBytesWireFormatValidStructureSize() throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
byte[] buffer = new byte[1024]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @Test @DisplayName("Should return 0 regardless of buffer position") void testReadBytesWireFormatDifferentPosition() { byte[] buffer = new byte[1024]; int result = request.readBytesWireFormat(buffer, 100);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
info1.entry_path = "test_path"; ByteArrayOutputStream bos = new ByteArrayOutputStream(); // Create buffer for encoding - initially allocate some space byte[] encodeBuffer = new byte[1024]; NdrBuffer dst = new NdrBuffer(encodeBuffer, 0); info1.encode(dst); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); // Use the encoded buffer for decoding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
void testSetData() { byte[] data = new byte[1024]; new Random().nextBytes(data); assertDoesNotThrow(() -> request.setData(data, 0, data.length)); } @Test @DisplayName("Should set data with partial buffer") void testSetDataPartialBuffer() { byte[] data = new byte[1024]; new Random().nextBytes(data);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
private static final int TEST_CONTROL_CODE = Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS; private static final byte[] TEST_FILE_ID = new byte[16]; private static final byte[] TEST_OUTPUT_BUFFER = new byte[1024]; @BeforeEach void setUp() { Arrays.fill(TEST_FILE_ID, (byte) 0x42); } private void setupMockConfig() { when(mockConfig.getTransactionBufferSize()).thenReturn(65536); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
byte[] buffer = new byte[1024]; int result = response.writeBytesWireFormat(buffer, 0); assertEquals(0, result); } @Test @DisplayName("Should return 0 regardless of buffer position") void testWriteBytesWireFormatDifferentPosition() { byte[] buffer = new byte[1024]; int result = response.writeBytesWireFormat(buffer, 100);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
String domain = "TESTDOMAIN"; int serverTypes = NetServerEnum2.SV_TYPE_ALL; netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes); byte[] dst = new byte[1024]; int dstIndex = 0; int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, dstIndex); // Verify bytes written assertTrue(bytesWritten > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue(); assertEquals(1024, req.getMinCount(), "Named pipe minCount should be 1024"); assertEquals(1024, req.getMaxCount(), "Named pipe maxCount should be 1024"); assertEquals(1024, req.getRemaining(), "Named pipe remaining should be 1024"); } } @Nested @DisplayName("Lifecycle and exception mapping")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
domainInfo.sid.sub_authority_count = 2; domainInfo.sid.sub_authority = new int[] { 21, 12345 }; // Encode to buffer byte[] buffer = new byte[1024]; NdrBuffer encodeBuffer = new NdrBuffer(buffer, 0); domainInfo.encode(encodeBuffer); // Decode from buffer NdrBuffer decodeBuffer = new NdrBuffer(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)