Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for readDirect (0.64 sec)

  1. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            }
    
            @Test
            @DisplayName("readDirect with len <= 0 returns 0")
            void readDirectZeroLen() throws Exception {
                SmbFileInputStream in = newStream();
                byte[] buf = new byte[4];
                assertEquals(0, in.readDirect(buf, 0, 0));
                assertEquals(0, in.read(new byte[0]));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            }
    
            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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        }
    
        @Test
        @DisplayName("recv delegates to input.readDirect and returns its value")
        void testRecvDelegation() throws Exception {
            SmbPipeHandleImpl spyTarget = spy(target);
            SmbPipeInputStream in = mock(SmbPipeInputStream.class);
            doReturn(in).when(spyTarget).getInput();
            when(in.readDirect(any(), anyInt(), anyInt())).thenReturn(7);
    
            byte[] b = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            doReturn(mockIn).when(spyHandle).getInput();
    
            when(mockIn.readDirect(any(byte[].class), anyInt(), anyInt())).thenReturn(5);
    
            byte[] b = new byte[10];
            int n = spyHandle.recv(b, 1, 3);
            assertEquals(5, n);
            verify(mockIn).readDirect(eq(b), eq(1), eq(3));
        }
    
        @Test
        @DisplayName("send delegates to output.writeDirect with args")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read(final byte[] b, final int off, final 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 the buffer into which the data is read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read(final byte[] b, final int off, final 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.
         * Optimized for better performance with larger read sizes and reduced round trips.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                return in.read(inB);
            }
        }
    
        @Override
        public int recv(final byte[] buf, final int off, final int len) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
        @Override
        public void send(final byte[] buf, final int off, final int length) throws IOException {
            getOutput().writeDirect(buf, off, length, 1);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. docs/sts/web-identity.md

    MINIO_IDENTITY_OPENID_KEYCLOAK_ADMIN_URL    (string)    Specify Keycloak 'admin' REST API endpoint e.g. http://localhost:8080/auth/admin/
    MINIO_IDENTITY_OPENID_REDIRECT_URI_DYNAMIC  (on|off)    Enable 'Host' header based dynamic redirect URI (default: 'off')
    MINIO_IDENTITY_OPENID_COMMENT               (sentence)  optionally add a comment to this setting
    ```
    
    ### Access Control Configuration Variables
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. docs/sts/casdoor.md

    ### Configure Casdoor
    
    - Go to Applications
      - Create or use an existing Casdoor application
      - Edit the application
        - Copy `Client ID` and `Client secret`
        - Add your redirect url (callback url) to `Redirect URLs`
        - Save
    
    - Go to Users
      - Edit the user
        - Add your MinIO policy (ex: `readwrite`) in `Tag`
        - Save
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Gets the redirect response to the login page.
         *
         * @param response The original response.
         * @return The redirect response.
         */
        public HtmlResponse getRedirectResponseToLogin(final HtmlResponse response) {
            return response;
        }
    
        /**
         * Gets the redirect response to the root page.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top