Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 888 for proc (0.08 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 (1)
  3. src/runtime/pprof/proto.go

    	file    string  // The object this entry is loaded from.
    	buildID string  // A string that uniquely identifies a particular program version with high probability.
    
    	funcs symbolizeFlag
    	fake  bool // map entry was faked; /proc/self/maps wasn't available
    }
    
    // symbolizeFlag keeps track of symbolization result.
    //
    //	0                  : no symbol lookup was performed
    //	1<<0 (lookupTried) : symbol lookup was performed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessorTest.groovy

            1 * remoteSha1.withContentIfPresent(_) >> { Transformer t ->
                ExternalResourceReadResult.of(1, t.transform(new ByteArrayInputStream("proc".bytes)))
            }
            1 * repository.withProgressLogging() >> progressLoggingRepo
            1 * progressLoggingRepo.resource(location, true) >> remoteResource
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 17:19:47 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/os/pipe_test.go

    	limit := 1
    	if !read {
    		// Get the amount we have to write to overload a pipe
    		// with no reader.
    		limit = 131073
    		if b, err := os.ReadFile("/proc/sys/fs/pipe-max-size"); err == nil {
    			if i, err := strconv.Atoi(strings.TrimSpace(string(b))); err == nil {
    				limit = i + 1
    			}
    		}
    		t.Logf("using pipe write limit of %d", limit)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top