Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 257 for readDirect (0.2 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                throw new IllegalArgumentException("buffer too small");
    
            if (isStart && !isDirect) { // start of new frag, do trans
                off = in.read(buf, 0, 1024);
            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0)
                throw new IOException("Unexpected DCERPC PDU header");
    
            flags = buf[3] & 0xFF;
            // next read is start of new frag
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b, int off, int len ) throws IOException {
            return readDirect(b, off, len);
        }
        public int readDirect( byte[] b, int off, int len ) throws IOException {
            if( len <= 0 ) {
                return 0;
            }
            long start = fp;
    
            if( tmp == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read ( byte[] b, int off, int len ) throws IOException {
            return readDirect(b, off, len);
        }
    
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         * 
         * @param b
         * @param off
         * @param len
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    return in.read(inB);
                }
            }
        }
    
    
        @Override
        public int recv ( byte[] buf, int off, int len ) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
    
        @Override
        public void send ( byte[] buf, int off, int length ) throws IOException {
            getOutput().writeDirect(buf, off, length, 1);
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  5. cni/pkg/plugin/sidecar_redirect.go

    		"kubevirtInterfaces":   {kubevirtInterfacesKey, defaultKubevirtInterfaces, alwaysValidFunc},
    		"excludeInterfaces":    {excludeInterfacesKey, defaultExcludeInterfaces, alwaysValidFunc},
    	}
    )
    
    // Redirect -- the istio-cni redirect object
    type Redirect struct {
    	targetPort           string
    	redirectMode         string
    	noRedirectUID        string
    	noRedirectGID        string
    	includeIPCidrs       string
    	excludeIPCidrs       string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/error/redirect.jsp

    Shinsuke Sugaya <******@****.***> 1472420222 +0900
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Aug 28 21:37:02 GMT 2016
    - 1.2K bytes
    - Viewed (0)
  7. tests/test_router_redirect_slashes.py

        assert response.status_code == 307
    
    
    def test_redirect_slashes_disabled():
        app = FastAPI(redirect_slashes=False)
        router = APIRouter()
    
        @router.get("/hello/")
        def hello_page() -> str:
            return "Hello, World!"
    
        app.include_router(router)
    
        client = TestClient(app)
    
        response = client.get("/hello/", follow_redirects=False)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jun 22 10:37:50 GMT 2023
    - 974 bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    Shinsuke Sugaya <******@****.***> 1472420222 +0900
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Aug 28 21:37:02 GMT 2016
    - 1.2K bytes
    - Viewed (0)
  9. tests/test_custom_swagger_ui_redirect.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    swagger_ui_oauth2_redirect_url = "/docs/redirect"
    
    app = FastAPI(swagger_ui_oauth2_redirect_url=swagger_ui_oauth2_redirect_url)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  10. tests/test_no_swagger_ui_redirect.py

        print(client.base_url)
        assert "oauth2RedirectUrl" not in response.text
    
    
    def test_swagger_ui_no_oauth2_redirect():
        response = client.get("/docs/oauth2-redirect")
        assert response.status_code == 404, response.text
    
    
    def test_response():
        response = client.get("/items/")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 786 bytes
    - Viewed (0)
Back to top