Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 888 for proc (0.24 sec)

  1. pkg/util/procfs/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package procfs implements utility functions relating to the /proc mount.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 16 17:48:21 UTC 2016
    - 708 bytes
    - Viewed (0)
  2. test/fixedbugs/issue4396a.go

    // word aligned. 5g should use MOVB to load the address
    // of s.g[0] for its nil check.
    //
    // This test _may_ fail on arm, but requires the host to 
    // trap unaligned loads. This is generally done with
    //
    // echo "4" > /proc/cpu/alignment
    
    package main
    
    var s = struct {
    	// based on lzw.decoder
    	a, b, c, d, e uint16
    	f             [4096]uint8
    	g             [4096]uint8
    }{}
    
    func main() {
    	s.g[0] = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 627 bytes
    - Viewed (0)
  3. src/syscall/exec_linux.go

    	)
    	pidfd = -1
    
    	rlim := origRlimitNofile.Load()
    
    	if sys.UidMappings != nil {
    		puid = []byte("/proc/self/uid_map\000")
    		uidmap = formatIDMappings(sys.UidMappings)
    	}
    
    	if sys.GidMappings != nil {
    		psetgroups = []byte("/proc/self/setgroups\000")
    		pgid = []byte("/proc/self/gid_map\000")
    
    		if sys.GidMappingsEnableSetgroups {
    			setgroups = []byte("allow\000")
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/net/interface_linux.go

    }
    
    // interfaceMulticastAddrTable returns addresses for a specific
    // interface.
    func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
    	ifmat4 := parseProcNetIGMP("/proc/net/igmp", ifi)
    	ifmat6 := parseProcNetIGMP6("/proc/net/igmp6", ifi)
    	return append(ifmat4, ifmat6...), nil
    }
    
    func parseProcNetIGMP(path string, ifi *Interface) []Addr {
    	fd, err := open(path)
    	if err != nil {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. src/internal/trace/gc.go

    					series = len(out)
    					out = append(out, []MutatorUtil{{int64(ev.Time()), 1}})
    				}
    				ps = append(ps, perP{series: series})
    			}
    			if len(procs) == 0 || gomaxprocs != procs[len(procs)-1].n {
    				procs = append(procs, procsCount{time: int64(ev.Time()), n: gomaxprocs})
    			}
    		}
    		if len(ps) == 0 {
    			// We can't start doing any analysis until we see what GOMAXPROCS is.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/gomaxprocs.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests increasing and decreasing GOMAXPROCS to try and
    // catch issues with stale proc state.
    
    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"time"
    )
    
    func main() {
    	// Start a goroutine that calls runtime.GC to try and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 967 bytes
    - Viewed (0)
  7. src/cmd/internal/bio/buf_mmap.go

    // distinct mapped regions per process. As of this writing:
    //
    //	Darwin    unlimited
    //	DragonFly   1000000 (vm.max_proc_mmap)
    //	FreeBSD   unlimited
    //	Linux         65530 (vm.max_map_count) // TODO: query /proc/sys/vm/max_map_count?
    //	NetBSD    unlimited
    //	OpenBSD   unlimited
    var mmapLimit int32 = 1<<31 - 1
    
    func init() {
    	// Linux is the only practically concerning OS.
    	if runtime.GOOS == "linux" {
    		mmapLimit = 30000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/internal/poll/read_test.go

    	var ps []string
    	switch runtime.GOOS {
    	case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd":
    		ps = []string{
    			"/dev/null",
    		}
    	case "linux":
    		ps = []string{
    			"/dev/null",
    			"/proc/stat",
    			"/sys/devices/system/cpu/online",
    		}
    	}
    	nps := ps[:0]
    	for _, p := range ps {
    		f, err := os.Open(p)
    		if err != nil {
    			continue
    		}
    		f.Close()
    		nps = append(nps, p)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top