Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertNull(result[1]);
            assertEquals("b", result[2]);
        }
    
        // Helper method to invoke the private distinct method
        private String[] invokeDistinct(String[] values) {
            try {
                java.lang.reflect.Method method = LdapUser.class.getDeclaredMethod("distinct", String[].class);
                method.setAccessible(true);
                return (String[]) method.invoke(null, (Object) values);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            testData.add(createRelatedQuery("test", new String[] { "updated" }, ""));
            mockBhv.setTestData(testData);
    
            relatedQueryHelper.update();
            // Give a moment for async execution
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                // ignore
            }
    
            results = relatedQueryHelper.getRelatedQueries("test");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

         * @param data the raw PAC logon info buffer data
         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                // Skip firsts
                pacStream.skipBytes(20);
    
                // Dates
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, () -> {
                TestIterator.staticThrowOnOpen = true; // Set flag before constructor
                try {
                    TestIterator.create(tree, parent, "*", null, 0, entry("first"), pages);
                } finally {
                    TestIterator.staticThrowOnOpen = false; // Reset flag
                }
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return HeldCertificate(keyPair, certificate)
        }
    
        private fun decodePkcs8(
          data: ByteString,
          keyAlgorithm: String,
        ): PrivateKey {
          try {
            val keyFactory = KeyFactory.getInstance(keyAlgorithm)
            return keyFactory.generatePrivate(PKCS8EncodedKeySpec(data.toByteArray()))
          } catch (e: GeneralSecurityException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeRangeMap.java

          @Override
          public boolean containsKey(@Nullable Object key) {
            return get(key) != null;
          }
    
          @Override
          public @Nullable V get(@Nullable Object key) {
            try {
              if (key instanceof Range) {
                @SuppressWarnings("unchecked") // we catch ClassCastExceptions
                Range<K> r = (Range<K>) key;
                if (!subRange.encloses(r) || r.isEmpty()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *     value
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static long decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedLong(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
        // return collection::iterator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                }
            }
        }
    
        private void setFieldAccessible(Field field) {
            if (isExceptPrivateAccessible(field)) {
                return;
            }
            try {
                field.setAccessible(true);
            } catch (RuntimeException e) {
                throw new BeanFieldSetAccessibleFailureException(beanClass, field, e);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
Back to top