- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,967 for FUNC (0.06 sec)
-
src/time/tick_test.go
done := make(chan bool) AfterFunc(60*Second, func() { close(done) }) // Set up a queuing goroutine to ping pong through the scheduler. inQ := make(chan func()) outQ := make(chan func()) defer close(inQ) wg.Add(1) go func() { defer wg.Done() defer close(outQ) var q []func() for { var sendTo chan func() var send func() if len(q) > 0 { sendTo = outQ
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
src/net/resolverdialfunc_test.go
StartDial func(network, address string) error Question func(dnsmessage.Header, dnsmessage.Question) // err may be ErrNotExist or ErrRefused; others map to SERVFAIL (RCode2). // A nil error means success. HandleA func(w AWriter, name string) error HandleAAAA func(w AAAAWriter, name string) error HandleSRV func(w SRVWriter, name string) error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/object-api-errors.go
func (e ObjectNameInvalid) Error() string { return "Object name invalid: " + e.Bucket + "/" + e.Object } // Error returns string an error formatted as the given text. func (e ObjectNameTooLong) Error() string { return "Object name too long: " + e.Bucket + "/" + e.Object } // Error returns string an error formatted as the given text. func (e ObjectNamePrefixAsSlash) Error() string {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 22:19:00 UTC 2024 - 21.5K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_wasm.go
//go:noinline func LoadAcquintptr(ptr *uintptr) uintptr { return *ptr } //go:nosplit //go:noinline func Load8(ptr *uint8) uint8 { return *ptr } //go:nosplit //go:noinline func Load64(ptr *uint64) uint64 { return *ptr } //go:nosplit //go:noinline func Xadd(ptr *uint32, delta int32) uint32 { new := *ptr + uint32(delta) *ptr = new return new } //go:nosplit //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/zdsapi/zds.pb.go
"NOT_USED": 0, "V1": 1, } ) func (x Version) Enum() *Version { p := new(Version) *p = x return p } func (x Version) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Version) Descriptor() protoreflect.EnumDescriptor { return file_zdsapi_zds_proto_enumTypes[0].Descriptor() } func (Version) Type() protoreflect.EnumType {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 25.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
} func (p anyObject) MarshalCBOR() ([]byte, error) { return modes.Encode.Marshal(p.Value) } func (p *anyObject) UnmarshalCBOR(in []byte) error { return modes.Decode.Unmarshal(in, &p.Value) } func TestEncode(t *testing.T) { for _, tc := range []struct { name string in runtime.Object assertOnWriter func() (io.Writer, func(*testing.T)) assertOnError func(*testing.T, error) }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgBaseOptions(b *testing.B) { v := BaseOptions{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgBaseOptions(b *testing.B) { v := BaseOptions{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0])
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 62.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/watch/watch.go
func (f *FakeWatcher) Add(obj runtime.Object) { f.result <- Event{Added, obj} } // Modify sends a modify event. func (f *FakeWatcher) Modify(obj runtime.Object) { f.result <- Event{Modified, obj} } // Delete sends a delete event. func (f *FakeWatcher) Delete(lastValue runtime.Object) { f.result <- Event{Deleted, lastValue} } // Error sends an Error event.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 20:06:22 UTC 2024 - 8.1K bytes - Viewed (1) -
src/runtime/map_test.go
mustNotPanic(func() { _ = me[f32] }) mustNotPanic(func() { _ = me[f64] }) mustNotPanic(func() { _ = me[c64] }) mustNotPanic(func() { _ = me[c128] }) mustNotPanic(func() { _ = me[a] }) mustNotPanic(func() { _ = me[s] }) mustNotPanic(func() { _ = me[p] }) mustNotPanic(func() { _ = me[up] }) mustNotPanic(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 33.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
// Name is an unqualified name. type Name struct { Name string } func (n *Name) print(ps *printState) { ps.writeString(n.Name) } func (n *Name) Traverse(fn func(AST) bool) { fn(n) } func (n *Name) Copy(fn func(AST) AST, skip func(AST) bool) AST { if skip(n) { return nil } return fn(n) } func (n *Name) GoString() string { return n.goString(0, "Name: ") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0)