text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (w *Worker) startReader() {
dump, err := os.Open(w.InputFile)
if err != nil {
panic(err)
}
decoder := xml.NewDecoder(dump)
for {
t, _ := decoder.Token()
if t == nil {
break
}
// Inspect the type of the token just read.
switch se := t.(type) {
case xml.StartElement:
if se.Name.Local == "... | [
-0.5256387591362,
-1.20401930809021,
0.5631402134895325,
-0.22947384417057037,
-0.2478969842195511,
0.19151753187179565,
0.15072326362133026,
0.4782603681087494,
-0.6407222747802734,
-0.434533029794693,
0.8053672313690186,
0.2701455056667328,
-0.28445515036582947,
0.8962920904159546,
-0.... |
func (w *Worker) startWriter() {
f, err := os.Create(w.OutputFile)
if err != nil {
panic(err)
}
defer f.Close()
// Write the header
_, err = f.Write(head)
if err != nil {
panic(err)
}
// Write all of the incoming pages, when the channel closes will exit
for text := range w.OutText {
// Remove HTML car... | [
-0.024778999388217926,
-0.24963244795799255,
0.5570153594017029,
-0.3466033339500427,
0.4466153681278229,
-0.2541173994541168,
0.8184831142425537,
0.6301634311676025,
-1.219252586364746,
0.049366243183612823,
0.4879470765590668,
-0.3614836037158966,
-0.29833972454071045,
0.4658493101596832... |
func find(slice []string, val string) bool {
for _, p := range slice {
if p == val {
return true
}
}
return false
} | [
0.3868022561073303,
-0.5897282958030701,
0.3242418169975281,
-0.3293544352054596,
-1.0726743936538696,
0.1258944720029831,
-1.112234115600586,
-0.40900978446006775,
-1.0160582065582275,
1.3778666257858276,
0.3474467396736145,
-0.2612919807434082,
-0.6395683884620667,
0.8235715627670288,
... |
func (w *Worker) startWorker() {
w.wg.Add(1)
defer w.wg.Done()
for p := range w.InPage {
log.Println("processing title: ", p.Title)
// Skip redirect titles, which have no text that needs parsing
if strings.HasPrefix(p.Revision.Text.Text, "#REDIRECT") {
output, err := xml.Marshal(p)
if err != nil {
... | [
-0.2877812385559082,
-0.2878245413303375,
0.7574540972709656,
-0.27509334683418274,
-0.2236047089099884,
-0.07416188716888428,
-0.13673539459705353,
0.47942033410072327,
-0.27320510149002075,
-0.04127166420221329,
0.17341665923595428,
0.43884554505348206,
-0.23605172336101532,
0.6957876682... |
func Type9EnumToValue(type9Enum Type9Enum) string {
switch type9Enum {
case Type9_KOVIRTMANAGER:
return "kOVirtManager"
case Type9_KSTANDALONEHOST:
return "kStandaloneHost"
case Type9_KDATACENTER:
return "kDatacenter"
case Type9_KCLUSTER:
return... | [
-0.5214093327522278,
-1.0875399112701416,
0.5694008469581604,
-0.2626902759075165,
0.4965781569480896,
0.6957975029945374,
-0.6059393286705017,
-0.5675991773605347,
-0.047003909945487976,
0.816005527973175,
-0.2090768814086914,
0.6663850545883179,
-0.4464155435562134,
0.07795251905918121,
... |
func Type9EnumArrayToValue(type9Enum []Type9Enum) []string {
convArray := make([]string,len( type9Enum))
for i:=0; i<len(type9Enum);i++ {
convArray[i] = Type9EnumToValue(type9Enum[i])
}
return convArray
} | [
-0.4264328181743622,
-1.4046685695648193,
1.0012571811676025,
0.030069081112742424,
0.7689430713653564,
0.7279097437858582,
-0.48812347650527954,
-0.46190741658210754,
-0.4213305115699768,
1.7321710586547852,
0.011898736469447613,
0.8182621598243713,
-0.6733465194702148,
0.5933552980422974... |
func Type9EnumFromValue(value string) Type9Enum {
switch value {
case "kOVirtManager":
return Type9_KOVIRTMANAGER
case "kStandaloneHost":
return Type9_KSTANDALONEHOST
case "kDatacenter":
return Type9_KDATACENTER
case "kCluster":
... | [
0.08519268035888672,
-0.8940132856369019,
0.5738169550895691,
0.45982009172439575,
0.1757562905550003,
0.6206060647964478,
0.2528975009918213,
-0.2897375822067261,
0.5192416906356812,
0.05987054109573364,
-0.31473249197006226,
0.22652581334114075,
-0.48750370740890503,
0.20359162986278534,... |
func newNormBlockCtx(parent *blockCtx) *blockCtx {
return newNormBlockCtxEx(parent, true)
} | [
0.41701245307922363,
-0.2989466190338135,
0.30930468440055847,
0.5232624411582947,
-1.4248636960983276,
-0.2296040803194046,
0.17356662452220917,
-0.9136619567871094,
0.2601418197154999,
-0.6853834986686707,
-0.18568848073482513,
0.2102462500333786,
-0.257542222738266,
-0.02971428632736206... |
func (p *blockCtx) getCtxVar(name string) (addr iVar, err error) {
v, ok := p.syms[name]
if !ok {
return nil, ErrNotFound
}
if addr, ok = v.(iVar); ok {
return
}
return nil, ErrSymbolNotVariable
} | [
-0.07918132841587067,
-0.36846503615379333,
0.423306941986084,
0.23786604404449463,
-0.8608001470565796,
-0.5022504925727844,
0.7244830131530762,
-0.3888336420059204,
-0.29578062891960144,
0.720378041267395,
-0.2174236923456192,
0.6671497821807861,
-0.8058503270149231,
-0.2823404371738434,... |
func HelloServer(w http.ResponseWriter, req *http.Request) {
timestamp := time.Now().Unix()
// 毫秒
time.Sleep(10 * time.Millisecond)
io.WriteString(w, strconv.FormatInt(timestamp, 10))
} | [
-0.2546408772468567,
-0.5580774545669556,
0.980516791343689,
0.019667578861117363,
0.8276378512382507,
0.47780340909957886,
0.46279746294021606,
0.41580498218536377,
0.011657044291496277,
-0.09120133519172668,
-1.0302555561065674,
0.08973657339811325,
-0.2514770030975342,
0.819659054279327... |
func Sample() {
fmt.Println("s11sss")
} | [
1.2655253410339355,
0.1773606389760971,
0.416765034198761,
0.4826829135417938,
-0.8854093551635742,
0.531059980392456,
-0.07226401567459106,
0.4607572555541992,
1.0476783514022827,
-0.21325111389160156,
-0.43371519446372986,
1.180647850036621,
0.2441103458404541,
0.21863503754138947,
-0.... |
func JsonParse(request string, data string) []factory.Component {
asusFactory, _ := factory.GetPartsFactory("asus")
amdFactory, _ := factory.GetPartsFactory("amd")
seagateFactory, _ := factory.GetPartsFactory("seagate")
nvidiaFactory, _ := factory.GetPartsFactory("nvidia")
intelFactory, _ := factory.GetPartsFactor... | [
-1.0773234367370605,
-0.10911960154771805,
1.074054479598999,
0.2752763032913208,
-0.32484564185142517,
-0.30428487062454224,
-0.41775333881378174,
-0.32034558057785034,
-0.058669112622737885,
0.4741145968437195,
-0.08233604580163956,
0.6100789308547974,
-0.40062209963798523,
0.30312123894... |
func Init(r chi.Router) {
r.Route("/twitter", twitter.Init)
r.Route("/linkedin", linkedin.Init)
} | [
0.22826145589351654,
-0.2751831114292145,
0.246596559882164,
0.12338346242904663,
1.2521263360977173,
0.7063466310501099,
0.029026702046394348,
0.950915515422821,
0.31777843832969666,
-0.21338866651058197,
-0.6299310922622681,
0.4326780140399933,
0.19505177438259125,
1.2806676626205444,
... |
func (ct *CountingTransport) Count() int32 {
return atomic.LoadInt32(&ct.count)
} | [
0.8331308364868164,
0.33629903197288513,
0.44615620374679565,
-0.39005452394485474,
-0.05181964114308357,
0.6004133820533752,
0.865337610244751,
-0.7917377352714539,
-1.179038166999817,
-0.3976452350616455,
-0.7058097720146179,
-0.6294575929641724,
-0.45567333698272705,
0.5250513553619385,... |
func (ct *CountingTransport) Requests() []*http.Request {
return ct.reqs
} | [
-0.693179726600647,
-0.7101204991340637,
0.17641890048980713,
0.24521997570991516,
1.3212593793869019,
0.7719424366950989,
-0.824611246585846,
-0.5576170682907104,
0.31746214628219604,
-0.8536648154258728,
-0.22062087059020996,
0.20346543192863464,
0.05008668079972267,
0.09968312829732895,... |
func (ct *CountingTransport) RoundTrip(req *http.Request) (*http.Response, error) {
atomic.AddInt32(&ct.count, 1)
// Create an empty response with StatusOK
resp := &http.Response{}
resp.StatusCode = http.StatusOK
resp.Body = &nopCloser{strings.NewReader("")}
// Save the request for testing.
ct.reqs = append(ct... | [
-0.659042477607727,
-0.34058406949043274,
0.5865354537963867,
-0.7984814643859863,
0.09057839959859848,
0.18815883994102478,
0.6100028157234192,
-0.12179026007652283,
0.09284988790750504,
-0.2972899079322815,
0.15516400337219238,
-0.4035181403160095,
-0.298697829246521,
-0.3095370829105377... |
func DryRunClient() (*http.Client, *CountingTransport) {
client := &http.Client{}
tp := &CountingTransport{}
client.Transport = tp
return client, tp
} | [
-0.3795115053653717,
-0.7062968015670776,
0.42416971921920776,
-1.1366270780563354,
-0.3159967362880707,
0.9094833731651306,
0.7960799932479858,
-0.16453376412391663,
-0.6625349521636963,
-0.8331175446510315,
-1.1947180032730103,
0.5897660255432129,
-0.6849263310432434,
-0.9415324926376343... |
func (c *DedicatedGameServerCollectionController) processNextWorkItem() bool {
obj, shutdown := c.workqueue.Get()
if shutdown {
return false
}
// We wrap this block in a func so we can defer c.workqueue.Done.
err := func(obj interface{}) error {
// We call Done here so the workqueue knows we have finished
... | [
-0.20812496542930603,
-0.356925368309021,
0.8894988894462585,
0.05561593174934387,
-0.3992796838283539,
0.2609950304031372,
0.17164839804172516,
-1.330183744430542,
0.03163821995258331,
0.5156829357147217,
-0.02767152525484562,
0.2307571917772293,
-0.6595481634140015,
0.3968699872493744,
... |
func (c *DedicatedGameServerCollectionController) syncHandler(key string) error {
// Convert the namespace/name string into a distinct namespace and name
namespace, name, err := cache.SplitMetaNamespaceKey(key)
if err != nil {
runtime.HandleError(fmt.Errorf("invalid resource key: %s", key))
return nil
}
// G... | [
-0.39352670311927795,
1.019555926322937,
0.7574537396430969,
-0.4467241168022156,
0.7091171145439148,
0.10063161700963974,
0.5007709264755249,
-0.8528848886489868,
-0.261243999004364,
0.4082520306110382,
-0.43468931317329407,
0.05433879420161247,
-0.11414092779159546,
0.3192419409751892,
... |
func (c *DedicatedGameServerCollectionController) enqueueDedicatedGameServerCollection(obj interface{}) {
var key string
var err error
if key, err = cache.MetaNamespaceKeyFunc(obj); err != nil {
runtime.HandleError(err)
return
}
c.workqueue.AddRateLimited(key)
} | [
-0.3580015003681183,
0.8287160992622375,
0.7484048008918762,
-0.24446485936641693,
0.3310348391532898,
0.7287720441818237,
0.19095011055469513,
-1.285451889038086,
0.43537116050720215,
0.2162928432226181,
-1.0215301513671875,
0.8081151843070984,
-0.641427755355835,
0.8354560136795044,
-0... |
func (c *DedicatedGameServerCollectionController) runWorker() {
// hot loop until we're told to stop. processNextWorkItem will
// automatically wait until there's work available, so we don't worry
// about secondary waits
log.Info("Starting loop for DedicatedGameServerCollection controller")
for c.processNextWork... | [
-0.7539178729057312,
-0.2144147753715515,
0.5330784320831299,
0.379177063703537,
0.6377456188201904,
0.6952862739562988,
0.433345228433609,
-0.39841198921203613,
-0.8863710165023804,
-0.7972370982170105,
-0.8480224609375,
-0.3498920798301697,
-0.2788795232772827,
0.9976032972335815,
0.95... |
func New(zctx *zson.Context, parent proc.Interface, args []expr.Evaluator, typ zng.Type, name string) (proc.Interface, error) {
cols := []zng.Column{{Name: name, Type: typ}}
rectyp := zctx.MustLookupTypeRecord(cols)
builder := zng.NewBuilder(rectyp)
return &Proc{
parent: parent,
builder: *builder,
typ: t... | [
0.0023334173019975424,
-0.38871732354164124,
0.47942978143692017,
-1.056846261024475,
-0.5528727173805237,
-0.42620405554771423,
0.5659894347190857,
-1.2791671752929688,
-0.5702196359634399,
0.4357500672340393,
-0.099993996322155,
0.9228795170783997,
0.3590628206729889,
-0.1861287206411361... |
func (s *TestSuite) TestList(c *C) {
root, e := ioutil.TempDir(os.TempDir(), "fs-")
c.Assert(e, IsNil)
defer os.RemoveAll(root)
// Create multiple files.
objectPath := filepath.Join(root, "object1")
fsClient, err := fsNew(objectPath)
c.Assert(err, IsNil)
data := "hello"
reader := bytes.NewReader([]byte(data... | [
0.037352316081523895,
0.0215737484395504,
0.7000081539154053,
-0.5108593702316284,
0.9990377426147461,
-0.1673804521560669,
0.5635996460914612,
-0.9053374528884888,
0.2975967228412628,
-0.6391642093658447,
-0.6487489342689514,
-0.4894056022167206,
0.03860453516244888,
0.48681411147117615,
... |
func (s *TestSuite) TestPutBucket(c *C) {
root, e := ioutil.TempDir(os.TempDir(), "fs-")
c.Assert(e, IsNil)
defer os.RemoveAll(root)
bucketPath := filepath.Join(root, "bucket")
fsClient, err := fsNew(bucketPath)
c.Assert(err, IsNil)
err = fsClient.MakeBucket("us-east-1", true, false)
c.Assert(err, IsNil)
} | [
-0.2334708869457245,
0.8155039548873901,
0.4924899935722351,
-0.69704270362854,
0.3646942377090454,
0.6991585493087769,
0.9759504199028015,
-0.46385639905929565,
-0.39872607588768005,
-1.123487949371338,
-0.9299765825271606,
-0.36916297674179077,
0.44156864285469055,
-0.0946928933262825,
... |
func (s *TestSuite) TestStatBucket(c *C) {
root, e := ioutil.TempDir(os.TempDir(), "fs-")
c.Assert(e, IsNil)
defer os.RemoveAll(root)
bucketPath := filepath.Join(root, "bucket")
fsClient, err := fsNew(bucketPath)
c.Assert(err, IsNil)
err = fsClient.MakeBucket("us-east-1", true, false)
c.Assert(err, IsNil)
_,... | [
0.3757912218570709,
0.5012500286102295,
0.4943464994430542,
-0.638959527015686,
0.7239471077919006,
0.7000631093978882,
0.7574060559272766,
-0.7753559947013855,
-0.4815163314342499,
-1.3024519681930542,
-0.749071478843689,
-0.06721176207065582,
1.0068572759628296,
0.4917830526828766,
0.0... |
func (s *TestSuite) TestBucketACLFails(c *C) {
root, e := ioutil.TempDir(os.TempDir(), "fs-")
c.Assert(e, IsNil)
defer os.RemoveAll(root)
bucketPath := filepath.Join(root, "bucket")
fsClient, err := fsNew(bucketPath)
c.Assert(err, IsNil)
err = fsClient.MakeBucket("us-east-1", true, false)
c.Assert(err, IsNil)
... | [
-0.019114458933472633,
0.616730809211731,
0.7068519592285156,
-0.6445906162261963,
0.4186903238296509,
0.5076488256454468,
0.6376418471336365,
-0.6534957885742188,
-0.7654045820236206,
-0.6866169571876526,
-0.10438334941864014,
0.23920781910419464,
1.0677956342697144,
0.18672725558280945,
... |
func (s *TestSuite) TestPut(c *C) {
root, e := ioutil.TempDir(os.TempDir(), "fs-")
c.Assert(e, IsNil)
defer os.RemoveAll(root)
objectPath := filepath.Join(root, "object")
fsClient, err := fsNew(objectPath)
c.Assert(err, IsNil)
data := "hello"
reader := bytes.NewReader([]byte(data))
var n int64
n, err = fsCl... | [
-0.2647492587566376,
-0.025137977674603462,
0.6310644149780273,
-1.0522648096084595,
0.23938137292861938,
0.3372516334056854,
0.5408012270927429,
-0.5371448397636414,
-0.23835186660289764,
-1.0123926401138306,
-0.5812250971794128,
-0.40317216515541077,
-0.8119054436683655,
-0.1513502448797... |
func (s *TestSuite) TestGet(c *C) {
root, e := ioutil.TempDir(os.TempDir(), "fs-")
c.Assert(e, IsNil)
defer os.RemoveAll(root)
objectPath := filepath.Join(root, "object")
fsClient, err := fsNew(objectPath)
c.Assert(err, IsNil)
data := "hello"
var reader io.Reader
reader = bytes.NewReader([]byte(data))
n, er... | [
-0.27461478114128113,
-0.4919070899486542,
0.873429000377655,
-1.028143048286438,
0.519339919090271,
-0.12268951535224915,
0.07615197449922562,
-0.8515880107879639,
-0.2274423986673355,
-1.2025494575500488,
-0.28331509232521057,
-0.06916330009698868,
-0.4403102695941925,
-0.618698477745056... |
func (s *TestSuite) TestGetRange(c *C) {
root, e := ioutil.TempDir(os.TempDir(), "fs-")
c.Assert(e, IsNil)
defer os.RemoveAll(root)
objectPath := filepath.Join(root, "object")
fsClient, err := fsNew(objectPath)
c.Assert(err, IsNil)
data := "hello world"
var reader io.Reader
reader = bytes.NewReader([]byte(da... | [
-0.2938061058521271,
-0.22956335544586182,
0.7376658320426941,
-0.5887829065322876,
0.9298521876335144,
-0.1826203167438507,
0.3950822949409485,
-0.6735754609107971,
-0.5846803784370422,
-1.2906241416931152,
-0.7423384785652161,
0.08391569554805756,
-0.8365094661712646,
-0.2616820931434631... |
func NewHeatGrid(temp TemperatureGetter, setTemp TemperatureSetter, cond ConductivityGetter) *HeatGrid {
return &HeatGrid{
temperature: temp,
setTemperature: setTemp,
conductivity: cond,
}
} | [
0.5322439670562744,
-0.15274469554424286,
0.3073877990245819,
-0.018345696851611137,
-0.4936128258705139,
-0.4164227843284607,
-1.348722219467163,
0.34107300639152527,
-1.2102800607681274,
1.0555899143218994,
-0.16971556842327118,
0.8465042114257812,
-0.194846510887146,
1.642994999885559,
... |
func initTalks(root http.FileSystem, notification notification.Service, users users.Service) {
// Host static files that slides need.
http.Handle("/static/", cookieAuth{httpgzip.FileServer(presentdata.Assets, httpgzip.FileServerOptions{ServeError: detailedForAdmin{Users: users}.ServeError})})
// Create a template f... | [
-0.062002308666706085,
0.38495251536369324,
0.5251139402389526,
-0.3552660048007965,
0.3571242690086365,
0.05285755544900894,
0.059179987758398056,
0.09789596498012543,
-0.03227011486887932,
-0.5797508955001831,
0.19914254546165466,
0.3984956443309784,
1.3142571449279785,
0.702548980712890... |
func (h *talksHandler) renderDir(w io.Writer, path string, d dirReader) error {
fis, err := d.Readdir(0)
if err != nil {
return err
}
dl := &dirList{Base: h.base, Path: path}
if path != "/" {
dl.Dirs = append(dl.Dirs, dirEntry{
Path: pathpkg.Join(path, ".."),
Name: "..",
})
}
hasSlides := hasSlides(... | [
-0.4445214569568634,
0.1234770119190216,
0.8603617548942566,
-0.43402594327926636,
-0.41264787316322327,
0.05405883118510246,
0.7319823503494263,
0.08080893009901047,
0.44638964533805847,
-0.5729976296424866,
0.4853421151638031,
-0.430648535490036,
0.6554330587387085,
0.952488899230957,
... |
func hasSlides(fis []os.FileInfo) bool {
for _, fi := range fis {
if !fi.IsDir() && pathpkg.Ext(fi.Name()) == ".slide" {
return true
}
}
return false
} | [
0.5613515377044678,
-0.16481930017471313,
0.7712359428405762,
0.3419473171234131,
0.4815694987773895,
0.2980198562145233,
0.17695949971675873,
0.01750008389353752,
-0.4249923527240753,
-0.5601922869682312,
-0.4616203010082245,
-0.9016430377960205,
0.17588375508785248,
1.739935040473938,
... |
func (dl *dirList) Render() []*html.Node {
var nodes []*html.Node
if len(dl.Dirs) > 0 {
nodes = append(nodes,
htmlg.H4(htmlg.Text("Directories:")),
)
var ns []*html.Node
for _, d := range dl.Dirs {
ns = append(ns,
htmlg.DD(
htmlg.A(d.Name, pathpkg.Join(dl.Base, d.Path)),
),
)
}
node... | [
-1.3313181400299072,
0.5065794587135315,
0.6176456212997437,
-0.920739471912384,
-0.23394758999347687,
-0.10611434280872345,
-0.6838482022285461,
0.63108229637146,
0.1705281138420105,
0.6597791910171509,
-0.333059698343277,
-0.17137618362903595,
0.4388370215892792,
0.8598031401634216,
-0... |
func parseTitle(fs http.FileSystem, path string) (string, error) {
f, err := fs.Open(path)
if err != nil {
return "", err
}
defer f.Close()
doc, err := titlesContext.Parse(f, path, present.TitlesOnly)
if err != nil {
return "", err
}
return doc.Title, nil
} | [
0.3540132939815521,
-0.2609906494617462,
0.7038846015930176,
-0.3496093153953552,
-0.6580259203910828,
0.07086959481239319,
-0.5890092253684998,
-0.542404055595398,
-0.11301151663064957,
0.5012271404266357,
0.16247312724590302,
-0.3222511112689972,
-0.6773419380187988,
-0.34750664234161377... |
func humanDate(t time.Time) string {
return t.Format("02 Jan 2006 at 15:04")
} | [
1.1002558469772339,
-0.9652963876724243,
0.6088395118713379,
0.3293270766735077,
-0.6142747402191162,
1.3558671474456787,
-1.3378111124038696,
-0.404493123292923,
-0.290997177362442,
0.4389357566833496,
0.4565799832344055,
0.06975078582763672,
0.5589689016342163,
0.45334720611572266,
-0.... |
func RequestedOAuthScopes(defaultAPIScope string, extraScopes []string) []string {
scopes := []string{"read_user"}
if defaultAPIScope == "" {
defaultAPIScope = "api"
}
if envvar.SourcegraphDotComMode() {
// By default, request `read_api`. User's who are allowed to add private code
// will request full `api` a... | [
-1.4177100658416748,
-0.09665985405445099,
0.6164738535881042,
0.07870486378669739,
-0.13925418257713318,
-0.17652417719364166,
-0.7027567028999329,
-0.5620310306549072,
0.9435970187187195,
0.6624494194984436,
0.6887060403823853,
0.9770609140396118,
-0.6137210726737976,
0.134050190448761,
... |
func (*ArchivedTalkState) Handle() uint8 {
return 6
} | [
-0.16987036168575287,
0.6328358054161072,
0.5047335624694824,
-0.14246980845928192,
0.6665308475494385,
0.13117597997188568,
0.41757169365882874,
-0.13082559406757355,
0.847244381904602,
-1.3267241716384888,
-0.23650503158569336,
-0.21933631598949432,
-0.4798290431499481,
0.269411504268646... |
func (fss *StreamingService) Listeners() map[types.StoreKey][]types.WriteListener {
listeners := make(map[types.StoreKey][]types.WriteListener, len(fss.storeListeners))
for _, listener := range fss.storeListeners {
listeners[listener.StoreKey()] = []types.WriteListener{listener}
}
return listeners
} | [
-0.9302312731742859,
-1.1863785982131958,
0.2707161605358124,
-1.0415971279144287,
0.24594709277153015,
-0.2487596869468689,
-0.1658650040626526,
-0.13829006254673004,
0.3001607656478882,
0.027599984779953957,
-0.15664784610271454,
0.7382422685623169,
-0.19781988859176636,
0.39764443039894... |
func (fss *StreamingService) ListenBeginBlock(ctx context.Context, req abci.RequestBeginBlock, res abci.ResponseBeginBlock) error {
fss.blockMetadata.RequestBeginBlock = &req
fss.blockMetadata.ResponseBeginBlock = &res
fss.currentBlockNumber = req.Header.Height
return nil
} | [
-0.06819462031126022,
-1.220024585723877,
0.8609071373939514,
-0.12750200927257538,
0.0031512794084846973,
-0.0519978292286396,
0.027176188305020332,
-0.8430625200271606,
-0.005772870499640703,
0.10453253239393234,
-0.16187429428100586,
1.2382150888442993,
-0.23041629791259766,
0.948186397... |
func (fss *StreamingService) ListenDeliverTx(ctx context.Context, req abci.RequestDeliverTx, res abci.ResponseDeliverTx) error {
fss.blockMetadata.DeliverTxs = append(fss.blockMetadata.DeliverTxs, &types.BlockMetadata_DeliverTx{
Request: &req,
Response: &res,
})
return nil
} | [
0.009672502055764198,
-1.3614308834075928,
0.720111608505249,
-1.217610478401184,
-0.3536122441291809,
0.6921408772468567,
-0.9109998941421509,
-0.4910696744918823,
0.5087791681289673,
0.3972548842430115,
-0.9712427258491516,
0.3336450159549713,
0.5263084173202515,
0.02057511918246746,
-... |
func (fss *StreamingService) ListenEndBlock(ctx context.Context, req abci.RequestEndBlock, res abci.ResponseEndBlock) error {
fss.blockMetadata.RequestEndBlock = &req
fss.blockMetadata.ResponseEndBlock = &res
return nil
} | [
-0.5159964561462402,
-0.5185842514038086,
0.7415785789489746,
-0.530605673789978,
0.601620078086853,
0.11478601396083832,
-0.825321614742279,
-0.5393381714820862,
-0.29093119502067566,
0.21535316109657288,
-0.37314724922180176,
1.144676685333252,
-0.5859081745147705,
1.017316222190857,
0... |
func (fss *StreamingService) ListenCommit(ctx context.Context, res abci.ResponseCommit) error {
if err := fss.doListenCommit(ctx, res); err != nil {
fss.logger.Error("Listen commit failed", "height", fss.currentBlockNumber, "err", err)
if fss.stopNodeOnErr {
return err
}
}
return nil
} | [
0.9883012175559998,
-1.0711778402328491,
0.8215299844741821,
-0.2797561287879944,
0.14102211594581604,
-0.33505553007125854,
0.16241326928138733,
-0.8448929786682129,
-0.7611755132675171,
0.8050003051757812,
0.4558863639831543,
0.32634586095809937,
-0.7747344374656677,
0.26518937945365906,... |
func (fss *StreamingService) Stream(wg *sync.WaitGroup) error { return nil } | [
-0.7535740733146667,
0.6773988008499146,
0.2620755732059479,
0.8099403381347656,
-0.387734591960907,
0.789736270904541,
0.813205361366272,
-0.37517330050468445,
0.02546663209795952,
-0.6458567976951599,
0.2233339548110962,
0.9683383107185364,
-0.5271662473678589,
1.1090999841690063,
-0.3... |
func (fss *StreamingService) Close() error { return nil } | [
-0.05641263350844383,
-0.2840491235256195,
0.6292052268981934,
0.2616346776485443,
-0.5229620933532715,
0.602573812007904,
0.2254047840833664,
-1.2463465929031372,
-0.18269561231136322,
-1.047454833984375,
0.2758805453777313,
1.1126676797866821,
-1.2701921463012695,
1.4068759679794312,
0... |
func isDirWriteable(dir string) error {
f := path.Join(dir, ".touch")
if err := os.WriteFile(f, []byte(""), 0o600); err != nil {
return err
}
return os.Remove(f)
} | [
-0.05741487815976143,
0.14262257516384125,
1.0888547897338867,
0.6045714020729065,
0.06884239614009857,
-0.4254714846611023,
0.8737608194351196,
0.3362622857093811,
0.2083342969417572,
0.2596125304698944,
-0.06907576322555542,
-0.9917742609977722,
-0.5378733277320862,
0.6857449412345886,
... |
func New(host string, port uint16, startTLS bool, baseDn, bindDn, bindPW string) (*S, error) {
l, err := ldap.Dial("tcp", fmt.Sprintf("%s:%d", host, port))
if err != nil {
return nil, err
}
if startTLS {
err = l.StartTLS(&tls.Config{InsecureSkipVerify: true})
if err != nil {
return nil, err
}
}
err =... | [
0.16167375445365906,
-0.6181808114051819,
0.6092245578765869,
-0.3378315567970276,
-0.7794458866119385,
-0.32560697197914124,
-0.3365798890590668,
-0.40787473320961,
-0.4773174822330475,
-0.05756136402487755,
-0.002326471032574773,
0.7164947986602783,
0.5816578269004822,
0.1853624731302261... |
func (s *S) Lookup(scope Scope, filter Filter, attrs OnlyAttrs) ([]Surfer, error) {
if attrs == nil {
attrs = []string{}
}
out := []Surfer{}
entries, err := s.lookup(scope, filter, attrs)
if err != nil {
return nil, err
}
for _, entry := range entries {
out = append(out, &S{
conn: s.conn,
entry: ... | [
-0.9086106419563293,
0.4206613600254059,
0.6003623008728027,
0.2199527472257614,
-0.25719255208969116,
-0.4489710032939911,
-0.07582451403141022,
0.40457406640052795,
0.8237988352775574,
0.5288931131362915,
0.16842146217823029,
0.6264301538467407,
0.007781213149428368,
0.47234100103378296,... |
func (s *S) Entry() *ldap.Entry {
return s.entry
} | [
0.08673623949289322,
-0.625226616859436,
0.011965983547270298,
-0.7137435674667358,
-0.005414735991507769,
-0.1980258822441101,
0.8535802960395813,
0.21615561842918396,
2.016240358352661,
-0.7870772480964661,
0.14986450970172882,
1.42720365524292,
0.2742151916027069,
-0.5793392658233643,
... |
func (s *S) Parent() Surfer {
return s.parent
} | [
0.8936389684677124,
0.23383605480194092,
0.1884315460920334,
0.37223097681999207,
-1.128856897354126,
0.18765321373939514,
1.5569888353347778,
-1.191399335861206,
0.5364875197410583,
-1.3381381034851074,
0.11755867302417755,
0.14189697802066803,
-0.7201322317123413,
0.4829212725162506,
0... |
func UploadAvatarBook(c echo.Context) error {
// Read form fields
idBook := c.FormValue("id")
book := models.Book{}
// get connection
db := provider.GetConnection()
defer db.Close()
// Validation user exist
if db.First(&book, "id = ?", idBook).RecordNotFound() {
return c.JSON(http.StatusOK, utilities.Respon... | [
-1.0702537298202515,
-0.2706412672996521,
1.2646466493606567,
0.45612823963165283,
-0.6366578936576843,
1.7572147846221924,
0.38316255807876587,
-0.23597417771816254,
-0.5593064427375793,
1.3630582094192505,
-0.5589945316314697,
-0.38510239124298096,
-0.46020254492759705,
0.220974311232566... |
func UploadPdfBook(c echo.Context) error {
// Read form fields
idBook := c.FormValue("id")
book := models.Book{}
// get connection
db := provider.GetConnection()
defer db.Close()
// Validation user exist
if db.First(&book, "id = ?", idBook).RecordNotFound() {
return c.JSON(http.StatusOK, utilities.Response{... | [
-0.816043496131897,
-0.12590748071670532,
1.3004175424575806,
0.18554581701755524,
-0.13040481507778168,
1.3116542100906372,
0.48349007964134216,
-0.402241975069046,
-0.704792320728302,
0.8743718266487122,
-0.2291126847267151,
-0.4315952658653259,
-0.31609806418418884,
0.25530174374580383,... |
func (SqlFileType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{0}
} | [
0.911507248878479,
0.825322687625885,
0.3394262492656708,
-0.04318951815366745,
0.3485637605190277,
-0.11677150428295135,
-0.5812743306159973,
0.24134792387485504,
-0.10345066338777542,
0.4170062243938446,
-0.33457669615745544,
-0.31249669194221497,
-0.3386024534702301,
1.3877894878387451,... |
func (SqlBackendType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{1}
} | [
0.8182095885276794,
1.117377519607544,
0.364366739988327,
-0.1009017750620842,
0.5557319521903992,
-0.5724450945854187,
-0.6182307600975037,
-0.1349099576473236,
-0.2916150689125061,
0.9542574882507324,
-0.21734485030174255,
0.140086367726326,
-0.7962921261787415,
1.1845639944076538,
0.8... |
func (SqlIpAddressType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{2}
} | [
-0.04408499598503113,
0.8557114601135254,
0.2610628008842468,
0.2672521471977234,
0.42317819595336914,
-0.5243074297904968,
-0.2935427129268646,
0.18166197836399078,
1.2923569679260254,
0.549934446811676,
0.16443665325641632,
-0.6814335584640503,
-0.19564615190029144,
0.8216211199760437,
... |
func (SqlDatabaseVersion) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{3}
} | [
0.19200387597084045,
1.048315167427063,
0.1750011444091797,
0.1840088963508606,
0.428189754486084,
-0.18860819935798645,
-0.09561865776777267,
0.01777241937816143,
-0.01558604184538126,
0.7161723971366882,
-0.9483090043067932,
0.13661505281925201,
-0.3276239037513733,
0.9479830265045166,
... |
func (SqlPricingPlan) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{4}
} | [
-0.2488306611776352,
1.1580684185028076,
0.5135849118232727,
0.11319280415773392,
-0.13699331879615784,
-0.04197137430310249,
-0.47242987155914307,
-0.48176902532577515,
0.38511157035827637,
0.2567581534385681,
-0.5868930220603943,
0.5932196378707886,
-0.20065267384052277,
0.40102446079254... |
func (SqlReplicationType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{5}
} | [
0.21514438092708588,
1.388648271560669,
0.4326363503932953,
-0.40882834792137146,
0.07621452957391739,
-0.6221423149108887,
-0.3877246081829071,
0.6688081622123718,
0.4864344894886017,
0.7487877607345581,
-0.6612701416015625,
-0.011892013251781464,
0.06053674593567848,
0.5204589366912842,
... |
func (SqlDataDiskType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{6}
} | [
0.05828487500548363,
0.994705855846405,
0.4558882713317871,
-0.09790075570344925,
0.4402303397655487,
-0.17589229345321655,
-0.4973975419998169,
-0.19722935557365417,
0.10250233858823776,
-0.1850612610578537,
-0.5827426314353943,
0.3030770421028137,
0.13078978657722473,
1.1215293407440186,... |
func (SqlAvailabilityType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{7}
} | [
0.33033522963523865,
0.3390747308731079,
0.242746964097023,
-0.18171986937522888,
-0.046756621450185776,
0.2880477011203766,
-0.6139362454414368,
0.46921172738075256,
0.36105647683143616,
1.194351315498352,
-0.08199281245470047,
-0.5303708910942078,
0.29058733582496643,
1.1576383113861084,... |
func (SqlUpdateTrack) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{8}
} | [
-0.15816928446292877,
0.7447199821472168,
0.619263768196106,
0.044705357402563095,
-0.5577652454376221,
0.23609699308872223,
-0.9713799953460693,
-0.709730327129364,
-0.5477275848388672,
0.42848268151283264,
-0.2214445322751999,
0.18460500240325928,
-0.1373467743396759,
0.7796443700790405,... |
func (ApiWarning_SqlApiWarningCode) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{1, 0}
} | [
-0.510217010974884,
0.8902500867843628,
0.30665627121925354,
-0.2874711751937866,
0.22364673018455505,
-0.6822729110717773,
-1.2116096019744873,
-0.09316141158342361,
-0.07744797319173813,
1.2256484031677246,
0.4072233736515045,
0.2817249000072479,
0.08227909356355667,
-0.4619181156158447,... |
func (BackupRetentionSettings_RetentionUnit) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{2, 0}
} | [
-0.09687258303165436,
0.7436507940292358,
0.5644264221191406,
-0.9557804465293884,
0.9731661081314087,
-0.7194563746452332,
-0.0743790790438652,
0.25864332914352417,
0.1549483984708786,
0.033123213797807693,
-0.395053505897522,
-0.09683645516633987,
-0.9217178225517273,
-0.8115935921669006... |
func (Operation_SqlOperationType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{24, 0}
} | [
-0.1985418051481247,
0.5275932550430298,
0.6547175049781799,
0.4166540503501892,
0.06397941708564758,
-0.2115381360054016,
0.47679054737091064,
-0.19042964279651642,
0.23101991415023804,
0.9285430908203125,
0.41227591037750244,
-1.0568695068359375,
0.3249356746673584,
0.6279166340827942,
... |
func (Operation_SqlOperationStatus) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{24, 1}
} | [
-0.37295302748680115,
0.2766081690788269,
0.4239595830440521,
0.008280421607196331,
-0.3468066453933716,
-0.294794499874115,
-0.09528180956840515,
0.5775623917579651,
0.24946624040603638,
0.7748826742172241,
-0.01758270524442196,
-0.5140114426612854,
0.5651336312294006,
0.02791983447968959... |
func (Settings_SqlActivationPolicy) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{27, 0}
} | [
-0.0663120448589325,
0.3156704604625702,
0.005069004837423563,
-0.02626955509185791,
0.48199838399887085,
-0.17397113144397736,
-0.10941595584154129,
-0.1315930187702179,
0.04561174288392067,
0.7678525447845459,
0.0441226102411747,
-0.2118116319179535,
0.2751927375793457,
-0.24722790718078... |
func (*AclEntry) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{0}
} | [
0.8434832096099854,
0.22698131203651428,
0.4003913402557373,
-0.7582838535308838,
0.08439254015684128,
-0.6328239440917969,
-0.20120321214199066,
-0.6656567454338074,
-0.29417112469673157,
0.17381802201271057,
0.1167013868689537,
0.7152656316757202,
0.5955173969268799,
0.8180927634239197,
... |
func (*ApiWarning) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{1}
} | [
-0.7960461378097534,
0.8891804218292236,
0.38167279958724976,
-0.5851065516471863,
-0.4521335959434509,
-0.6373562216758728,
-0.6971563696861267,
0.0658569410443306,
-0.4210463762283325,
0.3054496943950653,
-0.7592644691467285,
-0.007563475985080004,
0.4038444459438324,
-0.417338103055954,... |
func (*BackupRetentionSettings) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{2}
} | [
-0.48124250769615173,
0.892103374004364,
0.2143465131521225,
-0.48969629406929016,
0.36953145265579224,
-1.0249332189559937,
0.24855546653270721,
-0.2554514408111572,
-0.39560770988464355,
0.4794849455356598,
-0.6406667232513428,
-0.23001454770565033,
-1.061361312866211,
-1.124920248985290... |
func (*BackupConfiguration) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{3}
} | [
-0.9860619306564331,
0.5258616209030151,
0.44377434253692627,
-0.292945921421051,
0.3770619034767151,
-0.6421739459037781,
0.6740627288818359,
0.03221961110830307,
-0.036133699119091034,
0.151774600148201,
-1.2831435203552246,
-0.7076572179794312,
-0.21792398393154144,
0.2545735538005829,
... |
func (*BackupContext) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{4}
} | [
-0.2041638195514679,
0.3950846493244171,
0.571161150932312,
-0.5195102691650391,
-0.2940685749053955,
-0.168424591422081,
-0.14383390545845032,
-0.2956058084964752,
0.17969264090061188,
-0.10559561848640442,
-1.1582518815994263,
0.01100003719329834,
-0.3343937397003174,
0.23538370430469513... |
func (*Database) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{5}
} | [
-1.1206932067871094,
0.7762741446495056,
0.4379841089248657,
0.2399405837059021,
0.36872243881225586,
-0.1651846319437027,
-0.11511474847793579,
0.3363470733165741,
-0.3725009858608246,
-0.5809922218322754,
-0.4002429246902466,
-0.35535553097724915,
-0.3242732882499695,
1.1671391725540161,... |
func (*SqlServerDatabaseDetails) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{6}
} | [
0.3709988594055176,
1.457463026046753,
0.00618046335875988,
0.08026111125946045,
-0.12879331409931183,
0.19422747194766998,
-0.4676753580570221,
-0.15902161598205566,
-0.24611979722976685,
-0.25219738483428955,
-1.3034026622772217,
0.38880860805511475,
-0.597368061542511,
0.895339131355285... |
func (*DatabaseFlags) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{7}
} | [
0.43324318528175354,
1.3186752796173096,
0.16448192298412323,
-0.0751296654343605,
0.24879546463489532,
-0.09058763831853867,
0.09547781199216843,
0.4769757091999054,
-0.3507798910140991,
-0.3963189721107483,
-1.4737520217895508,
0.3538992702960968,
-0.8095887303352356,
0.7418685555458069,... |
func (*MySqlSyncConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{8}
} | [
0.6215764880180359,
0.8928523063659668,
0.34773680567741394,
-0.2790772616863251,
-0.6256502866744995,
-0.966995358467102,
0.10344254970550537,
1.1900020837783813,
-0.7104620933532715,
0.1047675758600235,
-1.3078441619873047,
0.3546801507472992,
1.0569576025009155,
1.0121095180511475,
0.... |
func (*SyncFlags) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{9}
} | [
0.663558840751648,
1.2663155794143677,
0.5289100408554077,
-0.14422374963760376,
-0.0368766225874424,
-0.3715142011642456,
0.46361905336380005,
0.6586236953735352,
-1.1167688369750977,
-0.04467080533504486,
-1.2142908573150635,
0.7595588564872742,
-0.11688286811113358,
0.7132368087768555,
... |
func (*InstanceReference) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{10}
} | [
-0.5977610945701599,
0.22243234515190125,
0.3068908452987671,
-1.0943639278411865,
0.16140171885490417,
0.06669958680868149,
0.1338837742805481,
0.30422118306159973,
-0.7865456342697144,
0.44108453392982483,
-0.2838138937950134,
0.9507153034210205,
-1.0663881301879883,
0.4763900935649872,
... |
func (*DemoteMasterConfiguration) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{11}
} | [
-1.0282695293426514,
0.4009900391101837,
0.30099937319755554,
-0.05407560244202614,
-0.6187917590141296,
-0.237320214509964,
0.9601048827171326,
0.35941189527511597,
-0.25542062520980835,
-0.4254315197467804,
-0.7620865702629089,
-0.4659053385257721,
0.462516725063324,
0.7329816222190857,
... |
func (*DemoteMasterMySqlReplicaConfiguration) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{12}
} | [
-0.5146296620368958,
0.4481344223022461,
0.3275223970413208,
-0.7279778122901917,
-0.9201454520225525,
-0.8435865044593811,
0.9595925211906433,
1.3078056573867798,
0.20197851955890656,
-0.444652795791626,
-0.7228451371192932,
0.32353952527046204,
0.14432324469089508,
0.6949948668479919,
... |
func (*ExportContext) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{13}
} | [
-0.14571286737918854,
0.6631859540939331,
0.4873605966567993,
-0.16163136065006256,
-0.709050714969635,
-0.29694974422454834,
-0.07767213135957718,
-0.3867349326610565,
0.6622052192687988,
0.5323324203491211,
-0.6540699601173401,
-0.04325699806213379,
-0.5468873977661133,
0.56516033411026,... |
func (*ImportContext) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{14}
} | [
0.0575919970870018,
0.5795589685440063,
0.7002059817314148,
0.04926932230591774,
-0.26285186409950256,
-0.07345053553581238,
0.2549764811992645,
-0.18173754215240479,
0.31759265065193176,
0.34396737813949585,
-0.7577967047691345,
-0.2813534736633301,
-0.5600560307502747,
0.3399489521980285... |
func (*IpConfiguration) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{15}
} | [
-1.5568424463272095,
0.670487642288208,
0.15149375796318054,
-0.21837523579597473,
-0.3555193245410919,
-0.47066450119018555,
0.33213555812835693,
-0.03701739385724068,
-0.7527509331703186,
0.47535815834999084,
-0.7113348245620728,
-1.4425989389419556,
-0.2125469148159027,
-0.1729721873998... |
func (*LocationPreference) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{16}
} | [
-0.05871080234646797,
-0.15501052141189575,
0.2756979465484619,
-0.007309358101338148,
-0.07957534492015839,
-0.24941395223140717,
-0.2100830376148224,
0.03731495141983032,
-0.24685215950012207,
0.8145383596420288,
-0.37546229362487793,
0.5640904307365417,
-0.16728892922401428,
0.111520849... |
func (x *LocationPreference) GetFollowGaeApplication() string {
if x != nil {
return x.FollowGaeApplication
}
return ""
} | [
0.2772897183895111,
0.045265574008226395,
0.46042707562446594,
0.2572358250617981,
-0.2328060120344162,
1.3420805931091309,
0.9599431753158569,
-0.9749660491943359,
1.2924827337265015,
0.706619381904602,
0.7032029032707214,
0.48356592655181885,
-0.18550308048725128,
1.3774443864822388,
1... |
func (*MaintenanceWindow) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{17}
} | [
0.17200011014938354,
0.2715465724468231,
0.3620510697364807,
0.2541222870349884,
-0.5512759685516357,
-0.12538856267929077,
0.25721731781959534,
-0.1010299101471901,
-0.5430307388305664,
-0.8000819087028503,
0.1766357719898224,
0.15768642723560333,
-0.6502217650413513,
1.3715109825134277,
... |
func (*DenyMaintenancePeriod) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{18}
} | [
0.7273081541061401,
0.13380217552185059,
0.3369676172733307,
-0.30714473128318787,
0.2995564937591553,
0.981960654258728,
0.452102392911911,
-0.8494155406951904,
-0.4757274091243744,
-0.1491573303937912,
0.6738408803939819,
-0.17534151673316956,
-1.1458110809326172,
0.7161214351654053,
0... |
func (*InsightsConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{19}
} | [
0.2705343961715698,
0.9623966813087463,
0.025339990854263306,
-0.8320761919021606,
0.13505199551582336,
-0.2698531746864319,
-0.009483766742050648,
0.4870508909225464,
-0.9107251763343811,
-0.4126763939857483,
-1.082937479019165,
0.20749501883983612,
0.009164287708699703,
1.093326449394226... |
func (*MySqlReplicaConfiguration) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{20}
} | [
-0.6863740086555481,
0.5754490494728088,
0.288776159286499,
-1.2731362581253052,
-0.5017386078834534,
-1.138906717300415,
0.528378427028656,
1.2843927145004272,
0.06108466908335686,
-0.19894744455814362,
-1.2891610860824585,
0.14188498258590698,
-0.19508123397827148,
0.5102859139442444,
... |
func (*DiskEncryptionConfiguration) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{21}
} | [
-1.645370364189148,
0.9018034934997559,
0.20330649614334106,
0.4183090031147003,
0.4255641996860504,
-0.7285404801368713,
0.4907386302947998,
-0.13633513450622559,
-0.6718770265579224,
0.35171908140182495,
-1.27871835231781,
-0.07683451473712921,
-0.2028486728668213,
0.15093746781349182,
... |
func (*DiskEncryptionStatus) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{22}
} | [
-1.0934890508651733,
0.8247987627983093,
0.23085737228393555,
0.22320139408111572,
-0.19364206492900848,
-0.9029143452644348,
0.050713684409856796,
0.0487496480345726,
-0.9710562229156494,
0.641867995262146,
-1.6712688207626343,
0.06781704723834991,
0.343424916267395,
0.1206030547618866,
... |
func (*IpMapping) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{23}
} | [
-1.4327250719070435,
0.9544917345046997,
0.3990689516067505,
-0.21730585396289825,
-0.5723528861999512,
-0.21181261539459229,
-0.004637707956135273,
0.26892367005348206,
-0.6704842448234558,
0.10317886620759964,
-0.19110903143882751,
-0.8960404992103577,
0.3334486782550812,
-0.688978433609... |
func (*Operation) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{24}
} | [
-1.050754427909851,
0.8252685070037842,
0.6270033121109009,
-0.12782561779022217,
-0.10318461805582047,
-0.01852179504930973,
0.7463786005973816,
0.3054000437259674,
-0.30117368698120117,
0.25786760449409485,
-0.43581879138946533,
-1.5288190841674805,
-0.05890244245529175,
-0.2391182482242... |
func (*Settings) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{27}
} | [
-0.7883948087692261,
1.3523685932159424,
0.29900747537612915,
-0.34996721148490906,
0.24396100640296936,
-0.3776765763759613,
-0.023287206888198853,
-0.4089445173740387,
-0.7183145880699158,
-0.04557210952043533,
-0.24976755678653717,
-0.5638191103935242,
0.24235709011554718,
0.22522608935... |
func (x *Settings) GetAuthorizedGaeApplications() []string {
if x != nil {
return x.AuthorizedGaeApplications
}
return nil
} | [
-0.4129186272621155,
-0.11507415771484375,
0.37016385793685913,
0.6420403122901917,
-0.15799835324287415,
0.5024443864822388,
0.09419815987348557,
-0.7243120670318604,
1.1540212631225586,
0.866820216178894,
0.07055522501468658,
0.6085397601127625,
-0.1443183422088623,
0.9818853139877319,
... |
func (x *Settings) GetReplicationType() SqlReplicationType {
if x != nil {
return x.ReplicationType
}
return SqlReplicationType_SQL_REPLICATION_TYPE_UNSPECIFIED
} | [
0.48197251558303833,
1.6085693836212158,
0.36277908086776733,
0.6129163503646851,
0.631386399269104,
-0.32018691301345825,
-0.28551018238067627,
0.12869513034820557,
1.202898383140564,
0.3372514545917511,
-0.2507447898387909,
0.26611417531967163,
-0.30899640917778015,
0.4213567078113556,
... |
func (x *Settings) GetCrashSafeReplicationEnabled() *wrapperspb.BoolValue {
if x != nil {
return x.CrashSafeReplicationEnabled
}
return nil
} | [
0.20774365961551666,
1.367820382118225,
0.39779749512672424,
0.8347781300544739,
0.05986835062503815,
0.2836986482143402,
0.09549668431282043,
0.5057775378227234,
0.28317904472351074,
0.725216269493103,
-1.2162635326385498,
0.09673450887203217,
-0.792090892791748,
0.2329626977443695,
0.2... |
func (*SslCert) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{28}
} | [
-0.03758328780531883,
0.05216279625892639,
0.4978599548339844,
-1.2628872394561768,
-0.5492162108421326,
0.06152467429637909,
-0.7143592238426208,
-0.1515679657459259,
-0.06631944328546524,
-0.5290385484695435,
-0.8564103841781616,
0.6028246879577637,
-0.2747628092765808,
0.642790317535400... |
func (*SslCertDetail) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{29}
} | [
0.625328540802002,
0.08321463316679001,
0.6244922876358032,
-0.7133627533912659,
-0.3724890351295471,
0.07559821754693985,
-0.5568006038665771,
-0.06584899127483368,
0.1310567557811737,
0.19743968546390533,
-1.464632272720337,
0.8150410652160645,
0.21359898149967194,
0.46323561668395996,
... |
func (*SqlActiveDirectoryConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{30}
} | [
1.1093477010726929,
-0.24852828681468964,
-0.08152227848768234,
-0.47165346145629883,
-0.5216454267501831,
-0.41853174567222595,
0.07174516469240189,
0.5410780906677246,
-0.4419492483139038,
0.015047313645482063,
-0.8658585548400879,
-0.33845001459121704,
0.3262783885002136,
0.062094204127... |
func (*SqlServerAuditConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_sql_v1_cloud_sql_resources_proto_rawDescGZIP(), []int{31}
} | [
0.2913188934326172,
0.38635146617889404,
0.18450602889060974,
-0.056523945182561874,
-0.6940086483955383,
0.03287762403488159,
-0.07371336221694946,
0.24711725115776062,
-0.4147019386291504,
0.17974400520324707,
-0.14899294078350067,
0.8279216289520264,
0.5307477116584778,
0.43011444807052... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.