- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 146 for get_text (0.34 sec)
-
tests/main.py
return {"message": "Hello World"} def non_decorated_route(): return {"message": "Hello World"} app.add_api_route("/non_decorated_route", non_decorated_route) @app.get("/text") def get_text(): return "Hello World" @app.get("/path/{item_id}") def get_id(item_id): return item_id @app.get("/path/str/{item_id}") def get_str_id(item_id: str): return item_id
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 4.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginInEncodingtegrationSpec.groovy
scriptFile.setText(""" task check { doLast { assert java.nio.charset.Charset.defaultCharset().name() == "UTF-8" // embed a euro character in the text - this is encoded differently in ISO-8859-15 and UTF-8 assert '\u20AC'.charAt(0) == 0x20AC } } """, "ISO-8859-15") assert scriptFile.getText("ISO-8859-15") != scriptFile.getText("UTF-8")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:45:30 UTC 2023 - 2.5K bytes - Viewed (0) -
hack/update-translations.sh
KUBECTL_FILES+=("${KUBECTL_DEFAULT_LOCATIONS[@]}") fi if ! which go-xgettext > /dev/null; then echo 'Can not find go-xgettext, install with:' echo 'go get github.com/gosexy/gettext/go-xgettext' exit 1 fi if ! which msgfmt > /dev/null; then echo 'Can not find msgfmt, install with:' echo 'apt-get install gettext' exit 1 fi if [[ "${generate_pot}" == "true" ]]; then
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 22 03:48:42 UTC 2022 - 3.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultRedrawableLabel.java
} @Override public void setText(String text) { this.spans = Collections.singletonList(new StyledTextOutputEvent.Span(text)); } @Override public void setText(StyledTextOutputEvent.Span span) { this.spans = Collections.singletonList(span); } @Override public void setText(List<StyledTextOutputEvent.Span> spans) { this.spans = spans; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 4.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy
return new TestFileCacheEntry(cacheKey, new TestFile(cacheDir, cacheKey)) } interface TestCacheEntry { String getKey() String getMd5Hash() String getText() void setText(String text) byte[] getBytes() void setBytes(byte[] bytes) void copyBytesTo(TestFile file) } private class TestFileCacheEntry implements TestCacheEntry {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptExecutionIntegrationSpec.groovy
and: buildFile.setText(""" task check { doLast { assert java.nio.charset.Charset.defaultCharset().name() == "ISO-8859-15" // embed a euro character in the text - this is encoded differently in ISO-8859-12 and UTF-8 assert '\u20AC'.charAt(0) == 0x20AC } } """, "UTF-8") assert file('build.gradle').getText("ISO-8859-15") != file('build.gradle').getText("UTF-8")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:26:59 UTC 2023 - 2K bytes - Viewed (0) -
src/reflect/set_test.go
cuiweixie <******@****.***> 1662288531 +0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 13:56:11 UTC 2022 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go
weilaaa <******@****.***> 1666237638 +0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 8K bytes - Viewed (0) -
clause/set_test.go
kinggo <******@****.***> 1641452573 +0800
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.4K bytes - Viewed (0) -
cmd/net_test.go
Sveinn <******@****.***> 1713516189 -0500
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0)