Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 601 for esum (0.04 sec)

  1. android/guava/src/com/google/common/primitives/Floats.java

       * float[])}.
       *
       * @since 2.0
       */
      public static Comparator<float[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<float[]> {
        INSTANCE;
    
        @Override
        public int compare(float[] left, float[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Doubles.java

       * double[])}.
       *
       * @since 2.0
       */
      public static Comparator<double[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<double[]> {
        INSTANCE;
    
        @Override
        public int compare(double[] left, double[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Floats.java

       * float[])}.
       *
       * @since 2.0
       */
      public static Comparator<float[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<float[]> {
        INSTANCE;
    
        @Override
        public int compare(float[] left, float[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. tests/sql_builder_test.go

    		t.Error("Raw sql to update records")
    	}
    
    	DB.Exec("update users set age=? where name = ?", gorm.Expr("age * ? + ?", 2, 10), "jinzhu-raw")
    
    	var age int
    	DB.Raw("select sum(age) from users where name = ?", "jinzhu-raw").Scan(&age)
    
    	if age != ((1+10+20)*2 + 30) {
    		t.Errorf("Invalid age, got %v", age)
    	}
    }
    
    func TestRowsWithGroup(t *testing.T) {
    	users := []User{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     * <Double>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code DoubleStream} features (like {@link DoubleStream#sum}) using {@code
     *       stream()} instead of the awkward {@code stream().mapToDouble(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Double>}:
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multiset.java

       * order.
       */
      @Override
      // TODO(kevinb): caveats about equivalence-relation?
      boolean equals(@CheckForNull Object object);
    
      /**
       * Returns the hash code for this multiset. This is defined as the sum of
       *
       * <pre>{@code
       * ((element == null) ? 0 : element.hashCode()) ^ count(element)
       * }</pre>
       *
       * <p>over all distinct elements in the multiset. It follows that a multiset and its entry set
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        `http://` schemes.
    
     *  **RouteDatabase is no longer public API.** OkHttp continues to track which
        routes have failed but this is no exposed in the API.
    
     *  **ResponseSource is gone.** This enum exposed whether a response came from
        the cache, network, or both. OkHttp 2 offers more detail with raw access to
        the cache and network responses in the new `Response` class.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultiset.java

        this.header = new AvlNode<>();
        successor(header, header);
        this.rootReference = new Reference<>();
      }
    
      /** A function which can be summed across a subtree. */
      private enum Aggregate {
        SIZE {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return node.elemCount;
          }
    
          @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.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

            public StatsCounter get() {
              return new SimpleStatsCounter();
            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

              protected void verify(List<Integer> elements) {
                assertEquals(newHashSet(elements), multimap.get("foo"));
              }
            };
    
        tester.test();
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN
      }
    
      private abstract static class CountingSupplier<E> implements Supplier<E>, Serializable {
        int count;
    
        abstract E getImpl();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top