- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,638 for CLEAR (0.04 sec)
-
src/sync/map_test.go
} }(i) } // Clearing data from the map concurrently for i := 0; i < 10; i++ { go func() { defer wg.Done() m.Clear() }() } wg.Wait() m.Clear() m.Range(func(k, v any) bool { t.Errorf("after Clear, Map contains (%v, %v); expected to be empty", k, v) return true }) } func TestMapClearNoAllocations(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 15:34:22 UTC 2024 - 8.1K bytes - Viewed (0) -
src/runtime/export_unix_test.go
//go:build unix package runtime import "unsafe" var NonblockingPipe = nonblockingPipe var Fcntl = fcntl var Closeonexec = closeonexec func sigismember(mask *sigset, i int) bool { clear := *mask sigdelset(&clear, i) return clear != *mask } func Sigisblocked(i int) bool { var sigmask sigset sigprocmask(_SIG_SETMASK, nil, &sigmask) return sigismember(&sigmask, i) } type M = m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 20 21:27:51 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/scheduler/metrics/metric_recorder.go
package metrics import ( "time" "k8s.io/component-base/metrics" ) // MetricRecorder represents a metric recorder which takes action when the // metric Inc(), Dec() and Clear() type MetricRecorder interface { Inc() Dec() Clear() } var _ MetricRecorder = &PendingPodsRecorder{} // PendingPodsRecorder is an implementation of MetricRecorder type PendingPodsRecorder struct { recorder metrics.GaugeMetric
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 16 07:27:08 UTC 2023 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/xposmap.go
maps[int32(i)] = newBiasedSparseMap(int(p.first), int(p.last)) } return &xposmap{maps: maps, lastIndex: -1} // zero for the rest is okay } // clear removes data from the map but leaves the sparse skeleton. func (m *xposmap) clear() { for _, l := range m.maps { if l != nil { l.clear() } } m.lastIndex = -1 m.lastMap = nil } // mapFor returns the line range map for a given file index.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:48:16 UTC 2019 - 3.3K bytes - Viewed (0) -
src/runtime/mpallocbits.go
b[i/64] |= v } // clear clears bit i of pageBits. func (b *pageBits) clear(i uint) { b[i/64] &^= 1 << (i % 64) } // clearRange clears bits in the range [i, i+n). func (b *pageBits) clearRange(i, n uint) { _ = b[i/64] if n == 1 { // Fast path for the n == 1 case. b.clear(i) return } // Clear bits [i, j]. j := i + n - 1 if i/64 == j/64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 15:13:43 UTC 2024 - 12.5K bytes - Viewed (0) -
tests/test_dependency_contextmanager.py
assert "/async_raise" in errors errors.clear() def test_async_raise_server_error(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/async_raise") assert response.status_code == 500, response.text assert state["/async_raise"] == "asyncgen raise finalized" assert "/async_raise" in errors errors.clear() def test_context_b():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 11.6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug_report.md
(_Please see [discuss.codelibs.org](https://discuss.codelibs.org/c/FessEN/8) before filing a bug._) **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots**
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Mon Feb 10 22:18:26 UTC 2020 - 748 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedValueCache.java
public interface CalculatedValueCache<K, V> { /** * @see Map#computeIfAbsent(Object, Function) */ V computeIfAbsent(K key, Function<K, V> factory); /** * @see Map#clear() */ void clear();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:21:17 UTC 2024 - 1014 bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestEventLoggerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:45:02 UTC 2024 - 4K bytes - Viewed (0) -
tests/multi_primary_keys_test.go
} // Clear DB.Model(&blog2).Association("LocaleTags").Clear() if DB.Model(&blog).Association("LocaleTags").Count() != 3 { t.Fatalf("ZH Blog's tags should not be cleared when clear EN Blog's tags") } if DB.Model(&blog2).Association("LocaleTags").Count() != 0 { t.Fatalf("EN Blog's tags should be cleared when clear EN Blog's tags") }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 12.8K bytes - Viewed (0)