Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 718 for 1000 (0.03 sec)

  1. guava-tests/test/com/google/common/math/IntMathTest.java

        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
        // Then check 1000 deterministic pseudo-random int values.
        Random rand = new Random(1);
        for (int i = 0; i < 1000; i++) {
          int n = rand.nextInt(Integer.MAX_VALUE);
          assertEquals(LongMath.isPrime(n), IntMath.isPrime(n));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (valueSeparator.length() > 0) {
                final String[] values = rolesStr.split(valueSeparator);
                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("role info is expired: {} > {}", time, maxAge);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.lock.withLock {
              TaskRunner.INSTANCE.cancelAll()
            }
            fail<Unit>("Queue still active after 1000 ms")
          }
        }
      }
    
      override fun beforeEach(context: ExtensionContext) {
        testName = context.displayName
    
        beforeEach()
      }
    
      private fun beforeEach() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            }
            if (form.lang != null) {
                final Set<String> langSet = new HashSet<>();
                for (final String lang : form.lang) {
                    if (StringUtil.isNotBlank(lang) && lang.length() < 1000) {
                        if (Constants.ALL_LANGUAGES.equals(lang)) {
                            langSet.clear();
                            break;
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig_edit.jsp

                                                   value="${f:h(numOfThread)}" class="form-control"
                                                   min="1" max="1000">
                                        </div>
                                    </div>
                                    <div class="form-group row">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrudTestBase.java

    import io.restassured.path.json.JsonPath;
    import io.restassured.response.Response;
    
    public abstract class CrudTestBase extends ITBase {
    
        protected static final int NUM = 20;
        protected static final int SEARCH_ALL_NUM = 1000;
    
        private static final Logger logger = LogManager.getLogger(CrudTestBase.class);
    
        // ================
        // Abstract Methods
        // ================
        abstract protected String getNamePrefix();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e);
            }
            final Document document = parser.getDocument();
    
            final StringBuilder buf = new StringBuilder(1000);
            buf.append(getResultDataHeader());
            for (final Map.Entry<String, String> entry : fieldRuleMap.entrySet()) {
                final String path = entry.getValue();
                try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("depth", 1);
            requestBody.put("num_of_thread", 1);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100);
            requestBody.put("available", true);
            requestBody.put("sort_order", 0);
            createWebConfig(requestBody);
        }
    
        private static void createJob() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

        }
    
        if (elapsedMs != -1L) {
          assertThat(
            TimeUnit.NANOSECONDS.toMillis(actualElapsedNs)
              .toDouble(),
          )
            .isCloseTo(elapsedMs.toDouble(), 100.0)
        }
    
        return result
      }
    
      fun recordedEventTypes() = eventSequence.map { it.name }
    
      fun clearAllEvents() {
        while (eventSequence.isNotEmpty()) {
          takeEvent()
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        HashBiMap<String, String> bimap = HashBiMap.create(map);
        assertEquals("dollar", bimap.get("canada"));
        assertEquals("canada", bimap.inverse().get("dollar"));
      }
    
      private static final int N = 1000;
    
      public void testBashIt() throws Exception {
        BiMap<Integer, Integer> bimap = HashBiMap.create(N);
        BiMap<Integer, Integer> inverse = bimap.inverse();
    
        for (int i = 0; i < N; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top