Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 2,175 for catch (0.03 sec)

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

          sslContext.init(
            arrayOf<KeyManager>(keyManager),
            arrayOf<TrustManager>(trustManager),
            SecureRandom(),
          )
          sslContext.socketFactory
        } catch (e: GeneralSecurityException) {
          throw AssertionError(e)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/TimeoutTest.java

                throws ConnectionTimeoutException, CIFSException {
            try {
                f.createNewFile();
                assertTrue("Did not see error", false);
            }
            catch ( SmbException e ) {
                if ( e.getCause() instanceof ConnectionTimeoutException ) {
                    long timeout = System.currentTimeMillis() - start;
                    assertTrue(
                        String.format(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  3. cmd/erasure-coding.go

    // erasureSelfTest performs a self-test to ensure that erasure
    // algorithms compute expected erasure codes. If any algorithm
    // produces an incorrect value it fails with a hard error.
    //
    // erasureSelfTest tries to catch any issue in the erasure implementation
    // early instead of silently corrupting data.
    func erasureSelfTest() {
    	// Approx runtime ~1ms
    	var testConfigs [][2]uint8
    	for total := uint8(4); total < 16; total++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

          RangeMap<Integer, Integer> rangeMap = TreeRangeMap.create();
          rangeMap.put(range, 1);
    
          try {
            assertEquals(range, rangeMap.span());
            assertFalse(range.isEmpty());
          } catch (NoSuchElementException e) {
            assertTrue(range.isEmpty());
          }
        }
      }
    
      public void testSpanTwoRanges() {
        for (Range<Integer> range1 : RANGES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Collections2.java

       */
      static boolean safeContains(Collection<?> collection, @CheckForNull Object object) {
        checkNotNull(collection);
        try {
          return collection.contains(object);
        } catch (ClassCastException | NullPointerException e) {
          return false;
        }
      }
    
      /**
       * Delegates to {@link Collection#remove}. Returns {@code false} if the {@code remove} method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

                });
                saveInfo(messages -> messages.addSuccessSendTestmail(GLOBAL));
                updateProperty(Constants.NOTIFICATION_TO_PROPERTY, form.notificationTo);
                systemProperties.store();
            } catch (final Exception e) {
                logger.warn("Failed to send a test mail.", e);
                saveError(messages -> messages.addErrorsFailedToSendTestmail(GLOBAL));
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacLogonInfo.java

                this.groupSids = new SID[groups.length];
                for ( int i = 0; i < groups.length; i++ ) {
                    this.groupSids[ i ] = new SID(domainId, groups[ i ].getId());
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed PAC", e);
            }
        }
    
    
        public Date getLogonTime () {
            return this.logonTime;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      //   list of labels in the path split by the '/' separator. A request is a
      //   match for path p if every p is an element-wise prefix of p of the
      //   request path. Note that if the last element of the path is a substring
      //   of the last element in request path, it is not a match (e.g. /foo/bar
      //   matches /foo/bar/baz, but does not match /foo/barbaz).
      // * ImplementationSpecific: Interpretation of the Path matching is up to
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

       *   domainName = InternetDomainName.from(name);
       * } catch (IllegalArgumentException e) {
       *   domainName = DEFAULT_DOMAIN;
       * }
       * }</pre>
       *
       * @since 8.0 (previously named {@code isValidLenient})
       */
      public static boolean isValid(String name) {
        try {
          InternetDomainName unused = from(name);
          return true;
        } catch (IllegalArgumentException e) {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         // Give the services 5 seconds to stop to ensure that we are responsive to shutdown
     *         // requests.
     *         try {
     *           manager.stopAsync().awaitStopped(5, TimeUnit.SECONDS);
     *         } catch (TimeoutException timeout) {
     *           // stopping timed out
     *         }
     *       }
     *     });
     *     manager.startAsync();  // start all the services asynchronously
     *   }
     * }
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top