Home
last modified time | relevance | path

Searched +refs:new +refs:cols (Results 126 – 150 of 6861) sorted by relevance

12345678910>>...275

/dports/devel/p5-Test2-Harness-UI/Test2-Harness-UI-0.000097/lib/Test2/Harness/UI/
H A DRunProcessor.pm668 my $new = {%$attrs, $key_field => $id};
670 $new->{name} = $field->{name} || 'unknown';
671 $new->{details} = $field->{details} || $new->{name};
672 $new->{raw} = $field->{raw} if $field->{raw};
673 $new->{link} = $field->{link} if $field->{link};
677 push @add => $new;
769 $cols{retry} = 1;
774 $cols{retry} = 0;
786 $cols{status} = 'running';
820 if ($new->{name} eq 'coverage' && !$new->{link} && $type eq 'RunField') {
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/polys/matrices/
H A Dsdm.py126 def extract(self, rows, cols): argument
133 if not (-n <= min(cols) <= max(cols) < n):
162 return self.new(sdm2, (len(rows), len(cols)), self.domain)
386 rows, cols = shape
610 rows, cols = A.shape
611 assert rows == cols
752 rows, cols = A.shape
766 cols += Bkcols
768 return A.new(Anew, (rows, cols), A.domain)
789 rows, cols = A.shape
[all …]
/dports/lang/nwcc/nwcc_0.8.3/
H A Dsnake_driver.c28 static int cols; variable
100 food_col = rand() % (cols - 2); in put_food()
138 curcol = cols; in advance()
142 if (++curcol >= cols) { in advance()
271 opposite_direction(int old, int new) { in opposite_direction() argument
274 return new == DIR_RIGHT; in opposite_direction()
276 return new == DIR_LEFT; in opposite_direction()
278 return new == DIR_DOWN; in opposite_direction()
280 return new == DIR_UP; in opposite_direction()
338 cols = ws.ws_col; in get_rows_cols()
[all …]
/dports/math/R-cran-gtable/gtable/R/
H A Dgtable.r203 new <- x functionVar
212 new$layout <- new_data_frame(layout)
213 new$widths <- x$heights
214 new$heights <- x$widths
216 new
223 cols <- stats::setNames(seq_along(x$widths), colnames(x))[j] functionVar
226 (length(cols) > 1 && any(diff(cols) < 1))) {
231 j <- seq_along(x$widths) %in% seq_along(x$widths)[cols]
235 x$widths <- x$widths[cols]
236 x$colnames <- x$colnames[cols]
[all …]
/dports/irc/ircII/ircii-20210314/source/
H A Dlastlog.c768 new = new_malloc(sizeof *new); in add_to_lastlog()
774 copy_window_size(NULL, &new->cols); in add_to_lastlog()
775 Debug(DB_LASTLOG, "columns = %d", new->cols); in add_to_lastlog()
789 if (new) in add_to_lastlog()
876 int cols; in lastlog_line_back() local
882 copy_window_size(NULL, &cols); in lastlog_line_back()
883 Debug(DB_LASTLOG, "save cols %d, new cols %d", info->LogLine->cols, cols); in lastlog_line_back()
884 if (info->LogLine->cols != cols) { in lastlog_line_back()
887 info->LogLine->cols = cols; in lastlog_line_back()
901 LastlogInfo *new = new_malloc(sizeof *new); in lastlog_new_window() local
[all …]
/dports/math/combblas/CombBLAS_beta_16_2/include/CombBLAS/
H A DSpHelper.h83 cols.push_back(jj);
88 cols.push_back(ii);
125 char * fr = new char[MAXVERTNAME]; in ProcessStrLinesNPermute()
126 char * to = new char[MAXVERTNAME]; in ProcessStrLinesNPermute()
243 T ** array = new T*[m]; in allocate2D()
245 array[i] = new T[n]; in allocate2D()
276 NT * narray = new NT[newsize]; in ShrinkArray()
349 cols = new Isect<IT>[Adcsc.nzc]; in SpIntersect()
350 rows = new Isect<IT>[Bdcsc.nzc]; in SpIntersect()
372 isect1 = new Isect<IT>[mink]; // at most in SpIntersect()
[all …]
/dports/textproc/irstlm/irstlm-5.80.03/src/
H A Dhtable.h98 void map(std::ostream& co=std::cout, int cols=80);
113 memory=new mempool( sizeof(entry<T>) , BlockSize ); in htable()
115 table = new entry<T>* [ size=n ]; in htable()
221 void htable<T>::map(ostream& co,int cols) in map() argument
225 char* img=new char[cols+1]; in map()
227 img[cols]='\0'; in map()
228 memset(img,'.',cols); in map()
241 if (i && (i % cols)==0) { in map()
243 memset(img,'.',cols); in map()
247 img[i % cols]=n<=5?'-':'#'; in map()
[all …]
/dports/cad/py-ezdxf/ezdxf-0.16.3/examples_dxf/
H A Dcreate_hatch_pattern_examples.py11 def add_predefined_hatch_pattern(msp, cols, size, gap, scale): argument
13 x = (index % cols) * (size + gap)
14 y = (index // cols) * (size + gap)
28 doc = ezdxf.new(units=1)
30 doc.modelspace(), cols=10, size=10, gap=1, scale=4)
35 doc = ezdxf.new(units=6)
37 doc.modelspace(), cols=10, size=10, gap=1, scale=0.25)
/dports/net/p5-Net-IP-RangeCompare/Net-IP-RangeCompare-4.025/t/
H A DTestRow.t35 ($row,$cols,$next)=compare_row($data,$row,$cols);
42 ($row,$cols,$next)=compare_row($data,$row,$cols);
51 ($row,$cols,$next)=compare_row($data,$row,$cols);
60 ($row,$cols,$next)=compare_row($data,$row,$cols);
69 ($row,$cols,$next)=compare_row($data,$row,$cols);
78 ($row,$cols,$next)=compare_row($data,$row,$cols);
87 ($row,$cols,$next)=compare_row($data,$row,$cols);
96 ($row,$cols,$next)=compare_row($data,$row,$cols);
108 map { $p->new(@{$_}[0,1]) }
113 map { $p->new(@{$_}[0,1]) }
[all …]
/dports/graphics/opencv/opencv-4.5.3/modules/core/misc/objc/common/
H A DMat.mm72 _nativePtr = new cv::Mat(rows, cols, type);
80 _nativePtr = new cv::Mat(rows, cols, type, (void*)data.bytes);
89 _nativePtr = new cv::Mat(rows, cols, type, (void*)data.bytes, step);
119 _nativePtr = new cv::Mat(rows, cols, type, scalerTemp);
151 _nativePtr = new cv::Mat(*(cv::Mat*)mat.nativePtr, rows, cols);
182 _nativePtr = new cv::Mat(*(cv::Mat*)mat.nativePtr, rows, cols);
325 + (Mat*)eye:(int)rows cols:(int)cols type:(int)type {
326 return [[Mat alloc] initWithNativeMat:new cv::Mat(cv::Mat::eye(rows, cols, type))];
372 + (Mat*)ones:(int)rows cols:(int)cols type:(int)type {
373 return [[Mat alloc] initWithNativeMat:new cv::Mat(cv::Mat::ones(rows, cols, type))];
[all …]
/dports/graphics/py-ueberzug/ueberzug-18.1.8/examples/
H A Dmastodon.sh77 function Screen::new {
100 tput cols
121 Screen::new
135 Screen::new
173 cols=$(( page_width / full_width ))
175 page_media_count=$(( rows * cols ))
176 offset_x=$(( (page_width - cols * full_width) / 2 ))
183 for ((c=0; c < cols; c++)); do
201 for ((c=0; c < cols; c++)); do
214 Screen::new
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/terminal_size-0.1.16/src/
H A Dunix.rs36 let cols = winsize.ws_col; in terminal_size_using_fd() localVariable
38 if rows > 0 && cols > 0 { in terminal_size_using_fd()
39 Some((Width(cols), Height(rows))) in terminal_size_using_fd()
52 Command::new("stty") in compare_with_stty()
60 Command::new("stty") in compare_with_stty()
73 let cols = u16::from_str_radix(data.next().unwrap(), 10).unwrap(); in compare_with_stty() localVariable
75 println!("{} {}", rows, cols); in compare_with_stty()
79 assert_eq!(cols, w); in compare_with_stty()
/dports/devel/git-delta/delta-0.9.2/cargo-crates/terminal_size-0.1.15/src/
H A Dunix.rs36 let cols = winsize.ws_col; in terminal_size_using_fd() localVariable
38 if rows > 0 && cols > 0 { in terminal_size_using_fd()
39 Some((Width(cols), Height(rows))) in terminal_size_using_fd()
52 Command::new("stty") in compare_with_stty()
60 Command::new("stty") in compare_with_stty()
73 let cols = u16::from_str_radix(data.next().unwrap(), 10).unwrap(); in compare_with_stty() localVariable
75 println!("{} {}", rows, cols); in compare_with_stty()
79 assert_eq!(cols, w); in compare_with_stty()
/dports/sysutils/lsd/lsd-0.20.1/cargo-crates/terminal_size-0.1.13/src/
H A Dunix.rs36 let cols = winsize.ws_col; in terminal_size_using_fd() localVariable
38 if rows > 0 && cols > 0 { in terminal_size_using_fd()
39 Some((Width(cols), Height(rows))) in terminal_size_using_fd()
52 Command::new("stty") in compare_with_stty()
60 Command::new("stty") in compare_with_stty()
73 let cols = u16::from_str_radix(data.next().unwrap(), 10).unwrap(); in compare_with_stty() localVariable
75 println!("{} {}", rows, cols); in compare_with_stty()
79 assert_eq!(cols, w); in compare_with_stty()
/dports/sysutils/diskonaut/diskonaut-0.11.0/cargo-crates/terminal_size-0.1.12/src/
H A Dunix.rs36 let cols = winsize.ws_col; in terminal_size_using_fd() localVariable
38 if rows > 0 && cols > 0 { in terminal_size_using_fd()
39 Some((Width(cols), Height(rows))) in terminal_size_using_fd()
52 Command::new("stty") in compare_with_stty()
60 Command::new("stty") in compare_with_stty()
73 let cols = u16::from_str_radix(data.next().unwrap(), 10).unwrap(); in compare_with_stty() localVariable
75 println!("{} {}", rows, cols); in compare_with_stty()
79 assert_eq!(cols, w); in compare_with_stty()
/dports/textproc/bat/bat-0.18.3/cargo-crates/terminal_size-0.1.16/src/
H A Dunix.rs36 let cols = winsize.ws_col; in terminal_size_using_fd() localVariable
38 if rows > 0 && cols > 0 { in terminal_size_using_fd()
39 Some((Width(cols), Height(rows))) in terminal_size_using_fd()
52 Command::new("stty") in compare_with_stty()
60 Command::new("stty") in compare_with_stty()
73 let cols = u16::from_str_radix(data.next().unwrap(), 10).unwrap(); in compare_with_stty() localVariable
75 println!("{} {}", rows, cols); in compare_with_stty()
79 assert_eq!(cols, w); in compare_with_stty()
/dports/graphics/gltt/gltt-2.5.2/
H A DFTGlyphPixmap.C33 cols= 0; in FTGlyphPixmap()
64 cols= 0; in destroy()
105 cols= (width+3) & -4; in create()
106 int size= cols * height; in create()
111 bitmap= new unsigned char [ size ]; in create()
118 map.cols = cols; in create()
155 pixmap= new unsigned char [ cols * height * 4 ]; in getPixmap()
181 bline += cols; in getPixmap()
182 pline += cols * 4; in getPixmap()
197 bline += cols; in getPixmap()
[all …]
/dports/graphics/rx/rx-0.4.0/cargo-crates/rgx-0.7.1/examples/
H A Dcircles.rs18 let event_loop = EventLoop::new(); in main()
19 let window = Window::new(&event_loop).unwrap(); in main()
25 let mut r = Renderer::new(&window)?; in main()
75 let cols = (win.width as f32 / (rad * 2.)) as u32; in main() localVariable
81 let mut batch = Batch::new(); in main()
82 let cursor = Vector2::new( in main()
90 for j in 0..cols { in main()
95 let c2 = j as f32 / cols as f32; in main()
97 let rpos = Vector2::new(i as f32 / rows as f32, j as f32 / cols as f32); in main()
102 Point2::new(x + rad, y + rad), in main()
[all …]
H A Dshapes.rs18 let event_loop = EventLoop::new(); in main()
25 let mut r = Renderer::new(&window)?; in main()
79 let cols = (win.width as f32 / sw) as u32; in main() localVariable
85 let mut batch = Batch::new(); in main()
94 for j in 0..cols { in main()
98 let c2 = j as f32 / cols as f32 - dx; in main()
106 Stroke::new(1.0, Rgba::new(0.5, c2, c1, 0.75)), in main()
116 Stroke::new(3.0, Rgba::new(c1, c2, 0.5, 1.0)), in main()
124 Stroke::new( in main()
126 Rgba::new( in main()
[all …]
/dports/comms/picocom/picocom-3.1/linenoise-1.0/
H A Dlinenoise.c263 int cols, rows; in getCursorPosition() local
280 return cols; in getCursorPosition()
449 char *new = realloc(ab->b,ab->len+len); in abAppend() local
451 if (new == NULL) return; in abAppend()
452 memcpy(new+ab->len,s,len); in abAppend()
453 ab->b = new; in abAppend()
1051 char **new; in linenoiseHistorySetMaxLen() local
1057 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1058 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1067 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/java/java-subversion/subversion-1.14.1/tools/dev/svnmover/linenoise/
H A Dlinenoise.c268 int cols, rows; in getCursorPosition() local
285 return cols; in getCursorPosition()
454 char *new = realloc(ab->b,ab->len+len); in abAppend() local
456 if (new == NULL) return; in abAppend()
457 memcpy(new+ab->len,s,len); in abAppend()
458 ab->b = new; in abAppend()
1051 char **new; in linenoiseHistorySetMaxLen() local
1057 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1058 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1067 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/misc/libpostal/libpostal-1.1-alpha/src/linenoise/
H A Dlinenoise.c281 int cols, rows; in getCursorPosition() local
298 return cols; in getCursorPosition()
474 char *new = realloc(ab->b,ab->len+len); local
476 if (new == NULL) return;
477 memcpy(new+ab->len,s,len);
478 ab->b = new;
1071 char **new; local
1077 new = malloc(sizeof(char*)*len);
1078 if (new == NULL) return 0;
1087 memset(new,0,sizeof(char*)*len);
[all …]
/dports/devel/py-subversion/subversion-1.14.1/tools/dev/svnmover/linenoise/
H A Dlinenoise.c268 int cols, rows; in getCursorPosition() local
285 return cols; in getCursorPosition()
454 char *new = realloc(ab->b,ab->len+len); in abAppend() local
456 if (new == NULL) return; in abAppend()
457 memcpy(new+ab->len,s,len); in abAppend()
458 ab->b = new; in abAppend()
1051 char **new; in linenoiseHistorySetMaxLen() local
1057 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1058 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1067 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/security/subversion-gnome-keyring/subversion-1.14.1/tools/dev/svnmover/linenoise/
H A Dlinenoise.c268 int cols, rows; in getCursorPosition() local
285 return cols; in getCursorPosition()
454 char *new = realloc(ab->b,ab->len+len); in abAppend() local
456 if (new == NULL) return; in abAppend()
457 memcpy(new+ab->len,s,len); in abAppend()
458 ab->b = new; in abAppend()
1051 char **new; in linenoiseHistorySetMaxLen() local
1057 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1058 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1067 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/devel/p5-subversion/subversion-1.14.1/tools/dev/svnmover/linenoise/
H A Dlinenoise.c268 int cols, rows; in getCursorPosition() local
285 return cols; in getCursorPosition()
454 char *new = realloc(ab->b,ab->len+len); in abAppend() local
456 if (new == NULL) return; in abAppend()
457 memcpy(new+ab->len,s,len); in abAppend()
458 ab->b = new; in abAppend()
1051 char **new; in linenoiseHistorySetMaxLen() local
1057 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1058 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1067 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]

12345678910>>...275