Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 620 for initializer (1.16 sec)

  1. cmd/leak-detect_test.go

    	leakDetectPauseTimeMs = 50
    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    	relevantRoutines map[string]bool
    }
    
    // NewLeakDetect - Initialize a LeakDetector with the snapshot of relevant Go routines.
    func NewLeakDetect() LeakDetect {
    	snapshot := LeakDetect{
    		relevantRoutines: make(map[string]bool),
    	}
    	for _, g := range pickRelevantGoroutines() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        void testConstructorInitialization() {
            // Verify that the transaction is properly initialized
            assertEquals(ServerMessageBlock.SMB_COM_NT_TRANSACT, transaction.getCommand());
    
            // Verify that transaction is properly initialized
            assertNotNull(transaction);
    
            // Verify primary setup offset (should be 71 as per NTT_PRIMARY_SETUP_OFFSET)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

      }
    
      /**
       * A trust manager for Android applications that customize the trust manager.
       *
       * This class exploits knowledge of Android implementation details. This class is potentially
       * much faster to initialize than [BasicTrustRootIndex] because it doesn't need to load and
       * index trusted CA certificates.
       */
      internal data class CustomTrustRootIndex(
        private val trustManager: X509TrustManager,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 16:52:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/NetworkBuilder.java

      public static NetworkBuilder<Object, Object> undirected() {
        return new NetworkBuilder<>(false);
      }
    
      /**
       * Returns a {@link NetworkBuilder} initialized with all properties queryable from {@code
       * network}.
       *
       * <p>The "queryable" properties are those that are exposed through the {@link Network} interface,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/ValueGraphBuilder.java

      public static ValueGraphBuilder<Object, Object> undirected() {
        return new ValueGraphBuilder<>(false);
      }
    
      /**
       * Returns a {@link ValueGraphBuilder} initialized with all properties queryable from {@code
       * graph}.
       *
       * <p>The "queryable" properties are those that are exposed through the {@link ValueGraph}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top