Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for giving (5.65 sec)

  1. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        UnicodeEscaper e = new PercentEscaper("%", false);
        assertEquals("foo%7Cbar", e.escape("foo|bar"));
        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        try {
          new PercentEscaper(null, false);
          fail("Expected null pointer exception for null parameter");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        UnicodeEscaper e = new PercentEscaper("%", false);
        assertEquals("foo%7Cbar", e.escape("foo|bar"));
        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        try {
          new PercentEscaper(null, false);
          fail("Expected null pointer exception for null parameter");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/PairedStats.java

            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
      /**
       * Returns a linear transformation giving the best fit to the data according to <a
       * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

      public final double get() {
        return longBitsToDouble(value.get());
      }
    
      /**
       * Sets to the given value.
       *
       * @param newValue the new value
       */
      public final void set(double newValue) {
        long next = doubleToRawLongBits(newValue);
        value.set(next);
      }
    
      /**
       * Eventually sets to the given value.
       *
       * @param newValue the new value
       */
      public final void lazySet(double newValue) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 28 21:00:54 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param q the blocking queue to be drained
       * @param buffer where to add the transferred elements
       * @param numElements the number of elements to be waited for
       * @param timeout how long to wait before giving up, in units of {@code unit}
       * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter
       * @return the number of elements transferred
       * @throws InterruptedException if interrupted while waiting
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollectorRequest.java

            }
    
            /**
             * Sets the direct dependencies. If both a root dependency and direct dependencies are given in the request, the
             * direct dependencies from the request will be merged with the direct dependencies from the root dependency's
             * artifact descriptor, giving higher priority to the dependencies from the request.
             *
             * @param dependencies the direct dependencies, may be {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      }
    
      /**
       * Add a shutdown hook to wait for thread completion in the given {@link ExecutorService service}.
       * This is useful if the given service uses daemon threads, and we want to keep the JVM from
       * exiting immediately on shutdown, instead giving these daemon threads a chance to terminate
       * normally.
       *
       * @param service ExecutorService which uses daemon threads
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
      /**
       * Returns a linear transformation giving the best fit to the data according to <a
       * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
       * creating a lot of compile errors that users would not find to be informative, we're giving in
       * and allowing callers to pass arguments that a nullness checker believes could be null.
       *
       * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks.
       */
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Preconditions.java

       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
       * creating a lot of compile errors that users would not find to be informative, we're giving in
       * and allowing callers to pass arguments that a nullness checker believes could be null.
       *
       * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks.
       */
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top