Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 43 for getlist (0.07 seconds)

  1. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

            List<Map<String, Object>> page1 = JsonPath.from(response).getList("response.logs");
    
            logger.info("Page 1: {}", page1);
    
            // Get second page
            searchBody.put("page", 2);
            response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString();
            List<Map<String, Object>> page2 = JsonPath.from(response).getList("response.logs");
    
            logger.info("Page 2: {}", page2);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            searchBody.put("q", NAME_PREFIX + "*");
    
            String response = checkMethodBase(searchBody).get(SEARCHLIST_API_PATH + "/docs").asString();
            List<Map<String, Object>> docs = JsonPath.from(response).getList("response.docs");
    
            for (Map<String, Object> doc : docs) {
                String docId = doc.get("doc_id").toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            String response = checkMethodBase(searchBody).get("/api/admin/crawlinginfo/logs").asString();
            JsonPath jsonPath = JsonPath.from(response);
            assertEquals(0, jsonPath.getInt("response.status"));
            List<Map<String, Object>> logs = jsonPath.getList("response.logs");
            assertTrue(logs.size() >= 1);
    
            // Test with pagination
            searchBody.put("size", 10);
            searchBody.put("page", 1);
    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)
  4. fastapi/dependencies/utils.py

        if (
            (not _is_json_field(field))
            and field_annotation_is_sequence(field.field_info.annotation)
            and isinstance(values, (ImmutableMultiDict, Headers))
        ):
            value = values.getlist(alias)
        else:
            value = values.get(alias, None)
        if (
            value is None
            or (
                isinstance(field.field_info, params.Form)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  5. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testGetLast_sortedSet() {
        SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
        assertThat(Iterables.getLast(sortedSet)).isEqualTo("c");
      }
    
      public void testGetLast_withDefault_singleton() {
        Iterable<String> iterable = singletonList("foo");
        assertThat(Iterables.getLast(iterable, "bar")).isEqualTo("foo");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Iterables.java

       * consider using {@code collection.getLast()} instead.
       *
       * @return the last element of {@code iterable}
       * @throws NoSuchElementException if the iterable is empty
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) {
        // TODO(kevinb): Support a concurrently modified collection?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            ComponentUtil.register(new CrawlingInfoService() {
                private CrawlingInfo storedInfo;
                private List<CrawlingInfoParam> storedParams;
    
                @Override
                public CrawlingInfo getLast(String sessionId) {
                    return null; // Return null to simulate create scenario
                }
    
                @Override
                public void store(CrawlingInfo entity) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost())
            .isEqualTo("::1");
        // Non-bracketed non-IPv6 works fine.
        assertThat(HostAndPort.fromString("x").requireBracketsForIPv6().getHost()).isEqualTo("x");
        assertThat(HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()).isEqualTo("x");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost())
            .isEqualTo("::1");
        // Non-bracketed non-IPv6 works fine.
        assertThat(HostAndPort.fromString("x").requireBracketsForIPv6().getHost()).isEqualTo("x");
        assertThat(HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()).isEqualTo("x");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.java

         * @return A SuggestResponse instance.
         */
        public SuggestResponse createResponse(final SearchResponse searchResponse) {
            final SearchHit[] hits = searchResponse.getHits().getHits();
            final List<String> words = new ArrayList<>();
            final Set<String> seenNormalizedWords = new HashSet<>();
            final List<String> firstWords = new ArrayList<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 5.5K bytes
    - Click Count (0)
Back to Top