Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 208 for startswith (0.05 seconds)

  1. tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py

        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.text == html_contents
    
    
    def test_openapi_schema(client: TestClient, mod_name: str):
        if mod_name.startswith("tutorial003"):
            response_content = {"application/json": {"schema": {}}}
        else:
            response_content = {"text/html": {"schema": {"type": "string"}}}
    
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. ci/official/utilities/convert_msys_paths_to_win_paths.py

      """Check the variable name against white/black lists."""
      if blacklist and var_name in blacklist:
        return False
      if not whitelist_prefix:
        return True
    
      for prefix in whitelist_prefix:
        if var_name.startswith(prefix):
          return True
      return False
    
    
    def main(parsed_args: argparse.Namespace):
      converted_vars = {}
    
      for var, value in os.environ.items():
        if not value or not should_convert(var,
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Aug 07 23:01:25 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/Maven2DependenciesValidator.java

                            d.getGroupId() + ":" + d.getArtifactId()))
                    .map(Artifact::getVersion)
                    .filter(v -> v.startsWith("2."))
                    .collect(Collectors.toSet());
    
            if (!maven2Versions.isEmpty()) {
                pluginValidationManager.reportPluginValidationIssue(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                } else if (isNoteworthyException(exception)) {
                    reference = exception.getClass().getSimpleName();
                }
            }
    
            if ((reference != null && !reference.isEmpty()) && !reference.startsWith("http:")) {
                reference = "http://cwiki.apache.org/confluence/display/MAVEN/" + reference;
            }
    
            return reference;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

            this.problems = problems;
        }
    
        @Override
        public Object getValue(String expression) {
            Object value = valueSource.getValue(expression);
    
            if (value != null && expression.startsWith(bannedPrefix)) {
                String msg = "The expression ${" + expression + "} is deprecated.";
                if (newPrefix != null && !newPrefix.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

            String gradleApiInfoJarPrefix = getGradleApiInfoJarPrefix().get();
            File gradleRuntimeApiInfoJar = from.filter(file -> file.getName().startsWith(gradleApiInfoJarPrefix)).getSingleFile();
            URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI());
            try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. .github/workflows/issue-on-pr-rollback.yml

      create-issue-on-pr-rollback:
        runs-on: ubuntu-latest
        permissions:
          contents: read
          issues: write
          pull-requests: read
        if: |
          github.repository == 'tensorflow/tensorflow' &&
          startsWith(github.event.head_commit.message, 'Rollback of PR #')
        steps:
          - name: Checkout repo
            uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
          - name: Create a new Github Issue
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                        String artifactId = getChildText(pluginElement, ARTIFACT_ID);
    
                        // Default groupId for Maven plugins
                        if (groupId == null && artifactId != null && artifactId.startsWith(MAVEN_PLUGIN_PREFIX)) {
                            groupId = DEFAULT_MAVEN_PLUGIN_GROUP_ID;
                        }
    
                        if (groupId != null && artifactId != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                    throw e;
                }
            }
        }
    
        private boolean isSpecificVersion(String version) {
            return !((version == null || version.isEmpty()) || version.startsWith("[") || version.startsWith("("));
        }
    
        // TODO !![jc; 28-jul-2005] check this; if we're using '-r' and there are aggregator tasks, this will result in
        // weirdness.
        public MavenProject getTopLevelProject() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt

            "Failed to extract plugin metadata from '" + jar.path + "'",
            cause
        )
    }
    
    
    private
    fun isGradlePluginPropertiesFile(entry: JarEntry) = entry.run {
        !isDirectory && name.run { startsWith("META-INF/gradle-plugins/") && endsWith(".properties") }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top