Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 479 for yargs (0.06 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

          logger.info(String.format("Received response for %s in %.1fms%n%s",
              request.url(), (t2 - t1) / 1e6d, response.headers()));
          return response;
        }
      }
    
      public static void main(String... args) throws Exception {
        new LoggingInterceptors().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  2. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.header("If-Modified-Since")).isEqualTo(
          "Mon, 18 Aug 2014 15:16:06 GMT",
        )
      }
    
      companion object {
        fun fromArgs(vararg args: String): Main {
          return Main().apply {
            parse(args.toList())
          }
        }
    
        private fun bodyAsString(body: RequestBody?): String {
          return try {
            val buffer = Buffer()
            body!!.writeTo(buffer)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

    public class CommonsCliEncryptOptions extends CommonsCliOptions implements EncryptOptions {
        public static CommonsCliEncryptOptions parse(String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
            return new CommonsCliEncryptOptions(Options.SOURCE_CLI, cliManager, cliManager.parse(args));
        }
    
        protected CommonsCliEncryptOptions(String source, CLIManager cliManager, CommandLine commandLine) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. cmd/net_test.go

    					t.Errorf("failed with different error, expected: '%v', found:'%v'.",
    						testCase.expectedErr, err)
    				}
    			}
    		})
    	}
    }
    
    func TestIsHostIP(t *testing.T) {
    	testCases := []struct {
    		args           string
    		expectedResult bool
    	}{
    		{"localhost", false},
    		{"localhost:9000", false},
    		{"example.com", false},
    		{"http://192.168.1.0", false},
    		{"http://192.168.1.0:9000", false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. .github/workflows/pylint-presubmit.yml

            pip install pylint==2.13.9 numpy wheel
        - name: Run PyLint on changed files
          run: |
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. docs/bucket/notifications/README.md

    ```
    KEY:
    notify_amqp[:name]  publish bucket notifications to AMQP endpoints
    
    ARGS:
    url*           (url)       AMQP server endpoint e.g. `amqp://myuser:mypassword@localhost:5672`
    exchange       (string)    name of the AMQP exchange
    exchange_type  (string)    AMQP exchange type
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  7. .github/workflows/check-markdown-links.yml

            with:
              # excluded:
              # - notes.md and notes-templates.md - because they are a part of user guide
              # - Kotlin's Module.md - because it's a part of the Kotlin DSL docs
              args: >
                --no-progress --offline '**/*.md' --include-fragments
                --exclude-path 'platforms/documentation/docs/src/docs/release/notes.md'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 14 07:50:42 UTC 2024
    - 920 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial008c.py

    
    def test_fastapi_error(client: TestClient):
        with pytest.raises(FastAPIError) as exc_info:
            client.get("/items/portal-gun")
        assert "No response object was returned" in exc_info.value.args[0]
    
    
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008c import app
    
        client = TestClient(app, raise_server_exceptions=False)
        response = client.get("/items/portal-gun")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            Object p, Method calledMethod, @Nullable Object[] args) throws Throwable {
          assertEquals(method, calledMethod);
          assertEquals(method + " invoked more than once.", 0, called.get());
          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
          called.getAndIncrement();
          return returnValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. cmd/server-main.go

    				config.EnvEndpoints, os.Getenv(config.EnvEndpoints))
    		}
    	}
    	if v == "" {
    		if !ctx.Args().Present() || ctx.Args().First() == "help" {
    			cli.ShowCommandHelpAndExit(ctx, ctx.Command.Name, 1)
    		}
    		return ctx.Args()
    	}
    	return strings.Fields(v)
    }
    
    func configCommonToSrvCtx(cf config.ServerConfigCommon, ctxt *serverCtxt) {
    	ctxt.RootUser = cf.RootUser
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top