Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 562 for stsr (0.04 sec)

  1. security/pkg/k8s/chiron/utils_test.go

    }
    
    // Get the server port from server.URL (e.g., https://127.0.0.1:36253)
    func getServerPort(server *httptest.Server) (int, error) {
    	strs := strings.Split(server.URL, ":")
    	if len(strs) < 2 {
    		return 0, fmt.Errorf("server.URL is invalid: %v", server.URL)
    	}
    	port, err := strconv.Atoi(strs[len(strs)-1])
    	if err != nil {
    		return 0, fmt.Errorf("error to extract port from URL: %v", server.URL)
    	}
    	return port, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/regexp/testdata/README

    nullsubexpr.dat	http://www2.research.att.com/~gsf/testregex/nullsubexpr.dat
    repetition.dat	http://www2.research.att.com/~gsf/testregex/repetition.dat
    
    The test data has been edited to reflect RE2/Go differences:
      * In a star of a possibly empty match like (a*)* matching x,
        the no match case runs the starred subexpression zero times,
        not once.  This is consistent with (a*)* matching a, which
        runs the starred subexpression one time, not twice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 27 20:18:25 UTC 2015
    - 957 bytes
    - Viewed (0)
  3. build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/tasks/DetermineBaselines.kt

            .let {
                // origin	https://github.com/gradle/gradle.git (fetch)
                val str = it?.replace(Regex("\\s+"), " ")
                return str?.substring(0, str.indexOf(' '))
            }
    
        private
        fun commitBaseline(commit: String): String {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 09:29:24 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/query-params-str-validations.md

    ```
    
    由于我们必须用 `Query(default=None)` 替换默认值 `None`,`Query` 的第一个参数同样也是用于定义默认值。
    
    所以:
    
    ```Python
    q: Union[str, None] = Query(default=None)
    ```
    
    ...使得参数可选,等同于:
    
    ```Python
    q: str = None
    ```
    
    但是 `Query` 显式地将其声明为查询参数。
    
    然后,我们可以将更多的参数传递给 `Query`。在本例中,适用于字符串的 `max_length` 参数:
    
    ```Python
    q: Union[str, None] = Query(default=None, max_length=50)
    ```
    
    将会校验数据,在数据无效时展示清晰的错误信息,并在 OpenAPI 模式的*路径操作*中记录该参​​数。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/mlir-module-serialized-str-attr.mlir

    // RUN: tf-mlir-translate -mlir-tf-mlir-to-str-attr -mlir-print-local-scope %s | FileCheck %s
    
    module attributes {tf.versions = {producer = 888 : i32}} {
      func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> {
        %0 = "tf.Identity"(%arg0) : (tensor<?xi32>) -> tensor<?xi32> loc(unknown)
        func.return %0 : tensor<?xi32> loc(unknown)
      } loc(unknown)
    } loc(unknown)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 24 06:42:46 UTC 2023
    - 672 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go

    	// exact match
    	if authConfig, ok := c.kubeconfig.AuthInfos[target]; ok {
    		return restConfigFromKubeconfig(authConfig)
    	}
    
    	// star prefixed match
    	serverSteps := strings.Split(target, ".")
    	for i := 1; i < len(serverSteps); i++ {
    		nickName := "*." + strings.Join(serverSteps[i:], ".")
    		if authConfig, ok := c.kubeconfig.AuthInfos[nickName]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. src/embed/internal/embedtest/embed_test.go

    	dir := testHiddenDir
    	star := testHiddenStar
    
    	t.Logf("//go:embed testdata")
    
    	testDir(t, dir, "testdata",
    		"-not-hidden/", "ascii.txt", "glass.txt", "hello.txt", "i/", "ken.txt")
    
    	t.Logf("//go:embed testdata/*")
    
    	testDir(t, star, "testdata",
    		"-not-hidden/", ".hidden/", "_hidden/", "ascii.txt", "glass.txt", "hello.txt", "i/", "ken.txt")
    
    	testDir(t, star, "testdata/.hidden",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 20:10:16 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/typeProvider/FirStandaloneNormalAnalysisSourceModuleAnalysisApiGetSuperTypesTestGenerated.java

        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/regularClassWithBounds.kt");
      }
    
      @Test
      @TestMetadata("star.kt")
      public void testStar() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/star.kt");
      }
    
      @Test
      @TestMetadata("string.kt")
      public void testString() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/typeProvider/FirIdeNormalAnalysisSourceModuleAnalysisApiGetSuperTypesTestGenerated.java

        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/regularClassWithBounds.kt");
      }
    
      @Test
      @TestMetadata("star.kt")
      public void testStar() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/star.kt");
      }
    
      @Test
      @TestMetadata("string.kt")
      public void testString() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/typeProvider/FirIdeDependentAnalysisSourceModuleAnalysisApiGetSuperTypesTestGenerated.java

        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/regularClassWithBounds.kt");
      }
    
      @Test
      @TestMetadata("star.kt")
      public void testStar() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/star.kt");
      }
    
      @Test
      @TestMetadata("string.kt")
      public void testString() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top