Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 507 for pkid (0.04 sec)

  1. pkg/kubelet/cm/container_manager_linux.go

    	}
    }
    
    func isProcessRunningInHost(pid int) (bool, error) {
    	// Get init pid namespace.
    	initPidNs, err := os.Readlink("/proc/1/ns/pid")
    	if err != nil {
    		return false, fmt.Errorf("failed to find pid namespace of init process")
    	}
    	klog.V(10).InfoS("Found init PID namespace", "namespace", initPidNs)
    	processPidNs, err := os.Readlink(fmt.Sprintf("/proc/%d/ns/pid", pid))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. pkg/util/oom/oom_linux_test.go

    */
    
    package oom
    
    import (
    	"os"
    
    	"github.com/opencontainers/runc/libcontainer/cgroups"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    )
    
    // Converts a sequence of PID lists into a PID lister.
    // The PID lister returns pidListSequence[i] on the ith call. If i >= length of pidListSequence
    // then return the last element of pidListSequence (the sequence is considered to have) stabilized.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/openapi-callbacks.md

    Es könnten nur eine oder zwei Codezeilen sein, wie zum Beispiel:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:23 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/openapi-callbacks.md

    ## 存档回调
    
    实际的回调代码高度依赖于您自己的 API 应用。
    
    并且可能每个应用都各不相同。
    
    回调代码可能只有一两行,比如:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    requests.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    但回调最重要的部分可能是,根据 API 要发送给回调请求体的数据等内容,确保您的 API 用户(外部开发者)正确地实现*外部 API*。
    
    因此,我们下一步要做的就是添加代码,为从 API 接收回调的*外部 API*存档。
    
    这部分文档在 `/docs` 下的 Swagger API 文档中显示,并且会告诉外部开发者如何构建*外部 API*。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:46:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. src/sync/pool.go

    	l := p.local                              // load-consume
    	if uintptr(pid) < s {
    		return indexLocal(l, pid), pid
    	}
    	return p.pinSlow()
    }
    
    func (p *Pool) pinSlow() (*poolLocal, int) {
    	// Retry under the mutex.
    	// Can not lock the mutex while pinned.
    	runtime_procUnpin()
    	allPoolsMu.Lock()
    	defer allPoolsMu.Unlock()
    	pid := runtime_procPin()
    	// poolCleanup won't be called while we are pinned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (1)
  6. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

        private final boolean largeFile;
        private int pid;
        private long byteOffset;
        private long lengthInBytes;
    
    
        /**
         * @param largeFile
         * 
         */
        public LockingAndXRange ( boolean largeFile ) {
            this.largeFile = largeFile;
        }
    
    
        /**
         * 
         * @return pid
         */
        public int getPid () {
            return this.pid;
        }
    
    
        /**
         * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func Getpid() (pid int) {
    	r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETPID<<4)
    	pid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getpgid(pid int) (pgid int, err error) {
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETPGID<<4, uintptr(pid))
    	pgid = int(r0)
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  8. src/internal/coverage/cfile/apis.go

    	// value into main.XYZ's counter slab. However since we've just
    	// finished clearing the entire counter segment, we will have lost
    	// the values in the prolog portion of main.XYZ's counter slab
    	// (nctrs, pkgid, funcid). This means that later on at the end of
    	// program execution as we walk through the entire counter array
    	// for the program looking for executed functions, we'll zoom past
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                        "title": "InvoiceEvent",
                        "required": ["description", "paid"],
                        "type": "object",
                        "properties": {
                            "description": {"title": "Description", "type": "string"},
                            "paid": {"title": "Paid", "type": "boolean"},
                        },
                    },
                    "InvoiceEventReceived": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/runtime/syscall_aix.go

    //go:nosplit
    func syscall_setsid() (pid, err uintptr) {
    	pid, err = syscall0(&libc_setsid)
    	return
    }
    
    //go:linkname syscall_setuid syscall.setuid
    //go:nosplit
    func syscall_setuid(uid uintptr) (err uintptr) {
    	_, err = syscall1(&libc_setuid, uid)
    	return
    }
    
    //go:linkname syscall_setpgid syscall.setpgid
    //go:nosplit
    func syscall_setpgid(pid, pgid uintptr) (err uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top