Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 150 for distinct (0.28 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_absent() {
        int distinct = getMultiset().elementSet().size();
        assertEquals("multiset.remove(absent, 0) didn't return 0", 0, getMultiset().remove(e3(), 2));
        assertEquals(distinct, getMultiset().elementSet().size());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

                // Optimization to skip streaming, distincting, and collecting to a new list when there is zero or one
                // project, aka there can't be duplicates.
                return filtered;
            }
    
            // Distinct the projects to avoid duplicates.  Duplicates are possible in multi-module projects.
            //
            // Given a scenario where there is an aggregate POM with modules A, B, C, D, and E and project E depends on
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * distinct values for equality testing, use {@link #setDistinctValues} instead.
       */
      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDefault(Class<T> type, T value) {
        nullPointerTester.setDefault(type, value);
        defaultValues.putInstance(type, value);
        return this;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        List<E> tail = list.subList(1, size);
        assertTrue(copy.contains(list.get(0)));
        assertTrue(head.contains(list.get(0)));
        assertTrue(tail.contains(list.get(1)));
        // The following assumes all elements are distinct.
        assertTrue(copy.contains(list.get(size - 1)));
        assertTrue(head.contains(list.get(size - 2)));
        assertTrue(tail.contains(list.get(size - 1)));
        assertFalse(head.contains(list.get(size - 1)));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        List<E> tail = list.subList(1, size);
        assertTrue(copy.contains(list.get(0)));
        assertTrue(head.contains(list.get(0)));
        assertTrue(tail.contains(list.get(1)));
        // The following assumes all elements are distinct.
        assertTrue(copy.contains(list.get(size - 1)));
        assertTrue(head.contains(list.get(size - 2)));
        assertTrue(tail.contains(list.get(size - 1)));
        assertFalse(head.contains(list.get(size - 1)));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. schema/index_test.go

    	Name7        string `gorm:"index:type"`
    	Name8        string `gorm:"index:,length:10;index:,collate:utf8"`
    
    	CompName1 string `gorm:"index:,unique,composite:idx_compname_1,option:NULLS NOT DISTINCT;not null"`
    	CompName2 string `gorm:"index:,composite:idx_compname_1"`
    
    	// Composite Index: Flattened structure.
    	Data0A string `gorm:"index:,composite:comp_id0"`
    	Data0B string `gorm:"index:,composite:comp_id0"`
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/LinkedListMultimap.java

      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new Multimaps.AsMap<>(this);
      }
    
      /**
       * @serialData the number of distinct keys, and then for each distinct key: the first key, the
       *     number of values for that key, and the key's values, followed by successive keys and values
       *     from the entries() ordering
       */
      @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  8. 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
    - 28.1K bytes
    - Click Count (0)
  9. tests/count_test.go

    		t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Table("users").Distinct("name").Count(&count)
    	if !regexp.MustCompile(`SELECT COUNT\(DISTINCT\(.name.\)\) FROM .*users.*`).MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String())
    	}
    
    	var count4 int64
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/TreeMultimap.java

      public NavigableMap<K, Collection<V>> asMap() {
        return (NavigableMap<K, Collection<V>>) super.asMap();
      }
    
      /**
       * @serialData key comparator, value comparator, number of distinct keys, and then for each
       *     distinct key: the key, number of values for that key, and key values
       */
      @GwtIncompatible
      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top