Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,224 for jCIFS (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

    package jcifs.internal.smb1.com;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandle.java

    /* jcifs msrpc client library in Java
     * Copyright (C) 2007  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. docs/smb3-features/03-multi-channel-design.md

    public static final String USE_MULTI_CHANNEL = "jcifs.smb.client.useMultiChannel";
    public static final String MAX_CHANNELS = "jcifs.smb.client.maxChannels";
    public static final String CHANNEL_BINDING_POLICY = "jcifs.smb.client.channelBindingPolicy";
    public static final String LOAD_BALANCING_STRATEGY = "jcifs.smb.client.loadBalancingStrategy";
    public static final String CHANNEL_HEALTH_CHECK_INTERVAL = "jcifs.smb.client.channelHealthCheckInterval";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

    import java.util.Map;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.audit.SecurityAuditLogger.EventType;
    import jcifs.audit.SecurityAuditLogger.Severity;
    
    /**
     * Test class for SecurityAuditLogger
     */
    public class SecurityAuditLoggerTest {
    
        private SecurityAuditLogger logger;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.config.PropertyConfiguration;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    
    class Trans2SetFileInformationTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/CIFSContext.java

     * allow to create such sub-contexts.
     *
     *
     * Implementors of this interface should extend {@link jcifs.context.BaseContext} or
     * {@link jcifs.context.CIFSContextWrapper} to get forward compatibility.
     *
     * @author mbechler
     *
     */
    public interface CIFSContext {
    
        /**
         * Get a resource
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtException.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Encodable;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2SetInfoRequest functionality
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

         */
        @Test
        @DisplayName("Mock interaction example with SmbTransport")
        void mockTransportInteraction() {
            // Create a mock of SmbTransport from jcifs package
            jcifs.SmbTransport mock = mock(jcifs.SmbTransport.class);
            // Stub the getRemoteHostName method
            when(mock.getRemoteHostName()).thenReturn("test-host");
            // Verify the stubbing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top