Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

64 results about "Declaration" patented technology

In computer programming, a declaration is a language construct that specifies properties of an identifier: it declares what a word (identifier) "means". Declarations are most commonly used for functions, variables, constants, and classes, but can also be used for other entities such as enumerations and type definitions. Beyond the name (the identifier itself) and the kind of entity (function, variable, etc.), declarations typically specify the data type (for variables and constants), or the type signature (for functions); types may also include dimensions, such as for arrays. A declaration is used to announce the existence of the entity to the compiler; this is important in those strongly typed languages that require functions, variables, and constants, and their types to be specified with a declaration before use, and is used in forward declaration. The term "declaration" is frequently contrasted with the term "definition", but meaning and usage varies significantly between languages; see below.

Object model for Java TM

The mechanism includes three data structures: object data associated with each object O1, O2, O3 ... of a program, a class descriptor associated with the classes to which the objects O1, O2, O3 ... belong, and interface references. For each class Ci, the class descriptor corresponding to the class Ci includes: i) a class method table comprising one or more entries, wherein each entry identifies an implementation of a method inherited or defined by the class Ci; and ii) for each interface implemented by the class Ci, an interface method table comprising one or more entries, wherein each entry identifies an implementation of a method declared by the particular interface or an implementation of a method declared by an interface extended by the particular interface. An interface reference for an interface declaration ID associated with a given object OI, wherein the object OI implements methods that are declared by an interface declaration ID includes a pointer to the interface method table corresponding to the interface declaration ID within the class descriptor corresponding to the object OI. An efficient mechanism for method invocations is provided by generating an index that identifies the entry corresponding to the appropriate method in the interface method table pointed to by the pointer of the interface reference, reading the data stored by the entry identified by the index, and controlling the computer processing apparatus to jump to the address identified by the data.
Owner:IBM CORP

Parallelization security hole detecting method based on function call graph

The invention relates to a parallelization security hole detecting method based on a function call graph, which is characterized in that a function set to be detected is determined by analyzing the function call relation in a C language module, instrumentation and assert analysis are performed for the function set by means of the preprocessing technology, and then security holes of a program are detected by the aid of model checking and the parallelization technology. The method mainly includes the steps: generating the function relation call graph, and determining C function information to be detected by analyzing the function relation call graph; extracting attribute information of a buffer area related to C program source codes by the aid of the constraint analysis technology, and inserting corresponding ASSERT statement information in a variable declaration, an assignment and a function call point by means of the attribute information of the buffer area; and performing accessibility judgment for the instrumented codes, and analyzing whether a dangerous point in the program includes an accessible path to discover the security holes in the source codes or not. The method detects the security holes such as buffer area overflow and the like by combining the constraint analysis static detecting technology, model checking and the parallelization technology, and the detecting precision of the method is higher than that of the general static detecting technology.
Owner:BEIHANG UNIV

System and method for automatically declaring variables

A system and method for declaring variables during coding of a software program. The method includes, for each variable type, defining a unique string representing a variable declaration instruction and adapting a coding module wherein, when a string representing a variable declaration instruction is typed adjacent to a new variable name, the coding module automatically generates code for the corresponding variable declaration statement for a new variable having the new variable name and the specified variable type. The method further includes defining a reserved variable declaration area in the software program and placing any code generated by the coding module for the variable declaration statement into the reserved variable declaration area. Each unique string representing a variable declaration instruction may be a prefix or suffix that may be typed adjacent to the new variable name.
Owner:IBM CORP

Implementing method and device and calling method and device for private method under programming environment

ActiveCN108733432AGuaranteed performanceAchieve operational performanceExecution paradigmsCreation/generation of source codePrivate variableFunction type
The invention discloses an implementation method, an implementation device, a calling method and a calling device for a private method under a programming environment. The implementation method comprises the steps of when the first private method carries a pointer of a class instance, stating the first private method in a class according to a static method of a programming language, wherein parameters of the statement of the first private method comprise a pointer of the class instance of the first private method; and implementing the private method according to a function implementation method of the programming language. When implementation of the first private method needs to access a private variable, the first private method also can be implemented by using a pointer access protector.The invention also discloses the calling method for the private method. The calling method comprises the step of using a function type converter to convert the first private method into a programmingenvironment method for calling, wherein the parameters of the function type converter comprise a function pointer of the first private method, a name identifier of the first private method, and a type identifier of the class to which the first private method belongs. According to the methods and devices provided by the invention, true sense of privatization of the private method under the programming environment is achieved under the premise of ensuring calling performance.
Owner:ADVANCED NEW TECH CO LTD

WebShell detection method, device and equipment and readable storage medium

The invention discloses a WebShell detection method, device and equipment and a readable storage medium. The method disclosed by the invention comprises the following steps: acquiring a script to be detected; extracting grammatical features in the script by using the abstract syntax tree, wherein the grammatical features comprise a function dependency relationship, a class declaration and a function keyword; utilizing a multimode matching algorithm to extract statistical characteristics in the script; fusing the grammar features and the statistical features; and utilizing a machine learning model to calculate a feature value corresponding to the fused feature after fusion, and if the feature value is greater than a preset threshold, determining that the script is WebShell. According to the invention, the abstract syntax tree and the multimode matching algorithm are used for extracting the multi-dimensional features from the script, and then the features are fused, so that the features of all the dimensions complement one another, the defect of a single detection mode is overcome, missing report or false report can be avoided, and the accuracy and efficiency of WebShell detection are improved. Correspondingly, the invention discloses a WebShell detection device and equipment and a readable storage medium, which also have the above technical effects.
Owner:SANGFOR TECH INC

