Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 188 for toList (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).hostnameVerifier(RecordingHostnameVerifier())
            .protocols(protocols.toList())
            .build()
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.protocols = client.protocols
      }
    
      private fun assertConnectionReused(vararg requests: Request?) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToList() throws Exception {
            final Object a = new int[] { 1, 5 };
            final List<Integer> list = ArrayUtil.toList(a);
            assertThat(list.get(0), is(Integer.valueOf(1)));
            assertThat(list.get(1), is(Integer.valueOf(5)));
        }
    
        /**
         *
         */
        @Test
        public void testIsArray() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

                    .stream()
                    .map(protwordsItem -> createEditBody(protwordsItem, dictId))
                    .collect(Collectors.toList())).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Retrieve a single character mapping entry by ID for the specified dictionary.
         *
         * @param dictId identifier of the dictionary
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                protected List<String> loadDataStoreNameList() {
                    // Return unsorted list to test sorting
                    return List.of("Zebra", "Apple", "Banana").stream().sorted().collect(java.util.stream.Collectors.toList());
                }
            };
    
            List<String> names = testFactory.loadDataStoreNameList();
            assertEquals(3, names.size());
            assertEquals("Apple", names.get(0));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            final List<ElevateWord> list = elevateWordService.getElevateWordList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        // GET /api/admin/elevateword/{id}
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          @JvmField var headerCount = 0
    
          @JvmField var dynamicTableByteCount = 0
    
          fun getAndResetHeaderList(): List<Header> {
            val result = headerList.toList()
            headerList.clear()
            return result
          }
    
          fun maxDynamicTableByteCount(): Int = maxDynamicTableByteCount
    
          private fun adjustDynamicTableByteCount() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                insertAll(targetList.stream()
                        .filter(urlQueue -> StringUtil.isNotBlank(urlQueue.getSessionId()) && StringUtil.isNotBlank(urlQueue.getUrl()))
                        .collect(Collectors.toList()), OpType.CREATE, true);
                if (logger.isDebugEnabled()) {
                    logger.debug("Offered URL: Session ID: {}, UrlQueue: {}", sessionId, targetList);
                }
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * the following code can be used:
         *
         * <pre>{@literal
         * List<SourceRoot> enabledRoots = project.getSourceRoots()
         *         .stream().filter(SourceRoot::enabled).toList();
         * }</pre>
         *
         * The iteration order is the order in which the sources are declared in the POM file.
         *
         * @param project the project for which to get the source roots
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                final Set<RequestData> urlSet = e.getChildUrlList();
                assertEquals(5, urlSet.size());
                final List<String> urlList = urlSet.stream().map(x -> x.getUrl()).sorted().toList();
                assertEquals("ftp://localhost:10021/dir1", urlList.get(0));
                assertEquals("ftp://localhost:10021/dir2", urlList.get(1));
                assertEquals("ftp://localhost:10021/text 3.txt", urlList.get(2));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        uq.setUrl(d.getUrl());
                        uq.setWeight(d.getWeight());
                        return uq;
                    })
                    .collect(Collectors.toList());
            urlQueueService.offerAll(crawlerContext.sessionId, childList);
        }
    
        /**
         * Stores a single child URL to the crawling queue.
         * @param childUrl The child URL to store.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top