Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 4,617 for New (0.01 sec)

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

      }
    
      public void testIsEmpty_iterable() {
        List<Object> list = new ArrayList<>();
        assertEmpty(list);
        assertEmpty(() -> emptyIterator());
    
        list.add("a");
        try {
          assertEmpty(list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

      }
    
      public void testIsEmpty_iterable() {
        List<Object> list = new ArrayList<>();
        assertEmpty(list);
        assertEmpty(() -> emptyIterator());
    
        list.add("a");
        try {
          assertEmpty(list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            int offset = 45;
            try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) {
                rankFusionProcessor.setSeacher(new TestMainSearcher(allRecordCount));
                rankFusionProcessor.register(new TestSubSearcher(10, 45, 45));
                rankFusionProcessor.init();
    
                if (rankFusionProcessor.search(query, new TestSearchRequestParams(0, pageSize, 0),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        public void test_withComplexCauseChain() {
            // Test with a chain of exceptions
            Exception rootCause = new NullPointerException("Root cause");
            Exception intermediateCause = new IllegalStateException("Intermediate cause", rootCause);
            ScriptEngineException exception = new ScriptEngineException("Top level error", intermediateCause);
    
            assertEquals("Top level error", exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      public void testAwaitClear() {
        WeakReference<Object> ref = new WeakReference<>(new Object());
        GcFinalization.awaitClear(ref);
        assertNull(ref.get());
      }
    
      public void testAwaitDone_finalizationPredicate() {
        WeakHashMap<Object, Object> map = new WeakHashMap<>();
        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(
            new FinalizationPredicate() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put(new LegacyComparable("foo"), new LegacyComparable("f"));
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
        multimap.put(new LegacyComparable("bar"), new LegacyComparable("b"));
        multimap.put(new LegacyComparable("bar"), new LegacyComparable("a"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

        }
    
        public void test_multipleInstancesHaveIndependentSettings() {
            final SuppressErrorReportValve valve1 = new SuppressErrorReportValve();
            final SuppressErrorReportValve valve2 = new SuppressErrorReportValve();
    
            valve1.setShowReport(true);
            valve1.setShowServerInfo(true);
    
            // valve2 should still have default values
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            byte[] dst = new byte[1024];
            int result = response.writeParameterWordsWireFormat(dst, 0);
    
            // The method should write parameter words
            assertTrue(result >= 0, "writeParameterWordsWireFormat should return non-negative value");
        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

        /**
         * Constructs a new ContentLengthHelper.
         */
        public ContentLengthHelper() {
            // Default constructor
        }
    
        /** Default maximum content length set to 10MB */
        protected long defaultMaxLength = 10L * 1024L * 1024L;
    
        /** Map to store maximum content lengths for specific MIME types */
        protected Map<String, Long> maxLengthMap = new HashMap<>();
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

          int expectedOccupiedDepth) {
        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top