Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for Interface3 (0.16 sec)

  1. 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)
  2. 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)
  3. test/escape_reflect.go

    func interface1(x any) any { // ERROR "leaking param: x$"
    	v := reflect.ValueOf(x)
    	return v.Interface()
    }
    
    func interface2(x int) any {
    	v := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	return v.Interface()
    }
    
    // Unfortunate: should not escape.
    func interface3(x int) int {
    	v := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	return v.Interface().(int)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/net/interface.go

    }
    
    // networkInterfacer defines an interface for several net library functions. Production
    // code will forward to net library functions, and unit tests will override the methods
    // for testing purposes.
    type networkInterfacer interface {
    	InterfaceByName(intfName string) (*net.Interface, error)
    	Addrs(intf *net.Interface) ([]net.Addr, error)
    	Interfaces() ([]net.Interface, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authentication/authenticator/interfaces.go

    // returns a Response or an error if the token could not be checked.
    type Token interface {
    	AuthenticateToken(ctx context.Context, token string) (*Response, bool, error)
    }
    
    // Request attempts to extract authentication information from a request and
    // returns a Response or an error if the request could not be checked.
    type Request interface {
    	AuthenticateRequest(req *http.Request) (*Response, bool, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 12 00:55:47 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/admission/interfaces.go

    	// AddValue set a value for a plugin name, possibly overriding a previous value.
    	SetValue(plugin string, v interface{})
    	// Value reads a value for a webhook.
    	Value(plugin string) interface{}
    }
    
    // Interface is an abstract, pluggable interface for Admission Control decisions.
    type Interface interface {
    	// Handles returns true if this admission controller can handle the given operation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 28 14:03:18 UTC 2021
    - 8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/meta/interfaces.go

    // to API groups. In other words, kinds and resources should not be assumed to be
    // unique across groups.
    //
    // TODO: split into sub-interfaces
    type RESTMapper interface {
    	// KindFor takes a partial resource and returns the single match.  Returns an error if there are multiple matches
    	KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  9. pkg/kubelet/lifecycle/interfaces.go

    }
    
    // PodSyncTarget maintains a list of handlers to pod sync.
    type PodSyncTarget interface {
    	// AddPodSyncHandler adds the specified handler
    	AddPodSyncHandler(a PodSyncHandler)
    }
    
    // PodLifecycleTarget groups a set of lifecycle interfaces for convenience.
    type PodLifecycleTarget interface {
    	PodAdmitTarget
    	PodSyncLoopTarget
    	PodSyncTarget
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 17:25:57 UTC 2017
    - 4K bytes
    - Viewed (0)
  10. src/go/parser/testdata/interface.go2

    // license that can be found in the LICENSE file.
    
    // This file contains test cases for interfaces containing
    // constraint elements.
    
    package p
    
    type _ interface {
    	m()
    	~int
    	~int|string
    	E
    }
    
    type _ interface {
    	m()
    	~int
    	int | string
    	int | ~string
    	~int | ~string
    }
    
    type _ interface {
    	m()
    	~int
    	T[int, string] | string
    	int | ~T[string, struct{}]
    	~int | ~string
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top