Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 488 for updateFn (0.06 sec)

  1. cmd/update.go

    	// Check if we are in DCOS environment, return
    	// deployment guide for update procedures.
    	if IsDCOS() {
    		return mesosDeploymentDoc
    	}
    
    	// Check if we are in kubernetes environment, return
    	// deployment guide for update procedures.
    	if IsKubernetes() {
    		return kubernetesDeploymentDoc
    	}
    
    	// Check if we are docker environment, return docker update command
    	if IsDocker() {
    		// Construct release tag name.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. tests/update_test.go

    		t.Errorf("failed to return updated age column")
    	}
    }
    
    func TestUpdateWithDiffSchema(t *testing.T) {
    	user := GetUser("update-diff-schema-1", Config{})
    	DB.Create(&user)
    
    	type UserTemp struct {
    		Name string
    	}
    
    	err := DB.Model(&user).Updates(&UserTemp{Name: "update-diff-schema-2"}).Error
    	AssertEqual(t, err, nil)
    	AssertEqual(t, "update-diff-schema-2", user.Name)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      }
    
      /**
       * Atomically updates the element at index {@code i} with the results of applying the given
       * function to the current and given values.
       *
       * @param i the index to update
       * @param x the update value
       * @param accumulatorFunction the accumulator function
       * @return the updated value
       * @since 31.1
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. tests/hooks_test.go

    		t.Fatalf("An error from before update callbacks happened when update with invalid value")
    	}
    
    	if DB.Where("code = ?", "update_callback").First(&Product{}).Error != nil {
    		t.Fatalf("Record Should not be updated due to errors happened in before update callback")
    	}
    
    	if DB.Where("code = ?", "dont_update").First(&Product{}).Error == nil {
    		t.Fatalf("Record Should not be updated due to errors happened in before update callback")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        public synchronized void insert(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final StemmerOverrideItem item) {
            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/apps/v1/generated.proto

      // for updates. During a rolling update, all pods from ordinal Replicas-1 to
      // Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
      // This is helpful in being able to do a canary based deployment. The default value is 0.
      // +optional
      optional int32 partition = 1;
    
      // The maximum number of pods that can be unavailable during the update.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. finisher_api.go

    				}
    			}
    		}
    
    		return tx.Model(dest).Updates(assigns)
    	}
    
    	return tx
    }
    
    // Update updates column with value using callbacks. Reference: https://gorm.io/docs/update.html#Update-Changed-Fields
    func (db *DB) Update(column string, value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = map[string]interface{}{column: value}
    	return tx.callbacks.Update().Execute(tx)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. 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)
Back to top