- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 154 for xargs (0.02 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 = Main().apply { parse(args.toList()) } private fun bodyAsString(body: RequestBody?): String = try { val buffer = Buffer() body!!.writeTo(buffer)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
.build(); Request newRequest = request.newBuilder() .headers(newHeaders) .build(); return chain.proceed(newRequest); } } public static void main(String... args) throws Exception { new CurrentDateHeader().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostString.java
if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostString().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 1.7K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/assemblies/files/fess
properties="$properties -Dfess.${1#--}=$2" shift 2 ;; *) ARGV="$ARGV $1" ; shift esac done # Parse any command line options. args=`getopt vdhp:D:X: $ARGV` eval set -- "$args" while true; do case $1 in -v) "$JAVA" $FESS_JAVA_OPTS $fess_parms -cp "$FESS_CLASSPATH" $props \ org.codelibs.fess.Version exit 0
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 5.4K bytes - Viewed (0) -
okhttp/src/jvmMain/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
this.map = map; this.setUpRan = setUpRan; } @Override public Object invoke(Object target, Method method, Object[] args) throws Throwable { assertTrue("setUp should have run", setUpRan.get()); try { return method.invoke(map, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw newLinkageError(e);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new Authenticate().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
.url(server.url("/")) .build()); Response response = call.execute(); System.out.println(response.handshake().tlsVersion()); } public static void main(String... args) throws Exception { new HttpsServer().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 02 14:04:37 UTC 2023 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0)