- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 58 for ctb1 (0.11 sec)
-
src/go/doc/testdata/d.2.golden
// PACKAGE d IMPORTPATH testdata/d FILENAMES testdata/d1.go testdata/d2.go CONSTANTS // CBx constants should appear before CAx constants. const ( CB2 = iota // before CB1 CB1 // before CB0 CB0 // at end ) // CAx constants should appear after CBx constants. const ( CA2 = iota // before CA1 CA1 // before CA0 CA0 // at end ) // C0 should be first. const C0 = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.5K bytes - Viewed (0) -
cmd/shared-lock.go
case ld.lockContext <- lkctx: // Send the lock context to anyone asking for it } } } } func mergeContext(ctx1, ctx2 context.Context) (context.Context, context.CancelFunc) { ctx, cancel := context.WithCancel(context.Background()) go func() { select { case <-ctx1.Done(): case <-ctx2.Done(): // The lock acquirer decides to cancel, exit this goroutine case <-ctx.Done(): } cancel()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 13 09:26:38 UTC 2023 - 2.3K bytes - Viewed (0) -
src/context/example_test.go
}) return ctx, func() { stop() cancel(context.Canceled) } } ctx1, cancel1 := context.WithCancelCause(context.Background()) defer cancel1(errors.New("ctx1 canceled")) ctx2, cancel2 := context.WithCancelCause(context.Background()) mergedCtx, mergedCancel := mergeCancel(ctx1, ctx2) defer mergedCancel() cancel2(errors.New("ctx2 canceled")) <-mergedCtx.Done()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 20:24:28 UTC 2023 - 6.7K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/annotations-stress.go
// Create a task that starts and ends entirely outside of the trace. ctx0, t0 := trace.NewTask(baseCtx, "parent") // Create a task that starts before the trace and ends during the trace. ctx1, t1 := trace.NewTask(ctx0, "type1") // Start tracing. if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) } t1.End()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/dsync/drwmutex_test.go
const ( id = "1234-5678" source = "main.go" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { 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...")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleFunctionContextReceivers.txt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Aug 14 15:22:43 UTC 2023 - 158 bytes - Viewed (0) -
src/go/doc/testdata/d1.go
package d // C2 should be third. const C2 = 2 // V2 should be third. var V2 int // CBx constants should appear before CAx constants. const ( CB2 = iota // before CB1 CB1 // before CB0 CB0 // at end ) // VBx variables should appear before VAx variables. var ( VB2 int // before VB1 VB1 int // before VB0 VB0 int // at end ) const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java
cb.specify().columnId(); }); final List<String> idList = activeSessionList.stream().map(CrawlingInfo::getId).collect(Collectors.toList()); crawlingInfoParamBhv.queryDelete(cb1 -> cb1.query().filtered((cq, cf) -> { cq.matchAll(); if (!idList.isEmpty()) { cf.not(subCf -> subCf.setCrawlingInfoId_InScope(idList)); } }));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 13.4K bytes - Viewed (0) -
src/image/color/ycbcr.go
r := yy1 + 91881*cr1 if uint32(r)&0xff000000 == 0 { r >>= 16 } else { r = ^(r >> 31) } g := yy1 - 22554*cb1 - 46802*cr1 if uint32(g)&0xff000000 == 0 { g >>= 16 } else { g = ^(g >> 31) } b := yy1 + 116130*cb1 if uint32(b)&0xff000000 == 0 { b >>= 16 } else { b = ^(b >> 31) } return uint8(r), uint8(g), uint8(b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir
} tf_executor.fetch } func.return } // CHECK: %[[CT_0:.*]] = tf_executor.ControlTrigger // CHECK: %[[CT_1:.*]] = tf_executor.ControlTrigger // CHECK: %{{.*}} = tf_executor.island(%[[CT_0]], %[[CT_1]]) // CHECK: %{{.*}} = tf_executor.island(%[[CT_0]], %[[CT_1]]) // Tests devices are not remapped if no devices were defined in replicate. // CHECK-LABEL: func @no_devices func.func @no_devices() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 9.3K bytes - Viewed (0)