- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 154 for lstrip (0.07 seconds)
-
scripts/doc_parsing_utils.py
if match: code = match.group("code").rstrip() comment = match.group("comment") return code, comment return line.rstrip(), None def _split_slashes_comment(line: str) -> tuple[str, str | None]: match = SLASHES_COMMENT_RE.match(line) if match: code = match.group("code").rstrip() comment = match.group("comment") return code, commentCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 23.5K bytes - Click Count (0) -
scripts/mkdocs_hooks.py
return markdown # For translated pages add translation banner translation_banner_content = get_translation_banner_content(config.docs_dir) en_url = "https://fastapi.tiangolo.com/" + page.url.lstrip("/") translation_banner_content = translation_banner_content.replace( "ENGLISH_VERSION_URL", en_url ) header = "" body = markdown if markdown.startswith("#"):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
// Value is "double-quoted". That's valid and our regex group already strips the quotes. parameter.groups[3]!!.value } token.startsWith('\'') && token.endsWith('\'') && token.length > 2 -> { // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes. token.substring(1, token.length - 1) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.9K bytes - Click Count (0) -
tests/test_stream_bare_type.py
lines = [json.loads(line) for line in response.text.strip().splitlines()] assert lines == [{"name": "foo"}] def test_stream_bare_sync_iterable(): response = client.get("/items/stream-bare-sync") assert response.status_code == 200 assert response.headers["content-type"] == "application/jsonl" lines = [json.loads(line) for line in response.text.strip().splitlines()]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 1.1K bytes - Click Count (0) -
tests/test_sse.py
data_lines = [ line for line in response.text.strip().split("\n") if line.startswith("data: ") ] assert len(data_lines) == 3 def test_dict_items(client: TestClient): response = client.get("/items/stream-dict") assert response.status_code == 200 data_lines = [ line for line in response.text.strip().split("\n") if line.startswith("data: ") ]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0) -
arm_compiler.BUILD
) filegroup( name = "objcopy", srcs = glob(["bin/*-objcopy"]), ) filegroup( name = "objdump", srcs = glob(["bin/*-objdump"]), ) filegroup( name = "strip", srcs = glob(["bin/*-strip"]), ) filegroup( name = "as", srcs = glob(["bin/*-as"]), ) filegroup( name = "compiler_pieces", srcs = glob([ "arm-rpi-linux-gnueabihf/**",Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Apr 12 11:17:46 GMT 2021 - 1.2K bytes - Click Count (0) -
.github/release-drafter-3.x.yml
# under the License. _extends: maven-gh-actions-shared:.github/release-drafter.yml tag-template: maven-$RESOLVED_VERSION # Override replacers to strip backport branch prefixes and handle JIRA links replacers: # Strip backport branch prefixes like [maven-4.0.x], [maven-3.x], etc. - search: '/^\[maven-[\d\.x-]+\]\s*-?\s*/g' replace: ''
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 13:07:10 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/AndroidIncompatible.java
* that we could probably work around. Or we could manually strip the test from open-source * Guava while continuing to run it internally, as we do with many other tests. This would * suffice because we our Android users and tests are using the open-source version, which * would no longer have the problematic test. But why bother when we can instead strip it with * a more precisely named annotation?
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Click Count (0) -
.github/release-drafter.yml
# under the License. _extends: maven-gh-actions-shared tag-template: maven-$RESOLVED_VERSION include-pre-releases: true prerelease: true # Override replacers to strip backport branch prefixes and handle JIRA links replacers: # Strip backport branch prefixes like [maven-4.0.x], [maven-3.x], etc. - search: '/^\[maven-[\d\.x-]+\]\s*-?\s*/g' replace: ''
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 13:07:10 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
if (Constants.DEFAULT_FIELD.equals(field)) { final String text = wildcardQuery.getTerm().text(); context.addFieldLog(field, text); final String highlightText = StringUtils.strip(text, "*"); if (StringUtil.isNotBlank(highlightText)) { context.addHighlightedQuery(highlightText); } return buildDefaultQueryBuilder(fessConfig, context,
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.7K bytes - Click Count (0)