- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 747 for resets (0.13 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ResettableExpectations.java
* test expectations before cleanup so they can be silenced if necessary. */ public interface ResettableExpectations { /** * Resets all pending expectations after verifying them. * Must throw when a verification fails. */ void resetExpectations();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1K bytes - Viewed (0) -
src/runtime/trace2map_test.go
package runtime_test import ( . "runtime" "strconv" "sync" "testing" ) func TestTraceMap(t *testing.T) { var m TraceMap // Try all these operations multiple times between resets, to make sure // we're resetting properly. for range 3 { var d = [...]string{ "a", "b", "aa", "ab", "ba", "bb", } for i, s := range d { id, inserted := m.PutString(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 10 18:52:49 UTC 2024 - 1.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheController.java
*/ void configurationAvailable(BuildCacheConfigurationInternal configuration); /** * Resets the state of this controller in preparation for loading configuration from the cache. */ void resetState();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:28:13 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/tracetype.go
// releases all memory and resets state. It must only be called once the caller // can guarantee that there are no more writers to the table. func (t *traceTypeTable) dump(gen uintptr) { w := unsafeTraceExpWriter(gen, nil, traceExperimentAllocFree) if root := (*traceMapNode)(t.tab.root.Load()); root != nil { w = dumpTypesRec(root, w) } w.flush().end() t.tab.reset() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/ConnectorServices.java
return new DefaultCancellationTokenSource(); } public static void close() { singletonRegistry.close(); } /** * Resets the state of connector services. Meant to be used only for testing! */ public static void reset() { singletonRegistry.close(); singletonRegistry = new ConnectorServiceRegistry(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 4.3K bytes - Viewed (0) -
src/runtime/coverage/coverage.go
// "-cover", or if a write fails). The counter data written will be a // snapshot taken at the point of the invocation. func WriteCounters(w io.Writer) error { return cfile.WriteCounters(w) } // ClearCounters clears/resets all coverage counter variables in the // currently running program. It returns an error if the program in // question was not built with the "-cover" flag. Clearing of coverage
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 2.5K bytes - Viewed (0) -
src/time/tick.go
stopTimer((*Timer)(unsafe.Pointer(t))) } // Reset stops a ticker and resets its period to the specified duration. // The next tick will arrive after the new period elapses. The duration d // must be greater than zero; if not, Reset will panic. func (t *Ticker) Reset(d Duration) { if d <= 0 { panic("non-positive interval for Ticker.Reset") } if !t.initTicker { panic("time: Reset called on uninitialized Ticker") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 3.6K bytes - Viewed (0) -
src/math/rand/v2/chacha8.go
readLen int // 0 <= readLen <= 8 } // NewChaCha8 returns a new ChaCha8 seeded with the given seed. func NewChaCha8(seed [32]byte) *ChaCha8 { c := new(ChaCha8) c.state.Init(seed) return c } // Seed resets the ChaCha8 to behave the same way as NewChaCha8(seed). func (c *ChaCha8) Seed(seed [32]byte) { c.state.Init(seed) c.readLen = 0 c.readBuf = [8]byte{} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 2.8K bytes - Viewed (0) -
src/runtime/traceregion.go
x := (*notInHeap)(unsafe.Pointer(&block.data[0])) // Publish the new block. a.current.Store(unsafe.Pointer(block)) unlock(&a.lock) return x } // drop frees all previously allocated memory and resets the allocator. // // drop is not safe to call concurrently with other calls to drop or with calls to alloc. The caller // must ensure that it is not possible for anything else to be using the same structure.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 3.2K bytes - Viewed (0) -
src/strings/builder.go
// total space allocated for the string being built and includes any bytes // already written. func (b *Builder) Cap() int { return cap(b.buf) } // Reset resets the [Builder] to be empty. func (b *Builder) Reset() { b.addr = nil b.buf = nil } // grow copies the buffer to a new, larger buffer so that there are at least n // bytes of capacity beyond len(b.buf). func (b *Builder) grow(n int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 3.2K bytes - Viewed (0)