Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,444 for scratch (0.09 sec)

  1. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

                while ((line = br.readLine()) != null) {
                    if (line.length() > 0 && !line.startsWith("#")) {
                        list.add(line.trim());
                    }
                }
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to load default badwords.", e);
            }
            defaultWords = list.toArray(new String[list.size()]);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/NullPointerTester.java

           * NullPointerTester tests that they have.
           */
          ignoredMembers.add(Converter.class.getMethod("apply", Object.class));
        } catch (NoSuchMethodException shouldBeImpossible) {
          // OK, fine: If it doesn't exist, then there's chance that we're going to be asked to test it.
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            return Outcome.FAILURE;
          }
        } catch (InvocationTargetException targetException) {
          Throwable actualException = targetException.getTargetException();
          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw new AssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

          try {
            if (!canceled) {
              listener.onOpen(this, response)
              while (!canceled && reader.processNextEvent()) {
              }
            }
          } catch (e: Exception) {
            val exception =
              when {
                canceled -> IOException("canceled", e)
                else -> e
              }
            listener.onFailure(this, exception, response)
            return
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
                    actionListener.accept(new MockHttpURLConnection(new URL(url)));
                } catch (MalformedURLException e) {
                    exceptionListener.accept(e);
                }
            }
        }
    
        class MockHttpURLConnection extends HttpURLConnection {
    
            MockHttpURLConnection(URL u) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayIterator.java

            return index < items.length;
        }
    
        @Override
        public T next() {
            try {
                final T o = items[index];
                index++;
                return o;
            } catch (final IndexOutOfBoundsException e) {
                throw new NoSuchElementException("index=" + index);
            }
        }
    
        @Override
        public void remove() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    fd.markClosed();
                    return 0;
                }
                return resp.getAvailable();
            }
            catch ( SmbException se ) {
                throw seToIoe(se);
            }
        }
    
    
        @Override
        public void close () {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  8. docs/recipes.md

              call.execute().use { response ->
                System.out.printf("%.2f Call was expected to fail, but completed: %s%n",
                    (System.nanoTime() - startNanos) / 1e9f, response)
              }
            } catch (e: IOException) {
              System.out.printf("%.2f Call failed as expected: %s%n",
                  (System.nanoTime() - startNanos) / 1e9f, e)
            }
          }
        ```
    === ":material-language-java: Java"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                        suggester.settings().array().add(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS, field);
                    } catch (final SuggestSettingsException e) {
                        logger.warn("Failed to add {}", field, e);
                    }
                }));
                suggester.createIndexIfNothing();
            } catch (final Exception e) {
                logger.warn("Failed to initialize Suggester.", e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top