Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/xxjwxc/public
/ functions
Functions
2,676 in github.com/xxjwxc/public
⨍
Functions
2,676
◇
Types & classes
629
↓ 3 callers
Method
KeepAlive
KeepAlive marks an item to be kept for another expireDuration period.
mycache/cache2go/cacheitem.go:64
↓ 3 callers
Function
Lcm
Lcm 最小公倍数:((x*y)/最大公约数)
mymath/mymath.go:23
↓ 3 callers
Method
Len
()
myhwoss/obs/trait_other.go:24
↓ 3 callers
Method
MarshalJSON
MarshalJSON returns a json byte array string of the snowflake ID.
myglobal/snowflake/snowflake.go:344
↓ 3 callers
Function
NewBasicSecurityProvider
(ak, sk, securityToken string)
myhwoss/obs/provider.go:62
↓ 3 callers
Method
NewConsumer
消费者
myrabbitmq/myrocketmq.go:135
↓ 3 callers
Function
ParseBase2
ParseBase2 converts a Base2 string into a snowflake ID
myglobal/snowflake/snowflake.go:192
↓ 3 callers
Function
ParseBase36
ParseBase36 converts a Base36 string into a snowflake ID
myglobal/snowflake/snowflake.go:244
↓ 3 callers
Function
ParseBase64
ParseBase64 converts a base64 string into a snowflake ID
myglobal/snowflake/snowflake.go:291
↓ 3 callers
Function
ParseGetBucketMetadataOutput
ParseGetBucketMetadataOutput sets GetBucketMetadataOutput field values with response headers
myhwoss/obs/convert.go:792
↓ 3 callers
Function
ParseGetObjectOutput
ParseGetObjectOutput sets GetObjectOutput field values with response headers
myhwoss/obs/convert.go:882
↓ 3 callers
Function
ParseResponseToBaseModel
ParseResponseToBaseModel gets response from OBS
myhwoss/obs/convert.go:948
↓ 3 callers
Function
ParseString
ParseString converts a string into a snowflake ID
myglobal/snowflake/snowflake.go:180
↓ 3 callers
Method
PutObject
PutObject uploads an object to the specified bucket.
myhwoss/obs/client_object.go:256
↓ 3 callers
Method
Read
(b []byte)
myhwoss/obs/http.go:615
↓ 3 callers
Method
RemoveAddedItemCallbacks
RemoveAddedItemCallbacks empties the added item callback queue
mycache/cache2go/cachetable.go:87
↓ 3 callers
Method
Search
* 添加记录,覆盖添加 index_name type_name query interface{} //查询条件 out *[]Param //查询结果 */
myelastic/myelastic.go:238
↓ 3 callers
Method
SendMsg
(msg MsgInfo)
myding/myding.go:56
↓ 3 callers
Method
SetAddedItemCallback
SetAddedItemCallback configures a callback, which will be called every time a new item is added to the cache.
mycache/cache2go/cachetable.go:70
↓ 3 callers
Method
SetDataLoader
SetDataLoader configures a data-loader callback, which will be called when trying to access a non-existing key. The key and 0...n additional arguments
mycache/cache2go/cachetable.go:62
↓ 3 callers
Method
String
String returns a string of the snowflake ID
myglobal/snowflake/snowflake.go:175
↓ 3 callers
Function
StringToInt
StringToInt converts string value to int value with default value
myhwoss/obs/util.go:88
↓ 3 callers
Function
TransToXml
TransToXml wrapper of xml.Marshal
myhwoss/obs/util.go:208
↓ 3 callers
Method
UnFocus
()
mycui/type.go:20
↓ 3 callers
Function
buildRelativePath
(prepath, routerPath string)
mydoc/common.go:76
↓ 3 callers
Function
checkAndLogErr
(err error, level Level, format string, v ...interface{})
myhwoss/obs/log.go:336
↓ 3 callers
Method
checkPanic
()
myhwoss/obs/pool.go:41
↓ 3 callers
Function
cleanHeaderPrefix
(header http.Header)
myhwoss/obs/convert.go:30
↓ 3 callers
Function
convertGrantToXML
(grant Grant, isObs bool, isBucket bool)
myhwoss/obs/convert.go:106
↓ 3 callers
Method
doActionWithBucketAndKeyV2
(action, method, bucketName, objectKey string, input ISerializable, output IBaseModel, extensions []extensionO
myhwoss/obs/http.go:102
↓ 3 callers
Method
doActionWithBucketV2
(action, method, bucketName string, input ISerializable, output IBaseModel, extensions []extensionOptions)
myhwoss/obs/http.go:68
↓ 3 callers
Function
formatMs
(dur time.Duration)
myredis/rediscon.go:375
↓ 3 callers
Function
formatSec
(dur time.Duration)
myredis/rediscon.go:382
↓ 3 callers
Method
getSecurity
()
myhwoss/obs/client_other.go:29
↓ 3 callers
Function
getV2StringToSign
(method, canonicalizedURL string, headers map[string][]string, isObs bool)
myhwoss/obs/authV2.go:19
↓ 3 callers
Function
getV4StringToSign
(method, canonicalizedURL, queryURL, scope, longDate, payload string, signedHeaders []string, headers map[stri
myhwoss/obs/authV4.go:20
↓ 3 callers
Method
refresh
(ak, sk, securityToken string)
myhwoss/obs/provider.go:58
↓ 3 callers
Method
remainingVisits
remainingVisits 剩余访问次数
ratelimit/single_rule.go:134
↓ 3 callers
Function
setHeaderPrefix
(key string, value string)
myhwoss/obs/extension.go:29
↓ 3 callers
Method
tempQueueIsFull
用于备份数据的时候,判断虚拟队列是否已满
ratelimit/circle_queue.go:141
↓ 3 callers
Function
usePrecise
type redisConOlny struct { base con redis.Conn } Destory 析构 func (mc *redisConOlny) Destory() { mc.mtx.Lock() defer mc.mtx.Unlock() if mc.con !=
myredis/rediscon.go:371
↓ 3 callers
Method
usedSize
判断队列已使用多少个元素
ratelimit/circle_queue.go:156
↓ 3 callers
Function
v2Auth
(ak, sk, method, canonicalizedURL string, headers map[string][]string, isObs bool)
myhwoss/obs/authV2.go:52
↓ 3 callers
Function
v4Auth
(ak, sk, region, method, canonicalizedURL, queryURL string, headers map[string][]string)
myhwoss/obs/authV4.go:87
↓ 2 callers
Method
AbortMultipartUpload
AbortMultipartUpload aborts a multipart upload in a specified bucket by using the multipart upload ID.
myhwoss/obs/client_part.go:45
↓ 2 callers
Method
AddAboutToDeleteItemCallback
AddAboutToDeleteItemCallback appends a new callback to the AboutToDeleteItem queue
mycache/cache2go/cachetable.go:105
↓ 2 callers
Method
AddAboutToExpireCallback
AddAboutToExpireCallback appends a new callback to the AboutToExpire queue
mycache/cache2go/cacheitem.go:121
↓ 2 callers
Method
AddCurrentWorkingCnt
(value int64)
myhwoss/obs/pool.go:166
↓ 2 callers
Method
AddDefinitions
AddDefinitions 添加 通用结构体定义
mydoc/myswagger/myswagger.go:45
↓ 2 callers
Method
AddMaxWorkerCnt
(value int64)
myhwoss/obs/pool.go:164
↓ 2 callers
Method
AddPatch
AddPatch ... API 路径 paths 和操作在 API 规范的全局部分定义
mydoc/myswagger/myswagger.go:59
↓ 2 callers
Method
AddTag
AddTag add tag (排他)
mydoc/myswagger/myswagger.go:34
↓ 2 callers
Method
AddWithArgs
添加带参数的任务
myrunner/myrunner.go:59
↓ 2 callers
Method
AllowVisit
* AllowVisit 是否还允许某用户访问,如果访问量过多,超出各细分规则中任何一条规则规定的访问量,则不允许访问 无论是否允许访问都会尝试在各细分访问规则记录中增加一条访问日志记录,函数AllowVisit也可以认为 是AddRecords 例: AllowVisit("usern
ratelimit/rule.go:67
↓ 2 callers
Method
Base2
Base2 returns a string base2 of the snowflake ID
myglobal/snowflake/snowflake.go:187
↓ 2 callers
Method
Base36
Base36 returns a base36 string of the snowflake ID
myglobal/snowflake/snowflake.go:239
↓ 2 callers
Method
Base64
Base64 returns a base64 string of the snowflake ID
myglobal/snowflake/snowflake.go:286
↓ 2 callers
Method
Cause
()
errors/errors.go:272
↓ 2 callers
Method
Clear
删除一个
mycache/mycache.go:22
↓ 2 callers
Method
CloseValidateMsg
CloseValidateMsg close validate error message
mycui/validator.go:68
↓ 2 callers
Method
CompleteMultipartUpload
CompleteMultipartUpload combines the uploaded parts in a specified bucket by using the multipart upload ID.
myhwoss/obs/client_part.go:175
↓ 2 callers
Function
ConvertRequestToIoReader
ConvertRequestToIoReader converts req to XML data
myhwoss/obs/convert.go:914
↓ 2 callers
Function
ConvertRequestToIoReaderV2
ConvertRequestToIoReaderV2 converts req to XML data
myhwoss/obs/convert.go:905
↓ 2 callers
Method
CreateBucket
CreateBucket creates a bucket. You can use this API to create a bucket and name it as you specify. The created bucket name must be unique in OBS.
myhwoss/obs/client_bucket.go:102
↓ 2 callers
Method
CudaSharedMemoryRegister
@@ .. cpp:var:: rpc CudaSharedMemoryRegister( @@ CudaSharedMemoryRegisterRequest) @@ returns (CudaSharedMemoryR
mytriton/grpc-client/grpc_service_grpc.pb.go:181
↓ 2 callers
Method
CudaSharedMemoryStatus
@@ .. cpp:var:: rpc CudaSharedMemoryStatus( @@ CudaSharedMemoryStatusRequest) @@ returns (CudaSharedMemoryStatu
mytriton/grpc-client/grpc_service_grpc.pb.go:174
↓ 2 callers
Method
CudaSharedMemoryUnregister
@@ .. cpp:var:: rpc CudaSharedMemoryUnregister( @@ CudaSharedMemoryUnregisterRequest) @@ returns (CudaSharedMem
mytriton/grpc-client/grpc_service_grpc.pb.go:188
↓ 2 callers
Function
DecodeByte
DecodeByte 解码二进制
tools/convert.go:77
↓ 2 callers
Method
Delete
Delete 删除一个cache
myredis/pool.go:113
↓ 2 callers
Method
Delete
判断是否存在
myredis/myredis.go:18
↓ 2 callers
Method
DeleteObjects
DeleteObjects deletes objects in a batch. You can use this API to batch delete objects from a specified bucket.
myhwoss/obs/client_object.go:122
↓ 2 callers
Function
EncodeByte
EncodeByte 编码二进制
tools/convert.go:65
↓ 2 callers
Method
ExecuteFunc
ExecuteFunc creates a funcWrapper instance with the specified function and calls the Execute function
myhwoss/obs/pool.go:354
↓ 2 callers
Function
FormatTime
FormatTime 格式化时间
tools/timeTools.go:165
↓ 2 callers
Method
Generate
Generate Convert sensitive text lists into sensitive word tree nodes
wordsfilter/words_filter.go:32
↓ 2 callers
Method
GetAPIString
GetAPIString 获取返回数据
mydoc/myswagger/myswagger.go:87
↓ 2 callers
Method
GetBoolStr
GetBoolStr 获取bool类型字符串
mydoc/mymarkdown/mymarkdown.go:43
↓ 2 callers
Method
GetCheckBoxStates
GetCheckBoxStates get checkbox states
mycui/form.go:191
↓ 2 callers
Method
GetFieldText
GetFieldText get input field text
mycui/inputField.go:246
↓ 2 callers
Method
GetFieldTexts
GetFieldTexts form data
mycui/form.go:171
↓ 2 callers
Function
GetFileHost
获取文件host
dev/dev.go:46
↓ 2 callers
Function
GetKvType
GetKvType 获取类型转换
mydoc/myswagger/myswagger.go:114
↓ 2 callers
Function
GetLocalSystemLang
GetLocalSystemLang 获取本地语言 (like:zh_CN.UTF-8)(simple:zh)
tools/local.go:14
↓ 2 callers
Method
GetObjectWithoutProgress
(input *GetObjectInput, extensions ...extensionOptions)
myhwoss/obs/client_object.go:240
↓ 2 callers
Method
GetSelected
GetSelected get selected option
mycui/select.go:75
↓ 2 callers
Method
GetStateData
()
mytriton/grpc-client/model_config.pb.go:4269
↓ 2 callers
Method
GetStrategyChoice
()
mytriton/grpc-client/model_config.pb.go:2131
↓ 2 callers
Method
GetTableInfo
GetTableInfo 获取table表格
mydoc/mymarkdown/mymarkdown.go:52
↓ 2 callers
Function
GetTimeWeek
GetTimeWeek 获取给定时间的星期
tools/timeTools.go:34
↓ 2 callers
Method
GetTypeList
GetTypeList 转换typelist
mydoc/mymarkdown/mymarkdown.go:62
↓ 2 callers
Method
GetValueType
GetValueType 根据类型获取内容
mydoc/mymarkdown/mymarkdown.go:70
↓ 2 callers
Method
GetWorkerCnt
()
myhwoss/obs/pool.go:167
↓ 2 callers
Function
Getenv
Getenv 获取本地系统变量
tools/local.go:9
↓ 2 callers
Method
InitiateMultipartUpload
InitiateMultipartUpload initializes a multipart upload.
myhwoss/obs/client_part.go:61
↓ 2 callers
Method
IsStart
(name string)
server/server_linux.go:13
↓ 2 callers
Method
LogSettings
@@ .. cpp:var:: rpc LogSettings(LogSettingsRequest) @@ returns (LogSettingsResponse) @@ @@ Update and get the log settings of t
mytriton/grpc-client/grpc_service_grpc.pb.go:200
↓ 2 callers
Function
Md5
Md5 gets the md5 value of input
myhwoss/obs/util.go:132
↓ 2 callers
Method
ModelConfig
@@ .. cpp:var:: rpc ModelConfig(ModelConfigRequest) returns @@ (ModelConfigResponse) @@ @@ Get model configuration. @@
mytriton/grpc-client/grpc_service_grpc.pb.go:121
↓ 2 callers
Method
ModelMetadata
@@ .. cpp:var:: rpc ModelMetadata(ModelMetadataRequest) returns @@ (ModelMetadataResponse) @@ @@ Get model metadata. @@
mytriton/grpc-client/grpc_service_grpc.pb.go:103
↓ 2 callers
Method
ModelReady
@@ .. cpp:var:: rpc ModelReady(ModelReadyRequest) returns @@ (ModelReadyResponse) @@ @@ Check readiness of a model in the inference server.
mytriton/grpc-client/grpc_service_grpc.pb.go:91
← previous
next →
201–300 of 2,676, ranked by callers