Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 450 for Prefix (0.06 seconds)

  1. docs/zh/docs/tutorial/bigger-applications.md

    包含路由器时,你不必担心性能问题。
    
    这将花费几微秒时间,并且只会在启动时发生。
    
    因此,它不会影响性能。⚡
    
    ///
    
    ### 包含一个有自定义 `prefix`、`tags`、`responses` 和 `dependencies` 的 `APIRouter`
    
    现在,假设你的组织为你提供了 `app/internal/admin.py` 文件。
    
    它包含一个带有一些由你的组织在多个项目之间共享的管理员*路径操作*的 `APIRouter`。
    
    对于此示例,它将非常简单。但是假设由于它是与组织中的其他项目所共享的,因此我们无法对其进行修改,以及直接在 `APIRouter` 中添加 `prefix`、`dependencies`、`tags` 等:
    
    ```Python hl_lines="3" title="app/internal/admin.py"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun May 11 13:37:26 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  2. cmd/metrics-v3-types.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/pkg/errors"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    type collectorPath string
    
    // metricPrefix converts a collector path to a metric name prefix. The path is
    // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with
    // `minio_`.
    func (cp collectorPath) metricPrefix() string {
    	s := strings.TrimPrefix(string(cp), SlashSeparator)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. cmd/bucket-lifecycle-audit.go

    )
    
    //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE
    type lcEventSrc uint8
    
    //nolint:staticcheck,revive // Underscores are used here to indicate where common prefix ends and the enumeration name begins
    const (
    	lcEventSrc_None lcEventSrc = iota
    	lcEventSrc_Heal
    	lcEventSrc_Scanner
    	lcEventSrc_Decom
    	lcEventSrc_Rebal
    	lcEventSrc_s3HeadObject
    	lcEventSrc_s3GetObject
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. internal/config/dns/etcd_dns_test.go

    	for _, path := range []string{"mydns", "skydns"} {
    		result := msgPath("service.staging.skydns.local.", path)
    		if result != etcdPathSeparator+path+"/local/skydns/staging/service" {
    			t.Errorf("Failure to get domain's path with prefix: %s", result)
    		}
    	}
    }
    
    func TestUnPath(t *testing.T) {
    	result1 := msgUnPath("/skydns/local/cluster/staging/service/")
    	if result1 != "service.staging.cluster.local.skydns" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 28 17:31:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

                    if (list.isNotEmpty()) {
                        append("  $name (").append(list.size).append(")\n")
                        append(list.joinToString(separator = "\n    ", prefix = "    ", postfix = "\n"))
                    }
                }
            }.toString()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. cmd/erasure-sets.go

    func (s *erasureSets) ListMultipartUploads(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (result ListMultipartsInfo, err error) {
    	// In list multipart uploads we are going to treat input prefix as the object,
    	// this means that we are not supporting directory navigation.
    	set := s.getHashedSet(prefix)
    	return set.ListMultipartUploads(ctx, bucket, prefix, keyMarker, uploadIDMarker, delimiter, maxUploads)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  7. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    - Model produces wrong results and/or has lesser accuracy.
    - Model produces correct results, but it is slower than expected.
    
    ### 4. (optional) RNN conversion support
    If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title.
    
    ### 5. (optional) Any other info / logs
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 2.1K bytes
    - Click Count (0)
  8. src/bytes/example_test.go

    	// Cut("Gopher", "er") = "Goph", "", true
    	// Cut("Gopher", "Badger") = "Gopher", "", false
    }
    
    func ExampleCutPrefix() {
    	show := func(s, prefix string) {
    		after, found := bytes.CutPrefix([]byte(s), []byte(prefix))
    		fmt.Printf("CutPrefix(%q, %q) = %q, %v\n", s, prefix, after, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "ph")
    	// Output:
    	// CutPrefix("Gopher", "Go") = "pher", true
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/IntegrationTest.kt

     * been using the term 'integration test'.
     */
    @CacheableTask
    abstract class IntegrationTest : DistributionTest() {
    
        override val prefix = if (name.contains("CrossVersion")) "crossVersion" else "integ"
    
        @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)
        val samplesDir = gradleInstallationForTest.gradleSnippetsDir
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            String methodBase = Character.toTitleCase(property.charAt(0)) + property.substring(1);
            try {
                for (String prefix : Arrays.asList("get", "is", "to", "as")) {
                    Method method = classMap.findMethod(prefix + methodBase);
                    if (method != null) {
                        return method.invoke(value, OBJECT_ARGS);
                    }
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top