Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 17 of 17 for readWireFormat (0.08 seconds)

  1. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("invalid session request wire format");
            }
            bufferIndex += calledName.readWireFormat(buffer, bufferIndex);
            bufferIndex += 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.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameTest.java

            // Encode type 0x20
            src[31] = 'C';
            src[32] = 'A';
    
            // No scope
            src[33] = 0x00;
    
            Name name = new Name(mockConfig);
            int length = name.readWireFormat(src, 0);
    
            assertEquals("TEST", name.name);
            assertEquals(0x20, name.hexCode);
            assertNull(name.scope);
            assertEquals(34, length);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
            // Act
            int result = nodeStatusRequest.readWireFormat(src, 0);
    
            // Assert
            assertTrue(result >= NameServicePacket.HEADER_LENGTH);
        }
    
        @Test
        void integration_writeAndReadComplete() {
            // Arrange
    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)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

             * if there is an andx and it itself is an andx then just recur by
             * calling this method for it. otherwise just read it's parameter words
             * and bytes as usual. Note how we can't just call andx.readWireFormat
             * because there's no header.
             */
    
            if (errorCode != 0 || andxCommand == (byte) 0xFF) {
                andxCommand = (byte) 0xFF;
                andx = null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    if (response == null || response.received) {
                        continue;
                    }
                    synchronized (response) {
                        response.readWireFormat(rcv_buf, 0);
                        response.received = true;
    
                        if (LogStream.level > 3) {
                            log.println(response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * if there is an andx and it itself is an andx then just recur by
             * calling this method for it. otherwise just read it's parameter words
             * and bytes as usual. Note how we can't just call andx.readWireFormat
             * because there's no header.
             */
    
            if (this.errorCode != 0 || this.andxCommand == (byte) 0xFF) {
                this.andxCommand = (byte) 0xFF;
                this.andx = null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    if (response == null || response.received) {
                        continue;
                    }
                    synchronized (response) {
                        response.readWireFormat(this.rcv_buf, 0);
                        response.received = true;
    
                        if (log.isTraceEnabled()) {
                            log.trace(response.toString());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
Back to Top