/macosx-10.10/ruby-106/ruby/test/csv/ |
H A D | test_row.rb | 17 @row = CSV::Row.new(%w{A B C A A}, [1, 2, 3, 4]) 22 row = CSV::Row.new(%w{A B C}, [1, 2, 3]) 23 assert_not_nil(row) 24 assert_instance_of(CSV::Row, row) 25 assert_equal([["A", 1], ["B", 2], ["C", 3]], row.to_a) 28 row = CSV::Row.new(%w{A}, [1, 2, 3]) 29 assert_not_nil(row) 30 assert_instance_of(CSV::Row, row) 31 assert_equal([["A", 1], [nil, 2], [nil, 3]], row.to_a) 34 row [all...] |
H A D | test_headers.rb | 32 # first data row - skipping headers 33 row = csv[0] 34 assert_not_nil(row) 35 assert_instance_of(CSV::Row, row) 36 assert_equal([%w{first A}, %w{second B}, %w{third C}], row.to_a) 38 # second data row 39 row = csv[1] 40 assert_not_nil(row) 41 assert_instance_of(CSV::Row, row) 42 assert_equal([%w{first 1}, %w{second 2}, %w{third 3}], row [all...] |
H A D | test_data_converters.rb | 194 row = nil 196 row = CSV.parse_line( test, 200 assert_not_nil(row) 201 assert_equal(fields, row) 202 assert_respond_to(row, :unconverted_fields) 203 assert_equal(unconverted, row.unconverted_fields) 210 row = nil 212 row = CSV.parse_line( data, 217 assert_not_nil(row) 218 assert_equal([["first", 1], ["second", 2], ["third", 3]], row [all...] |
/macosx-10.10/ncurses-44/ncurses/test/ |
H A D | firework.c | 89 explode(int row, int col) argument 93 mvprintw(row, col, "-"); 98 mvprintw(row - 1, col - 1, " - "); 99 mvprintw(row + 0, col - 1, "-+-"); 100 mvprintw(row + 1, col - 1, " - "); 105 mvprintw(row - 2, col - 2, " --- "); 106 mvprintw(row - 1, col - 2, "-+++-"); 107 mvprintw(row + 0, col - 2, "-+#+-"); 108 mvprintw(row + 1, col - 2, "-+++-"); 109 mvprintw(row 145 int start, end, row, diff, flag = 0, direction; local [all...] |
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Todo/ |
H A D | SelectionNotifyMatrix.py | 9 row = self.selectedRow() 10 #print "mouseDown_", theEvent, row 11 if row != -1: 18 def selectCellAtRow_column_(self, row, col): 19 super(SelectionNotifyMatrix, self).selectCellAtRow_column_(row, col)
|
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Todo/ |
H A D | SelectionNotifyMatrix.py | 9 row = self.selectedRow() 10 #print "mouseDown_", theEvent, row 11 if row != -1: 18 def selectCellAtRow_column_(self, row, col): 19 super(SelectionNotifyMatrix, self).selectCellAtRow_column_(row, col)
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/Todo/ |
H A D | SelectionNotifyMatrix.py | 9 row = self.selectedRow() 10 #print "mouseDown_", theEvent, row 11 if row != -1: 18 def selectCellAtRow_column_(self, row, col): 19 super(SelectionNotifyMatrix, self).selectCellAtRow_column_(row, col)
|
/macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/demos/ |
H A D | demo.cpp | 8 // - Adding a third data row using Metakit's operator shorthands. 42 c4_Row row; local 44 pName (row) = "John Williams"; 45 pCountry (row) = "UK"; 46 vAddress.Add(row); 48 pName (row) = "Paco Pena"; 49 pCountry (row) = "Spain"; 50 vAddress.Add(row); 60 // A very compact notation to create and add a third row. 83 // Insert a row int [all...] |
/macosx-10.10/libxml2-26/libxml2/doc/ |
H A D | queries.py | 31 row = c.fetchone() 32 total = int(row[0]) 34 row = c.fetchone() 35 uniq = int(row[0]) 42 row = c.fetchone() 43 f.write(" <query count='%d'>%s</query>\n" % (int(row[2]), row[1])) 65 row = c.fetchone() 66 id = row[0] 67 cnt = int(row[ [all...] |
/macosx-10.10/ruby-106/ruby/test/ruby/ |
H A D | allpairs.rb | 22 row = [i] 24 row << (i*m + j) % prime 26 yield row 33 tbl2.each {|row| 34 result << row * tbl1.first.length 36 tbl1.each_with_index {|row, k| 38 result << row.map {|i| [i] * tbl2.first.length }.flatten 45 make_basic_block(v) {|row| 46 yield row 50 make_basic_block(v) {|row| [all...] |
/macosx-10.10/WebCore-7600.1.25/html/ |
H A D | HTMLTableRowsCollection.cpp | 41 static inline void assertRowIsInTable(HTMLTableElement* table, HTMLTableRowElement* row) argument 45 UNUSED_PARAM(row); 47 if (!row) 49 if (row->parentNode() == table) 51 ASSERT(row->parentNode()); 52 ASSERT(row->parentNode()->hasTagName(theadTag) || row->parentNode()->hasTagName(tbodyTag) || row->parentNode()->hasTagName(tfootTag)); 53 ASSERT(row->parentNode()->parentNode() == table); 57 static inline bool isInSection(HTMLTableRowElement& row, cons argument 73 auto row = childRows.beginAt(*previous); local [all...] |
H A D | HTMLTableRowElement.cpp | 66 // To match Firefox, the row indices work like this: 69 // Rows from other <thead> and <tfoot> elements don't get row indices at all. 74 for (Node *row = head->firstChild(); row; row = row->nextSibling()) { 75 if (row == this) 77 if (row->hasTagName(trTag)) 85 for (Node* row = section->firstChild(); row; ro [all...] |
/macosx-10.10/tcl-105/tcl_ext/tktable/tktable/demos/ |
H A D | dynarows.tcl | 9 ## dynamic row routine. 16 if {[scan $idx %d,%d row col] != 2} return 19 ## Entries in the last row are allowed to be empty 21 if {$row == ${nrows}-1 && [string match {} $val]} { return } 35 if {$row == ${nrows}-1} { 36 ## if this is the last row and both cols 1 && 2 are not empty 37 ## then add a row and redo configs 38 if {[string comp [$w get $row,1] {}] && \ 39 [string comp [$w get $row,2] {}]} { 40 $w tag row {} [all...] |
/macosx-10.10/ncurses-44/ncurses/ncurses/base/ |
H A D | wresize.c | 55 int row; local 74 for (row = 0; row <= tst->_maxy; ++row) { 75 tst->_line[row].text = &pline[tst->_pary + row].text[tst->_parx]; 91 int col, row, size_x, size_y; local 148 for (row = 0; row <= ToLines; ++row) { [all...] |
/macosx-10.10/CPANInternal-159.1/Log-Log4perl-1.40/t/ |
H A D | 035JDBCAppender.t | 122 my $row = $sth->fetchrow_arrayref; 123 is($row->[0], 'FATAL'); 124 is($row->[1], 'fatal message'); 125 is($row->[3], '1234'); 126 is($row->[4], 'groceries.beer'); 127 is($row->[5], 'main'); 128 is($row->[6], 'foo'); 129 is($row->[7], 'bar'); 131 $row = $sth->fetchrow_arrayref; 132 is($row [all...] |
/macosx-10.10/WebCore-7600.1.25/css/ |
H A D | CSSGridTemplateAreasValue.cpp | 52 static String stringForPosition(const NamedGridAreaMap& gridAreaMap, size_t row, size_t column) argument 58 if (row >= coordinate.rows.resolvedInitialPosition.toInt() && row <= coordinate.rows.resolvedFinalPosition.toInt()) 74 for (size_t row = 0; row < m_rowCount; ++row) { 77 builder.append(stringForPosition(m_gridAreaMap, row, column)); 82 if (row != m_rowCount - 1)
|
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | EventListenerSectionGroup.css | 26 .event-listener-section > .content > .group > .row.simple > .value {
|
H A D | NetworkTimelineOverviewGraph.css | 30 .timeline-overview-graph.network > .graph-row { 34 .timeline-overview-graph.network > .graph-row > .timeline-record-bar { 39 .timeline-overview-graph.network > .graph-row > .timeline-record-bar > .segment:not(.inactive) { 43 .timeline-overview-graph.network:nth-child(even) > .graph-row > .timeline-record-bar > .segment:not(.inactive) {
|
/macosx-10.10/ncurses-44/ncurses/menu/ |
H A D | m_item_top.c | 44 | Function : int set_top_row(MENU *menu, int row) 46 | Description : Makes the specified row the top row in the menu 49 | E_BAD_ARGUMENT - not a menu pointer or invalid row 53 set_top_row(MENU * menu, int row) argument 57 T((T_CALLED("set_top_row(%p,%d)"), menu, row)); 66 if ((row < 0) || (row > (menu->rows - menu->arows))) 72 if (row != menu->toprow) 77 item = menu->items[(menu->opt & O_ROWMAJOR) ? (row * men [all...] |
/macosx-10.10/ruby-106/ruby/ext/tk/sample/tkextlib/tktable/ |
H A D | dynarows.rb | 7 ## dynamic row routine. 16 row = Integer($1) 22 return if row == nrows - 1 && val == '' 32 if row == nrows - 1 33 if w.get([row,1]) != '' && w.get([row,2]) != '' 34 w.tag_row_reset(row) 35 w.set([row,0], row) 37 row [all...] |
/macosx-10.10/ruby-106/ruby/ext/tk/sample/tcltklib/ |
H A D | sample2.rb | 80 def get_disk(row, col) 81 return @data[row][col] 84 def reverse_to(row, col, my_disk, dir_y, dir_x) 85 y = row 101 end until y == row && x == col 104 def put_disk(row, col, disk) 105 @data[row][col] = disk 107 notify_observers(row, col) 109 reverse_to(row, col, disk, *dir) 125 def count_point_to(row, co [all...] |
/macosx-10.10/ICU-531.30/icuSources/common/ |
H A D | propsvec.c | 33 int32_t prevRow; /* search optimization: remember last row seen */ 44 uint32_t *v, *row; local 70 /* set the all-Unicode row and the special-value rows */ 71 row=pv->v; 72 uprv_memset(row, 0, pv->rows*columns*4); 73 row[0]=0; 74 row[1]=0x110000; 75 row+=columns; 77 row[0]=cp; 78 row[ 94 uint32_t *row; local 279 uint32_t *row; local 293 uint32_t *row; local 335 uint32_t *row; local 496 upvec_compactToUTrie2Handler(void *context, UChar32 start, UChar32 end, int32_t rowIndex, uint32_t *row, int32_t columns, UErrorCode *pErrorCode) argument [all...] |
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-sql/ |
H A D | sql-wrap.c | 127 backsql_BindRowAsStrings_x( SQLHSTMT sth, BACKSQL_ROW_NTS *row, void *ctx ) argument 131 if ( row == NULL ) { 139 rc = SQLNumResultCols( sth, &row->ncols ); 156 "ncols=%d\n", (int)row->ncols, 0, 0 ); 159 row->col_names = (BerVarray)ber_memcalloc_x( row->ncols + 1, 161 if ( row->col_names == NULL ) { 165 row->col_prec = (UDWORD *)ber_memcalloc_x( row->ncols, 167 if ( row 286 backsql_FreeRow_x( BACKSQL_ROW_NTS *row, void *ctx ) argument [all...] |
/macosx-10.10/ncurses-44/ncurses/ncurses/widechar/ |
H A D | lib_in_wch.c | 47 int row, col; local 53 getyx(win, row, col); 55 *wcval = win->_line[row].text[col];
|
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/Bookmarks/ |
H A D | DNDArrayController.py | 37 # If there is just one row, then try to create an NSURL from the url 38 # value in that row. If that's possible, add NSURLPboardType to the 46 row = rows[0] 47 urlString = self.arrangedObjects()[row].valueForKey_(u'url') 70 def tableView_validateDrop_proposedRow_proposedDropOperation_(self, tv, info, row, op): 76 # the current row (contrast NSTableViewDropOn) 77 tv.setDropRow_dropOperation_(row, NSTableViewDropAbove) 80 def tableView_acceptDrop_row_dropOperation_(self, tv, info, row, op): 81 if row < 0: 82 row [all...] |