Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,596 for writeTo (0.04 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

     * result extraction, header encoding/decoding, and the round-trip of an
     * encode/decode operation.
     */
    public class DcerpcMessageTest {
    
        /**
         * A trivial concrete subclass used for testing. It simply writes a
         * single small value in {@code encode_in} and reads it in
         * {@code decode_out}.
         */
        private static class TestMessage extends DcerpcMessage {
            int decodedValue = 0;
    
            TestMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            nodeStatusRequest.nameTrnId = 0x1234;
    
            byte[] buffer = new byte[512];
    
            // Act - Write
            int writeLength = nodeStatusRequest.writeWireFormat(buffer, 0);
    
            // Assert write
            assertTrue(writeLength > 0);
    
            // Create new request to read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Assert
            assertNotNull(transPeekNamedPipe);
            // FID is written in writeSetupWireFormat, verify it there
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should write correct bytes")
        void testWriteSetupWireFormat() {
            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
            byte[] buffer = new byte[10];
            int offset = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb1.com;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

        void testReadParametersWireFormatWithOffset() {
            // Arrange
            byte[] buffer = new byte[20];
            int bufferIndex = 10;
    
            // Write data at offset
            SMBUtil.writeInt2(500, buffer, bufferIndex);
            SMBUtil.writeInt2(0, buffer, bufferIndex + 2);
            SMBUtil.writeInt2(TransPeekNamedPipeResponse.STATUS_LISTENING, buffer, bufferIndex + 4);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/WinError.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    /**
     * Windows error codes used in SMB protocol operations.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.trans.nt;
    
    import java.io.IOException;
    
    import jcifs.Decodable;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.trans.nt;
    
    import java.io.IOException;
    
    import jcifs.Configuration;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.net.MalformedURLException;
    
    import org.slf4j.Logger;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Handler.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top