Home
last modified time | relevance | path

Searched refs:last_n (Results 1 – 25 of 205) sorted by relevance

123456789

/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/utils/tests/
H A Dtest_sparsefuncs.py165 last_n=last_n,
174 last_n=last_n,
196 last_n=n_incr0,
262 last_n=last_n,
271 last_n=last_n,
293 last_n=n_incr0,
387 last_n=last_n,
410 kwargs = dict(last_mean=last_mean, last_var=last_var, last_n=last_n)
453 X1, axis=axis, last_mean=last_mean, last_var=last_var, last_n=last_n
488 last_n = 0
[all …]
/dports/devel/R-cran-pkgload/pkgload/tests/testthat/
H A Dtest-shim.r10 last_n <- function(x, n = 1) { function
27 expect_true(all(last_n(files[[1]], 3) == c("testShim", "inst", "A.txt")))
28 expect_true(all(last_n(files[[2]], 3) == c("testShim", "inst", "B.txt")))
31 expect_true(all(last_n(files[[3]], 2) == c("testShim", "C.txt")))
101 expect_true(all(last_n(files[[1]], 2) == c("testShim", "A.txt")))
102 expect_true(all(last_n(files[[2]], 2) == c("testShim", "B.txt")))
/dports/devel/stfl/stfl-0.24/
H A Dpublic.c249 struct stfl_widget *last_n = 0; in stfl_modify_before() local
256 last_n = n; in stfl_modify_before()
261 last_n->next_sibling = w; in stfl_modify_before()
270 struct stfl_widget *last_n = 0; in stfl_modify_after() local
273 last_n = n; in stfl_modify_after()
292 struct stfl_widget *last_n = 0; in stfl_modify_insert() local
295 last_n = n; in stfl_modify_insert()
303 w->last_child = last_n; in stfl_modify_insert()
314 struct stfl_widget *last_n = 0; in stfl_modify_append() local
317 last_n = n; in stfl_modify_append()
[all …]
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/decoders/timing/
H A Dpd.py83 self.last_n = deque()
114 self.last_n.append(t)
115 if len(self.last_n) > self.options['avg_period']:
116 self.last_n.popleft()
122 [1, [normalize_time(sum(self.last_n) / len(self.last_n))]])
/dports/cad/yosys/yosys-yosys-0.12/tests/arch/ice40/
H A Dbug2061.ys9 wire last_n;
11 assign last_n = cnt[WIDTH];
17 cnt <= last_n ? ( cnt + { (WIDTH+1){last_n} } ) : 13'h1aaa;
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dfnmatch.c85 const char *last_n = n; in gtk_fnmatch_intern() local
125 last_n = n; nc = get_char (&n, casefold); in gtk_fnmatch_intern()
136 if (strchr (last_n, G_DIR_SEPARATOR) != NULL) in gtk_fnmatch_intern()
148 gtk_fnmatch_intern (p, last_n, component_start, no_leading_period, casefold)) in gtk_fnmatch_intern()
152 last_n = n; in gtk_fnmatch_intern()
/dports/x11/apwal/apwal/src/
H A Dgtkfnmatch.c87 const char *last_n = n; in gtk_fnmatch_intern() local
127 last_n = n; nc = get_char (&n); in gtk_fnmatch_intern()
138 if (strchr (last_n, G_DIR_SEPARATOR) != NULL) in gtk_fnmatch_intern()
150 gtk_fnmatch_intern (p, last_n, component_start)) in gtk_fnmatch_intern()
154 last_n = n; in gtk_fnmatch_intern()
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/decoders/graycode/
H A Dpd.py110 self.last_n = deque()
187 self.last_n.append((abs(phasedelta_raw), period))
188 if len(self.last_n) > self.options['avg_period']:
189 self.last_n.popleft()
191 … avg_period = sum(v for u, v in self.last_n) / (sum(u for u, v in self.last_n) or 1)
/dports/net/44bsd-rdist/44bsd-rdist-20001111_2/
H A Dgram.y50 struct namelist *last_n; variable
118 $$ = last_n = NULL;
121 if (last_n == NULL)
122 $$ = last_n = makenl($2);
124 last_n->n_next = makenl($2);
125 last_n = last_n->n_next;
/dports/games/ace-of-penguins/ace-1.4/games/
H A Dcanfield.c181 static int last_n = -1; variable
242 return last_n != -1 ? last_n : src_n; in n_droppable()
431 last_n = -1; in click()
505 last_n = n_droppable(x, y); in drag()
507 stack_continue_drag(last_n, x, y); in drag()
512 last_n = n_droppable(x, y); /* also sets dest_stack */ in drop()
521 stack_drop(dest_stack, last_n); in drop()
H A Dspider.c297 static int last_n=-1; variable
340 return last_n != -1 ? last_n : src_n; in n_droppable()
422 last_n = -1; in click()
451 last_n = n_droppable(x, y); in drag()
452 stack_continue_drag(last_n, x, y); in drag()
458 last_n = n_droppable(x, y); /* also sets dest_stack */ in drop()
467 stack_drop(dest_stack, last_n); in drop()
H A Dsolitaire.c233 static int last_n=-1; variable
305 return last_n != -1 ? last_n : src_n; in n_droppable()
421 stack_drop(dest_stack, last_n); in click()
453 last_n = -1; in click()
600 last_n = n_droppable(x, y); in drag()
601 stack_continue_drag(last_n, x, y); in drag()
609 last_n = n_droppable(x, y); /* also sets dest_stack */ in drop()
622 winnings += (stack_count_cards(src_stack) - last_n) * 5; in drop()
628 stack_drop(dest_stack, last_n); in drop()
H A Dthornq.c297 static int last_n = -1; variable
377 return last_n != -1 ? last_n : src_n; in n_droppable()
527 last_n = -1; in click()
655 last_n = n_droppable(x, y); in drag()
657 stack_continue_drag(last_n, x, y); in drag()
663 last_n = n_droppable(x, y); /* also sets dest_stack */ in drop()
673 stack_drop(dest_stack, last_n); in drop()
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dfnmatch.c83 const char *last_n = n; in gtk_fnmatch_intern() local
123 last_n = n; nc = get_char (&n); in gtk_fnmatch_intern()
134 if (strchr (last_n, G_DIR_SEPARATOR) != NULL) in gtk_fnmatch_intern()
146 gtk_fnmatch_intern (p, last_n, component_start, no_leading_period)) in gtk_fnmatch_intern()
150 last_n = n; in gtk_fnmatch_intern()
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/
H A Dfnmatch.c89 const char *last_n = n; in gtk_fnmatch_intern() local
129 last_n = n; nc = get_char (&n); in gtk_fnmatch_intern()
140 if (strchr (last_n, G_DIR_SEPARATOR) != NULL) in gtk_fnmatch_intern()
152 gtk_fnmatch_intern (p, last_n, component_start, no_leading_period)) in gtk_fnmatch_intern()
156 last_n = n; in gtk_fnmatch_intern()
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/utils/
H A Dsparsefuncs.py128 def incr_mean_variance_axis(X, *, axis, last_mean, last_var, last_n, weights=None): argument
194 if np.size(last_n) == 1:
195 last_n = np.full(last_mean.shape, last_n, dtype=last_mean.dtype)
197 if not (np.size(last_mean) == np.size(last_var) == np.size(last_n)):
219 X, last_mean=last_mean, last_var=last_var, last_n=last_n, weights=weights
/dports/science/grib_api/grib_api-1.28.0-Source/tools/
H A Dtigge_check.filter5 static long last_n = 0;
14 if(n != last_n)
32 last_n = 0;
36 last_n = n;
/dports/science/eccodes/eccodes-2.23.0-Source/tools/
H A Dtigge_check.filter5 static long last_n = 0;
14 if(n != last_n)
32 last_n = 0;
36 last_n = n;
/dports/biology/mafft/mafft-7.267-without-extensions/core/
H A Dfft.c47 static TLS int last_n = 0; /* {\tt n} */ in fft() local
57 last_n = 0; in fft()
66 if (n != last_n || n == 0) { in fft()
67 last_n = n; in fft()
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/common/
H A Dfile-glob.c295 const char *last_n = n; in fnmatch_intern() local
335 last_n = n; nc = get_char (&n); in fnmatch_intern()
346 if (strchr (last_n, G_DIR_SEPARATOR) != NULL) in fnmatch_intern()
358 fnmatch_intern (p, last_n, in fnmatch_intern()
363 last_n = n; in fnmatch_intern()
/dports/net/rdist6/rdist-6.1.5/src/
H A Dgram.y74 struct namelist *last_n; variable
152 $$ = last_n = NULL;
155 if (last_n == NULL)
156 $$ = last_n = makenl($2);
158 last_n->n_next = makenl($2);
159 last_n = last_n->n_next;
/dports/comms/morse/morse-2.5/morse.d/
H A DbeepALSA.c81 static int last_pitch = -1, last_n = -1, last_volume = -1; in Beep() local
117 if (pitch != last_pitch || n > last_n || volume != last_volume) { in Beep()
119 last_n = n; in Beep()
/dports/math/grace/grace-5.1.25/src/
H A Dfourier.c140 static int last_n = 0; in fft() local
147 last_n=0; in fft()
149 } else if (n_pts != last_n) { /* allocate new sin table */ in fft()
151 last_n=0; in fft()
156 last_n=n_pts; in fft()
/dports/archivers/lzop/lzop-1.04/src/
H A Dutil.c169 size_t last_n; in fn_cleanpath() local
171 last_n = n++; in fn_cleanpath()
174 if (n - last_n == 2 && name[n-2] == '.' && name[n-1] == '.') in fn_cleanpath()
187 else if (n - last_n == 1 && name[n-1] == '.') in fn_cleanpath()
196 while (last_n < n) in fn_cleanpath()
197 { add(name[last_n++]); } in fn_cleanpath()
/dports/devel/tla/tla-1.3.5/src/tla/libarch/
H A Dcmd-tag.c182 t_ulong last_n; in arch_cmd_tag() local
250 last_level_type = arch_analyze_patch_level (&last_n, last_level); in arch_cmd_tag()
296 desired_n = last_n + 1; in arch_cmd_tag()
332 desired_n = last_n + 1; in arch_cmd_tag()

123456789