- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 885 for headKey (0.1 sec)
-
internal/bucket/bandwidth/reader.go
hdr := r.opts.HeaderSize // remaining header bytes var tokens int // number of tokens to request if hdr > 0 { // available tokens go towards header first if hdr < b { // all of header can be accommodated r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py
assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} @needs_py39 def test_items_bar_with_invalid_token(client: TestClient): response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} @needs_py39
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.9K bytes - Viewed (0) -
cmd/auth-handler_test.go
}, // Test case - 2 // Check for JWT header. { req: &http.Request{ URL: &url.URL{ Host: "127.0.0.1:9000", Scheme: httpScheme, Path: SlashSeparator, }, Header: http.Header{ "Authorization": []string{"Bearer 12313123"}, }, }, authT: authTypeJWT, }, // Test case - 3 // Empty authorization header. { req: &http.Request{ URL: &url.URL{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (List<Integer> contents : SAMPLE_INPUTS) { for (int i = 0; i < 10; i++) { assertEquals( filter((C) createUnfiltered(contents).headSet(i), EVEN), filter(createUnfiltered(contents), EVEN).headSet(i)); } } } @SuppressWarnings("unchecked") public void testTailSet() { for (List<Integer> contents : SAMPLE_INPUTS) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
r := NewReader(bytes.NewReader(b)) type file struct { header *Header content []byte } files := []file{} for { hdr, err := r.Next() if err == io.EOF { break } if err != nil { return } buf := bytes.NewBuffer(nil) if _, err := io.Copy(buf, r); err != nil { continue } files = append(files, file{header: hdr, content: buf.Bytes()}) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py
return client @needs_py310 @pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"User-Agent": "testclient"}), ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}), ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}), ], ) def test(path, headers, expected_status, expected_response, client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch_edit.jsp
<div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp"> <jsp:param name="menuCategoryType" value="crawl"/> <jsp:param name="menuType" value="keyMatch"/> </jsp:include> <div class="content-wrapper"> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/duplicatehost/admin_duplicatehost_edit.jsp
<div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp"> <jsp:param name="menuCategoryType" value="crawl"/> <jsp:param name="menuType" value="duplicateHost"/> </jsp:include> <div class="content-wrapper"> <div class="content-header"> <div class="container-fluid">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 4.3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/systeminfo/admin_systeminfo.jsp
<div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp"> <jsp:param name="menuCategoryType" value="log"/> <jsp:param name="menuType" value="systemInfo"/> </jsp:include> <div class="content-wrapper"> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 4.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap.jsp
<div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp"> <jsp:param name="menuCategoryType" value="crawl"/> <jsp:param name="menuType" value="pathMapping"/> </jsp:include> <div class="content-wrapper"> <div class="content-header"> <div class="container-fluid">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Mar 31 05:47:05 UTC 2020 - 7.4K bytes - Viewed (0)