コード例 #1
0
 public FileSet(sync.RWMutex mutex = default, long @base = default, slice <ptr <File> > files = default, ref ptr <File> last = default)
 {
     this.mutex = mutex;
     this.@base = @base;
     this.files = files;
     this.last  = last;
 }
コード例 #2
0
 public ipv6ZoneCache(sync.RWMutex RWMutex = default, time.Time lastFetched = default, map <@string, long> toIndex = default, map <long, @string> toName = default)
 {
     this.m_RWMutexRef = new ptr <sync.RWMutex>(RWMutex);
     this.lastFetched  = lastFetched;
     this.toIndex      = toIndex;
     this.toName       = toName;
 }
コード例 #3
0
ファイル: sql_ConnStruct.cs プロジェクト: zjmit/go2cs
 public Conn(ref ptr <DB> db = default, sync.RWMutex closemu = default, ref ptr <driverConn> dc = default, int done = default)
 {
     this.db      = db;
     this.closemu = closemu;
     this.dc      = dc;
     this.done    = done;
 }
コード例 #4
0
ファイル: testing_commonStruct.cs プロジェクト: zjmit/go2cs
 public common(sync.RWMutex mu = default, slice<byte> output = default, io.Writer w = default, bool ran = default, bool failed = default, bool skipped = default, bool done = default, Action cleanup = default, @string cleanupName = default, slice<System.UIntPtr> cleanupPc = default, bool chatty = default, bool bench = default, bool finished = default, int hasSub = default, long raceErrors = default, @string runner = default, ref ptr<common> parent = default, long level = default, slice<System.UIntPtr> creator = default, @string name = default, time.Time start = default, time.Duration duration = default, channel<bool> barrier = default, channel<bool> signal = default, slice<ptr<T>> sub = default, sync.Once tempDirOnce = default, @string tempDir = default, error tempDirErr = default, int tempDirSeq = default)
 {
     this.mu = mu;
     this.output = output;
     this.w = w;
     this.ran = ran;
     this.failed = failed;
     this.skipped = skipped;
     this.done = done;
     this.cleanup = cleanup;
     this.cleanupName = cleanupName;
     this.cleanupPc = cleanupPc;
     this.chatty = chatty;
     this.bench = bench;
     this.finished = finished;
     this.hasSub = hasSub;
     this.raceErrors = raceErrors;
     this.runner = runner;
     this.parent = parent;
     this.level = level;
     this.creator = creator;
     this.name = name;
     this.start = start;
     this.duration = duration;
     this.barrier = barrier;
     this.signal = signal;
     this.sub = sub;
     this.tempDirOnce = tempDirOnce;
     this.tempDir = tempDir;
     this.tempDirErr = tempDirErr;
     this.tempDirSeq = tempDirSeq;
 }
コード例 #5
0
ファイル: server_ServeMuxStruct.cs プロジェクト: zjmit/go2cs
 public ServeMux(sync.RWMutex mu = default, map <@string, muxEntry> m = default, slice <muxEntry> es = default, bool hosts = default)
 {
     this.mu    = mu;
     this.m     = m;
     this.es    = es;
     this.hosts = hosts;
 }
コード例 #6
0
 public Switch(sync.Once once = default, sync.RWMutex fmu = default, map <FilterType, Filter> fltab = default, sync.RWMutex smu = default, Sockets sotab = default, stats stats = default)
 {
     this.once  = once;
     this.fmu   = fmu;
     this.fltab = fltab;
     this.smu   = smu;
     this.sotab = sotab;
     this.stats = stats;
 }
コード例 #7
0
ファイル: sql_TxStruct.cs プロジェクト: zjmit/go2cs
 public Tx(ref ptr <DB> db = default, sync.RWMutex closemu = default, ref ptr <driverConn> dc = default, driver.Tx txi = default, Action <error> releaseConn = default, int done = default, bool keepConnOnRollback = default, Action cancel = default, context.Context ctx = default)
 {
     this.db                 = db;
     this.closemu            = closemu;
     this.dc                 = dc;
     this.txi                = txi;
     this.releaseConn        = releaseConn;
     this.done               = done;
     this.keepConnOnRollback = keepConnOnRollback;
     this.cancel             = cancel;
     this.ctx                = ctx;
 }
