Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for getOpt (0.4 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            List<Option> setPropertyOptions = new ArrayList<>();
            for (Option opt : mavenCli.getOptions()) {
                if (String.valueOf(CLIManager.SET_USER_PROPERTY).equals(opt.getOpt())) {
                    setPropertyOptions.add(opt);
                } else {
                    commandLineBuilder.addOption(opt);
                }
            }
            for (Option opt : mavenConfig.getOptions()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
            assertTrue(JsonPath.from(response).getInt("record_count") > andRecordCount);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertThat(object).isNotNull();
          assertThat(striped.getAt(i)).isSameInstanceAs(object); // idempotent
          observed.add(object);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertThat(object).isNotNull();
          assertThat(striped.getAt(i)).isSameInstanceAs(object); // idempotent
          observed.add(object);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            assertEquals(1, JsonPath.from(response).getInt("response.status"));
    
            // Test PUT /api/admin/crawlinginfo/logs
            final Map<String, Object> putBody = new HashMap<>();
            putBody.put("size", 10);
            response = checkMethodBase(putBody).put("/api/admin/crawlinginfo/logs").asString();
            assertEquals(0, JsonPath.from(response).getInt("response.status"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            String response = given().contentType("application/json").when().get("/api/v1/labels").asString();
    
            JsonPath jsonPath = JsonPath.from(response);
            int recordCount = jsonPath.getInt("record_count");
            assertTrue(recordCount >= 0, "Record count should be >= 0");
    
            if (recordCount > 0) {
                List<Map<String, Object>> labels = jsonPath.getList("data");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java

                    .when()
                    .get("/api/v1/suggest-words")
                    .asString();
    
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getInt("record_count") >= 0);
            assertTrue(jsonPath.getInt("page_size") >= 0);
            assertTrue(jsonPath.getLong("query_time") >= 0);
        }
    
        @Test
        public void testSuggestWords_pageSizeDefault() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/timer/LoadControlMonitorTarget.java

                short maxCpu = 0;
                for (final NodeStats nodeStats : response.getNodes()) {
                    final OsStats os = nodeStats.getOs();
                    if (os != null && os.getCpu() != null) {
                        final short percent = os.getCpu().getPercent();
                        if (percent > maxCpu) {
                            maxCpu = percent;
                        }
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                final Response response = checkMethodBase(requestBody).put("/api/admin/scheduler/" + schedulerId + "/start");
                if (response.getBody().jsonPath().getInt("response.status") == 0) {
                    logger.info("Start scheduler \"{}\"", schedulerId);
                    return;
                }
                ThreadUtil.sleep(100L);
            }
            fail("could not start job.");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top