ex2.sc
来自「基于chord算法的p2p文件系统。A p2p file system base」· SC 代码 · 共 27 行
SC
27 行
# NOTE: the simulation may take up to 30 min depending on the machine# create 1,000 nodes (a new node joins every second) ...events 1000 1000 100 0 0 0 0# ... wait 1 min for network to stabilize ... wait 60000# ... insert 10,000 documents...events 10000 1000 0 0 0 100 0 # ... wait 1 minute for network to stabilize ...wait 60000# ... fail 500 nodes at the same time ...events 500 0 0 0 100 0 0# ... initiate 10,000 queries ...events 10000 1000 0 0 0 0 100# ... wait 1 min for outstanding queries to complete ...wait 60000# ... terminateexit
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?