- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Equaler (0.27 sec)
-
pkg/kube/krt/internal.go
} // equal checks if two objects are equal. This is done through a variety of different methods, depending on the input type. func equal[O any](a, b O) bool { ak, ok := any(a).(Equaler[O]) if ok { return ak.Equals(b) } pk, ok := any(&a).(Equaler[O]) if ok { return pk.Equals(b) } // Future improvement: add a default Kubernetes object implementation
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/kube/krt/core.go
// If implemented, this can be used to determine the Key for an object type ResourceNamer interface { ResourceName() string } // Equaler is an optional interface that can be implemented by collection types. // If implemented, this will be used to determine if an object changed. type Equaler[K any] interface { Equals(k K) bool } // LabelSelectorer is an optional interface that can be implemented by collection types.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 6.9K bytes - Viewed (0) -
test/typeparam/shape1.go
package main type I interface { foo() int } // There should be one instantiation of f for both squarer and doubler. // Similarly, there should be one instantiation of f for both *incrementer and *decrementer. func f[T I](x T) int { return x.foo() } type squarer int func (x squarer) foo() int { return int(x*x) } type doubler int func (x doubler) foo() int { return int(2*x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 855 bytes - Viewed (0) -
src/main/resources/fess_indices/fess/it/stopwords.txt
vostra vostri vostre mi ti ci vi lo la li le gli ne il un uno una ma ed se perché anche come dov dove che chi cui non più quale quanto quanti quanta quante quello quelli quella quelle questo questi questa queste si tutto tutti a c e i l o ho hai ha
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Nov 27 12:59:36 UTC 2023 - 1.8K bytes - Viewed (0)