Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
thibaultcha
lua-resty-jit-uuid
提交
d28018fe
L
lua-resty-jit-uuid
项目概览
镜像
/
thibaultcha
/
lua-resty-jit-uuid
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
lua-resty-jit-uuid
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d28018fe
编写于
1月 17, 2017
作者:
T
Thibault Charbonnier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore(dist) bump to 0.0.6
上级
f8bf5f64
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
24 addition
and
10 deletion
+24
-10
README.md
README.md
+1
-1
docs/index.html
docs/index.html
+19
-5
lib/resty/jit-uuid.lua
lib/resty/jit-uuid.lua
+2
-2
lua-resty-jit-uuid-0.0.6-1.rockspec
lua-resty-jit-uuid-0.0.6-1.rockspec
+2
-2
未找到文件。
README.md
浏览文件 @
d28018fe
...
...
@@ -162,4 +162,4 @@ Work licensed under the MIT License.
[
badge-coveralls-url
]:
https://coveralls.io/r/thibaultcha/lua-resty-jit-uuid?branch=master
[
badge-coveralls-image
]:
https://coveralls.io/repos/thibaultcha/lua-resty-jit-uuid/badge.svg?branch=master&style=flat
[
badge-version-image
]:
https://img.shields.io/badge/version-0.0.
5
-blue.svg?style=flat
[
badge-version-image
]:
https://img.shields.io/badge/version-0.0.
6
-blue.svg?style=flat
docs/index.html
浏览文件 @
d28018fe
...
...
@@ -50,7 +50,7 @@
</p>
<h3>
Info:
</h3>
<ul>
<li><strong>
Release
</strong>
: 0.0.
5
</li>
<li><strong>
Release
</strong>
: 0.0.
6
</li>
<li><strong>
License
</strong>
: MIT
</li>
<li><strong>
Author
</strong>
: Thibault Charbonnier
</li>
</ul>
...
...
@@ -59,7 +59,7 @@
<h2><a
href=
"#Functions"
>
Functions
</a></h2>
<table
class=
"function_list"
>
<tr>
<td
class=
"name"
nowrap
><a
href=
"#seed"
>
seed ()
</a></td>
<td
class=
"name"
nowrap
><a
href=
"#seed"
>
seed (
seed
)
</a></td>
<td
class=
"summary"
>
Seed the random number generator.
</td>
</tr>
<tr>
...
...
@@ -97,7 +97,7 @@
<dl
class=
"function"
>
<dt>
<a
name =
"seed"
></a>
<strong>
seed ()
</strong>
<strong>
seed (
seed
)
</strong>
</dt>
<dd>
Seed the random number generator.
...
...
@@ -111,7 +111,21 @@
can do it for you if you'd like, with some added guarantees.
<h3>
Parameters:
</h3>
<ul>
<li><span
class=
"parameter"
>
seed
</span>
<span
class=
"types"
><span
class=
"type"
>
number
</span></span>
(Optional) A seed to use. If none given, will
generate one trying to use the most appropriate technique.
</li>
</ul>
<h3>
Returns:
</h3>
<ol>
<span
class=
"types"
><span
class=
"type"
>
number
</span></span>
<a
href=
"index.html#seed"
>
seed
</a>
: the seed given to
<a
href=
"https://www.lua.org/manual/5.1/manual.html#pdf-math.randomseed"
>
math.randomseed
</a>
.
</ol>
...
...
@@ -392,8 +406,8 @@ uuid.is_valid <span class="string">'cbb297c0-a956-486d-ad1d-f9bZZZZZZZZZ'</span>
</div>
<!-- id="content" -->
</div>
<!-- id="main" -->
<div
id=
"about"
>
<i>
generated by
<a
href=
"http://github.com/stevedonovan/LDoc"
>
LDoc 1.4.
5
</a></i>
<i
style=
"float:right;"
>
Last updated 201
6-08-25 12:09:5
7
</i>
<i>
generated by
<a
href=
"http://github.com/stevedonovan/LDoc"
>
LDoc 1.4.
6
</a></i>
<i
style=
"float:right;"
>
Last updated 201
7-01-17 17:53:4
7
</i>
</div>
<!-- id="about" -->
</div>
<!-- id="container" -->
</body>
...
...
lib/resty/jit-uuid.lua
浏览文件 @
d28018fe
...
...
@@ -5,7 +5,7 @@
-- @module jit-uuid
-- @author Thibault Charbonnier
-- @license MIT
-- @release 0.0.
5
-- @release 0.0.
6
local
bit
=
require
'bit'
...
...
@@ -17,7 +17,7 @@ local bor = bit.bor
local
_M
=
{
_VERSION
=
'0.0.
5
'
_VERSION
=
'0.0.
6
'
}
...
...
lua-resty-jit-uuid-0.0.
5
-1.rockspec
→
lua-resty-jit-uuid-0.0.
6
-1.rockspec
浏览文件 @
d28018fe
package
=
"lua-resty-jit-uuid"
version
=
"0.0.
5
-1"
version
=
"0.0.
6
-1"
source
=
{
url
=
"git://github.com/thibaultcha/lua-resty-jit-uuid"
,
tag
=
"0.0.
5
"
tag
=
"0.0.
6
"
}
description
=
{
summary
=
"Fast and dependency-free uuid generation for OpenResty/LuaJIT"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录