- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for base64_url (0.12 sec)
-
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
public class BaseEncodingBenchmark { private static final int INPUTS_COUNT = 0x1000; private static final int INPUTS_MASK = 0xFFF; enum EncodingOption { BASE64(BaseEncoding.base64()), BASE64_URL(BaseEncoding.base64Url()), BASE32(BaseEncoding.base32()), BASE32_HEX(BaseEncoding.base32Hex()), BASE16(BaseEncoding.base16()); final BaseEncoding encoding; EncodingOption(BaseEncoding encoding) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
*/ public static BaseEncoding base64() { return BASE64; } private static final BaseEncoding BASE64_URL = new Base64Encoding( "base64Url()", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_", '='); /** * The "base64url" encoding specified by <a * href="http://tools.ietf.org/html/rfc4648#section-5">RFC 4648 section 5</a>, Base 64 Encoding
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 41.8K bytes - Viewed (0) -
cmd/erasure-multipart.go
readDirFn(pathJoin(drivePath, minioMetaMultipartBucket, shaDir), func(uploadIDDir string, typ os.FileMode) error { uploadIDPath := pathJoin(shaDir, uploadIDDir) var modTime time.Time // Upload IDs are of the form base64_url(<UUID>x<UnixNano>), we can extract the time from the UUID. if b64, err := base64.RawURLEncoding.DecodeString(uploadIDDir); err == nil { if split := strings.Split(string(b64), "x"); len(split) == 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
} public void testBase64Url() { testDecodesByBytes(base64Url(), "_zzz", new byte[] {-1, 60, -13}); testDecodesByBytes(base64Url(), "-zzz", new byte[] {-5, 60, -13}); } public void testBase64UrlInvalidDecodings() { assertFailsToDecode(base64Url(), "+zzz", "Unrecognized character: +"); assertFailsToDecode(base64Url(), "/zzz", "Unrecognized character: /"); } public void testBase32() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py
def test_middleware(): client = TestClient(app, base_url="http://example.com") response = client.get("/") assert response.status_code == 200, response.text client = TestClient(app, base_url="http://subdomain.example.com") response = client.get("/") assert response.status_code == 200, response.text client = TestClient(app, base_url="http://invalidhost") response = client.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 570 bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
} public void testBase64Url() { testDecodesByBytes(base64Url(), "_zzz", new byte[] {-1, 60, -13}); testDecodesByBytes(base64Url(), "-zzz", new byte[] {-5, 60, -13}); } public void testBase64UrlInvalidDecodings() { assertFailsToDecode(base64Url(), "+zzz", "Unrecognized character: +"); assertFailsToDecode(base64Url(), "/zzz", "Unrecognized character: /"); } public void testBase32() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
assertThat(encoded).isEqualTo("AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ") } private fun encodeQuery( host: String, type: Int, ): String { return DnsRecordCodec.encodeQuery(host, type).base64Url().replace("=", "") } @Test fun testGoogleDotComEncodingWithIPv6() { val encoded = encodeQuery("google.com", TYPE_AAAA) assertThat(encoded).isEqualTo("AAABAAABAAAAAAAABmdvb2dsZQNjb20AABwAAQ") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
docs_src/async_tests/test_main.py
import pytest from httpx import ASGITransport, AsyncClient from .main import app @pytest.mark.anyio async def test_root(): async with AsyncClient( transport=ASGITransport(app=app), base_url="http://test" ) as ac: response = await ac.get("/") assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 30 16:00:41 UTC 2024 - 360 bytes - Viewed (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py
from fastapi.testclient import TestClient from docs_src.advanced_middleware.tutorial001 import app def test_middleware(): client = TestClient(app, base_url="https://testserver") response = client.get("/") assert response.status_code == 200, response.text client = TestClient(app) response = client.get("/", follow_redirects=False) assert response.status_code == 307, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 13 14:26:09 UTC 2022 - 474 bytes - Viewed (0) -
tests/test_custom_swagger_ui_redirect.py
response = client.get("/docs") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "swagger-ui-dist" in response.text print(client.base_url) assert ( f"oauth2RedirectUrl: window.location.origin + '{swagger_ui_oauth2_redirect_url}'" in response.text ) def test_swagger_ui_oauth2_redirect():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Apr 08 04:37:38 UTC 2020 - 1.1K bytes - Viewed (0)