Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 797 for UPDATE (0.07 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/serializer_test.go

    		t.Fatalf("failed to query data, got error %v", err)
    	}
    
    	AssertEqual(t, result, data)
    
    	if err := DB.Model(&result).Update("roles", "").Error; err != nil {
    		t.Fatalf("failed to update data's roles, got error %v", err)
    	}
    
    	if err := DB.First(&result, data.ID).Error; err != nil {
    		t.Fatalf("failed to query data, got error %v", err)
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. 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)
  4. ci/official/requirements_updater/README.md

    `requirements_lock_3_12.txt` for `Python 3.12`).
    
    To update the lock files, make sure
    `ci/official/requirements_updater/requirements.in` contains the desired direct
    dependencies list and then execute the following command (which will call
    [pip-compile](https://pypi.org/project/pip-tools/) under the hood):
    
    ```
    bazel run //ci/official/requirements_updater:requirements.update --repo_env=HERMETIC_PYTHON_VERSION=3.12
    ```
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Jun 29 00:19:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicDouble.java

       *
       * @param expect the expected value
       * @param update the new value
       * @return {@code true} if successful. False return indicates that the actual value was not
       *     bitwise equal to the expected value.
       */
      public final boolean compareAndSet(double expect, double update) {
        return updater.compareAndSet(this, doubleToRawLongBits(expect), doubleToRawLongBits(update));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test partial update")
        void testPartialUpdate() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    
            // Update with partial data
            digest.update(data, 2, 4); // Only update with bytes at index 2-5
            byte[] result = digest.digest();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K 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/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #createIndexIfNothing()}: Creates a new index if no index exists.</li>
     *   <li>{@link #createNextIndex()}: Creates a new index and replaces the current update alias with the new index.</li>
     *   <li>{@link #switchIndex()}: Switches the search alias to the current update index.</li>
     *   <li>{@link #removeDisableIndices()}: Removes disabled indices.</li>
     *   <li>{@link #indexer()}: Creates a new SuggestIndexer for indexing suggestions.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            // Create another update for the same item
            CharMappingItem updateItem2 = new CharMappingItem(1L, new String[] { "x", "y" }, "z");
            updateItem2.setNewInputs(new String[] { "p", "q" });
            updateItem2.setNewOutput("r");
    
            // First update should succeed
            charMappingFile.update(updateItem1);
    
            // Second update should fail due to mismatch
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K 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