- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 590 for 12 (0.01 seconds)
-
docs/en/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *} ## Set types { #set-types } But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings. And Python has a special data type for sets of unique items, the `set`. Then we can declare `tags` as a set of strings: {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/body-nested-models.md
## Типы множеств { #set-types } Но затем мы подумали и поняли, что теги не должны повторяться, вероятно, это должны быть уникальные строки. И в Python есть специальный тип данных для множеств уникальных элементов — `set`. Тогда мы можем объявить поле `tags` как множество строк: {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 11.5K bytes - Click Count (0) -
tests/scopes_test.go
GetUser("ScopeUser3", Config{}), } DB.Create(&users) var users1, users2, users3 []User DB.Scopes(NameIn1And2).Find(&users1) if len(users1) != 2 { t.Errorf("Should found two users's name in 1, 2, but got %v", len(users1)) } DB.Scopes(NameIn1And2, NameIn2And3).Find(&users2) if len(users2) != 1 { t.Errorf("Should found one user's name is 2, but got %v", len(users2)) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertThat(set.headSet(3)).containsExactly(1, 2).inOrder(); assertThat(set.headSet(4)).containsExactly(1, 2, 3).inOrder(); assertThat(set.headSet(Integer.MAX_VALUE)).containsExactly(1, 2, 3).inOrder(); assertThat(set.headSet(1, true)).containsExactly(1).inOrder(); assertThat(set.headSet(2, true)).containsExactly(1, 2).inOrder(); assertThat(set.headSet(3, true)).containsExactly(1, 2, 3).inOrder();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.6K bytes - Click Count (0) -
docs/erasure/README.md
## What is Erasure Code? Erasure code is a mathematical algorithm to reconstruct missing or corrupted data. MinIO uses Reed-Solomon code to shard objects into variable data and parity blocks. For example, in a 12 drive setup, an object can be sharded to a variable number of data and parity blocks across all the drives - ranging from six data and six parity blocks to ten data and two parity blocks.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/FunnelsTest.java
OutputStream out = Funnels.asOutputStream(sink); byte[] bytes = {1, 2, 3, 4}; out.write(255); out.write(bytes); out.write(bytes, 1, 2); verify(sink).putByte((byte) 255); verify(sink).putBytes(bytes); verify(sink).putBytes(bytes, 1, 2); } public void testSerialization() { assertSame( Funnels.byteArrayFunnel(), SerializableTester.reserialize(Funnels.byteArrayFunnel()));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 6K bytes - Click Count (0) -
tests/test_compat.py
response = client.post("/", json="bar") assert response.status_code == 200, response.text assert response.json() == "bar" response2 = client.post("/", json=[1, 2]) assert response2.status_code == 200, response2.text assert response2.json() == [1, 2] def test_propagates_pydantic2_model_config(): app = FastAPI() class Missing: def __bool__(self): return FalseCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 4.2K bytes - Click Count (0) -
docs/metrics/prometheus/grafana/bucket/minio-bucket.json
"value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 6, "w": 12, "x": 12, "y": 0 }, "id": 53, "options": { "displayMode": "basic", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Aug 04 01:46:49 GMT 2025 - 101.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
checkResult(skipNulls, iterable12, "1-2"); checkResult(skipNulls, iterable123, "1-2-3"); checkResult(J, UNDERREPORTING_SIZE_LIST, "1-2-3"); checkResult(J, OVERREPORTING_SIZE_LIST, "1-2-3"); checkResult(skipNulls, iterableNull1, "1"); checkResult(skipNulls, iterable1Null, "1"); checkResult(skipNulls, iterable1Null2, "1-2"); } public void testUseForNull() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
docs/de/docs/tutorial/body-nested-models.md
## Listen als Felder { #list-fields } Sie können ein Attribut als Kindtyp definieren, zum Beispiel eine Python-`list`. {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} Das bewirkt, dass `tags` eine Liste ist, wenngleich es nichts über den Typ der Elemente der Liste aussagt. ## Listen mit Typ-Parametern als Felder { #list-fields-with-type-parameter }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.6K bytes - Click Count (0)