Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 432 for proc (0.04 sec)

  1. src/runtime/proc_runtime_test.go

    	for procs := 2; procs <= 64; procs++ {
    		ord.reset(uint32(procs))
    		checked := make([]bool, procs*procs)
    		// We want at least procs*len(ord.coprimes) different pos+inc values
    		// before we start repeating.
    		for i := 0; i < procs*len(ord.coprimes); i++ {
    			enum := ord.start(uint32(i))
    			j := enum.pos*uint32(procs) + enum.inc
    			if checked[j] {
    				println("procs:", procs, "pos:", enum.pos, "inc:", enum.inc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 18:43:08 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. manifests/charts/istio-cni/templates/daemonset.yaml

                  - NET_RAW
                  # CAP_SYS_ADMIN is required for both ambient and repair, in order to open
                  # network namespaces in `/proc` to obtain descriptors for entering pod netnamespaces.
                  # There does not appear to be a more granular capability for this.
                  - SYS_ADMIN
    {{- if .Values.cni.seccompProfile }}
                seccompProfile:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

            result = gradle.waitForFinish()
    
            then:
            outputContainsKilledWorkerWarning()
        }
    
        static void kill(long pid1) {
            def proc = new ProcessFixture(pid1)
            proc.kill(false)
            proc.waitForFinish()
        }
    
        void outputContainsKilledWorkerWarning() {
            if (OperatingSystem.current().windows) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. internal/http/dial_linux.go

    				// Number of probes.
    				// ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5)
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    				// Wait time after successful probe in seconds.
    				// ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (3)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top