Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,365 for Read (0.02 sec)

  1. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

     *
     * This class implements the TRANS_PEEK_NAMED_PIPE transaction which allows
     * reading data from a pipe without removing it, useful for checking if data
     * is available before performing a blocking read.
     */
    public class TransPeekNamedPipe extends SmbComTransaction {
    
        private final int fid;
    
        /**
         * Constructs a TransPeekNamedPipe request to check the status of a named pipe.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

         * @return the namedPipeState
         */
        public int getNamedPipeState() {
            return this.namedPipeState;
        }
    
        /**
         * Gets the amount of data available to read from the pipe
         * @return the readDataAvailable
         */
        public int getReadDataAvailable() {
            return this.readDataAvailable;
        }
    
        /**
         * Gets the number of messages available in the pipe
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. cmd/bitrot-whole.go

    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    	tillOffset int64           // Affects the length of data requested in disk.ReadFile depending on Read()'s offset
    	buf        []byte          // Holds bit-rot verified data
    }
    
    func (b *wholeBitrotReader) ReadAt(buf []byte, offset int64) (n int, err error) {
    	if b.buf == nil {
    		b.buf = make([]byte, b.tillOffset-offset)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Setup mock behavior
            when(mockIn.read(any(byte[].class))).thenReturn(7);
    
            // Act
            byte[] buf = new byte[16];
            byte[] recv = new byte[16];
            int r = spyHandle.sendrecv(buf, 2, 4, recv, 16);
    
            // Assert
            assertEquals(7, r);
            verify(mockOut).write(eq(buf), eq(2), eq(4));
            verify(mockIn).read(eq(recv));
        }
    
        @Test
    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. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

     * <p>
     * Model transformers allow plugins and extensions to modify the POM model during the build process.
     * Transformations can be applied at three different stages:
     * <ol>
     *   <li>File model - The raw model as read directly from the file</li>
     *   <li>Raw model - The model after inheritance has been applied</li>
     *   <li>Effective model - The fully processed model with all interpolation and inheritance applied</li>
     * </ol>
     * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        } catch (ChecksumFailedException e) {
                            // if we catch a ChecksumFailedException, it means the transfer/read succeeded, but the
                            // checksum doesn't match. This could be a problem with the server (ibiblio HTTP-200 error
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    func setBrowserRedirectMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		read := r.Method == http.MethodGet || r.Method == http.MethodHead
    		// Re-direction is handled specifically for browser requests.
    		if !guessIsHealthCheckReq(r) && guessIsBrowserReq(r) && read && globalBrowserRedirect {
    			// Fetch the redirect location if any.
    			if u := getRedirectLocation(r); u != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/core/io/InputStreamUtil.java

        private static final int BUF_SIZE = 4096;
    
        /**
         * Creates a {@link FileInputStream}.
         *
         * @param file the file (must not be {@literal null})
         * @return a {@link FileInputStream} to read from the file
         * @see FileInputStream#FileInputStream(File)
         */
        public static FileInputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public boolean signaturesRequired;
        /**
         * Maximum number of virtual circuits.
         */
        public int maxNumberVcs;
        /**
         * Maximum raw buffer size for raw read/write operations.
         */
        public int maxRawSize;
        /**
         * Server's system time.
         */
        public long serverTime;
        /**
         * Server's time zone offset in minutes from UTC.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            // SmbComSeekResponse has no additional data to read beyond header
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top