Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 127 for Distinct (0.12 sec)

  1. guava/src/com/google/common/collect/TreeMultiset.java

            return node.elemCount;
          }
    
          @Override
          long treeAggregate(@CheckForNull AvlNode<?> root) {
            return (root == null) ? 0 : root.totalCount;
          }
        },
        DISTINCT {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return 1;
          }
    
          @Override
          long treeAggregate(@CheckForNull AvlNode<?> root) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    }
    
    var (
    	sqlLexer = lexer.Must(lexer.Regexp(`(\s+)` +
    		`|(?P<Timeword>(?i)\b(?:YEAR|MONTH|DAY|HOUR|MINUTE|SECOND|TIMEZONE_HOUR|TIMEZONE_MINUTE)\b)` +
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                                    .map(Key::toString)
                                    .map(String::trim)
                                    .sorted()
                                    .distinct()
                                    .collect(Collectors.joining("\n - ", " - ", "")));
                }
            }
    
            private <Q> Supplier<Q> getListSupplier(Key<Q> key) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return ObjectArrays.toArrayImpl(this, a);
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return Spliterators.spliterator(this, Spliterator.ORDERED | Spliterator.DISTINCT);
      }
    
      @Override
      public void clear() {
        if (needsAllocArrays()) {
          return;
        }
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashSet.java

        if (needsAllocArrays()) {
          return Spliterators.spliterator(new Object[0], Spliterator.DISTINCT | Spliterator.ORDERED);
        }
        Set<E> delegate = delegateOrNull();
        return (delegate != null)
            ? delegate.spliterator()
            : Spliterators.spliterator(
                requireElements(), 0, size, Spliterator.DISTINCT | Spliterator.ORDERED);
      }
    
      @Override
      public void forEach(Consumer<? super E> action) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

     *       hand, is multiple-use, and does implement {@link Iterable}.
     *   <li>Streams offer many features not found here, including {@code min/max}, {@code distinct},
     *       {@code reduce}, {@code sorted}, the very powerful {@code collect}, and built-in support for
     *       parallelizing stream operations.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
        }
      }
    
      /**
       * Returns the expected number of distinct elements given the specified elements. The number of
       * distinct elements is only computed if {@code elements} is an instance of {@code Multiset};
       * otherwise the default value of 11 is returned.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
        }
      }
    
      /**
       * Returns the expected number of distinct elements given the specified elements. The number of
       * distinct elements is only computed if {@code elements} is an instance of {@code Multiset};
       * otherwise the default value of 11 is returned.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        assertEquals("[]", new AtomicDoubleArray(0).toString());
        assertEquals("[]", new AtomicDoubleArray(new double[0]).toString());
      }
    
      /** compareAndSet treats +0.0 and -0.0 as distinct values */
      public void testDistinctZeros() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          assertFalse(aa.compareAndSet(i, -0.0, 7.0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser_test.go

    			t.Fatalf("%d: %v", i, err)
    		}
    
    		// repr.Println(s, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    }
    
    func TestSqlLexerArithOps(t *testing.T) {
    	s := bytes.NewBuffer([]byte("year from select month hour distinct"))
    	lex, err := sqlLexer.Lex(s)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tokens, err := lexer.ConsumeAll(lex)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(tokens) != 7 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top