Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for _argument (0.05 seconds)

  1. src/main/java/org/codelibs/fess/job/PythonJob.java

        }
    
        /**
         * Adds a single command-line argument to pass to the Python script.
         *
         * @param value the argument value to add
         * @return this PythonJob instance for method chaining
         */
        public PythonJob arg(final String value) {
            argList.add(value);
            return this;
        }
    
        /**
         * Adds multiple command-line arguments to pass to the Python script.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. src/test/resources/thumbnail/test_generate_thumbnail.sh

        exit 1
    fi
    
    # Make sure the script is executable
    chmod +x "${GENERATE_THUMBNAIL}"
    
    echo "--- Basic argument tests ---"
    
    # Test: No arguments
    run_test "no arguments" 1 "${GENERATE_THUMBNAIL}"
    
    # Test: Empty command type
    run_test "empty command type" 1 "${GENERATE_THUMBNAIL}" "" "file:/tmp/test" "/tmp/out.png"
    
    # Test: Unsupported command type
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

        }
    
        // Test main method with invalid arguments
        @Test
        public void test_main_invalidArguments() {
            // Cannot directly test main as it calls System.exit
            // Test argument parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            assertNotNull(options);
        }
    
        // Test main method with valid arguments
        @Test
        public void test_main_validArguments() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/BooleanFunction.java

    /**
     * Functional interface for boolean functions.
     * Represents a function that accepts one argument and produces a boolean result.
     * @param <T> the type of the input to the function
     */
    @FunctionalInterface
    public interface BooleanFunction<T> {
        /**
         * Applies this function to the given argument.
         * @param t the function argument
         * @return the function result
         */
        boolean apply(T t);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from non-null generic type argument returning to null returning is breaking`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
                    import java.util.List;
                    public class Source {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  6. architecture/standards/0008-use-nullaway.md

    Avoid writing the so-called `PolyNull` or `ParametricNull` methods (where nullability of the result depends on the nullability of the type argument).
    One particular example is when a [method returns `null` if and only if its argument is `null`](https://github.com/gradle/gradle/blob/674b8430b024f03cae24f1e4dd6dbaa78b557dae/platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java#L163).
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  7. src/main/webapp/js/purify.min.js

    ototype.hasOwnProperty),b=D(RegExp.prototype.test),S=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function D(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function R(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            PythonJob result = pythonJob.filename("test.py");
    
            assertSame(pythonJob, result);
            assertEquals("test.py", pythonJob.filename);
        }
    
        // Test single argument addition
        @Test
        public void test_arg() {
            assertTrue(pythonJob.argList.isEmpty());
    
            PythonJob result = pythonJob.arg("arg1");
    
            assertSame(pythonJob, result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                    case 1:
                        // Success on first call
                        return;
                    case 2:
                        throw new IllegalArgumentException("Invalid argument");
                    case 3:
                        throw new IllegalStateException("Invalid state");
                    case 4:
                        throw new NullPointerException("Null pointer");
                    default:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            Throwable cause = new IllegalArgumentException("Invalid argument");
            GsaConfigException exception = new GsaConfigException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
            assertEquals("Invalid argument", exception.getCause().getMessage());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top