Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 620 for Initializer (0.09 sec)

  1. 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)
  2. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        private int maxReceiveSize;
        private int maxFragmentedSize;
    
        /**
         * Create SMB Direct Negotiate Response
         */
        public SmbDirectNegotiateResponse() {
            // Initialize with defaults
            this.minVersion = SmbDirectNegotiateRequest.MIN_VERSION;
            this.maxVersion = SmbDirectNegotiateRequest.MAX_VERSION;
            this.negotiatedVersion = SmbDirectNegotiateRequest.MAX_VERSION;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        private static final byte[] TEST_DATA = "Test pipe data".getBytes();
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructorInitialization() {
            // Given
            int offset = 0;
            int length = TEST_DATA.length;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            response = new Smb2SetInfoResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor initializes with config")
        void testConstructor() {
            assertNotNull(response);
            // Command is not set in constructor, only after decoding
            assertEquals((short) 0, response.getCommand());
        }
    
        @Test
    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. 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)
  8. 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)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      protected void expectUnchanged() {
        expectContents(getOrderedElements());
      }
    
      /**
       * Asserts that the collection under test contains exactly the elements it was initialized with
       * plus the given elements, according to {@link #expectContents(java.util.Collection)}. In other
       * words, for the default {@code expectContents()} implementation, the number of occurrences of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor initializes all fields correctly
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);
    
            assertNotNull(trans2QueryPathInfo);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top