- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 389 for Resets (0.11 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy
when: runTask { withSystemProperties('unrelated' : 'value') } then: hasNoSystemProperty('mySystemProperty') } def "Calling withSystemProperties(null) resets to default behavior"() { when: runTask { withSystemProperties('unrelated' : 'value') withSystemProperties(null) } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 5K bytes - Viewed (0) -
src/go/scanner/errors.go
// Add adds an [Error] with given position and error message to an [ErrorList]. func (p *ErrorList) Add(pos token.Position, msg string) { *p = append(*p, &Error{pos, msg}) } // Reset resets an [ErrorList] to no errors. func (p *ErrorList) Reset() { *p = (*p)[0:0] } // [ErrorList] implements the sort Interface. func (p ErrorList) Len() int { return len(p) } func (p ErrorList) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultColorMapTest.groovy
color = map.getColourFor(Style.FailureHeader) color.on(ansi) then: 1 * ansi.fg(Color.MAGENTA) 1 * ansi.a(Attribute.ITALIC) when: 'That color is turned off, it resets to default' color.off(ansi) then: 1 * ansi.fg(Color.DEFAULT) 1 * ansi.a(Attribute.ITALIC_OFF) when: 'A Style is overridden with a compound property'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/egressselector/metrics/metrics.go
// Clock returns the clock. func (m *DialMetrics) Clock() clock.Clock { return m.clock } // SetClock sets the clock. func (m *DialMetrics) SetClock(c clock.Clock) { m.clock = c } // Reset resets the metrics. func (m *DialMetrics) Reset() { m.starts.Reset() m.latencies.Reset() m.failures.Reset() } // ObserveDialStart records the start of a dial attempt, labeled by protocol, transport.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 01 23:36:51 UTC 2022 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/managedfieldstest/testfieldmanager.go
// test them specifically. type TestFieldManager interface { // APIVersion of the object that we're tracking. APIVersion() string // Reset resets the state of the liveObject by resetting it to an empty object. Reset() // Live returns a copy of the current liveObject. Live() runtime.Object // Apply applies the given object on top of the current liveObj, for the // given manager and force flag.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 16 20:03:48 UTC 2023 - 3.6K 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) -
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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyContextManagerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/strings/reader.go
} r.i += int64(m) n = int64(m) if m != len(s) && err == nil { err = io.ErrShortWrite } return } // Reset resets the [Reader] to be reading from s. func (r *Reader) Reset(s string) { *r = Reader{s, 0, -1} } // NewReader returns a new [Reader] reading from s. // It is similar to [bytes.NewBufferString] but more efficient and non-writable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:10:31 UTC 2023 - 3.9K bytes - Viewed (0)