- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 756 for deltaT (0.12 sec)
-
src/time/tick_test.go
t.Log(e) } } for _, test := range []struct { count int delta Duration }{{ count: baseCount, delta: baseDelta, }, { count: 8, delta: 1 * Second, }} { count, delta := test.count, test.delta ticker := NewTicker(delta) t0 := Now() for range count / 2 { <-ticker.C } ticker.Reset(delta * 2) for range count - count/2 { <-ticker.C } ticker.Stop()
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/internal/runtime/atomic/atomic_mipsx.go
_ = *addr spinLock(&lock.state) } //go:nosplit func unlock() { spinUnlock(&lock.state) } //go:nosplit func Xadd64(addr *uint64, delta int64) (new uint64) { lockAndCheck(addr) new = *addr + uint64(delta) *addr = new unlock() return } //go:nosplit func Xchg64(addr *uint64, new uint64) (old uint64) { lockAndCheck(addr) old = *addr *addr = new
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 20:08:37 UTC 2024 - 3.2K bytes - Viewed (0) -
src/sync/atomic/doc.go
func AddUint32(addr *uint32, delta uint32) (new uint32) // AddInt64 atomically adds delta to *addr and returns the new value. // Consider using the more ergonomic and less error-prone [Int64.Add] instead // (particularly if you target 32-bit platforms; see the bugs section). func AddInt64(addr *int64, delta int64) (new int64) // AddUint64 atomically adds delta to *addr and returns the new value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 11.7K bytes - Viewed (0) -
test/fixedbugs/bug247.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 365 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go
// AddRequestsInQueues adds the given delta to the gauge of the # of requests in the queues of the specified flowSchema and priorityLevel func AddRequestsInQueues(ctx context.Context, priorityLevel, flowSchema string, delta int) { apiserverCurrentInqueueRequests.WithLabelValues(priorityLevel, flowSchema).Add(float64(delta)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 19:40:05 UTC 2023 - 25.6K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_ppc64x.go
//go:build ppc64 || ppc64le package atomic import "unsafe" //go:noescape func Xadd(ptr *uint32, delta int32) uint32 //go:noescape func Xadd64(ptr *uint64, delta int64) uint64 //go:noescape func Xadduintptr(ptr *uintptr, delta uintptr) uintptr //go:noescape func Xchg(ptr *uint32, new uint32) uint32 //go:noescape func Xchg64(ptr *uint64, new uint64) uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.1K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_riscv64.go
// license that can be found in the LICENSE file. package atomic import "unsafe" //go:noescape func Xadd(ptr *uint32, delta int32) uint32 //go:noescape func Xadd64(ptr *uint64, delta int64) uint64 //go:noescape func Xadduintptr(ptr *uintptr, delta uintptr) uintptr //go:noescape func Xchg(ptr *uint32, new uint32) uint32 //go:noescape func Xchg64(ptr *uint64, new uint64) uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2K bytes - Viewed (0) -
src/go/internal/gcimporter/support.go
"sync" ) func assert(b bool) { if !b { panic("assertion failed") } } func errorf(format string, args ...any) { panic(fmt.Sprintf(format, args...)) } // deltaNewFile is a magic line delta offset indicating a new file. // We use -64 because it is rare; see issue 20080 and CL 41619. // -64 is the smallest int that fits in a single byte as a varint. const deltaNewFile = -64 // Synthesize a token.Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc
CellReader<int64_t> static_error(kNonStaticOpStreamz); CreateModule(kNonStaticFailure); auto result = Run(); EXPECT_TRUE(result.failed()); EXPECT_EQ(legal_error.Delta("mhlo.dynamic_iota"), 0); EXPECT_EQ(static_error.Delta("mhlo.dynamic_iota"), 1); } TEST_F(VerifyTfxlaLegalizationTest, SkipsSpecificNonStaticInputs) { // Using a string constant here instead of testdata to make this compatible
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/MultiLineBuildProgressArea.java
public void resizeBuildProgressTo(int buildProgressLabelCount) { int delta = buildProgressLabelCount - buildProgressLabels.size(); if (delta <= 0) { // We don't support shrinking at the moment return; } int row = parkingLabel.getWritePosition().row; parkingLabel.scrollDownBy(delta); while (delta-- > 0) { DefaultRedrawableLabel label = newLabel(row--);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 5K bytes - Viewed (0)