Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,444 for scratch (0.13 sec)

  1. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
          } catch (Throwable t) {
            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              exceptions.add(t);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

                resultData.setData(IOUtils.toByteArray(bis));
                resultData.setEncoding(responseData.getCharSet());
                return resultData;
            } catch (final IOException e) {
                throw new CrawlerSystemException("Could not convert the input stream.", e);
            }
    
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java

            if (StringUtil.isNotBlank(name)) {
                try {
                    return requestManager.getParameter(name).filter(StringUtil::isNotBlank).map(LocaleUtils::toLocale);
                } catch (final Exception e) {
                    logger.debug("Failed to parse a value of {}.", name, e);
                }
            }
            return OptionalObject.empty();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Dns.kt

        val SYSTEM: Dns = DnsSystem()
    
        private class DnsSystem : Dns {
          override fun lookup(hostname: String): List<InetAddress> {
            try {
              return InetAddress.getAllByName(hostname).toList()
            } catch (e: NullPointerException) {
              throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply {
                initCause(e)
              }
            }
          }
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

                callback.onFailure(
                  hostname,
                  UnknownHostException(e.message).apply {
                    initCause(e)
                  },
                )
              }
            },
          )
        } catch (e: Exception) {
          // Handle any errors that might leak out
          // https://issuetracker.google.com/issues/319957694
          callback.onFailure(
            hostname,
            UnknownHostException(e.message).apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 10:07:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null);
            } catch (final Exception e) {
                logger.warn("Failed to request: {}", form.docId, e);
            }
            if (doc == null) {
                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullMissingWhenNullUnsupported(String message) {
        try {
          assertFalse(message, actualContents().contains(null));
        } catch (NullPointerException tolerated) {
          // Tolerated
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

            return stream.findFirst();
          }
        },
        STREAMS_ONLY_ELEMENT {
          @Override
          Object operate(Stream<?> stream) {
            try {
              return stream.collect(onlyElement());
            } catch (IllegalArgumentException | NoSuchElementException e) {
              throw new SkipThisScenarioException();
            }
          }
        },
        STREAMS_FIND_LAST {
          @Override
          Object operate(Stream<?> stream) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SecurityBlob.java

                for ( int i = 0; i < this.b.length; i++ ) {
                    if ( this.b[ i ] != t.b[ i ] ) {
                        return false;
                    }
                }
                return true;
            }
            catch ( Throwable e ) {
                return false;
            }
        }
    
    
        /*
         * (non-Javadoc)
         * 
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                            } else {
                                return false;
                            }
                        } catch (ReflectiveOperationException | SecurityException e) {
                            return false;
                        }
                    })
                    .map(Method::getName)
                    .collect(Collectors.toList());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top