此函数在编译的程序集中名为 ReadOnly。如果从 F# 以外的语言中访问函数,或通过反射访问成员,请使用此名称。示例以下代码用 Seq.readonly 来创建可变数组的不变视图。F# 复制 type ArrayContainer(start, finish) = let internalArray = [| start .. finish |] member this.RangeSeq = Seq.readonly internal...
rep = READ_ONCE(*repp);if(rep ==NULL) {if(read_seqretry(&sl, s))//\lnlbl{lookup:r_sqretry1}gotoretry;//\lnlbl{lookup:goto_retry1}returnULONG_MAX; }//\fcvexclude/* Advance to next. *///\fcvexcluderepp = &rep->re_next; }while(rep->addr != addr);if(READ_ONCE(rep->re...
CV_CALL( cvStartAppendToSeq(this->edges_, &seq_writer ) );for( i =0; i < _edges->total; i++) {CV_READ_SEQ_ELEM( current_edge , seq_reader); CV_WRITE_SEQ_ELEM( current_edge , seq_writer ); } CV_CALL( cvEndWriteSeq( &seq_writer ) ); __END__; __ISL_CHECK_ERROR__;...
Method/Function:plot_read_count_dists 导入包:smallrnaseqplotting 每个示例代码都附有代码来源和完整的源代码,希望对您的程序开发有帮助。 示例1 defplot_results(res,path):"""Some results plots"""ifresisNoneorlen(res)==0:returncounts=base.pivot_count_data(res,idxcols=['name','ref'])x=base.ge...
命名空间/模块路径: Microsoft.FSharp.Collections.Seq程序集:FSharp.Core(在 FSharp.Core.dll 中)复制 // Signature: Seq.readonly : seq<'T> -> seq<'T> // Usage: Seq.readonly source 参数source 类型:seq<'T> 输入序列。异常展开表