- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 712 for typev2 (0.22 sec)
-
samples/extauthz/cmd/extauthz/main.go
authv2 "github.com/envoyproxy/go-control-plane/envoy/service/auth/v2" authv3 "github.com/envoyproxy/go-control-plane/envoy/service/auth/v3" typev2 "github.com/envoyproxy/go-control-plane/envoy/type" typev3 "github.com/envoyproxy/go-control-plane/envoy/type/v3" "google.golang.org/genproto/googleapis/rpc/status" "google.golang.org/grpc" "google.golang.org/grpc/codes" ) const ( checkHeader = "x-ext-authz"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 15 18:23:48 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/type.go
package syntax import "go/constant" // A Type represents a type of Go. // All types implement the Type interface. // (This type originally lived in types2. We moved it here // so we could depend on it from other packages without // introducing an import cycle.) type Type interface { // Underlying returns the underlying type of a type. // Underlying types are never Named, TypeParam, or Alias types. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 2.7K bytes - Viewed (0) -
src/reflect/type.go
// In returns the type of a function type's i'th input parameter. // It panics if the type's Kind is not Func. // It panics if i is not in the range [0, NumIn()). In(i int) Type // Key returns a map type's key type. // It panics if the type's Kind is not Map. Key() Type // Len returns an array type's length. // It panics if the type's Kind is not Array. Len() int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go
nTypeSpec nTypeSwitchStmt nUnaryExpr nValueSpec ) // typeOf returns a distinct single-bit value that represents the type of n. // // Various implementations were benchmarked with BenchmarkNewInspector: // // GOGC=off // - type switch 4.9-5.5ms 2.1ms // - binary search over a sorted list of types 5.5-5.9ms 2.5ms // - linear scan, frequency-ordered list 5.9-6.1ms 2.7ms
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/type.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types2 import "cmd/compile/internal/syntax" // A Type represents a type of Go. // All types implement the Type interface.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:55:41 UTC 2023 - 316 bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/reflect/TypeOf.java
* @return the {@literal TypeOf} that captures the generic type of the given {@literal Type} */ public static <T> TypeOf<T> typeOf(Type type) { return new TypeOf<T>( Cast.<ModelType<T>>uncheckedCast( ModelType.of(typeWhichCannotBeNull(type)))) { }; } /** * Constructs a new parameterized type from a given parameterized type definition and an array of type arguments.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 10.9K bytes - Viewed (0) -
src/debug/dwarf/type.go
type CharType struct { BasicType } // A UcharType represents an unsigned character type. type UcharType struct { BasicType } // An IntType represents a signed integer type. type IntType struct { BasicType } // A UintType represents an unsigned integer type. type UintType struct { BasicType } // A FloatType represents a floating point type. type FloatType struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 21.9K bytes - Viewed (0) -
src/internal/reflectlite/type.go
return unsafe.Pointer(uintptr(p) + x) } // TypeOf returns the reflection Type that represents the dynamic type of i. // If i is a nil interface value, TypeOf returns nil. func TypeOf(i any) Type { return toType(abi.TypeOf(i)) } func (t rtype) Implements(u Type) bool { if u == nil { panic("reflect: nil type passed to Type.Implements") } if u.Kind() != Interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizeof_test.go
package types2 import ( "reflect" "testing" ) // Signal size changes of important structures. func TestSizeof(t *testing.T) { const _64bit = ^uint(0)>>32 != 0 var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{ // Types {Basic{}, 16, 32}, {Array{}, 16, 24},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 06 13:09:19 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizes_test.go
const _ = unsafe.Offsetof(struct{ x int64 }{}.x) ` info := types2.Info{Types: make(map[syntax.Expr]types2.TypeAndValue)} conf := types2.Config{ Importer: defaultImporter(), Sizes: &types2.StdSizes{WordSize: 8, MaxAlign: 8}, } mustTypecheck(src, &conf, &info) for _, tv := range info.Types { _ = conf.Sizes.Sizeof(tv.Type) _ = conf.Sizes.Alignof(tv.Type) } } // go.dev/issue/53884.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 21:00:48 UTC 2023 - 4.1K bytes - Viewed (0)