- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 401 for custom2 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/bufio/example_test.go
} fmt.Printf("%d\n", count) // Output: 15 } // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate // 32-bit decimal input. func ExampleScanner_custom() { // An artificial input source. const input = "1234 5678 1234567901234567890" scanner := bufio.NewScanner(strings.NewReader(input)) // Create a custom split function by wrapping the existing ScanWords function.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
internal/crypto/header_test.go
"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{""}, "X-Amz-Server-Side-Encryption-Customer-Key": []string{""}, "X-Amz-Server-Side-Encryption-Customer-Key-Md5": []string{""}, }, Expected: true, }, // 4 { Header: http.Header{ "X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 13 14:52:15 GMT 2022 - 21.4K bytes - Click Count (0) -
tests/test_arbitrary_types.py
} assert ta.json_schema() == snapshot( { "properties": { "custom_field": { "items": {"type": "number"}, "title": "Custom Field", "type": "array", } }, "required": ["custom_field"], "title": "MyModel", "type": "object", } )Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 3.8K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
internal/http/dial_others.go
return func(network, address string, c syscall.RawConn) error { return nil } } // DialContext is a function to make custom Dial for internode communications type DialContext func(ctx context.Context, network, address string) (net.Conn, error) // NewInternodeDialContext configures a custom dialer for internode communications func NewInternodeDialContext(dialTimeout time.Duration, _ TCPOptions) DialContext {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 1.6K bytes - Click Count (0) -
docs/en/docs/how-to/extending-openapi.md
For example, let's add <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-logo" class="external-link" target="_blank">ReDoc's OpenAPI extension to include a custom logo</a>. ### Normal **FastAPI** { #normal-fastapi } First, write all your **FastAPI** application as normally: {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[1,4,7:9] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/BuildScanUtils.kt
testJvmVersion.toCapitalized() + "${vendor.displayName}${os.asName()}${arch.asName()}" // Generates a Build Scan custom value "PartOf=X,Y,Z" // where X, Y, Z are all the stages including current stage // For example, for the stage PullRequestFeedback, the custom value will be "PartOf=PullRequestFeedback,ReadyForNightly,ReadyForRelease" private fun Stage.getBuildScanCustomValues(): List<String> = StageName
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 1.8K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Qualifier.java
* <p> * Qualifiers are used to distinguish between multiple beans of the same type, * allowing for more precise control over which implementation should be injected. * Custom qualifier annotations should be annotated with {@code @Qualifier}. * <p> * Example of creating a custom qualifier: * <pre> * {@literal @}Qualifier * {@literal @}Retention(RUNTIME) * public @interface Database { * String value(); * } * </pre> *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/serializer_test.go
return fmt.Sprintf("%s%s", c.prefix, fieldValue), nil } func TestSerializer(t *testing.T) { schema.RegisterSerializer("custom", NewCustomSerializer("hello")) DB.Migrator().DropTable(adaptorSerializerModel(&SerializerStruct{})) if err := DB.Migrator().AutoMigrate(adaptorSerializerModel(&SerializerStruct{})); err != nil {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
* Each implementation must be registered in a {@code META-INF/services/} file corresponding * to the specific provider interface being implemented. * <p> * Example implementation for a custom language provider: * <pre> * public class CustomLanguageProvider implements LanguageProvider { * public Collection<Language> provides() { * return Arrays.asList( * language("kotlin"),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2.8K bytes - Click Count (0)