MCPcopy Create free account

hub / github.com/xxjwxc/public / functions

Functions2,676 in github.com/xxjwxc/public

↓ 5 callersMethodAddListHandler
AddListHandler add list handler
mycui/select.go:69
↓ 5 callersFunctionBuildDir
BuildDir 创建目录
tools/file.go:24
↓ 5 callersMethodCreatedOn
CreatedOn returns when this item was added to the cache.
mycache/cache2go/cacheitem.go:85
↓ 5 callersMethodDraw
()
mycui/type.go:21
↓ 5 callersMethodGetKey
()
myhwoss/obs/model_header.go:18
↓ 5 callersMethodGetLabel
()
mycui/type.go:16
↓ 5 callersMethodGetParameterChoice
()
mytriton/grpc-client/grpc_service.pb.go:744
↓ 5 callersFunctionHmacSha256
HmacSha256 get hmac sha256 value if input
myhwoss/obs/util.go:152
↓ 5 callersFunctionInt64ToString
Int64ToString converts int64 value to string value
myhwoss/obs/util.go:111
↓ 5 callersFunctionNewCacheItem
NewCacheItem returns a newly created CacheItem. Parameter key is the item's cache-key. Parameter lifeSpan determines after which time period without a
mycache/cache2go/cacheitem.go:43
↓ 5 callersFunctionParsePutObjectOutput
ParsePutObjectOutput sets PutObjectOutput field values with response headers
myhwoss/obs/convert.go:741
↓ 5 callersFunctionReadAll
ReadAll read string from clipboard
myclipboard/clipboard/clipboard.go:9
↓ 5 callersMethodServerLive
@@ .. cpp:var:: rpc ServerLive(ServerLiveRequest) returns @@ (ServerLiveResponse) @@ @@ Check liveness of the inference server. @@
mytriton/grpc-client/grpc_service_grpc.pb.go:79
↓ 5 callersMethodSign
(timestamp int64)
myding/myding.go:77
↓ 5 callersFunctionStringContains
StringContains replaces subStr in src with subTranscoding and returns the new string
myhwoss/obs/util.go:42
↓ 5 callersFunctionWriteAll
WriteAll write string to clipboard
myclipboard/clipboard/clipboard.go:14
↓ 5 callersFunctioncallers
()
errors/stack.go:133
↓ 5 callersMethodcheckParamsWithObjectKey
(objectKey string)
myhwoss/obs/http.go:60
↓ 5 callersMethoddoActionWithBucketAndKeyWithProgress
(action, method, bucketName, objectKey string, input ISerializable, output IBaseModel, extensions []extensionO
myhwoss/obs/http.go:92
↓ 5 callersMethodgetIndexFrom
getIndexFrom 根据用户key返回其数据在visitorRecords中的下标
ratelimit/single_rule.go:85
↓ 5 callersFunctionisDebugLogEnabled
()
myhwoss/obs/log.go:170
↓ 5 callersMethodlog
Internal logging method for convenience.
mycache/cache2go/cachetable.go:410
↓ 4 callersMethodAddRule
* AddRule 增加用户访问控制策略,例: r.AddRule(time.Minute*5, 20) 在5分钟内每个用户最多允许访问20次 r.AddRule(time.Minute*30, 50) 在30分钟内每个用户最多允许访问50次 r.AddRule(time.Hour*24, 2
ratelimit/rule.go:38
↓ 4 callersMethodBase32
Base32 uses the z-base-32 character set but encodes and decodes similar to base58, allowing it to create an even smaller result string. NOTE: There ar
myglobal/snowflake/snowflake.go:201
↓ 4 callersMethodBase58
Base58 returns a base58 string of the snowflake ID
myglobal/snowflake/snowflake.go:250
↓ 4 callersFunctionCause
Cause returns the underlying cause of the error, if possible. An error value has a cause if it implements the following interface: type causer interf
errors/errors.go:270
↓ 4 callersMethodDebug
(a ...interface{})
mylog/mylog.go:10
↓ 4 callersMethodEqualAt
EqualAt 获取相等位置下标,不重复返回-1
mysort/common.go:13
↓ 4 callersFunctionGetDay0
GetDay0 获取给定日期的零点时间
tools/timeTools.go:75
↓ 4 callersMethodGetEncryption
()
myhwoss/obs/model_header.go:17
↓ 4 callersFunctionGetJSONStr
"github.com/ant0ine/go-json-rest/rest" func GetRequestJsonObj(r *rest.Request, v interface{}) error { //添加支持json 操作 body, err := ioutil.ReadAll(r.Bo
tools/json.go:55
↓ 4 callersMethodGetObjectMetadata
GetObjectMetadata gets object metadata. You can use this API to send a HEAD request to the object of a specified bucket to obtain its metadata.
myhwoss/obs/client_object.go:190
↓ 4 callersMethodGetParameterChoice
()
mytriton/grpc-client/grpc_service.pb.go:2279
↓ 4 callersFunctionGetTimeStr
GetTimeStr 获取时间字符串
tools/timeTools.go:170
↓ 4 callersFunctionGetUtcTime
GetUtcTime 获取本地时间戳
tools/timeTools.go:10
↓ 4 callersFunctionHmacSha1
HmacSha1 gets hmac sha1 value of input
myhwoss/obs/util.go:142
↓ 4 callersMethodID
()
mywebsocket/socket.go:49
↓ 4 callersMethodInfo
(a ...interface{})
mylog/mylog.go:12
↓ 4 callersMethodModelInfer
@@ .. cpp:var:: rpc ModelInfer(ModelInferRequest) returns @@ (ModelInferResponse) @@ @@ Perform inference using a specific model. @@
mytriton/grpc-client/grpc_service_grpc.pb.go:109
↓ 4 callersFunctionNew
New 创建
myqueue/myqueue.go:24
↓ 4 callersFunctionNewCache
NewCache 初始化一个cache,cachename 缓存名字
mycache/mycache.go:37
↓ 4 callersMethodNotFoundAdd
NotFoundAdd checks whether an item is not yet cached. Unlike the Exists method this also adds data if the key could not be found.
mycache/cache2go/cachetable.go:264
↓ 4 callersFunctionParseBytes
ParseBytes converts a byte slice into a snowflake ID
myglobal/snowflake/snowflake.go:306
↓ 4 callersFunctionParseGetObjectMetadataOutput
ParseGetObjectMetadataOutput sets GetObjectMetadataOutput field values with response headers
myhwoss/obs/convert.go:691
↓ 4 callersFunctionParseResponseToObsError
ParseResponseToObsError gets obsError from OBS
myhwoss/obs/convert.go:989
↓ 4 callersMethodPop
Pop 取出队列,(阻塞模式)
myqueue/myqueue.go:33
↓ 4 callersMethodPush
Push 插入队列,非阻塞
myqueue/myqueue.go:127
↓ 4 callersMethodRead
(p []byte)
myssh/reader.go:25
↓ 4 callersMethodRemainingVisits
* RemainingVisits 某用户剩余访问次数,例:RemainingVisits("username") */
ratelimit/rule.go:100
↓ 4 callersMethodSetAboutToDeleteItemCallback
SetAboutToDeleteItemCallback configures a callback, which will be called every time an item is about to be removed from the cache.
mycache/cache2go/cachetable.go:95
↓ 4 callersMethodSetAboutToExpireCallback
SetAboutToExpireCallback configures a callback, which will be called right before the item is about to be removed from the cache.
mycache/cache2go/cacheitem.go:111
↓ 4 callersMethodSetReadDeadline
(t time.Time)
myhwoss/obs/http.go:667
↓ 4 callersMethodStop
Stop 发送停止信号
mynotify/mynotify.go:46
↓ 4 callersMethodStop
()
myrocketmq/myrocketmq.go:104
↓ 4 callersFunctionStrToTime
GetUtcDay0 获取offset 0点时间 func GetUtcDay0(now time.Time, timeZone *time.Location) int64 { tm := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0,
tools/timeTools.go:94
↓ 4 callersMethodString
()
message/errcode_string.go:190
↓ 4 callersMethodValue
添加一个元素
myredis/myredis.go:16
↓ 4 callersFunctionWriteFile
WriteFile 写入文件
tools/file.go:97
↓ 4 callersMethodWriteMessage
(byteMessage []byte)
mywebsocket/socket.go:57
↓ 4 callersFunctionabortTask
(bucket, key, uploadID string, obsClient *ObsClient, extensions []extensionOptions)
myhwoss/obs/transfer.go:249
↓ 4 callersMethodbroad
阔张
fractional/fractional.go:37
↓ 4 callersMethoddealIdent
(astPkg *ast.Package, exp *ast.Ident, info *mydoc.ElementInfo, structName string)
myast/myast.go:199
↓ 4 callersMethoddealSelectorExpr
(exp *ast.SelectorExpr, info *mydoc.ElementInfo, importMP map[string]string)
myast/myast.go:183
↓ 4 callersMethoddeleteExpired
deleteExpired 删除过期数据
ratelimit/single_rule.go:165
↓ 4 callersFunctiongetCredential
(ak, region, shortDate string)
myhwoss/obs/auth.go:319
↓ 4 callersMethodgetKey
(key interface{})
myredis1/myredis.go:55
↓ 4 callersMethodgetLastViewPosition
()
mycui/form.go:370
↓ 4 callersFunctiongetSignature
(stringToSign, sk, region, shortDate string)
myhwoss/obs/auth.go:341
↓ 4 callersMethodnewSession
newSession new session
myssh/myssh.go:202
↓ 4 callersMethodoffset
压缩 整理
fractional/fractional.go:43
↓ 4 callersFunctionsetHeadersNext
(headers map[string][]string, header string, headerNext string, headerValue []string, isObs bool)
myhwoss/obs/trait_base.go:38
↓ 4 callersFunctionsetSseHeader
(headers map[string][]string, sseHeader ISseHeader, sseCOnly bool, isObs bool)
myhwoss/obs/trait_base.go:140
↓ 4 callersFunctionstripSpace
stripSpace Strip space
wordsfilter/words_filter.go:111
↓ 4 callersFunctionupdateCheckpointFile
(fc interface{}, checkpointFilePath string)
myhwoss/obs/transfer.go:138
↓ 3 callersMethodAdd
Add adds a key/value pair to the cache. Parameter key is the item's cache-key. Parameter lifeSpan determines after which time period without an access
mycache/cache2go/cachetable.go:201
↓ 3 callersMethodAddAddedItemCallback
AddAddedItemCallback appends a new callback to the addedItem queue
mycache/cache2go/cachetable.go:80
↓ 3 callersMethodAddHandlerOnly
(Key, Handler)
mycui/type.go:23
↓ 3 callersFunctionCheckParam
CheckParam 检测参数
tools/check.go:12
↓ 3 callersMethodClear
删除一个
myredis/myredis.go:19
↓ 3 callersMethodCount
Count returns how many items are currently stored in the cache.
mycache/cache2go/cachetable.go:43
↓ 3 callersFunctionDebug
Debug level debug
mylog/mylog.go:59
↓ 3 callersFunctionErrorString
ErrorString 打印错误信息
mylog/mylog.go:99
↓ 3 callersMethodExecute
(t Task)
myhwoss/obs/pool.go:161
↓ 3 callersFunctionGcd
Gcd 最大公约数:(辗转相除法)
mymath/mymath.go:6
↓ 3 callersFunctionGetContentType
(key string)
myhwoss/obs/util.go:588
↓ 3 callersMethodGetInputDataType
()
mytriton/grpc-client/model_config.pb.go:4837
↓ 3 callersMethodGetKeyMD5
GetKeyMD5 gets the KeyMD5 field value from SseCHeader
myhwoss/obs/trait_base.go:129
↓ 3 callersMethodGetMaxWorkerCnt
()
myhwoss/obs/pool.go:163
↓ 3 callersFunctionGetModelPath
GetModelPath 获取程序运行目录
tools/file.go:77
↓ 3 callersMethodGetParameterChoice
()
mytriton/grpc-client/grpc_service.pb.go:4483
↓ 3 callersMethodGetParameterChoice
()
mytriton/grpc-client/grpc_service.pb.go:4593
↓ 3 callersMethodGetPolicyChoice
()
mytriton/grpc-client/model_config.pb.go:1570
↓ 3 callersMethodGetPosition
()
mycui/type.go:17
↓ 3 callersMethodGetSchedulingChoice
()
mytriton/grpc-client/model_config.pb.go:2915
↓ 3 callersMethodGetSelectedOpts
GetSelectedOpts get selected options
mycui/form.go:211
↓ 3 callersFunctionGetService
获取服务名
dev/dev.go:36
↓ 3 callersFunctionHex
Hex wrapper of hex.EncodeToString
myhwoss/obs/util.go:216
↓ 3 callersMethodIntBytes
IntBytes returns an array of bytes of the snowflake ID, encoded as a big endian integer.
myglobal/snowflake/snowflake.go:313
↓ 3 callersMethodIsExist
获取一个value
myredis/myredis.go:17
↓ 3 callersFunctionIsInternalType
IsInternalType 是否是内部类型
tools/check.go:60
← previousnext →101–200 of 2,676, ranked by callers