Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 102 for segment (0.14 sec)

  1. tests/test_router_prefix_with_template.py

    router = APIRouter()
    
    
    @router.get("/users/{id}")
    def read_user(segment: str, id: str):
        return {"segment": segment, "id": id}
    
    
    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 484 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Segment<Object, Object> segment = cache.localCache.segments[0];
        ConcurrentMap<Object, Object> map = cache.asMap();
    
        Object one = new Object();
        assertSame(one, cache.getUnchecked(one));
        assertTrue(segment.recencyQueue.isEmpty());
        assertSame(one, map.get(one));
        assertSame(one, segment.recencyQueue.peek().getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Segment<Object, Object> segment = cache.localCache.segments[0];
        ConcurrentMap<Object, Object> map = cache.asMap();
    
        Object one = new Object();
        assertSame(one, cache.getUnchecked(one));
        assertTrue(segment.recencyQueue.isEmpty());
        assertSame(one, map.get(one));
        assertSame(one, segment.recencyQueue.peek().getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * "/square/okhttp/issues/1486" and decompose into a list of segments like `["square", "okhttp",
     * "issues", "1486"]`.
     *
     * This class offers methods to compose and decompose paths by segment. It composes each path
     * from a list of segments by alternating between "/" and the encoded segment. For example the
     * segments `["a", "b"]` build "/a/b" and the segments `["a", "b", ""]` build "/a/b/".
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                        // don't stop processing in case a future segment explicitly excludes this repo
                    }
                    // check for external:http:*
                    else if (EXTERNAL_HTTP_WILDCARD.equals(repo) && isExternalHttpRepo(originalRepository)) {
                        result = true;
                        // don't stop processing in case a future segment explicitly excludes this repo
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist_edit.jsp

                                        <label for="doc.segment" class="col-sm-3 text-sm-right col-form-label">segment</label>
                                        <div class="col-sm-9">
                                            <la:errors property="doc.segment"/>
                                            <la:text styleId="doc.segment" property="doc.segment" styleClass="form-control"/>
                                        </div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 24.9K bytes
    - Viewed (0)
  7. internal/event/config.go

    	"github.com/minio/minio-go/v7/pkg/set"
    )
    
    // ValidateFilterRuleValue - checks if given value is filter rule value or not.
    func ValidateFilterRuleValue(value string) error {
    	for _, segment := range strings.Split(value, "/") {
    		if segment == "." || segment == ".." {
    			return &ErrInvalidFilterValue{value}
    		}
    	}
    
    	if len(value) <= 1024 && utf8.ValidString(value) && !strings.Contains(value, `\`) {
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                m.appendReplacement(segBuf, StringUtil.EMPTY);
                String segment = segBuf.toString();
                for (int i = 0; i < queries.length; i++) {
                    segment = Pattern.compile(regexQueries[i], Pattern.CASE_INSENSITIVE).matcher(segment).replaceAll(hlQueries[i]);
                }
                buf.append(segment);
                buf.append(m.group(0));
            }
            segBuf.setLength(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/UrlEscapers.java

      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
       * href="https://url.spec.whatwg.org/#syntax-url-path-segment">URL path segments</a>. The returned
       * escaper escapes all non-ASCII characters, even though <a
       * href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/main/resources/crawler/transformer.xml

    		 -->
    		<property name="convertUrlMap">
    			{"feed:" : "http:"}
    		</property>
    		<!-- segment -->
    		<postConstruct name="addFieldRule">
    			<arg>"title"</arg>
    			<arg>"//TITLE"</arg>
    			<arg>true</arg>
    		</postConstruct>
    		<postConstruct name="addFieldRule">
    			<arg>"important_content"</arg>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jan 10 03:35:10 UTC 2019
    - 1.6K bytes
    - Viewed (0)
Back to top