Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for 4094 (0.01 sec)

  1. src/cmd/asm/internal/asm/testdata/loong64enc3.s

    	MOVHU	R4, result+4097(FP)		// 3e000014de8f1000c4274029
    	MOVHU	R4, 4096(R5)			// 3e000014de971000c4034029
    	MOVHU	y+4097(FP), R4 			// 3e000014de8f1000c427402a
    	MOVHU	4096(R5), R4			// 3e000014de971000c403402a
    	SGT	$74565, R4 			// 5e020014de178d0384781200
    	SGT	$74565, R4, R5 			// 5e020014de178d0385781200
    	SGT	$4097, R4 			// 3e000014de07800384781200
    	SGT	$4097, R4, R5 			// 3e000014de07800385781200
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jul 29 14:29:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/loong64enc2.s

    	SGT	$65536, R4, R5		// 1e02001485781200
    	SGT	$4096, R4, R5		// 3e00001485781200
    	SGT	$65536, R4		// 1e02001484781200
    	SGT	$4096, R4		// 3e00001484781200
    	SGTU	$65536, R4, R5		// 1e02001485f81200
    	SGTU	$4096, R4, R5		// 3e00001485f81200
    	SGTU	$65536, R4		// 1e02001484f81200
    	SGTU	$4096, R4		// 3e00001484f81200
    	ADDU	$65536, R4, R5		// 1e02001485781000
    	ADDU	$4096, R4, R5		// 3e00001485781000
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 10 15:50:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. docs_src/app_testing/app_b/main.py

            raise HTTPException(status_code=404, detail="Item not found")
        return fake_db[item_id]
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item, x_token: str = Header()):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
        if item.id in fake_db:
            raise HTTPException(status_code=409, detail="Item already exists")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:44:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. docs_src/app_testing/app_b_py310/test_main.py

        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            command = SMB_COM_TRANSACTION;
            subCommand = NET_SHARE_ENUM; // not really true be used by upper logic
            name = new String( "\\PIPE\\LANMAN" );
            maxParameterCount = 8;
    
    //        maxDataCount = 4096; why was this set?
            maxSetupCount = (byte)0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  6. cmd/server-rlimit.go

    	if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil {
    		return err
    	}
    
    	if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName {
    		logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"",
    			maxLimit)
    	}
    
    	if err = sys.SetMaxOpenFileLimit(maxLimit, maxLimit); err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

    import java.io.IOException;
    import java.net.UnknownHostException;
    import java.net.MalformedURLException;
    
    class TransactNamedPipeInputStream extends SmbFileInputStream {
    
        private static final int INIT_PIPE_SIZE = 4096;
    
        private byte[] pipe_buf = new byte[INIT_PIPE_SIZE];
        private int beg_idx, nxt_idx, used;
        private boolean dcePipe;
    
        Object lock;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  8. docs_src/sql_databases/tutorial002_an_py39.py

        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.patch("/heroes/{hero_id}", response_model=HeroPublic)
    def update_hero(hero_id: int, hero: HeroUpdate, session: SessionDep):
        hero_db = session.get(Hero, hero_id)
        if not hero_db:
            raise HTTPException(status_code=404, detail="Hero not found")
        hero_data = hero.model_dump(exclude_unset=True)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. docs_src/bigger_applications/app/routers/items.py

        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        if item_id not in fake_items_db:
            raise HTTPException(status_code=404, detail="Item not found")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 1011 bytes
    - Viewed (0)
  10. tests/test_starlette_exception.py

    app = FastAPI()
    
    items = {"foo": "The Foo Wrestlers"}
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: str):
        if item_id not in items:
            raise HTTPException(
                status_code=404,
                detail="Item not found",
                headers={"X-Error": "Some custom header"},
            )
        return {"item": items[item_id]}
    
    
    @app.get("/http-no-body-statuscode-exception")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top