• 大小: 571KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-13
  • 语言: 其他
  • 标签: atom  

资源简介

atom- linter插件集合,方便网络出错的用户下载。用法参考我的博客https://blog.csdn.net/qq_36731677/article/details/80259085

资源截图

代码片段和文件信息

/*
Test performance of native C UUID generation

To Compile: cc -luuid benchmark-native.c -o benchmark-native
*/

#include 
#include 
#include 
#include 

int main() {
  uuid_t myid;
  char buf[36+1];
  int i;
  struct timeval t;
  double start finish;

  gettimeofday(&t NULL);
  start = t.tv_sec + t.tv_usec/1e6;

  int n = 2e5;
  for (i = 0; i < n; i++) {
    uuid_generate(myid);
    uuid_unparse(myid buf);
  }

  gettimeofday(&t NULL);
  finish = t.tv_sec + t.tv_usec/1e6;
  double dur = finish - start;

  printf(“%d uuids/sec“ (int)(n/dur));
  return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-09-25 00:06  linter\
     文件         414  2017-07-06 09:45  linter\.editorconfig
     文件           6  2017-07-06 09:45  linter\.eslintignore
     文件         221  2017-07-06 09:45  linter\.eslintrc.json
     文件         148  2017-07-06 09:45  linter\.flowconfig
     文件          68  2017-07-06 09:45  linter\.gitattributes
     文件          69  2017-07-06 09:45  linter\.npmignore
     文件        1181  2017-07-06 09:45  linter\CHANGELOG.md
     文件        5457  2017-07-06 09:45  linter\CONTRIBUTING.md
     文件        1059  2017-07-06 09:45  linter\LICENSE.md
     文件       11095  2017-07-06 09:45  linter\README.md
     文件         386  2017-07-06 09:45  linter\appveyor.yml
     文件         359  2017-07-06 09:45  linter\circle.yml
     目录           0  2017-09-25 00:06  linter\decls\
     文件         434  2017-07-06 09:45  linter\decls\atom.js
     文件         544  2017-07-06 09:45  linter\decls\jasmine.js
     目录           0  2017-09-25 00:06  linter\docs\
     文件         787  2017-07-06 09:45  linter\docs\README.md
     文件          27  2017-07-06 09:45  linter\docs\_config.yml
     目录           0  2017-09-25 00:06  linter\docs\examples\
     文件        2227  2017-07-06 09:45  linter\docs\examples\indie-linter-v2.md
     文件        1784  2017-07-06 09:45  linter\docs\examples\standard-linter-v2.md
     文件        1844  2017-07-06 09:45  linter\docs\examples\ui-provider-v1.md
     目录           0  2017-09-25 00:06  linter\docs\guides\
     文件        1819  2017-07-06 09:45  linter\docs\guides\upgrading-to-indie-linter-v2.md
     文件        2866  2017-07-06 09:45  linter\docs\guides\upgrading-to-standard-linter-v2.md
     目录           0  2017-09-25 00:06  linter\docs\types\
     文件        1296  2017-07-06 09:45  linter\docs\types\indie-linter-v2.md
     文件        2947  2017-07-06 09:45  linter\docs\types\linter-message-v2.md
     文件        3050  2017-07-06 09:45  linter\docs\types\standard-linter-v2.md
     文件        1247  2017-07-06 09:45  linter\docs\types\ui-provider-v1.md
............此处省略702个文件信息

评论

共有 条评论