Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for uniqueindex (0.05 seconds)

  1. tests/migrate_test.go

    		}
    		if field.UniqueIndex != uniqueIndex {
    			t.Fatalf("%v: %q column %q uniqueIndex should be %v but got %v", utils.FileWithLineNum(), stmt.Schema, fieldName, uniqueIndex, field.UniqueIndex)
    		}
    	}
    
    	type ( // not unique
    		UniqueStruct1 struct {
    			Name string `gorm:"size:10"`
    		}
    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)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        ImmutableMap<Integer, String> outputMap =
            Maps.uniqueIndex(INT_TO_STRING_MAP.values(), Functions.forMap(INT_TO_STRING_MAP.inverse()));
        assertEquals(INT_TO_STRING_MAP, outputMap);
      }
    
      public void testUniqueIndexIterable() {
        ImmutableMap<Integer, String> outputMap =
            Maps.uniqueIndex(
                new Iterable<String>() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
Back to Top