Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,396 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/netbios/NameQueryResponseTest.java

            questionNameField.set(nameQueryResponse, mockRecordName);
    
            // The method should return the number of bytes read by readResourceRecordWireFormat
            int result = nameQueryResponse.readBodyWireFormat(src, srcIndex);
            assertEquals(12 + 6, result, "readBodyWireFormat should return the total bytes read");
        }
    
        @Test
        void writeRDataWireFormat_shouldReturnZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/server-main.go

    		EnvVar: "MINIO_IDLE_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "read-header-timeout",
    		Value:  xhttp.DefaultReadHeaderTimeout,
    		Usage:  "read header timeout is the amount of time allowed to read request headers",
    		EnvVar: "MINIO_READ_HEADER_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "conn-user-timeout",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  9. 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)
  10. 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)
Back to top