Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for base64_url (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsApi.kt

     */
    package okhttp3.survey.ssllabs
    
    import retrofit2.http.GET
    
    interface SslLabsApi {
      @GET("getClients")
      suspend fun clients(): List<UserAgentCapabilities>
    
      companion object {
        const val BASE_URL = "https://api.ssllabs.com/api/v3/"
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 844 bytes
    - Viewed (0)
  9. docs/en/docs/reference/websockets.md

    ///
    
    ::: fastapi.WebSocket
        options:
            members:
                - scope
                - app
                - url
                - base_url
                - headers
                - query_params
                - path_params
                - cookies
                - client
                - state
                - url_for
                - client_state
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

    ) {
      private val moshi = Moshi.Builder().build()
    
      private val moshiConverterFactory = MoshiConverterFactory.create(moshi)
    
      private val retrofit =
        Retrofit.Builder()
          .baseUrl(SslLabsApi.BASE_URL)
          .addConverterFactory(moshiConverterFactory)
          .callFactory(callFactory)
          .build()
    
      private val sslLabsApi = retrofit.create(SslLabsApi::class.java)
    
      suspend fun clients(): List<Client> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top