- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for read_text (0.11 sec)
-
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
srcRoot.walkTopDown().forEach { file -> if (file.extension == "groovy" || file.extension == "java") { val originalText = file.readText() val text = originalText.lineSequence() .filterNot { it.trim().startsWith("//") } .joinToString("\n")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
* <p> * {@link Reader}はクローズされません。 * </p> * * @param reader * 読み込み文字ストリーム。{@literal null}であってはいけません * @return テキスト */ public static String readText(final Reader reader) { assertArgumentNotNull("reader", reader); final StringBuilder buf = new StringBuilder(BUF_SIZE); CopyUtil.copy(reader, buf); return new String(buf); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
) ) } private fun buildBuckets(buildClassTimeJson: File, model: CIBuildModel): Map<TestCoverage, List<SmallSubprojectBucket>> { val jsonObj = JSON.parseObject(buildClassTimeJson.readText()) as JSONObject val buildProjectClassTimes: BuildProjectToSubprojectTestClassTimes = jsonObj.map { buildProjectToSubprojectTestClassTime ->
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 29 11:04:49 UTC 2024 - 8.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
val uuidToTestCoverage = model.stages.flatMap { it.functionalTests }.associateBy { it.uuid } val testCoverageAndBuckets = JSON.parseArray(testBucketsJson.readText()) as JSONArray testCoverageAndBuckets.associate { testCoverageAndBucket -> testCoverageAndBucket as JSONObject
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 12 09:50:29 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
try (BufferedReader reader = new BufferedReader(new InputStreamReader(new GZIPInputStream(new ByteArrayInputStream(decode)), Constants.UTF_8))) { return ReaderUtil.readText(reader); } catch (final IOException e) { if (logger.isDebugEnabled()) { logger.debug("Failed to decode {}", hash, e); } } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
FileUtil.writeBytes(designJspFile.getAbsolutePath(), "ok".getBytes()); fileList = systemHelper.refreshDesignJspFiles(); assertEquals(1, fileList.size()); assertEquals("ok", FileUtil.readText(fileList.get(0).toFile())); } public void test_updateSystemProperties() { final SystemHelper helper = new SystemHelper();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
.maxSymbolTermSize(maxSymbolTermSize).duplicateTermRemoved(replaceDuplication).spaceChars(spaceChars).execute(); } return ReaderUtil.readText(reader); } } catch (final TikaException e) { throw e; } catch (final Exception e) { throw new ExtractException("Failed to read a content.", e);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
if (indexMappings == null || !indexMappings.containsKey("properties")) { final AcknowledgedResponse putMappingResponse = fesenClient.get(c -> { final String source = FileUtil.readText("mapping/" + mappingName + ".json"); return c.admin().indices().preparePutMapping(index).setSource(source, XContentType.JSON).execute(); }); if (putMappingResponse.isAcknowledged()) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0) -
fastapi/routing.py
async def websocket_endpoint(websocket: WebSocket): await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text(f"Message text was: {data}") app.include_router(router) ``` """ def decorator(func: DecoratedCallable) -> DecoratedCallable: self.add_api_websocket_route(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
fastapi/applications.py
async def websocket_endpoint(websocket: WebSocket): await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text(f"Message text was: {data}") ``` """ def decorator(func: DecoratedCallable) -> DecoratedCallable: self.add_api_websocket_route( path,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K bytes - Viewed (0)