コード例 #8
0
ファイル: mem_MemStruct.cs プロジェクト: sunnerrr/go2cs
 public Mem(sync.RWMutex mu = default, map <@string, @string> table = default)
 {
     this.mu    = mu;
     this.table = table;
 }
コード例 #9
0
ファイル: issue30628_AppleStruct.cs プロジェクト: zjmit/go2cs
 public Apple(sync.RWMutex hey = default, long x = default)
 {
     this.hey = hey;
     this.x   = x;
 }
コード例 #10
0
 public resolverConfig(sync.Once initOnce = default, channel <object> ch = default, time.Time lastChecked = default, sync.RWMutex mu = default, ref ptr <dnsConfig> dnsConfig = default)
 {
     this.initOnce    = initOnce;
     this.ch          = ch;
     this.lastChecked = lastChecked;
     this.mu          = mu;
     this.dnsConfig   = dnsConfig;
 }
コード例 #11
0
 public common(map <@string, ptr <Template> > tmpl = default, option option = default, sync.RWMutex muFuncs = default, FuncMap parseFuncs = default, map <@string, reflect.Value> execFuncs = default)
 {
     this.tmpl       = tmpl;
     this.option     = option;
     this.muFuncs    = muFuncs;
     this.parseFuncs = parseFuncs;
     this.execFuncs  = execFuncs;
 }
コード例 #12
0
 public Process(long Pid = default, System.UIntPtr handle = default, uint isdone = default, sync.RWMutex sigMu = default)
 {
     this.Pid    = Pid;
     this.handle = handle;
     this.isdone = isdone;
     this.sigMu  = sigMu;
 }
コード例 #13
0
ファイル: expvar_MapStruct.cs プロジェクト: zjmit/go2cs
 public Map(sync.Map m = default, sync.RWMutex keysMu = default, slice <@string> keys = default)
 {
     this.m      = m;
     this.keysMu = keysMu;
     this.keys   = keys;
 }
コード例 #14
0
 public EmbeddedRWMutex(sync.RWMutex RWMutex = default)
 {
     this.m_RWMutexRef = new ptr <sync.RWMutex>(RWMutex);
 }
コード例 #15
0
ファイル: sql_RowsStruct.cs プロジェクト: zjmit/go2cs
 public Rows(ref ptr <driverConn> dc = default, Action <error> releaseConn = default, driver.Rows rowsi = default, Action cancel = default, ref ptr <driverStmt> closeStmt = default, sync.RWMutex closemu = default, bool closed = default, error lasterr = default, slice <driver.Value> lastcols = default)
 {
     this.dc          = dc;
     this.releaseConn = releaseConn;
     this.rowsi       = rowsi;
     this.cancel      = cancel;
     this.closeStmt   = closeStmt;
     this.closemu     = closemu;
     this.closed      = closed;
     this.lasterr     = lasterr;
     this.lastcols    = lastcols;
 }
コード例 #16
0
 public Stmt(ref ptr <DB> db = default, @string query = default, error stickyErr = default, sync.RWMutex closemu = default, stmtConnGrabber cg = default, ref ptr <driverStmt> cgds = default, ref ptr <Stmt> parentStmt = default, sync.Mutex mu = default, bool closed = default, slice <connStmt> css = default, ulong lastNumClosed = default)
 {
     this.db            = db;
     this.query         = query;
     this.stickyErr     = stickyErr;
     this.closemu       = closemu;
     this.cg            = cg;
     this.cgds          = cgds;
     this.parentStmt    = parentStmt;
     this.mu            = mu;
     this.closed        = closed;
     this.css           = css;
     this.lastNumClosed = lastNumClosed;
 }