Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,287 for Update (0.04 sec)

  1. tests/named_polymorphic_test.go

    	DB.Model(&hamster).Association("PreferredToy").Find(&hamsterToy)
    	if hamsterToy.Name != "bike 2" {
    		t.Errorf("Should update has one polymorphic association with Append")
    	}
    
    	hamsterToy = Toy{}
    	DB.Model(&hamster).Association("OtherToy").Find(&hamsterToy)
    	if hamsterToy.Name != "treadmill 2" {
    		t.Errorf("Should update has one polymorphic association with Append")
    	}
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 1 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  2. tests/update_many2many_test.go

    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user3 User
    	DB.Preload("Languages").Preload("Friends").Find(&user3, "id = ?", user.ID)
    	CheckUser(t, user2, user3)
    
    	if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user4 User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/sql-databases.md

    * `name`
    * `age`
    * `secret_name`
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[7:22] hl[21:22] *}
    
    #### `HeroUpdate` - the *data model* to update a hero { #heroupdate-the-data-model-to-update-a-hero }
    
    We didn't have a way to **update a hero** in the previous version of the app, but now with **multiple models**, we can do it. 🎉
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/PreauthIntegrityService.java

                    throw new CIFSException("Unsupported hash algorithm: " + hashAlgorithm);
                }
    
                // SMB 3.1.1 spec: Hash = Hash(PreviousHash || Message)
                digest.update(previousHash);
                digest.update(messageData);
    
                return digest.digest();
            } catch (NoSuchAlgorithmException e) {
                throw new CIFSException("Hash algorithm not available: " + hashAlgorithm, e);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertNull(result);
    
            updater.close();
        }
    
        public void test_updater_writeLine() {
            StopwordsFile.StopwordsUpdater updater = stopwordsFile.new StopwordsUpdater(null);
    
            // Test writing a comment line
            updater.write("# This is a comment");
    
            updater.close();
        }
    
        // Test edge cases
        public void test_emptyFile() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    }
    
    // SetTarget - sets a new minio-go client target for this bucket.
    func (sys *BucketTargetSys) SetTarget(ctx context.Context, bucket string, tgt *madmin.BucketTarget, update bool) error {
    	if !tgt.Type.IsValid() && !update {
    		return BucketRemoteArnTypeInvalid{Bucket: bucket}
    	}
    	clnt, err := sys.getRemoteTargetClient(tgt)
    	if err != nil {
    		return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        @Override
        void compareAndSetSeenExceptions(
            AggregateFutureState<?> state, @Nullable Set<Throwable> expect, Set<Throwable> update) {
          seenExceptionsUpdater.compareAndSet(state, expect, update);
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          return remainingCountUpdater.decrementAndGet(state);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // Configure field and index names with special characters
            expiresFieldName = "expires-field.with@special#chars";
            documentUpdateIndex = "fess.update-index$special%chars";
    
            // Re-register FessConfig with updated values
            fessConfig = new TestFessConfig() {
                @Override
                public String getIndexFieldExpires() {
                    return expiresFieldName;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. cmd/admin-handlers-idp-config.go

    	ctx := r.Context()
    
    	addOrUpdateIDPHandler(ctx, w, r, false)
    }
    
    // UpdateIdentityProviderCfg: updates an existing IDP config for openid/ldap.
    //
    // POST <admin-prefix>/idp-cfg/openid/dex1 -> update named config `dex1`
    //
    // POST <admin-prefix>/idp-cfg/openid/_ -> update (default) named config `_`
    func (a adminAPIHandlers) UpdateIdentityProviderCfg(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom_test.go

    			expectedUpdate: false,
    		},
    		{
    			meta:           meta,
    			pools:          newPools,
    			name:           "Correct-Update",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           meta,
    			pools:          reducedPools,
    			name:           "Correct-Update",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           meta,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top