Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,464 for io (0.17 sec)

  1. demo/kitchen-sink/docs/io.io

    nightwing <******@****.***> 1384757022 +0400
    Plain Text
    - Registered: 2021-12-14 12:40
    - Last Modified: 2014-09-02 08:55
    - 140 bytes
    - Viewed (0)
  2. common/buf/io.go

    package buf
    
    import (
    	"io"
    	"net"
    	"os"
    	"syscall"
    	"time"
    )
    
    // Reader extends io.Reader with MultiBuffer.
    type Reader interface {
    	// ReadMultiBuffer reads content from underlying reader, and put it into a MultiBuffer.
    	ReadMultiBuffer() (MultiBuffer, error)
    }
    
    // ErrReadTimeout is an error that happens with IO timeout.
    var ErrReadTimeout = newError("IO timeout")
    
    Go
    - Registered: 2021-12-15 06:07
    - Last Modified: 2019-11-27 03:24
    - 2.4K bytes
    - Viewed (0)
  3. base/io.jl

    peek(io::AbstractPipe, ::Type{T}) where {T} = peek(pipe_reader(io)::IO, T)::T
    wait_readnb(io::AbstractPipe, nb::Int) = wait_readnb(pipe_reader(io)::IO, nb)
    eof(io::AbstractPipe) = eof(pipe_reader(io)::IO)::Bool
    
    isopen(io::AbstractPipe) = isopen(pipe_writer(io)::IO) || isopen(pipe_reader(io)::IO)
    close(io::AbstractPipe) = (close(pipe_writer(io)::IO); close(pipe_reader(io)::IO))
    Others
    - Registered: 2021-12-13 02:21
    - Last Modified: 2021-09-29 12:57
    - 34.6K bytes
    - Viewed (0)
  4. transport/internet/kcp/io.go

    // +build !confonly
    
    package kcp
    
    import (
    	"crypto/cipher"
    	"crypto/rand"
    	"io"
    
    	"v2ray.com/core/common"
    	"v2ray.com/core/common/buf"
    	"v2ray.com/core/transport/internet"
    )
    
    type PacketReader interface {
    	Read([]byte) []Segment
    }
    
    type PacketWriter interface {
    	Overhead() int
    	io.Writer
    }
    
    type KCPPacketReader struct {
    	Security cipher.AEAD
    	Header   internet.PacketHeader
    }
    
    Go
    - Registered: 2021-12-15 06:07
    - Last Modified: 2019-02-01 19:08
    - 1.8K bytes
    - Viewed (0)
  5. testing/mocks/io.go

    // Code generated by MockGen. DO NOT EDIT.
    // Source: io (interfaces: Reader,Writer)
    
    // Package mocks is a generated GoMock package.
    package mocks
    
    import (
    	gomock "github.com/golang/mock/gomock"
    	reflect "reflect"
    )
    
    // Reader is a mock of Reader interface
    type Reader struct {
    	ctrl     *gomock.Controller
    	recorder *ReaderMockRecorder
    }
    
    // ReaderMockRecorder is the mock recorder for Reader
    type ReaderMockRecorder struct {
    Go
    - Registered: 2021-12-15 06:07
    - Last Modified: 2018-12-27 15:37
    - 2.2K bytes
    - Viewed (0)
  6. lib/ace/mode/io.js

    };
    oop.inherits(Mode, TextMode);
    
    (function() {
        this.lineCommentStart = "//";
        this.blockComment = {start: "/*", end: "*/"};
        // Extra logic goes here.
        this.$id = "ace/mode/io";
        this.snippetFileId = "ace/snippets/io";
    }).call(Mode.prototype);
    
    exports.Mode = Mode;
    JavaScript
    - Registered: 2021-12-14 12:40
    - Last Modified: 2020-03-26 08:49
    - 2.4K bytes
    - Viewed (0)
  7. common/protocol/dns/io.go

    Darien Raymond <******@****.***> 1549444864 +0100
    Go
    - Registered: 2021-12-15 06:07
    - Last Modified: 2019-02-06 09:21
    - 2.5K bytes
    - Viewed (0)
  8. common/crypto/io.go

    package crypto
    
    import (
    	"crypto/cipher"
    	"io"
    
    	"v2ray.com/core/common/buf"
    )
    
    type CryptionReader struct {
    	stream cipher.Stream
    	reader io.Reader
    }
    
    func NewCryptionReader(stream cipher.Stream, reader io.Reader) *CryptionReader {
    	return &CryptionReader{
    		stream: stream,
    		reader: reader,
    	}
    }
    
    func (r *CryptionReader) Read(data []byte) (int, error) {
    	nBytes, err := r.reader.Read(data)
    	if nBytes > 0 {
    Go
    - Registered: 2021-12-15 06:07
    - Last Modified: 2018-08-17 09:51
    - 1.3K bytes
    - Viewed (3)
  9. base/strings/io.jl

    #       write uses an encoding determined by `s` (UTF-8 for `String`)
    print(io::IO, s::AbstractString) = for c in s; print(io, c); end
    write(io::IO, s::AbstractString) = (len = 0; for c in s; len += Int(write(io, c))::Int; end; len)
    show(io::IO, s::AbstractString) = print_quoted(io, s)
    
    # show elided string if more than `limit` characters
    function show(
        io    :: IO,
        mime  :: MIME"text/plain",
    Others
    - Registered: 2021-12-13 02:21
    - Last Modified: 2021-10-08 12:44
    - 22.1K bytes
    - Viewed (0)
  10. Library/Homebrew/extend/io.rb

    # typed: false
    # frozen_string_literal: true
    
    class IO
      def readline_nonblock(sep = $INPUT_RECORD_SEPARATOR)
        line = +""
        buffer = +""
    
        loop do
          break if buffer == sep
    
          read_nonblock(1, buffer)
          line.concat(buffer)
        end
    
        line.freeze
      rescue IO::WaitReadable, EOFError => e
        raise e if line.empty?
    
        line.freeze
      end
    Ruby
    - Registered: 2021-12-12 23:50
    - Last Modified: 2020-10-10 12:59
    - 362 bytes
    - Viewed (0)
Back to top