Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 748 for invokes (0.29 seconds)

  1. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
        assertTrue(iter.hasNext());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  2. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

              AlpnProvider(names),
            )
          putMethod.invoke(null, sslSocket, alpnProvider)
        } catch (e: InvocationTargetException) {
          throw AssertionError("failed to set ALPN", e)
        } catch (e: IllegalAccessException) {
          throw AssertionError("failed to set ALPN", e)
        }
      }
    
      override fun afterHandshake(sslSocket: SSLSocket) {
        try {
          removeMethod.invoke(null, sslSocket)
        } catch (e: IllegalAccessException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_mermaid.py

        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_mermaid_translated.md")],
        indirect=True,
    )
    def test_translated(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 0, result.output
    
        fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface Parser {
        /**
         * Parses the given ParserRequest to create an {@link InvokerRequest}.
         * This method does interpret tool arguments.
         *
         * @param parserRequest the request containing all necessary information for parsing
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/packaging/common/scripts/postinst

            systemctl daemon-reload
            systemctl restart fess.service || true
    
        elif [ -x /etc/init.d/fess ]; then
            if command -v invoke-rc.d >/dev/null; then
                invoke-rc.d fess stop || true
                invoke-rc.d fess start || true
            else
                /etc/init.d/fess restart || true
            fi
    
        # older suse linux distributions do not ship with systemd
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 3.1K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInvokeDefaultBridgeFilter.groovy

    import javassist.CtBehavior
    
    /**
     * Kotlin 2.2 produces bridge methods for invoke operator functions compiled as JVM default methods.
     */
    class KotlinInvokeDefaultBridgeFilter implements BehaviorFilter {
        @Override
        boolean matches(CtBehavior ctBehavior) {
            return ctBehavior.name.startsWith("access\$invoke\$jd")
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 08 07:03:16 GMT 2025
    - 1K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            fun Int.fooExt() {}
    
            val String.barExt: String
                get() = "bar"
    
            var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/CommonsCliShellOptions.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnsh;
    
    import org.apache.commons.cli.CommandLine;
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.mvnsh.ShellOptions;
    import org.apache.maven.cling.invoker.CommonsCliOptions;
    
    /**
     * Implementation of {@link ShellOptions} (base + shell).
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            Method shutdownMethod = FessCurtainFinallyHook.class.getDeclaredMethod("shutdownCommonsHttpClient");
            shutdownMethod.setAccessible(true);
    
            // Invoke the method
            shutdownMethod.invoke(curtainFinallyHook);
    
            // Method should complete without throwing exceptions to the caller
            assertTrue(true);
        }
    
        // Test behavior when an exception occurs during reflection
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

    import org.jline.utils.Colors;
    import org.jline.utils.OSUtils;
    
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.BAD_OPERATION;
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.CANCELED;
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.OK;
    
    /**
     * The "init" goal.
     */
    @Singleton
    @Named("init")
    public class Init extends InteractiveGoalSupport {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top