-
公开(公告)号:US20220012029A1
公开(公告)日:2022-01-13
申请号:US17484504
申请日:2021-09-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yi JIANG , Yongjian CHEN , Chao ZHANG , Junmin ZHAO , Yan ZHANG
Abstract: A compilation method includes obtaining a source program code. The source program code includes a first function in a first language code and a second function in a second language code. The first language code is a native language. The second language code is a non-native language. The method also includes generating a third language code based on the source program code. The third language code includes a third function, a fourth function and a fifth function. The third function is generated based on the first function. The fourth function is generated based on the second function. The fifth function is generated based on the first function and the second function. Executing the third function invokes the fourth function via the fifth function.
-
公开(公告)号:US20220300129A1
公开(公告)日:2022-09-22
申请号:US17638397
申请日:2020-08-10
Applicant: Huawei Technologies Co., Ltd.
Inventor: Jinpeng ZHU , Wenjie REN , Junmin ZHAO
IPC: G06F3/0486 , G06F3/0482 , G06F3/04817 , G06F3/0488 , G06F3/14
Abstract: A terminal device displays a first interface including a preset icon (301), where the preset icon is displayed in a floating manner; the terminal device displays a first application list when detecting an input first user operation on the preset icon (302); the terminal device divides a screen of the terminal device into two or more subscreens when detecting an input second user operation on a first application in the first application list, and the terminal device displays the first interface and the first application on a first subscreen and a second subscreen respectively, where the first subscreen and the second subscreen are included in the two or more subscreens. A display screen can be quickly divided into a plurality of subscreens, and different content is displayed on different subscreens.
-
公开(公告)号:US20190065368A1
公开(公告)日:2019-02-28
申请号:US16171304
申请日:2018-10-25
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Junmin ZHAO
IPC: G06F12/02
Abstract: Example memory reclaiming methods and apparatuses are provided to resolve a problem that application data is lost and a restart speed of an application becomes slower in a manner of reclaiming a memory by killing the application. One example memory reclaiming method includes determining an application program that occupies a to-be-reclaimed memory and selecting at least one virtual address space segment according to a running state of the application program. A virtual address space that is in the selected at least one virtual address space segment and that is occupied by the application program is reclaimed. The application program is not directly killed, but instead, only a memory occupied by application data that can be cleared in the running state is reclaimed according to the running state of the application program. Therefore, less application data is lost.
-
-