- Sort Score
- Num 10 results
- Language All
Results 731 - 740 of 2,076 for none (0.14 seconds)
-
cmd/endpoint-ellipses.go
var eps []string for i := 0; ; i++ { for _, node := range endpointsList { if node.nodeName == "" { singleNode = true } if len(node.disks) <= i { stopping = true continue } if stopping { return layout, errors.New("number of disks per node does not match") } eps = append(eps, node.disks[i]) } if stopping { break } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
} public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Long> none = Arrays.<Long>asList(); assertThat(Longs.toArray(none)).isEqualTo(EMPTY); List<Long> one = Arrays.asList(1L); assertThat(Longs.toArray(one)).isEqualTo(ARRAY1); long[] array = {0L, 1L, 0x0FF1C1AL}; List<Long> three = Arrays.asList(0L, 1L, 0x0FF1C1AL);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
} public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Short> none = Arrays.<Short>asList(); assertThat(Shorts.toArray(none)).isEqualTo(EMPTY); List<Short> one = Arrays.asList((short) 1); assertThat(Shorts.toArray(one)).isEqualTo(ARRAY1); short[] array = {(short) 0, (short) 1, (short) 3};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 27.6K bytes - Click Count (0) -
docs/zh-hant/docs/environment-variables.md
import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip 第二個參數是 [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) 的預設回傳值。 如果沒有提供,預設值為 `None`,這裡我們提供 `"World"` 作為預設值。 /// 然後你可以呼叫這個 Python 程式: //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console // 這裡我們還沒有設定環境變數 $ python main.py // 因為我們沒有設定環境變數,所以我們得到的是預設值
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/ja/docs/environment-variables.md
import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip | 豆知識 [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) の第2引数は、返されるデフォルト値です。 指定しない場合、デフォルトは`None`ですが、ここでは使用するデフォルト値として`"World"`を指定しています。 /// 次に、このPythonプログラムを呼び出します。 //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console // ここではまだ環境変数を設定していません $ python main.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 9.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
assertTrue("Expected another permutation, but there was none.", permutations.hasNext()); assertEquals(expectedPermutation, permutations.next()); } private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) { assertFalse("Expected no more permutations, but there was one.", permutations.hasNext()); try { permutations.next();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
} public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Double> none = Arrays.<Double>asList(); assertThat(Doubles.toArray(none)).isEqualTo(EMPTY); List<Double> one = Arrays.asList(1.0); assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1); double[] array = {0.0, 1.0, Math.PI}; List<Double> three = Arrays.asList(0.0, 1.0, Math.PI);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
logger.log(Level.SEVERE, "Error cleaning up after reference.", t); } } } /** * Iterates through the given loaders until it finds one that will load Finalizer. * * @return a {@link Class} for {@link Finalizer} or {@code null} if none of the loaders load it */ private static @Nullable Class<?> loadFinalizer(FinalizerLoader... loaders) { for (FinalizerLoader loader : loaders) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
docs/ko/docs/deployment/docker.md
```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile { #dockerfile } 이제 같은 프로젝트 디렉터리에 다음 내용으로 `Dockerfile` 파일을 만듭니다: ```{ .dockerfile .annotate } # (1)! FROM python:3.14
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 32.6K bytes - Click Count (0) -
internal/config/notify/help.go
Type: "sentence", }, config.HelpKV{ Key: target.KafkaCompressionCodec, Description: "specify compression_codec of the Kafka cluster", Optional: true, Type: "none|snappy|gzip|lz4|zstd", }, config.HelpKV{ Key: target.KafkaCompressionLevel, Description: "specify compression level of the Kafka cluster", Optional: true, Type: "number", },
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 19.2K bytes - Click Count (0)