text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func New[K comparable, V any]() Map[K, V] {
return Map[K, V]{inner: make(map[K]V)}
} | [
-0.48483070731163025,
-1.2250375747680664,
0.28779369592666626,
-0.5411781072616577,
-0.9240431189537048,
-0.0005121811991557479,
-0.927845299243927,
0.3774834871292114,
-0.3061762750148773,
-0.655968189239502,
0.2187175303697586,
0.4517555236816406,
1.209977626800537,
0.279662162065506,
... |
func (m *Map[K, V]) Load(k K) (V, bool) {
m.mu.RLock()
defer m.mu.RUnlock()
v, ok := m.inner[k]
return v, ok
} | [
-1.334673285484314,
-0.05868539959192276,
0.5821923017501831,
-0.599221408367157,
-1.192829966545105,
0.13139542937278748,
-0.4389568269252777,
-0.17057664692401886,
-0.2445785254240036,
0.4124753177165985,
-0.5078577995300293,
-0.3915468752384186,
-1.2631877660751343,
-0.5600977540016174,... |
func (m *Map[K, V]) Delete(k K) (V, bool) {
m.mu.Lock()
defer m.mu.Unlock()
v, ok := m.inner[k]
delete(m.inner, k)
return v, ok
} | [
-0.4049026668071747,
0.07220082730054855,
0.5847322940826416,
-0.02762700617313385,
-0.4677470326423645,
-0.1356157511472702,
-0.2406400740146637,
0.34591537714004517,
-0.002781710820272565,
0.508161723613739,
0.022470390424132347,
-0.4328853189945221,
-1.3289703130722046,
-0.1484350413084... |
func (m *Map[K, V]) Store(k K, v V) {
m.mu.Lock()
defer m.mu.Unlock()
m.inner[k] = v
} | [
-0.7191441059112549,
-0.196249857544899,
0.09964078664779663,
-0.44476941227912903,
-0.4210732877254486,
0.8512818813323975,
-0.16885249316692352,
0.0009876282420009375,
-0.1057320088148117,
-1.0435817241668701,
-0.4873960018157959,
0.6154897809028625,
-1.2653253078460693,
0.00911049637943... |
func (m *Map[K, V]) Len() int {
m.mu.RLock()
defer m.mu.RUnlock()
return len(m.inner)
} | [
-0.9409324526786804,
-0.33610260486602783,
0.09510399401187897,
-0.2331000715494156,
-0.1957579255104065,
-0.5026694536209106,
0.5385338068008423,
0.8906139731407166,
-1.0048280954360962,
-0.6686270236968994,
-0.41287505626678467,
0.35160598158836365,
-0.7353585958480835,
0.022502863779664... |
func (m *Map[K, V]) WithLock(f func(m map[K]V)) {
m.mu.Lock()
defer m.mu.Unlock()
f(m.inner)
} | [
-1.1192022562026978,
0.3381148874759674,
0.7622320652008057,
0.13655981421470642,
-0.6923117637634277,
-0.17809996008872986,
0.2795868515968323,
0.020895864814519882,
-0.5682275891304016,
-0.7541438341140747,
0.5833412408828735,
-0.25812074542045593,
0.31676197052001953,
-0.222330138087272... |
func initializeOverworldMap() {
spritesheet, err := utils.LoadPicture("assets/NES-TheLegendOfZelda-Overworld.png")
if err != nil {
panic(err)
}
overworldMap = pixel.NewBatch(&pixel.TrianglesData{}, spritesheet)
//
// First, load each of the maps from the spritesheet.
//
var mapFrames []pixel.Rect
numRows :=... | [
-0.19675758481025696,
0.19742019474506378,
1.0387746095657349,
-0.4561731517314911,
-0.2853418290615082,
0.5380795001983643,
0.5797368288040161,
-0.8576078414916992,
0.753447949886322,
-0.5416840314865112,
-0.38768601417541504,
-0.09580165147781372,
-0.15177257359027863,
0.3643244802951813... |
func Draw(target pixel.Target) {
once.Do(initializeOverworldMap)
overworldMap.Draw(target)
} | [
-1.1855405569076538,
0.09367522597312927,
0.27845287322998047,
0.05963274836540222,
0.025452956557273865,
1.4290844202041626,
0.1771468073129654,
-0.9095042943954468,
0.4452294111251831,
-0.3719228506088257,
0.8772746324539185,
0.8697171807289124,
-0.11682754755020142,
0.4605881869792938,
... |
func (s *Subscription) GetListeners(typ reflect.Type) (IListenerSet, error) {
val, ok := (*s)[typ.String()]
if !ok {
return nil, ListenersNotFoundErr
}
return val, nil
} | [
0.1696067899465561,
-0.6630133986473083,
0.2406088411808014,
0.08396865427494049,
0.7548130750656128,
-0.9401311874389648,
-0.6783866286277771,
-1.4420562982559204,
0.12746545672416687,
-0.19125457108020782,
0.35137540102005005,
0.8858473896980286,
-1.0432651042938232,
0.17505308985710144,... |
func (s *Subscription) AddListener(listener interface{}) (*Subscription) {
// Check if the listener is good
content, err := checkListener(listener)
if err != nil {
// If not, panic with ListenerInvalidErr
panic(err)
}
val, ok := (*s)[content.String()]
if !ok {
(*s)[cont... | [
0.6268211603164673,
-0.23694130778312683,
0.4931979477405548,
0.060767002403736115,
-0.8108468651771545,
0.007331842556595802,
-1.304245948791504,
-0.48792028427124023,
0.47175467014312744,
-0.5422970056533813,
1.0989563465118408,
-0.28802037239074707,
-0.5561788082122803,
0.23611345887184... |
func (s *Subscription) RemoveListener(listener interface{}) (*Subscription) {
content, err := checkListener(listener)
if err != nil {
panic(err)
}
val, ok := (*s)[content.String()]
if ok {
val.Remove(listener)
}
return s
} | [
0.648036003112793,
-0.71615070104599,
0.1727781593799591,
0.13787485659122467,
-1.3928385972976685,
-0.29994311928749084,
-0.32621443271636963,
0.06550765037536621,
0.04416918009519577,
-0.12730473279953003,
0.16793376207351685,
-0.7547619342803955,
-0.5814064741134644,
0.10975293070077896... |
func checkListener(listener interface{}) (reflect.Type, error) {
lisVal := reflect.TypeOf(listener)
if lisVal.Kind() != reflect.Func || // Listener must obviously be a function
lisVal.NumIn() != 1 || // Listener function must take only 1 input argument
lisVal.NumOut() != 0 { // Listener must ... | [
-0.6735954880714417,
-0.6177587509155273,
0.6252123117446899,
0.3817824125289917,
-0.385684996843338,
0.6461475491523743,
0.4545786380767822,
0.008126519620418549,
-0.05087084323167801,
-0.1818263828754425,
0.3559596836566925,
-0.3235896825790405,
-1.1022318601608276,
1.7921274900436401,
... |
func NewRemoteNode(localNode *LocalNode, conn net.Conn, isOutbound bool) (*RemoteNode, error) {
if localNode == nil {
return nil, errors.New("Local node is nil")
}
if conn == nil {
return nil, errors.New("conn is nil")
}
node, err := NewNode(nil, "")
if err != nil {
return nil, err
}
txMsgCache := cache... | [
0.2905472218990326,
-0.5534093379974365,
0.7313709855079651,
-0.48163875937461853,
-0.6361985206604004,
0.32340896129608154,
-1.229616403579712,
0.7297630310058594,
-0.09192509204149246,
0.7555256485939026,
-0.5479488968849182,
1.4176827669143677,
-1.2602550983428955,
0.019485071301460266,... |
func (rn *RemoteNode) IsReady() bool {
rn.readyLock.RLock()
defer rn.readyLock.RUnlock()
return rn.ready
} | [
-0.9732186794281006,
0.5311592817306519,
0.5634925365447998,
-0.889593243598938,
-0.17438489198684692,
0.14964202046394348,
-0.10711738467216492,
-0.18135227262973785,
0.009347932413220406,
0.31673333048820496,
-0.7979846596717834,
1.1855016946792603,
-0.8154154419898987,
0.014545622281730... |
func (rn *RemoteNode) Start() error {
rn.StartOnce.Do(func() {
if rn.IsStopped() {
return
}
go rn.handleMsg()
go rn.rx()
go rn.tx()
go func() {
var n *protobuf.Node
var err error
for i := 0; i < startRetries; i++ {
n, err = rn.GetNode()
if err == nil {
break
}
}
if err... | [
-0.6533315777778625,
-0.2791588306427002,
0.7313429713249207,
-1.0460708141326904,
0.13488289713859558,
0.18014036118984222,
0.36201995611190796,
0.4989149272441864,
-0.30912381410598755,
0.6326533555984497,
-0.8346006274223328,
1.178316354751587,
-0.38157224655151367,
0.004361658822745085... |
func (rn *RemoteNode) Stop(err error) {
rn.StopOnce.Do(func() {
if err != nil {
log.Warningf("Remote node %v stops because of error: %s", rn, err)
} else {
log.Infof("Remote node %v stops", rn)
}
err = rn.NotifyStop()
if err != nil {
log.Warning("Notify remote node stop error:", err)
}
time.Af... | [
-0.538843035697937,
0.0275998804718256,
0.5987979173660278,
-0.8776499629020691,
-0.18027973175048828,
0.6164613962173462,
-0.1864050328731537,
0.6858003735542297,
-0.16931898891925812,
0.6909424066543579,
-0.3178330063819885,
0.5604457259178162,
-0.2967727780342102,
0.2954787015914917,
... |
func (rn *RemoteNode) handleMsg() {
var msg *protobuf.Message
var remoteMsg *RemoteMessage
var msgChan chan *RemoteMessage
var err error
keepAliveTimeoutTimer := time.NewTimer(keepAliveTimeout)
for {
if rn.IsStopped() {
util.StopTimer(keepAliveTimeoutTimer)
return
}
select {
case msg = <-rn.rxMsgC... | [
-0.19754864275455475,
0.30987799167633057,
0.9724804759025574,
-0.694317638874054,
0.39375850558280945,
0.6418004631996155,
0.03502289950847626,
-0.024174349382519722,
-0.05974792689085007,
0.4789314270019531,
0.31911149621009827,
-0.12131679058074951,
-0.5431445240974426,
1.00283348560333... |
func (rn *RemoteNode) handleMsgBuf(buf []byte) {
msg := &protobuf.Message{}
err := proto.Unmarshal(buf, msg)
if err != nil {
rn.Stop(fmt.Errorf("unmarshal msg error: %s", err))
return
}
select {
case rn.rxMsgChan <- msg:
default:
log.Warning("Rx msg chan full, discarding msg")
}
} | [
0.769041121006012,
0.42181825637817383,
0.9272481799125671,
-0.8622716069221497,
1.1984584331512451,
0.20800192654132843,
0.42026591300964355,
-0.5278851389884949,
-0.05883904919028282,
-0.6546611785888672,
-0.23671789467334747,
0.04603029415011406,
-1.4501430988311768,
0.7572916150093079,... |
func (rn *RemoteNode) rx() {
msgLenBuf := make([]byte, msgLenBytes)
var readLen int
for {
if rn.IsStopped() {
return
}
l, err := rn.conn.Read(msgLenBuf)
if err != nil {
rn.Stop(fmt.Errorf("Read msg len error: %s", err))
continue
}
if l != msgLenBytes {
rn.Stop(fmt.Errorf("Msg len has %d byt... | [
-0.22132080793380737,
0.18421392142772675,
0.9524866342544556,
-0.7002513408660889,
0.4595928192138672,
0.3403070867061615,
0.17746882140636444,
-0.20051902532577515,
-0.21928097307682037,
-0.5587506294250488,
1.125543236732483,
0.31480059027671814,
-0.8919422626495361,
0.5544846057891846,... |
func (rn *RemoteNode) tx() {
var msg *protobuf.Message
var buf []byte
var err error
msgLenBuf := make([]byte, msgLenBytes)
keepAliveTimer := time.NewTimer(keepAliveInterval)
for {
if rn.IsStopped() {
util.StopTimer(keepAliveTimer)
return
}
select {
case msg = <-rn.txMsgChan:
buf, err = proto.Ma... | [
-0.40540429949760437,
0.7055695056915283,
1.063153624534607,
-0.6657665967941284,
0.4187312722206116,
0.41393452882766724,
0.06989341974258423,
-0.4243242144584656,
-0.4904884099960327,
0.9395174980163574,
-0.2802073359489441,
-0.20165570080280304,
-1.0039949417114258,
-0.31096118688583374... |
func (rn *RemoteNode) SendMessage(msg *protobuf.Message, hasReply bool) (<-chan *RemoteMessage, error) {
if rn.IsStopped() {
return nil, errors.New("Remote node has stopped")
}
if len(msg.MessageId) == 0 {
return nil, errors.New("Message ID is empty")
}
_, found := rn.txMsgCache.Get(msg.MessageId)
if found ... | [
-0.32033035159111023,
0.9157248735427856,
0.7890015244483948,
-0.9788932800292969,
0.2692692279815674,
-0.08780096471309662,
0.257710337638855,
-0.38893434405326843,
0.6441670060157776,
0.7925666570663452,
0.5020512938499451,
0.488644540309906,
-1.2735586166381836,
0.8107724785804749,
-0... |
func (rn *RemoteNode) SendMessageAsync(msg *protobuf.Message) error {
_, err := rn.SendMessage(msg, false)
return err
} | [
-1.2032527923583984,
0.5645784139633179,
0.5493929982185364,
-0.15755179524421692,
-0.04665165767073631,
-0.04911051690578461,
0.30976954102516174,
-0.3925928771495819,
0.018996186554431915,
0.6613678336143494,
0.33847975730895996,
0.6834766864776611,
-0.6510811448097229,
1.834924578666687... |
func (rn *RemoteNode) SendMessageSync(msg *protobuf.Message) (*RemoteMessage, error) {
replyChan, err := rn.SendMessage(msg, true)
if err != nil {
return nil, err
}
select {
case replyMsg := <-replyChan:
return replyMsg, nil
case <-time.After(replyTimeout):
return nil, errors.New("Wait for reply timeout")
... | [
-0.23116053640842438,
1.205848217010498,
0.5794108510017395,
0.13559451699256897,
0.09325966238975525,
-0.36843183636665344,
0.0208685714751482,
-1.1033772230148315,
0.01828421838581562,
0.5353825092315674,
0.30367934703826904,
0.5483227968215942,
-0.8366550803184509,
0.7862565517425537,
... |
func (rn *RemoteNode) Ping() error {
msg, err := NewPingMessage()
if err != nil {
return err
}
_, err = rn.SendMessageSync(msg)
if err != nil {
return err
}
return nil
} | [
-0.4120897948741913,
0.7655675411224365,
0.7344691753387451,
-0.4178154170513153,
0.7001355886459351,
0.46789267659187317,
0.444076269865036,
-0.04886384308338165,
-0.4594356417655945,
1.1153792142868042,
0.16967856884002686,
0.4940290153026581,
-0.8187676072120667,
0.9565414190292358,
0... |
func (rn *RemoteNode) GetNode() (*protobuf.Node, error) {
msg, err := NewGetNodeMessage()
if err != nil {
return nil, err
}
reply, err := rn.SendMessageSync(msg)
if err != nil {
return nil, err
}
replyBody := &protobuf.GetNodeReply{}
err = proto.Unmarshal(reply.Msg.Message, replyBody)
if err != nil {
r... | [
0.06273259967565536,
1.0863077640533447,
0.9979636073112488,
-0.44710463285446167,
0.47896823287010193,
0.0904497355222702,
0.5490403771400452,
-0.022564832121133804,
0.4771108329296112,
0.12038616091012955,
0.0046725706197321415,
1.823707938194275,
-1.6365290880203247,
0.04997817799448967... |
func (rn *RemoteNode) NotifyStop() error {
msg, err := NewStopMessage()
if err != nil {
return err
}
err = rn.SendMessageAsync(msg)
if err != nil {
return err
}
return nil
} | [
-0.4557484984397888,
0.4724666476249695,
0.5986794233322144,
-0.6529077291488647,
0.4177936017513275,
-0.1448565274477005,
-0.13679683208465576,
-0.4802893102169037,
-0.42063474655151367,
0.7302268743515015,
-0.6333199739456177,
0.9029889106750488,
-0.22858108580112457,
0.45295992493629456... |
func (n *Nodes) String() string {
return fmt.Sprintf("%s", *n)
} | [
-0.6618750691413879,
0.21263405680656433,
-0.23416629433631897,
-0.5926052331924438,
0.11297048628330231,
0.22181440889835358,
-0.06827041506767273,
-1.1384879350662231,
-0.7003406882286072,
0.13661281764507294,
-0.09865693747997284,
0.7594396471977234,
0.0042838710360229015,
-0.3925558626... |
func (n *Nodes) Set(node string) error {
*n = append(*n, node)
return nil
} | [
-0.6288592219352722,
0.8141103386878967,
-0.16858486831188202,
-1.294203281402588,
0.3021698594093323,
0.09349263459444046,
-0.9710267782211304,
-0.3527560532093048,
-0.7390449643135071,
0.6049631237983704,
-0.5702596306800842,
0.9650192260742188,
0.007101872935891151,
0.2836163640022278,
... |
func DownloadUrl(id string) string {
return fmt.Sprintf("https://drive.google.com/uc?id=%s&export=download", id)
} | [
-0.15758951008319855,
-0.7735069394111633,
0.3978503942489624,
0.06091838330030441,
-0.14273834228515625,
0.416971355676651,
-0.41357865929603577,
0.5026003122329712,
0.44705501198768616,
0.1214870885014534,
-0.1864035576581955,
0.5101851224899292,
-0.12700849771499634,
0.15941432118415833... |
func GenerateKey(path string) (string, error) {
data := make([]byte, aes.BlockSize)
n, err := rand.Read(data)
if err != nil {
return "", fmt.Errorf("failed to generate random bytes: %v", err)
}
if n != aes.BlockSize {
return "", fmt.Errorf("the length of random bytes %d != %d", n, aes.BlockSize)
}
if err = ... | [
-0.0830456092953682,
0.013094281777739525,
0.8889361023902893,
-0.08988112211227417,
0.11685306578874588,
0.9396728873252869,
0.09829597175121307,
0.045169632881879807,
0.48407989740371704,
0.6284992098808289,
-0.670039713382721,
-0.13978172838687897,
-0.42309898138046265,
-0.1703626066446... |
func NewCachingApiV1UsingExternalConfig(options *CachingApiV1Options) (cachingApi *CachingApiV1, err error) {
if options.ServiceName == "" {
options.ServiceName = DefaultServiceName
}
if options.Authenticator == nil {
options.Authenticator, err = core.GetAuthenticatorFromEnvironment(options.ServiceName)
if er... | [
-1.2851465940475464,
0.6164999604225159,
0.4702630043029785,
1.2298197746276855,
-1.80580735206604,
0.6035965085029602,
-0.667963445186615,
1.0954399108886719,
-0.013548057526350021,
0.849315881729126,
-0.31932738423347473,
0.05481676384806633,
-0.8708869218826294,
0.8816266655921936,
0.... |
func NewCachingApiV1(options *CachingApiV1Options) (service *CachingApiV1, err error) {
serviceOptions := &core.ServiceOptions{
URL: DefaultServiceURL,
Authenticator: options.Authenticator,
}
err = core.ValidateStruct(options, "options")
if err != nil {
return
}
baseService, err := core.NewBaseS... | [
-1.0756474733352661,
-0.067916639149189,
0.5499538779258728,
1.80605149269104,
-0.6993696093559265,
0.5258662104606628,
0.130004420876503,
0.5243933796882629,
0.4082835614681244,
0.28039735555648804,
-0.11983615159988403,
0.16535058617591858,
-1.4399495124816895,
-0.06581450998783112,
0.... |
func GetServiceURLForRegion(region string) (string, error) {
return "", fmt.Errorf("service does not support regional URLs")
} | [
0.2769652307033539,
0.17176829278469086,
0.45711785554885864,
-0.5532981157302856,
-0.7656988501548767,
0.12831437587738037,
-0.24040475487709045,
-0.01659899391233921,
-0.5673068761825562,
-0.22464659810066223,
-0.14961712062358856,
0.23087184131145477,
-0.39718860387802124,
0.65725165605... |
func (cachingApi *CachingApiV1) Clone() *CachingApiV1 {
if core.IsNil(cachingApi) {
return nil
}
clone := *cachingApi
clone.Service = cachingApi.Service.Clone()
return &clone
} | [
-0.9408977031707764,
0.08484187722206116,
0.4291476607322693,
1.4817490577697754,
-1.04584801197052,
0.7273064851760864,
-0.2557487487792969,
-0.4368939995765686,
0.7221575975418091,
0.24647320806980133,
0.3483990430831909,
0.5880522727966309,
-1.1049243211746216,
-0.26100167632102966,
0... |
func (cachingApi *CachingApiV1) SetServiceURL(url string) error {
return cachingApi.Service.SetServiceURL(url)
} | [
-1.4980392456054688,
0.3669067919254303,
0.25426024198532104,
1.3510195016860962,
-1.489479660987854,
0.7294136881828308,
0.1853121519088745,
0.9616026878356934,
-0.23241424560546875,
0.6878957748413086,
-0.8911770582199097,
0.5985668301582336,
-0.2932116389274597,
0.9697780609130859,
-0... |
func (cachingApi *CachingApiV1) GetServiceURL() string {
return cachingApi.Service.GetServiceURL()
} | [
-0.5784723162651062,
-0.08969876915216446,
0.2803035378456116,
1.5841171741485596,
-1.2807024717330933,
0.5239320397377014,
0.1661234200000763,
0.6540002822875977,
-0.3439611792564392,
0.5082776546478271,
-0.1317415088415146,
0.5633919835090637,
-0.5082904100418091,
0.8626370429992676,
-... |
func (cachingApi *CachingApiV1) SetDefaultHeaders(headers http.Header) {
cachingApi.Service.SetDefaultHeaders(headers)
} | [
-1.64797842502594,
0.3255016505718231,
-0.07307438552379608,
1.188329815864563,
0.5139548182487488,
-0.06874702125787735,
-0.8847044110298157,
-0.436371773481369,
0.24971361458301544,
0.1048775166273117,
-0.5467064380645752,
0.10802210122346878,
-1.2123581171035767,
0.7008728384971619,
-... |
func (cachingApi *CachingApiV1) SetEnableGzipCompression(enableGzip bool) {
cachingApi.Service.SetEnableGzipCompression(enableGzip)
} | [
-0.4041290283203125,
-0.09948879480361938,
0.6033538579940796,
0.584364116191864,
-0.7192830443382263,
0.5282078385353088,
0.610403299331665,
-0.167042538523674,
0.14939342439174652,
0.7225915193557739,
-1.0437535047531128,
-0.12748683989048004,
-1.384973406791687,
0.03522302210330963,
0... |
func (cachingApi *CachingApiV1) GetEnableGzipCompression() bool {
return cachingApi.Service.GetEnableGzipCompression()
} | [
-0.3420442044734955,
0.7881121635437012,
0.6431847214698792,
0.6050266623497009,
-0.5566576719284058,
-0.07938496768474579,
0.5279765129089355,
-0.1606542468070984,
-0.16416728496551514,
0.5161134600639343,
-1.0255799293518066,
-0.1460961401462555,
-1.5293853282928467,
0.10207467526197433,... |
func (cachingApi *CachingApiV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration) {
cachingApi.Service.EnableRetries(maxRetries, maxRetryInterval)
} | [
-0.3466341197490692,
0.47606486082077026,
0.2270682454109192,
-0.08933771401643753,
0.03909578174352646,
0.7367014288902283,
-0.9790161848068237,
1.2415708303451538,
0.4307471513748169,
-0.2598492205142975,
-0.4942092299461365,
0.4998783767223358,
-0.3123435378074646,
-0.5047966837882996,
... |
func (cachingApi *CachingApiV1) DisableRetries() {
cachingApi.Service.DisableRetries()
} | [
0.1454104781150818,
0.251823753118515,
-0.164149671792984,
0.5127480626106262,
-0.020368056371808052,
0.5521121621131897,
0.04207666590809822,
1.1220192909240723,
0.2301684468984604,
-0.5701727867126465,
0.23749853670597076,
0.628429651260376,
-0.9238066673278809,
0.14482855796813965,
0.... |
func (cachingApi *CachingApiV1) PurgeAll(purgeAllOptions *PurgeAllOptions) (result *PurgeAllResponse, response *core.DetailedResponse, err error) {
return cachingApi.PurgeAllWithContext(context.Background(), purgeAllOptions)
} | [
-0.6449053287506104,
0.0161434318870306,
0.6536933779716492,
1.562339425086975,
0.12036609649658203,
0.11827592551708221,
-0.38269898295402527,
-0.32745566964149475,
0.9795799255371094,
0.03782902657985687,
0.20478485524654388,
1.0259040594100952,
-0.7763388752937317,
0.39094221591949463,
... |
func (cachingApi *CachingApiV1) PurgeAllWithContext(ctx context.Context, purgeAllOptions *PurgeAllOptions) (result *PurgeAllResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(purgeAllOptions, "purgeAllOptions")
if err != nil {
return
}
pathParamsMap := map[string]string{
"crn": *... | [
-0.7015495896339417,
0.023804686963558197,
1.0991370677947998,
0.47272467613220215,
-0.4615955352783203,
-0.22782790660858154,
-0.5831992626190186,
-1.0066628456115723,
0.8186313509941101,
0.9869430661201477,
-0.39332547783851624,
0.9379242062568665,
-0.7013550996780396,
0.6625165939331055... |
func (cachingApi *CachingApiV1) PurgeByUrls(purgeByUrlsOptions *PurgeByUrlsOptions) (result *PurgeAllResponse, response *core.DetailedResponse, err error) {
return cachingApi.PurgeByUrlsWithContext(context.Background(), purgeByUrlsOptions)
} | [
-0.6229444146156311,
0.4310160279273987,
0.3281855583190918,
0.5689216256141663,
-0.1083487793803215,
-0.48746001720428467,
-0.26639947295188904,
-0.3435215353965759,
0.8835672736167908,
0.0030038924887776375,
-0.7814256548881531,
0.15178966522216797,
-0.6092079877853394,
0.028242122381925... |
func (cachingApi *CachingApiV1) PurgeByUrlsWithContext(ctx context.Context, purgeByUrlsOptions *PurgeByUrlsOptions) (result *PurgeAllResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(purgeByUrlsOptions, "purgeByUrlsOptions")
if err != nil {
return
}
pathParamsMap := map[string]str... | [
-0.9738823771476746,
0.20194925367832184,
0.6649990081787109,
-0.03028198890388012,
-0.397892028093338,
-0.6982572078704834,
-0.14719867706298828,
-0.9573718905448914,
0.7189015746116638,
0.6905872821807861,
-0.9634332060813904,
0.38512927293777466,
-0.36007338762283325,
0.4888615906238556... |
func (cachingApi *CachingApiV1) PurgeByCacheTags(purgeByCacheTagsOptions *PurgeByCacheTagsOptions) (result *PurgeAllResponse, response *core.DetailedResponse, err error) {
return cachingApi.PurgeByCacheTagsWithContext(context.Background(), purgeByCacheTagsOptions)
} | [
0.3519273102283478,
0.7233229875564575,
0.31575772166252136,
1.268659234046936,
0.3114367425441742,
-0.8449967503547668,
-0.423270583152771,
-0.8058896660804749,
0.1213243156671524,
0.3255630135536194,
-1.3307671546936035,
-0.11608600616455078,
-0.16306650638580322,
1.0359982252120972,
-... |
func (cachingApi *CachingApiV1) PurgeByCacheTagsWithContext(ctx context.Context, purgeByCacheTagsOptions *PurgeByCacheTagsOptions) (result *PurgeAllResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(purgeByCacheTagsOptions, "purgeByCacheTagsOptions")
if err != nil {
return
}
pathPa... | [
-0.6076400876045227,
0.6893364191055298,
0.6516421437263489,
0.49505385756492615,
-0.21211585402488708,
-0.8955563306808472,
-0.46411892771720886,
-1.5485527515411377,
0.2850832939147949,
0.9753141403198242,
-1.386809229850769,
0.44578200578689575,
-0.3114471137523651,
0.938670814037323,
... |
func (cachingApi *CachingApiV1) PurgeByHosts(purgeByHostsOptions *PurgeByHostsOptions) (result *PurgeAllResponse, response *core.DetailedResponse, err error) {
return cachingApi.PurgeByHostsWithContext(context.Background(), purgeByHostsOptions)
} | [
-0.841484785079956,
0.7906591296195984,
0.2960226833820343,
1.3549007177352905,
0.005766655784100294,
-0.3864714503288269,
-0.07853574305772781,
-0.9513599276542664,
0.5104581117630005,
-0.10155963897705078,
-0.5031646490097046,
0.1985430270433426,
-0.5149085521697998,
0.32740771770477295,... |
func (cachingApi *CachingApiV1) PurgeByHostsWithContext(ctx context.Context, purgeByHostsOptions *PurgeByHostsOptions) (result *PurgeAllResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(purgeByHostsOptions, "purgeByHostsOptions")
if err != nil {
return
}
pathParamsMap := map[strin... | [
-1.3168741464614868,
0.4596501588821411,
0.7314151525497437,
0.5291149020195007,
-0.4128267467021942,
-0.45893484354019165,
-0.2260301113128662,
-1.3432599306106567,
0.4390077590942383,
0.8535079956054688,
-0.9287954568862915,
0.6063000559806824,
-0.32528480887413025,
0.5901994705200195,
... |
func (cachingApi *CachingApiV1) GetBrowserCacheTTL(getBrowserCacheTtlOptions *GetBrowserCacheTtlOptions) (result *BrowserTTLResponse, response *core.DetailedResponse, err error) {
return cachingApi.GetBrowserCacheTTLWithContext(context.Background(), getBrowserCacheTtlOptions)
} | [
-0.26462090015411377,
-0.8771255016326904,
0.5150102972984314,
0.444076806306839,
-0.4779854416847229,
-0.22081153094768524,
-0.3749604821205139,
-1.0073719024658203,
0.2876560091972351,
0.749161422252655,
-0.595310628414154,
0.08792117983102798,
-0.0259240809828043,
-0.23275960981845856,
... |
func (cachingApi *CachingApiV1) GetBrowserCacheTTLWithContext(ctx context.Context, getBrowserCacheTtlOptions *GetBrowserCacheTtlOptions) (result *BrowserTTLResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(getBrowserCacheTtlOptions, "getBrowserCacheTtlOptions")
if err != nil {
return... | [
-0.6330708265304565,
-0.5685060620307922,
0.7843559980392456,
0.04384339973330498,
-0.7187495827674866,
-0.3622001111507416,
-0.5598770380020142,
-1.3792108297348022,
0.0843190997838974,
1.0950758457183838,
-0.5449748039245605,
0.42349886894226074,
-0.32488709688186646,
0.23712149262428284... |
func (cachingApi *CachingApiV1) UpdateBrowserCacheTTL(updateBrowserCacheTtlOptions *UpdateBrowserCacheTtlOptions) (result *BrowserTTLResponse, response *core.DetailedResponse, err error) {
return cachingApi.UpdateBrowserCacheTTLWithContext(context.Background(), updateBrowserCacheTtlOptions)
} | [
-0.9345563054084778,
-1.6631255149841309,
0.32014206051826477,
0.32213664054870605,
-1.1250981092453003,
0.14545366168022156,
-0.38438326120376587,
-0.6315158009529114,
0.15992066264152527,
1.2874172925949097,
-0.8053896427154541,
-0.06728972494602203,
-0.14394544064998627,
-0.178308352828... |
func (cachingApi *CachingApiV1) UpdateBrowserCacheTTLWithContext(ctx context.Context, updateBrowserCacheTtlOptions *UpdateBrowserCacheTtlOptions) (result *BrowserTTLResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(updateBrowserCacheTtlOptions, "updateBrowserCacheTtlOptions")
if err !=... | [
-1.1631203889846802,
-0.9109777808189392,
0.728454053401947,
-0.041348643600940704,
-1.0428038835525513,
0.07735255360603333,
-0.38568606972694397,
-1.2716786861419678,
0.20567062497138977,
1.4264545440673828,
-0.7887485027313232,
0.3840920925140381,
-0.36472970247268677,
0.103288821876049... |
func (cachingApi *CachingApiV1) GetServeStaleContent(getServeStaleContentOptions *GetServeStaleContentOptions) (result *ServeStaleContentResponse, response *core.DetailedResponse, err error) {
return cachingApi.GetServeStaleContentWithContext(context.Background(), getServeStaleContentOptions)
} | [
-1.0284520387649536,
0.19920870661735535,
0.6010416746139526,
0.6925506591796875,
-0.09476732462644577,
-0.24238885939121246,
0.27854180335998535,
-0.8494835495948792,
0.09489920735359192,
0.49286583065986633,
-0.6463056206703186,
0.5695500373840332,
-0.5280950665473938,
-0.269606918096542... |
func (cachingApi *CachingApiV1) GetServeStaleContentWithContext(ctx context.Context, getServeStaleContentOptions *GetServeStaleContentOptions) (result *ServeStaleContentResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(getServeStaleContentOptions, "getServeStaleContentOptions")
if err ... | [
-0.8140103220939636,
-0.05990271642804146,
1.114500880241394,
0.4129936397075653,
-0.3144005239009857,
-0.09834981709718704,
-0.04595024883747101,
-0.8684377074241638,
0.056628018617630005,
1.0728659629821777,
-0.5930957794189453,
0.45539698004722595,
-0.6847922205924988,
0.168281242251396... |
func (cachingApi *CachingApiV1) UpdateServeStaleContent(updateServeStaleContentOptions *UpdateServeStaleContentOptions) (result *ServeStaleContentResponse, response *core.DetailedResponse, err error) {
return cachingApi.UpdateServeStaleContentWithContext(context.Background(), updateServeStaleContentOptions)
} | [
-1.483177900314331,
-0.7318557500839233,
0.569514811038971,
0.4172753095626831,
-0.6858546137809753,
0.10011071711778641,
0.5509899854660034,
-0.35798490047454834,
0.09609095752239227,
0.7881547212600708,
-0.7908920049667358,
0.73369300365448,
-0.4992769956588745,
-0.12620094418525696,
-... |
func (cachingApi *CachingApiV1) UpdateServeStaleContentWithContext(ctx context.Context, updateServeStaleContentOptions *UpdateServeStaleContentOptions) (result *ServeStaleContentResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(updateServeStaleContentOptions, "updateServeStaleContentOpt... | [
-1.1199822425842285,
-0.6142319440841675,
1.1184780597686768,
0.2372439056634903,
-0.7795437574386597,
-0.01030427124351263,
0.19907565414905548,
-0.7531648278236389,
0.2846231758594513,
1.2494562864303589,
-0.770306408405304,
0.5636096596717834,
-0.6365450620651245,
0.1946769505739212,
... |
func (cachingApi *CachingApiV1) GetDevelopmentMode(getDevelopmentModeOptions *GetDevelopmentModeOptions) (result *DeveopmentModeResponse, response *core.DetailedResponse, err error) {
return cachingApi.GetDevelopmentModeWithContext(context.Background(), getDevelopmentModeOptions)
} | [
-0.9648565649986267,
0.770741879940033,
0.6128969788551331,
1.2065387964248657,
0.6695330739021301,
0.772998034954071,
0.2524821162223816,
-1.0745484828948975,
0.44053933024406433,
-0.558782160282135,
-0.49316999316215515,
0.6159884333610535,
-0.02351340278983116,
0.22652198374271393,
0.... |
func (cachingApi *CachingApiV1) GetDevelopmentModeWithContext(ctx context.Context, getDevelopmentModeOptions *GetDevelopmentModeOptions) (result *DeveopmentModeResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(getDevelopmentModeOptions, "getDevelopmentModeOptions")
if err != nil {
re... | [
-1.1250842809677124,
0.3371533155441284,
1.025579571723938,
0.4132278263568878,
0.00869669672101736,
0.23957185447216034,
-0.2466728240251541,
-1.3111494779586792,
0.3537013828754425,
0.36570683121681213,
-0.8574178814888,
0.4904857873916626,
-0.26027506589889526,
0.34735003113746643,
0.... |
func (cachingApi *CachingApiV1) UpdateDevelopmentMode(updateDevelopmentModeOptions *UpdateDevelopmentModeOptions) (result *DeveopmentModeResponse, response *core.DetailedResponse, err error) {
return cachingApi.UpdateDevelopmentModeWithContext(context.Background(), updateDevelopmentModeOptions)
} | [
-1.5741254091262817,
-0.3133583664894104,
0.7526415586471558,
1.1879432201385498,
-0.29363304376602173,
1.2086912393569946,
0.5274305939674377,
-0.4952390789985657,
0.519132137298584,
0.33187487721443176,
-0.9109317660331726,
-0.007920384407043457,
0.4454505741596222,
0.32391372323036194,
... |
func (cachingApi *CachingApiV1) UpdateDevelopmentModeWithContext(ctx context.Context, updateDevelopmentModeOptions *UpdateDevelopmentModeOptions) (result *DeveopmentModeResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(updateDevelopmentModeOptions, "updateDevelopmentModeOptions")
if er... | [
-1.5322542190551758,
-0.19752274453639984,
1.1191840171813965,
0.5240808129310608,
-0.6435520648956299,
0.6808540225028992,
0.16140562295913696,
-1.2314319610595703,
0.47088631987571716,
0.7519494891166687,
-1.0869393348693848,
0.21856269240379333,
-0.023643383756279945,
0.4744129776954651... |
func (cachingApi *CachingApiV1) GetQueryStringSort(getQueryStringSortOptions *GetQueryStringSortOptions) (result *EnableQueryStringSortResponse, response *core.DetailedResponse, err error) {
return cachingApi.GetQueryStringSortWithContext(context.Background(), getQueryStringSortOptions)
} | [
-0.1726382076740265,
0.06228185445070267,
0.6993626356124878,
-0.34139785170555115,
0.05318376421928406,
0.048855237662792206,
0.09238947927951813,
-1.0682367086410522,
0.3497164845466614,
-0.3207314908504486,
0.14002487063407898,
0.7926672101020813,
-1.285972237586975,
-0.753479540348053,... |
func (cachingApi *CachingApiV1) GetQueryStringSortWithContext(ctx context.Context, getQueryStringSortOptions *GetQueryStringSortOptions) (result *EnableQueryStringSortResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(getQueryStringSortOptions, "getQueryStringSortOptions")
if err != nil... | [
-0.33565911650657654,
0.038516566157341,
0.8773671388626099,
-0.2451367825269699,
-0.47940516471862793,
0.14895780384540558,
0.0634809285402298,
-1.8579312562942505,
0.04799271002411842,
0.32972466945648193,
-0.09771904349327087,
0.671371579170227,
-1.0732929706573486,
-0.19647067785263062... |
func (cachingApi *CachingApiV1) UpdateQueryStringSort(updateQueryStringSortOptions *UpdateQueryStringSortOptions) (result *EnableQueryStringSortResponse, response *core.DetailedResponse, err error) {
return cachingApi.UpdateQueryStringSortWithContext(context.Background(), updateQueryStringSortOptions)
} | [
-0.4561643898487091,
-1.0847065448760986,
0.5112982988357544,
-0.4702414870262146,
-0.774208664894104,
0.2269330471754074,
0.17104342579841614,
-0.7467079162597656,
0.27042701840400696,
0.17281974852085114,
-0.20744258165359497,
0.6289191842079163,
-1.457944631576538,
-0.6374553442001343,
... |
func (cachingApi *CachingApiV1) UpdateQueryStringSortWithContext(ctx context.Context, updateQueryStringSortOptions *UpdateQueryStringSortOptions) (result *EnableQueryStringSortResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(updateQueryStringSortOptions, "updateQueryStringSortOptions")... | [
-0.6646426320075989,
-0.593444287776947,
0.8253251910209656,
-0.28971707820892334,
-0.9141814112663269,
0.21311120688915253,
0.19023533165454865,
-1.639681100845337,
0.24097399413585663,
0.6587426066398621,
-0.33615079522132874,
0.6834407448768616,
-0.9978947043418884,
-0.1854005604982376,... |
func (cachingApi *CachingApiV1) GetCacheLevel(getCacheLevelOptions *GetCacheLevelOptions) (result *CacheLevelResponse, response *core.DetailedResponse, err error) {
return cachingApi.GetCacheLevelWithContext(context.Background(), getCacheLevelOptions)
} | [
-0.41795486211776733,
0.41377073526382446,
0.5908957123756409,
1.473921775817871,
0.02407648414373398,
0.1915690302848816,
0.24489471316337585,
-0.9518449902534485,
0.5905433893203735,
-0.10412358492612839,
-0.06369730830192566,
1.1281405687332153,
-0.7547526955604553,
0.04226339980959892,... |
func (cachingApi *CachingApiV1) GetCacheLevelWithContext(ctx context.Context, getCacheLevelOptions *GetCacheLevelOptions) (result *CacheLevelResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(getCacheLevelOptions, "getCacheLevelOptions")
if err != nil {
return
}
pathParamsMap := ma... | [
-0.638836145401001,
0.24447058141231537,
0.9920213222503662,
0.6018491983413696,
-0.5279409885406494,
-0.023713191971182823,
-0.3229812681674957,
-1.3114677667617798,
0.029980963096022606,
0.7512537837028503,
-0.6705445051193237,
0.7285341620445251,
-0.5465514063835144,
0.173776775598526,
... |
func (cachingApi *CachingApiV1) UpdateCacheLevel(updateCacheLevelOptions *UpdateCacheLevelOptions) (result *CacheLevelResponse, response *core.DetailedResponse, err error) {
return cachingApi.UpdateCacheLevelWithContext(context.Background(), updateCacheLevelOptions)
} | [
-1.5985246896743774,
-0.4700070023536682,
0.4566067159175873,
1.1621631383895874,
-1.019187331199646,
0.6662939190864563,
0.06646330654621124,
-0.4292629361152649,
0.8001719117164612,
0.5496715307235718,
-0.23402434587478638,
0.7016600370407104,
-0.8997649550437927,
-0.1720666140317917,
... |
func (cachingApi *CachingApiV1) UpdateCacheLevelWithContext(ctx context.Context, updateCacheLevelOptions *UpdateCacheLevelOptions) (result *CacheLevelResponse, response *core.DetailedResponse, err error) {
err = core.ValidateStruct(updateCacheLevelOptions, "updateCacheLevelOptions")
if err != nil {
return
}
path... | [
-1.432586908340454,
-0.22458066046237946,
0.9977436065673828,
0.46326959133148193,
-1.0283888578414917,
0.17744465172290802,
-0.0942230299115181,
-1.2012879848480225,
0.43455106019973755,
1.0819499492645264,
-0.8882558345794678,
0.6984938979148865,
-0.7825360894203186,
0.1316506415605545,
... |
func UnmarshalBrowserTTLResponseResult(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(BrowserTTLResponseResult)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "value", &obj.Value)
if err != nil {
return
}
err = core.Unmar... | [
-0.007382861338555813,
-0.9145009517669678,
0.4838131070137024,
-1.128906488418579,
-0.6731852889060974,
-1.1589242219924927,
0.13638636469841003,
-0.507365882396698,
-0.1103552058339119,
0.47603878378868103,
-0.49103760719299316,
-0.7174680233001709,
-0.07705315202474594,
0.00934667047113... |
func UnmarshalCacheLevelResponseResult(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(CacheLevelResponseResult)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "value", &obj.Value)
if err != nil {
return
}
err = core.Unmar... | [
-0.21708865463733673,
-0.5032882690429688,
0.36293789744377136,
-0.7610657215118408,
-1.1034382581710815,
-0.6451674699783325,
0.28157851099967957,
-0.21501122415065765,
-0.2617468535900116,
0.36735740303993225,
-0.648331880569458,
-0.840164303779602,
-0.7315598726272583,
0.114778265357017... |
func UnmarshalDeveopmentModeResponseResult(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(DeveopmentModeResponseResult)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "value", &obj.Value)
if err != nil {
return
}
err = co... | [
-0.961839497089386,
-0.6367602944374084,
0.8956095576286316,
-0.9290549755096436,
0.03531406447291374,
-0.7547440528869629,
0.34052568674087524,
-0.41988667845726013,
0.2754509150981903,
0.4218417704105377,
-0.6944746375083923,
-1.126800298690796,
-0.11990711838006973,
0.016967324540019035... |
func UnmarshalEnableQueryStringSortResponseResult(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(EnableQueryStringSortResponseResult)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "value", &obj.Value)
if err != nil {
retur... | [
0.6473070383071899,
-0.8044140338897705,
0.6730049252510071,
-1.4677472114562988,
-0.8208861351013184,
-0.4440021812915802,
0.24089506268501282,
-0.6050891280174255,
-0.12688550353050232,
0.6560202836990356,
-0.2559531629085541,
-0.8393876552581787,
-0.9725939035415649,
-0.5774616599082947... |
func (*CachingApiV1) NewGetBrowserCacheTtlOptions() *GetBrowserCacheTtlOptions {
return &GetBrowserCacheTtlOptions{}
} | [
-0.16863960027694702,
-0.8161126375198364,
0.19241942465305328,
0.9902317523956299,
-0.3689153790473938,
-0.12445619702339172,
-0.22960114479064941,
-0.5701820254325867,
0.19859635829925537,
0.7195298075675964,
-1.0100431442260742,
-0.1366640031337738,
0.1416843831539154,
-0.05948933959007... |
func (options *GetBrowserCacheTtlOptions) SetHeaders(param map[string]string) *GetBrowserCacheTtlOptions {
options.Headers = param
return options
} | [
-0.3914650082588196,
-0.11396516859531403,
0.4170372188091278,
-0.11779874563217163,
0.45095357298851013,
0.3916153311729431,
-0.3635728061199188,
-0.6034945845603943,
0.342850923538208,
0.2942710220813751,
-0.48301541805267334,
-0.567040741443634,
-0.18812912702560425,
0.02910944446921348... |
func (*CachingApiV1) NewGetCacheLevelOptions() *GetCacheLevelOptions {
return &GetCacheLevelOptions{}
} | [
-0.342791348695755,
-0.24993795156478882,
0.2185584455728531,
1.4599292278289795,
-0.0065836976282298565,
0.10419654101133347,
-0.19955623149871826,
0.11061498522758484,
0.022275889292359352,
-0.11427426338195801,
-0.5697638392448425,
0.23775827884674072,
-0.5010010004043579,
0.29526323080... |
func (options *GetCacheLevelOptions) SetHeaders(param map[string]string) *GetCacheLevelOptions {
options.Headers = param
return options
} | [
-0.31331631541252136,
0.15505050122737885,
0.5051596760749817,
0.3635042607784271,
0.38294103741645813,
0.44993680715560913,
-0.3277309834957123,
-0.2863940894603729,
0.3994481861591339,
-0.014194774441421032,
-0.10751985013484955,
-0.02277611382305622,
-0.27477356791496277,
0.252498716115... |
func (*CachingApiV1) NewGetDevelopmentModeOptions() *GetDevelopmentModeOptions {
return &GetDevelopmentModeOptions{}
} | [
-1.0432233810424805,
-0.006164255551993847,
0.20676015317440033,
1.4332305192947388,
0.2835457921028137,
0.06559326499700546,
0.4021114110946655,
-0.8136948943138123,
-0.12173540145158768,
0.028876712545752525,
-0.9639891386032104,
0.15401458740234375,
-0.026974713429808617,
0.262281656265... |
func (options *GetDevelopmentModeOptions) SetHeaders(param map[string]string) *GetDevelopmentModeOptions {
options.Headers = param
return options
} | [
-0.7666049003601074,
0.1105605885386467,
0.4873756468296051,
0.16772697865962982,
0.7550500631332397,
0.8188592791557312,
0.3212555944919586,
-1.0148252248764038,
0.3205065131187439,
-0.5757471323013306,
-0.23349301517009735,
-0.2823890149593353,
-0.18655765056610107,
0.1609029620885849,
... |
func (*CachingApiV1) NewGetQueryStringSortOptions() *GetQueryStringSortOptions {
return &GetQueryStringSortOptions{}
} | [
-0.19178859889507294,
-0.38328424096107483,
0.2672744393348694,
0.5922439694404602,
-0.3614102900028229,
-0.635917067527771,
0.057124920189380646,
-1.0361711978912354,
-0.004879784770309925,
0.013967467471957207,
-0.1044909879565239,
-0.5086545348167419,
-0.8761663436889648,
-0.78192025423... |
func (options *GetQueryStringSortOptions) SetHeaders(param map[string]string) *GetQueryStringSortOptions {
options.Headers = param
return options
} | [
-0.3882347643375397,
-0.40676814317703247,
0.41657331585884094,
-0.642126202583313,
0.3470793664455414,
0.03236987441778183,
-0.15206263959407806,
-0.9052375555038452,
0.07857877761125565,
-0.30458885431289673,
0.2984066903591156,
-0.3705899715423584,
-0.8340445756912231,
-0.45262616872787... |
func (*CachingApiV1) NewGetServeStaleContentOptions() *GetServeStaleContentOptions {
return &GetServeStaleContentOptions{}
} | [
-0.7898896336555481,
-0.4980435073375702,
0.3418443500995636,
1.0121809244155884,
0.08572081476449966,
-0.6337403655052185,
0.204939067363739,
-0.43717247247695923,
-0.22000183165073395,
0.11692217737436295,
-1.0079036951065063,
-0.06374648958444595,
-0.3191463053226471,
0.0305139273405075... |
func (options *GetServeStaleContentOptions) SetHeaders(param map[string]string) *GetServeStaleContentOptions {
options.Headers = param
return options
} | [
-0.57049959897995,
-0.3050738573074341,
0.3975420594215393,
-0.34979885816574097,
1.1853290796279907,
0.03493083640933037,
-0.09746182709932327,
-0.6921772360801697,
-0.07009255141019821,
0.1754664182662964,
-0.32520708441734314,
-0.5378682017326355,
-0.7469257116317749,
-0.059469163417816... |
func (*CachingApiV1) NewPurgeAllOptions() *PurgeAllOptions {
return &PurgeAllOptions{}
} | [
-0.20613029599189758,
-0.5183214545249939,
0.3232577443122864,
1.5961639881134033,
-0.7905440330505371,
-0.7676180005073547,
-0.8523687720298767,
0.47292304039001465,
0.7509667873382568,
0.4849584400653839,
-0.6556875109672546,
0.1664951890707016,
-0.2277960181236267,
1.283052921295166,
... |
func (options *PurgeAllOptions) SetHeaders(param map[string]string) *PurgeAllOptions {
options.Headers = param
return options
} | [
-0.3607741892337799,
-0.25169986486434937,
0.5142289996147156,
-0.1635672152042389,
0.5696493983268738,
0.020725872367620468,
-0.723774790763855,
-0.09043685346841812,
0.5612411499023438,
0.15851463377475739,
0.056656014174222946,
-0.3968771994113922,
-0.3567062318325043,
0.384706407785415... |
func UnmarshalPurgeAllResponseResult(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(PurgeAllResponseResult)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj))
return
} | [
-0.012379422783851624,
-0.7333260178565979,
0.49500173330307007,
-0.9167827367782593,
-0.7018541097640991,
-0.6501136422157288,
-0.08295627683401108,
-0.2323174923658371,
0.6161723136901855,
0.008599636144936085,
-0.30970296263694763,
-0.7347059845924377,
-0.5613587498664856,
0.04512555897... |
func (*CachingApiV1) NewPurgeByCacheTagsOptions() *PurgeByCacheTagsOptions {
return &PurgeByCacheTagsOptions{}
} | [
0.11149917542934418,
0.24073512852191925,
0.0369204506278038,
1.206594705581665,
0.06170761212706566,
-0.6352688074111938,
-0.6737030744552612,
-0.7055836319923401,
-0.13429023325443268,
0.7599340081214905,
-1.2465202808380127,
-0.3803349435329437,
0.3348127007484436,
0.8770118355751038,
... |
func (options *PurgeByCacheTagsOptions) SetTags(tags []string) *PurgeByCacheTagsOptions {
options.Tags = tags
return options
} | [
-0.09905152022838593,
0.7278539538383484,
0.07584509253501892,
0.5851466655731201,
1.1444027423858643,
0.22065676748752594,
-0.7007153034210205,
-0.6481307148933411,
0.4333362281322479,
-0.002548969816416502,
-0.6934739351272583,
0.36217233538627625,
-0.14670595526695251,
0.864805877208709... |
func (options *PurgeByCacheTagsOptions) SetHeaders(param map[string]string) *PurgeByCacheTagsOptions {
options.Headers = param
return options
} | [
-0.3460298180580139,
0.24924834072589874,
0.335487425327301,
0.06744637340307236,
0.9203841090202332,
-0.0947960838675499,
-0.397942453622818,
-0.3865950405597687,
0.07246994972229004,
0.1548195332288742,
-0.367033451795578,
-0.36632591485977173,
-0.07690488547086716,
0.1450573354959488,
... |
func (*CachingApiV1) NewPurgeByHostsOptions() *PurgeByHostsOptions {
return &PurgeByHostsOptions{}
} | [
-0.642849862575531,
0.3015834093093872,
0.06544781476259232,
1.8050740957260132,
-0.256521075963974,
-0.1256815791130066,
-0.30516692996025085,
-0.5185390114784241,
-0.14801669120788574,
0.3309406340122223,
-0.606805682182312,
-0.3245176076889038,
0.08162228018045425,
0.8581228852272034,
... |
func (options *PurgeByHostsOptions) SetHosts(hosts []string) *PurgeByHostsOptions {
options.Hosts = hosts
return options
} | [
-0.4320666790008545,
0.8554721474647522,
0.2826407253742218,
0.5588741898536682,
0.7292159795761108,
0.1310080885887146,
-0.4112666845321655,
-0.4921054542064667,
0.2697501480579376,
-0.14192035794258118,
-0.1328722983598709,
0.2065223604440689,
-0.02620612271130085,
0.17306636273860931,
... |
func (options *PurgeByHostsOptions) SetHeaders(param map[string]string) *PurgeByHostsOptions {
options.Headers = param
return options
} | [
-0.5117626190185547,
0.4194277822971344,
0.3924487829208374,
0.18884146213531494,
0.787078320980072,
0.2579072415828705,
-0.31721436977386475,
-0.3086448907852173,
-0.13130702078342438,
0.10676142573356628,
0.030547505244612694,
-0.31095612049102783,
-0.23795537650585175,
-0.14019885659217... |
func (*CachingApiV1) NewPurgeByUrlsOptions() *PurgeByUrlsOptions {
return &PurgeByUrlsOptions{}
} | [
-0.3007066249847412,
-0.08039775490760803,
0.054622866213321686,
0.7933089733123779,
-0.5041186809539795,
-0.4334723651409149,
-0.7247065901756287,
-0.03743774816393852,
0.5360848903656006,
0.26793748140335083,
-0.5868244767189026,
-0.06745444238185883,
-0.2222289890050888,
0.4577858746051... |
func (options *PurgeByUrlsOptions) SetFiles(files []string) *PurgeByUrlsOptions {
options.Files = files
return options
} | [
-0.15993574261665344,
0.7755308747291565,
0.1416277289390564,
0.04742942005395889,
0.9680928587913513,
0.42472562193870544,
-0.13507673144340515,
0.18451523780822754,
0.40830421447753906,
-0.3738272786140442,
0.09911362826824188,
-0.31714126467704773,
-0.6616561412811279,
0.807016372680664... |
func (options *PurgeByUrlsOptions) SetHeaders(param map[string]string) *PurgeByUrlsOptions {
options.Headers = param
return options
} | [
-0.5383661389350891,
0.16564519703388214,
0.3955112397670746,
-0.3179395794868469,
0.7456220388412476,
-0.05823066830635071,
-0.4154026508331299,
-0.128386989235878,
0.3110620975494385,
0.053970132023096085,
-0.13389383256435394,
-0.3311763405799866,
-0.304153710603714,
-0.0860283076763153... |
func UnmarshalServeStaleContentResponseResult(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ServeStaleContentResponseResult)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "value", &obj.Value)
if err != nil {
return
}
er... | [
-0.7636314630508423,
-0.40184104442596436,
0.6231654286384583,
-1.278572916984558,
-0.5788124799728394,
-0.7630778551101685,
0.7789620757102966,
-0.12039849907159805,
-0.43324336409568787,
0.5376302003860474,
-0.6451171636581421,
-0.7176470160484314,
-0.37663692235946655,
-0.07713343203067... |
func (*CachingApiV1) NewUpdateBrowserCacheTtlOptions() *UpdateBrowserCacheTtlOptions {
return &UpdateBrowserCacheTtlOptions{}
} | [
-0.7249528169631958,
-1.323981761932373,
0.19512026011943817,
0.693878173828125,
-1.1339954137802124,
0.3053858280181885,
-0.273312509059906,
-0.20563897490501404,
0.05689608305692673,
1.404427409172058,
-0.8961884379386902,
-0.4649113118648529,
0.06028541922569275,
-0.04052821546792984,
... |
func (options *UpdateBrowserCacheTtlOptions) SetValue(value int64) *UpdateBrowserCacheTtlOptions {
options.Value = core.Int64Ptr(value)
return options
} | [
-0.37772518396377563,
0.684363067150116,
0.3176235556602478,
0.39168086647987366,
-0.09969104826450348,
0.7500258684158325,
0.42900514602661133,
-0.709684431552887,
1.0263824462890625,
0.6960474848747253,
-0.46821752190589905,
-1.0065432786941528,
0.1431901752948761,
0.6091352701187134,
... |
func (options *UpdateBrowserCacheTtlOptions) SetHeaders(param map[string]string) *UpdateBrowserCacheTtlOptions {
options.Headers = param
return options
} | [
-0.643057644367218,
-0.28385552763938904,
0.4326842427253723,
-0.10761123150587082,
0.0866444930434227,
0.6174430251121521,
-0.3115158677101135,
-0.4495229125022888,
0.36538010835647583,
0.5241085290908813,
-0.4792156219482422,
-0.868308424949646,
-0.3411192297935486,
0.005408349446952343,... |
func (*CachingApiV1) NewUpdateCacheLevelOptions() *UpdateCacheLevelOptions {
return &UpdateCacheLevelOptions{}
} | [
-1.1368356943130493,
-0.7743006348609924,
0.3310436010360718,
1.3665740489959717,
-1.0745728015899658,
0.5427302718162537,
-0.25757864117622375,
0.05625154450535774,
0.2650532126426697,
0.624569296836853,
-0.18113894760608673,
-0.17559278011322021,
-0.4540494382381439,
0.43153631687164307,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.