Policy matching degree calculation method and system, computer equipment and storage medium

The invention belongs to the technical field of software management, and particularly relates to a policy matching degree calculation method and system, computer equipment and a storage medium, and the method comprises the steps: obtaining pre-declaration policy information and declaration condition information of a user; retrieving a policy information base according to the pre-declaration policy information to obtain target policy information; calculating a matching degree according to the target policy information and the declaration condition information; and generating a declaration material list for each published policy information, and sorting the declaration material list according to the matching degree. According to the method and system, the type of the policy to be declared by the current user is judged according to the policy information to be declared of the user, so that the related policy is determined, the matching degree is calculated according to the declared condition information of the user, and the basis for judging the policy declared possibility is provided for the user, so that on one hand, the problem that the user needs to autonomously search the policy is solved; and on the other hand, the user can be helped to quickly know the declarable policy, and a required material list is generated.
Owner:广西东创大数据有限公司

Programming system for mechanical arm program development and function extension method

The invention provides a programming system for mechanical arm program development and a function extension method, and the programming system comprises an extension function pool which is used for storing extension functions; an expansion interface module which is used for generating a mapping relationship between the function call name and the address based on a received mapping instruction containing the call name and the function address of the expansion function, and storing the mapping relationship; a registration interface which is used for registering the mapping relationship based ona received registration instruction containing a mapped expansion function, and adding the registered expansion function into an operation function pool; a declaration interface which is used for declaring the extension function on the basis of a received declaration instruction containing the call name of the registered extension function and storing the declaration; and an extension library module which is used for classifying the extension functions into corresponding sub-libraries in an extension library based on the attribute information of the extension functions and storing the classification information of the extension functions, wherein the extension library comprises a plurality of sub-libraries. The programming system is more convenient to integrate and has very strong expansibility.
Owner:江苏中科重德智能科技有限公司

Universal description language data system for directed acyclic graph type automatic task flow

PendingCN112162737AImprove description granularityComplete task descriptionCreation/generation of source codeInformation layerData center
The invention provides a universal description language data system for directed acyclic graph type automatic task flow. The universal description language data system comprises a Step definition layer, a Workflow definition layer and a Template definition layer, The Step layer is description of a single task, and information such as names, types, documents and parameters of input and output itemsneeds to be declared specifically for input and output declarations of a docker mirror image or other actuators; the Workflow layer is a workflow composed of one or more Steps, the dependency topology of the Steps needs to be defined, and shared parameters can also be defined; the Template layer is based on a Workflow definition, and the template is used for presetting parameters, explaining supplementary parameters, and defining an inspector or a data source. The data center and a task execution tool are used, and a programming language needs to be used for achieving a corresponding tool. Adata center needs to store each definition document and indexes the definition documents to the corresponding documents through reference links, and an interpreter needs to read all definition contents and assign corresponding data to a definition structure according to the reference links.
Owner:SHENZHEN JINGTAI TECH CO LTD

Natural language semantic representation method and device based on function declaration and electronic equipment

The invention discloses a natural language semantic representation method and device based on function declaration and electronic equipment. The method comprises the steps: performing word segmentation processing on a natural language sequence, wherein each word in a word segmentation result corresponds to a terminator in a pre-generated context-independent grammar instance; obtaining a function statement associated with the terminator according to the context-independent grammar instance; utilizing the function statement to construct a semantic tree of the natural language sequence; expressing the semantic tree by adopting a high-order function, and executing to obtain a semantic expression result of the natural language sequence. Free combination and nesting of different grammars can beachieved, and then semantic structure representation of complex natural languages is achieved; the specific implementation mode of the function is separated from the semantic representation process declared by the function, the reusability is good, and the flexibility is high; in addition, a semantic representation result can be represented and realized by a function nested executed by a computer,and can be directly executed to complete a specific task.
Owner:北京智源人工智能研究院

Method for cooperative work of multiple programmable controllers based on data synchronization

The invention discloses a method for cooperative work of multiple programmable controllers based on data synchronization. The method comprises the following steps: S1, defining variables, exporting variable declarations and programming; s2, analyzing a program file XML (Extensible Markup Language), distributing a variable address of each programmable controller variable, and processing each pair of export variable relations; and S3, program compilation, the synchronization function block provided by the invention is essentially a performance function for packaging synchronization codes, but is transparent for a user, the user does not need to worry about the realization problem of the synchronization function block, and the realization of the codes can be automatically generated according to the difference of exported variables and the difference of equipment information of the programmable controller; according to the invention, one-time synchronization is carried out on the derived variables of the same programmable controller by using a communication protocol, so that the problem that the waiting time is too long due to too many received and transmitted frames caused by synchronization of only a single variable each time is well solved.
Owner:HANGZHOU DIANZI UNIV

Dynamic compiling method and device, equipment and storage medium

The invention provides a dynamic compiling method, device and equipment and a storage medium, belongs to the technical field of computers, and particularly relates to the field of research, development, operation and maintenance of Internet and mobile applications. According to the specific implementation scheme, a DSL specification is used, a source file is analyzed, a DSL syntax tree corresponding to the source file is determined, and a first target file is obtained; and according to the DSL syntax tree, determining a declaration type and a calling sequence of a program object represented by each node, and then according to the declaration type and the calling sequence, determining a loading sequence of the declaration type to obtain a second target file. Due to the fact that the second target file comprises the declaration types of the program objects, the arrangement sequence of which is consistent with the calling sequence, in the process of converting the DSL product in the first target file into the executable file corresponding to the source file in the executable environment, the speed of loading the declaration types and the program objects can be greatly increased; and thus, the efficiency of converting the DSL product into the page display content in real time is improved.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products