- Sort Score
- Result 10 results
- Languages All
Results 2191 - 2200 of 3,823 for code (0.02 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
url = "https://api.github.com/markdown/raw".toHttpUrl(), body = requestBody, ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
/** * Utility {@link Weigher} implementations intended for use in testing. * * @author Charles Fry */ public class TestingWeighers { /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */ static Weigher<Object, Object> constantWeigher(int constant) { return new ConstantWeigher(constant); } /** Returns a {@link Weigher} that uses the integer key as the weight. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java
import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; /** * Benchmarks for the non-rounding methods of {@code LongMath}. * * @author Louis Wasserman */ public class LongMathBenchmark { private static final int[] exponents = new int[ARRAY_SIZE]; private static final int[] factorialArguments = new int[ARRAY_SIZE];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CollectionFuture.java
for (Present<V> element : values) { result.add(element != null ? element.value : null); } return unmodifiableList(result); } } /** The result of a successful {@code Future}. */ private static final class Present<V extends @Nullable Object> { @ParametricNullness final V value; Present(@ParametricNullness V value) { this.value = value; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 3.9K bytes - Viewed (0) -
helm/minio/templates/_helper_create_bucket.txt
fi sleep 2 # 1 second intervals between attempts $MC_COMMAND STATUS=$? done set -e # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jan 12 18:18:57 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
List<String> list = transform(fromList, SOME_FUNCTION); assertTransformIterator(list); } /** * This test depends on the fact that {@code AbstractSequentialList.iterator} transforms the * {@code iterator()} call into a call on {@code listIterator(int)}. This is fine because the * behavior is clearly documented so it's not expected to change. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
List<String> list = transform(fromList, SOME_FUNCTION); assertTransformIterator(list); } /** * This test depends on the fact that {@code AbstractSequentialList.iterator} transforms the * {@code iterator()} call into a call on {@code listIterator(int)}. This is fine because the * behavior is clearly documented so it's not expected to change. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
docs/zh/docs/features.md
整个 **FastAPI** 框架就是基于这一点的。任何地方都可以进行自动补全。 你几乎不需要经常回来看文档。 在这里,你的编辑器可能会这样帮助你: * <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a> 中: ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png) * <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a> 中:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
*/ @Override public Exception getException () { return this.exception; } /** * * @return error status code */ @Override public final int getErrorCode () { return getStatus(); } /** * * @return whether signature verification failed */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 7.4K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen.go
package bandwidth // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *BucketBandwidthReport) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001--
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 5.4K bytes - Viewed (0)