Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 630 for prlimit (0.14 sec)

  1. src/syscall/ztypes_openbsd_ppc64.go

    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    const (
    	S_IFMT   = 0xf000
    	S_IFIFO  = 0x1000
    	S_IFCHR  = 0x2000
    	S_IFDIR  = 0x4000
    	S_IFBLK  = 0x6000
    	S_IFREG  = 0x8000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. plugin/pkg/admission/eventratelimit/apis/eventratelimit/validation/validation.go

    		}
    		if limit.QPS <= 0 {
    			allErrs = append(allErrs, field.Invalid(idxPath.Child("qps"), limit.QPS, "must be positive"))
    		}
    		if limit.Type != eventratelimitapi.ServerLimitType {
    			if limit.CacheSize < 0 {
    				allErrs = append(allErrs, field.Invalid(idxPath.Child("cacheSize"), limit.CacheSize, "must not be negative"))
    			}
    		}
    	}
    	return allErrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 17:38:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  3. src/syscall/ztypes_openbsd_amd64.go

    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    const (
    	S_IFMT   = 0xf000
    	S_IFIFO  = 0x1000
    	S_IFCHR  = 0x2000
    	S_IFDIR  = 0x4000
    	S_IFBLK  = 0x6000
    	S_IFREG  = 0x8000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  4. src/syscall/ztypes_freebsd_arm.go

    	Isrss    int32
    	Minflt   int32
    	Majflt   int32
    	Nswap    int32
    	Inblock  int32
    	Oublock  int32
    	Msgsnd   int32
    	Msgrcv   int32
    	Nsignals int32
    	Nvcsw    int32
    	Nivcsw   int32
    }
    
    type Rlimit struct {
    	Cur int64
    	Max int64
    }
    
    type _Gid_t uint32
    
    const (
    	S_IFMT   = 0xf000
    	S_IFIFO  = 0x1000
    	S_IFCHR  = 0x2000
    	S_IFDIR  = 0x4000
    	S_IFBLK  = 0x6000
    	S_IFREG  = 0x8000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. src/syscall/ztypes_freebsd_arm64.go

    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur int64
    	Max int64
    }
    
    type _Gid_t uint32
    
    const (
    	S_IFMT   = 0xf000
    	S_IFIFO  = 0x1000
    	S_IFCHR  = 0x2000
    	S_IFDIR  = 0x4000
    	S_IFBLK  = 0x6000
    	S_IFREG  = 0x8000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. docs_src/dependency_testing/tutorial001.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. docs_src/dependency_testing/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/stackcheck_test.go

    	// Get expected limit.
    	limitRe := regexp.MustCompile(`nosplit stack over (\d+) byte limit`)
    	m := limitRe.FindStringSubmatch(out)
    	if m == nil {
    		t.Fatalf("no overflow errors in output")
    	}
    	limit, _ := strconv.Atoi(m[1])
    
    	wantMap := map[string]string{
    		"main.startSelf": fmt.Sprintf(
    			`main.startSelf<0>
        grows 1008 bytes
        %d bytes over limit
    `, 1008-limit),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:14 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial001.py

        [
            ("/items", 200, {"q": None, "skip": 0, "limit": 100}),
            ("/items?q=foo", 200, {"q": "foo", "skip": 0, "limit": 100}),
            ("/items?q=foo&skip=5", 200, {"q": "foo", "skip": 5, "limit": 100}),
            ("/items?q=foo&skip=5&limit=30", 200, {"q": "foo", "skip": 5, "limit": 30}),
            ("/users", 200, {"q": None, "skip": 0, "limit": 100}),
        ],
    )
    def test_get(path, expected_status, expected_response):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go

    	SYS_SWAPCTL        = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
    	SYS_GETRLIMIT      = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
    	SYS_SETRLIMIT      = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
    	SYS_MMAP           = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top