- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for NoInterface (0.33 sec)
-
test/fixedbugs/issue63333.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:44:52 UTC 2023 - 374 bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertHasArrayInterfaces(new TypeToken<T[]>() {}); } public <T extends NoInterface> void testGetGenericInterfaces_typeVariable_boundIsClass() { assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()).isEmpty(); assertHasArrayInterfaces(new TypeToken<T[]>() {}); } public <T extends NoInterface & Iterable<String>> void testGetGenericInterfaces_typeVariable_boundsAreClassWithInterface() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 88.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/subr.go
return "" } if isptrto(t, types.TINTER) { return fmt.Sprintf("%v is pointer to interface, not interface", t) } else if have != nil && have.Sym == missing.Sym && have.Nointerface() { return fmt.Sprintf("%v does not implement %v (%v method is marked 'nointerface')", t, iface, missing.Sym) } else if have != nil && have.Sym == missing.Sym { return fmt.Sprintf("%v does not implement %v (wrong type for %v method)\n"+
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:45:58 UTC 2023 - 20.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertHasArrayInterfaces(new TypeToken<T[]>() {}); } public <T extends NoInterface> void testGetGenericInterfaces_typeVariable_boundIsClass() { assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericInterfaces()).isEmpty(); assertHasArrayInterfaces(new TypeToken<T[]>() {}); } public <T extends NoInterface & Iterable<String>> void testGetGenericInterfaces_typeVariable_boundsAreClassWithInterface() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 88.7K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
} } if p.tok == '\n' { p.next() // collect associated methods for p.tok == scanner.Ident { p.expectKeyword("func") if p.tok == '/' { // Skip a /*nointerface*/ or /*asm ID */ comment. p.expect('/') p.expect('*') if p.expect(scanner.Ident) == "asm" { p.parseUnquotedString() } p.expect('*') p.expect('/') } p.expect('(')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
Offset int64 } const ( fieldIsDDD = 1 << iota // field is ... argument fieldNointerface ) func (f *Field) IsDDD() bool { return f.flags&fieldIsDDD != 0 } func (f *Field) Nointerface() bool { return f.flags&fieldNointerface != 0 } func (f *Field) SetIsDDD(b bool) { f.flags.set(fieldIsDDD, b) } func (f *Field) SetNointerface(b bool) { f.flags.set(fieldNointerface, b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/internal/reflectlite/all_test.go
. "internal/reflectlite" "math" "reflect" "runtime" "testing" "unsafe" ) func ToValue(v Value) reflect.Value { return reflect.ValueOf(ToInterface(v)) } func TypeString(t Type) string { return fmt.Sprintf("%T", ToInterface(Zero(t))) } type integer int type T struct { a int b float64 c string d *int } type pair struct { i any s string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:26:08 UTC 2023 - 24.2K bytes - Viewed (0) -
src/internal/reflectlite/export_test.go
return Value{t, unsafe_New(t), fl | flagIndir} } return Value{t, nil, fl} } // ToInterface returns v's current value as an interface{}. // It is equivalent to: // // var i interface{} = (v's underlying value) // // It panics if the Value was obtained by accessing // unexported struct fields. func ToInterface(v Value) (i any) { return valueInterface(v) } type EmbedWithUnexpMeth struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 3K bytes - Viewed (0) -
src/cmd/cgo/out.go
// Not supported. case *ast.FuncType: return &Type{Size: p.PtrSize, Align: p.PtrSize, C: c("void*")} case *ast.InterfaceType: return &Type{Size: 2 * p.PtrSize, Align: p.PtrSize, C: c("GoInterface")} case *ast.MapType: return &Type{Size: p.PtrSize, Align: p.PtrSize, C: c("GoMap")} case *ast.ChanType: return &Type{Size: p.PtrSize, Align: p.PtrSize, C: c("GoChan")} case *ast.Ident:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0)