- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 163 for Settable (0.17 sec)
-
test/typeparam/settable.go
Robert Griesemer <******@****.***> 1645769500 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:48:58 UTC 2022 - 2.7K bytes - Viewed (0) -
src/net/tcpsockopt_openbsd.go
func setKeepAliveIdle(_ *netFD, d time.Duration) error { if d < 0 { return nil } // OpenBSD has no user-settable per-socket TCP keepalive // options. return syscall.ENOPROTOOPT } func setKeepAliveInterval(_ *netFD, d time.Duration) error { if d < 0 { return nil } // OpenBSD has no user-settable per-socket TCP keepalive // options. return syscall.ENOPROTOOPT }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 759 bytes - Viewed (0) -
src/internal/types/testdata/check/funcinference.go
p := PT(&result[i]) // PT has a Set method. p.Set(v) } return result } type Settable int func (p *Settable) Set(s string) { i, _ := strconv.Atoi(s) // real code should not ignore the error *p = Settable(i) } var _ = FromStrings[Settable]([]string{"1", "2"}) // Suitable error message when the type parameter is provided (rather than inferred).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 21:01:45 UTC 2023 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertThat(successCalls[0]).isEqualTo(1); assertThat(failureCalls[0]).isEqualTo(0); } public void testWildcardFuture() { SettableFuture<String> settable = SettableFuture.create(); ListenableFuture<?> f = settable; FutureCallback<Object> callback = new FutureCallback<Object>() { @Override public void onSuccess(Object result) {} @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Nov 15 16:33:21 UTC 2022 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertThat(successCalls[0]).isEqualTo(1); assertThat(failureCalls[0]).isEqualTo(0); } public void testWildcardFuture() { SettableFuture<String> settable = SettableFuture.create(); ListenableFuture<?> f = settable; FutureCallback<Object> callback = new FutureCallback<Object>() { @Override public void onSuccess(Object result) {} @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/helper.go
*/ package conversion import ( "fmt" "reflect" ) // EnforcePtr ensures that obj is a pointer of some sort. Returns a reflect.Value // of the dereferenced pointer, ensuring that it is settable/addressable. // Returns an error if this is not possible. func EnforcePtr(obj interface{}) (reflect.Value, error) { v := reflect.ValueOf(obj) if v.Kind() != reflect.Pointer { if v.Kind() == reflect.Invalid {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 1.2K bytes - Viewed (0) -
src/internal/reflectlite/export_test.go
// The result is different from the zero value of the Value struct, // which represents no value at all. // For example, Zero(TypeOf(42)) returns a Value with Kind Int and value 0. // The returned value is neither addressable nor settable. func Zero(typ Type) Value { if typ == nil { panic("reflect: Zero(nil)") } t := typ.common() fl := flag(t.Kind()) if t.IfaceIndir() { return Value{t, unsafe_New(t), fl | flagIndir} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kubemark/hollow_kubelet.go
KubeletConfiguration: *hk.KubeletConfiguration, }, hk.KubeletDeps, false); err != nil { klog.Fatalf("Failed to run HollowKubelet: %v. Exiting.", err) } select {} } // HollowKubeletOptions contains settable parameters for hollow kubelet. type HollowKubeletOptions struct { NodeName string KubeletPort int KubeletReadOnlyPort int MaxPods int PodsPerCore int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:10:54 UTC 2024 - 7.8K bytes - Viewed (0) -
src/encoding/json/decode.go
// If decodingNull is true, indirect stops at the first settable pointer so it // can be set to nil. func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnmarshaler, reflect.Value) { // Issue #24153 indicates that it is generally not a guaranteed property // that you may round-trip a reflect.Value by calling Value.Addr().Elem() // and expect the value to still be settable for values derived from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 35.3K bytes - Viewed (0) -
src/runtime/netpoll.go
lock mutex // protects the following fields closing bool rrun bool // whether rt is running wrun bool // whether wt is running user uint32 // user settable cookie rseq uintptr // protects from stale read timers rt timer // read deadline timer rd int64 // read deadline (a nanotime in the future, -1 when expired)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0)