/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/VRP/src/Heuristics/ |
H A D | savings_rout2.c | 67 tree_node *new_head = NULL; in start_new_route2() local 87 new_head = temp1; in start_new_route2() 89 new_head = merge_heaps(temp1, new_head); in start_new_route2() 95 new_head = temp2; in start_new_route2() 97 new_head = merge_heaps(temp2, new_head); in start_new_route2() 100 else return(new_head); in start_new_route2() 176 tree_node *new_head; in update_savings2() local 190 new_head = merge_heaps(temp1, new_head); in update_savings2() 195 new_head = merge_heaps(temp2, new_head); in update_savings2() 197 if(!degree && !temp2 &&!new_head) return(NULL); in update_savings2() [all …]
|
H A D | savings_rout3.c | 119 tree_node *new_head; in update_savings3() local 129 new_head = make_heap(head->cust_num, savings, node1, node2); in update_savings3() 137 new_head = merge_heaps(temp1, new_head); in update_savings3() 144 new_head = merge_heaps(temp2, new_head); in update_savings3() 146 if(!degree && !temp2 &&!new_head) return(NULL); in update_savings3() 147 else return(new_head); in update_savings3()
|
/dports/graphics/gimp-app/gimp-2.10.30/app/core/ |
H A D | gimp-atomic.c | 42 GSList *new_head; in gimp_atomic_slist_push_head() local 46 new_head = g_slist_alloc (); in gimp_atomic_slist_push_head() 48 new_head->data = data; in gimp_atomic_slist_push_head() 58 new_head->next = old_head; in gimp_atomic_slist_push_head() 60 while (! g_atomic_pointer_compare_and_exchange (list, old_head, new_head)); in gimp_atomic_slist_push_head() 67 GSList *new_head; in gimp_atomic_slist_pop_head() local 87 new_head = old_head->next; in gimp_atomic_slist_pop_head() 90 g_atomic_pointer_set (list, new_head); in gimp_atomic_slist_pop_head()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/gc/g1/ |
H A D | g1FreeIdSet.cpp | 81 uintx new_head = make_head(_next[index], old_head); in claim_par_id() local 82 new_head = Atomic::cmpxchg(new_head, &_head, old_head); in claim_par_id() 83 if (new_head == old_head) break; in claim_par_id() 84 old_head = new_head; in claim_par_id() 97 uintx new_head = make_head(index, old_head); in release_par_id() local 98 new_head = Atomic::cmpxchg(new_head, &_head, old_head); in release_par_id() 99 if (new_head == old_head) break; in release_par_id() 100 old_head = new_head; in release_par_id()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/gc/g1/ |
H A D | g1FreeIdSet.cpp | 82 uintx new_head = make_head(_next[index], old_head); in claim_par_id() local 83 new_head = Atomic::cmpxchg(&_head, old_head, new_head); in claim_par_id() 84 if (new_head == old_head) break; in claim_par_id() 85 old_head = new_head; in claim_par_id() 98 uintx new_head = make_head(index, old_head); in release_par_id() local 99 new_head = Atomic::cmpxchg(&_head, old_head, new_head); in release_par_id() 100 if (new_head == old_head) break; in release_par_id() 101 old_head = new_head; in release_par_id()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/gc/g1/ |
H A D | g1FreeIdSet.cpp | 81 uintx new_head = make_head(_next[index], old_head); in claim_par_id() local 82 new_head = Atomic::cmpxchg(&_head, old_head, new_head); in claim_par_id() 83 if (new_head == old_head) break; in claim_par_id() 84 old_head = new_head; in claim_par_id() 97 uintx new_head = make_head(index, old_head); in release_par_id() local 98 new_head = Atomic::cmpxchg(&_head, old_head, new_head); in release_par_id() 99 if (new_head == old_head) break; in release_par_id() 100 old_head = new_head; in release_par_id()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/g1/ |
H A D | g1FreeIdSet.cpp | 81 uintx new_head = make_head(_next[index], old_head); in claim_par_id() local 82 new_head = Atomic::cmpxchg(&_head, old_head, new_head); in claim_par_id() 83 if (new_head == old_head) break; in claim_par_id() 84 old_head = new_head; in claim_par_id() 97 uintx new_head = make_head(index, old_head); in release_par_id() local 98 new_head = Atomic::cmpxchg(&_head, old_head, new_head); in release_par_id() 99 if (new_head == old_head) break; in release_par_id() 100 old_head = new_head; in release_par_id()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/gc/g1/ |
H A D | g1FreeIdSet.cpp | 81 uintx new_head = make_head(_next[index], old_head); in claim_par_id() local 82 new_head = Atomic::cmpxchg(&_head, old_head, new_head); in claim_par_id() 83 if (new_head == old_head) break; in claim_par_id() 84 old_head = new_head; in claim_par_id() 97 uintx new_head = make_head(index, old_head); in release_par_id() local 98 new_head = Atomic::cmpxchg(&_head, old_head, new_head); in release_par_id() 99 if (new_head == old_head) break; in release_par_id() 100 old_head = new_head; in release_par_id()
|
/dports/games/openttd/openttd-12.1/src/ |
H A D | autoreplace_cmd.cpp | 170 …if (part_of_chain && new_head->type == VEH_TRAIN) Train::From(new_head)->ConsistChanged(CCF_LOADUN… in TransferCargo() 408 assert((new_head->vehstatus & VS_STOPPED) != 0); in CopyHeadSpecificThings() 409 cost.AddCost(CmdStartStopVehicle(new_head, true)); in CopyHeadSpecificThings() 595 if (wagon->First() == new_head) break; in ReplaceChain() 616 *chain = new_head; in ReplaceChain() 625 if (w->First() == new_head) continue; in ReplaceChain() 674 Vehicle *new_head = nullptr; in ReplaceChain() local 678 if (cost.Succeeded() && new_head != nullptr) { in ReplaceChain() 687 TransferCargo(old_head, new_head, true); in ReplaceChain() 688 *chain = new_head; in ReplaceChain() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/mpe2/src/slog2sdk/src/base/drawable/ |
H A D | DrawnBox.java | 35 public boolean coversState( int new_head, int new_tail ) in coversState() argument 37 int new_width = new_tail - new_head; in coversState() 40 || Math.abs( new_head - head ) <= TOLERANCE; in coversState() 48 public boolean coversArrow( int new_head, int new_tail ) in coversArrow() argument 51 && Math.abs( new_head - head ) <= TOLERANCE; in coversArrow() 59 public void set( int new_head, int new_tail ) in set() argument 61 head = new_head; in set()
|
/dports/games/retroarch/RetroArch-1.9.7/cores/libretro-ffmpeg/ |
H A D | packet_buffer.c | 79 AVPacketNode_t *new_head = (AVPacketNode_t *) malloc(sizeof(AVPacketNode_t)); in packet_buffer_add_packet() local 80 new_head->data = av_packet_alloc(); in packet_buffer_add_packet() 82 av_packet_move_ref(new_head->data, pkt); in packet_buffer_add_packet() 86 new_head->next = packet_buffer->head; in packet_buffer_add_packet() 87 packet_buffer->head->previous = new_head; in packet_buffer_add_packet() 91 new_head->next = NULL; in packet_buffer_add_packet() 92 packet_buffer->tail = new_head; in packet_buffer_add_packet() 95 packet_buffer->head = new_head; in packet_buffer_add_packet()
|
/dports/irc/bopm/bopm-3.1.3/src/ |
H A D | negcache.c | 74 static void nc_rebuild(struct cnode *old_head, struct cnode *new_head, 232 static void nc_rebuild(struct cnode *old_head, struct cnode *new_head, in nc_rebuild() argument 255 nc_rebuild(old_head, new_head, n->l, now); in nc_rebuild() 264 nc_rebuild(old_head, new_head, n->r, now); in nc_rebuild() 273 new = nc_insert(new_head, n->ip); in nc_rebuild() 292 struct cnode *new_head; in negcache_rebuild() local 295 new_head = NULL; in negcache_rebuild() 297 nc_init(&new_head); in negcache_rebuild() 298 nc_rebuild(nc_head, new_head, NULL, now); in negcache_rebuild() 300 nc_head = new_head; in negcache_rebuild()
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/git/test/ |
H A D | test_refs.py | 259 assert new_head.is_detached 261 assert isinstance(new_head, Head) 270 old_path = new_head.path 271 old_name = new_head.name 275 assert new_head.rename(old_name).name == old_name and new_head.path == old_path 281 assert tmp_head == new_head and tmp_head.object == new_head.object 396 assert len(new_head.commit.diff(None)) 469 symref.reference = new_head 470 assert symref.reference == new_head 472 assert symref.commit == new_head.commit [all …]
|
/dports/games/nazghul/nazghul-0.7.1/src/ |
H A D | list.h | 112 static inline void list_move(struct list *new_head, struct list *old_head) in list_move() argument 115 list_init(new_head); in list_move() 119 *new_head = *old_head; in list_move() 120 new_head->next->prev = new_head; in list_move() 121 new_head->prev->next = new_head; in list_move()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/ |
H A D | roll_boringssl.py | 110 new_head = RevParse(BORINGSSL_SRC_PATH, sys.argv[1]) 113 new_head = RevParse(BORINGSSL_SRC_PATH, 'origin/master') 116 if old_head == new_head: 120 print 'Rolling BoringSSL from %s to %s...' % (old_head, new_head) 126 log = Log(BORINGSSL_SRC_PATH, '%s..%s' % (old_head, new_head)) 145 UpdateDEPS(DEPS_PATH, old_head, new_head) 148 subprocess.check_call(['git', 'checkout', new_head], cwd=BORINGSSL_SRC_PATH) 179 """ % (old_head[:9], new_head[:9], old_head, new_head) 200 '%s..%s' % (old_head, new_head)], cwd=BORINGSSL_SRC_PATH).strip()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/boringssl/ |
H A D | roll_boringssl.py | 110 new_head = RevParse(BORINGSSL_SRC_PATH, sys.argv[1]) 113 new_head = RevParse(BORINGSSL_SRC_PATH, 'origin/master') 116 if old_head == new_head: 120 print 'Rolling BoringSSL from %s to %s...' % (old_head, new_head) 126 log = Log(BORINGSSL_SRC_PATH, '%s..%s' % (old_head, new_head)) 145 UpdateDEPS(DEPS_PATH, old_head, new_head) 148 subprocess.check_call(['git', 'checkout', new_head], cwd=BORINGSSL_SRC_PATH) 179 """ % (old_head[:9], new_head[:9], old_head, new_head) 200 '%s..%s' % (old_head, new_head)], cwd=BORINGSSL_SRC_PATH).strip()
|
/dports/dns/yadifa/yadifa-2.5.3-10333/lib/dnsdb/src/ |
H A D | zdb-packed-ttlrdata.c | 166 zdb_packed_ttlrdata *new_head = zdb_packed_ttlrdata_clone(record); in zdb_packed_ttlrdata_insert_clone() local 167 new_head->next = *list_head; in zdb_packed_ttlrdata_insert_clone() 168 *list_head = new_head; in zdb_packed_ttlrdata_insert_clone() 171 void zdb_packed_ttlrdata_insert(zdb_packed_ttlrdata **list_head, zdb_packed_ttlrdata *new_head) in zdb_packed_ttlrdata_insert() argument 173 assert(new_head->next == NULL); in zdb_packed_ttlrdata_insert() 174 new_head->next = *list_head; in zdb_packed_ttlrdata_insert() 175 *list_head = new_head; in zdb_packed_ttlrdata_insert()
|
/dports/databases/py-pglast/pglast-1.2/libpg_query/src/postgres/ |
H A D | src_backend_nodes_list.c | 85 ListCell *new_head; in new_list() local 87 new_head = (ListCell *) palloc(sizeof(*new_head)); in new_list() 88 new_head->next = NULL; in new_list() 94 new_list->head = new_head; in new_list() 95 new_list->tail = new_head; in new_list() 110 ListCell *new_head; in new_head_cell() local 112 new_head = (ListCell *) palloc(sizeof(*new_head)); in new_head_cell() 113 new_head->next = list->head; in new_head_cell() 115 list->head = new_head; in new_head_cell()
|
/dports/devel/libgit2/libgit2-1.3.0/tests/refs/ |
H A D | create.c | 146 const char *new_head = "refs/heads/new-head"; in test_refs_create__oid() local 151 cl_git_pass(git_reference_create(&new_reference, g_repo, new_head, &id, 0, NULL)); in test_refs_create__oid() 154 cl_git_pass(git_reference_lookup(&looked_up_ref, g_repo, new_head)); in test_refs_create__oid() 157 cl_assert_equal_s(looked_up_ref->name, new_head); in test_refs_create__oid() 166 cl_git_pass(git_reference_lookup(&looked_up_ref, repo2, new_head)); in test_refs_create__oid() 181 const char *new_head = "refs/heads/new-head"; in test_refs_create__oid_unknown_succeeds_without_strict() local 188 cl_git_pass(git_reference_create(&new_reference, g_repo, new_head, &id, 0, NULL)); in test_refs_create__oid_unknown_succeeds_without_strict() 192 cl_git_pass(git_reference_lookup(&looked_up_ref, g_repo, new_head)); in test_refs_create__oid_unknown_succeeds_without_strict() 202 const char *new_head = "refs/heads/new-head"; in test_refs_create__oid_unknown_fails_by_default() local 207 cl_git_fail(git_reference_create(&new_reference, g_repo, new_head, &id, 0, NULL)); in test_refs_create__oid_unknown_fails_by_default() [all …]
|
/dports/databases/libpg_query/libpg_query-10-1.0.4/src/postgres/ |
H A D | src_backend_nodes_list.c | 85 ListCell *new_head; in new_list() local 87 new_head = (ListCell *) palloc(sizeof(*new_head)); in new_list() 88 new_head->next = NULL; in new_list() 94 new_list->head = new_head; in new_list() 95 new_list->tail = new_head; in new_list() 110 ListCell *new_head; in new_head_cell() local 112 new_head = (ListCell *) palloc(sizeof(*new_head)); in new_head_cell() 113 new_head->next = list->head; in new_head_cell() 115 list->head = new_head; in new_head_cell()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/support/ |
H A D | generic_arena.h | 153 ArenaPageHeader* new_head; in Alloc() local 156 new_head = free_list_; in Alloc() 159 new_head = alloc_.allocate(offset + size); in Alloc() 161 new_head->next = head_; in Alloc() 162 new_head->offset = offset + size; in Alloc() 163 head_ = new_head; in Alloc()
|
/dports/sysutils/liburcu/userspace-rcu-0.13.0/include/urcu/static/ |
H A D | wfstack.h | 143 struct cds_wfs_head *old_head, *new_head; in _cds_wfs_push() local 146 new_head = caa_container_of(node, struct cds_wfs_head, node); in _cds_wfs_push() 151 old_head = uatomic_xchg(&s->head, new_head); in _cds_wfs_push() 190 struct cds_wfs_head *head, *new_head; in ___cds_wfs_pop() local 205 new_head = caa_container_of(next, struct cds_wfs_head, node); in ___cds_wfs_pop() 206 if (uatomic_cmpxchg(&s->head, head, new_head) == head) { in ___cds_wfs_pop() 207 if (state && ___cds_wfs_end(new_head)) in ___cds_wfs_pop()
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/mapedit/tools/smooth/ |
H A D | plugin.c | 155 node *new_head = create_node(); in add_handle() local 156 if (new_head == NULL) { in add_handle() 161 new_head->next = list; in add_handle() 162 new_head->handle = a_hdl; in add_handle() 165 return new_head; in add_handle()
|
/dports/devel/caf/actor-framework-0.18.5/libcaf_core/caf/intrusive/ |
H A D | lifo_inbox.hpp | 114 pointer take_head(pointer new_head) noexcept { in take_head() argument 117 CAF_ASSERT(new_head == stack_closed_tag() || new_head == stack_empty_tag()); in take_head() 124 CAF_ASSERT(e != reader_blocked_tag() || new_head == stack_closed_tag()); in take_head() 127 while (e != new_head) { in take_head() 128 if (stack_.compare_exchange_weak(e, new_head)) { in take_head() 132 CAF_ASSERT(new_head == stack_closed_tag()); in take_head()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/lib/ |
H A D | llist.c | 81 struct llist_node *new_head = NULL; in llist_reverse_order() local 86 tmp->next = new_head; in llist_reverse_order() 87 new_head = tmp; in llist_reverse_order() 90 return new_head; in llist_reverse_order()
|