Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,529 for scratch (0.04 sec)

  1. guava-tests/test/com/google/common/io/CharSourceTest.java

       */
      private static int runSuppressionFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
      private static CharSource newNormalCharSource() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                }
              };
          Runnable barrierTask =
              new Runnable() {
                @Override
                public void run() {
                  try {
                    barrier.await();
                  } catch (Exception e) {
                    throw new RuntimeException(e);
                  }
                }
              };
          executor.execute(errorTask);
          service.execute(barrierTask); // submit directly to the service
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableBiMap.java

          try {
            checkNoConflictInKeyBucket(key, value, nextInKeyBucket, /* throwIfDuplicateKeys= */ true);
            checkNoConflictInValueBucket(value, entry, nextInValueBucket);
          } catch (BucketOverflowException e) {
            return JdkBackedImmutableBiMap.create(n, entryArray);
          }
          ImmutableMapEntry<K, V> newEntry =
              (nextInValueBucket == null && nextInKeyBucket == null)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                        }
                    } else {
                        context.success("No inference optimizations needed");
                    }
                } catch (Exception e) {
                    context.failure("Failed to apply inference optimizations" + ": " + e.getMessage());
                    errorPoms.add(pomPath);
                } finally {
                    context.unindent();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

            // TODO
            try {
                Class.forName("org.apache.commons.logging.LogFactory");
                return new JclLoggerAdapterFactory();
            } catch (final Throwable ignore) {
                return new JulLoggerAdapterFactory();
            }
        }
    
        /**
         * Constructs an instance.
         *
         * @param clazz
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                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()];
                for (int i = 0; i < list.size(); i++) {
                    this.days[i] = list.get(i);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            }
    
            try {
                T result = callable.call();
                onSuccess();
                return result;
            } catch (Exception e) {
                onFailure();
                throw e;
            }
        }
    
        /**
         * Execute a runnable through the circuit breaker
         *
         * @param runnable the runnable to execute
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JsonExtractor.java

                        extractData.putValues(entry.getKey(), values.toArray(new String[0]));
                    }
                }
    
                return extractData;
            } catch (final IOException e) {
                throw new ExtractException("Failed to parse JSON content", e);
            }
        }
    
        /**
         * Recursively extracts content from JSON nodes.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

          sslContext.init(
            arrayOf<KeyManager>(keyManager),
            arrayOf<TrustManager>(trustManager),
            SecureRandom(),
          )
          sslContext.socketFactory
        } catch (e: GeneralSecurityException) {
          throw AssertionError(e)
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSourceTest.java

       */
      private static int runSuppressionFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
      private static CharSource newNormalCharSource() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top