Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for actualUnique (0.2 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSet.java

          return new RegularImmutableSet<E>(uniqueElements, hashCode, table, mask, uniques);
        }
      }
    
      private static boolean shouldTrim(int actualUnique, int expectedUnique) {
        return actualUnique < (expectedUnique >> 1) + (expectedUnique >> 2);
      }
    
      // We use power-of-2 tables, and this is the highest int that's a power of 2
      static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    			}
    		}
    		if found == nil {
    			t.Fatalf("%v: failed to find column type %q", utils.FileWithLineNum(), fieldName)
    		}
    		if actualUnique, ok := found.Unique(); !ok || actualUnique != unique {
    			t.Fatalf("%v: column %q unique should be %v but got %v", utils.FileWithLineNum(), fieldName, unique, actualUnique)
    		}
    	}
    
    	checkIndex := func(t *testing.T, expected []gorm.Index) {
    		indexes, err := DB.Migrator().GetIndexes(table)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top