Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 878 for verifyCn (0.08 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

          return false
        }
        if (signingCert.basicConstraints < minIntermediates) {
          return false // The signer can't have this many intermediates beneath it.
        }
        return try {
          toVerify.verify(signingCert.publicKey)
          true
        } catch (verifyFailed: GeneralSecurityException) {
          false
        }
      }
    
      override fun hashCode(): Int = trustRootIndex.hashCode()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. .github/workflows/ci.yml

          - name: 'Test'
            shell: bash
            run: ./mvnw -B -P!standard-with-extra-repos -Dtoolchain.skip verify -U -Dmaven.javadoc.skip=true -Dsurefire.toolchain.version=${{ matrix.java }} -f $ROOT_POM
          - name: 'Print Surefire reports'
            # Note: Normally a step won't run if the job has failed, but this causes it to
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 01 19:32:55 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/async-tests.md

    Being able to use asynchronous functions in your tests could be useful, for example, when you're querying your database asynchronously. Imagine you want to test sending requests to your FastAPI application and then verify that your backend successfully wrote the correct data in the database, while using an async database library.
    
    Let's look at how we can make that work.
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PacMacTest.java

            verifyNfold("kerberos", 8,
                    new byte[] { (byte) 0x6b, (byte) 0x65, (byte) 0x72, (byte) 0x62, (byte) 0x65, (byte) 0x72, (byte) 0x6f, (byte) 0x73 });
        }
    
        /**
         * Helper method to verify n-fold expansion.
         */
        private void verifyNfold(String input, int outlen, byte[] expected) {
            byte[] result = PacMac.expandNFold(input.getBytes(), outlen);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        }
    
        @Override
        protected Executor executor() {
          transitionStates.add(state());
          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
      private static class DefaultService extends AbstractIdleService {
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      static Thread startThread(Runnable runnable) {
        Thread thread = new Thread(runnable);
        thread.setDaemon(true);
        thread.start();
        return thread;
      }
    
      /**
       * Generates a test case verifying that calling any enterXxx, tryEnterXxx, or waitForXxx method
       * with a guard that doesn't match the monitor produces an IllegalMonitorStateException.
       */
      private static TestCase generateGuardWithWrongMonitorTestCase(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/EncodableTest.java

        void encodeCopiesAndReportsSize(byte[] src, int off, int len, int dstIndex) {
            Encodable enc = new ByteEncodable(src, off, len);
    
            // Destination has guard space to verify non-overwritten regions.
            byte[] dst = new byte[dstIndex + len + 5];
            Arrays.fill(dst, (byte) 0x55);
    
            // Act
            int written = enc.encode(dst, dstIndex);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

         */
        @Resource
        protected MessageManager messageManager;
    
        /**
         * Service for managing API access tokens including validation and authentication.
         * Used to verify token-based authentication for API requests.
         */
        @Resource
        protected AccessTokenService accessTokenService;
    
        /**
         * HTTP servlet request object providing access to request parameters, headers,
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/https/HandlerTest.java

                assertEquals(jcifs.smb1.http.Handler.class, superclass);
                assertEquals(URLStreamHandler.class, superclass.getSuperclass());
            }
    
            @Test
            @DisplayName("Should verify class is final or non-final appropriately")
            void testClassModifiers() {
                // When
                int modifiers = Handler.class.getModifiers();
    
                // Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          delegate.clear();
        }
    
        @Override
        public Collection<V> values() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Collection is also synchronized? */
          return delegate.values();
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.cellSet();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top