Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 312 for Cutime (0.15 sec)

  1. src/runtime/runtime-gdb_unix_test.go

    // through a signal handler in a core file
    func TestGdbCoreSignalBacktrace(t *testing.T) {
    	if runtime.GOOS != "linux" {
    		// N.B. This test isn't fundamentally Linux-only, but it needs
    		// to know how to enable/find core files on each OS.
    		t.Skip("Test only supported on Linux")
    	}
    	if runtime.GOARCH != "386" && runtime.GOARCH != "amd64" {
    		// TODO(go.dev/issue/25218): Other architectures use sigreturn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/runtime/pprof/rusage_test.go

    	f()
    
    	err = syscall.Getrusage(syscall.RUSAGE_SELF, &after)
    	if err != nil {
    		ok = false
    	}
    
    	if !ok {
    		return 0, 0
    	}
    
    	user = time.Duration(after.Utime.Nano() - before.Utime.Nano())
    	system = time.Duration(after.Stime.Nano() - before.Stime.Nano())
    	return user, system
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 23:58:34 UTC 2022
    - 753 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go

    }
    
    func Time(t *Time_t) (Time_t, error) {
    	var tv Timeval
    	err := Gettimeofday(&tv)
    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    func Utime(path string, buf *Utimbuf) error {
    	tv := []Timeval{
    		{Sec: buf.Actime},
    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go

    }
    
    func Time(t *Time_t) (Time_t, error) {
    	var tv Timeval
    	err := Gettimeofday(&tv)
    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    func Utime(path string, buf *Utimbuf) error {
    	tv := []Timeval{
    		{Sec: buf.Actime},
    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. src/runtime/runtime-seh_windows_test.go

    		}
    		panic(2)
    	}()
    	panic(1)
    }
    
    func TestSehUnwindNilPointerPanic(t *testing.T) {
    	if runtime.GOARCH != "amd64" {
    		t.Skip("skipping amd64-only test")
    	}
    	want := []string{"runtime_test.sehCallers", "runtime_test.TestSehUnwindNilPointerPanic.func1", "runtime.gopanic",
    		"runtime.sigpanic", "runtime_test.TestSehUnwindNilPointerPanic"}
    	defer func() {
    		if r := recover(); r == nil {
    			t.Fatal("did not panic")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:52:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. doc/initial/4-runtime.md

    ## Runtime {#runtime}...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 18:07:49 UTC 2024
    - 22 bytes
    - Viewed (0)
  7. releasenotes/notes/runtime-values.yaml

    kind: feature
    area: traffic-management
    issue:
    - 37202
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 10 17:04:03 UTC 2022
    - 283 bytes
    - Viewed (0)
  8. src/runtime/runtime-gdb.py

    
    G_IDLE = read_runtime_const("'runtime._Gidle'", 0)
    G_RUNNABLE = read_runtime_const("'runtime._Grunnable'", 1)
    G_RUNNING = read_runtime_const("'runtime._Grunning'", 2)
    G_SYSCALL = read_runtime_const("'runtime._Gsyscall'", 3)
    G_WAITING = read_runtime_const("'runtime._Gwaiting'", 4)
    G_MORIBUND_UNUSED = read_runtime_const("'runtime._Gmoribund_unused'", 5)
    G_DEAD = read_runtime_const("'runtime._Gdead'", 6)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  9. src/runtime/runtime-lldb_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    import (
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    var lldbPath string
    
    func checkLldbPython(t *testing.T) {
    	cmd := exec.Command("lldb", "-P")
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/runtime/runtime-gdb_test.go

    		}
    	}
    }
    
    const InfCallstackSource = `
    package main
    import "C"
    import "time"
    
    func loop() {
            for i := 0; i < 1000; i++ {
                    time.Sleep(time.Millisecond*5)
            }
    }
    
    func main() {
            go loop()
            time.Sleep(time.Second * 1)
    }
    `
    
    // TestGdbInfCallstack tests that gdb can unwind the callstack of cgo programs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top