Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 1,032 for updateFn (0.05 seconds)

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

  1. cmd/tier-last-day-stats.go

    }
    
    // forwardTo moves time to t, clearing entries between last update and t.
    func (l *lastDayTierStats) forwardTo(t time.Time) {
    	if t.IsZero() {
    		t = time.Now()
    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    	// within the hour since l.UpdatedAt
    	if since < 1 {
    		return
    	}
    
    	idx, lastIdx := t.Hour(), l.UpdatedAt.Hour()
    
    	l.UpdatedAt = t // update to the latest time index
    
    	if since >= 24 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsBadWordBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsert(entity, null);
        }
    
        public void update(BadWord entity) {
            doUpdate(entity, null);
        }
    
        public void update(BadWord entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doUpdate(entity, null);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsBoostDocumentRuleBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsert(entity, null);
        }
    
        public void update(BoostDocumentRule entity) {
            doUpdate(entity, null);
        }
    
        public void update(BoostDocumentRule entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doUpdate(entity, null);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDuplicateHostBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsert(entity, null);
        }
    
        public void update(DuplicateHost entity) {
            doUpdate(entity, null);
        }
    
        public void update(DuplicateHost entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doUpdate(entity, null);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsJobLogBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsert(entity, null);
        }
    
        public void update(JobLog entity) {
            doUpdate(entity, null);
        }
    
        public void update(JobLog entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doUpdate(entity, null);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

             * This method initializes the data store, performs the crawling,
             * handles any errors, and ensures cleanup operations are executed.
             * After successful crawling, it commits the index updates and
             * deletes old documents if configured to do so.
             */
            protected void process() {
                final DataStoreFactory dataStoreFactory = ComponentUtil.getDataStoreFactory();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. .github/workflows/helm-lint.yml

    name: Helm Chart linting
    
    on:
      pull_request:
        branches:
          - master
    
    # This ensures that previous jobs for the PR are canceled when the PR is
    # updated.
    concurrency:
      group: ${{ github.workflow }}-${{ github.head_ref }}
      cancel-in-progress: true
    
    permissions:
      contents: read
    
    jobs:
      release:
        runs-on: ubuntu-latest
        steps:
          - name: Checkout
            uses: actions/checkout@v4
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jun 09 09:13:09 GMT 2024
    - 551 bytes
    - Click Count (0)
  8. tests/gorm_test.go

    		} else if got.ID != u1.ID {
    			t.Fatalf("select expects: %v, got %v", u1, got)
    		}
    
    		u1.Name = "jinzhu"
    		if results := DB.Save(&u1); results.Error != nil {
    			t.Fatalf("errors happened on update: %v", results.Error)
    		} else if results.RowsAffected != 1 {
    			t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
    		}
    
    		u1 = user{} // important to reinitialize this before creating it again
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

        /**
         * The CRUD operation mode for this form.
         * Indicates whether this is a create, read, update, or delete operation.
         */
        @ValidateTypeFailure
        public int crudMode;
    
        /**
         * The unique identifier of the job log entry being edited.
         * This is a required field for identifying which job log to update.
         */
        @Required
        @ValidateTypeFailure
        public String id;
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. tests/submodel_test.go

    func TestSubModel(t *testing.T) {
    	man := Man{Age: 18, Name: "random-name"}
    	if err := DB.Create(&man).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	if err := DB.Model(&man).Where("id = ?", man.ID).Updates(struct {
    		Age int
    	}{Age: 20}).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	var result = struct {
    		ID  int
    		Age int
    	}{}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 947 bytes
    - Click Count (0)
Back to Top