Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for uniqueindex (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. migrator/migrator.go

    	unique, ok := columnType.Unique()
    	if !ok || field.PrimaryKey {
    		return nil // skip primary key
    	}
    	// By default, ColumnType's Unique is not affected by UniqueIndex, so we don't care about UniqueIndex.
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		// We're currently only receiving boolean values on `Unique` tag,
    		// so the UniqueConstraint name is fixed
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Maps.java

       * @since 10.0
       */
      @CanIgnoreReturnValue
      public static <K, V> ImmutableMap<K, V> uniqueIndex(
          Iterator<V> values, Function<? super V, K> keyFunction) {
        return uniqueIndex(values, keyFunction, ImmutableMap.builder());
      }
    
      private static <K, V> ImmutableMap<K, V> uniqueIndex(
          Iterator<V> values, Function<? super V, K> keyFunction, ImmutableMap.Builder<K, V> builder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Maps.java

       * @since 10.0
       */
      @CanIgnoreReturnValue
      public static <K, V> ImmutableMap<K, V> uniqueIndex(
          Iterator<V> values, Function<? super V, K> keyFunction) {
        return uniqueIndex(values, keyFunction, ImmutableMap.builder());
      }
    
      private static <K, V> ImmutableMap<K, V> uniqueIndex(
          Iterator<V> values, Function<? super V, K> keyFunction, ImmutableMap.Builder<K, V> builder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final <K> ImmutableMap<K, @NonNull E> uniqueIndex(Function<? super E, K> keyFunction) {
        return Maps.uniqueIndex((Iterable<@NonNull E>) getDelegate(), keyFunction);
      }
    
      /**
       * Returns an array containing all of the elements from this fluent iterable in iteration order.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final <K> ImmutableMap<K, @NonNull E> uniqueIndex(Function<? super E, K> keyFunction) {
        return Maps.uniqueIndex((Iterable<@NonNull E>) getDelegate(), keyFunction);
      }
    
      /**
       * Returns an array containing all of the elements from this fluent iterable in iteration order.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  6. 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