Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for livable (0.31 sec)

  1. src/runtime/runtime-lldb_test.go

    	err = os.WriteFile(mod, []byte("module lldbtest"), 0644)
    	if err != nil {
    		t.Fatalf("failed to create mod file: %v", err)
    	}
    
    	// As of 2018-07-17, lldb doesn't support compressed DWARF, so
    	// disable it for this test.
    	cmd := exec.Command(testenv.GoToolPath(t), "build", "-gcflags=all=-N -l", "-ldflags=-compressdwarf=false", "-o", "a.exe")
    	cmd.Dir = dir
    	cmd.Env = append(os.Environ(), "GOPATH=") // issue 31100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/crypto/aes/block.go

    //	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 AUTHORS 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/runtime/trace/annotation.go

    	s := &Task{id: id}
    	return context.WithValue(pctx, traceContextKey{}, s), s
    
    	// We allocate a new task even when
    	// the tracing is disabled because the context and task
    	// can be used across trace enable/disable boundaries,
    	// which complicates the problem.
    	//
    	// For example, consider the following scenario:
    	//   - trace is enabled.
    	//   - trace.WithRegion is called, so a new context ctx
    	//     with a new region is created.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. src/time/sleep.go

    // syncTimer returns c as an unsafe.Pointer, for passing to newTimer.
    // If the GODEBUG asynctimerchan has disabled the async timer chan
    // code, then syncTimer always returns nil, to disable the special
    // channel code paths in the runtime.
    func syncTimer(c chan Time) unsafe.Pointer {
    	// If asynctimerchan=1, we don't even tell the runtime
    	// about channel timers, so that we get the pre-Go 1.23 code paths.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue27340/a.go

    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    // #pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
    //
    // typedef struct {
    // 	int a;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/testdata/deadcode/structof_funcof.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Methods of reflect.rtype use StructOf and FuncOf which in turn depend on
    // reflect.Value.Method. StructOf and FuncOf must not disable the DCE.
    
    package main
    
    import "reflect"
    
    type S int
    
    func (s S) M() { println("S.M") }
    
    func (s S) N() { println("S.N") }
    
    type T float64
    
    func (t T) F(s S) {}
    
    func useStructOf() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:07:26 UTC 2023
    - 994 bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/badtraceback.go

    package main
    
    import (
    	"runtime"
    	"runtime/debug"
    	"unsafe"
    )
    
    func init() {
    	register("BadTraceback", BadTraceback)
    }
    
    func BadTraceback() {
    	// Disable GC to prevent traceback at unexpected time.
    	debug.SetGCPercent(-1)
    	// Out of an abundance of caution, also make sure that there are
    	// no GCs actively in progress.
    	runtime.GC()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 23:02:28 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  8. src/net/http/pprof/testdata/delta_mutex.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"net/http"
    	"net/http/pprof"
    	"net/http/httptest"
    	"runtime"
    )
    
    func main() {
    	// Disable the mutex profiler. This is the default, but that default is
    	// load-bearing for this test, which needs the base profile to be empty.
    	runtime.SetMutexProfileFraction(0)
    
    	h := pprof.Handler("mutex")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/x86/obj.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package x86
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/preempt.go

    )
    
    func init() {
    	register("AsyncPreempt", AsyncPreempt)
    }
    
    func AsyncPreempt() {
    	// Run with just 1 GOMAXPROCS so the runtime is required to
    	// use scheduler preemption.
    	runtime.GOMAXPROCS(1)
    	// Disable GC so we have complete control of what we're testing.
    	debug.SetGCPercent(-1)
    	// Out of an abundance of caution, also make sure that there are
    	// no GCs actively in progress. The sweep phase of a GC cycle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 17:46:04 UTC 2021
    - 1.6K bytes
    - Viewed (0)
Back to top