Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 518 for Argument (0.09 sec)

  1. android/guava/src/com/google/common/collect/Streams.java

       *
       * @since 33.4.0 (but since 21.0 in the JRE flavor)
       */
      public interface FunctionWithIndex<T extends @Nullable Object, R extends @Nullable Object> {
        /** Applies this function to the given argument and its index within a stream. */
        @ParametricNullness
        R apply(@ParametricNullness T from, long index);
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

        @Nonnull
        Instant getStartTime();
    
        /**
         * Gets the directory of the topmost project being built, usually the current directory or the
         * directory pointed at by the {@code -f/--file} command line argument.
         *
         * @return the directory of the topmost project, never {@code null}
         * @see Project#isTopProject()
         * @see #getRootDirectory()
         */
        @Nonnull
        Path getTopDirectory();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/DoubleUtils.java

         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
        return longBitsToDouble(bits);
      }
    
      /** Returns its argument if it is non-negative, zero if it is negative. */
      static double ensureNonNegative(double value) {
        checkArgument(!isNaN(value));
        return max(value, 0.0);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. cmd/typed-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    )
    
    // errInvalidArgument means that input argument is invalid.
    var errInvalidArgument = errors.New("Invalid arguments specified")
    
    // errMethodNotAllowed means that method is not allowed.
    var errMethodNotAllowed = errors.New("Method not allowed")
    
    // errSignatureMismatch means signature did not match.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <h2>Receiving Events</h2>
     *
     * <p>To receive events, an object should:
     *
     * <ol>
     *   <li>Expose a public method, known as the <i>event subscriber</i>, which accepts a single
     *       argument of the type of event desired;
     *   <li>Mark it with a {@link Subscribe} annotation;
     *   <li>Pass itself to an EventBus instance's {@link #register(Object)} method.
     * </ol>
     *
     * <h2>Posting Events</h2>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly maintained
            String message = "Stack trace test";
            Exception cause = new IllegalArgumentException("Invalid argument");
            ScriptEngineException exception = new ScriptEngineException(message, cause);
    
            // Verify stack trace exists
            StackTraceElement[] stackTrace = exception.getStackTrace();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining
            Throwable rootCause = new IllegalArgumentException("Invalid argument");
            Throwable intermediateCause = new RuntimeException("Processing failed", rootCause);
            String message = "Plugin operation failed";
            PluginException exception = new PluginException(message, intermediateCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Equivalence.java

       */
      @ForOverride
      protected abstract int doHash(T t);
    
      /**
       * Returns a new equivalence relation for {@code F} which evaluates equivalence by first applying
       * {@code function} to the argument, then evaluating using {@code this}. That is, for any pair of
       * non-null objects {@code x} and {@code y}, {@code equivalence.onResultOf(function).equivalent(a,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_nestedExceptions() {
            // Test nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid argument");
            Exception middleCause = new RuntimeException("Runtime error", innerCause);
            WebApiException exception = new WebApiException(400, middleCause);
    
            assertEquals(400, exception.getStatusCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top