- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 159 for conservative (0.38 sec)
-
src/runtime/mgcstack.go
// Remove and return a potential pointer to a stack object. // Returns 0 if there are no more pointers available. // // This prefers non-conservative pointers so we scan stack objects // precisely if there are any non-conservative pointers to them. func (s *stackScanState) getPtr() (p uintptr, conservative bool) { for _, head := range []**stackWorkBuf{&s.buf, &s.cbuf} { buf := *head if buf == nil { // Never had any data.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 21:06:52 UTC 2023 - 10.6K bytes - Viewed (0) -
src/cmd/internal/sys/args.go
// license that can be found in the LICENSE file. package sys // ExecArgLengthLimit is the number of bytes we can safely // pass as arguments to an exec.Command. // // Windows has a limit of 32 KB. To be conservative and not worry about whether // that includes spaces or not, just use 30 KB. Darwin's limit is less clear. // The OS claims 256KB, but we've seen failures with arglen as small as 50KB.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 02 13:15:42 UTC 2021 - 550 bytes - Viewed (0) -
test/escape_selfassign.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 16:36:56 UTC 2019 - 538 bytes - Viewed (0) -
test/fixedbugs/issue5493.go
func() { f1() }() } runtime.SetFinalizer(&f1, func(f *func()) { atomic.AddInt64(&count, -1) }) go f2() return nil } func main() { // Does not work with gccgo, due to partially conservative GC. // Try to enable when we have fully precise GC. if runtime.Compiler == "gccgo" { return } count = N var wg sync.WaitGroup wg.Add(N) for i := 0; i < N; i++ { go func() { run()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 05 21:11:31 UTC 2021 - 953 bytes - Viewed (0) -
test/deferfin.go
package main import ( "runtime" "sync" "sync/atomic" "time" ) var sink func() func main() { // Does not work with gccgo, due to partially conservative GC. // Try to enable when we have fully precise GC. if runtime.Compiler == "gccgo" { return } N := 10 count := int32(N) var wg sync.WaitGroup wg.Add(N) for i := 0; i < N; i++ { go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 05 21:11:31 UTC 2021 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_identity_op_pattern.cc
for (Operation *user : identity->getUsers()) { // Replace the op with the input if output is only used by TF ops. // Currently this is more on the conservative side since we need to ensure // every consumer op to be a TF op before applying this pattern. We can // consider to revisit this in the future if this turns out to be too // restrictive.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 15 06:13:49 UTC 2023 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go
numStored, err := e.countGetterFn(key(requestInfo)) switch { case err == ObjectCountStaleErr: // object count going stale is indicative of degradation, so we should // be conservative here and allocate maximum seats to this list request. // NOTE: if a CRD is removed, its count will go stale first and then the // pruner will eventually remove the CRD from the cache.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 7K bytes - Viewed (0) -
test/tinyfin.go
// Test finalizers work for tiny (combined) allocations. package main import ( "runtime" "time" ) func main() { // Does not work on gccgo due to partially conservative GC. // Try to enable when we have fully precise GC. if runtime.Compiler == "gccgo" { return } const N = 100 finalized := make(chan int32, N) for i := 0; i < N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 03 18:57:18 UTC 2015 - 1.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionInfoProvider.kt
* * E.g. `x` in the following example is definitely *not* used (`x.isUsedAsExpression() == false`) * - `run { x; println(50) }` * - `when (x) { else -> ... }` * * **Note!** This is a conservative check, not a control-flow analysis. * E.g. `x` in the following example *is possibly used*, even though the * value is never consumed at runtime. * - `x + try { throw Exception() } finally { return }` *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 3.4K bytes - Viewed (0) -
test/fixedbugs/bug484.go
// The register optimizer has been changed to respect the // same "address taken" flag that the liveness analysis uses, // even if it cannot see any address being taken in the actual // machine code. This is conservative but keeps the two consistent, // which is the most important thing. package main import "runtime" //go:noinline func f() interface{} { runtime.GC() return nil } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.7K bytes - Viewed (0)