Candid: the interface description language of the Internet Computer smart contracts - 陈研第三届中国Rust开发者大会 Candid: the interface description language of the Internet Computer smart contracts Yan Chen DFINITY Foundation Rust China Conf 2023 −− How DFINITY uses procedure macro to extend Rust Send (42 : nat) Decode as () Decode as (record { name : text }) Candid: a strongly typed interface description language • Primitive types • nat, int, nat{8-64}, int{8-64}, float{32,64}, bool implement type reflection in Rust • Export interface description • How to simulate monomorphization and share states across procedure macro • Import interface description • How to control generated code0 码力 | 35 页 | 1.35 MB | 1 年前3
Zabbix 5.4 中文手册. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473 6 Web interface installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1386 2 User profile 用户资料 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2339 4 Zabbix Manual Welcome to the user manual for Zabbix software. These pages are created to help users successfully manage their monitoring0 码力 | 2339 页 | 19.57 MB | 1 年前3
Go Web编程Go 命令 1.4. Go开发工具 1.5. 小结 2.Go语言基础 2.1. 你好,Go 2.2. Go基础 2.3. 流程和函数 2.4. struct 2.5. 面向对象 2.6. interface 2.7. 并发 2.8. 小结 3.Web基础 3.1 web工作方式 3.2 Go搭建一个简单的web服务 3.3 Go如何使得web工作 3.4 Go的http包详解 3.5 小结 门语言的关键字总共也就二十五个,比英文字母还少一 个,这对于我们的学习来说就简单了很多。先让我们看一眼这些关键字都长什么样: break default func interface select case defer go map struct chan else goto package recover可以捕获到panic的输入值,并且恢复正常的执行。 下面这个函数演示了如何在过程中使用panic var user = os.Getenv("USER") func init() { if user == "" { panic("no value for $USER") } } 下面这个函数检查作为其参数的函数在执行时是否会产生panic: func throwsPanic(f0 码力 | 295 页 | 5.91 MB | 1 年前3
PlantUML 1.2021.3 语言参考指引participant User User -> A: DoWork activate A A -> B: << createRequest >> activate B B -> C: DoWork activate C C --> B: WorkDone destroy C B --> A: RequestCreated deactivate B A -> User: Done deactivate participant User User -> A: DoWork activate A #FFBBBB A -> A: Internal call activate A #DarkSalmon A -> B: << createRequest >> activate B B --> A: RequestCreated deactivate B deactivate A A -> User: Done 60 skinparam sequenceParticipant underline actor User participant "First Class" as A participant "Second Class" as B participant "Last Class" as C User -> A: DoWork activate A A -> B: Create Request activate0 码力 | 398 页 | 4.22 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2023.11)participant User User -> A: DoWork activate A A -> B: << createRequest >> activate B B -> C: DoWork activate C C --> B: WorkDone destroy C B --> A: RequestCreated deactivate B A -> User: Done deactivate participant User User -> A: DoWork activate A #FFBBBB A -> A: Internal call activate A #DarkSalmon A -> B: << createRequest >> activate B B --> A: RequestCreated deactivate B deactivate A A -> User: Done 60 skinparam sequenceParticipant underline actor User participant "First Class" as A participant "Second Class" as B participant "Last Class" as C User -> A: DoWork activate A PlantUML 语言参考指引 (1.20230 码力 | 539 页 | 7.74 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2021.2)participant User User -> A: DoWork activate A A -> B: << createRequest >> activate B B -> C: DoWork activate C C --> B: WorkDone destroy C B --> A: RequestCreated deactivate B A -> User: Done deactivate participant User User -> A: DoWork activate A #FFBBBB A -> A: Internal call activate A #DarkSalmon A -> B: << createRequest >> activate B B --> A: RequestCreated deactivate B deactivate A A -> User: Done 60 skinparam sequenceParticipant underline actor User participant "First Class" as A participant "Second Class" as B participant "Last Class" as C User -> A: DoWork activate A A -> B: Create Request activate0 码力 | 381 页 | 4.05 MB | 1 年前3
PlantUML 1.2021.1 语言参考指引participant User User -> A: DoWork activate A A -> B: << createRequest >> activate B B -> C: DoWork activate C C --> B: WorkDone destroy C B --> A: RequestCreated deactivate B A -> User: Done deactivate participant User User -> A: DoWork activate A #FFBBBB A -> A: Internal call activate A #DarkSalmon A -> B: << createRequest >> activate B B --> A: RequestCreated deactivate B deactivate A A -> User: Done 60 skinparam sequenceParticipant underline actor User participant "First Class" as A participant "Second Class" as B participant "Last Class" as C User -> A: DoWork activate A A -> B: Create Request activate0 码力 | 376 页 | 4.00 MB | 1 年前3
FISCO BCOS 2.1.0 中文文档-------------+ 12 rows in set (0.02 sec) 在控制台中调用create接口。 查看数据库中的表情况 往表里面插入一条数据 打开MySQL客户端,查询_user_t_test表数据 #创建表 call TableTest 0x8c17cf316c1063ab6c89df875e96c9f0f5b2f744 create 0xab1160f0c8db27 | | _sys_tx_hash_2_block_ | | _user_t_test | +----------------------------------------------------------+ "apple" 0x082ca6a5a292f1f7b20abeb3fb03f45e0c6f48b5a79cc65d1246bfe57be358d1 #查看用户表中的数据 select * from _user_t_test\G; *************************** 1. row *************************** _id_: 31 _hash_:0 码力 | 1058 页 | 740.85 KB | 1 年前3
FISCO BCOS 2.3.0 中文文档配置过程需要修改applicationContext.xml文件,需要修改的配置项包括topic配 置node.topic,MySQL配置信息配置包括db.ip、db.port、db.database、 db.user和db.password。 为Group1的A节点配置amdb-proxy 将~/fisco/dist_Group1_A/conf/applicationContext.xml修改为如下配置(部分信 address. grantDeployAndCreateManager Grant permission for deploy contract and create user table by address. grantNodeManager Grant permission for node configuration for system configuration by address. grantUserTableManager Grant permission for user table by table name and address. help(h) Provide help information0 码力 | 1227 页 | 10.79 MB | 1 年前3
Weblate 4.2 用户文档2020 年 08 月 18 日 User docs 1 User docs 1 1.1 Weblate basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Registration and user profile . . . . . . . . . . . . . . . . . . . . . 391 Python 模块索引 395 HTTP Routing Table 396 索引 398 ii CHAPTER1 User docs 1.1 Weblate basics 1.1.1 Project structure In Weblate translations are organized into projects configuration, still producing errors for seemingly inconsistent resulting translations. 1.2 Registration and user profile 1.2.1 注册 Everybody can browse projects, view translations or suggest translations by default0 码力 | 410 页 | 4.56 MB | 1 年前3
共 759 条
- 1
- 2
- 3
- 4
- 5
- 6
- 76













