- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for InterfaceA (0.24 sec)
-
src/internal/types/testdata/fixedbugs/issue61879.go
// license that can be found in the LICENSE file. package p import "fmt" type Interface[T any] interface { m(Interface[T]) } func f[S []Interface[T], T any](S) {} func _() { var s []Interface[int] f(s) // panic here } // Larger example from issue type InterfaceA[T comparable] interface { setData(string) InterfaceA[T] } type ImplA[T comparable] struct { data string args []any }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 19:42:56 UTC 2023 - 1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/types2/interface.go
// NumEmbeddeds returns the number of embedded types in interface t. func (t *Interface) NumEmbeddeds() int { return len(t.embeddeds) } // EmbeddedType returns the i'th embedded type of interface t for 0 <= i < t.NumEmbeddeds(). func (t *Interface) EmbeddedType(i int) Type { return t.embeddeds[i] } // NumMethods returns the total number of methods of interface t. func (t *Interface) NumMethods() int { return t.typeSet().NumMethods() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 6.2K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/Interface1.java
package org.gradle.test; public interface Interface1 {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 58 bytes - Viewed (0)