- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 376 for Targs (0.03 sec)
-
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) -
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) -
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) -
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) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
/** The protocol the server selected. */ var selected: String? = null @Throws(Throwable::class) override fun invoke( proxy: Any, method: Method, args: Array<Any>?, ): Any? { val callArgs = args ?: arrayOf<Any?>() val methodName = method.name val returnType = method.returnType if (methodName == "supports" && Boolean::class.javaPrimitiveType == returnType) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
cmd/ftp-server.go
if serverDebugLog { fmt.Printf("%s < %d %s\n", sessionID, code, message) } } func startFTPServer(args []string) { var ( port int publicIP string portRange string tlsPrivateKey string tlsPublicCert string ) var err error for _, arg := range args { tokens := strings.SplitN(arg, "=", 2) if len(tokens) != 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/FessBoot.java
// main // ============ public static void main(final String[] args) { // update java.io.tmpdir final String tempPath = System.getProperty(FESS_TEMP_PATH); if (tempPath != null) { System.setProperty(JAVA_IO_TMPDIR, tempPath); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class); npTester.testAllPublicInstanceMethods(builder); } private static String rootLocaleFormat(String format, Object... args) { return String.format(Locale.ROOT, format, args); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
// Our distinct proxy doesn't work for collections. // So just refuse to generate. return null; } args.add(argValue); } return invokeGeneratorMethod(generate, args.toArray()); } return defaultGenerate(rawType); } private <T> @Nullable T defaultGenerate(Class<T> rawType) { if (rawType.isInterface()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
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)