- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 396 for packets (0.07 seconds)
-
.github/workflows/update-perf-test-buckets.yml
on: schedule: - cron: '53 3 * * 1' workflow_dispatch: permissions: contents: write id-token: write pull-requests: write jobs: update-perf-test-buckets: runs-on: ubuntu-latest if: github.repository == 'gradle/gradle' steps: - name: Checkout repository uses: actions/checkout@v6 - name: configure aws credentialsCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 24 22:05:21 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
packet.nameTrnId = 0x1234; packet.isResponse = true; packet.opCode = NameServicePacket.QUERY; packet.isAuthAnswer = true; packet.isTruncated = true; packet.isRecurDesired = true; packet.isRecurAvailable = true; packet.isBroadcast = true; packet.resultCode = NameServicePacket.FMT_ERR; packet.questionCount = 1; packet.answerCount = 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
int DCERPC_OBJECT_UUID = 0x80; /* if true, a non-nil object UUID */ // Packet Types (ptype) /** * Request packet type */ int RPC_PT_REQUEST = 0x00; /** * Ping packet type */ int RPC_PT_PING = 0x01; /** * Response packet type */ int RPC_PT_RESPONSE = 0x02; /** * Fault packet type - indicates an error */ int RPC_PT_FAULT = 0x03; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
void testConstructorWithConfigOnly() { SessionRequestPacket packet = new SessionRequestPacket(mockConfig); assertNotNull(packet); // The packet should have calledName and callingName initialized but empty byte[] dst = new byte[256]; int written = packet.writeTrailerWireFormat(dst, 0); assertTrue(written > 0); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] packet = new byte[header.length + body.length]; System.arraycopy(header, 0, packet, 0, header.length); System.arraycopy(body, 0, packet, header.length, body.length); BaseConfiguration config = new BaseConfiguration(true); Smb2IoctlResponse resp = new Smb2IoctlResponse(config); int read = resp.decode(packet, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test that the constructor correctly initializes the type and length fields. SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type); assertEquals(6, packet.length); } @Test void writeTrailerWireFormatShouldReturnZero() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
int totalRead = packet.readWireFormat(bais, data, 0); assertEquals(14, totalRead); // 4 header + 10 trailer assertEquals(0x85, packet.type); assertEquals(10, packet.length); } @Test @DisplayName("writeHeaderWireFormat should write correct header") void testWriteHeaderWireFormat() { packet.type = SessionServicePacket.SESSION_REQUEST;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
} byte[] packet = new byte[totalLen]; System.arraycopy(header, 0, packet, 0, header.length); System.arraycopy(body, 0, packet, SMB2_HEADER_LENGTH, body.length); if (ctxOffsetFromHeader != null && ctxBytes != null) { System.arraycopy(ctxBytes, 0, packet, ctxOffsetFromHeader, ctxBytes.length); } return packet; } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java
} @Test @DisplayName("All RPC packet flags should have unique values") void testRpcPacketFlagsUniqueness() { // Verify that RPC packet flags are unique and follow bit pattern assertEquals(1, Integer.bitCount(DcerpcConstants.RPC_C_PF_BROADCAST), "RPC_C_PF_BROADCAST should be a single bit");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
*/ package jcifs.netbios; import java.io.IOException; import java.io.InputStream; import jcifs.Configuration; import jcifs.NetbiosName; /** * NetBIOS session request packet implementation. * This packet is used to initiate NetBIOS session connections. */ public class SessionRequestPacket extends SessionServicePacket { private final Name calledName, callingName;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0)