Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

2 results about "Calling convention" patented technology

In computer science, a calling convention is an implementation-level (low-level) scheme for how subroutines receive parameters from their caller and how they return a result. Differences in various implementations include where parameters, return values, return addresses and scope links are placed (registers, stack or memory etc.), and how the tasks of preparing for a function call and restoring the environment afterward are divided between the caller and the callee.

An openharmony-oriented end-side speech recognition optimization system

This invention relates to an edge-side speech recognition optimization system for OpenHarmony, belonging to the field of speech recognition. The system includes a bidirectional information interaction layer (ArkTS), a cross-language N-API call layer, and a native inference execution layer. The ArkTS layer segments real-time recordings according to a preset time step and submits them asynchronously. The N-API layer achieves automatic resource release through `napi_wrap` binding and ensures safe string transmission through explicit allocation of independent buffers. The native layer receives incremental audio slices, performs context-dependent incremental inference, and returns the full recognition result by enforcing a unified floating-point calling convention to align the binary interface. This invention achieves stable operation and near real-time interactive experience for local speech recognition in the OpenHarmony environment.
Owner:KYLIN CORP

C language unit test generation method based on reference test case

The invention provides a C language unit test generation method based on a reference test case, and belongs to the field of software engineering. Comprising the following steps: constructing a C project symbol index knowledge base; performing test case migration association retrieval; and generating a test case based on the reference test mode. According to the method, the pairwise resource'application / release 'mode is extracted and forcibly applied from the existing test, so that the problem that memory leakage may be introduced into the generated C language test case is solved; by injecting the test mode extracted from the real code, the generated test case is highly consistent with the tested item in data structure initialization, function call agreement and code style, and the readability and maintainability of the test code are improved; the expert knowledge and the generation capability of the large language model are deeply fused, and the test environment establishment and resource cleaning work are fully automated, so that the cost and time for compiling a high-quality test for a complex C language project are remarkably reduced.
Owner:BEIHANG UNIV +1