Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 432 for proc (0.1 sec)

  1. src/internal/trace/internal/oldtrace/order.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package oldtrace
    
    import "errors"
    
    type orderEvent struct {
    	ev   Event
    	proc *proc
    }
    
    type gStatus int
    
    type gState struct {
    	seq    uint64
    	status gStatus
    }
    
    const (
    	gDead gStatus = iota
    	gRunnable
    	gRunning
    	gWaiting
    
    	unordered = ^uint64(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. prow/integ-suite-kind.sh

    set -u
    # Print commands
    set -x
    
    # shellcheck source=prow/lib.sh
    source "${ROOT}/prow/lib.sh"
    setup_and_export_git_sha
    
    # shellcheck source=common/scripts/kind_provisioner.sh
    source "${ROOT}/common/scripts/kind_provisioner.sh"
    
    TOPOLOGY=SINGLE_CLUSTER
    NODE_IMAGE="gcr.io/istio-testing/kind-node:v1.30.0"
    KIND_CONFIG=""
    CLUSTER_TOPOLOGY_CONFIG_FILE="${ROOT}/prow/config/topology/multicluster.json"
    
    export FAST_VM_BUILDS=true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/proc_cpuinfo_linux.go

    // license that can be found in the LICENSE file.
    
    //go:build linux && arm64
    
    package cpu
    
    import (
    	"errors"
    	"io"
    	"os"
    	"strings"
    )
    
    func readLinuxProcCPUInfo() error {
    	f, err := os.Open("/proc/cpuinfo")
    	if err != nil {
    		return err
    	}
    	defer f.Close()
    
    	var buf [1 << 10]byte // enough for first CPU
    	n, err := io.ReadFull(f, buf[:])
    	if err != nil && err != io.ErrUnexpectedEOF {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/security_test.go

    	tempfilePath := f.Name()
    	f.Close()
    
    	lowPrivUser := "nobody"
    	setSetuid(t, lowPrivUser, helloBin)
    
    	b := bytes.NewBuffer(nil)
    	pr, pw, err := os.Pipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	proc, err := os.StartProcess(helloBin, []string{helloBin}, &os.ProcAttr{
    		Env:   []string{"GOTRACEBACK=system", "TEST_OUTPUT=" + tempfilePath},
    		Files: []*os.File{os.Stdin, pw},
    	})
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 18:10:14 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. test/fixedbugs/bug206.go

    	main·f(0x2b9560, 0x0)
    main·main+0xc3 /home/gri/go/test/bugs/bug206.go:23
    	main·main()
    mainstart+0xf /home/gri/go/src/pkg/runtime/amd64/asm.s:55
    	mainstart()
    goexit /home/gri/go/src/pkg/runtime/proc.c:133
    	goexit()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1K bytes
    - Viewed (0)
  6. src/internal/sysinfo/cpuinfo_linux.go

    // license that can be found in the LICENSE file.
    
    package sysinfo
    
    import (
    	"bufio"
    	"bytes"
    	"io"
    	"os"
    	"strings"
    )
    
    func readLinuxProcCPUInfo(buf []byte) error {
    	f, err := os.Open("/proc/cpuinfo")
    	if err != nil {
    		return err
    	}
    	defer f.Close()
    
    	_, err = io.ReadFull(f, buf)
    	if err != nil && err != io.ErrUnexpectedEOF {
    		return err
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:42:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. pkg/util/kernel/version.go

    	return getVersion(os.ReadFile)
    }
    
    // getVersion reads os release file from the give readFile function.
    func getVersion(readFile readFileFunc) (*version.Version, error) {
    	kernelVersionFile := "/proc/sys/kernel/osrelease"
    	fileContent, err := readFile(kernelVersionFile)
    	if err != nil {
    		return nil, fmt.Errorf("failed to read os-release file: %s", err.Error())
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 19:24:34 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/cs/stopwords.txt

    a
    s
    k
    o
    i
    u
    v
    z
    dnes
    cz
    tímto
    budeš
    budem
    byli
    jseš
    můj
    svým
    ta
    tomto
    tohle
    tuto
    tyto
    jej
    zda
    proč
    máte
    tato
    kam
    tohoto
    kdo
    kteří
    mi
    nám
    tom
    tomuto
    mít
    nic
    proto
    kterou
    byla
    toho
    protože
    asi
    ho
    naši
    napište
    re
    což
    tím
    takže
    svých
    její
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 992 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue1435.go

    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    	for _, f := range fs {
    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    		d, err := os.ReadFile(tf)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 21:31:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. src/runtime/os_linux_arm.go

    	"internal/cpu"
    	"unsafe"
    )
    
    const (
    	_HWCAP_VFP   = 1 << 6  // introduced in at least 2.6.11
    	_HWCAP_VFPv3 = 1 << 13 // introduced in 2.6.30
    )
    
    func vdsoCall()
    
    func checkgoarm() {
    	// On Android, /proc/self/auxv might be unreadable and hwcap won't
    	// reflect the CPU capabilities. Assume that every Android arm device
    	// has the necessary floating point hardware available.
    	if GOOS == "android" {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top