Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tryLimitedReader (0.17 sec)

  1. src/os/zero_copy_linux.go

    	}
    	return irc.PollFD(), irc.Network()
    }
    
    // tryLimitedReader tries to assert the io.Reader to io.LimitedReader, it returns the io.LimitedReader,
    // the underlying io.Reader and the remaining amount of bytes if the assertion succeeds,
    // otherwise it just returns the original io.Reader and the theoretical unlimited remaining amount of bytes.
    func tryLimitedReader(r io.Reader) (*io.LimitedReader, io.Reader, int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top