Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 525 for args (0.03 sec)

  1. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

         */
        private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";
    
        public static void main(String args[]) {
            System.out.println("- Downloader started");
            File baseDirectory = new File(args[0]);
            System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial008d_an.py

        from docs_src.dependencies.tutorial008d_an import InternalError
    
        with pytest.raises(InternalError) as exc_info:
            client.get("/items/portal-gun")
        assert (
            exc_info.value.args[0] == "The portal gun is too dangerous to be owned by Rick"
        )
    
    
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008d_an import app
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

                    }
                """.trimIndent()
            )
        }
    
        protected
        fun run(vararg args: String) = GradleRunner.create()
            .withProjectDir(projectDir)
            .withTestKitDir(projectDir.resolve("test-kit"))
            .withPluginClasspath()
            .forwardOutput()
            .withArguments(*args)
    
    
        protected
        fun assertChangesProperlyOrdered() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/admin-handlers-pools.go

    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.DecommissionAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	// Legacy args style such as non-ellipses style is not supported with this API.
    	if globalEndpoints.Legacy() {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/guide/GetExample.java

            .url(url)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
        String response = example.run("https://raw.github.com/square/okhttp/master/README.md");
        System.out.println(response);
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

        System.out.println("CLOSE: " + code + " " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        t.printStackTrace();
      }
    
      public static void main(String... args) {
        new WebSocketEcho().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. docs_src/wsgi/tutorial001.py

    from fastapi.middleware.wsgi import WSGIMiddleware
    from flask import Flask, request
    from markupsafe import escape
    
    flask_app = Flask(__name__)
    
    
    @flask_app.route("/")
    def flask_main():
        name = request.args.get("name", "World")
        return f"Hello, {escape(name)} from Flask!"
    
    
    app = FastAPI()
    
    
    @app.get("/v2")
    def read_main():
        return {"message": "Hello World"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue May 09 14:32:00 UTC 2023
    - 443 bytes
    - Viewed (0)
  8. cni/pkg/install/testdata/list.conflist

    {
      "cniVersion": "0.4.0",
      "name": "dbnet",
      "plugins": [
        {
          "type": "bridge",
          "bridge": "cni0",
          "args": {
            "labels" : {
                "appVersion" : "1.0"
            }
          },
          "ipam": {
            "type": "host-local",
            "subnet": "10.1.0.0/16",
            "gateway": "10.1.0.1"
          },
          "dns": {
            "nameservers": [ "10.1.0.1" ]
          }
        },
        {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 01 20:47:54 UTC 2021
    - 494 bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient.Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                Session.class.getClassLoader(),
                                new Class[] {Session.class},
                                (Object proxy, Method method, Object[] args) -> {
                                    if ("getSystemProperties".equals(method.getName())) {
                                        Map<String, String> properties = new HashMap<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top