Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 434 for results (0.25 sec)

  1. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

        public List<@Nullable V> combine(List<@Nullable Present<V>> values) {
          List<@Nullable V> result = newArrayListWithCapacity(values.size());
          for (Present<V> element : values) {
            result.add(element != null ? element.value : null);
          }
          return unmodifiableList(result);
        }
      }
    
      /** The result of a successful {@code Future}. */
      private static final class Present<V extends @Nullable Object> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DiscreteDomain.java

          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
          return result;
        }
    
        @Override
        public long distance(Long start, Long end) {
          long result = end - start;
          if (end > start && result < 0) { // overflow
            return Long.MAX_VALUE;
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

        super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  6. .github/workflows/scorecard.yml

          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
          - name: "Upload artifact"
            uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
            with:
              name: SARIF file
              path: results.sarif
              retention-days: 5
    
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <p>The definition of the kth q-quantile of N values is as follows: define x = k * (N - 1) / q; if
     * x is an integer, the result is the value which would appear at index x in the sorted dataset
     * (unless there are {@link Double#NaN NaN} values, see below); otherwise, the result is the average
     * of the values which would appear at the indexes floor(x) and ceil(x) weighted by (1-frac(x)) and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

      private Multisets() {}
    
      /**
       * Returns a {@code Collector} that accumulates elements into a multiset created via the specified
       * {@code Supplier}, whose elements are the result of applying {@code elementFunction} to the
       * inputs, with counts equal to the result of applying {@code countFunction} to the inputs.
       * Elements are added in encounter order.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *
       * @param function A Function to transform the results of this future to the results of the
       *     returned future.
       * @param executor Executor to run the function in.
       * @return A future that holds result of the transformation.
       */
      public final <T extends @Nullable Object> FluentFuture<T> transform(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

        super(ImmutableMap.<Object, ImmutableSet<Object>>of(), 0, null);
      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
Back to top