/macosx-10.9.5/ruby-104/ruby/benchmark/ |
H A D | bm_so_reverse_complement.rb | 8 seq=Array.new 10 def revcomp(seq) 11 seq.reverse!.tr!('wsatugcyrkmbdhvnATUGCYRKMBDHVN','WSTAACGRYMKVHDBNTAACGRYMKVHDBN') 12 stringlen=seq.length 13 0.step(stringlen-1,60) {|x| print seq.slice(x,60) , "\n"} 20 if seq.length != 0 21 revcomp(seq.join) 22 seq=Array.new 27 seq.push $_ 30 revcomp(seq [all...] |
H A D | bm_so_k_nucleotide.rb | 7 seq = String.new 9 def frecuency( seq,length ) 10 n, table = seq.length - length + 1, Hash.new(0) 14 table[seq[i,length]] += 1 21 def sort_by_freq( seq,length ) 22 n,table = frecuency( seq,length ) 30 def find_seq( seq,s ) 31 n,table = frecuency( seq,s.length ) 41 seq << line.chomp 45 [1,2].each {|i| sort_by_freq( seq, [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/cxx/ |
H A D | cxx_seq.cpp | 26 DB_SEQUENCE *seq = unwrap(this); \ 27 DbEnv *dbenv = DbEnv::get_DbEnv(seq->seq_dbp->dbenv); \ 29 ret = seq->_name _arglist; \ 41 DB_SEQUENCE *seq; local 44 if ((ret = db_sequence_create(&seq, unwrap(db), flags)) != 0) 48 imp_ = seq; 49 seq->api_internal = this; 53 DbSequence::DbSequence(DB_SEQUENCE *seq) argument 54 : imp_(seq) 56 seq 61 DB_SEQUENCE *seq; local 90 DB_SEQUENCE *seq = unwrap(this); local 98 DB_SEQUENCE *seq = unwrap(this); local 105 wrap_DB_SEQUENCE(DB_SEQUENCE *seq) argument [all...] |
/macosx-10.9.5/ruby-104/ruby/sample/drb/ |
H A D | namec.rb | 18 seq = ro["seq"] 21 p seq 25 p seq.next_value 26 p seq.next_value 33 p seq.next_value 34 p seq.next_value
|
/macosx-10.9.5/BerkeleyDB-21/db/sequence/ |
H A D | sequence.c | 31 * machine we swap in and out when we read from the database. seq->seq_rp 46 #define SEQ_SWAP_IN(env, seq) \ 49 memcpy(&seq->seq_record, seq->seq_data.data, \ 50 sizeof(seq->seq_record)); \ 51 SEQ_SWAP(&seq->seq_record); \ 55 #define SEQ_SWAP_OUT(env, seq) \ 58 memcpy(seq->seq_data.data, \ 59 &seq->seq_record, sizeof(seq 94 DB_SEQUENCE *seq; local [all...] |
H A D | seq_stat.c | 28 __seq_stat(seq, spp, flags) 29 DB_SEQUENCE *seq; 41 dbp = seq->seq_dbp; 44 SEQ_ILLEGAL_BEFORE_OPEN(seq, "DB_SEQUENCE->stat"); 69 if (seq->mtx_seq != MUTEX_INVALID) { 71 env, seq->mtx_seq, &sp->st_wait, &sp->st_nowait); 74 __mutex_clear(env, seq->mtx_seq); 80 retry: if ((ret = __db_get(dbp, ip, NULL, &seq->seq_key, &data, 0)) != 0) { 82 data.size > sizeof(seq->seq_record)) { 95 sp->st_value = seq [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/db/ |
H A D | Sequence.java | 19 private DbSequence seq; field in class:Sequence 23 Sequence(final DbSequence seq, SequenceConfig config) argument 26 this.seq = seq; 27 seq.wrapper = this; 28 if (seq.get_db().get_transactional()) 46 seq.close(0); 79 return seq.get((txn == null) ? null : txn.txn, delta, 92 return seq.get_db().wrapper; 105 seq [all...] |
H A D | SequenceConfig.java | 301 final DbSequence seq = createSequence(db); 313 configureSequence(seq, DEFAULT); 316 seq.open(txn, key, openFlags); 318 return seq; 322 seq.close(0); 330 void configureSequence(final DbSequence seq, final SequenceConfig oldConfig) argument 338 seq.set_flags(seqFlags); 341 seq.set_range(rangeMin, rangeMax); 344 seq.initial_value(initialValue); 347 seq 351 SequenceConfig(final DbSequence seq) argument [all...] |
/macosx-10.9.5/postfix-252/postfix/src/fsstone/ |
H A D | fsstone.c | 136 static void remove_file(int seq) argument 141 snprintf(path, sizeof path, "%06d", seq); 148 static void remove_silent(int seq) argument 153 snprintf(path, sizeof path, "%06d", seq); 173 int seq; local 210 for (seq = 0; seq < max_file; seq++) 211 make_file(seq, size); 218 seq [all...] |
/macosx-10.9.5/ruby-104/ruby/test/psych/ |
H A D | test_tree_builder.rb | 39 seq = doc.children.first 40 assert_instance_of Nodes::Sequence, seq 41 assert_nil seq.anchor 42 assert_nil seq.tag 43 assert_equal true, seq.implicit 44 assert_equal Nodes::Sequence::BLOCK, seq.style 49 seq = doc.children.first 51 assert_equal 3, seq.children.length 52 scalar = seq.children.first 64 seq [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/examples_c/ |
H A D | ex_sequence.c | 35 DB_SEQUENCE *seq; local 43 seq = NULL; 79 if ((ret = db_sequence_create(&seq, dbp, 0)) != 0) { 88 if ((ret = seq->open(seq, NULL, &key, DB_CREATE)) != 0) { 94 if ((ret = seq->get(seq, NULL, 1, &seqnum, 0)) != 0) { 109 if ((ret = seq->close(seq, 0)) != 0) { 110 seq [all...] |
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-core/Modules/objc/ |
H A D | bundle-variables.m | 106 PyObject* seq; 134 seq = PySequence_Fast(variableInfo, "variableInfo not a sequence"); 135 if (seq == NULL) { 139 len = PySequence_Fast_GET_SIZE(seq); 141 PyObject* item = PySequence_Fast_GET_ITEM(seq, i); 151 Py_DECREF(seq); 157 Py_DECREF(seq); 164 Py_DECREF(seq); 174 Py_DECREF(seq); 181 Py_DECREF(seq); [all...] |
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/Modules/objc/ |
H A D | bundle-variables.m | 106 PyObject* seq; 134 seq = PySequence_Fast(variableInfo, "variableInfo not a sequence"); 135 if (seq == NULL) { 139 len = PySequence_Fast_GET_SIZE(seq); 141 PyObject* item = PySequence_Fast_GET_ITEM(seq, i); 152 Py_DECREF(seq); 164 Py_DECREF(seq); 179 Py_DECREF(seq); 186 Py_DECREF(seq); 192 Py_DECREF(seq); [all...] |
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-core/Examples/NonFunctional/RemotePyInterpreter/ |
H A D | ConsoleReactor.py | 68 def sendResult_sequence_(self, rval, seq): 70 code = '__result__[%r] = %s' % (seq, nr.netrepr(rval)) 79 def doCallback_sequence_args_(self, callback, seq, args): 84 self.sendException_sequence_(e, seq) 86 self.sendResult_sequence_(rval, seq) 88 def deferCallback_sequence_value_(self, callback, seq, value): 89 self.commands[seq] = callback 90 self.writeCode_('pipe.respond(%r, netrepr(%s))' % (seq, value)) 94 seq = command[0] 101 self.doCallback_sequence_args_(raw_input, seq, arg [all...] |
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/Examples/NonFunctional/RemotePyInterpreter/ |
H A D | ConsoleReactor.py | 68 def sendResult_sequence_(self, rval, seq): 70 code = '__result__[%r] = %s' % (seq, nr.netrepr(rval)) 79 def doCallback_sequence_args_(self, callback, seq, args): 84 self.sendException_sequence_(e, seq) 86 self.sendResult_sequence_(rval, seq) 88 def deferCallback_sequence_value_(self, callback, seq, value): 89 self.commands[seq] = callback 90 self.writeCode_('pipe.respond(%r, netrepr(%s))' % (seq, value)) 94 seq = command[0] 101 self.doCallback_sequence_args_(raw_input, seq, arg [all...] |
/macosx-10.9.5/vim-53/src/ |
H A D | vimtutor | 15 seq="vim vim8 vim75 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi" 19 seq="gvim gvim8 gvim75 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq" 55 for i in $seq; do
|
/macosx-10.9.5/ruby-104/ruby/ext/psych/lib/psych/ |
H A D | coder.rb | 6 # objects like Sequence and Scalar may be emitted if +seq=+ or +scalar=+ are 10 attr_reader :type, :seq 14 @seq = [] 49 self.seq = list 89 def seq= list 90 @type = :seq 91 @seq = list
|
/macosx-10.9.5/BerkeleyDB-21/db/tcl/ |
H A D | tcl_seq.c | 38 * Implements the "seq" widget. 73 DB_SEQUENCE *seq; local 79 seq = (DB_SEQUENCE *)clientData; 86 if (seq == NULL) { 91 ip = _PtrToInfo((void *)seq); 108 ret = seq->get_range(seq, &min, &max); 117 result = tcl_SeqClose(interp, objc, objv, seq, ip); 120 result = tcl_SeqRemove(interp, objc, objv, seq, ip); 123 result = tcl_SeqGet(interp, objc, objv, seq); [all...] |
/macosx-10.9.5/emacs-92/emacs/lisp/erc/ |
H A D | erc-compat.el | 134 (defun erc-delete-if (predicate seq) 139 (while (when (funcall predicate (car seq)) 140 (setq seq (cdr seq)))) 142 (let ((ptr seq) 143 (next (cdr seq))) 151 seq) 154 (defun erc-remove-if-not (predicate seq) 159 (dolist (el seq) 165 (defun erc-subseq (seq star [all...] |
/macosx-10.9.5/OpenSSH-186/openssh/ |
H A D | dispatch.c | 45 dispatch_protocol_error(int type, u_int32_t seq, void *ctxt) argument 47 logit("dispatch_protocol_error: type %d seq %u", type, seq); 51 packet_put_int(seq); 56 dispatch_protocol_ignore(int type, u_int32_t seq, void *ctxt) argument 58 logit("dispatch_protocol_ignore: type %d seq %u", type, seq);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/sql/ |
H A D | SQLiteFileSystem.cpp | 59 SQLiteStatement sequenceStatement(*db, "SELECT seq FROM sqlite_sequence WHERE name='Databases';"); 63 int64_t seq = 0; local 65 seq = sequenceStatement.getColumnInt64(0); 73 ++seq; 74 fileName = pathByAppendingComponent(dbDir, String::format("%016" PRIx64 ".db", seq)); 77 return String::format("%016" PRIx64 ".db", seq);
|
/macosx-10.9.5/Libc-997.90.3/gen/ |
H A D | getttyent.c | 94 struct seq { struct 107 static struct seq *seq = NULL; variable in typeref:struct:seq 142 if (slot < seq->first) { 151 if (seq->count > 0) { 156 sprintf(tty.ty_name, seq->fmt, seq->index++); 158 seq->count--; 162 if (slot == seq->first) { 264 /* seq [all...] |
/macosx-10.9.5/CPANInternal-140/Perl4-CoreLibs-0.003/lib/ |
H A D | cacheout.pl | 38 $isopen{$file} = ++$seq; 43 $seq = 0;
|
/macosx-10.9.5/ppp-727.90.1/Helpers/pppd/ |
H A D | acsp.h | 30 printer(arg, " <payload len %d, packet seq %d, %s, flags:%s%s%s%s>", len, pkt->seq, payload_name, ## flag_names) : \ 31 printer(arg, " <payload len %d, packet seq %d, CI_TYPE %d, flags:%s%s%s%s>", len, pkt->seq, pkt->type, ## flag_names)
|
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/ |
H A D | comment.rb | 68 # Look for a 'call-seq' in the comment to override the normal parameter 69 # handling. The :call-seq: is indented from the baseline. All lines of the 72 # For example, all of the following will be used as the :call-seq: 74 # # :call-seq: 88 if @text =~ /^\s*:?call-seq:(.*?(?:\S).*?)^\s*$/m then 110 seq = @text[seq_start..seq_stop] 111 seq.gsub!(/^\s*(\S|\n)/m, '\1') 114 method.call_seq = seq.chomp 116 elsif @text.sub!(/^\s*:?call-seq:(.*?)(^\s*$|\z)/m, '') then 117 seq [all...] |