/dports/mail/lurker/lurker-2.3/common/ |
H A D | Search.cpp | 85 if (s.get() && next_id == s->next_id) // detect startup in skipto() 96 if (next_id > s->next_id) in skipto() 102 if (next_id < s->next_id) in skipto() 107 if (!s.get() || s->next_id != next_id) break; in skipto() 166 if ((*i)->next_id < low ->next_id) low = *i; in skipto() 167 if ((*i)->next_id > high->next_id) high = *i; in skipto() 170 if (high->next_id == low->next_id) in skipto() 172 next_id = high->next_id; in skipto() 261 if (!low || (*i)->next_id < low ->next_id) low = *i; in skipto() 269 next_id = low->next_id; in skipto() [all …]
|
/dports/databases/pecl-couchbase/couchbase-2.6.2/examples/scan_consistency/ |
H A D | request_plus.php | 47 for ($prev_id = "", $i = 0; $i < 10; $i++, $prev_id = $next_id) { 49 $next_id = get_next_doc_id($bucket, \Couchbase\N1qlQuery::NOT_BOUNDED); variable 50 if ($prev_id == $next_id) { 54 printf("STALE ID: %d\n", $next_id); 56 $bucket->upsert($next_id, array('i' => $i)); 64 for ($prev_id = "", $i = 0; $i < 10; $i++, $prev_id = $next_id) { 66 $next_id = get_next_doc_id($bucket, \Couchbase\N1qlQuery::REQUEST_PLUS); variable 67 if ($prev_id == $next_id) { 68 printf("STALE ID: %d\n", $next_id); 70 $bucket->upsert($next_id, array('i' => $i));
|
/dports/dns/dnswall/google-dnswall-164174a/src/ |
H A D | query_record.c | 52 int next_id; member 66 alloc_list[id].next_id = alloc_list_head; in RecordAllocId() 73 int next_id = alloc_list[id].next_id; in RecordFreeId() local 75 if (next_id != -1) in RecordFreeId() 76 alloc_list[next_id].prev_id = prev_id; in RecordFreeId() 78 alloc_list[prev_id].next_id = next_id; in RecordFreeId() 80 alloc_list_head = next_id; in RecordFreeId() 82 alloc_list[id].next_id = -1; in RecordFreeId() 100 id = alloc_list[id].next_id; in FreeOldRecordsIfNeeded()
|
/dports/www/ilias/ILIAS-5.4.25/Modules/SurveyQuestionPool/classes/ |
H A D | class.ilSurveyPhrases.php | 178 $next_id = $ilDB->nextId('svy_category'); 184 $category_id = $next_id; 185 $next_id = $ilDB->nextId('svy_phrase_cat'); 189 array($next_id, $phrase_id, $category_id, $counter) 203 $next_id = $ilDB->nextId('svy_phrase'); 207 array($next_id, $this->title, 1, $ilUser->getId(), time()) 209 $phrase_id = $next_id; 214 $next_id = $ilDB->nextId('svy_category'); 220 $category_id = $next_id; 221 $next_id = $ilDB->nextId('svy_phrase_cat'); [all …]
|
/dports/www/ilias6/ILIAS-6.14/Modules/SurveyQuestionPool/Phrases/ |
H A D | class.ilSurveyPhrases.php | 178 $next_id = $ilDB->nextId('svy_category'); 184 $category_id = $next_id; 185 $next_id = $ilDB->nextId('svy_phrase_cat'); 189 array($next_id, $phrase_id, $category_id, $counter) 203 $next_id = $ilDB->nextId('svy_phrase'); 207 array($next_id, $this->title, 1, $ilUser->getId(), time()) 209 $phrase_id = $next_id; 214 $next_id = $ilDB->nextId('svy_category'); 220 $category_id = $next_id; 221 $next_id = $ilDB->nextId('svy_phrase_cat'); [all …]
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/capnp-rpc-0.10.0/src/ |
H A D | sender_queue.rs | 36 next_id: u64, field 71 next_id: 0, in new() 79 let Inner { ref mut next_id, ref mut map, .. } = *self.inner.borrow_mut(); in push() 81 map.insert(*next_id, (value, tx)); in push() 84 id: *next_id, in push() 88 *next_id += 1; in push() 97 let Inner { ref mut next_id, ref mut map, .. } = *self.inner.borrow_mut(); in push_detach() 99 map.insert(*next_id, (value, tx)); in push_detach() 100 *next_id += 1; in push_detach() 105 let Inner { ref mut next_id, ref mut map, .. } = *self.inner.borrow_mut(); in drain() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/gdal-0.6.0/src/vector/ |
H A D | defn.rs | 29 next_id: 0, in fields() 40 next_id: 0, in geom_fields() 54 next_id: isize, field 63 if self.next_id == self.total { in next() 70 self.next_id as c_int in next() 73 self.next_id += 1; in next() 106 next_id: isize, field 115 if self.next_id == self.total { in next() 122 self.next_id as c_int in next() 125 self.next_id += 1; in next()
|
/dports/games/pvpgn/pvpgn-1.8.5/src/bnetd/ |
H A D | adbanner.c | 101 ad->next = next_id; in adbanner_create() 156 unsigned int next_id; in adbanner_pick() local 176 next_id = prev->next; in adbanner_pick() 178 next_id = prev->next; in adbanner_pick() 180 next_id = prev->next; in adbanner_pick() 182 next_id = 0; in adbanner_pick() 185 if (next_id) in adbanner_pick() 189 if ((curr = adbannerlist_find_adbanner_by_id(adbannerlist_init_head,next_id,ctag))) in adbanner_pick() 193 if ((curr = adbannerlist_find_adbanner_by_id(adbannerlist_norm_head,next_id,ctag))) in adbanner_pick() 379 if (!(ad = adbanner_create(id,next_id,delay,bntag,filename,link,client))) in adbannerlist_insert() [all …]
|
/dports/biology/ncbi-toolkit/ncbi/demo/ |
H A D | get_ec.pl | 58 $next_id = $disposition; 60 $next_id =~ s/ and//; 61 $next_id =~ s/and //; 63 $next_id =~ s/,//g; 65 $next_id =~ s/\.\s*$//; 67 $next_id =~ s/\s+/\t/g; 68 print OUT_TRANS "\t$next_id";
|
/dports/science/py-OpenMC/openmc-0.12.2/openmc/ |
H A D | mixin.py | 57 while cls.next_id in cls.used_ids: 58 cls.next_id += 1 59 self._id = cls.next_id 60 cls.used_ids.add(cls.next_id) 78 cls.next_id = 1 100 def set_auto_id(next_id): argument 110 cls.next_id = next_id
|
/dports/science/openmc/openmc-0.12.2/openmc/ |
H A D | mixin.py | 57 while cls.next_id in cls.used_ids: 58 cls.next_id += 1 59 self._id = cls.next_id 60 cls.used_ids.add(cls.next_id) 78 cls.next_id = 1 100 def set_auto_id(next_id): argument 110 cls.next_id = next_id
|
/dports/editors/xi-core/xi-editor-0.3.0/rust/syntect-plugin/src/ |
H A D | stackmap.rs | 33 next_id: u32, field 51 fn get_value(&mut self, stack: &[Scope], next_id: u32) -> LookupResult { in get_value() 56 self.children.insert(first.to_owned(), Node::new(next_id)); in get_value() 57 return LookupResult::New(next_id); in get_value() 64 node.value = Some(next_id); in get_value() 65 return LookupResult::New(next_id); in get_value() 75 self.children.get_mut(first).unwrap().get_value(&stack[1..], next_id) in get_value() 83 let result = self.scopes.get_value(stack, self.next_id); in get_value() 85 self.next_id += 1; in get_value()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_id.c | 189 next_id = 0; in test_bpf_obj_id() 190 while (!bpf_prog_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() 203 prog_fd, next_id, errno)) in test_bpf_obj_id() 207 if (prog_infos[i].id == next_id) in test_bpf_obj_id() 251 next_id = 0; in test_bpf_obj_id() 252 while (!bpf_map_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() 264 map_fd, next_id, errno)) in test_bpf_obj_id() 268 if (map_infos[i].id == next_id) in test_bpf_obj_id() 299 next_id = 0; in test_bpf_obj_id() 300 while (!bpf_link_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_id.c | 189 next_id = 0; in test_bpf_obj_id() 190 while (!bpf_prog_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() 203 prog_fd, next_id, errno)) in test_bpf_obj_id() 207 if (prog_infos[i].id == next_id) in test_bpf_obj_id() 251 next_id = 0; in test_bpf_obj_id() 252 while (!bpf_map_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() 264 map_fd, next_id, errno)) in test_bpf_obj_id() 268 if (map_infos[i].id == next_id) in test_bpf_obj_id() 299 next_id = 0; in test_bpf_obj_id() 300 while (!bpf_link_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_id.c | 189 next_id = 0; in test_bpf_obj_id() 190 while (!bpf_prog_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() 203 prog_fd, next_id, errno)) in test_bpf_obj_id() 207 if (prog_infos[i].id == next_id) in test_bpf_obj_id() 251 next_id = 0; in test_bpf_obj_id() 252 while (!bpf_map_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() 264 map_fd, next_id, errno)) in test_bpf_obj_id() 268 if (map_infos[i].id == next_id) in test_bpf_obj_id() 299 next_id = 0; in test_bpf_obj_id() 300 while (!bpf_link_get_next_id(next_id, &next_id)) { in test_bpf_obj_id() [all …]
|
/dports/math/SCIP/scip-7.0.3/src/scip/ |
H A D | compr_largestrepr.c | 242 int next_id; in constructCompression() local 265 while( covered[next_id] && next_id != current_id ) in constructCompression() 266 next_id = (next_id + 1) % nleaveids; in constructCompression() 268 if( next_id == current_id ) in constructCompression() 313 while( covered[next_id % nleaveids] && (next_id % nleaveids) != current_id ) in constructCompression() 318 next_id++; in constructCompression() 326 next_id %= nleaveids; in constructCompression() 328 if( covered[next_id] ) in constructCompression() 336 … if( common_vars[SCIPvarGetProbindex(vars[next_id][v])] == (vals[next_id][v] == 0 ? 1 : 2) ) in constructCompression() 373 covered[next_id] = TRUE; in constructCompression() [all …]
|
/dports/devel/ga/ga-5.8/armci/tcgmsg/ipcv4.0/ |
H A D | shmem.c | 144 static int next_id = 0; /* Keep track of id */ variable 152 if (next_id >= MAX_ADDR) 153 Error("CreateSharedRegion: too many shared regions", (long) next_id); 158 *id = next_id++; 264 static int next_id = 0; variable 272 if (next_id == MAX_ID) 274 *id = next_id; 306 next_id++; 315 if ( (id < 0) || (id > next_id)) 329 if ( (id < 0) || (id > next_id) ) [all …]
|
H A D | shmem_convex.c | 23 static int next_id = 0; variable 30 if (next_id == MAX_ID) { in CreateSharedRegion() 33 *id = next_id; in CreateSharedRegion() 69 next_id++; in CreateSharedRegion() 75 if ( (id < 0) || (id > next_id)) { in DetachSharedRegion() 90 if ( (id < 0) || (id > next_id) ) { in DeleteSharedRegion() 119 for (id=0; id<next_id; id++) { in DeleteSharedAll()
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/map_editor/ |
H A D | elwindows.c | 22 int next_id; in display_windows() local 31 next_id= -9999; in display_windows() 50 id= next_id; in display_windows() 59 next_id= 9999; in display_windows() 89 int next_id; in click_in_windows() local 112 next_id= 0; in click_in_windows() 144 next_id= 0; in click_in_windows() 167 id= next_id; in click_in_windows() 182 int next_id; in drag_windows() local 192 next_id= 0; in drag_windows() [all …]
|
/dports/math/py-gym/gym-0.21.0/gym/utils/ |
H A D | closer.py | 35 self.next_id = -1 43 self.next_id += 1 44 return self.next_id 54 next_id = self.generate_next_id() 55 self.closeables[next_id] = closeable 56 return next_id
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/include/perfetto/tracing/ |
H A D | track_event_interned_data_index.h | 81 size_t next_id = data_.size() + 1; in LookUpOrInsert() local 82 auto it_and_inserted = data_.insert(std::make_pair(value, next_id)); in LookUpOrInsert() 87 *iid = next_id; in LookUpOrInsert() 104 size_t next_id = data_.size() + 1; in LookUpOrInsert() local 105 auto it_and_inserted = data_.insert(std::make_pair(value, next_id)); in LookUpOrInsert() 110 *iid = next_id; in LookUpOrInsert() 131 size_t next_id = data_.size() + 1; in LookUpOrInsert() local 132 auto it_and_inserted = data_.insert(std::make_pair(key, next_id)); in LookUpOrInsert() 137 *iid = next_id; in LookUpOrInsert()
|
/dports/www/py-nevow/Nevow-0.14.0/examples/blogengine/ |
H A D | axiomstore.py | 34 next_id = attributes.integer(default=0) variable in Blog 53 assert post.id == self.next_id,\ 54 "Bad post ID; is %r, should be %r" % (post.id, self.next_id) 56 self.next_id += 1 63 if how_many is None or how_many > self.next_id: 64 how_many = self.next_id 65 return (self.getOne(self.next_id-id-1) for id in range(how_many)) 71 return self.next_id
|
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/regex-automata-0.1.10/src/nfa/ |
H A D | range_trie.rs | 223 next_id: StateID, field 276 if t.next_id == FINAL { in iter() 286 state_id = t.next_id; in iter() 405 let next_id = in insert() localVariable 481 if t.next_id == FINAL { in duplicate() 491 old_id: t.next_id, in duplicate() 508 next_id: StateID, in add_transition() 522 next_id: StateID, in add_transition_at() 535 next_id: StateID, in set_transition_at() 666 let next_id = trie.add_empty(); in push() localVariable [all …]
|
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/regex-automata-0.1.10/src/nfa/ |
H A D | range_trie.rs | 223 next_id: StateID, field 276 if t.next_id == FINAL { in iter() 286 state_id = t.next_id; in iter() 405 let next_id = in insert() localVariable 481 if t.next_id == FINAL { in duplicate() 491 old_id: t.next_id, in duplicate() 508 next_id: StateID, in add_transition() 522 next_id: StateID, in add_transition_at() 535 next_id: StateID, in set_transition_at() 666 let next_id = trie.add_empty(); in push() localVariable [all …]
|
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/regex-automata-0.1.10/src/nfa/ |
H A D | range_trie.rs | 223 next_id: StateID, field 276 if t.next_id == FINAL { in iter() 286 state_id = t.next_id; in iter() 405 let next_id = in insert() localVariable 481 if t.next_id == FINAL { in duplicate() 491 old_id: t.next_id, in duplicate() 508 next_id: StateID, in add_transition() 522 next_id: StateID, in add_transition_at() 535 next_id: StateID, in set_transition_at() 666 let next_id = trie.add_empty(); in push() localVariable [all …]
|