Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,420 for Update (0.04 sec)

  1. guava/src/com/google/common/hash/MacHashFunction.java

          checkNotDone();
          mac.update(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          checkNotDone();
          mac.update(b, off, len);
        }
    
        @Override
        protected void update(ByteBuffer bytes) {
          checkNotDone();
          checkNotNull(bytes);
          mac.update(bytes);
        }
    
        private void checkNotDone() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. tests/non_std_test.go

    	DB.Save(&animal)
    	updatedAt1 := animal.UpdatedAt
    
    	DB.Save(&animal).Update("name", "Francis")
    	if updatedAt1.Format(time.RFC3339Nano) == animal.UpdatedAt.Format(time.RFC3339Nano) {
    		t.Errorf("UpdatedAt should be updated")
    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    }
    
    // DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
    message DaemonSetUpdateStrategy {
      // Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
      // +optional
      optional string type = 1;
    
      // Rolling update config params. Present only if type = "RollingUpdate".
      // ---
      // TODO: Update this to follow our convention for oneOf, whatever we decide it
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/body-updates.md

    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="32"
    {!> ../../docs_src/body_updates/tutorial002_py310.py!}
    ```
    
    ////
    
    ### ⚙️ Pydantic `update` 🔢
    
    🔜, 👆 💪 ✍ 📁 ♻ 🏷 ⚙️ `.copy()`, & 🚶‍♀️ `update` 🔢 ⏮️ `dict` ⚗ 💽 ℹ.
    
    💖 `stored_item_model.copy(update=update_data)`:
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="35"
    {!> ../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/body-updates.md

    ```Python hl_lines="34"
    {!> ../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ////
    
    ### Использование параметра `update` в Pydantic
    
    Теперь можно создать копию существующей модели, используя `.copy()`, и передать параметр `update` с `dict`, содержащим данные для обновления.
    
    Например, `stored_item_model.copy(update=update_data)`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="33"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. docs/en/docs/management-tasks.md

    ## Dependabot PRs
    
    Dependabot will create PRs to update dependencies for several things, and those PRs all look similar, but some are way more delicate than others.
    
    * If the PR is for a direct dependency, so, Dependabot is modifying `pyproject.toml`, **don't merge it**. 😱 Let me check it first. There's a good chance that some additional tweaks or updates are needed.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 21:56:33 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. clause/set_test.go

    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    			},
    			"UPDATE `users` SET `users`.`id`=?",
    			[]interface{}{1},
    		},
    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    				clause.Set([]clause.Assignment{{clause.Column{Name: "name"}, "jinzhu"}}),
    			},
    			"UPDATE `users` SET `name`=?",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/MessageDigestHashFunction.java

        }
    
        @Override
        protected void update(byte b) {
          checkNotDone();
          digest.update(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          checkNotDone();
          digest.update(b, off, len);
        }
    
        @Override
        protected void update(ByteBuffer bytes) {
          checkNotDone();
          digest.update(bytes);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            indexingHelper.deleteDocumentsByDocId(client, docList);
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(0, ((List<String>) resultMap.get("ids")).size());
    
            docList.add("001");
            indexingHelper.deleteDocumentsByDocId(client, docList);
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(1, ((List<String>) resultMap.get("ids")).size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. tests/scanner_valuer_test.go

    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil {
    		t.Errorf("Should failed to update data with invalid data")
    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("newpass")).Error; err != nil {
    		t.Errorf("Should got no error update data with valid data, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top