コード例 #1
0
 public readResult(incomparable _ = default, long n = default, error err = default, byte b = default)
 {
     this._   = _;
     this.n   = n;
     this.err = err;
     this.b   = b;
 }
コード例 #2
0
ファイル: huffman_nodeStruct.cs プロジェクト: zjmit/go2cs
 public node(incomparable _ = default, ref ptr <array <ptr <node> > > children = default, byte codeLen = default, byte sym = default)
 {
     this._        = _;
     this.children = children;
     this.codeLen  = codeLen;
     this.sym      = sym;
 }
コード例 #3
0
 public gzipReader(incomparable _ = default, ref ptr <bodyEOFSignal> body = default, ref ptr <gzip.Reader> zr = default, error zerr = default)
 {
     this._    = _;
     this.body = body;
     this.zr   = zr;
     this.zerr = zerr;
 }
コード例 #4
0
 public connectMethod(incomparable _ = default, ref ptr <url.URL> proxyURL = default, @string targetScheme = default, @string targetAddr = default, bool onlyH1 = default)
 {
     this._            = _;
     this.proxyURL     = proxyURL;
     this.targetScheme = targetScheme;
     this.targetAddr   = targetAddr;
     this.onlyH1       = onlyH1;
 }
コード例 #5
0
 public requestAndChan(incomparable _ = default, ref ptr <Request> req = default, cancelKey cancelKey = default, channel <responseAndError> ch = default, bool addedGzip = default, channel <object> continueCh = default, channel <object> callerGone = default)
 {
     this._          = _;
     this.req        = req;
     this.cancelKey  = cancelKey;
     this.ch         = ch;
     this.addedGzip  = addedGzip;
     this.continueCh = continueCh;
     this.callerGone = callerGone;
 }
コード例 #6
0
 public responseAndError(incomparable _ = default, ref ptr <Response> res = default, error err = default)
 {
     this._   = _;
     this.res = res;
     this.err = err;
 }
コード例 #7
0
 public readWriteCloserBody(incomparable _ = default, ref ptr <bufio.Reader> br = default, io.ReadWriteCloser ReadWriteCloser = default)
 {
     this._  = _;
     this.br = br;
     this.ReadWriteCloser = ReadWriteCloser;
 }