Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 988 for types0 (0.13 sec)

  1. src/sync/atomic/type.go

    var _ = &Pointer[int]{}
    
    // A Pointer is an atomic pointer of type *T. The zero value is a nil *T.
    type Pointer[T any] struct {
    	// Mention *T in a field to disallow conversion between Pointer types.
    	// See go.dev/issue/56603 for more details.
    	// Use *T, not T, to avoid spurious recursive type definition errors.
    	_ [0]*T
    
    	_ noCopy
    	v unsafe.Pointer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/go/types/generate_test.go

    // fixGlobalTypVarDecl changes the global Typ variable from an array to a slice
    // (in types2 we use an array for efficiency, in go/types it's a slice and we
    // cannot change that).
    func fixGlobalTypVarDecl(f *ast.File) {
    	ast.Inspect(f, func(n ast.Node) bool {
    		switch n := n.(type) {
    		case *ast.ValueSpec:
    			// rewrite type Typ = [...]Type{...} to type Typ = []Type{...}
    			if len(n.Names) == 1 && n.Names[0].Name == "Typ" && len(n.Values) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/extra-data-types.md

        * 생성된 스키마는 이것이 `binary` "형식"의 `str`임을 명시합니다.
    * `Decimal`:
        * 표준 파이썬의 `Decimal`.
        * 요청과 응답에서 `float`와 동일하게 다뤄집니다.
    * 여기에서 모든 유효한 pydantic 데이터 자료형을 확인할 수 있습니다: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic 데이터 자료형</a>.
    
    ## 예시
    
    위의 몇몇 자료형을 매개변수로 사용하는 *경로 작동* 예시입니다.
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3  12-16"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 02:45:10 UTC 2024
    - 4.4K 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/stdlib_test.go

    		"issue22200.go",  // types2 does not have constraints on stack size
    		"issue22200b.go", // types2 does not have constraints on stack size
    		"issue25507.go",  // types2 does not have constraints on stack size
    		"issue20780.go",  // types2 does not have constraints on stack size
    		"issue42058a.go", // types2 does not have constraints on channel element size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    			return // invalid type
    		}
    
    		var V0 types.Type // integral type in the type set of V
    
    		for _, vt := range vtypes {
    			u, _ := vt.Underlying().(*types.Basic)
    			if u != nil && u.Info()&types.IsInteger != 0 {
    				switch u.Kind() {
    				case types.Byte, types.Rune, types.UntypedRune:
    					continue
    				}
    				V0 = vt
    				break
    			}
    		}
    
    		if V0 == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/go/types/operand.go

    		return newType != nil, IncompatibleAssign
    	}
    	// Vu is typed
    
    	// x's type V and T have identical underlying types
    	// and at least one of V or T is not a named type
    	// and neither V nor T is a type parameter.
    	if Identical(Vu, Tu) && (!hasName(V) || !hasName(T)) && Vp == nil && Tp == nil {
    		return true, 0
    	}
    
    	// T is an interface type, but not a type parameter, and V implements T.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. cmd/typed-errors.go

    Taran Pelkey <******@****.***> 1716916456 -0400
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/go/types/util.go

    // license that can be found in the LICENSE file.
    
    // This file contains various functionality that is
    // different between go/types and types2. Factoring
    // out this code allows more of the rest of the code
    // to be shared.
    
    package types
    
    import (
    	"go/ast"
    	"go/constant"
    	"go/token"
    )
    
    const isTypes2 = false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/go/types/under.go

    	return t.Underlying()
    }
    
    // If t is not a type parameter, coreType returns the underlying type.
    // If t is a type parameter, coreType returns the single underlying
    // type of all types in its type set if it exists, or nil otherwise. If the
    // type set contains only unrestricted and restricted channel types (with
    // identical element types), the single underlying type is the restricted
    // channel type if the restrictions are always the same, or nil otherwise.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 22:34:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top