Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 1,808 for try (0.01 sec)

  1. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                toMinutes = tints[1];
                final String[] values = days.split(",");
                final List<Integer> list = new ArrayList<>();
                for (final String value : values) {
                    try {
                        list.add(Integer.parseInt(value.trim()));
                    } catch (final NumberFormatException e) {}
                }
                this.days = new int[list.size()];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

        // The test uses JDK default SSL Context instead of the Platform provided one
        // as Conscrypt seems to have some differences, we only want to test client side here.
        return try {
          val keyManager =
            newKeyManager(
              null,
              serverCert,
              serverIntermediateCa.certificate,
            )
          val trustManager =
            newTrustManager(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/log/Logger.java

         * </p>
         *
         * @return the logger adapter factory
         */
        protected static LoggerAdapterFactory getLoggerAdapterFactory() {
            // TODO
            try {
                Class.forName("org.apache.commons.logging.LogFactory");
                return new JclLoggerAdapterFactory();
            } catch (final Throwable ignore) {
                return new JulLoggerAdapterFactory();
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                    return fallback.call();
                }
                throw new CircuitBreakerOpenException("Circuit breaker " + name + " is open");
            }
    
            try {
                T result = callable.call();
                onSuccess();
                return result;
            } catch (Exception e) {
                onFailure();
                throw e;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        if (address.hostnameVerifier !== OkHostnameVerifier) return false
        if (!supportsUrl(address.url)) return false
    
        // 4. Certificate pinning must match the host.
        try {
          address.certificatePinner!!.check(address.url.host, handshake()!!.peerCertificates)
        } catch (_: SSLPeerUnverifiedException) {
          return false
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/first-steps.md

    You can also return Pydantic models (you'll see more about that later).
    
    There are many other objects and models that will be automatically converted to JSON (including ORMs, etc). Try using your favorite ones, it's highly probable that they are already supported.
    
    ## Recap { #recap }
    
    * Import `FastAPI`.
    * Create an `app` instance.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

         *
         * @throws CIFSException if there is an error during initialization
         */
        protected void initDefaults() throws CIFSException {
    
            try {
                "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
            } catch (final UnsupportedEncodingException uee) {
                throw new CIFSException(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ClosingFuture.java

        }
      }
    
      private static void closeQuietly(@Nullable AutoCloseable closeable, Executor executor) {
        if (closeable == null) {
          return;
        }
        try {
          executor.execute(
              () -> {
                try {
                  closeable.close();
                } catch (Exception e) {
                  /*
                   * In guava-jre, any kind of Exception may be thrown because `closeable` has type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        Boolean expectedResult = null;
        RuntimeException expectedRuntimeException = null;
        try {
          expectedResult = expected.apply(input);
        } catch (RuntimeException e) {
          expectedRuntimeException = e;
        }
    
        Boolean actualResult = null;
        RuntimeException actualRuntimeException = null;
        try {
          actualResult = actual.apply(input);
        } catch (RuntimeException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        final Lock lock;
    
        LockingThread(Lock lock) {
          this.lock = lock;
        }
    
        @Override
        public void run() {
          lock.lock();
          try {
            locked.countDown();
            finishLatch.await(1, MINUTES);
          } catch (InterruptedException e) {
            fail(e.toString());
          } finally {
            lock.unlock();
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top