/macosx-10.9.5/ruby-104/ruby/sample/ |
H A D | list2.rb | 13 list1 = [10, 20, Point.new(2, 3), Point.new(4, 5)] 14 list2 = [20, Point.new(4, 5), list1] 15 print("list1:\n", list1.join("\n"), "\n")
|
H A D | list3.rb | 15 list1 = [10, 20, Point.new(2, 3), Point.new(4, 5)] 16 list2 = [20, Point.new(4, 5), list1] 17 print("list1: ", list1.inspect, "\n")
|
H A D | list.rb | 69 $list1 = MyList.new 70 $list1.add_to_list(10) 71 $list1.add_to_list(20) 72 $list1.add_to_list(Point.new(2, 3)) 73 $list1.add_to_list(Point.new(4, 5)) 77 $list2.add_to_list($list1) 80 print "list1:\n", $list1, "\n"
|
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/library/ |
H A D | setfuncs.tcl | 56 proc intersect3 {list1 list2} { 60 foreach v $list1 { 66 foreach elem [concat $list1 $list2] { 81 proc intersect {list1 list2} { 84 set list1 [lsort $list1] 88 if {[lempty $list1] || [lempty $list2]} break 90 set compareResult [string compare [lindex $list1 0] [lindex $list2 0]] 93 lvarpop list1 102 lappend intersectList [lvarpop list1] [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/incrTcl/itcl/tests/old/ |
H A D | testlib.tcl | 90 # USAGE: test_cmp_vectors <list1> <list2> 96 proc test_cmp_vectors {list1 list2} { 97 if {[llength $list1] != [llength $list2]} { 100 for {set i 0} {$i < [llength $list1]} {incr i} { 101 set n1 [lindex $list1 $i] 112 # USAGE: test_cmp_lists <list1> <list2> 118 proc test_cmp_lists {list1 list2} { 119 if {[llength $list1] != [llength $list2]} { 122 foreach elem $list1 {
|
/macosx-10.9.5/emacs-92/emacs/lisp/gnus/ |
H A D | gnus-range.el | 56 (defun gnus-set-difference (list1 list2) 58 (let ((list1 (copy-sequence list1))) 60 (setq list1 (delq (car list2) list1)) 62 list1)) 107 (defun gnus-sorted-difference (list1 list2) 112 (while (and list1 list2) 113 (cond ((= (car list1) (car list2)) 114 (setq list1 (cd [all...] |
/macosx-10.9.5/dtrace-118.1/tools/ctfconvert/ |
H A D | list.c | 173 list_concat(list_t **list1, list_t *list2) argument 177 for (l = *list1, last = NULL; l; last = l, l = l->l_next) 181 *list1 = list2; 192 list_t *list1, *next2; local 200 list1 = *list1p; 202 if (cmp(list1->l_data, list2->l_data) > 0) { 208 list2->l_next = list1; 210 list2->l_next = list1; 218 last1 = list1; 219 list1 [all...] |
/macosx-10.9.5/Libc-997.90.3/stdlib/FreeBSD/ |
H A D | merge.c | 108 u_char *list2, *list1, *p2, *p, *last, **p1; local 129 list1 = base; 130 setup(list1, list2, nmemb, size, cmp); 134 l2 = list1; 135 p1 = EVAL(list1); 139 f2 = l1 = list1 + (p2 - list2); 142 l2 = list1 + (p2 - list2); 223 tp2 = list1; /* swap list1, list2 */ 224 list1 [all...] |
H A D | merge_b.c | 108 u_char *list2, *list1, *p2, *p, *last, **p1; local 129 list1 = base; 130 setup(list1, list2, nmemb, size, cmp); 134 l2 = list1; 135 p1 = EVAL(list1); 139 f2 = l1 = list1 + (p2 - list2); 142 l2 = list1 + (p2 - list2); 223 tp2 = list1; /* swap list1, list2 */ 224 list1 [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/include/lwres/ |
H A D | list.h | 105 #define LWRES_LIST_APPENDLIST(list1, list2, link) \ 107 if (LWRES_LIST_EMPTY(list1)) \ 108 (list1) = (list2); \ 110 (list1).tail->link.next = (list2).head; \ 111 (list2).head->link.prev = (list1).tail; \ 112 (list1).tail = (list2).tail; \
|
/macosx-10.9.5/ruby-104/ruby/tool/ |
H A D | vcs.rb | 56 list1 = srcdir.split(%r{/}) 58 while !list1.empty? && !list2.empty? && list1.first == list2.first 59 list1.shift 62 if list1.empty? && list2.empty? 65 ([".."] * list1.length + list2).join("/")
|
/macosx-10.9.5/tcl-102/tcl_ext/tklib/tklib/modules/swaplist/ |
H A D | swaplist.tcl | 29 proc ::swaplist::swaplist {w var list1 list2 args} { 41 return [eval [list ::swaplist::createSwaplist $w $var $list1 $list2] [array get options]] 53 eval [list ::swaplist::createSwaplist $w ::swaplist::selectedList $list1 $list2] [array get options] 97 proc ::swaplist::createSwaplist {w var list1 list2 args} { 112 set olist $list1 114 # remove items in list2 from list1 116 if {[set i [lsearch $list1 $x]] >= 0} { 117 set list1 [lreplace $list1 $i $i] 124 foreach x {list1 list [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/include/isc/ |
H A D | list.h | 159 #define ISC_LIST_APPENDLIST(list1, list2, link) \ 161 if (ISC_LIST_EMPTY(list1)) \ 162 (list1) = (list2); \ 164 (list1).tail->link.next = (list2).head; \ 165 (list2).head->link.prev = (list1).tail; \ 166 (list1).tail = (list2).tail; \
|
H A D | util.h | 205 #define APPENDLIST(list1, list2, link) ISC_LIST_APPENDLIST(list1, list2, link)
|
/macosx-10.9.5/bootp-268.1/bootplib/ |
H A D | ptrlist.c | 225 ptrlist_t list1, list2, list3; local 227 ptrlist_init_size(&list1, 1); 232 ptrlist_add(&list1, (void *)i); 234 printf("list1:\n"); 235 ptrlist_print(&list1); 243 ptrlist_dup(&list1, &list3); 279 ptrlist_free(&list1);
|
/macosx-10.9.5/emacs-92/emacs/src/ |
H A D | atimer.c | 203 append_atimer_lists (list1, list2) 204 struct atimer *list1, *list2; 206 if (list1 == NULL) 209 return list1; 214 for (p = list1; p->next; p = p->next) 217 return list1;
|
/macosx-10.9.5/ntp-88/lib/isc/include/isc/ |
H A D | list.h | 159 #define ISC_LIST_APPENDLIST(list1, list2, link) \ 161 if (ISC_LIST_EMPTY(list1)) \ 162 (list1) = (list2); \ 164 (list1).tail->link.next = (list2).head; \ 165 (list2).head->link.prev = (list1).tail; \ 166 (list1).tail = (list2).tail; \
|
/macosx-10.9.5/swig-10/Lib/chicken/ |
H A D | multi-generic.scm | 66 (let check-applicable ([list1 (method-specializers method)] 68 (cond ((null? list1) #t) 71 (and (applicable? (##sys#slot list1 0) (##sys#slot list2 0)) 72 (check-applicable (##sys#slot list1 1) (##sys#slot list2 1)))))))
|
/macosx-10.9.5/CF-855.17/ |
H A D | CFBinaryHeap.c | 121 const void **list1, **list2, *buffer[256]; local 127 list1 = (cnt <= 128) ? (const void **)buffer : (const void **)CFAllocatorAllocate(kCFAllocatorSystemDefault, 2 * cnt * sizeof(void *), 0); // GC OK 128 if (__CFOASafe && list1 != buffer) __CFSetLastAllocationEventName(list1, "CFBinaryHeap (temp)"); 129 list2 = (cnt <= 128) ? buffer + 128 : list1 + cnt; 130 CFBinaryHeapGetValues(heap1, list1); 133 const void *val1 = list1[idx]; 142 if (list1 != buffer) CFAllocatorDeallocate(CFGetAllocator(heap1), list1); // GC OK local
|
/macosx-10.9.5/tcl-102/tcl/tcl/tools/ |
H A D | checkLibraryDoc.tcl | 135 proc compare {list1 list2} { 136 set inter [intersect3 $list1 $list2]
|
/macosx-10.9.5/tcl-102/tcl84/tcl/tools/ |
H A D | checkLibraryDoc.tcl | 135 proc compare {list1 list2} { 136 set inter [intersect3 $list1 $list2]
|
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/ |
H A D | at.c | 150 AttributeType **list1; local 162 list1 = *listp; 163 while ( *list1 ) { 165 list1++; 168 list1 = ch_realloc(list, size*sizeof(AttributeType *)); 169 if ( !list1 ) { 172 list = list1; 186 AttributeType **list1; local 204 list1 = ch_realloc(list, (i+1)*sizeof(AttributeType **)); 205 if ( !list1 ) { [all...] |
/macosx-10.9.5/ruby-104/ruby/test/cgi/ |
H A D | test_cgi_core.rb | 299 list1 = %w[ AUTH_TYPE CONTENT_TYPE GATEWAY_INTERFACE PATH_INFO 309 list1.each do |name| 313 list1.each do |name|
|
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/ |
H A D | test_config.c | 87 char *list1[] = { "/tmp/foo", "/tmp/foo/bar", NULL }; variable 111 test[1].res = list1;
|
/macosx-10.9.5/libarchive-29/libarchive/tar/test/ |
H A D | test_windows.c | 115 static const char *list1[] = {"aaa/", "aaa/file1", "aaa/xxa/", "aaa/xxb/", variable 181 systemf("%s -tf ../archive1.tar > ../list1", testprog)); 182 assertFileContainsLinesAnyOrder("../list1", list1);
|