- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for basicKind (0.46 sec)
-
src/cmd/compile/internal/types2/basic.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types2 // BasicKind describes the kind of basic type. type BasicKind int const ( Invalid BasicKind = iota // type is invalid // predeclared types Bool Int Int8 Int16 Int32 Int64 Uint Uint8 Uint16 Uint32 Uint64 Uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 01 22:17:50 UTC 2021 - 1.5K bytes - Viewed (0) -
src/go/types/basic.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types // BasicKind describes the kind of basic type. type BasicKind int const ( Invalid BasicKind = iota // type is invalid // predeclared types Bool Int Int8 Int16 Int32 Int64 Uint Uint8 Uint16 Uint32 Uint64 Uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 1.6K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, const Float64 = 14 pkg go/types, const Float64 BasicKind pkg go/types, const Int = 2 pkg go/types, const Int BasicKind pkg go/types, const Int16 = 4 pkg go/types, const Int16 BasicKind pkg go/types, const Int32 = 5 pkg go/types, const Int32 BasicKind pkg go/types, const Int64 = 6 pkg go/types, const Int64 BasicKind pkg go/types, const Int8 = 3 pkg go/types, const Int8 BasicKind
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
src/text/template/funcs.go
func eq(arg1 reflect.Value, arg2 ...reflect.Value) (bool, error) { arg1 = indirectInterface(arg1) if len(arg2) == 0 { return false, errNoComparison } k1, _ := basicKind(arg1) for _, arg := range arg2 { arg = indirectInterface(arg) k2, _ := basicKind(arg) truth := false if k1 != k2 { // Special case: Can compare integer values regardless of type's sign. switch { case k1 == intKind && k2 == uintKind:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
universeAnyNoAlias *TypeName universeAnyAlias *TypeName universeError Type universeComparable Object ) // Typ contains the predeclared *Basic types indexed by their // corresponding BasicKind. // // The *Basic type for Typ[Byte] will have the name "uint8". // Use Universe.Lookup("byte").Type() to obtain the specific // alias basic type named "byte" (and analogous for "rune"). var Typ = [...]*Basic{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/universe.go
universeAnyNoAlias *TypeName universeAnyAlias *TypeName universeError Type universeComparable Object ) // Typ contains the predeclared *Basic types indexed by their // corresponding BasicKind. // // The *Basic type for Typ[Byte] will have the name "uint8". // Use Universe.Lookup("byte").Type() to obtain the specific // alias basic type named "byte" (and analogous for "rune"). var Typ = []*Basic{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go
} } return false } // hasBasicType reports whether x's type is a types.Basic with the given kind. func hasBasicType(info *types.Info, x ast.Expr, kind types.BasicKind) bool { t := info.Types[x].Type if t != nil { t = t.Underlying() } b, ok := t.(*types.Basic) return ok && b.Kind() == kind }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 4.7K bytes - Viewed (0) -
src/go/types/operand.go
} func (x *operand) String() string { return operandString(x, nil) } // setConst sets x to the untyped constant for literal lit. func (x *operand) setConst(k token.Token, lit string) { var kind BasicKind switch k { case token.INT: kind = UntypedInt case token.FLOAT: kind = UntypedFloat case token.IMAG: kind = UntypedComplex case token.CHAR: kind = UntypedRune case token.STRING:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/operand.go
} func (x *operand) String() string { return operandString(x, nil) } // setConst sets x to the untyped constant for literal lit. func (x *operand) setConst(k syntax.LitKind, lit string) { var kind BasicKind switch k { case syntax.IntLit: kind = UntypedInt case syntax.FloatLit: kind = UntypedFloat case syntax.ImagLit: kind = UntypedComplex case syntax.RuneLit: kind = UntypedRune
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ArgumentError.Index", Field, 18}, {"Array", Type, 5}, {"AssertableTo", Func, 5}, {"AssignableTo", Func, 5}, {"Basic", Type, 5}, {"BasicInfo", Type, 5}, {"BasicKind", Type, 5}, {"Bool", Const, 5}, {"Builtin", Type, 5}, {"Byte", Const, 5}, {"Chan", Type, 5}, {"ChanDir", Type, 5}, {"CheckExpr", Func, 13}, {"Checker", Type, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)