Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,313 for Nointerface (0.28 sec)

  1. src/go/internal/gccgoimporter/testdata/nointerface.gox

    v3;
    package nointerface
    pkgpath nointerface
    types 3 2 133 17
    type 1 "I" <type -11>
     func /*nointerface*/ (p <esc:0x1> <type 2>) Get () <type -11>
     func (p <esc:0x1> <type 2>) Set (v <type -11>)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 04 15:52:48 UTC 2018
    - 211 bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/testdata/nointerface.go

    // Copyright 2018 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 nointerface
    
    type I int
    
    //go:nointerface
    func (p *I) Get() int { return int(*p) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 04 15:52:48 UTC 2018
    - 289 bytes
    - Viewed (0)
  3. test/fixedbugs/issue63333.go

    // Copyright 2023 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 p
    
    func f(interface{ m() }) {}
    func g()                 { f(new(T)) } // ERROR "m method is marked 'nointerface'"
    
    type T struct{}
    
    //go:nointerface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:44:52 UTC 2023
    - 374 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            interfaceMap);
      }
    
      private interface Interface1 {}
    
      private interface Interface2 {}
    
      private interface Interface3<T> extends Iterable<T> {}
    
      private interface Interface12 extends Interface1, Interface2 {}
    
      private static class Class1 implements Interface1 {}
    
      private static final class NoInterface {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            interfaceMap);
      }
    
      private interface Interface1 {}
    
      private interface Interface2 {}
    
      private interface Interface3<T> extends Iterable<T> {}
    
      private interface Interface12 extends Interface1, Interface2 {}
    
      private static class Class1 implements Interface1 {}
    
      private static final class NoInterface {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  7. src/go/internal/gccgoimporter/importer_test.go

    	{pkgpath: "nointerface", name: "I", want: "type I int"},
    	{pkgpath: "issue29198", name: "FooServer", gccgoVersion: 7, want: "type FooServer struct{FooServer *FooServer; user string; ctx context.Context}"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:17:57 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/parser.go

    		// We only want to record exported functions.
    		return nil
    	}
    
    	return f
    }
    
    // InterfaceType = "interface" "{" { ("?" Type | Func) ";" } "}" .
    func (p *parser) parseInterfaceType(pkg *types.Package, nlist []any) types.Type {
    	p.expectKeyword("interface")
    
    	t := new(types.Interface)
    	p.update(t, nlist)
    
    	var methods []*types.Func
    	var embeddeds []types.Type
    
    	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)
  9. src/cmd/compile/internal/types/type.go

    // These can either be concrete methods (for non-interface types) or interface
    // methods (for interface types).
    func (t *Type) Methods() []*Field {
    	return t.methods.Slice()
    }
    
    // AllMethods returns a pointer to all the methods (including embedding) for type t.
    // For an interface type, this is the set of methods that are typically iterated
    // over. For non-interface types, AllMethods() only returns a valid result after
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  10. src/net/interface.go

    	FlagBroadcast                      // interface supports broadcast access capability
    	FlagLoopback                       // interface is a loopback interface
    	FlagPointToPoint                   // interface belongs to a point-to-point link
    	FlagMulticast                      // interface supports multicast access capability
    	FlagRunning                        // interface is in running state
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top