Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,287 for Update (0.07 sec)

  1. cmd/metacache-bucket.go

    	}
    }
    
    // updateCacheEntry will update a cache.
    // Returns the updated status.
    func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) {
    	b.mu.Lock()
    	defer b.mu.Unlock()
    	existing, ok := b.caches[update.id]
    	if !ok {
    		return update, errFileNotFound
    	}
    	existing.update(update)
    	b.caches[update.id] = existing
    	b.updated = true
    	return existing, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. 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)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

        }
    
        /**
         * Updates the given list of access results.
         * @param accessResultList The list of access results to update.
         */
        @Override
        public void update(final List<AccessResultImpl<Long>> accessResultList) {
            for (final AccessResultImpl<Long> accessResult : accessResultList) {
                update(accessResult);
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. cmd/metacache.go

    		b += slashSeparator
    	}
    	return b
    }
    
    // update cache with new status.
    // The updates are conditional so multiple callers can update with different states.
    func (m *metacache) update(update metacache) {
    	now := UTCNow()
    	m.lastUpdate = now
    
    	if update.lastHandout.After(m.lastHandout) {
    		m.lastHandout = update.lastUpdate
    		if m.lastHandout.After(now) {
    			m.lastHandout = now
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

         */
        void store(RESULT accessResult);
    
        /**
         * Updates the given access result.
         *
         * @param accessResult the access result to update
         */
        void update(RESULT accessResult);
    
        /**
         * Updates the given list of access results.
         *
         * @param accessResult the list of access results to update
         */
        void update(List<RESULT> accessResult);
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. .teamcity/scripts/update_wrapper_and_create_pr.sh

            exit 0
        fi
        
        BRANCH_NAME="devprod/update-wrapper-$(date +%Y%m%d-%H%M%S)"
        git switch -c $BRANCH_NAME
        git commit --signoff --author="bot-gradle <******@****.***>" -m "Update Gradle wrapper to version $WRAPPER_VERSION"
        git push https://${GITHUB_TOKEN}@github.com/gradle/gradle.git $BRANCH_NAME
        
        PR_TITLE="Update Gradle wrapper to version $WRAPPER_VERSION"
    
        PR_RESPONSE=$(post "/pulls" "{
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:20:20 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                log.trace("update: " + this.updates + " " + offset + ":" + len);
                log.trace(Hexdump.toHexString(input, offset, Math.min(len, 256)));
            }
            if (len == 0) {
                return; /* CRITICAL */
            }
            this.digest.update(input, offset, len);
            this.updates++;
        }
    
        /**
         * Finalize and return the calculated message digest
         *
         * @return calculated digest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 722 bytes
    - Viewed (0)
  9. tests/customize_field_test.go

    		gorm.Model
    		Name                    string
    		FieldAllowCreate        string `gorm:"<-:create"`
    		FieldAllowUpdate        string `gorm:"<-:update"`
    		FieldAllowSave          string `gorm:"<-"`
    		FieldAllowSave2         string `gorm:"<-:create,update"`
    		FieldAllowSave3         string `gorm:"->:false;<-:create"`
    		FieldReadonly           string `gorm:"->"`
    		FieldIgnore             string `gorm:"-"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Uso del parámetro `update` de Pydantic
    
    Ahora, puedes crear una copia del modelo existente usando `.model_copy()`, y pasar el parámetro `update` con un `dict` que contenga los datos a actualizar.
    
    /// info | Información
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top