- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 210 for flive (0.06 sec)
-
test/finprofiled.go
// only for middle bytes. The finalizer resurrects that object. // As the result, all allocated memory must stay alive. const ( N = 1 << 20 tinyBlockSize = 16 // runtime._TinySize ) hold := make([]*int32, 0, N) for i := 0; i < N; i++ { x := new(int32) if i%3 == 0 { runtime.SetFinalizer(x, func(p *int32) { hold = append(hold, p) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 05:48:00 UTC 2023 - 2.1K bytes - Viewed (0) -
src/sync/oncefunc_test.go
} f() gcwaitfin() if gc.Load() != true { // Even if f is still alive, the function passed to Once(Func|Value|Values) // is not kept alive after the first call to f. t.Fatal("wrapped function should be garbage collected, but still live") } f() }) } } // gcwaitfin performs garbage collection and waits for all finalizers to run.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:31:33 UTC 2023 - 6.9K bytes - Viewed (0) -
test/fixedbugs/issue15747.go
var b bool func f1(q *Q, xx []byte) interface{} { // ERROR "live at call to newobject: xx$" "live at entry to f1: xx$" // xx was copied from the stack to the heap on the previous line: // xx was live for the first two prints but then it switched to &xx // being live. We should not see plain xx again. if b { global = &xx } xx, _, err := f2(xx, 5) // ERROR "live at call to f2: &xx$" if err != nil { return err } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadcode.go
func liveValues(f *Func, reachable []bool) (live []bool, liveOrderStmts []*Value) { live = f.Cache.allocBoolSlice(f.NumValues()) liveOrderStmts = f.Cache.allocValueSlice(f.NumValues())[:0] // After regalloc, consider all values to be live. // See the comment at the top of regalloc.go and in deadcode for details. if f.RegAlloc != nil { for i := range live { live[i] = true } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:29:01 UTC 2023 - 9.2K bytes - Viewed (0) -
test/live2.go
// errorcheck -0 -live -wb=0 // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // liveness tests with inlining ENABLED // see also live.go. package main // issue 8142: lost 'addrtaken' bit on inlined variables. func printnl() //go:noescape func useT40(*T40) type T40 struct { m map[int]int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 23:29:33 UTC 2023 - 953 bytes - Viewed (0) -
test/fixedbugs/issue20250.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 727 bytes - Viewed (0) -
test/live_uintptrkeepalive.go
func autotmpImplicit() { // ERROR "can inline autotmpImplicit" var t int implicit(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to implicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$" } func autotmpExplicit() { // ERROR "can inline autotmpExplicit" var t int explicit(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to explicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/ready/probe.go
} // isEnvoyReady checks to ensure that Envoy is in the LIVE state and workers have started. func (p *Probe) isEnvoyReady() error { if p.NoEnvoy { return nil } if p.Context == nil { return p.checkEnvoyReadiness() } select { case <-p.Context.Done(): return fmt.Errorf("server is not live, current state is: %s", StateString(Draining)) default: return p.checkEnvoyReadiness() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 00:35:05 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionFactory.java
* * The collection is live, so that the contents are queried as required on query of the collection. */ FileCollectionInternal create(MinimalFileSet contents); /** * Creates a {@link FileCollection} with the given contents, and built by the given tasks. * * The collection is live, so that the contents are queried as required on query of the collection. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 7.6K bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_windows_test.go
// TODO(panjf2000): Unlike Unix-like OS's, old Windows (prior to Windows 10, version 1709) // doesn't provide any ways to retrieve the current TCP keep-alive settings, therefore // we're not able to run the test suite similar to Unix-like OS's on Windows. // Try to find another proper approach to test the keep-alive settings on old Windows. if !windows.SupportTCPKeepAliveIdle() || !windows.SupportTCPKeepAliveInterval() || !windows.SupportTCPKeepAliveCount() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:35 UTC 2024 - 987 bytes - Viewed (0)