Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 708 for two (0.03 sec)

  1. tests/query_test.go

    	}
    
    	DB.Select("*").Where("name LIKE ?", "subquery%").Where("age >= (?)", DB.
    		Select("AVG(age)").Table("users").Where("name LIKE ?", "subquery%")).Find(&users)
    
    	if len(users) != 2 {
    		t.Errorf("Two users should be found, instead found %d", len(users))
    	}
    }
    
    func TestSubQueryWithRaw(t *testing.T) {
    	users := []User{
    		{Name: "subquery_raw_1", Age: 10},
    		{Name: "subquery_raw_2", Age: 20},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  2. tests/update_test.go

    		t.Errorf("should update two records, but got %v", rowsAffected)
    	}
    
    	var results []User
    	if err := DB.Preload("Account").Find(&results, []uint{users[0].ID, users[1].ID}).Error; err != nil {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. internal/ringbuffer/ring_buffer_test.go

    	}
    	// check empty or full
    	if rb.IsEmpty() {
    		t.Fatalf("expect IsEmpty is false but got true")
    	}
    	if rb.IsFull() {
    		t.Fatalf("expect IsFull is false but got true")
    	}
    
    	// read two, empty
    	b, err = rb.ReadByte()
    	if err != nil {
    		t.Fatalf("ReadByte failed: %v", err)
    	}
    	if b != 'b' {
    		t.Fatalf("expect b but got %c. r.w=%d, r.r=%d", b, rb.w, rb.r)
    	}
    	if rb.Length() != 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.35.md

    - Changed kuberc configuration schema. Two new optional fields added to kuberc configuration, `credPluginPolicy` and `credPluginAllowlist`. This is documented in [KEP-3104](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cli/3104-introduce-kuberc/README.md#allowlist-design-details)...
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 17 13:01:55 UTC 2025
    - 228.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

    //   and fills it with error info on failure.
    // * unsigned char is used for booleans (instead of the 'bool' type).
    //   In C++ bool is a keyword while in C99 bool is a macro defined
    //   in stdbool.h. It is possible for the two to be inconsistent.
    //   For example, neither the C99 nor the C++11 standard force a byte
    //   size on the bool type, so the macro defined in stdbool.h could
    //   be inconsistent with the bool keyword in C++. Thus, the use
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  6. RELEASE.md

            thread local variable is used to determine whether `AutoCastVariable`s
            are casted, and those two functions run with a different thread. Note
            this only applies if one of these two functions is called within
            `Layer.call`; if one of those two functions calls `Layer.call`,
            `AutoCastVariable`s will still be casted.
    
    *   `tf.data`:
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

      @VisibleForTesting
      long bitSize() {
        return bits.bitSize();
      }
    
      /**
       * Determines whether a given Bloom filter is compatible with this Bloom filter. For two Bloom
       * filters to be compatible, they must:
       *
       * <ul>
       *   <li>not be the same instance
       *   <li>have the same number of hash functions
       *   <li>have the same bit size
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            ? new RandomAccessWrappedList(key, list, ancestor)
            : new WrappedList(key, list, ancestor);
      }
    
      /**
       * Collection decorator that stays in sync with the multimap values for a key. There are two kinds
       * of wrapped collections: full and subcollections. Both have a delegate pointing to the
       * underlying collection class.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * @since 18.0
       */
      public static Executor directExecutor() {
        return DirectExecutor.INSTANCE;
      }
    
      /**
       * Returns an {@link Executor} that runs each task executed sequentially, such that no two tasks
       * are running concurrently.
       *
       * <p>{@linkplain Executor#execute executed} tasks have a happens-before order as defined in the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  10. cmd/server_test.go

    	// assert the content body for the expected object data.
    	c.Assert(true, bytes.Equal(responseBody, []byte("hello one")))
    
    	// data for new object to be uploaded.
    	buffer2 := bytes.NewReader([]byte("hello two"))
    	objectName = "testObject2"
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buffer2.Len()), buffer2, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
Back to top