Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1301 - 1310 of 1,633 for Results (0.26 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. guava/src/com/google/common/reflect/TypeResolver.java

          types[i] = resolveType(types[i]);
        }
        return types;
      }
    
      private Type[] resolveTypes(Type[] types) {
        Type[] result = new Type[types.length];
        for (int i = 0; i < types.length; i++) {
          result[i] = resolveType(types[i]);
        }
        return result;
      }
    
      private WildcardType resolveWildcardType(WildcardType type) {
        Type[] lowerBounds = type.getLowerBounds();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/collect/RangeMap.java

      void clear();
    
      /**
       * Removes all associations from this range map in the specified range (optional operation).
       *
       * <p>If {@code !range.contains(k)}, {@link #get(Comparable) get(k)} will return the same result
       * before and after a call to {@code remove(range)}. If {@code range.contains(k)}, then after a
       * call to {@code remove(range)}, {@code get(k)} will return {@code null}.
       */
      void remove(Range<K> range);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher.go

    	// The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
    	// but we have to invoke the K8S client anyway, so to be safe we check it again here to make sure we get the same result.
    	ambientPod, err := s.getPodWithRetry(log, addCmd.PodName, addCmd.PodNamespace)
    	if err != nil {
    		return err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/io/MoreFiles.java

            throw new DirectoryIteratorException(e);
          }
        }
        return ImmutableList.of();
      }
    
      /**
       * Returns a predicate that returns the result of {@link java.nio.file.Files#isDirectory(Path,
       * LinkOption...)} on input paths with the given link options.
       */
      public static Predicate<Path> isDirectory(LinkOption... options) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top