Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 1,130 for updateFn (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/storage-rest-common_gen.go

    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Update")
    					return
    				}
    				z.Update = nil
    			} else {
    				if z.Update == nil {
    					z.Update = new(dataUsageEntry)
    				}
    				err = z.Update.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Update")
    					return
    				}
    			}
    		case "f":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. clause/update_test.go

    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Update{}},
    			"UPDATE `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Update{Modifier: "LOW_PRIORITY"}},
    			"UPDATE LOW_PRIORITY `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Update{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}},
    			"UPDATE LOW_PRIORITY `products`", nil,
    		},
    	}
    
    	for idx, result := range results {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jun 02 01:18:01 GMT 2020
    - 722 bytes
    - Click Count (0)
  3. tests/update_has_many_test.go

    )
    
    func TestUpdateHasManyAssociations(t *testing.T) {
    	user := *GetUser("update-has-many", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}}
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    	DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2K bytes
    - Click Count (0)
  4. cmd/admin-handlers-config-kv.go

    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		}
    		return
    	}
    
    	if result.Dynamic {
    		applyDynamic(ctx, objectAPI, result.Cfg, result.SubSys, r, w)
    		// If logger webhook config updated (proxy due to callhome), explicitly dynamically
    		// apply the config
    		if result.LoggerWebhookCfgUpdated {
    			applyDynamic(ctx, objectAPI, result.Cfg, config.LoggerWebhookSubSys, r, w)
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.8K bytes
    - Click Count (1)
  5. cmd/erasure-server-pool-rebalance.go

    	doneCh := make(chan error, 1)
    	defer xioutil.SafeClose(doneCh)
    
    	// Save rebalance.bin periodically.
    	go func() {
    		// Update rebalance.bin periodically once every 5-10s, chosen randomly
    		// to avoid multiple pool leaders herding to update around the same
    		// time.
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		randSleepFor := func() time.Duration {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                }
            }));
        }
    
        /**
         * Clears the cache.
         */
        public void clearCache() {
            sessionCache.clear();
        }
    
        /**
         * Updates the session ID for all URL queue entries.
         *
         * @param oldSessionId The old session ID.
         * @param newSessionId The new session ID.
         */
        @Override
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

    /**
     * Represents an item in a stopwords dictionary.
     * This class stores a stopword and tracks its updated value.
     */
    public class StopwordsItem extends DictionaryItem {
        /** The original stopword. */
        private final String input;
    
        /** The new stopword, if updated. */
        private String newInput;
    
        /**
         * Constructs a new stopword item.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. internal/bucket/bandwidth/monitor_test.go

    	"time"
    )
    
    const (
    	oneMiB uint64 = 1024 * 1024
    )
    
    func TestMonitor_GetReport(t *testing.T) {
    	type fields struct {
    		activeBuckets map[BucketOptions]*bucketMeasurement
    		endTime       time.Time
    		update2       uint64
    		endTime2      time.Time
    	}
    	start := time.Now()
    	m0 := newBucketMeasurement(start)
    	m0.incrementBytes(0)
    	m1MiBPS := newBucketMeasurement(start)
    	m1MiBPS.incrementBytes(oneMiB)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

     * It also tracks updated values for the item.
     */
    public class SynonymItem extends DictionaryItem {
        /** The original input words. */
        private final String[] inputs;
    
        /** The original output synonyms. */
        private final String[] outputs;
    
        /** The new input words, if updated. */
        private String[] newInputs;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            // Verify that renew() was called and credentials were updated
            assertTrue(renewed, "renewCredentials should return true when renewable credentials are renewed");
            assertEquals(mockRenewedCredentialsInternal, wrapper.getCredentials(), "Credentials should be updated to renewed credentials");
            verify(mockRenewableCredentials).renew();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top