Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 474 for Argument (0.1 sec)

  1. guava/src/com/google/common/base/Enums.java

       * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
       * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any
       * enum constant in the specified enum.
       *
       * @since 16.0
       */
      public static <T extends Enum<T>> Converter<String, T> stringConverter(Class<T> enumClass) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        private static final int FLAGS_REQUEST_OPLOCK = 0x02;
        private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K 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/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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top