Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 538 for certify (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

            """.trimIndent(),
          )
        assertThat(verifier.verify("foo.com", session)).isFalse()
        assertThat(verifier.verify("a.foo.com", session)).isFalse()
        assertThat(verifier.verify("bar.com", session)).isFalse()
        assertThat(verifier.verify("a.bar.com", session)).isFalse()
        assertThat(verifier.verify("\u82b1\u5b50.co.jp", session)).isFalse()
        assertThat(verifier.verify("a.\u82b1\u5b50.co.jp", session)).isFalse()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        out.write(b);
    
        verify(hashFunction).newHasher();
        verify(hasher).putByte((byte) b);
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testWrite_putByteArray() throws Exception {
        byte[] buf = new byte[] {'y', 'a', 'm', 's'};
        HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);
        out.write(buf);
    
        verify(hashFunction).newHasher();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FunnelsTest.java

        InOrder inOrder = inOrder(elementFunnel);
        inOrder.verify(elementFunnel).funnel("foo", primitiveSink);
        inOrder.verify(elementFunnel).funnel("bar", primitiveSink);
        inOrder.verify(elementFunnel).funnel("baz", primitiveSink);
        inOrder.verify(elementFunnel).funnel("quux", primitiveSink);
      }
    
      private static void assertNullsThrowException(Funnel<?> funnel) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/VerifyTest.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Verify.verify;
    import static com.google.common.base.Verify.verifyNotNull;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. buildscripts/verify-healing-with-root-disks.sh

    Harshavardhana <******@****.***> 1685077645 -0700
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial006_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, Header, HTTPException
    
    app = FastAPI()
    
    
    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 633 bytes
    - Viewed (0)
  7. docs/sts/client_grants/__init__.py

    # -*- coding: utf-8 -*-
    import json
    # standard.
    import os
    
    import certifi
    # Dependencies
    import urllib3
    from botocore.credentials import CredentialProvider, RefreshableCredentials
    from botocore.exceptions import CredentialRetrievalError
    from dateutil.parser import parse
    
    from .sts_element import STSElement
    
    
    class ClientGrantsCredentialProvider(CredentialProvider):
        """
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

        // These are the methods specified by StandardEntrySet
        verify(map, atLeast(0)).clear();
        verify(map, atLeast(0)).containsKey(any());
        verify(map, atLeast(0)).get(any());
        verify(map, atLeast(0)).isEmpty();
        verify(map, atLeast(0)).remove(any());
        verify(map, atLeast(0)).size();
        verifyNoMoreInteractions(map);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingMapTest.java

        // These are the methods specified by StandardEntrySet
        verify(map, atLeast(0)).clear();
        verify(map, atLeast(0)).containsKey(any());
        verify(map, atLeast(0)).get(any());
        verify(map, atLeast(0)).isEmpty();
        verify(map, atLeast(0)).remove(any());
        verify(map, atLeast(0)).size();
        verifyNoMoreInteractions(map);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

      }
    
      public void testInvalidate() {
        forward.invalidate("key");
        verify(mock).invalidate("key");
      }
    
      public void testRefresh() throws ExecutionException {
        forward.refresh("key");
        verify(mock).refresh("key");
      }
    
      public void testInvalidateAll() {
        forward.invalidateAll();
        verify(mock).invalidateAll();
      }
    
      public void testSize() {
        when(mock.size()).thenReturn(0L);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top