Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for Tag (0.01 sec)

  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.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertTrue(tag.toString().contains("attrValue=button"));
    
            // Test overwriting values
            tag.setId("new-id");
            tag.setCss("new-class");
            tag.setAttr("role", "link");
            assertTrue(tag.toString().contains("id=new-id"));
            assertTrue(tag.toString().contains("css=new-class"));
            assertTrue(tag.toString().contains("attrName=role"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/PrunedTag.java

        /**
         * Creates a new PrunedTag instance with the specified tag name.
         *
         * @param tag the HTML tag name to match (e.g., "div", "span", "p")
         */
        public PrunedTag(final String tag) {
            this.tag = tag;
        }
    
        /**
         * Checks if this pruned tag configuration matches the given DOM node.
         * The matching is based on tag name, and optionally ID, CSS class, or custom attributes.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

                }
              mutableTags[type] = type.cast(tag)
            }
          }
    
        /** Attaches [tag] to the request using `Object.class` as a key. */
        open fun tag(tag: Any?): Builder = tag(Any::class, tag)
    
        /**
         * Attaches [tag] to the request using [type] as a key. Tags can be read from a
         * request using [Request.tag]. Use null to remove any existing tag assigned for [type].
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  6. src/test/java/jcifs/spnego/NegTokenInitTest.java

            // Tag [3]
            byte[] tokenTag3 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, false, null, null, null);
            NegTokenInit p3 = new NegTokenInit(tokenTag3);
            assertArrayEquals(mic, p3.getMechanismListMIC(), "MIC should be parsed from tag [3]");
        }
    
        @Test
        @DisplayName("Tag [3] MIC with non-OctetString is ignored (no crash)")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            assertTrue(ex.getMessage().contains("Invalid field in kerberos ticket"));
        }
    
        @Test
        @DisplayName("seq ctor: tag 3 with wrong tag class is rejected")
        void sequenceConstructor_ticketTag_wrongClass_throws() {
            // Arrange: minimal valid fields + tag 3 as CONTEXT-SPECIFIC instead of APPLICATION
            ASN1EncodableVector v = new ASN1EncodableVector();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

            request.setSize(size);
            return this;
        }
    
        /**
         * Adds a tag to filter by.
         * @param tag The tag.
         * @return This builder instance.
         */
        public PopularWordsRequestBuilder addTag(final String tag) {
            request.addTag(tag);
            return this;
        }
    
        /**
         * Adds a role to filter by.
         * @param role The role.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/ASN1Util.java

            final int ftag = in.read();
            final int tag = readTagNumber(in, ftag);
            if (tag != expectTag) {
                throw new IOException("Unexpected tag " + tag);
            }
            final int length = readLength(in, limit, false);
            final byte[] content = new byte[length];
            in.read(content);
            return content;
        }
    
        // shamelessly stolen from BC ASN1InputStream
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      }
    
      fun enable() {
        try {
          for ((logger, tag) in knownLoggers) {
            enableLogging(logger, tag)
          }
        } catch (re: RuntimeException) {
          System.err.println("Possibly running android unit test without robolectric")
          re.printStackTrace()
        }
      }
    
      private fun enableLogging(
        logger: String,
        tag: String,
      ) {
        val logger = Logger.getLogger(logger)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top