- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 247 for cancer (0.11 sec)
-
internal/dsync/drwmutex_test.go
drwm1 := NewDRWMutex(ds, "simplelock") ctx1, cancel1 := context.WithCancel(context.Background()) if !drwm1.GetRLock(ctx1, cancel1, id, source, Options{Timeout: time.Second}) { panic("Failed to acquire read lock") } // fmt.Println("1st read lock acquired, waiting...") drwm2 := NewDRWMutex(ds, "simplelock") ctx2, cancel2 := context.WithCancel(context.Background()) if !drwm2.GetRLock(ctx2, cancel2, id, source, Options{Timeout: time.Second}) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
docs/en/docs/img/sponsors/reflex-banner.png
reflex-banner.png...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Nov 18 13:38:01 UTC 2023 - 8K bytes - Viewed (0) -
cmd/namespace-lock.go
// LockContext lock context holds the lock backed context and canceler for the context. type LockContext struct { ctx context.Context cancel context.CancelFunc } // Context returns lock context func (l LockContext) Context() context.Context { return l.ctx } // Cancel function calls cancel() function func (l LockContext) Cancel() { if l.cancel != nil { l.cancel() } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/en/docs/img/sponsors/mongodb-banner.png
mongodb-banner.png...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Mar 25 23:10:11 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/img/sponsors/scalar-banner.svg
scalar-banner.svg...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Nov 28 10:52:35 UTC 2023 - 6.4K bytes - Viewed (0) -
docs/en/docs/img/sponsors/striveworks-banner.png
striveworks-banner.png...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Feb 17 14:18:01 UTC 2022 - 9.5K bytes - Viewed (0) -
docs/en/docs/img/sponsors/classiq-banner.png
classiq-banner.png...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 10 02:29:40 UTC 2022 - 5.2K bytes - Viewed (0) -
docs/en/docs/img/sponsors/fern-banner.png
fern-banner.png...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 27 18:53:51 UTC 2023 - 8.6K bytes - Viewed (0) -
docs/en/docs/img/sponsors/zuplo-banner.png
zuplo-banner.png...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Jun 18 02:25:11 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/grid/stream.go
// If the context is canceled, the stream will be canceled. func (s *Stream) Results(next func(b []byte) error) (err error) { done := false defer func() { if s.cancel != nil { s.cancel(err) } if !done { // Drain channel. for range s.responses { } } }() doneCh := s.ctx.Done() for { select { case <-doneCh:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 3.1K bytes - Viewed (0)