- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 822 for wire (0.02 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response); assertTrue(resp instanceof ServerMessageBlock2); } @Test @DisplayName("Should write empty bytes to wire format") void testWriteBytesWireFormat() { // Given byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = response.writeBytesWireFormat(buffer, offset);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
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 }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (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 })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (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. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
docs/works_with_okhttp.md
* [ScribeJava](https://github.com/scribejava/scribejava): Simple OAuth library for Java * [Stetho](https://github.com/facebook/stetho): Stetho is a debug bridge for Android applications.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 26 07:59:38 GMT 2025 - 3.8K bytes - Click Count (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)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (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; }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) -
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 packagedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.5K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (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. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0)