Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,805 for type (0.15 sec)

  1. internal/grid/types.go

    	return bytes, json.Unmarshal(val, j.val)
    }
    
    // Msgsize returns the size of an empty JSON object.
    func (j *JSON[T]) Msgsize() int {
    	return j.p.emptySz
    }
    
    // NoPayload is a type that can be used for handlers that do not use a payload.
    type NoPayload struct{}
    
    // Msgsize returns 0.
    func (p NoPayload) Msgsize() int {
    	return 0
    }
    
    // UnmarshalMsg satisfies the interface, but is a no-op.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. 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 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. 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 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    }
    
    type metricValue struct {
    	Labels map[string]string
    	Value  float64
    }
    
    // MetricValues - type to set metric values retrieved while loading metrics. A
    // value of this type is passed to the `MetricsLoaderFn`.
    type MetricValues struct {
    	values      map[MetricName][]metricValue
    	descriptors map[MetricName]MetricDescriptor
    }
    
    func newMetricValues(d map[MetricName]MetricDescriptor) MetricValues {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.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 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    		}
    	}
    }
    
    // Type returns a *Type with the same memory layout as
    // dtype when used as the type of a variable or a struct field.
    func (c *typeConv) Type(dtype dwarf.Type, pos token.Pos) *Type {
    	return c.loadType(dtype, pos, "")
    }
    
    // loadType recursively loads the requested dtype and its dependency graph.
    func (c *typeConv) loadType(dtype dwarf.Type, pos token.Pos, parent string) *Type {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLParameterConversion.kt

        }
    
        override fun convertType(type: KType): KType {
            val first = type.arguments.getOrNull(0)?.type ?: return type
            val second = type.arguments.getOrNull(1)?.type ?: return type
            return Pair::class.createType(
                arguments = listOf(
                    KTypeProjection(
                        variance = KVariance.INVARIANT,
                        type = mappingConversionFirst.convertType(first)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Sep 15 09:32:47 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  8. 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 21 03:35:09 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  9. tests/test_response_model_sub_types.py

                                        "schema": {
                                            "title": "Response 500 Valid2 Valid2 Get",
                                            "type": "array",
                                            "items": {"type": "integer"},
                                        }
                                    }
                                },
                            },
                        },
                    }
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    type DeleteOptions struct {
    	BaseOptions
    	Recursive bool `msg:"r"`
    	Immediate bool `msg:"i"`
    	UndoWrite bool `msg:"u"`
    }
    
    // BaseOptions represents common options for all Storage API calls
    type BaseOptions struct{}
    
    // RenameOptions represents rename API options, currently its same as BaseOptions
    type RenameOptions struct {
    	BaseOptions
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:41:27 GMT 2024
    - 14.8K bytes
    - Viewed (0)
Back to top