Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 946 for type (0.42 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

     * to the build path.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Type extends ExtensibleEnum {
        /**
         * Artifact type name for a POM file.
         */
        String POM = "pom";
    
        /**
         * Artifact type name for a BOM file.
         */
        String BOM = "bom";
    
        /**
         * Artifact type name for a JAR file that can be placed either on the class-path or on the module-path.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. fastapi/types.py

    import types
    from enum import Enum
    from typing import Any, Callable, Dict, Set, Type, TypeVar, Union
    
    from pydantic import BaseModel
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Dec 12 00:29:03 GMT 2023
    - 383 bytes
    - Viewed (0)
  3. docs/es/docs/python-types.md

    Todo **FastAPI** está basado en estos type hints, lo que le da muchas ventajas y beneficios.
    
    Pero, así nunca uses **FastAPI** te beneficiarás de aprender un poco sobre los type hints.
    
    !!! note "Nota"
        Si eres un experto en Python y ya lo sabes todo sobre los type hints, salta al siguiente capítulo.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  4. docs/pt/docs/python-types.md

    <img src="/img/python-types/image02.png">
    
    Com isso, você pode rolar, vendo as opções, até encontrar o que "toca uma campainha":
    
    <img src="/img/python-types/image03.png">
    
    ## Mais motivação
    
    Marque esta função, ela já possui type hints:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types.go

    // Error implements Error interface
    func (b BatchJobYamlErr) Error() string {
    	return fmt.Sprintf("%s\n Hint: error near line: %d, col: %d", b.msg, b.line, b.col)
    }
    
    // BatchJobKV is a key-value data type which supports wildcard matching
    type BatchJobKV struct {
    	line, col int
    	Key       string `yaml:"key" json:"key"`
    	Value     string `yaml:"value" json:"value"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobKV{}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.*;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({FIELD, METHOD, TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Typed {
        Class<?>[] value() default {};
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  7. internal/grid/grid_types_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package grid
    
    //go:generate msgp -unexported -file=$GOFILE -tests=false -o=grid_types_msgp_test.go
    
    type testRequest struct {
    	Num    int
    	String string
    }
    
    type testResponse struct {
    	OrgNum    int
    	OrgString string
    	Embedded  testRequest
    }
    
    func newTestRequest() *testRequest {
    	return &testRequest{}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  8. cmd/metrics-v3-api.go

    	// label to "s3".
    
    	m.Set(apiRejectedAuthTotal, float64(httpStats.TotalS3RejectedAuth), "type", "s3")
    	m.Set(apiRejectedTimestampTotal, float64(httpStats.TotalS3RejectedTime), "type", "s3")
    	m.Set(apiRejectedHeaderTotal, float64(httpStats.TotalS3RejectedHeader), "type", "s3")
    	m.Set(apiRejectedInvalidTotal, float64(httpStats.TotalS3RejectedInvalid), "type", "s3")
    	m.Set(apiRequestsWaitingTotal, float64(httpStats.S3RequestsInQueue), "type", "s3")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py

                        "required": ["loc", "msg", "type"],
                        "type": "object",
                        "properties": {
                            "loc": {
                                "title": "Location",
                                "type": "array",
                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

            type = type,
            mappedTo = mappedTo,
          )
      }
    
      return result
    }
    
    internal fun canonicalizeType(type: Int): Int {
      return when (type) {
        TYPE_IGNORED -> TYPE_IGNORED
    
        TYPE_MAPPED,
        TYPE_DISALLOWED_STD3_MAPPED,
        -> TYPE_MAPPED
    
        TYPE_DEVIATION,
        TYPE_DISALLOWED_STD3_VALID,
        TYPE_VALID,
        -> TYPE_VALID
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top