Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for endTime (0.09 seconds)

  1. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            configHelper.setReloadInterval(20L);
    
            long startTime = System.currentTimeMillis();
            configHelper.waitForNext();
            long endTime = System.currentTimeMillis();
    
            long elapsed = endTime - startTime;
            assertTrue("Expected at least 15ms sleep, got " + elapsed + "ms", elapsed >= 15);
            // Generous tolerance for CI environments like GitHub Actions
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. internal/bucket/bandwidth/monitor_test.go

    	"time"
    )
    
    const (
    	oneMiB uint64 = 1024 * 1024
    )
    
    func TestMonitor_GetReport(t *testing.T) {
    	type fields struct {
    		activeBuckets map[BucketOptions]*bucketMeasurement
    		endTime       time.Time
    		update2       uint64
    		endTime2      time.Time
    	}
    	start := time.Now()
    	m0 := newBucketMeasurement(start)
    	m0.incrementBytes(0)
    	m1MiBPS := newBucketMeasurement(start)
    	m1MiBPS.incrementBytes(oneMiB)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                            long startTime = System.nanoTime();
                            boolean result = correctAuth.equals(wrongAuth);
                            long endTime = System.nanoTime();
                            timings.add(endTime - startTime);
                            assertFalse(result, "Passwords should not be equal");
                        }
                    });
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/JobLogDbm.java

        //                                                                         ===========
        protected final ColumnInfo _columnEndTime = cci("endTime", "endTime", null, null, Long.class, "endTime", null, false, false, false,
                "Long", 0, 0, null, null, false, null, null, null, null, null, false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                readerThreads[i] = new Thread(() -> {
                    try {
                        startLatch.await(); // Wait for start signal
                        long endTime = System.currentTimeMillis() + testDurationMs;
                        while (System.currentTimeMillis() < endTime) {
                            observations[threadIndex].add(dataStore.alive);
                            Thread.yield(); // Allow other threads to run
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

        @Required
        public String startTime;
    
        /**
         * The timestamp when the job completed execution.
         * This field indicates when the job finished, if it has completed.
         */
        public String endTime;
    
        /**
         * Initializes the form with default null values.
         * This method resets all fields to their default state for creating a new entry.
         */
        public void initialize() {
            id = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/EmptyIteratorTest.java

                    } catch (CIFSException e) {
                        throw new RuntimeException(e);
                    }
                });
            }
    
            long endTime = System.currentTimeMillis();
            long duration = endTime - startTime;
    
            // Then - should complete quickly (this is more of a performance indicator)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                UpgradeResult result = new UpgradeResult(largePomSet, largePomSet, Set.of());
                long endTime = System.currentTimeMillis();
    
                // Performance assertion - should complete within reasonable time
                long duration = endTime - startTime;
                assertTrue(duration < 1000, "UpgradeResult creation should complete within 1 second for 1000 POMs");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog_details.jsp

                                        <tr>
                                            <th><la:message key="labels.joblog_endTime"/></th>
                                            <td>${f:h(endTime)}<la:hidden property="endTime"/></td>
                                        </tr>
                                        <tr>
                                            <th><la:message key="labels.joblog_scriptType"/></th>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                }
            });
            testThread.start();
    
            long startTime = System.currentTimeMillis();
            method.invoke(crawler, testThread);
            long endTime = System.currentTimeMillis();
    
            assertTrue("Thread should have been joined", endTime - startTime >= 100);
        }
    
        // Test destroyContainer private static method via reflection
        @Test
        public void test_destroyContainer() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top