Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 816 for smb2 (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Prepare test data with zero values
            byte[] buffer = createValidBuffer("zerofile.txt", "ZEROFI~1.TXT", true);
    
            // Set zero values - for SMB times, 0 in wire format represents 0 in Java time
            SMBUtil.writeInt4(0, buffer, 0); // nextEntryOffset
            SMBUtil.writeInt4(0, buffer, 4); // fileIndex
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.DfsReferralData;
    import jcifs.internal.smb1.trans2.Trans2GetDfsReferralResponse;
    
    /**
     * Test class for DfsReferralDataImpl
     */
    @DisplayName("DfsReferralDataImpl Tests")
    class DfsReferralDataImplTest {
    
        private DfsReferralDataImpl referralData;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.TempDir;
    import org.mockito.MockedConstruction;
    import org.mockito.Mockito;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.smb.SmbFileInputStream;
    
    /**
     * Test class for Lmhosts
     */
    class LmhostsTest {
    
        private Lmhosts lmhosts;
        private CIFSContext mockContext;
        private Configuration mockConfig;
    
        @TempDir
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         * This method implements incremental crawling by comparing timestamps and checking document
         * expiration. It also handles special cases for different URL schemes (SMB, file, FTP).
         *
         * @param client the crawler client to use for accessing the URL
         * @param urlQueue the URL queue item containing the URL to check
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

     * 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 static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/Encdec.java

     * MA 02111-1307, USA
     */
    
    package jcifs.util;
    
    import java.io.IOException;
    import java.util.Date;
    
    import jcifs.SmbConstants;
    
    /**
     * Encoding and decoding utility class for SMB protocol.
     * Provides methods for encoding/decoding various data types in different byte orders.
     */
    public final class Encdec {
    
        private static final long SEC_BETWEEEN_1904_AND_1970 = 2082844800L;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/dfs/ReferralTest.java

    import java.nio.ByteOrder;
    import java.nio.charset.StandardCharsets;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.RuntimeCIFSException;
    import jcifs.internal.smb1.trans2.Trans2GetDfsReferralResponse;
    
    /**
     * Test class for Referral
     */
    public class ReferralTest {
    
        private Referral referral;
        private byte[] testBuffer;
    
        @BeforeEach
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

    import java.util.concurrent.atomic.AtomicLong;
    import java.util.regex.Pattern;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import org.slf4j.MDC;
    
    /**
     * Security audit logger for SMB operations.
     * Provides structured logging of security-relevant events with sensitive data masking.
     *
     * Features:
     * - Structured JSON logging
     * - Sensitive data masking
     * - Event categorization
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SID;
    
    /**
     * Test class for SecurityDescriptor
     */
    class SecurityDescriptorTest {
    
        private SecurityDescriptor securityDescriptor;
        private byte[] testBuffer;
    
        @BeforeEach
        void setUp() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

    import java.util.function.Supplier;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    
    /**
     * Circuit breaker pattern implementation for SMB operations.
     * Prevents cascading failures by temporarily blocking requests to a failing service.
     *
     * The circuit breaker has three states:
     * - CLOSED: Normal operation, requests pass through
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top