Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Preloads (0.04 sec)

  1. statement.go

    		newStmt.Vars = append(newStmt.Vars, stmt.Vars...)
    	}
    
    	for k, c := range stmt.Clauses {
    		newStmt.Clauses[k] = c
    	}
    
    	for k, p := range stmt.Preloads {
    		newStmt.Preloads[k] = p
    	}
    
    	if len(stmt.Joins) > 0 {
    		newStmt.Joins = make([]join, len(stmt.Joins))
    		copy(newStmt.Joins, stmt.Joins)
    	}
    
    	if len(stmt.scopes) > 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. tests/generics_test.go

    	result, err := db.Preload("Company", nil).Preload("Pets", nil).Where("name = ?", u.Name).First(ctx)
    	if err != nil {
    		t.Fatalf("Preload failed: %v", err)
    	}
    
    	if result.Name != u.Name || result.Company.Name != u.Company.Name || len(result.Pets) != len(u.Pets) {
    		t.Fatalf("Preload expected %s, got %+v", u.Name, result)
    	}
    
    	results, err := db.Preload("Company", func(db gorm.PreloadBuilder) error {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        // Test reload with InputStream
        public void test_reload_withComments() {
            String content = "# This is a comment\n" + "word1\n" + "\n" + // empty line
                    "word2\n" + "# Another comment\n" + "word3\n";
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. cmd/notification.go

    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.DeletePolicy(ctx, policyName)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // LoadPolicy - reloads a specific modified policy across all peers
    func (sys *NotificationSys) LoadPolicy(ctx context.Context, policyName string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  5. cmd/iam.go

    }
    
    // LoadUser - reloads a specific user from backend disks or etcd.
    func (sys *IAMSys) LoadUser(ctx context.Context, objAPI ObjectLayer, accessKey string, userType IAMUserType) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.UserNotificationHandler(ctx, accessKey, userType)
    }
    
    // LoadServiceAccount - reloads a specific service account from backend disks or etcd.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Load data first
            protwordsFile.reload(null);
    
            // Test with offset out of bounds
            PagingList<ProtwordsItem> list = protwordsFile.selectList(100, 10);
            assertEquals(0, list.size());
            assertTrue(list.isEmpty());
        }
    
        public void test_selectList_negativeOffset() {
            // Load data first
            protwordsFile.reload(null);
    
            // Test with negative offset
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            }
        }
    
        // Test reload with IOException
        public void test_reload_ioException() throws Exception {
            // This test verifies error handling during reload
            // Since we can't easily mock the IOException, we'll test with invalid data
            writeTestFile("invalid => "); // Invalid format
    
            try {
                charMappingFile.reload(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. docs/uk/docs/index.md

    ```console
    $ uvicorn main:app --reload
    
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    INFO:     Started reloader process [28720]
    INFO:     Started server process [28722]
    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>Про команди <code>uvicorn main:app --reload</code>...</summary>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. cmd/tier.go

    	}
    
    	return pReader, opts, nil
    }
    
    // Reload updates config by reloading remote tier config from config store.
    func (config *TierConfigMgr) Reload(ctx context.Context, objAPI ObjectLayer) error {
    	newConfig, err := loadTierConfig(ctx, objAPI)
    
    	config.Lock()
    	defer config.Unlock()
    
    	switch err {
    	case nil:
    		break
    	case errConfigNotFound: // nothing to reload
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return one;
              }
    
              @Override
              public ListenableFuture<Object> reload(Object key, Object oldValue) {
                return immediateFuture(two);
              }
            };
    
        LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
Back to top