Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 112 for Distinct (0.24 seconds)

  1. finisher_api.go

    				if tx.Statement.Parse(tx.Statement.Model) == nil {
    					if f := tx.Statement.Schema.LookUpField(dbName); f != nil {
    						dbName = f.DBName
    					}
    				}
    
    				if tx.Statement.Distinct {
    					expr = clause.Expr{SQL: "COUNT(DISTINCT(?))", Vars: []interface{}{clause.Column{Name: dbName}}}
    				} else if dbName != "*" {
    					expr = clause.Expr{SQL: "COUNT(?)", Vars: []interface{}{clause.Column{Name: dbName}}}
    				}
    			}
    		}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

        // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013
        SerializedForm(Multiset<? extends Object> multiset) {
          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
          counts = new int[distinct];
          int i = 0;
          for (Entry<? extends Object> entry : multiset.entrySet()) {
            elements[i] = entry.getElement();
            counts[i] = entry.getCount();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultimap.java

     * source of bugs and confusion.
     *
     * <p><b>Note:</b> every {@link ImmutableMultimap} offers an {@link #inverse} view, so there is no
     * need for a distinct {@code ImmutableBiMultimap} type.
     *
     * <p><a id="iteration"></a>
     *
     * <p><b>Key-grouped iteration.</b> All view collections follow the same iteration order. In all
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Supplier.java

       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
       * <p>Historically, {@code Supplier} instances in this library have implemented this method to
       * recognize certain cases where distinct {@code Supplier} instances would in fact behave
       * identically. However, as code migrates to {@code java.util.function}, that behavior will
       * disappear. It is best not to depend on it.
       */
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

     */
    @GwtCompatible
    abstract class ImmutableMapEntrySet<K, V> extends ImmutableSet.CachingAsList<Entry<K, V>> {
      private static final int SPLITERATOR_CHARACTERISTICS =
          Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.NONNULL | Spliterator.IMMUTABLE;
    
      static final class RegularEntrySet<K, V> extends ImmutableMapEntrySet<K, V> {
        private final transient ImmutableMap<K, V> map;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.primitives.Ints;
    import java.util.Comparator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable sorted multiset with one or more distinct elements.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    @GwtIncompatible
    final class RegularImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Predicate.java

       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
       * <p>Historically, {@code Predicate} instances in this library have implemented this method to
       * recognize certain cases where distinct {@code Predicate} instances would in fact behave
       * identically. However, as code migrates to {@code java.util.function}, that behavior will
       * disappear. It is best not to depend on it.
       */
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 15:22:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/HashBasedTable.java

      }
    
      /**
       * Creates an empty {@code HashBasedTable} with the specified map sizes.
       *
       * @param expectedRows the expected number of distinct row keys
       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/HashBasedTable.java

      }
    
      /**
       * Creates an empty {@code HashBasedTable} with the specified map sizes.
       *
       * @param expectedRows the expected number of distinct row keys
       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. generics.go

    	})
    }
    
    func (c chainG[T]) Set(assignments ...clause.Assigner) SetUpdateOnlyInterface[T] {
    	return c.processSet(assignments...)
    }
    
    func (c chainG[T]) Distinct(args ...interface{}) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Distinct(args...)
    	})
    }
    
    func (c chainG[T]) Group(name string) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Group(name)
    	})
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
Back to Top