- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 822 for wire (0.04 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertEquals(expectedTime, response.getLastAccessTime()); } @Test void testReadParameterWordsWireFormatWithData() { // Test reading parameter words from wire format response = new SmbComQueryInformationResponse(mockConfig, 0L); // Prepare test data byte[] buffer = new byte[256]; int bufferIndex = 0; // Set wordCount to non-zero
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
IOException exception = assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(bais, readBuffer, 0); }); assertEquals("invalid session request wire format", exception.getMessage()); } @ParameterizedTest @MethodSource("provideNamesForWriteTest") @DisplayName("writeTrailerWireFormat should handle various name combinations")
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/nego/Smb2NegotiateResponseTest.java
// Then - nothing should happen (empty implementation) verifyNoInteractions(resp); } @Test @DisplayName("Should read valid negotiate response from wire format") void testReadBytesWireFormatValid() throws Exception { // Given byte[] buffer = createValidNegotiateResponseBuffer(); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
* correctly and updates all relevant members. */ @Test public void readParameterWordsWireFormat_parsesHeaderCorrectly() { DummyResponse d = new DummyResponse(); // Construct a minimal wire format buffer byte[] buf = new byte[32]; int idx = 0; // Write values little-endian buf[idx++] = 5; // totalParameterCount low byteCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
int size = request.size(); int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 64; int expectedSize = (expectedRawSize + 7) & ~7; assertEquals(expectedSize, size); // Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify all fields in the buffer
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
Gradle plugin are to use lazy types (ConfigurableFileCollection, Provider API, domain object containers) when defining configurable parts of a plugin (tasks, extensions, domain objects). The Provider API provides a consistent way to set conventions, wire related configuration together (extension <- domain object <- task) and avoid evaluation ordering problems. The Gradle codebase has evolved over time and has a mixture of simple getter/setter methods, Provider API and things in between. It...
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
for (int i = startIndex + bytesWritten; i < dst.length; i++) { assertEquals((byte) (i & 0xFF), dst[i]); } } @Test @DisplayName("Test setup wire format structure") void testSetupWireFormatStructure() { notifyChange = new NtTransNotifyChange(mockConfig, 0xABCD, 0x12345678, true); byte[] dst = new byte[100];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.4K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* * 1) IP Address - If a dot-quad IP string is used with getByName (or used * to create an NbtAddress internal to this netbios package), no query is * sent on the wire and the only state this object has is it's IP address * (but that's enough to connect to a host using *SMBSERVER for CallingName). * * 2) IP Address, NetBIOS name, nodeType, groupName - If however aCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java
* <p> * Parse the Java source file containing the versions declarations and use the known rules to figure out which are all * the version the current one is wire and index compatible with. * On top of this, figure out which of these are unreleased and provide the branch they can be built from. * <p>
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 16.8K bytes - Click Count (0)