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

9 results about "Assignment" patented technology

In computer programming, an assignment statement sets and/or re-sets the value stored in the storage location(s) denoted by a variable name; in other words, it copies a value into the variable. In most imperative programming languages, the assignment statement (or expression) is a fundamental construct.

System and method for automated unit test generation of programming source code

A system for generating a unit test based on source code is disclosed having a computer, a source code file, an abstract syntax tree, and at least one unit test. The source code file contains a source code having a plurality of constructs each belonging to a type including functions, return statements, attribute assignments, function calls, and branches. An abstract syntax tree is generated by a computer based on a source code and a plurality of constructions, the abstract syntax tree having a plurality of nodes, where each of the plurality of constructions in the source code has a corresponding node. At least one unit test is generated by a computer based on nodes of the abstract syntax tree and predefined rules, the unit test comprising at least one packet function corresponding to a function configuration or a branch configuration, and the unit test comprising at least one trial function corresponding to a return statement configuration, an attribute assignment configuration, or a function call configuration.
Owner:CLOUDBLUE LLC

Script coding method, script execution method and program for secret score calculation

The invention discloses a script coding method and a script execution method for secret score calculation, and the coding method is characterized in that three script instructions are defined: instruction 1: inputting an assignment instruction of a discrimination result of an evaluation object; instruction 2: inputting an assignment instruction for scoring the unit; command 3: outputting an instruction. The key technology of the corresponding script decoding method is that the memory is used for caching unit scores, an access address is specified by an instruction 1 and an instruction 2, the scores cached by the memory are assigned by the output of the instruction 1 or the instruction 2, and the scores cached by the memory are input as an instruction 3. Also disclosed are a program and a storage medium. The method has the main technical effects that the secret evaluation score of the standard definition is realized, and a re-calculation function and a real-time programming execution effect are also realized.
Owner:BEIJING RED & BLUE TREE TECHNOLOGY CO LTD

Method and apparatus for generating unit test code

PendingCN122507629AControl flowLocal variable
A method and apparatus for generating unit test code are provided. The method includes determining one or more assignment expressions and conditional expressions in a control flow of a function under test by traversing each expression of the control flow, wherein a variable in the conditional expression is associated with at least one of the one or more assignment expressions; eliminating the local variable in the conditional expression based on the at least one assignment expression; and generating the unit test code corresponding to the function under test based on the conditional expression in which the local variable is eliminated.
Owner:SAMSUNG SEMICON CHINA RES & DEV +1

Information processing systems, information processing methods, and programs

According to one aspect of the present invention, an information processing system is provided, comprising at least one processor capable of executing a program such that the following steps are performed: an acquisition step, which acquires object information relating to at least one object placed in a representation space, wherein the representation space is configured to visually represent the object, the object information includes element information relating to a plurality of elements constituting the object, an assignment step, which assigns attributes different from an identification code to the elements based on the object information, wherein the identification code is a non-natural language code that is mechanically uniquely assigned to each of the plurality of elements when the object is defined in the representation space, the attributes are described in natural language, and an update step, which updates the attributes of the target element based on the latest attributes of adjacent elements adjacent to the target element, which is one of the plurality of elements.
Owner:徳山佳央

Assignment selection support device, assignment selection support method, and program

To reduce burdens on a human resources person in personnel relocation.SOLUTION: A work placement selection support device 10 includes: a selection information generation unit 11 that in a case where personnel information on a target person of personnel relocation corresponds to any of a plurality of selection conditions set in advance, calculates an index value for the corresponding selection condition and generates selection information that specifies work placement related to the calculated index value, an identifier of the target person, and the corresponding selection condition; and a work placement candidate selection unit 12 that selects a work placement candidate for the target person on the basis of the selection information. The selection conditions include a condition that restricts a job content in which a specific target person can engage.SELECTED DRAWING: Figure 1
Owner:NEC SOLUTION INNOVATORS LTD

Code compilation methods, devices, electronic devices, and readable storage media

This application provides a code compilation method, apparatus, electronic device, and readable storage medium, relating to the field of processor technology. The method includes: obtaining assignment statements in the code to be compiled, and registers corresponding to each variable in the assignment statements; if there are conflict registers with multiple corresponding variables in the registers, setting a shadow register and a semaphore for each variable corresponding to the conflict registers; compiling the code to be compiled into first hardware description language code including shadow registers and semaphores; the shadow registers are used to write the variable values ​​of the variables corresponding to the shadow registers; the semaphores are used to sequentially write the variable values ​​in the shadow registers to the conflict registers according to the priority of the variables after the variable values ​​are written to the shadow registers. The method of this application can solve the multi-source drive error problem when multiple assignment statements assign values ​​to the same variable during code compilation.
Owner:BEIJING INSTITUTE OF OPEN SOURCE CHIP

System and method for automated unit test generation for programming source code

A system for generating unit tests based on source code is disclosed having a computer; a source code file containing source code having a plurality of constructs; the plurality of constructs each being of a type, such types including functions, return statements, property assignments, function calls, and branches; an abstract syntax tree generated by the computer based on the source code and the plurality of constructs; the abstract syntax tree having a plurality of nodes, wherein each of the plurality of constructs in the source code has a corresponding node; at least one unit test generated by the computer based on the nodes of the abstract syntax tree and pre-defined rules; the unit test including at least one grouping function corresponding to a function or a branch construct and at least one trial function corresponding to a return statement, a property assignment, or a function call construct.
Owner:CLOUDBLUE LLC