Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 508 for initializer (0.08 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        // Use ArgumentCaptor to capture the MsrpcSamrCloseHandle instance passed to sendrecv
        private ArgumentCaptor<MsrpcSamrCloseHandle> closeHandleCaptor;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks and captors before each test
            MockitoAnnotations.openMocks(this);
            openDomainCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenDomain.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/TempFileCreator.java

        return new JavaIoCreator();
      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
       * without needing a separate VM or classloader.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            });
    
            cleanupScheduler.scheduleWithFixedDelay(this::cleanup, cleanupInterval.toMillis(), cleanupInterval.toMillis(),
                    TimeUnit.MILLISECONDS);
    
            log.info("Authentication rate limiter initialized: maxAccount={}, maxIp={}, maxGlobal={}/min", maxAttemptsPerAccount,
                    maxAttemptsPerIp, maxGlobalAttemptsPerMinute);
        }
    
        /**
         * Check if authentication attempt is allowed
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. callbacks/preload.go

    	}
    	return nil
    }
    
    func preloadDB(db *gorm.DB, reflectValue reflect.Value, dest interface{}) *gorm.DB {
    	tx := db.Session(&gorm.Session{Context: db.Statement.Context, NewDB: true, SkipHooks: db.Statement.SkipHooks, Initialized: true})
    	db.Statement.Settings.Range(func(k, v interface{}) bool {
    		tx.Statement.Settings.Store(k, v)
    		return true
    	})
    
    	if err := tx.Statement.Parse(dest); err != nil {
    		tx.AddError(err)
    		return tx
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

    public class FuzzyQueryCommandTest extends QueryTestBase {
    
        private FuzzyQueryCommand fuzzyQueryCommand;
    
        @Override
        protected void setUpChild() throws Exception {
            // Initialize and register FuzzyQueryCommand
            fuzzyQueryCommand = new FuzzyQueryCommand();
            fuzzyQueryCommand.register();
        }
    
        // Test getQueryClassName method
        public void test_getQueryClassName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2FlushResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize with Configuration")
        void testConstructor() {
            // Given & When
            Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig);
    
            // Then
            assertNotNull(flushResponse);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. docs/smb3-features/06-witness-protocol-design.md

                witnessClient = new WitnessClient(witnessServer, context);
                witnessEnabled = true;
                
                log.info("Initialized witness support with server: {}", witnessServer);
            }
        } catch (Exception e) {
            log.warn("Failed to initialize witness support", e);
        }
    }
    
    private InetAddress discoverWitnessService() throws IOException {
        // Try the same server first
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CurlHelper.java

        }
    
        private static final Logger logger = LogManager.getLogger(CurlHelper.class);
    
        private SSLSocketFactory sslSocketFactory;
    
        private NodeManager nodeManager;
    
        /**
         * Initializes the CurlHelper with SSL configuration and node manager.
         */
        @PostConstruct
        public void init() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

                return field.get(obj);
            } catch (Exception e) {
                throw new RuntimeException("Failed to access field " + fieldName, e);
            }
        }
    
        /**
         * Test that the constructor initializes all fields correctly
         */
        @Test
        public void testConstructor() {
            // Arrange
            int fid = 0x1234;
            int offset = 100;
            int remaining = 50;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

        @BeforeEach
        void setUp() {
            msrpcShareEnum = new MsrpcShareEnum(TEST_SERVER_NAME);
        }
    
        @Test
        void testConstructor() {
            // Test that the constructor initializes the object correctly
            MsrpcShareEnum shareEnum = new MsrpcShareEnum(TEST_SERVER_NAME);
            assertNotNull(shareEnum);
    
            // Verify the server name is properly formatted with double backslashes
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top