- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 270 for Tags (0.01 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
*/ internal sealed class Tags { /** * Returns a tags instance that maps [key] to [value]. If [value] is null, this returns a tags * instance that does not have any mapping for [key]. */ abstract fun <T : Any> plus( key: KClass<T>, value: T?, ): Tags abstract operator fun <T : Any> get(key: KClass<T>): T? } /** An empty tags. This is always the tail of a [LinkedTags] chain. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:37:46 UTC 2025 - 3.9K bytes - Viewed (0) -
tests/multi_primary_keys_test.go
t.Fatalf("Blog should has three tags after Append") } if count := DB.Model(&blog).Association("Tags").Count(); count != 3 { t.Fatalf("Blog should has 3 tags after Append, got %v", count) } var tags []Tag DB.Model(&blog).Association("Tags").Find(&tags) if !compareTags(tags, []string{"tag1", "tag2", "tag3"}) { t.Fatalf("Should find 3 tags") } var blog1 Blog DB.Preload("Tags").Find(&blog1)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 13.1K bytes - Viewed (0) -
internal/logger/reqinfo.go
defer r.Unlock() // Search of tag key already exists in tags var updated bool for _, tag := range r.tags { if tag.Key == key { tag.Val = val updated = true break } } if !updated { // Append to the end of tags list r.tags = append(r.tags, KeyVal{key, val}) } return r } // GetTags - returns the user defined tags func (r *ReqInfo) GetTags() []KeyVal { if r == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 4.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt
.plus(Boolean::class, null) assertThat(tags).isEqualTo(EmptyTags) assertThat(tags.toString()).isEqualTo("{}") } @Test fun removeAbsentFromEmpty() { val tags = EmptyTags.plus(String::class, null) assertThat(tags).isEqualTo(EmptyTags) assertThat(tags.toString()).isEqualTo("{}") } @Test fun removeAbsentFromNonEmpty() { val tags = EmptyTags
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:37:46 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
List<String> fields = new ArrayList<>(); fields.add("field1"); List<String> tags = new ArrayList<>(); tags.add("tag1"); List<String> roles = new ArrayList<>(); roles.add("role1"); elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles); // Check that we get the same references assertTrue(readings == elevateWord.getReadings());
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/en/docs/tutorial/metadata.md
/// tip You don't have to add metadata for all the tags that you use. /// ### Use your tags { #use-your-tags } Use the `tags` parameter with your *path operations* (and `APIRouter`s) to assign them to different tags: {* ../../docs_src/metadata/tutorial004_py39.py hl[21,26] *} /// info Read more about tags in [Path Operation Configuration](path-operation-configuration.md#tags){.internal-link target=_blank}. ///
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
"limit": 10, "offset": 5, "order_by": "updated_at", "tags": ["tag1", "tag2"], }, ) assert response.status_code == 200 assert response.json() == { "limit": 10, "offset": 5, "order_by": "updated_at", "tags": ["tag1", "tag2"], } def test_query_param_model_defaults(client: TestClient):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.8K bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial002b_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 323 bytes - Viewed (0) -
tests/test_tutorial/test_body_updates/test_tutorial002.py
"price": 50.2, "tax": 10.5, "tags": [], } def test_patch_all(client: TestClient): response = client.patch( "/items/foo", json={ "name": "Fooz", "description": "Item description", "price": 3, "tax": 10.5, "tags": ["tag1", "tag2"], }, ) assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7.1K bytes - Viewed (0)