Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for typeOf (0.2 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		// Error on map keys that don't map to a field in the destination struct.
    		ExtraReturnErrors: cbor.ExtraDecErrorUnknownField,
    
    		// Decode maps into concrete type map[string]interface{} when the destination is an
    		// interface{}.
    		DefaultMapType: reflect.TypeOf(map[string]interface{}(nil)),
    
    		// A CBOR text string whose content is not a valid UTF-8 sequence is well-formed but
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testshared/testdata/depBase/dep.go

    var V int = 1
    
    var HasMask []string = []string{"hi"}
    
    type HasProg struct {
    	array [1024]*byte
    }
    
    type Dep struct {
    	X int
    }
    
    func (d *Dep) Method() int {
    	// This code below causes various go.itab.* symbols to be generated in
    	// the shared library. Similar code in ../exe/exe.go results in
    	// exercising https://golang.org/issues/17594
    	reflect.TypeOf(os.Stdout).Elem()
    	return 10
    }
    
    func F() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. security/pkg/pki/util/crypto.go

    	default:
    		return nil, fmt.Errorf("unsupported PEM block type for a private key: %s", kb.Type)
    	}
    }
    
    // GetRSAKeySize returns the size if it is RSA key, otherwise it returns an error.
    func GetRSAKeySize(privKey crypto.PrivateKey) (int, error) {
    	if t := reflect.TypeOf(privKey); t != reflect.TypeOf(&rsa.PrivateKey{}) {
    		return 0, fmt.Errorf("key type is not RSA: %v", t)
    	}
    	pkey := privKey.(*rsa.PrivateKey)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. 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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/FirCallableSignature.kt

            declaration.lazyResolveToPhase(FirResolvePhase.TYPES)
            if (receiverType != declaration.receiverParameter?.typeRef?.renderType()) return false
    
            val receivers = declaration.contextReceivers
            for ((index, parameter) in contextReceiverTypes.withIndex()) {
                if (receivers[index].typeRef.renderType() != parameter) return false
            }
    
            if (declaration is FirFunction) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. 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{}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

         * module uses `D`, but only has a dependency on `M2`. Then the type alias of `M1` remains unresolved and [abbreviatedType] is `null`.
         *
         *
         * ### Type arguments and nested abbreviated types
         *
         * The type arguments of an abbreviated type are not converted to abbreviated types automatically. That is, if a type argument is a type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

    #include "xla/stream_executor/stream_executor.h"
    #include "tsl/platform/statusor.h"
    
    namespace stream_executor {
    
    // Plugin initialization function that a device plugin
    // must define.
    typedef void (*SEInitPluginFn)(SE_PlatformRegistrationParams* const,
                                   TF_Status* const);
    
    // Registers StreamExecutor platform. `device_type` and `platform_name` are
    // output parameters.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top