Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 185 for TAG (0.01 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        val request =
          Request
            .Builder()
            .url("https://square.com")
            .tag(tag)
            .build()
        assertThat(request.tag()).isSameAs(tag)
        assertThat(request.tag(Any::class.java)).isSameAs(tag)
        assertThat(request.tag(UUID::class.java)).isNull()
        assertThat(request.tag(String::class.java)).isNull()
    
        // Alternate access APIs also work.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  2. tests/multi_primary_keys_test.go

    	Locale     string `gorm:"primary_key"`
    	Subject    string
    	Body       string
    	Tags       []Tag `gorm:"many2many:blog_tags;"`
    	SharedTags []Tag `gorm:"many2many:shared_blog_tags;ForeignKey:id;References:id"`
    	LocaleTags []Tag `gorm:"many2many:locale_blog_tags;ForeignKey:id,locale;References:id"`
    }
    
    type Tag struct {
    	ID     uint   `gorm:"primary_key"`
    	Locale string `gorm:"primary_key"`
    	Value  string
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java

         * @param version The version of the cache record, must not be {@code null}.
         * @param tag The tag of the cache record, must not be {@code null}.
         * @param data The data to store in the cache, must not be {@code null}.
         */
        void put(String groupId, String artifactId, String version, String tag, Object data);
    
        /**
         * Gets the specified data from the cache.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. guava/pom.xml

              <tags>
                <tag>
                  <name>apiNote</name>
                  <placement>X</placement>
                </tag>
                <tag>
                  <name>implNote</name>
                  <placement>X</placement>
                </tag>
                <tag>
                  <name>implSpec</name>
                  <placement>X</placement>
                </tag>
                <tag>
                  <name>jls</name>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 21:36:50 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. schema/index.go

    	for _, value := range strings.Split(field.Tag.Get("gorm"), ";") {
    		if value != "" {
    			v := strings.Split(value, ":")
    			k := strings.TrimSpace(strings.ToUpper(v[0]))
    			if k == "INDEX" || k == "UNIQUEINDEX" {
    				var (
    					name       string
    					tag        = strings.Join(v[1:], ":")
    					idx        = strings.IndexByte(tag, ',')
    					tagSetting = strings.Join(strings.Split(tag, ",")[1:], ",")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 21 02:35:56 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_header_param_models/test_tutorial002.py

        response = client.get(
            "/items/",
            headers=[
                ("save-data", "true"),
                ("if-modified-since", "yesterday"),
                ("traceparent", "123"),
                ("x-tag", "one"),
                ("x-tag", "two"),
            ],
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "host": "testserver",
            "save_data": True,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            }
    
            @Override
            public boolean onJavadocTag(String tag, String value) {
                listener.warning(String.format("Unsupported Javadoc tag '%s'", tag));
                Element element = document.createElement("UNHANDLED-TAG");
                element.appendChild(document.createTextNode(String.format("{@%s %s}", tag, value)));
                nodes.appendChild(element);
                return true;
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java

          .url(HttpUrl.get("https://square.com/"))
          .tag(Integer.class, 5)
          .tag(String.class, "hello")
          .build();
        Call call = client.newCall(request);
    
        assertEquals(5, call.tag(Integer.class));
        assertEquals("hello", call.tag(String.class));
        assertEquals(null, call.tag(Boolean.class));
        assertEquals(null, call.tag(Object.class));
      }
    
      @Test
      public void tagsCanBeComputed() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

      /**
       * Returns the tag attached with [type] as a key, or null if no tag is attached with that key.
       *
       * The tags on a call are seeded from the [request tags][Request.tag]. This set will grow if new
       * tags are computed.
       */
      fun <T : Any> tag(type: KClass<T>): T?
    
      /**
       * Returns the tag attached with [type] as a key, or null if no tag is attached with that key.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. internal/logger/reqinfo.go

    func (r *ReqInfo) SetTags(key, val string) *ReqInfo {
    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	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})
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top