Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for proc (0.31 sec)

  1. src/internal/trace/order.go

    		return fmt.Errorf("expected no thread but had one")
    	}
    
    	// Check proc requirements.
    	if reqs.Proc == event.MustHave && ctx.P == NoProc {
    		return fmt.Errorf("expected a proc but didn't have one")
    	} else if reqs.Proc == event.MustNotHave && ctx.P != NoProc {
    		return fmt.Errorf("expected no proc but had one")
    	}
    
    	// Check goroutine requirements.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    // function from module by ordinal.
    func GetProcAddressByOrdinal(module Handle, ordinal uintptr) (proc uintptr, err error) {
    	r0, _, e1 := syscall.Syscall(procGetProcAddress.Addr(), 2, uintptr(module), ordinal, 0)
    	proc = uintptr(r0)
    	if proc == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func Exit(code int) { ExitProcess(uint32(code)) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_windows.go

    func GetProcAddress(module Handle, procname string) (proc uintptr, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(procname)
    	if err != nil {
    		return
    	}
    	return _GetProcAddress(module, _p0)
    }
    
    func _GetProcAddress(module Handle, procname *byte) (proc uintptr, err error) {
    	r0, _, e1 := Syscall(procGetProcAddress.Addr(), 2, uintptr(module), uintptr(unsafe.Pointer(procname)), 0)
    	proc = uintptr(r0)
    	if proc == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/encoding/xml/marshal_test.go

    }, {
    	desc: "proc instruction",
    	toks: []Token{
    		ProcInst{"Target", []byte("Instruction")},
    	},
    	want: `<?Target Instruction?>`,
    }, {
    	desc: "proc instruction with empty target",
    	toks: []Token{
    		ProcInst{"", []byte("Instruction")},
    	},
    	err: "xml: EncodeToken of ProcInst with invalid Target",
    }, {
    	desc: "proc instruction with bad content",
    	toks: []Token{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/dwarf.go

    		// We can't use something that may be dead-code
    		// eliminated from a binary here. proc.go contains
    		// main and the scheduler, so it's not going anywhere.
    		if i := strings.Index(name, "runtime/proc.go"); i >= 0 && unit.Lib.Pkg == "runtime" {
    			d.dwmu.Lock()
    			if gdbscript == "" {
    				k := strings.Index(name, "runtime/proc.go")
    				gdbscript = name[:k] + "runtime/runtime-gdb.py"
    			}
    			d.dwmu.Unlock()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. hack/local-up-cluster.sh

        # otherwise writing subtree_control fails with EBUSY.
        # An error during moving non-existent process (i.e., "cat") is ignored.
        mkdir -p /sys/fs/cgroup/init
        xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.procs || :
        # enable controllers
        sed -e 's/ / +/g' -e 's/^/+/' < /sys/fs/cgroup/cgroup.controllers \
          > /sys/fs/cgroup/cgroup.subtree_control
      fi
    }
    
    function install_cni {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/img/prop-prov-1.png

    prop-prov-1.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 00:13:54 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_windows.go

    //sys	GetLastError() (lasterr error)
    //sys	LoadLibrary(libname string) (handle Handle, err error) = LoadLibraryW
    //sys	FreeLibrary(handle Handle) (err error)
    //sys	GetProcAddress(module Handle, procname string) (proc uintptr, err error)
    //sys	GetVersion() (ver uint32, err error)
    //sys	formatMessage(flags uint32, msgsrc uintptr, msgid uint32, langid uint32, buf []uint16, args *byte) (n uint32, err error) = FormatMessageW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
Back to top