Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 95 for SmbConstants (0.06 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

                    return null;
                }
            } while (this.sbuf[0] == (byte) 0x85); /* Dodge NetBIOS keep-alive */
            /* read smb header */
            if (readn(this.in, this.sbuf, 4, SmbConstants.SMB1_HEADER_LENGTH) < SmbConstants.SMB1_HEADER_LENGTH) {
                return null;
            }
    
            if (log.isTraceEnabled()) {
                log.trace("New data read: " + this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbTransport;
    import jcifs.SmbTransportPool;
    import jcifs.util.transport.TransportException;
    
    /**
     * Implementation of the SMB transport pool for managing SMB connections.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.DfsReferralData;
    import jcifs.RuntimeCIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbResourceLocator;
    import jcifs.SmbTreeHandle;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.RequestWithPath;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                }
                            }
                            server.oemDomainName = new String(buffer, bufferIndex, len, SmbConstants.OEM_ENCODING);
                        }
                    } catch (final UnsupportedEncodingException uee) {
                        if (LogStream.level > 1) {
                            uee.printStackTrace(log);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testGetDefaultPort() {
            // Act
            int port = handler.getDefaultPort();
    
            // Assert
            assertEquals(445, port);
            assertEquals(SmbConstants.DEFAULT_PORT, port);
        }
    
        @Test
        @DisplayName("openConnection creates SmbFile for valid URL")
        void testOpenConnectionWithValidUrl() throws IOException {
            // Arrange - Create URL with handler
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                if (id == 0 || ri + len > type2token.length) {
                    break;
                }
                if (id == id0) {
                    try {
                        return new String(type2token, ri, len, SmbConstants.UNI_ENCODING);
                    } catch (final java.io.UnsupportedEncodingException uee) {
                        break;
                    }
                }
                ri += len;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.RuntimeCIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbSession;
    import jcifs.internal.CommonServerMessageBlock;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTree.java

                     *   \server\share\path\to\file
                     * as opposed to normally
                     *   \path\to\file
                     */
                    request.flags2 = SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS;
                    request.path = '\\' + session.transport().tconHostName + '\\' + share + request.path;
                }
                try {
                    session.send(request, response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Strings;
    
    /**
     * Test class for FileBothDirectoryInfo
     */
    class FileBothDirectoryInfoTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                     */
    
                    if (len > 0 && src[srcIndex + len - 1] == '\0') {
                        len--;
                    }
                    str = new String(src, srcIndex, len, SmbConstants.OEM_ENCODING);
                }
            } catch (final UnsupportedEncodingException uee) {
                if (LogStream.level > 1) {
                    uee.printStackTrace(log);
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top