Home
last modified time | relevance | path

Searched refs:n_units (Results 1 – 25 of 80) sorted by relevance

1234

/dports/misc/apparix/apparix-11-062/util/
H A Dgralloc.c55 , dim n_units in grim_buf_new() argument
68 = mcxAlloc(n_units * sz_load, RETURN_ON_FAIL) in grim_buf_new()
75 ; buf->n_units = n_units in grim_buf_new()
81 ; for (i=0;i<n_units-1;i++) in grim_buf_new()
85 ; ((memnext*) (buf->units + (n_units-1) * sz_load))->next = NULL in grim_buf_new()
93 , dim n_units in mcxGrimNew() argument
100 ; if (!(src->buf = grim_buf_new(sz_unit, n_units))) in mcxGrimNew()
119 ; dim n = buf->n_units in mcxGrimMemSize()
122 n += this->n_units in mcxGrimMemSize()
132 ; dim n_units = prevbuf ? 2 * prevbuf->n_units : src->buf->n_units in mcx_grim_extend() local
[all …]
/dports/misc/frugally-deep/frugally-deep-0.15.13-p0/include/fdeep/
H A Drecurrent_ops.hpp107 const std::size_t n_units, in lstm_impl() argument
118 …const MappedRowMajorMatrixXf U = eigen_row_major_mat_from_shared_values(n_units, n_units * 4, cons… in lstm_impl()
149 const EigenIndex n = EigenIndex(n_units); in lstm_impl()
199 const std::size_t n_units, in gru_impl() argument
214 const EigenIndex n = EigenIndex(n_units); in gru_impl()
216 …const MappedRowMajorMatrixXf U = eigen_row_major_mat_from_shared_values(n_units, n_units * 3, cons… in gru_impl()
219 RowVector<Dynamic> b_x(n_units * 3); in gru_impl()
220 if (use_bias && bias.size() >= 1 * n_units * 3) in gru_impl()
226 RowVector<Dynamic> b_h(n_units * 3); in gru_impl()
227 if (use_bias && bias.size() >= 2 * n_units * 3) in gru_impl()
[all …]
/dports/math/py-numpy/numpy-1.20.3/numpy/core/
H A D_exceptions.py166 n_units = num_bytes / unit_val
170 if round(n_units) == STEP:
172 n_units /= STEP
177 n_units *= 1 << ((unit_i - new_unit_i) * LOG2_STEP)
184 return '{:.0f} {}'.format(n_units, unit_name)
185 elif round(n_units) < 1000:
187 return '{:#.3g} {}'.format(n_units, unit_name)
190 return '{:#.0f} {}'.format(n_units, unit_name)
/dports/sysutils/coreutils/coreutils-8.32/src/
H A Dsplit.c179 uintmax_t n_units_end = n_units - 1; in set_suffix_length()
191 if (n_start < n_units) in set_suffix_length()
1303 uintmax_t n_units = 0; in main() local
1451 n_units = 0; in main()
1530 n_units = 1000; in main()
1533 if (n_units == 0) in main()
1542 set_suffix_length (n_units, split_type); in main()
1598 if (OFF_T_MAX < n_units) in main()
1607 file_size = MAX (file_size, n_units); in main()
1626 lines_split (n_units, buf, in_blk_size); in main()
[all …]
H A Dhead.c864 return head_lines (filename, fd, n_units); in head()
866 return head_bytes (filename, fd, n_units); in head()
870 head_file (const char *filename, uintmax_t n_units, bool count_lines, in head_file() argument
894 ok = head (filename, fd, n_units, count_lines, elide_from_end); in head_file()
926 uintmax_t n_units = DEFAULT_NUMBER; in main() local
1015 n_units = string_to_integer (count_lines, n_string); in main()
1037 n_units = string_to_integer (count_lines, optarg); in main()
1045 n_units = string_to_integer (count_lines, optarg); in main()
1075 if ( ! count_lines && elide_from_end && OFF_T_MAX < n_units) in main()
1077 char umax_buf[INT_BUFSIZE_BOUND (n_units)]; in main()
[all …]
H A Dtail.c1969 tail (const char *filename, int fd, uintmax_t n_units, in tail() argument
1974 return tail_lines (filename, fd, n_units, read_pos); in tail()
1976 return tail_bytes (filename, fd, n_units, read_pos); in tail()
1983 tail_file (struct File_spec *f, uintmax_t n_units) in tail_file() argument
2159 *n_units = default_count; in parse_obsolete_option()
2160 else if ((xstrtoumax (n_string, NULL, 10, n_units, "b") in parse_obsolete_option()
2338 uintmax_t n_units = DEFAULT_N_LINES; in main() local
2373 if (n_units) in main()
2374 --n_units; in main()
2421 if (! n_units && ! forever && ! from_start) in main()
[all …]
/dports/misc/gnuls/coreutils-8.30/src/
H A Dsplit.c179 uintmax_t n_units_end = n_units; in set_suffix_length()
191 if (n_start < n_units) in set_suffix_length()
1302 uintmax_t n_units = 0; in main() local
1450 n_units = 0; in main()
1529 n_units = 1000; in main()
1532 if (n_units == 0) in main()
1541 set_suffix_length (n_units, split_type); in main()
1597 if (OFF_T_MAX < n_units) in main()
1606 file_size = MAX (file_size, n_units); in main()
1625 lines_split (n_units, buf, in_blk_size); in main()
[all …]
H A Dhead.c863 return head_lines (filename, fd, n_units); in head()
865 return head_bytes (filename, fd, n_units); in head()
869 head_file (const char *filename, uintmax_t n_units, bool count_lines, in head_file() argument
893 ok = head (filename, fd, n_units, count_lines, elide_from_end); in head_file()
925 uintmax_t n_units = DEFAULT_NUMBER; in main() local
1014 n_units = string_to_integer (count_lines, n_string); in main()
1036 n_units = string_to_integer (count_lines, optarg); in main()
1044 n_units = string_to_integer (count_lines, optarg); in main()
1074 if ( ! count_lines && elide_from_end && OFF_T_MAX < n_units) in main()
1076 char umax_buf[INT_BUFSIZE_BOUND (n_units)]; in main()
[all …]
H A Dtail.c1945 tail (const char *filename, int fd, uintmax_t n_units, in tail() argument
1950 return tail_lines (filename, fd, n_units, read_pos); in tail()
1952 return tail_bytes (filename, fd, n_units, read_pos); in tail()
1959 tail_file (struct File_spec *f, uintmax_t n_units) in tail_file() argument
2135 *n_units = default_count; in parse_obsolete_option()
2136 else if ((xstrtoumax (n_string, NULL, 10, n_units, "b") in parse_obsolete_option()
2314 uintmax_t n_units = DEFAULT_N_LINES; in main() local
2349 if (n_units) in main()
2350 --n_units; in main()
2397 if (! n_units && ! forever && ! from_start) in main()
[all …]
/dports/science/py-chainer/chainer-7.8.0/chainer/links/rnn/
H A Dmgu.py14 def __init__(self, n_inputs, n_units): argument
17 self.W_f = linear.Linear(n_inputs + n_units, n_units)
18 self.W_h = linear.Linear(n_inputs + n_units, n_units)
/dports/biology/minimap2/minimap2-2.24/
H A Dkalloc.c130 size_t n_units; in kmalloc() local
135n_units = (n_bytes + sizeof(size_t) + sizeof(header_t) - 1) / sizeof(header_t); /* header+n_bytes … in kmalloc()
140 …if (p->size >= n_units) { /* p->size if the size of current block. This line means the current blo… in kmalloc()
141 if (p->size == n_units) q->ptr = p->ptr; /* no need to split the block */ in kmalloc()
143 p->size -= n_units; /* reduce the size of the free block */ in kmalloc()
145 *(size_t*)p = n_units; /* set the size */ in kmalloc()
151 if ((p = morecore(km, n_units)) == 0) return 0; in kmalloc()
/dports/www/anyterm/anyterm-1.1.29/libpbe/include/charset/
H A Dutf8.hh199 static size_t max_characters(size_t n_units) { return n_units; } in max_characters()
200 static size_t typ_characters(size_t n_units) { return n_units; } in typ_characters()
H A Dcharset_traits.hh98 static size_t max_characters(size_t n_units) { return n_units; } in max_characters()
99 static size_t typ_characters(size_t n_units) { return n_units; } in typ_characters()
/dports/misc/frugally-deep/frugally-deep-0.15.13-p0/include/fdeep/layers/
H A Dbidirectional_layer.hpp25 const std::size_t n_units, in bidirectional_layer() argument
42 n_units_(n_units), in bidirectional_layer()
56 …forward_state_h_(stateful ? tensor(tensor_shape(n_units), static_cast<float_type>(0)) : fplus::not… in bidirectional_layer()
57 …wrapped_layer_type_has_state_c(wrapped_layer_type) ? tensor(tensor_shape(n_units), static_cast<flo… in bidirectional_layer()
58 …backward_state_h_(stateful ? tensor(tensor_shape(n_units), static_cast<float_type>(0)) : fplus::no… in bidirectional_layer()
59 …wrapped_layer_type_has_state_c(wrapped_layer_type) ? tensor(tensor_shape(n_units), static_cast<flo… in bidirectional_layer()
H A Dlstm_layer.hpp24 std::size_t n_units, in lstm_layer() argument
35 n_units_(n_units), in lstm_layer()
45 …state_h_(stateful ? tensor(tensor_shape(n_units), static_cast<float_type>(0)) : fplus::nothing<ten… in lstm_layer()
46 …state_c_(stateful ? tensor(tensor_shape(n_units), static_cast<float_type>(0)) : fplus::nothing<ten… in lstm_layer()
H A Dgru_layer.hpp24 std::size_t n_units, in gru_layer() argument
36 n_units_(n_units), in gru_layer()
47 …state_h_(stateful ? tensor(tensor_shape(n_units), static_cast<float_type>(0)) : fplus::nothing<ten… in gru_layer()
/dports/x11-toolkits/gtk40/gtk-4.4.1/.gitlab-ci/
H A Dmeson-html-report.py351 n_units = len(units) variable
355 report['total_units'] += n_units
358 print(' - {}: {} total, {} pass, {} fail'.format(suite_name, n_units, n_successes, n_failures))
362 'n_units': n_units,
/dports/graphics/chafa/chafa-1.8.0/chafa/internal/
H A Dchafa-batch.c29 gint n_units; in chafa_process_batches() local
40 n_units = (n_rows + batch_unit - 1) / batch_unit; in chafa_process_batches()
41 units_per_batch = (gfloat) n_units / (gfloat) n_batches; in chafa_process_batches()
/dports/science/py-chainer/chainer-7.8.0/chainer/functions/normalization/
H A Dlayer_normalization.py67 n_units = x.shape[1]
68 g_squ_x_mu = g_var * (1. / n_units)
74 g_x_2 = g_mu * (1. / n_units)
/dports/mail/evolution/evolution-3.42.1/src/mail/
H A Dem-folder-properties.h56 gint *n_units,
65 gint n_units,
H A Dem-folder-properties.c877 gint n_units; in emfp_autoarchive_commit_cb() local
924 gint n_units; in emfp_get_autoarchive_item() local
1000 &enabled, &config, &n_units, &unit, &custom_target_folder_uri)) { in emfp_get_autoarchive_item()
1743 gint *n_units, in em_folder_properties_autoarchive_get() argument
1757 g_return_val_if_fail (n_units != NULL, FALSE); in em_folder_properties_autoarchive_get()
1781 *n_units = (gint) g_ascii_strtoll (value, NULL, 10); in em_folder_properties_autoarchive_get()
1783 *n_units = -1; in em_folder_properties_autoarchive_get()
1787 *n_units > 0; in em_folder_properties_autoarchive_get()
1802 gint n_units, in em_folder_properties_autoarchive_set() argument
1813 g_return_if_fail (n_units > 0); in em_folder_properties_autoarchive_set()
[all …]
/dports/math/py-seaborn/seaborn-0.11.0/seaborn/
H A Dalgorithms.py92 n_units = len(unique_units)
98 resampler = integers(0, n_units, n_units, dtype=np.intp)
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/opengl/
H A Dgropenglstate.cpp29 void opengl_texture_state::init(GLuint n_units) in init() argument
31 Assert( n_units > 0 ); in init()
32 units = (opengl_texture_unit*) vm_malloc(n_units * sizeof(opengl_texture_unit)); in init()
33 num_texture_units = n_units; in init()
637 void opengl_array_state::init(GLuint n_units) in init() argument
639 Assert( n_units > 0 ); in init()
640 …client_texture_units = (opengl_client_texture_unit*) vm_malloc(n_units * sizeof(opengl_client_text… in init()
641 num_client_texture_units = n_units; in init()
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/io/lammps/
H A Dutils.py51 n_units, argument
75 self.n_units = n_units
98 self.n_units += 1
112 while self.length != (self.n_units - 1):
/dports/cad/nvc/nvc-r1.5.3/src/
H A Dlib.c61 unsigned n_units; member
189 l->n_units = 0; in lib_init()
256 for (unsigned i = 0; (where == NULL) && (i < lib->n_units); i++) { in lib_put_aux()
262 if (lib->n_units == 0) { in lib_put_aux()
266 else if (lib->n_units == lib->units_alloc) { in lib_put_aux()
272 where = &(lib->units[lib->n_units++]); in lib_put_aux()
661 for (unsigned n = 0; n < lib->n_units; n++) { in lib_get_aux()
819 for (unsigned n = 0; n < lib->n_units; n++) { in lib_save()

1234