Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,633 for too (0.17 sec)

  1. test/fixedbugs/issue20529.go

    // Only tested on amd64 because the test only makes sense
    // on a 64 bit system, and it is platform-agnostic,
    // so testing one suffices.
    
    package p
    
    import "runtime"
    
    func f() { // GC_ERROR "stack frame too large"
    	x := [][]int{1e9: []int{}}
    	runtime.KeepAlive(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 519 bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial008c_an.py

    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 710 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go

    	{22, "EINVAL", "invalid argument"},
    	{23, "ENFILE", "too many open files in system"},
    	{24, "EMFILE", "too many open files"},
    	{25, "ENOTTY", "inappropriate ioctl for device"},
    	{26, "ETXTBSY", "text file busy"},
    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 79.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go

    	{22, "EINVAL", "invalid argument"},
    	{23, "ENFILE", "too many open files in system"},
    	{24, "EMFILE", "too many open files"},
    	{25, "ENOTTY", "inappropriate ioctl for device"},
    	{26, "ETXTBSY", "text file busy"},
    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 79.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/outbuf_nommap.go

    func (out *OutBuf) Mmap(filesize uint64) error {
    	// We need space to put all the symbols before we apply relocations.
    	oldheap := out.heap
    	if filesize < uint64(len(oldheap)) {
    		panic("mmap size too small")
    	}
    	out.heap = make([]byte, filesize)
    	copy(out.heap, oldheap)
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 660 bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial008c_an_py39.py

    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 700 bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/vardecl.go

    	_ = x
    	_ = y
    }
    
    func _() {
    	var x int
    	return x /* ERROR "too many return values" */
    	return math /* ERROR "too many return values" */ .Sin(0)
    }
    
    func _() int {
    	var x, y int
    	return x, y /* ERROR "too many return values" */
    }
    
    // Short variable declarations must declare at least one new non-blank variable.
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue36516.go

    var x unsafe.Pointer = unsafe.Pointer(&buf[0])
    
    func main() {
    	n := testing.AllocsPerRun(1000, func() {
    		x = unsafe.Pointer(uintptr(x) + 1)
    		x = unsafe.Pointer(uintptr(x) - 1)
    	})
    	if n > 0 {
    		panic(fmt.Sprintf("too many allocations; want 0 got %f", n))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 540 bytes
    - Viewed (0)
  9. src/net/http/internal/chunked.go

    	// and produce an error if it grows too large.
    	//
    	// Currently, we say that we're willing to accept 16 bytes of overhead per chunk,
    	// plus twice the amount of real data in the chunk.
    	cr.excess -= 16 + (2 * int64(cr.n))
    	cr.excess = max(cr.excess, 0)
    	if cr.excess > 16*1024 {
    		cr.err = errors.New("chunked encoding contains too much non-data")
    	}
    	if cr.n == 0 {
    		cr.err = io.EOF
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue8517_windows.go

    	if r == 0 {
    		t.Fatal(err)
    	}
    	return int(c)
    }
    
    func test8517(t *testing.T) {
    	c1 := processHandleCount(t)
    	C.testHandleLeaks()
    	c2 := processHandleCount(t)
    	if c1+issue8517counter <= c2 {
    		t.Fatalf("too many handles leaked: issue8517counter=%v c1=%v c2=%v", issue8517counter, c1, c2)
    	}
    }
    
    //export testHandleLeaksCallback
    func testHandleLeaksCallback() {
    	issue8517counter++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 990 bytes
    - Viewed (0)
Back to top