- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 91 for livable (0.25 sec)
-
src/encoding/json/encode_test.go
} x := Foo{Number(`invalid`)} if _, err := Marshal(&x); err == nil { t.Fatalf("Marshal error: got nil, want non-nil") } } func TestMarshalErrorAndReuseEncodeState(t *testing.T) { // Disable the GC temporarily to prevent encodeState's in Pool being cleaned away during the test. percent := debug.SetGCPercent(-1) defer debug.SetGCPercent(percent) // Trigger an error in Marshal with cyclic data.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
defer func() { if t.Failed() { t.Logf("Failure of this test may indicate that your system suffers from a known Linux kernel bug fixed on newer kernels. See https://golang.org/issue/49065.") } }() // Disable on affected builders to avoid flakiness, but otherwise keep // it enabled to potentially warn users that they are on a broken // kernel. if testenv.Builder() != "" && (runtime.GOARCH == "386" || runtime.GOARCH == "amd64") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/runtime/mgcsweep.go
func isSweepDone() bool { return sweep.active.isDone() } // Returns only when span s has been swept. // //go:nowritebarrier func (s *mspan) ensureSwept() { // Caller must disable preemption. // Otherwise when this function returns the span can become unswept again // (if GC is triggered on another goroutine). gp := getg() if gp.m.locks == 0 && gp.m.mallocing == 0 && gp != gp.m.g0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 195.8K bytes - Viewed (0) -
src/sync/atomic/atomic_test.go
hammerStoreLoadInt64Method, hammerStoreLoadUint64Method, } n := int(1e6) if testing.Short() { n = int(1e4) } const procs = 8 defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(procs)) // Disable the GC because hammerStoreLoadPointer invokes // write barriers on values that aren't real pointers. defer debug.SetGCPercent(debug.SetGCPercent(-1)) // Ensure any in-progress GC is finished. runtime.GC()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
src/debug/elf/elf.go
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
src/runtime/mheap.go
// could make the slow path here several times faster by // batching heap frees. // Bail early if there's no more reclaim work. if h.reclaimIndex.Load() >= 1<<63 { return } // Disable preemption so the GC can't start while we're // sweeping, so we can read h.sweepArenas, and so // traceGCSweepStart/Done pair on the P. mp := acquirem() trace := traceAcquire() if trace.ok() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
src/net/http/transport_test.go
buf.Flush() conn.Close() })) // Our test server above is sending back bogus data after the // response (the "0\r\n\r\n" part), which causes the Transport // code to log spam. Disable keep-alives so we never even try // to reuse the connection. cst.tr.DisableKeepAlives = true res, err := cst.c.Get(cst.ts.URL) if err != nil { t.Fatal(err) } if res.Body != NoBody {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/runtime/debug/stack.go
// There is only one additional file: calling SetCrashOutput again overrides // any earlier call. // SetCrashOutput duplicates f's file descriptor, so the caller may safely // close f as soon as SetCrashOutput returns. // To disable this additional crash output, call SetCrashOutput(nil). // If called concurrently with a crash, some in-progress output may be written // to the old file even after an overriding SetCrashOutput returns.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
_Copy: {"copy", 2, false, statement}, _Delete: {"delete", 2, false, statement}, _Imag: {"imag", 1, false, expression}, _Len: {"len", 1, false, expression}, _Make: {"make", 1, true, expression}, // To disable max/min, remove the next two lines. _Max: {"max", 1, true, expression}, _Min: {"min", 1, true, expression}, _New: {"new", 1, false, expression}, _Panic: {"panic", 1, false, statement},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0)