MCPcopy Create free account

hub / github.com/xxjwxc/public / functions

Functions2,676 in github.com/xxjwxc/public

↓ 3 callersMethodKeepAlive
KeepAlive marks an item to be kept for another expireDuration period.
mycache/cache2go/cacheitem.go:64
↓ 3 callersFunctionLcm
Lcm 最小公倍数:((x*y)/最大公约数)
mymath/mymath.go:23
↓ 3 callersMethodLen
()
myhwoss/obs/trait_other.go:24
↓ 3 callersMethodMarshalJSON
MarshalJSON returns a json byte array string of the snowflake ID.
myglobal/snowflake/snowflake.go:344
↓ 3 callersFunctionNewBasicSecurityProvider
(ak, sk, securityToken string)
myhwoss/obs/provider.go:62
↓ 3 callersMethodNewConsumer
消费者
myrabbitmq/myrocketmq.go:135
↓ 3 callersFunctionParseBase2
ParseBase2 converts a Base2 string into a snowflake ID
myglobal/snowflake/snowflake.go:192
↓ 3 callersFunctionParseBase36
ParseBase36 converts a Base36 string into a snowflake ID
myglobal/snowflake/snowflake.go:244
↓ 3 callersFunctionParseBase64
ParseBase64 converts a base64 string into a snowflake ID
myglobal/snowflake/snowflake.go:291
↓ 3 callersFunctionParseGetBucketMetadataOutput
ParseGetBucketMetadataOutput sets GetBucketMetadataOutput field values with response headers
myhwoss/obs/convert.go:792
↓ 3 callersFunctionParseGetObjectOutput
ParseGetObjectOutput sets GetObjectOutput field values with response headers
myhwoss/obs/convert.go:882
↓ 3 callersFunctionParseResponseToBaseModel
ParseResponseToBaseModel gets response from OBS
myhwoss/obs/convert.go:948
↓ 3 callersFunctionParseString
ParseString converts a string into a snowflake ID
myglobal/snowflake/snowflake.go:180
↓ 3 callersMethodPutObject
PutObject uploads an object to the specified bucket.
myhwoss/obs/client_object.go:256
↓ 3 callersMethodRead
(b []byte)
myhwoss/obs/http.go:615
↓ 3 callersMethodRemoveAddedItemCallbacks
RemoveAddedItemCallbacks empties the added item callback queue
mycache/cache2go/cachetable.go:87
↓ 3 callersMethodSearch
* 添加记录,覆盖添加 index_name type_name query interface{} //查询条件 out *[]Param //查询结果 */
myelastic/myelastic.go:238
↓ 3 callersMethodSendMsg
(msg MsgInfo)
myding/myding.go:56
↓ 3 callersMethodSetAddedItemCallback
SetAddedItemCallback configures a callback, which will be called every time a new item is added to the cache.
mycache/cache2go/cachetable.go:70
↓ 3 callersMethodSetDataLoader
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 callersMethodString
String returns a string of the snowflake ID
myglobal/snowflake/snowflake.go:175
↓ 3 callersFunctionStringToInt
StringToInt converts string value to int value with default value
myhwoss/obs/util.go:88
↓ 3 callersFunctionTransToXml
TransToXml wrapper of xml.Marshal
myhwoss/obs/util.go:208
↓ 3 callersMethodUnFocus
()
mycui/type.go:20
↓ 3 callersFunctionbuildRelativePath
(prepath, routerPath string)
mydoc/common.go:76
↓ 3 callersFunctioncheckAndLogErr
(err error, level Level, format string, v ...interface{})
myhwoss/obs/log.go:336
↓ 3 callersMethodcheckPanic
()
myhwoss/obs/pool.go:41
↓ 3 callersFunctioncleanHeaderPrefix
(header http.Header)
myhwoss/obs/convert.go:30
↓ 3 callersFunctionconvertGrantToXML
(grant Grant, isObs bool, isBucket bool)
myhwoss/obs/convert.go:106
↓ 3 callersMethoddoActionWithBucketAndKeyV2
(action, method, bucketName, objectKey string, input ISerializable, output IBaseModel, extensions []extensionO
myhwoss/obs/http.go:102
↓ 3 callersMethoddoActionWithBucketV2
(action, method, bucketName string, input ISerializable, output IBaseModel, extensions []extensionOptions)
myhwoss/obs/http.go:68
↓ 3 callersFunctionformatMs
(dur time.Duration)
myredis/rediscon.go:375
↓ 3 callersFunctionformatSec
(dur time.Duration)
myredis/rediscon.go:382
↓ 3 callersMethodgetSecurity
()
myhwoss/obs/client_other.go:29
↓ 3 callersFunctiongetV2StringToSign
(method, canonicalizedURL string, headers map[string][]string, isObs bool)
myhwoss/obs/authV2.go:19
↓ 3 callersFunctiongetV4StringToSign
(method, canonicalizedURL, queryURL, scope, longDate, payload string, signedHeaders []string, headers map[stri
myhwoss/obs/authV4.go:20
↓ 3 callersMethodrefresh
(ak, sk, securityToken string)
myhwoss/obs/provider.go:58
↓ 3 callersMethodremainingVisits
remainingVisits 剩余访问次数
ratelimit/single_rule.go:134
↓ 3 callersFunctionsetHeaderPrefix
(key string, value string)
myhwoss/obs/extension.go:29
↓ 3 callersMethodtempQueueIsFull
用于备份数据的时候,判断虚拟队列是否已满
ratelimit/circle_queue.go:141
↓ 3 callersFunctionusePrecise
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 callersMethodusedSize
判断队列已使用多少个元素
ratelimit/circle_queue.go:156
↓ 3 callersFunctionv2Auth
(ak, sk, method, canonicalizedURL string, headers map[string][]string, isObs bool)
myhwoss/obs/authV2.go:52
↓ 3 callersFunctionv4Auth
(ak, sk, region, method, canonicalizedURL, queryURL string, headers map[string][]string)
myhwoss/obs/authV4.go:87
↓ 2 callersMethodAbortMultipartUpload
AbortMultipartUpload aborts a multipart upload in a specified bucket by using the multipart upload ID.
myhwoss/obs/client_part.go:45
↓ 2 callersMethodAddAboutToDeleteItemCallback
AddAboutToDeleteItemCallback appends a new callback to the AboutToDeleteItem queue
mycache/cache2go/cachetable.go:105
↓ 2 callersMethodAddAboutToExpireCallback
AddAboutToExpireCallback appends a new callback to the AboutToExpire queue
mycache/cache2go/cacheitem.go:121
↓ 2 callersMethodAddCurrentWorkingCnt
(value int64)
myhwoss/obs/pool.go:166
↓ 2 callersMethodAddDefinitions
AddDefinitions 添加 通用结构体定义
mydoc/myswagger/myswagger.go:45
↓ 2 callersMethodAddMaxWorkerCnt
(value int64)
myhwoss/obs/pool.go:164
↓ 2 callersMethodAddPatch
AddPatch ... API 路径 paths 和操作在 API 规范的全局部分定义
mydoc/myswagger/myswagger.go:59
↓ 2 callersMethodAddTag
AddTag add tag (排他)
mydoc/myswagger/myswagger.go:34
↓ 2 callersMethodAddWithArgs
添加带参数的任务
myrunner/myrunner.go:59
↓ 2 callersMethodAllowVisit
* AllowVisit 是否还允许某用户访问,如果访问量过多,超出各细分规则中任何一条规则规定的访问量,则不允许访问 无论是否允许访问都会尝试在各细分访问规则记录中增加一条访问日志记录,函数AllowVisit也可以认为 是AddRecords 例: AllowVisit("usern
ratelimit/rule.go:67
↓ 2 callersMethodBase2
Base2 returns a string base2 of the snowflake ID
myglobal/snowflake/snowflake.go:187
↓ 2 callersMethodBase36
Base36 returns a base36 string of the snowflake ID
myglobal/snowflake/snowflake.go:239
↓ 2 callersMethodBase64
Base64 returns a base64 string of the snowflake ID
myglobal/snowflake/snowflake.go:286
↓ 2 callersMethodCause
()
errors/errors.go:272
↓ 2 callersMethodClear
删除一个
mycache/mycache.go:22
↓ 2 callersMethodCloseValidateMsg
CloseValidateMsg close validate error message
mycui/validator.go:68
↓ 2 callersMethodCompleteMultipartUpload
CompleteMultipartUpload combines the uploaded parts in a specified bucket by using the multipart upload ID.
myhwoss/obs/client_part.go:175
↓ 2 callersFunctionConvertRequestToIoReader
ConvertRequestToIoReader converts req to XML data
myhwoss/obs/convert.go:914
↓ 2 callersFunctionConvertRequestToIoReaderV2
ConvertRequestToIoReaderV2 converts req to XML data
myhwoss/obs/convert.go:905
↓ 2 callersMethodCreateBucket
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 callersMethodCudaSharedMemoryRegister
@@ .. cpp:var:: rpc CudaSharedMemoryRegister( @@ CudaSharedMemoryRegisterRequest) @@ returns (CudaSharedMemoryR
mytriton/grpc-client/grpc_service_grpc.pb.go:181
↓ 2 callersMethodCudaSharedMemoryStatus
@@ .. cpp:var:: rpc CudaSharedMemoryStatus( @@ CudaSharedMemoryStatusRequest) @@ returns (CudaSharedMemoryStatu
mytriton/grpc-client/grpc_service_grpc.pb.go:174
↓ 2 callersMethodCudaSharedMemoryUnregister
@@ .. cpp:var:: rpc CudaSharedMemoryUnregister( @@ CudaSharedMemoryUnregisterRequest) @@ returns (CudaSharedMem
mytriton/grpc-client/grpc_service_grpc.pb.go:188
↓ 2 callersFunctionDecodeByte
DecodeByte 解码二进制
tools/convert.go:77
↓ 2 callersMethodDelete
Delete 删除一个cache
myredis/pool.go:113
↓ 2 callersMethodDelete
判断是否存在
myredis/myredis.go:18
↓ 2 callersMethodDeleteObjects
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 callersFunctionEncodeByte
EncodeByte 编码二进制
tools/convert.go:65
↓ 2 callersMethodExecuteFunc
ExecuteFunc creates a funcWrapper instance with the specified function and calls the Execute function
myhwoss/obs/pool.go:354
↓ 2 callersFunctionFormatTime
FormatTime 格式化时间
tools/timeTools.go:165
↓ 2 callersMethodGenerate
Generate Convert sensitive text lists into sensitive word tree nodes
wordsfilter/words_filter.go:32
↓ 2 callersMethodGetAPIString
GetAPIString 获取返回数据
mydoc/myswagger/myswagger.go:87
↓ 2 callersMethodGetBoolStr
GetBoolStr 获取bool类型字符串
mydoc/mymarkdown/mymarkdown.go:43
↓ 2 callersMethodGetCheckBoxStates
GetCheckBoxStates get checkbox states
mycui/form.go:191
↓ 2 callersMethodGetFieldText
GetFieldText get input field text
mycui/inputField.go:246
↓ 2 callersMethodGetFieldTexts
GetFieldTexts form data
mycui/form.go:171
↓ 2 callersFunctionGetFileHost
获取文件host
dev/dev.go:46
↓ 2 callersFunctionGetKvType
GetKvType 获取类型转换
mydoc/myswagger/myswagger.go:114
↓ 2 callersFunctionGetLocalSystemLang
GetLocalSystemLang 获取本地语言 (like:zh_CN.UTF-8)(simple:zh)
tools/local.go:14
↓ 2 callersMethodGetObjectWithoutProgress
(input *GetObjectInput, extensions ...extensionOptions)
myhwoss/obs/client_object.go:240
↓ 2 callersMethodGetSelected
GetSelected get selected option
mycui/select.go:75
↓ 2 callersMethodGetStateData
()
mytriton/grpc-client/model_config.pb.go:4269
↓ 2 callersMethodGetStrategyChoice
()
mytriton/grpc-client/model_config.pb.go:2131
↓ 2 callersMethodGetTableInfo
GetTableInfo 获取table表格
mydoc/mymarkdown/mymarkdown.go:52
↓ 2 callersFunctionGetTimeWeek
GetTimeWeek 获取给定时间的星期
tools/timeTools.go:34
↓ 2 callersMethodGetTypeList
GetTypeList 转换typelist
mydoc/mymarkdown/mymarkdown.go:62
↓ 2 callersMethodGetValueType
GetValueType 根据类型获取内容
mydoc/mymarkdown/mymarkdown.go:70
↓ 2 callersMethodGetWorkerCnt
()
myhwoss/obs/pool.go:167
↓ 2 callersFunctionGetenv
Getenv 获取本地系统变量
tools/local.go:9
↓ 2 callersMethodInitiateMultipartUpload
InitiateMultipartUpload initializes a multipart upload.
myhwoss/obs/client_part.go:61
↓ 2 callersMethodIsStart
(name string)
server/server_linux.go:13
↓ 2 callersMethodLogSettings
@@ .. 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 callersFunctionMd5
Md5 gets the md5 value of input
myhwoss/obs/util.go:132
↓ 2 callersMethodModelConfig
@@ .. cpp:var:: rpc ModelConfig(ModelConfigRequest) returns @@ (ModelConfigResponse) @@ @@ Get model configuration. @@
mytriton/grpc-client/grpc_service_grpc.pb.go:121
↓ 2 callersMethodModelMetadata
@@ .. cpp:var:: rpc ModelMetadata(ModelMetadataRequest) returns @@ (ModelMetadataResponse) @@ @@ Get model metadata. @@
mytriton/grpc-client/grpc_service_grpc.pb.go:103
↓ 2 callersMethodModelReady
@@ .. 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
← previousnext →201–300 of 2,676, ranked by callers