Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 1,836 for result (0.12 sec)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

          // test a random slice() of the ByteSource
          Random random = new Random();
          byte[] expected = factory.getExpected(bytes);
          // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty
          int off = expected.length == 0 ? 0 : random.nextInt(expected.length);
          int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

    import org.apache.maven.api.PathType;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * The result of a dependency resolution request.
     *
     * @since 4.0.0
     * @see DependencyResolver#resolve(DependencyResolverRequest)
     */
    @Experimental
    public interface DependencyResolverResult {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

         * @throws Exception
         */
        @Test
        void testNoAppendUrls3() throws Exception {
            testInheritance("no-append-urls3");
        }
    
        /**
         * Tricky case: flat directory structure, but child directory != artifactId.
         * Model interpolation does not give same result when calculated from build or from repo...
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. cmd/metrics-v3-cache.go

    	"github.com/minio/minio/internal/cachevalue"
    )
    
    // metricsCache - cache for metrics.
    //
    // When serving metrics, this cache is passed to the MetricsLoaderFn.
    //
    // This cache is used for metrics that would result in network/storage calls.
    type metricsCache struct {
    	dataUsageInfo       *cachevalue.Cache[DataUsageInfo]
    	esetHealthResult    *cachevalue.Cache[HealthResult]
    	driveMetrics        *cachevalue.Cache[storageMetrics]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Lists.java

          implements Serializable, RandomAccess {
        @ParametricNullness final E first;
        final E[] rest;
    
        OnePlusArrayList(@ParametricNullness E first, E[] rest) {
          this.first = first;
          this.rest = checkNotNull(rest);
        }
    
        @Override
        public int size() {
          return IntMath.saturatedAdd(rest.length, 1);
        }
    
        @Override
        @ParametricNullness
        public E get(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         * This method creates a new function that caches the results of the original function,
         * improving performance for repeated calls with the same input.
         *
         * @param callback The original function to be memoized. It takes a String as input and returns a String.
         * @return A new {@code Function<String, String>} that caches the results of the original function.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

        @Override
        public String replaceFrom(CharSequence sequence, CharSequence replacement) {
          StringBuilder result = new StringBuilder(sequence.length() * replacement.length());
          for (int i = 0; i < sequence.length(); i++) {
            result.append(replacement);
          }
          return result.toString();
        }
    
        @Override
        public String collapseFrom(CharSequence sequence, char replacement) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      @GwtIncompatible // Math.ulp
      public void testFactorial() {
        for (int i = 0; i <= DoubleMath.MAX_FACTORIAL; i++) {
          double actual = BigIntegerMath.factorial(i).doubleValue();
          double result = DoubleMath.factorial(i);
          assertThat(result).isWithin(Math.ulp(actual)).of(actual);
        }
      }
    
      public void testFactorialTooHigh() {
        assertThat(DoubleMath.factorial(DoubleMath.MAX_FACTORIAL + 1)).isPositiveInfinity();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        // array of indexes to be calculated is modified between the calls to indexes and compute: since
        // the contract is that it is snapshotted, this shouldn't make any difference to the result.
        int[] indexes = {0, 10, 5, 1, 8, 10};
        ScaleAndIndexes intermediate = Quantiles.scale(10).indexes(indexes);
        indexes[0] = 3;
        assertThat(intermediate.compute(SIXTEEN_SQUARES_DOUBLES))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       *
       * Even if no other references to classes from the application class loader remain, the Finalizer
       * thread keeps an indirect strong reference to the queue in ReferenceMap, which keeps the
       * Finalizer running, and as a result, the application class loader can never be reclaimed.
       *
       * This means that dynamically loaded web applications and OSGi bundles can't be unloaded.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top