Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 635 for pattern1 (0.05 sec)

  1. docs_src/query_params_str_validations/tutorial004_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 335 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingCreator.java

    public class CharMappingCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(CharMappingCreator.class);
    
        /**
         * Constructs a new CharMappingCreator with the mapping file pattern.
         */
        public CharMappingCreator() {
            super("mapping.*\\.txt");
        }
    
        /**
         * Registers this creator with the dictionary manager after construction.
         */
        @PostConstruct
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

         */
        public XpathTransformer() {
            super();
        }
    
        private static final Logger logger = LogManager.getLogger(XpathTransformer.class);
    
        private static final Pattern SPACE_PATTERN = Pattern.compile("\\s+", Pattern.MULTILINE);
    
        /**
         * A map of field rules, where the key is the field name and the value is the XPath expression.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

         * @throws DictionaryException if the input stream cannot be parsed.
         */
        protected void reload(final StemmerOverrideUpdater updater, final InputStream in) {
            final Pattern parsePattern = Pattern.compile("(.*?)\\s*+=>\\s*+(.*?)\\s*+$");
            final List<StemmerOverrideItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

    /**
     */
    public class PluginDescriptor extends ComponentSetDescriptor implements Cloneable {
    
        private static final String LIFECYCLE_DESCRIPTOR = "META-INF/maven/lifecycle.xml";
    
        private static final Pattern PATTERN_FILTER_1 = Pattern.compile("-?(maven|plugin)-?");
    
        private String groupId;
    
        private String artifactId;
    
        private String version;
    
        private String goalPrefix;
    
        private String source;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial004_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[str, None], Query(min_length=3, max_length=50, pattern="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 381 bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog.jsp

                                                                pattern="yyyy-MM-dd'T'HH:mm:ss"/></td>
                                                        <td><c:if test="${data.endTime!=null}">
                                                            <fmt:formatDate value="${fe:date(data.endTime)}"
                                                                            pattern="yyyy-MM-dd'T'HH:mm:ss"/>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 367 bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/AllocInfoTest.java

                    assertEquals(size / 2, allocInfo.getFree());
                }
            }
        }
    
        @Nested
        @DisplayName("Usage Pattern Tests")
        class UsagePatternTests {
    
            @Test
            @DisplayName("Should support percentage calculation pattern")
            void shouldSupportPercentageCalculationPattern() {
                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(1000L, 250L);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/bytes/compare_test.go

    			benchmarkCompareBytesBigUnaligned(b, i)
    		})
    	}
    }
    
    func benchmarkCompareBytesBigBothUnaligned(b *testing.B, offset int) {
    	b.StopTimer()
    	pattern := []byte("Hello Gophers!")
    	b1 := make([]byte, 0, 1<<20+len(pattern))
    	for len(b1) < 1<<20 {
    		b1 = append(b1, pattern...)
    	}
    	b2 := make([]byte, len(b1))
    	copy(b2, b1)
    	b.StartTimer()
    	for j := 0; j < b.N; j++ {
    		if Compare(b1[offset:], b2[offset:]) != 0 {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top