- Sort Score
- Num 10 results
- Language All
Results 31 - 39 of 39 for read_text (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt
} private fun updateReleaseNotes(issuesList: String) { val notesFile = releaseNotes.asFile.get() val content = notesFile.readText() val newSection = "$FIXED_ISSUES_INTRO\n\n$issuesList\n" val newContent = if (content.contains(FIXED_ISSUES_INTRO)) { val introStart = content.indexOf(FIXED_ISSUES_INTRO)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:49:33 GMT 2026 - 5.1K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
} @Test fun urlConnection() { val conn = engine.openConnection(URL("https://google.com/robots.txt")) as HttpURLConnection val text = conn.inputStream.use { it.bufferedReader().readText() } assertEquals(200, conn.responseCode) assertTrue(text.contains("Disallow")) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
docs/en/docs/reference/websockets.md
- send - accept - receive_text - receive_bytes - receive_json - iter_text - iter_bytes - iter_json - send_text - send_bytes - send_json - close ## WebSockets - additional classes Additional classes for handling WebSockets.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 2K bytes - Click Count (0) -
tests/test_response_model_data_filter_no_inheritance.py
name: str owner: User @app.post("/users/", response_model=User) async def create_user(user: UserCreate): return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return petCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
exceptions: List<String>, ): Boolean { 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")
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 16 01:27:05 GMT 2025 - 14.6K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt
*/ private fun calculateBuildFileMutation( projectPath: String, computed: Set<TargetRuntime>, buildFile: File ): BuildFileMutation { val lines = buildFile.readText().lines() val start = lines.indexOfFirst { Regex("\\s+computedRuntimes\\s+\\{").matches(it) } if (start == -1) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 13.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
new ByteArrayInputStream(Base64.getUrlDecoder().decode(hash.substring(SIMILAR_DOC_HASH_PREFIX.length())))), Constants.UTF_8))) { return ReaderUtil.readText(reader); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to decode similar document hash: hash={}", hash, e); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:27:04 GMT 2026 - 17.4K bytes - Click Count (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(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (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,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0)