Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 154 for convenient (0.31 sec)

  1. pkg/config/analysis/analyzers/all.go

    )
    
    // All returns all analyzers
    func All() []analysis.Analyzer {
    	analyzers := []analysis.Analyzer{
    		// Please keep this list sorted alphabetically by pkg.name for convenience
    		&annotations.K8sAnalyzer{},
    		&authz.AuthorizationPoliciesAnalyzer{},
    		&deployment.ServiceAssociationAnalyzer{},
    		&deployment.ApplicationUIDAnalyzer{},
    		&deprecation.FieldAnalyzer{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. pkg/kube/krt/helpers.go

    	// Allow flattening
    	ao, ok := any(&a).(controllers.Object)
    	if ok {
    		k, _ := cache.MetaNamespaceKeyFunc(ao)
    		return Key[O](k)
    	}
    	panic(fmt.Sprintf("Cannot get Key, got %T", a))
    }
    
    // Named is a convenience struct. It is ideal to be embedded into a type that has a name and namespace,
    // and will automatically implement the various interfaces to return the name, namespace, and a key based on these two.
    type Named struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/templates.md

    !!! note "Technical Details"
        You could also use `from starlette.templating import Jinja2Templates`.
    
        **FastAPI** provides the same `starlette.templating` as `fastapi.templating` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. The same with `Request` and `StaticFiles`.
    
    ## Writing templates
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

         *
         * @param v1 sources producer for V1, receiver is the `src/main` directory
         * @param v2 sources producer for V2, receiver is the `src/main` directory
         * @param block convenience block invoked on the result
         * @return the check result
         */
        private
        fun runBinaryCompatibilityCheck(v1: File.() -> Unit, v2: File.() -> Unit, block: CheckResult.() -> Unit = {}): CheckResult {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

        You could also use `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.
    
        **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. The same with `Request`.
    
    ## Override the default exception handlers
    
    **FastAPI** has some default exception handlers.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

     * There should be no big surprises here, although you may notice that the methods accept
     * <code>java.lang.CharSequence</code> rather than <code>java.lang.String</code>. This is provided mainly as a
     * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,
     * rather than formatting first by calling <code>toString()</code>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Provider
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/cache/DefaultCacheConfigurationsTest.groovy

        def cacheConfigurations = TestUtil.objectFactory().newInstance(DefaultCacheConfigurations.class, Mock(LegacyCacheCleanupEnablement))
    
        def "cannot modify cache configurations via convenience method unless mutable"() {
            when:
            cacheConfigurations.createdResources.setRemoveUnusedEntriesAfterDays(2)
            cacheConfigurations.downloadedResources.setRemoveUnusedEntriesAfterDays(2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    // If Default is uninitialized, Default.Mode will be "off". As a consequence,
    // no data should be written to the directory, and so the path values of
    // LocalDir, UploadDir, etc. must not matter.
    //
    // Default is a global for convenience and testing, but should not be mutated
    // outside of tests.
    //
    // TODO(rfindley): it would be nice to completely eliminate this global state,
    // or at least push it in the golang.org/x/telemetry package
    var Default Dir
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/mime/multipart/writer.go

    	return p, nil
    }
    
    var quoteEscaper = strings.NewReplacer("\\", "\\\\", `"`, "\\\"")
    
    func escapeQuotes(s string) string {
    	return quoteEscaper.Replace(s)
    }
    
    // CreateFormFile is a convenience wrapper around [Writer.CreatePart]. It creates
    // a new form-data header with the provided field name and file name.
    func (w *Writer) CreateFormFile(fieldname, filename string) (io.Writer, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/math/rand/rand.go

    			pos = 7
    		}
    		p[n] = byte(val)
    		val >>= 8
    		pos--
    	}
    	*readPos = pos
    	*readVal = val
    	return
    }
    
    /*
     * Top-level convenience functions
     */
    
    // globalRandGenerator is the source of random numbers for the top-level
    // convenience functions. When possible it uses the runtime fastrand64
    // function to avoid locking. This is not possible if the user called Seed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top