/dports/devel/upp/upp/bazaar/plugin/matio/lib/ |
H A D | mat.c | 1291 out_sparse->ir = (mat_int32_t*)malloc(in_sparse->nir*sizeof(*out_sparse->ir)); in Mat_VarDuplicate() 1293 … memcpy(out_sparse->ir, in_sparse->ir, in_sparse->nir*sizeof(*out_sparse->ir)); in Mat_VarDuplicate() 1295 out_sparse->jc = (mat_int32_t*)malloc(in_sparse->njc*sizeof(*out_sparse->jc)); in Mat_VarDuplicate() 1297 … memcpy(out_sparse->jc, in_sparse->jc, in_sparse->njc*sizeof(*out_sparse->jc)); in Mat_VarDuplicate() 1373 out_sparse->ir = (mat_int32_t*)malloc(in_sparse->nir*sizeof(*out_sparse->ir)); in Mat_VarDuplicate() 1374 if ( out_sparse->ir != NULL ) in Mat_VarDuplicate() 1375 memcpy(out_sparse->ir, in_sparse->ir, in_sparse->nir*sizeof(*out_sparse->ir)); in Mat_VarDuplicate() 1377 out_sparse->jc = (mat_int32_t*)malloc(in_sparse->njc*sizeof(*out_sparse->jc)); in Mat_VarDuplicate() 1378 if ( out_sparse->jc != NULL ) in Mat_VarDuplicate() 1379 memcpy(out_sparse->jc, in_sparse->jc, in_sparse->njc*sizeof(*out_sparse->jc)); in Mat_VarDuplicate() [all …]
|
/dports/math/matio/matio-1.5.21/src/ |
H A D | mat.c | 1508 out_sparse->ir = in Mat_VarDuplicate() 1514 out_sparse->jc = in Mat_VarDuplicate() 1591 out_sparse->nir = in_sparse->nir; in Mat_VarDuplicate() 1592 out_sparse->ir = (mat_uint32_t *)malloc(in_sparse->nir * sizeof(*out_sparse->ir)); in Mat_VarDuplicate() 1593 if ( out_sparse->ir != NULL ) in Mat_VarDuplicate() 1594 memcpy(out_sparse->ir, in_sparse->ir, in_sparse->nir * sizeof(*out_sparse->ir)); in Mat_VarDuplicate() 1595 out_sparse->njc = in_sparse->njc; in Mat_VarDuplicate() 1596 out_sparse->jc = (mat_uint32_t *)malloc(in_sparse->njc * sizeof(*out_sparse->jc)); in Mat_VarDuplicate() 1597 if ( out_sparse->jc != NULL ) in Mat_VarDuplicate() 1598 memcpy(out_sparse->jc, in_sparse->jc, in_sparse->njc * sizeof(*out_sparse->jc)); in Mat_VarDuplicate() [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/ |
H A D | lib_api.cc | 1163 std::vector<mxnet::ext::MXSparse> out_sparse(num_out); in _opCallFCompute() local 1176 out_sparse[i].set(outdata[i], outshapes[i], outdims[i], in _opCallFCompute() 1180 out_sparse[i].set(outdata[i], outshapes[i], outdims[i], out_indices[i], in _opCallFCompute() 1183 outputs[i].setTensor(reinterpret_cast<void*>(&out_sparse[i]), in _opCallFCompute() 1312 std::vector<mxnet::ext::MXSparse> out_sparse(num_out); in _opCallFStatefulCompute() local 1325 out_sparse[i].set(outdata[i], outshapes[i], outdims[i], out_indices[i], in _opCallFStatefulCompute() 1329 out_sparse[i].set(outdata[i], outshapes[i], outdims[i], out_indices[i], in _opCallFStatefulCompute() 1332 outputs[i].setTensor(reinterpret_cast<void*>(&out_sparse[i]), in _opCallFStatefulCompute()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/ |
H A D | lib_api.cc | 1163 std::vector<mxnet::ext::MXSparse> out_sparse(num_out); in _opCallFCompute() local 1176 out_sparse[i].set(outdata[i], outshapes[i], outdims[i], in _opCallFCompute() 1180 out_sparse[i].set(outdata[i], outshapes[i], outdims[i], out_indices[i], in _opCallFCompute() 1183 outputs[i].setTensor(reinterpret_cast<void*>(&out_sparse[i]), in _opCallFCompute() 1312 std::vector<mxnet::ext::MXSparse> out_sparse(num_out); in _opCallFStatefulCompute() local 1325 out_sparse[i].set(outdata[i], outshapes[i], outdims[i], out_indices[i], in _opCallFStatefulCompute() 1329 out_sparse[i].set(outdata[i], outshapes[i], outdims[i], out_indices[i], in _opCallFStatefulCompute() 1332 outputs[i].setTensor(reinterpret_cast<void*>(&out_sparse[i]), in _opCallFStatefulCompute()
|
/dports/sysutils/ddpt/ddpt-0.95/src/ |
H A D | ddpt_com.c | 257 op->out_sparse, op->out_sparse_partial, cp); in print_stats() 260 op->out_sparse, cp); in print_stats() 263 op->out_sparse, op->out_sparse_partial); in print_stats() 266 op->out_sparse); in print_stats()
|
H A D | ddpt.h | 367 int64_t out_sparse; /* used for sparse, sparing + trim */ member
|
H A D | ddpt.c | 1514 --op->out_sparse; in cp_sparse_cleanup() 1588 op->out_sparse += (n / obs); in cp_finer_comp_wr() 1886 op->out_sparse += csp->ocbpt; in do_rw_copy()
|
/dports/devel/raylib/raylib-3.7.0/src/external/ |
H A D | cgltf.h | 3003 out_sparse->count = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 3027 out_sparse->indices_byte_offset = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 3033 out_sparse->indices_component_type = cgltf_json_to_component_type(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 3038 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->indices_extras); in cgltf_parse_json_accessor_sparse() 3042 …ocessed_extensions(options, tokens, i, json_chunk, &out_sparse->indices_extensions_count, &out_spa… in cgltf_parse_json_accessor_sparse() 3070 …out_sparse->values_buffer_view = CGLTF_PTRINDEX(cgltf_buffer_view, cgltf_json_to_int(tokens + i, j… in cgltf_parse_json_accessor_sparse() 3076 out_sparse->values_byte_offset = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 3081 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->values_extras); in cgltf_parse_json_accessor_sparse() 3085 …ocessed_extensions(options, tokens, i, json_chunk, &out_sparse->values_extensions_count, &out_spar… in cgltf_parse_json_accessor_sparse() 3100 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->extras); in cgltf_parse_json_accessor_sparse() [all …]
|
/dports/sysutils/sg3_utils/sg3_utils-1.42/src/ |
H A D | sg_dd.c | 131 static int64_t out_sparse = 0; variable 201 pr2serr("%s%" PRId64 " bypassed records out\n", str, out_sparse); in print_stats() 1982 out_sparse += blocks; in main() 2007 out_sparse += blocks; in main()
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/meshoptimizer/tools/ |
H A D | cgltf.h | 2161 …parse(jsmntok_t const* tokens, int i, const uint8_t* json_chunk, cgltf_accessor_sparse* out_sparse) in cgltf_parse_json_accessor_sparse() argument 2175 out_sparse->count = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 2193 …out_sparse->indices_buffer_view = CGLTF_PTRINDEX(cgltf_buffer_view, cgltf_json_to_int(tokens + i, … in cgltf_parse_json_accessor_sparse() 2199 out_sparse->indices_byte_offset = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 2205 out_sparse->indices_component_type = cgltf_json_to_component_type(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 2210 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->indices_extras); in cgltf_parse_json_accessor_sparse() 2238 …out_sparse->values_buffer_view = CGLTF_PTRINDEX(cgltf_buffer_view, cgltf_json_to_int(tokens + i, j… in cgltf_parse_json_accessor_sparse() 2244 out_sparse->values_byte_offset = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 2249 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->values_extras); in cgltf_parse_json_accessor_sparse() 2264 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->extras); in cgltf_parse_json_accessor_sparse()
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/meshoptimizer/tools/ |
H A D | cgltf.h | 2161 …parse(jsmntok_t const* tokens, int i, const uint8_t* json_chunk, cgltf_accessor_sparse* out_sparse) in cgltf_parse_json_accessor_sparse() argument 2175 out_sparse->count = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 2193 …out_sparse->indices_buffer_view = CGLTF_PTRINDEX(cgltf_buffer_view, cgltf_json_to_int(tokens + i, … in cgltf_parse_json_accessor_sparse() 2199 out_sparse->indices_byte_offset = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 2205 out_sparse->indices_component_type = cgltf_json_to_component_type(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 2210 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->indices_extras); in cgltf_parse_json_accessor_sparse() 2238 …out_sparse->values_buffer_view = CGLTF_PTRINDEX(cgltf_buffer_view, cgltf_json_to_int(tokens + i, j… in cgltf_parse_json_accessor_sparse() 2244 out_sparse->values_byte_offset = cgltf_json_to_int(tokens + i, json_chunk); in cgltf_parse_json_accessor_sparse() 2249 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->values_extras); in cgltf_parse_json_accessor_sparse() 2264 i = cgltf_parse_json_extras(tokens, i + 1, json_chunk, &out_sparse->extras); in cgltf_parse_json_accessor_sparse()
|