Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,645 for too (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. docs_src/dependencies/tutorial008d_an_py39.py

            raise
    
    
    @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
    - 734 bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/IsolatingFilerTest.groovy

        }
    
        def "does a full rebuild when too many originating elements are given for a type"() {
            when:
            filer.createSourceFile("Foo", type("Bar"), type("Baz"))
    
            then:
            result.fullRebuildCause == "the generated type 'Foo' must have exactly one originating element, but had 2"
        }
    
        def "does a full rebuild when too many originating elements are given for a resource"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. cmd/os_other.go

    		}
    		for _, fi := range fis {
    			if fi.Mode()&os.ModeSymlink == os.ModeSymlink {
    				fi, err = Stat(pathJoin(dirPath, fi.Name()))
    				if err != nil {
    					// It got deleted in the meantime, not found
    					// or returns too many symlinks ignore this
    					// file/directory.
    					if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    						isSysErrTooManySymlinks(err) {
    						continue
    					}
    					return err
    				}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top