- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 575 for wire (0.05 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
*/ public static final String CONTEXT_NAME = "DH2Q"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit) private int flags; /** * Create a new durable handle V2 response */ public DurableHandleV2Response() { // Will be populated during decode }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
// Assert assertNotNull(resp, "Instance should not be null"); } /** * All wire‑format methods should return zero regardless of inputs. */ @Nested @DisplayName("Wire format method behaviour") class WireFormatMethods { @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * Tests for {@link SmbComLockingAndX}. The source class exposes * its wire-format helpers as protected methods and its internal state * is stored in private fields; tests make use of the same package to * access those members directly. */ @ExtendWith(MockitoExtension.class)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
* Unit test for {@link Trans2QueryFSInformation}. The class contains mostly * trivial wire-format helpers and a custom {@code toString()} implementation. * All tests are pure unit tests – no network or file system access is * required. */ class Trans2QueryFSInformationTest { /** Small helper to create a byte buffer larger than the maximum expected * wire format so that we can observe only the bytes written by a method. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// The size8 method aligns to 8-byte boundary int alignedSize = (expectedSize + 7) & ~7; assertEquals(alignedSize, size); } @Test @DisplayName("Should write correct bytes to wire format") void testWriteBytesWireFormat() { // Given byte[] buffer = new byte[512]; int offset = 100; request.setNotifyFlags(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]); // Test parameter words wire format int paramWords = transaction.writeParameterWordsWireFormat(dst, 0); assertTrue(paramWords >= 0); // Test bytes wire format int bytes = transaction.writeBytesWireFormat(dst, 0); assertTrue(bytes >= 0); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
@Test @DisplayName("Should read empty bytes from wire format") void testReadBytesWireFormat() { // Given request = new Smb2NegotiateRequest(mockConfig, 0); byte[] buffer = new byte[256]; // When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then - This is a request, so it doesn't read from wire assertEquals(0, bytesRead); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/LifecycleProvider.java
import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle; /** * Interface that can be provided by the plugin to wire in custom lifecycles * leveraged using the {@link org.apache.maven.api.plugin.annotations.Execute} * annotation. If a {@code META-INF/maven/lifecycle.xml} file is packaged
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* * @param dst the destination buffer * @param dstIndex the starting offset in the buffer * @return the number of bytes written */ protected abstract int writeParameterWordsWireFormat(byte[] dst, int dstIndex); /** * Writes the data bytes portion of the SMB message to the wire format. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
final int start = bufferIndex; if (in.read(buffer, bufferIndex, this.length) != this.length) { throw new IOException("invalid session request wire format"); } bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex); bufferIndex += this.callingName.readWireFormat(buffer, bufferIndex); return bufferIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0)