Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for strftime (0.48 sec)

  1. tests/test_jsonable_encoder.py

            instance, custom_encoder={safe_datetime: lambda o: o.strftime("%H:%M:%S")}
        )
        assert encoded_instance["dt_field"] == instance["dt_field"].strftime("%H:%M:%S")
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={datetime: lambda o: o.strftime("%H:%M:%S")}
        )
        assert encoded_instance["dt_field"] == instance["dt_field"].strftime("%H:%M:%S")
    
        encoded_instance2 = jsonable_encoder(instance)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                final String sessionId = crawler.execute();
    
                // Wait for crawler to start running with polling
                long startTime = System.currentTimeMillis();
                while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
                    try {
                        Thread.sleep(50);
                    } catch (InterruptedException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/JobLogDbm.java

                false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnStartTime = cci("startTime", "startTime", null, null, Long.class, "startTime", null, false, false,
                false, "Long", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      static void delay(long millis) throws InterruptedException {
        long startTime = System.nanoTime();
        long ns = millis * 1000 * 1000;
        for (; ; ) {
          if (millis > 0L) Thread.sleep(millis);
          else // too short to sleep
          Thread.yield();
          long d = ns - (System.nanoTime() - startTime);
          if (d > 0L) millis = d / (1000 * 1000);
          else break;
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog_details.jsp

                                        <tr>
                                            <th><la:message key="labels.joblog_startTime"/></th>
                                            <td>${f:h(startTime)}<la:hidden property="startTime"/></td>
                                        </tr>
                                        <tr>
                                            <th><la:message key="labels.joblog_endTime"/></th>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            systemHelper.calibrateCpuLoad();
    
            final long startTime = systemHelper.getCurrentTimeAsLong();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                }
            }
    
            final SuggestCreator creator = ComponentUtil.getComponent(SuggestCreator.class);
            final LocalDateTime startTime = LocalDateTime.now();
            int ret = creator.create();
            if (ret == 0) {
                ret = creator.purge(startTime);
            }
            return ret;
        }
    
        private int create() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        long startTime = stopwatch.instant;
        while (permits > 0) {
          int nextPermitsToAcquire = max(1, random.nextInt(permits));
          permits -= nextPermitsToAcquire;
          rateLimiter.acquire(nextPermitsToAcquire);
        }
        rateLimiter.acquire(1); // to repay for any pending debt
        return NANOSECONDS.toMillis(stopwatch.instant - startTime);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        long startTime = stopwatch.instant;
        while (permits > 0) {
          int nextPermitsToAcquire = max(1, random.nextInt(permits));
          permits -= nextPermitsToAcquire;
          rateLimiter.acquire(nextPermitsToAcquire);
        }
        rateLimiter.acquire(1); // to repay for any pending debt
        return NANOSECONDS.toMillis(stopwatch.instant - startTime);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
        TimedWaiterThread(AbstractFuture<?> future, long timeout, TimeUnit unit) {
          this.future = future;
          this.timeout = timeout;
          this.unit = unit;
        }
    
        @Override
        public void run() {
          startTime = System.nanoTime();
          try {
            future.get(timeout, unit);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top