Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,447 for update (0.06 seconds)

  1. docs/ko/docs/tutorial/body-updates.md

    ### Pydantic의 `update` 파라미터 사용하기 { #using-pydantics-update-parameter }
    
    이제 `.model_copy()`를 사용해 기존 모델의 복사본을 만들고, 업데이트할 데이터가 들어있는 `dict`를 `update` 파라미터로 전달할 수 있습니다.
    
    예: `stored_item_model.model_copy(update=update_data)`:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}
    
    ### 부분 업데이트 요약 { #partial-updates-recap }
    
    정리하면, 부분 업데이트를 적용하려면 다음을 수행합니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. tests/association_generics_test.go

    	}
    	AssertAssociationCount(t, user, "Pets", 1, "before update/delete")
    
    	// Update pet name via OpUpdate
    	updOp := clause.Association{Association: "Pets", Type: clause.OpUpdate, Set: []clause.Assignment{{Column: clause.Column{Name: "name"}, Value: "x"}}}
    	if _, err := gorm.G[User](DB).Where("id = ?", user.ID).Set(updOp).Update(ctx); err != nil {
    		t.Fatalf("OpUpdate failed: %v", err)
    	}
    	var got User
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  3. tests/update_has_one_test.go

    		cusUser := CustomizeUser{
    			Name: "update-has-one-associations",
    			Account: CustomizeAccount{
    				Number:  number,
    				Number2: number,
    			},
    		}
    
    		if err := DB.Create(&cusUser).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    		cusUser.Account.Number += "-update"
    		cusUser.Account.Number2 += "-update"
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jul 14 06:55:54 GMT 2022
    - 3.6K bytes
    - Click Count (0)
  4. internal/cachevalue/cache.go

    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    // InitOnce initializes the cache with a TTL and an update function. It is
    // guaranteed to be called only once.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      private @Nullable ByteBuffer scratch;
    
      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
      /** Updates this hasher with the given bytes. */
      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
      protected void update(byte[] b, int off, int len) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 12:40:17 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          return listenersUpdater.getAndSet(future, update);
        }
    
        @Override
        @Nullable Waiter gasWaiters(AbstractFutureState<?> future, Waiter update) {
          return waitersUpdater.getAndSet(future, update);
        }
    
        @Override
        boolean casValue(AbstractFutureState<?> future, @Nullable Object expect, Object update) {
          return valueUpdater.compareAndSet(future, expect, update);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/HMACT64Test.java

            for (int i = key.length; i < 64; i++) {
                ipad[i] = 0x36;
                opad[i] = 0x5c;
            }
    
            md5.update(ipad);
            md5.update(data);
            byte[] innerHash = md5.digest();
    
            md5.reset();
            md5.update(opad);
            md5.update(innerHash);
            byte[] expected = md5.digest();
    
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### 使用 Pydantic 的 `update` 參數 { #using-pydantics-update-parameter }
    
    接著,你可以用 `.model_copy()` 建立現有模型的副本,並傳入含有要更新資料之 `dict` 到 `update` 參數。
    
    例如 `stored_item_model.model_copy(update=update_data)`:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}
    
    ### 部分更新摘要 { #partial-updates-recap }
    
    總結一下,若要套用部分更新,你可以:
    
    *(可選)使用 `PATCH` 取代 `PUT`。
    * 取回已儲存的資料。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                Hexdump.hexdump(log, input, offset, Math.min(len, 256));
                log.flush();
            }
            if (len == 0) {
                return; /* CRITICAL */
            }
            digest.update(input, offset, len);
            updates++;
        }
    
        /**
         * Computes and returns the message digest.
         *
         * @return the computed digest bytes
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. 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:"-"`
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Click Count (0)
Back to Top