Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2471 - 2480 of 5,478 for newE (0.02 sec)

  1. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

     */
    @NullUnmarked
    public class TestLogHandlerTest extends TestCase {
    
      private TestLogHandler handler;
      private final TearDownStack stack = new TearDownStack();
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        handler = new TestLogHandler();
    
        // You could also apply it higher up the Logger hierarchy than this
        ExampleClassUnderTest.logger.addHandler(handler);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

      private AsyncEventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        executor = new FakeExecutor();
        bus = new AsyncEventBus(executor);
      }
    
      public void testBasicDistribution() {
        StringCatcher catcher = new StringCatcher();
        bus.register(catcher);
    
        // We post the event, but our Executor will not deliver it until instructed.
        bus.post(EVENT);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

            this.longMessage = longMessage;
        }
    
        /**
         * Constructs a new {@code MojoException} wrapping an underlying {@code Throwable}
         * and providing a {@code message}.
         */
        public MojoException(String message, Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new {@code MojoException} providing a {@code message}.
         */
        public MojoException(String message) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

        return evictionCount;
      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
        return new CacheStats(
            max(0, saturatedSubtract(hitCount, other.hitCount)),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheStats.java

        return evictionCount;
      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
        return new CacheStats(
            max(0, saturatedSubtract(hitCount, other.hitCount)),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        return new CollectionTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
              parentBuilder) {
        List<TestSuite> derivedSuites = new ArrayList<>(super.createDerivedSuites(parentBuilder));
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

        /**
         * Create a new filter with the specified scopes and their implied scopes enabled.
         *
         * @param scopes The scopes to enable, along with all implied scopes, may be {@code null}.
         */
        public CumulativeScopeArtifactFilter(Collection<String> scopes) {
            this.scopes = new HashSet<>();
    
            addScopes(scopes);
        }
    
        /**
         * Creates a new filter that combines the specified filters.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            verifyTokenKeep(() -> asListHtml(this::saveToken));
    
            String header = null;
            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
                header = ReaderUtil.readLine(reader);
                if (header == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                    }
                }
            }
        }
    
        public static String formatTimestamp(long timestamp) {
            SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX");
            return sdf.format(new Date(timestamp));
        }
    
        public static String formatDuration(long duration) {
            // CHECKSTYLE_OFF: MagicNumber
            long ms = duration % 1000;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsClickLogBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends ClickLog> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top