Home
last modified time | relevance | path

Searched refs:list (Results 226 – 250 of 110264) sorted by relevance

12345678910>>...4411

/dports/sysutils/cfengine316/cfengine-3.16.0/tests/unit/
H A Drlist_test.c21 Rlist *list = NULL; in test_length() local
31 RlistDestroy(list); in test_length()
36 Rlist *list = NULL; in test_prepend_scalar_idempotent() local
44 RlistDestroy(list); in test_prepend_scalar_idempotent()
59 RlistDestroy(list); in test_copy()
120 Rlist *list = NULL; in test_filter() local
142 RlistDestroy(list); in test_filter()
147 Rlist *list = NULL; in test_filter_everything() local
173 RlistDestroy(list); in test_reverse()
183 RlistDestroy(list); in test_split_escaped()
[all …]
/dports/sysutils/cfengine/cfengine-3.19.0/tests/unit/
H A Drlist_test.c21 Rlist *list = NULL; in test_length() local
31 RlistDestroy(list); in test_length()
36 Rlist *list = NULL; in test_prepend_scalar_idempotent() local
44 RlistDestroy(list); in test_prepend_scalar_idempotent()
59 RlistDestroy(list); in test_copy()
120 Rlist *list = NULL; in test_filter() local
142 RlistDestroy(list); in test_filter()
147 Rlist *list = NULL; in test_filter_everything() local
173 RlistDestroy(list); in test_reverse()
183 RlistDestroy(list); in test_split_escaped()
[all …]
/dports/sysutils/cfengine-devel/core-d08ae9eff/tests/unit/
H A Drlist_test.c21 Rlist *list = NULL; in test_length() local
31 RlistDestroy(list); in test_length()
36 Rlist *list = NULL; in test_prepend_scalar_idempotent() local
44 RlistDestroy(list); in test_prepend_scalar_idempotent()
59 RlistDestroy(list); in test_copy()
120 Rlist *list = NULL; in test_filter() local
142 RlistDestroy(list); in test_filter()
147 Rlist *list = NULL; in test_filter_everything() local
173 RlistDestroy(list); in test_reverse()
183 RlistDestroy(list); in test_split_escaped()
[all …]
/dports/sysutils/cfengine318/cfengine-3.18.1/tests/unit/
H A Drlist_test.c21 Rlist *list = NULL; in test_length() local
31 RlistDestroy(list); in test_length()
36 Rlist *list = NULL; in test_prepend_scalar_idempotent() local
44 RlistDestroy(list); in test_prepend_scalar_idempotent()
59 RlistDestroy(list); in test_copy()
120 Rlist *list = NULL; in test_filter() local
142 RlistDestroy(list); in test_filter()
147 Rlist *list = NULL; in test_filter_everything() local
173 RlistDestroy(list); in test_reverse()
183 RlistDestroy(list); in test_split_escaped()
[all …]
/dports/sysutils/cfengine319/cfengine-3.19.0/tests/unit/
H A Drlist_test.c21 Rlist *list = NULL; in test_length() local
31 RlistDestroy(list); in test_length()
36 Rlist *list = NULL; in test_prepend_scalar_idempotent() local
44 RlistDestroy(list); in test_prepend_scalar_idempotent()
59 RlistDestroy(list); in test_copy()
120 Rlist *list = NULL; in test_filter() local
142 RlistDestroy(list); in test_filter()
147 Rlist *list = NULL; in test_filter_everything() local
173 RlistDestroy(list); in test_reverse()
183 RlistDestroy(list); in test_split_escaped()
[all …]
/dports/games/fargoal/fargoal/src/
H A Dplayer.c37 if(list[id].hit>list[id].maxhit) in player_health_add()
38 list[id].hit=list[id].maxhit; in player_health_add()
58 if (list[id].hit < list[id].maxhit && list[id].healing_time > rate) in healing()
73 if (list[id].potions && list[id].hit < list[id].maxhit) in drink_potion()
133 list[e].maxhit = list[e].hit; in cancel_fighting()
156 list[id].exp += (list[e].dex + list[e].maxhit)*list[id].current_level; in player_won()
160 list[id].dex+=rnd(((float)list[e].dex/list[id].dex), in player_won()
187 list[id].gold += list[e].gold; in player_won()
215 list[id].exp += list[e].exp; in player_won()
269 list[id].exp -= list[e].exp; in player_fight()
[all …]
/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/srfi/101/
H A Dtest.sld8 null? list? list make-list length
34 (list (list 'a) 'b 'c 'd))
80 (test 3 (length (list 'a (list 'b) (list 'c))))
84 (test (list 'x 'y) (append (list 'x) (list 'y)))
85 (test (list 'a 'b 'c 'd) (append (list 'a) (list 'b 'c 'd)))
86 (test (list 'a (list 'b) (list 'c))
87 (append (list 'a (list 'b)) (list (list 'c))))
95 (test (list (list 'e (list 'f)) 'd (list 'b 'c) 'a)
96 (reverse (list 'a (list 'b 'c) 'd (list 'e (list 'f)))))
117 (map cadr (list (list 'a 'b) (list 'd 'e) (list 'g 'h))))
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/hana/test/_include/laws/
H A Dmonad_plus.hpp140 concat(list(), list()),
144 concat(list(), list(eq<0>{})),
153 concat(list(eq<0>{}), list()),
157 concat(list(eq<0>{}), list(eq<1>{})),
180 concat(list(), list()),
184 concat(list(1), list()),
188 concat(list(), list(1)),
192 concat(list(1), list('2')),
196 concat(list(1, '2'), list(3.3)),
312 append(list(), 1), list(1)
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/hana/test/_include/laws/
H A Dmonad_plus.hpp140 concat(list(), list()),
144 concat(list(), list(eq<0>{})),
153 concat(list(eq<0>{}), list()),
157 concat(list(eq<0>{}), list(eq<1>{})),
180 concat(list(), list()),
184 concat(list(1), list()),
188 concat(list(), list(1)),
192 concat(list(1), list('2')),
196 concat(list(1, '2'), list(3.3)),
312 append(list(), 1), list(1)
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/hana/test/_include/laws/
H A Dmonad_plus.hpp140 concat(list(), list()),
144 concat(list(), list(eq<0>{})),
153 concat(list(eq<0>{}), list()),
157 concat(list(eq<0>{}), list(eq<1>{})),
180 concat(list(), list()),
184 concat(list(1), list()),
188 concat(list(), list(1)),
192 concat(list(1), list('2')),
196 concat(list(1, '2'), list(3.3)),
312 append(list(), 1), list(1)
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/hana/test/_include/laws/
H A Dmonad_plus.hpp140 concat(list(), list()),
144 concat(list(), list(eq<0>{})),
153 concat(list(eq<0>{}), list()),
157 concat(list(eq<0>{}), list(eq<1>{})),
180 concat(list(), list()),
184 concat(list(1), list()),
188 concat(list(), list(1)),
192 concat(list(1), list('2')),
196 concat(list(1, '2'), list(3.3)),
312 append(list(), 1), list(1)
[all …]
/dports/graphics/gimageview/gimageview-0.2.27/src/
H A Dgimv_zlist.c45 (GIMV_SCROLLED_VX (list, (x) - (list)->x_pad - bw (list)) / (list)->cell_width)
47 (GIMV_SCROLLED_VY (list, (y) - (list)->y_pad - bw (list)) / (list)->cell_height)
50 (GIMV_SCROLLED_X (list, (col) * (list)->cell_width + (list)->x_pad))
52 (GIMV_SCROLLED_Y (list, (row) * (list)->cell_height + (list)->y_pad))
595 list->columns = list->cell_count % list->rows ? in gimv_zlist_update()
597 list->cell_count / list->rows; in gimv_zlist_update()
620 list->rows = list->cell_count % list->columns ? in gimv_zlist_update()
1188 list->anchor = list->focus; in gimv_zlist_button_release()
1610 if (list->cell_count && list->cell_count % list->rows == 0) { in gimv_zlist_insert()
1615 if (list->cell_count && list->cell_count % list->columns == 0) { in gimv_zlist_insert()
[all …]
/dports/devel/gnulib/gnulib-20140202-stable/lib/
H A Dgl_carray_list.c78 return list; in gl_carray_nx_create_empty()
303 if (list->offset > 0 && list->count > 0) in grow()
309 if (list->offset + list->count > list->allocated) in grow()
313 memcpy (memory + (list->allocated - list->offset), list->elements, in grow()
314 (list->offset + list->count - list->allocated) in grow()
345 list->offset = (list->offset == 0 ? list->allocated : list->offset) - 1; in gl_carray_nx_add_first()
346 list->elements[list->offset] = elt; in gl_carray_nx_add_first()
386 list->offset = (list->offset == 0 ? list->allocated : list->offset) - 1; in gl_carray_nx_add_at()
623 result.list = list; in gl_carray_iterator()
644 result.list = list; in gl_carray_iterator_from_to()
[all …]
H A Dgl_sublist.c75 return list->end - list->start; in gl_sublist_size()
82 if (!(index < list->end - list->start)) in gl_sublist_node_value()
92 if (!(index < list->end - list->start)) in gl_sublist_node_nx_set_value()
104 size_t count = list->end - list->start; in gl_sublist_next_node()
119 if (!(index < list->end - list->start)) in gl_sublist_previous_node()
131 if (!(position < list->end - list->start)) in gl_sublist_get_at()
140 if (!(position < list->end - list->start)) in gl_sublist_nx_set_at()
210 if (!(position < list->end - list->start)) in gl_sublist_nx_add_before()
249 if (!(index < list->end - list->start)) in gl_sublist_remove_node()
268 gl_list_indexof_from_to (list->whole, list->start, list->end, elt); in gl_sublist_remove()
[all …]
/dports/cad/geda/geda-gaf-1.8.2/gschem/scheme/
H A Ddefault-attrib-positions.scm81 (list
82 (list
85 (list
88 (list
91 (list
94 (list
97 (list
100 (list
103 (list
109 (list
[all …]
/dports/audio/re/re-0.5.8/src/list/
H A Dlist.c21 void list_init(struct list *list) in list_init() argument
36 void list_flush(struct list *list) in list_flush() argument
63 void list_clear(struct list *list) in list_clear() argument
102 le->list = list; in list_append()
134 le->list = list; in list_prepend()
173 ile->list = list; in list_insert_before()
206 ile->list = list; in list_insert_after()
220 struct list *list; in list_unlink() local
225 list = le->list; in list_unlink()
325 return list ? list->head : NULL; in list_head()
[all …]
/dports/lang/swi-pl/swipl-8.2.3/src/Tests/xsb/ai_tests/
H A Dgabriel_old3 concat([list],[A],[A,list])
7 get_pats([num],[A,list],[list])
11 get_pats([num],[list],[list])
12 get_pats([num],[list],[list],[A,list])
14 get_pats([num],[list],[list],[list])
25 investigate([list],[list])
29 main([A,list],[B,list])
31 main([A,list],[list])
35 main([list],[A,list])
37 main([list],[list])
[all …]
/dports/devel/R-cran-rlang/rlang/tests/testthat/
H A Dtest-vec-squash.R5 …squash_dbl(list(a = 1e0, list(c(b = 2e1, c = 3e1), d = 4e1, list(5e2, list(e = 6e3, c(f = 7e3)))),…
23 x <- list(1, list(foo, list(foo, 100)))
42 x <- list(1, list(2, list(3, list(4))))
43 expect_identical(flatten(x), list(1, 2, list(3, list(4))))
89 flatten(list(a = list(TRUE), b = list(FALSE))) ,
96 x <- list(list(TRUE), list(FALSE))
102 x <- list(list("foo"), list("bar"))
110 x <- list(list(list(TRUE)), list(list(FALSE)))
116 x <- list(list(list("foo")), list(list("bar")))
119 x <- list(list(bytes(0L)), list(bytes(1L)))
[all …]
/dports/net-p2p/uhub/uhub-a8ee6e7/src/util/
H A Dlist.c28 return list; in list_create()
34 if (list) in list_destroy()
85 list->size++; in list_append()
167 list->size--; in list_remove_first()
199 list->iterator = list->first; in list_get_first()
208 list->iterator = list->first; in list_get_first_node()
217 list->iterator = list->last; in list_get_last()
226 list->iterator = list->last; in list_get_last_node()
237 list->iterator = list->first; in list_get_next()
239 list->iterator = list->iterator->next; in list_get_next()
[all …]
/dports/lang/fth/fth-1.4.1/tests/
H A Dlist-test.fs65 0 make-list '() list<> "0 make-list" test-expr
66 3 make-list '( nil nil nil ) list<> "3 make-list" test-expr
78 0 1 2 3 >list '( 0 1 2 ) list<> "0 1 2 3 >list" test-expr
136 l1 l2 list= "list-copy list=?" test-expr
185 l1 pi list-fill '( pi pi pi ) list<> "list-fill" test-expr
193 '( 0 1 2 3 ) 0 list-head nil list<> "0 list-head" test-expr
194 '( 0 1 2 3 ) 2 list-head '( 0 1 ) list<> "2 list-head" test-expr
200 '( 0 1 2 3 ) 2 list-tail '( 2 3 ) list<> "2 list-tail" test-expr
201 '( 0 1 2 3 ) 3 list-tail '( 3 ) list<> "3 list-tail" test-expr
202 '( 0 1 2 3 ) 4 list-tail nil list<> "4 list-tail" test-expr
[all …]
/dports/java/apache-commons-collections/commons-collections-3.2.2-src/src/test/org/apache/commons/collections/list/
H A DTestAbstractLinkedList.java90 list.addNodeAfter(list.getNode(0,false),"value2"); in testAddNodeAfter()
93 list.removeFirst(); in testAddNodeAfter()
95 list.addNodeAfter(list.getNode(0,false),"value3"); in testAddNodeAfter()
99 list.addNodeAfter(list.getNode(0, false),"value4"); in testAddNodeAfter()
104 list.addNodeAfter(list.getNode(2, false), "value5"); in testAddNodeAfter()
118 list.removeNode(list.getNode(0, false)); in testRemoveNode()
125 list.removeNode(list.getNode(1, false)); in testRemoveNode()
129 list.removeNode(list.getNode(1, false)); in testRemoveNode()
139 assertEquals(list.getNode(0, true).previous, list.getNode(0, true).next); in testGetNode()
150 list.removeNode(list.getNode(1, false)); in testGetNode()
[all …]
/dports/security/fwbuilder/fwbuilder-5.3.7/src/unit_tests/ImporterTest/test_data/
H A Dios.output26 194: access list rule: access list e1_0_acl_in, action deny
41 218: access list rule: access list outside, action permit
42 220: access list rule: access list outside, action permit
45 225: access list rule: access list outside, action deny
49 233: access list rule: access list outside, action deny
50 234: access list rule: access list outside, action deny
51 235: access list rule: access list outside, action deny
52 236: access list rule: access list outside, action deny
64 256: access list rule: access list outside, action deny
66 262: access list rule: access list tmp_acl, action deny
[all …]
/dports/emulators/mgba/mgba-0.9.2/src/util/
H A Dtable.c63 list->list = realloc(list->list, list->listSize * sizeof(struct TableTuple)); in _resizeAsNeeded()
76 list->list[item] = list->list[list->nEntries]; in _removeItemFromList()
89 …HashTableInsertBinaryMoveKey(&newTable, list->list[j].stringKey, list->list[j].keylen, list->list[… in _rebalance()
91 free(list->list); in _rebalance()
157 list->list[list->nEntries].key = key; in TableInsert()
158 list->list[list->nEntries].stringKey = 0; in TableInsert()
194 handler(list->list[j].key, list->list[j].value, user); in TableEnumerate()
248 list->list[list->nEntries].key = hash; in HashTableInsert()
274 list->list[list->nEntries].key = hash; in HashTableInsertBinary()
301 list->list[list->nEntries].key = hash; in HashTableInsertBinaryMoveKey()
[all …]
/dports/sysutils/radmind/radmind-1.15.4/
H A Dlist.c41 struct list *list; in list_new() local
47 memset( list, 0, sizeof( struct list )); in list_new()
52 list_clear( struct list *list ) in list_clear() argument
61 list_free( struct list *list ) in list_free() argument
68 list_print( struct list *list ) in list_print() argument
196 list_remove_tail( struct list *list ) in list_remove_tail() argument
206 list_pop_tail( struct list * list ) in list_pop_tail() argument
218 list->l_tail = list->l_tail->n_prev; in list_pop_tail()
226 list_remove_head( struct list *list ) in list_remove_head() argument
236 list_pop_head( struct list *list ) in list_pop_head() argument
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/data_structures/tests/unit_tests/
H A Dlistinsertion.tst32 l=list(a);l(0)=list(c,b);if l<>list(list(c,b),a) then pause,end
33 l=list(a);l(2)=list(c,b);if l<>list(a,list(c,b)) then pause,end
34 l=list(a,list(c,b));l(3)=i;if l<>list(a,list(c,b),i) then pause,end
55 l=list(a,list(c,list(a0,c0,b0),b),h);
57 l=list(a,list(c,list(a0,c0,b0),b),h);
59 l=list(a,list(c,list(a0,c0,b0),b),h);
62 l=list(a,list(c,list(a0,c0,b0),b),h);
65 l=list(a,list(c,list(a0,c0,b0),b),h);
67 l=list(a,list(c,list(a0,c0,b0),b),h);
70 l=list(a,list(c,list(a0,c0,b0),b),h);
[all …]

12345678910>>...4411