Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 714 for passe (0.02 sec)

  1. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         * The query is processed through the filter chain before being parsed.
         *
         * @param query the query string to parse
         * @return the parsed Query object
         * @throws QueryParseException if the query cannot be parsed
         */
        public Query parse(final String query) {
            return filterChain.parse(query);
        }
    
        /**
         * Creates a new Lucene query parser with the current configuration.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

    import kotlin.test.assertFailsWith
    import okhttp3.Protocol
    import okhttp3.internal.http.StatusLine.Companion.parse
    import org.junit.jupiter.api.Test
    
    class StatusLineTest {
      @Test
      fun parse() {
        val message = "Temporary Redirect"
        val version = 1
        val code = 200
        val statusLine = parse("HTTP/1.$version $code $message")
        assertThat(statusLine.message).isEqualTo(message)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params.md

    You can declare path "parameters" or "variables" with the same syntax used by Python format strings:
    
    {* ../../docs_src/path_params/tutorial001.py hl[6:7] *}
    
    The value of the path parameter `item_id` will be passed to your function as the argument `item_id`.
    
    So, if you run this example and go to <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a response of:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. schema/constraint_test.go

    	Name2 string `gorm:"check:name <> 'jinzhu'"`
    	Name3 string `gorm:"check:,name <> 'jinzhu'"`
    }
    
    func TestParseCheck(t *testing.T) {
    	user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user check, got error %v", err)
    	}
    
    	results := map[string]schema.CheckConstraint{
    		"name_checker": {
    			Name:       "name_checker",
    			Constraint: "name <> 'jinzhu'",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertNotNull(parsed.getMechanisms(), "Should parse mechanisms");
                assertEquals(NegTokenInit.INTEGRITY, parsed.getContextFlags(), "Should parse flags");
                assertArrayEquals(new byte[] { 0x42 }, parsed.getMechanismToken(), "Should parse token");
            });
        }
    
        @Test
        @DisplayName("Parse rejects unknown nested token field")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

        val mediaType = parse("text/plain;a=\";charset=utf-8;b=\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testSingleQuotesAreNotSpecial() {
        val mediaType = parse("text/plain;a=';charset=utf-8;b='")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      @Test fun testParseWithSpecialCharacters() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/object-api-options.go

    	if mtimeStr != "" {
    		mtime, err = time.Parse(time.RFC3339Nano, mtimeStr)
    		if err != nil {
    			return opts, fmt.Errorf("Unable to parse %s, failed with %w", xhttp.MinIOSourceMTime, err)
    		}
    	}
    	retaintimeStr := strings.TrimSpace(hdr.Get(xhttp.MinIOSourceObjectRetentionTimestamp))
    	var retaintimestmp time.Time
    	if retaintimeStr != "" {
    		retaintimestmp, err = time.Parse(time.RFC3339, retaintimeStr)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. tests/table_test.go

    	}
    
    	t.Run("default", func(t *testing.T) {
    		db, _ := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{})
    		user, err := schema.Parse(&LongString{}, &sync.Map{}, db.Config.NamingStrategy)
    		if err != nil {
    			t.Fatalf("failed to parse user unique, got error %v", err)
    		}
    
    		constraints := user.ParseUniqueConstraints()
    		if len(constraints) != 1 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("parse sets mechanismToken and flags parsed")
        void parseSetsMechanismToken() throws IOException {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] raw = new byte[] { 5, 6 };
            t.parse(raw);
            assertTrue(t.isParsed(), "parse should mark parsed");
            assertArrayEquals(raw, t.getMechanismToken(), "parse should set mechanismToken");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            String invalidXml = "<?xml version=\"1.0\"?><invalid><test/></invalid>";
    
            try {
                parser.parse(new InputSource(new StringReader(invalidXml)));
                fail("Should throw GsaConfigException");
            } catch (GsaConfigException e) {
                assertEquals("Failed to parse XML file.", e.getMessage());
            }
        }
    
        public void test_parseWithMalformedXml() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top