Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 7,166 for condition (0.12 sec)

  1. chainable_api.go

    //
    // [docs]: https://gorm.io/docs/query.html#Conditions
    func (db *DB) Where(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if conds := tx.Statement.BuildCondition(query, args...); len(conds) > 0 {
    		tx.Statement.AddClause(clause.Where{Exprs: conds})
    	}
    	return
    }
    
    // Not add NOT conditions
    //
    // Not works similarly to where, and has the same syntax.
    //
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. tests/upsert_test.go

    		Name string `gorm:"column:name"`
    	}
    	user := User{ID: 1, Name: "king"}
    	tx := DB.Session(&gorm.Session{DryRun: true}).Save(&user)
    
    	if err := tx.Error; err != nil {
    		t.Fatalf("failed to update user,missing where condition,err=%+v", err)
    	}
    
    	if !regexp.MustCompile("WHERE .id. = [^ ]+$").MatchString(tx.Statement.SQL.String()) {
    		t.Fatalf("invalid updating SQL, got %v", tx.Statement.SQL.String())
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.14.md

    - A new `TaintNodesByCondition` admission plugin taints newly created Node objects as "not ready", to fix a race condition that could cause pods to be scheduled on new nodes before their taints were updated to accurately reflect their reported conditions. This admission plugin is enabled by default if the `TaintNodesByCondition` feature is enabled. ([#73097](https://github.com/kubernetes/kubernetes/pull/73097), [@bsalamat](https:/...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Mon Jun 14 22:06:39 UTC 2021
    - 271.5K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.3.md

    ## Changelog since v1.3.7
    
    ### Other notable changes
    
    * AWS: fix volume device assignment race condition ([#31090](https://github.com/kubernetes/kubernetes/pull/31090), [@justinsb](https://github.com/justinsb))
    
    
    
    # v1.3.7
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Verify.java

     *       (such as by passing an invalid argument), use the utilities of the {@link Preconditions}
     *       class instead.
     *   <li>If checking an <i>impossible</i> condition (which <i>cannot</i> happen unless your own
     *       class or its <i>trusted</i> dependencies is badly broken), this is what ordinary Java
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContextOptions(opts);
    
      TFE_TensorHandle* condition = TestScalarTensorHandle(ctx, true);
      TFE_TensorHandle* t1 = TestMatrixTensorHandle(ctx);
      TFE_TensorHandle* t2 = TestAxisTensorHandle(ctx);
      TFE_Op* assertOp = TFE_NewOp(ctx, "Assert", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(assertOp, condition, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.31.md

    - Delay setting terminal Job conditions until all pods are terminal.
      
      Additionally, the FailureTarget condition is also added to the Job object in the first Job
      status update as soon as the failure conditions are met (backoffLimit is exceeded, maxFailedIndexes, 
      or activeDeadlineSeconds is exceeded).
      
      Similarly, the SuccessCriteriaMet condition is added in the first update as soon as the expected number
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 12:18:32 UTC 2024
    - 315.4K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer.go

    // If some data is available but not len(p) bytes, Read conventionally returns what is available instead of waiting for more.
    // When Read encounters an error or end-of-file condition after successfully reading n > 0 bytes, it returns the number of bytes read.
    // It may return the (non-nil) error from the same call or return the error (and n == 0) from a subsequent call.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       *     been modified, but not always: in the case that {@code expectedOldCount == newCount}, the
       *     method will return {@code true} if the condition was met.
       * @throws IllegalArgumentException if {@code expectedOldCount} or {@code newCount} is negative
       */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. cmd/batch-expire.go

    	"github.com/minio/pkg/v3/env"
    	"github.com/minio/pkg/v3/wildcard"
    	"github.com/minio/pkg/v3/workers"
    	"github.com/minio/pkg/v3/xtime"
    	"gopkg.in/yaml.v3"
    )
    
    // expire: # Expire objects that match a condition
    //   apiVersion: v1
    //   bucket: mybucket # Bucket where this batch job will expire matching objects from
    //   prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
    //   rules:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top