- Sort Score
- Result 10 results
- Languages All
Results 2231 - 2240 of 3,181 for code2 (0.04 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) -
CHANGELOG/CHANGELOG-1.20.md
- [Introducing <code>RootCAConfigMap</code>](#introducing-rootcaconfigmap) - [<code>kubectl debug</code> graduates to Beta](#kubectl-debug-graduates-to-beta) - [Removing deprecated flags in kubeadm](#removing-deprecated-flags-in-kubeadm) - [Pod Hostname as FQDN graduates to Beta](#pod-hostname-as-fqdn-graduates-to-beta)
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Jan 19 21:05:45 UTC 2022 - 409K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
Version string `json:"version"` // Version of the current `xl.meta`. Format string `json:"format"` // Format of the current `xl.meta`. Stat StatInfo `json:"stat"` // Stat of the current object `xl.meta`. // Erasure coded info for the current object `xl.meta`. Erasure ErasureInfo `json:"erasure"` // MinIO release tag for current object `xl.meta`. Minio struct { Release string `json:"release"` } `json:"minio"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0)