Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 320 for proc (0.05 sec)

  1. src/runtime/os_plan9.go

    	for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink {
    		if mp.procid != 0 && mp.procid != pid {
    			postnote(mp.procid, buf[:])
    		}
    	}
    	getg().m.locks--
    }
    
    var procdir = []byte("/proc/")
    var notefile = []byte("/note\x00")
    
    func postnote(pid uint64, msg []byte) int {
    	var buf [128]byte
    	var tmp [32]byte
    	n := copy(buf[:], procdir)
    	n += copy(buf[n:], itoa(tmp[:], pid))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. configure.py

      if not paths:
        raise FileNotFoundError(
            "Can't find 'find_cuda_config.py' script inside working directory")
      proc = subprocess.Popen(
          [environ_cp['PYTHON_BIN_PATH'], paths[0]] + cuda_libraries,
          stdout=subprocess.PIPE,
          env=maybe_encode_env(environ_cp))
    
      if proc.wait():
        # Errors from find_cuda_config.py were sent to stderr.
        print('Asking for detailed CUDA configuration...\n')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/cpu.go

    	"os"
    	"strings"
    )
    
    // Initialized reports whether the CPU features were initialized.
    //
    // For some GOOS/GOARCH combinations initialization of the CPU features depends
    // on reading an operating specific file, e.g. /proc/self/auxv on linux/arm
    // Initialized will report false if reading the file fails.
    var Initialized bool
    
    // CacheLinePad is used to pad structs to avoid false sharing.
    type CacheLinePad struct{ _ [cacheLineSize]byte }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	}
    	return
    }
    
    func GetProcAddress(module Handle, procname string) (proc uintptr, err error) {
    	var _p0 *byte
    	_p0, err = syscall.BytePtrFromString(procname)
    	if err != nil {
    		return
    	}
    	return _GetProcAddress(module, _p0)
    }
    
    func _GetProcAddress(module Handle, procname *byte) (proc uintptr, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    		Type:      counterMetric,
    	}
    }
    
    func getMinioProcessIOReadBytesMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: ioSubsystem,
    		Name:      readBytes,
    		Help:      "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes",
    		Type:      counterMetric,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/tests/go122-annotations.test

    String id=50
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2cpu.go"
    String id=51
    	data="runtime.startTheWorld"
    String id=52
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go"
    String id=53
    	data="runtime/trace.(*Task).End"
    String id=54
    	data="runtime.traceLocker.Gomaxprocs"
    String id=55
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2runtime.go"
    String id=56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. hack/lib/golang.sh

    kube::golang::get_physmem() {
      local mem
    
      # Linux kernel version >=3.14, in kb
      if mem=$(grep MemAvailable /proc/meminfo | awk '{ print $2 }'); then
        echo $(( mem / 1048576 ))
        return
      fi
    
      # Linux, in kb
      if mem=$(grep MemTotal /proc/meminfo | awk '{ print $2 }'); then
        echo $(( mem / 1048576 ))
        return
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    	// this can happen if the pod was dynamically added to the mesh after it was created.
    	// in that case, try finding the netns using procfs.
    	if err := s.rescanPod(pod); err != nil {
    		log.Errorf("error scanning proc: error was %s", err)
    		return nil, err
    	}
    	// try again. we can still get here if the pod is in the process of being created.
    	// in this case the CNI will be invoked soon and provide us with the netns.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/os/os_test.go

    func TestReadFileProc(t *testing.T) {
    	t.Parallel()
    
    	// Linux files in /proc report 0 size,
    	// but then if ReadFile reads just a single byte at offset 0,
    	// the read at offset 1 returns EOF instead of more data.
    	// ReadFile has a minimum read size of 512 to work around this,
    	// but test explicitly that it's working.
    	name := "/proc/sys/fs/pipe-max-size"
    	if _, err := Stat(name); err != nil {
    		t.Skip(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java

                return false;
            }
    
            // Musl libc maps /lib/ld-musl-aarch64.so.1 into memory, let's try to find it
            try {
                File mapFilesDir = new File("/proc/self/map_files");
                if (!mapFilesDir.isDirectory()) {
                    return false;
                }
                File[] files = mapFilesDir.listFiles();
                if (files == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top