- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 885 for Func (0.04 sec)
-
api/go1.23.txt
pkg go/types, method (*Func) Signature() *Signature #65772 pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897 pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897 pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897 pkg iter, type Seq[$0 interface{}] func(func($0) bool) #61897
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 25 17:08:08 UTC 2024 - 10.1K bytes - Viewed (0) -
cmd/naughty-disk_test.go
} func (d *naughtyDisk) LastConn() time.Time { return d.disk.LastConn() } func (d *naughtyDisk) IsLocal() bool { return d.disk.IsLocal() } func (d *naughtyDisk) Endpoint() Endpoint { return d.disk.Endpoint() } func (d *naughtyDisk) Hostname() string { return d.disk.Hostname() } func (d *naughtyDisk) Healing() *healingTracker { return d.disk.Healing() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 10.1K bytes - Viewed (0) -
callbacks.go
} func (p *processor) Match(fc func(*DB) bool) *callback { return &callback{match: fc, processor: p} } func (p *processor) Register(name string, fn func(*DB)) error { return (&callback{processor: p}).Register(name, fn) } func (p *processor) Remove(name string) error { return (&callback{processor: p}).Remove(name) } func (p *processor) Replace(name string, fn func(*DB)) error {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 8.6K bytes - Viewed (0) -
internal/grid/types.go
} // NewArrayOf returns a new ArrayOf. // You must provide a function that returns a new instance of T. func NewArrayOf[T RoundTripper](newFn func() T) *ArrayOf[T] { return &ArrayOf[T]{ ePool: sync.Pool{New: func() any { return newFn() }}, } } // New returns a new empty Array. func (p *ArrayOf[T]) New() *Array[T] { return &Array[T]{ p: p, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/data-usage-cache_gen_test.go
t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgallTierStats(b *testing.B) { v := allTierStats{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgallTierStats(b *testing.B) { v := allTierStats{} bts := make([]byte, 0, v.Msgsize())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 19K bytes - Viewed (0) -
internal/color/color.go
return fmt.Sprint }() RedBoldf = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintfFunc() } return fmt.Sprintf }() Red = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed).SprintfFunc() } return fmt.Sprintf }() Blue = func() func(format string, a ...interface{}) string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/logging.go
} func rebalanceLogIf(ctx context.Context, err error, errKind ...interface{}) { logger.LogIf(ctx, "rebalance", err, errKind...) } func rebalanceLogEvent(ctx context.Context, msg string, args ...interface{}) { logger.Event(ctx, "rebalance", msg, args...) } func adminLogIf(ctx context.Context, err error, errKind ...interface{}) { logger.LogIf(ctx, "admin", err, errKind...) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 03 18:49:48 UTC 2024 - 7.1K bytes - Viewed (0) -
internal/dsync/dsync_test.go
<-c } } func BenchmarkMutexUncontended(b *testing.B) { b.ResetTimer() b.ReportAllocs() type PaddedMutex struct { *DRWMutex } b.RunParallel(func(pb *testing.PB) { mu := PaddedMutex{NewDRWMutex(ds, "")} for pb.Next() { mu.Lock(id, source) mu.Unlock(context.Background()) } }) } func benchmarkMutex(b *testing.B, slack, work bool) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:35:19 UTC 2024 - 11.1K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
dep "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) func TestIptables(t *testing.T) { cases := []struct { name string config func(cfg *Config) ingressMode bool }{ { name: "default", config: func(cfg *Config) { cfg.RedirectDNS = true }, }, { name: "tproxy", config: func(cfg *Config) { cfg.TPROXYRedirection = true cfg.RedirectDNS = true
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/storage-rest-client.go
} // LastConn - returns when the disk is seen to be connected the last time func (client *storageRESTClient) LastConn() time.Time { return client.restClient.LastConn() } func (client *storageRESTClient) IsLocal() bool { return false } func (client *storageRESTClient) Hostname() string { return client.endpoint.Host } func (client *storageRESTClient) Endpoint() Endpoint { return client.endpoint }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:07:21 UTC 2024 - 30.2K bytes - Viewed (0)