- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 157 for conservatively (0.15 sec)
-
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) -
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) -
src/internal/poll/writev.go
return 0, err } var iovecs []syscall.Iovec if fd.iovecs != nil { iovecs = *fd.iovecs } // TODO: read from sysconf(_SC_IOV_MAX)? The Linux default is // 1024 and this seems conservative enough for now. Darwin's // UIO_MAXIOV also seems to be 1024. maxVec := 1024 if runtime.GOOS == "aix" || runtime.GOOS == "solaris" { // IOV_MAX is set to XOPEN_IOV_MAX on AIX and Solaris. maxVec = 16 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/kubelet/pleg/pleg.go
type RelistDuration struct { // The period for relisting. RelistPeriod time.Duration // The relisting threshold needs to be greater than the relisting period + // the relisting time, which can vary significantly. Set a conservative // threshold to avoid flipping between healthy and unhealthy. RelistThreshold time.Duration } const ( // ContainerStarted - event type when the new state of container is running.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 26 16:14:26 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc
// to make as many tranposes redudant as possible, we can "push" transposes // back so that they fuse later on. These patterns handles 2 such cases in // a conservative fashion; on-net it will never add to the number of transposes // in the graph. // ewise(tpose(x), tpose(y)) -> tpose(ewise(x, y)) // iff tpose(x) or tpose(y) has one use and have same permutation. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
return result; } bool MayCallFunction(const Node& n, const FunctionLibraryDefinition* flib_def) { if (flib_def->Contains(n.type_string())) { return true; } // This is a conservative check: there may be nodes with a `func` // attribute that do not make function calls. return absl::c_any_of(n.def().attr(), [](const std::pair<string, AttrValue>& name_attr_pair) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
internal/dsync/dsync-client_test.go
ReadBufferSize: 32 << 10, // 32KiB moving up from 4KiB default IdleConnTimeout: 15 * time.Second, ResponseHeaderTimeout: 15 * time.Minute, // Set conservative timeouts for MinIO internode. TLSHandshakeTimeout: 15 * time.Second, ExpectContinueTimeout: 15 * time.Second, // Go net/http automatically unzip if content-type is
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 20 17:36:09 UTC 2022 - 4.4K bytes - Viewed (0)