Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for checkIndex (0.07 seconds)

  1. android/guava/src/com/google/common/math/Quantiles.java

       *
       * @since 20.0
       */
      public static final class ScaleAndIndex {
    
        private final int scale;
        private final int index;
    
        private ScaleAndIndex(int scale, int index) {
          checkIndex(index, scale);
          this.scale = scale;
          this.index = index;
        }
    
        /**
         * Computes the quantile value of the given dataset.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Preconditions.java

       * size {@code size}. A position index may range from zero to {@code size}, inclusive.
       *
       * <p><b>Java 9 users:</b> consider using {@link java.util.Objects#checkIndex(index, size)}
       * instead. However, note that {@code checkIndex()} throws {@code IndexOutOfBoundsException} when
       * {@code size} is negative, while this method throws {@code IllegalArgumentException}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

       * size {@code size}. A position index may range from zero to {@code size}, inclusive.
       *
       * <p><b>Java 9 users:</b> consider using {@link java.util.Objects#checkIndex(index, size)}
       * instead. However, note that {@code checkIndex()} throws {@code IndexOutOfBoundsException} when
       * {@code size} is negative, while this method throws {@code IllegalArgumentException}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  4. tests/migrate_test.go

    		checkNotUnique = func(t *testing.T) {
    			checkColumnType(t, "name", false)
    			checkIndex(t, nil)
    		}
    		checkUnique = func(t *testing.T) {
    			checkColumnType(t, "name", true)
    			checkIndex(t, []gorm.Index{uniqueConstraintIndex})
    		}
    		checkUniqueIndex = func(t *testing.T) {
    			checkColumnType(t, "name", true)
    			checkIndex(t, []gorm.Index{uniqueIndex})
    		}
    		checkMyIndex = func(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
Back to Top