Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 279 for get_text (0.23 sec)

  1. 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)
  2. subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js

    				if(obj === -1 || !obj || !obj.length) { return false; }
    				obj.parentsUntil(".jstree", "li").each(function () {
    					p.push( id_mode ? this.id : _this.get_text(this) );
    				});
    				p.reverse();
    				p.push( id_mode ? obj.attr("id") : this.get_text(obj) );
    				return p;
    			},
    
    			// string functions
    			_get_string : function (key) {
    				return this._get_settings().core.strings[key] || key;
    			},
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 09:03:42 UTC 2021
    - 49.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vet/vet_test.go

    Alan Donovan <******@****.***> 1714508480 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. 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)
  10. cni/pkg/nodeagent/net_test.go

    Ben Leggett <******@****.***> 1717650623 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top