- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 412 for structures (0.05 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE); // Verify structure size (9) assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset)); // Verify tree flags (0) assertEquals(0, SMBUtil.readInt2(buffer, bodyOffset + 2)); // Verify path offset (points to after the 8-byte structure) int expectedPathOffset = bodyOffset + 8 - headerStart;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
@Test @DisplayName("Test wire format structure matches SMB2 specification") void testWireFormatStructure() { byte[] buffer = new byte[256]; Arrays.fill(buffer, (byte) 0xCC); // Fill with pattern to detect unwritten areas int written = request.writeBytesWireFormat(buffer, 0); // Verify structure according to SMB2 FLUSH specification // Structure Size (2 bytes) - should be 24
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class FessWebResourceRootTest extends UnitFessTestCase { public void test_classExists() { // Basic test to verify the class exists and has the correct structure assertNotNull("FessWebResourceRoot class should exist", FessWebResourceRoot.class); } public void test_inheritance() { // Verify that FessWebResourceRoot extends StandardRoot
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Then // The writeBytesWireFormat writes the structure and calculates padding // Base structure: 24 bytes, then pad8 alignment, then token: 5 bytes // Total bytes written includes padding for 8-byte alignment int expectedBytesWritten = 35; assertEquals(expectedBytesWritten, bytesWritten); // Verify structure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
try { Pac pac = new Pac(pacData, keys); assertNotNull(pac.getServerSignature()); assertNotNull(pac.getKdcSignature()); } catch (PACDecodingException e) { // Expected due to invalid logon info structure assertNotNull(e.getMessage()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java
*/ public RdmaChannelInfo(int remoteKey, long address, int length) { // Create SMB2_RDMA_TRANSFORM structure this.transform = new Smb2RdmaTransform(address, remoteKey, length); } /** * Create from SMB2 RDMA Transform * * @param transform the RDMA transform structure */ public RdmaChannelInfo(Smb2RdmaTransform transform) { this.transform = transform; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH); // FileId is at offset 8 in the request structure for (int i = 0; i < 16; i++) { assertEquals(fileId[i], buffer[Smb2Constants.SMB2_HEADER_LENGTH + 8 + i]); } } @Test @DisplayName("Test setFileInformationClass method")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
} /** * Encode this interface info for FSCTL_QUERY_NETWORK_INTERFACE_INFO response * * @return encoded bytes */ public byte[] encode() { // NETWORK_INTERFACE_INFO structure per MS-SMB2 2.2.32.5.1 // Total size: 152 bytes byte[] buffer = new byte[Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE]; ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
import java.util.Map.Entry; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A map-like data structure that wraps a backing map and caches values while iterating through * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If * this structure is never mutated, it provides a thread-safe view of the backing map. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0)