Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 24 of 24 for wordCount (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertTrue(result.contains("status=0"));
                assertTrue(result.contains("flags=0x1234"));
                assertTrue(result.contains("mid=12345"));
                assertTrue(result.contains("wordCount=0"));
                assertTrue(result.contains("byteCount=0"));
            }
        }
    
        @Nested
        @DisplayName("Property Access Tests")
        class PropertyAccessTests {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            ServerMessageBlock.writeUTime(sampleTimeMillis, buffer, 2);
            // File Size: 1024 bytes
            ServerMessageBlock.writeInt4(1024, buffer, 6);
    
            response.wordCount = 10; // Must be non-zero to read
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            // Should read 20 bytes as per implementation
            assertEquals(20, bytesRead);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            if (this.wordCount == 0) {
                return 0;
            }
            this.fileAttributes = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.lastWriteTime = SMBUtil.readUTime(buffer, bufferIndex);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                    // overflow indicator normal for pipe
                    final SmbComReadAndXResponse r = (SmbComReadAndXResponse) resp;
                    int off = SMB1_HEADER_LENGTH;
                    /* WordCount thru dataOffset always 27 */
                    readn(this.in, buffer, 4 + off, 27);
                    off += 27;
                    resp.decode(buffer, 4);
                    /* EMC can send pad w/o data */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
Back to Top