Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ApOption (0.06 sec)

  1. test/typeparam/issue50485.dir/a.go

    type ApplicativeFunctor1[H Header[HT], HT, A, R any] struct {
    	h  Option[H]
    	fn Option[Func1[A, R]]
    }
    
    func (r ApplicativeFunctor1[H, HT, A, R]) ApOption(a Option[A]) Option[R] {
    	return Ap(r.fn, a)
    }
    
    func (r ApplicativeFunctor1[H, HT, A, R]) Ap(a A) Option[R] {
    	return r.ApOption(Some(a))
    }
    
    func Applicative1[A, R any](fn Func1[A, R]) ApplicativeFunctor1[Nil, Nil, A, R] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/latency_tracker.go

    	startedAt := time.Now()
    	defer func() {
    		endpointsrequest.TrackStorageLatency(ctx, time.Since(startedAt))
    	}()
    
    	return c.KV.Put(ctx, key, val, opts...)
    }
    
    func (c *clientV3KVLatencyTracker) Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error) {
    	startedAt := time.Now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top