text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (m *EmbeddedSIMActivationCode) GetMatchingIdentifier()(*string) {
val, err := m.GetBackingStore().Get("matchingIdentifier")
if err != nil {
panic(err)
}
if val != nil {
return val.(*string)
}
return nil
} | [
0.7995063662528992,
-0.13969182968139648,
0.298601359128952,
0.9324649572372437,
-0.24425379931926727,
0.8390799164772034,
0.17648845911026,
1.045888066291809,
0.647088348865509,
-0.138759046792984,
0.1508849561214447,
-0.5503217577934265,
-0.32216593623161316,
-0.5010807514190674,
1.213... |
func (m *EmbeddedSIMActivationCode) GetSmdpPlusServerAddress()(*string) {
val, err := m.GetBackingStore().Get("smdpPlusServerAddress")
if err != nil {
panic(err)
}
if val != nil {
return val.(*string)
}
return nil
} | [
-0.52524733543396,
0.2471996545791626,
0.37367430329322815,
1.1002956628799438,
-1.1374952793121338,
0.5769725441932678,
0.20192880928516388,
0.32515743374824524,
1.9753497838974,
-0.2852001190185547,
-0.36181744933128357,
0.6043782830238342,
-0.5712599754333496,
0.15857036411762238,
0.2... |
func (m *EmbeddedSIMActivationCode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
{
err := writer.WriteStringValue("integratedCircuitCardIdentifier", m.GetIntegratedCircuitCardIdentifier())
if err != nil {
return err
... | [
-0.19895349442958832,
0.10361696034669876,
0.5053334832191467,
-0.09618262946605682,
0.07693932950496674,
-0.9823373556137085,
0.8285160064697266,
0.5977446436882019,
0.19576634466648102,
0.235136017203331,
-0.19751602411270142,
0.060245465487241745,
-0.7224532961845398,
0.4112228453159332... |
func (m *EmbeddedSIMActivationCode) SetAdditionalData(value map[string]any)() {
err := m.GetBackingStore().Set("additionalData", value)
if err != nil {
panic(err)
}
} | [
0.4599791467189789,
0.40077775716781616,
-0.041208162903785706,
0.4961105287075043,
-0.5322664976119995,
1.0221710205078125,
0.33468982577323914,
-0.28818947076797485,
0.6287239789962769,
-0.6374419927597046,
-0.032797977328300476,
0.19375911355018616,
-0.1586703360080719,
0.62708956003189... |
func (m *EmbeddedSIMActivationCode) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() {
m.backingStore = value
} | [
0.3495788872241974,
0.20673112571239471,
0.3032324016094208,
0.16151127219200134,
-0.20197008550167084,
0.41585442423820496,
0.9349357485771179,
-0.32780349254608154,
-0.2836628556251526,
-0.34590521454811096,
0.194931760430336,
-0.8706563711166382,
-0.9149085283279419,
0.15434113144874573... |
func (m *EmbeddedSIMActivationCode) SetIntegratedCircuitCardIdentifier(value *string)() {
err := m.GetBackingStore().Set("integratedCircuitCardIdentifier", value)
if err != nil {
panic(err)
}
} | [
-0.02936607226729393,
-0.38790425658226013,
0.03935970738530159,
-0.6549411416053772,
0.022679848596453667,
0.5005370378494263,
0.8825376629829407,
0.6007056832313538,
0.01928192377090454,
0.4676881730556488,
-1.4553353786468506,
-0.4066624641418457,
-0.795779287815094,
-0.3216567933559418... |
func (m *EmbeddedSIMActivationCode) SetMatchingIdentifier(value *string)() {
err := m.GetBackingStore().Set("matchingIdentifier", value)
if err != nil {
panic(err)
}
} | [
0.17713108658790588,
-0.12469659000635147,
-0.02538241446018219,
0.8697783946990967,
-0.4275195896625519,
1.2635940313339233,
0.5190573930740356,
0.982198178768158,
0.26645997166633606,
-0.014213730581104755,
-0.6883476376533508,
-1.1569734811782837,
-0.09420683234930038,
0.071324557065963... |
func (m *EmbeddedSIMActivationCode) SetSmdpPlusServerAddress(value *string)() {
err := m.GetBackingStore().Set("smdpPlusServerAddress", value)
if err != nil {
panic(err)
}
} | [
-0.8434885144233704,
0.15633830428123474,
0.14908263087272644,
0.8136138916015625,
-1.3705064058303833,
0.7519222497940063,
0.13755561411380768,
0.39023470878601074,
1.8331224918365479,
-0.09248912334442139,
-0.5447877645492554,
0.532996416091919,
-0.18461735546588898,
0.18105611205101013,... |
func GetCapitalOneJobPostings(ctx context.Context) (<-chan *JobPosting, error) {
return getWorkdayJobPostings(ctx, "https://capitalone.wd1.myworkdayjobs.com/en-US/Capital_One")
} | [
-1.2381237745285034,
-0.04452088102698326,
0.48626014590263367,
0.9459306001663208,
-0.10930978506803513,
0.029881678521633148,
-0.16878747940063477,
-0.31716105341911316,
0.5036116242408752,
-0.8682122826576233,
-0.28682413697242737,
0.20610231161117554,
-1.300663709640503,
0.798972785472... |
func ProcName(_ int, procName string) string { return procName } | [
0.4750027656555176,
-0.6807177662849426,
0.6850911974906921,
-0.9558614492416382,
-0.8262379169464111,
-0.321573942899704,
0.6488286256790161,
-0.8516097664833069,
0.13484632968902588,
0.7633358240127563,
0.683928906917572,
-0.5062285661697388,
0.46749573945999146,
-0.276571661233902,
0.... |
func LSBID(platform string) string {
switch platform {
case "redhat":
return "RedHat"
case "linuxmint":
return "LinuxMint"
case "scientific":
return "ScientificSL"
case "xenserver":
return "XenServer"
case "centos":
return "CentOS"
case "cloudlinux":
return "CloudLinux"
case "opensuse":
return "Op... | [
0.4559057354927063,
-0.43870487809181213,
0.6982932686805725,
0.10840802639722824,
-0.2782573997974396,
1.3031249046325684,
-0.8206173181533813,
-0.7275368571281433,
-0.16801688075065613,
0.5310683250427246,
0.08290085196495056,
0.7785658836364746,
-0.8864768147468567,
1.1772359609603882,
... |
func (m Machine) IF(reg Registry, wg *sync.WaitGroup) {
// m is unused
ifaddrs, err := net.Interfaces()
if err != nil {
// err is gone
wg.Done()
return
}
if list, err := psnet.NetIOCounters(true); err == nil {
// err is gone
for _, netio := range list {
if !HardwareIF(netio.Name) {
continue
}
... | [
0.042332831770181656,
1.274567723274231,
0.5674067139625549,
-0.0808587297797203,
0.23403161764144897,
0.304367333650589,
1.0052577257156372,
0.456445574760437,
-0.5029089450836182,
0.24412205815315247,
0.09545297175645828,
-0.44845688343048096,
-0.39707428216934204,
1.1937694549560547,
... |
func verify(t *testing.T, searchQuery string, searchResults []workitem.WorkItem, expectedCount int) {
// Since this test adds test data, whether or not other workitems exist
// there must be at least 1 search result returned.
if len(searchResults) == expectedCount && expectedCount == 0 {
// no point checking furth... | [
-0.14151239395141602,
0.059960342943668365,
0.5991773009300232,
0.1360848993062973,
0.3947277367115021,
0.09022148698568344,
-0.04822639375925064,
-0.1117338091135025,
0.024172596633434296,
-0.2372109591960907,
-0.45582738518714905,
0.16346506774425507,
-1.1367799043655396,
0.6060424447059... |
func (o *CertificateListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewCertificateListOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return result, nil... | [
-0.5742883086204529,
-1.0202535390853882,
0.4833376109600067,
0.6504724025726318,
0.001611459767445922,
-0.6503774523735046,
-0.16346898674964905,
0.026761405169963837,
0.5005322694778442,
0.7828226685523987,
-0.08972075581550598,
-1.0587573051452637,
-0.7924254536628723,
-0.13646462559700... |
func NewCertificateListOK() *CertificateListOK {
return &CertificateListOK{}
} | [
-0.4327213168144226,
-0.6251152753829956,
-0.08749902248382568,
1.2014598846435547,
-1.5897191762924194,
0.07844536006450653,
0.09561754763126373,
0.5611475706100464,
-0.368118017911911,
1.0553920269012451,
-2.0765647888183594,
-0.4725841283798218,
0.7070549726486206,
1.106412649154663,
... |
func LoadConfig(appName string) {
switch runtime.GOOS {
case "linux":
readConfig("/etc/", appName)
readConfig(os.ExpandEnv("$HOME"), appName)
case "windows":
readConfig(os.ExpandEnv("$ALLUSERSPROFILE"), appName)
readConfig(os.ExpandEnv("$APPDATA"), appName)
default:
vlog.Warn("App:Config", "Unsupported op... | [
0.44790583848953247,
0.18956097960472107,
0.6023527383804321,
0.7451139688491821,
-0.4124549627304077,
1.0629212856292725,
-0.740393877029419,
0.8072026968002319,
-1.0640442371368408,
1.2170108556747437,
0.21389569342136383,
0.5725116729736328,
-0.14673584699630737,
1.3092782497406006,
0... |
func PrintConfig() {
for k, v := range config {
fmt.Printf("%s: %v\n", k, v)
}
} | [
0.2751936614513397,
0.03390929475426674,
0.26339584589004517,
-0.09053897857666016,
0.32272952795028687,
0.5566089153289795,
-0.8854150772094727,
0.7541348934173584,
-1.6355184316635132,
0.8984615206718445,
-0.3959348797798157,
0.5997774600982666,
0.43720653653144836,
1.4386407136917114,
... |
func GetStringConfig(key string) (value string) {
value = config[key].(string)
return value
} | [
-0.08406683057546616,
-0.39424869418144226,
0.1441158801317215,
-0.7490103244781494,
-1.1707367897033691,
-0.19974756240844727,
-0.8811493515968323,
0.3903200030326843,
-0.6616864204406738,
1.4981681108474731,
-0.6236142516136169,
0.40432119369506836,
-0.24491223692893982,
0.38422560691833... |
func GetConfig(key string, value interface{}) (err error) {
if val, ok := config[key]; ok {
// if im, ok := val.(map[string]interface{}); ok {
// err = mapstructure.Decode(im, value)
// } else {
// err = fmt.Errorf("Config for key %s is not in expected format",
// key)
// }
err = mapstructure.Decode(... | [
-0.49332812428474426,
-0.3342025578022003,
1.016387701034546,
0.5307721495628357,
-0.8809299468994141,
-0.07985366135835648,
-0.37886136770248413,
0.670264482498169,
-0.14816729724407196,
0.7706161737442017,
0.3130244314670563,
0.06346345692873001,
0.1456662267446518,
0.5685480237007141,
... |
func HasConfig(key string) (yes bool) {
_, yes = config[key]
return yes
} | [
-0.21260271966457367,
0.5574291348457336,
0.43316105008125305,
0.2350810170173645,
-0.436565637588501,
0.2575966417789459,
-0.42520666122436523,
1.6087517738342285,
-0.7373562455177307,
0.908399224281311,
-1.1016569137573242,
-1.1207200288772583,
0.7628652453422546,
1.500399112701416,
-0... |
func (s *Service) CreateUser(ctx context.Context, email, username string) error {
email = strings.TrimSpace(email)
if !rxEmail.MatchString(email) {
return ErrInvalidEmail
}
username = strings.TrimSpace(username)
if !rxUsername.MatchString(username) {
return ErrInvalidUsername
}
query := "INSERT INTO users... | [
-0.3071645200252533,
0.4603128433227539,
0.5113315582275391,
-0.05659525841474533,
0.49681851267814636,
0.1437663733959198,
0.21695280075073242,
0.04610284045338631,
-0.1456541121006012,
0.007907458581030369,
-0.05368657782673836,
-0.2557893991470337,
-0.9230753779411316,
-0.18930318951606... |
func (s *Service) Users(ctx context.Context, search string, first int, after string) ([]UserProfile, error) {
search = strings.TrimSpace(search)
after = strings.TrimSpace(after)
first = normalizePage(first)
uid, auth := ctx.Value(KeyAuthUserID).(int64)
query, args, err := buildQuery(`
SELECT id, email, username,... | [
-0.8275410532951355,
0.42096295952796936,
0.6832804679870605,
-0.3422762453556061,
-0.420072466135025,
-0.37582990527153015,
0.4779028296470642,
-0.80748450756073,
0.0032182293944060802,
0.20306532084941864,
-0.35641977190971375,
0.007844195701181889,
0.022991234436631203,
0.28243410587310... |
func (s *Service) User(ctx context.Context, username string) (UserProfile, error) {
var u UserProfile
username = strings.TrimSpace(username)
if !rxUsername.MatchString(username) {
return u, ErrInvalidUsername
}
uid, auth := ctx.Value(KeyAuthUserID).(int64)
args := []interface{}{username}
var avatar sql.Nul... | [
-0.37241485714912415,
0.016150886192917824,
0.737058699131012,
-0.057904597371816635,
-0.7618402242660522,
-0.3182525336742401,
1.0663038492202759,
-0.6406610012054443,
0.7864136099815369,
-0.3570833206176758,
-0.5032699704170227,
0.10527579486370087,
0.0645521953701973,
0.1122591495513916... |
func (s *Service) UpdateAvatar(ctx context.Context, r io.Reader) (string, error) {
uid, ok := ctx.Value(KeyAuthUserID).(int64)
if !ok {
return "", ErrUnauthenticated
}
r = io.LimitReader(r, MaxAvatarBytes)
img, format, err := image.Decode(r)
if err != nil {
return "", fmt.Errorf("could not read avatar: %v", e... | [
-1.381069302558899,
-0.3369167149066925,
0.9146971702575684,
0.009047693572938442,
-1.1587213277816772,
0.16713924705982208,
0.7530105113983154,
-0.38622334599494934,
0.5612649917602539,
0.528171181678772,
0.4447348415851593,
-0.08388438820838928,
0.1043291911482811,
0.3859487473964691,
... |
func (s *Service) ToggleFollow(ctx context.Context, username string) (ToggleFollowOutput, error) {
var out ToggleFollowOutput
followerID, ok := ctx.Value(KeyAuthUserID).(int64)
if !ok {
return out, ErrUnauthenticated
}
username = strings.TrimSpace(username)
if !rxUsername.MatchString(username) {
return out... | [
-0.6027125120162964,
0.19237609207630157,
1.0120570659637451,
0.48740634322166443,
-0.8600943088531494,
0.29495105147361755,
1.0801571607589722,
0.06232278048992157,
0.3916444182395935,
0.4667339026927948,
0.4198051691055298,
0.37483033537864685,
-0.45402589440345764,
0.47438475489616394,
... |
func (s *Service) Followers(ctx context.Context, username string, first int, after string) ([]UserProfile, error) {
username = strings.TrimSpace(username)
username = strings.TrimSpace(username)
if !rxUsername.MatchString(username) {
return nil, ErrInvalidUsername
}
after = strings.TrimSpace(after)
first = nor... | [
-0.08944766968488693,
-0.030655760318040848,
0.6566876769065857,
0.060515932738780975,
-0.5854923129081726,
-0.12929369509220123,
0.0075291795656085014,
-0.3348609209060669,
0.0030641446355730295,
-0.10298037528991699,
-0.4866460859775543,
0.09487704932689667,
-0.23297934234142303,
0.43050... |
func (s *Service) Followees(ctx context.Context, username string, first int, after string) ([]UserProfile, error) {
username = strings.TrimSpace(username)
username = strings.TrimSpace(username)
if !rxUsername.MatchString(username) {
return nil, ErrInvalidUsername
}
after = strings.TrimSpace(after)
first = nor... | [
-0.2615915536880493,
-0.09069596230983734,
0.5580315589904785,
-0.37272971868515015,
-0.8696106672286987,
0.07667216658592224,
-0.0005526449531316757,
-0.34259799122810364,
-0.35194727778434753,
-0.18953825533390045,
-0.011469596065580845,
0.4087655246257782,
0.12743684649467468,
0.5788107... |
func Install(packageName string, packageVersion string) string {
store := config.GetConfig("storeLocation")
fmt.Println("Installing to store: ", store)
fmt.Println(packageName, packageVersion)
path := store + "/packages/" + packageName + "/" + packageVersion
if _, err := os.Stat(path); os.IsNotExist(err) {
// ... | [
-0.6041208505630493,
-0.4868296980857849,
0.6453835368156433,
-0.1159847229719162,
-0.13571663200855255,
0.8611108064651489,
0.6733487248420715,
0.9073439240455627,
0.10003650188446045,
0.6475529074668884,
-0.20053915679454803,
-0.8701373338699341,
-0.5780342817306519,
-0.09755770117044449... |
func BuildDBConfig() *DBConfig {
hostname, exist := os.LookupEnv("DB_HOST")
if !exist {
panic("DB_HOST not in env...Exiting.")
}
username, exist := os.LookupEnv("DB_USER")
if !exist {
panic("DB_USER not in env.")
}
password, exist := os.LookupEnv("DB_PASSWD")
if !exist {
panic("DB_PASSWD not in env.")
... | [
-0.0682406947016716,
-0.023684188723564148,
0.7758811116218567,
0.5671177506446838,
-0.43801045417785645,
0.733550488948822,
-0.49955832958221436,
0.44800689816474915,
-1.371057152748108,
-0.009885619394481182,
-0.5396934151649475,
0.46706992387771606,
-0.5002340078353882,
1.19803130626678... |
func DbURL(dbConfig *DBConfig) string {
return fmt.Sprintf("%s:%s@tcp(%s:%d)/%s?charset=utf8&parseTime=True&loc=Local",
dbConfig.User,
dbConfig.Password,
dbConfig.Host,
dbConfig.Port,
dbConfig.DBName,
)
} | [
-0.16120900213718414,
0.35602280497550964,
0.4487660229206085,
0.11454939842224121,
0.15351824462413788,
0.7113827466964722,
-0.6998873353004456,
0.31351959705352783,
-0.5213373303413391,
1.2479321956634521,
-0.15717105567455292,
-0.3607883155345917,
-0.20271873474121094,
-0.01736254617571... |
func (cc *gloryConnClient) ReadFrame() ([]byte, error) {
data := <-cc.frameQueue
if data == nil {
return nil, errors.New("read on closed client")
}
return data, nil
} | [
-0.3560926616191864,
0.0012222854420542717,
0.5238363146781921,
0.23157145082950592,
-0.18877887725830078,
-0.2611195147037506,
-0.5483072996139526,
-1.0415599346160889,
-0.707585334777832,
-0.4584892988204956,
0.06873328983783722,
0.6435354948043823,
-0.9000016450881958,
0.320738375186920... |
func Get(method, url string, params map[string]string, vPtr interface{}) error {
account, token, err := LoginWithSelectedAccount()
if err != nil {
return LogError("Couldn't get account details or login token", err)
}
url = fmt.Sprintf("%s%s", account.ServerURL, url)
req, err := http.NewRequest(method, url, nil)... | [
-0.6487085819244385,
0.11314237117767334,
1.1860384941101074,
-0.14135214686393738,
0.1452222317457199,
-0.473898321390152,
-0.612130343914032,
-0.41897138953208923,
-0.5954610705375671,
0.6703557968139648,
0.4382791221141815,
1.4126861095428467,
-0.36458316445350647,
0.24194924533367157,
... |
func CloseTheCloser(c io.Closer) {
_ = c.Close()
} | [
0.26279059052467346,
-1.3457428216934204,
0.46045196056365967,
-0.34022754430770874,
-1.0749013423919678,
0.965086817741394,
0.8327886462211609,
-0.3710765838623047,
-1.1081938743591309,
-0.6150445938110352,
-0.24342745542526245,
-0.944725513458252,
0.188436359167099,
2.307461977005005,
... |
func Location(cityName string, db *sql.DB) string {
_, err := storeLocationBookmark(cityName, db)
if err != nil {
fmt.Println("error: ", err.Error())
return "failed to bookmark"
}
return cityName + " bookmarked"
} | [
-0.04425700008869171,
-0.5543708801269531,
0.5668739676475525,
-0.3504338562488556,
-0.4533291161060333,
1.1255937814712524,
1.0599461793899536,
0.9428738951683044,
-0.04215577244758606,
1.1747862100601196,
-0.05406029149889946,
0.3313208222389221,
0.06962820887565613,
0.39316827058792114,... |
func AddUserHandler(w http.ResponseWriter, r *http.Request) {
err := AddUserProcessor(w, r)
if err != nil {
data, statusCode, _ := oauth2Svr.GetErrorData(err)
data["user_id"] = username(r)
HttpResponse(w, data, statusCode)
return
}
HttpResponse(w, defaultSuccessResponse(), http.StatusOK)
return
} | [
-0.782637357711792,
-0.28359612822532654,
0.8793092966079712,
0.8793084621429443,
-0.8805544972419739,
0.7112249732017517,
0.002557920292019844,
0.6905323266983032,
0.2674247622489929,
0.10837050527334213,
-0.1539272964000702,
-0.3516482412815094,
-0.9394849538803101,
0.3430894613265991,
... |
func NewController(exec boil.ContextExecutor) Controller {
repo := &personRepository{executor: exec}
svc := &personService{repo: repo}
pc := &personController{service: svc}
return pc
} | [
0.5509078502655029,
0.14062164723873138,
0.35335496068000793,
0.3374007046222687,
-0.2803376019001007,
0.440671443939209,
-0.31239989399909973,
0.3639773428440094,
0.4560711681842804,
-0.8565388321876526,
0.8293891549110413,
-0.12599678337574005,
-0.22437670826911926,
0.8711754083633423,
... |
func (r *Result) Reset() {
*r = Result{}
} | [
-0.587503969669342,
0.2099333554506302,
-0.129264235496521,
0.051439445465803146,
0.035475797951221466,
-0.4863065183162689,
0.9752790927886963,
-1.271679401397705,
-0.5530467629432678,
-0.49480634927749634,
-0.8242969512939453,
0.43825000524520874,
-1.0457226037979126,
-0.1553843468427658... |
func (r *Result) String() string {
return proto.CompactTextString(r)
} | [
0.6200809478759766,
0.0027872894424945116,
-0.050435420125722885,
-0.19593234360218048,
-0.8571847081184387,
0.36102354526519775,
0.721107006072998,
-1.6122931241989136,
0.019513627514243126,
-0.429057240486145,
-0.25250065326690674,
-0.2367744892835617,
-1.2426245212554932,
-0.22833092510... |
func (*Result) ProtoMessage() {} | [
-0.9098487496376038,
0.6208962202072144,
0.2912198603153229,
0.6306852698326111,
0.37759318947792053,
-0.16976691782474518,
0.7551394701004028,
-0.5840818285942078,
0.017673399299383163,
-1.2641139030456543,
-0.478189617395401,
-0.7991406917572021,
-1.6291486024856567,
0.78866046667099,
... |
func (client *Client) GetIncomeStatement(symbol string) (*IncomeStatement, error) {
request := rest.NewRequest("INCOME_STATEMENT", symbol, client.APIKey())
response, err := request.Get(apiServer)
if err != nil {
return nil, err
}
err = response.CheckStatusCode()
if err != nil {
return nil, err
}
result, ... | [
-1.4086711406707764,
0.08589357882738113,
0.75618577003479,
-0.014809338375926018,
-0.5113942623138428,
-0.9401993155479431,
0.7197993397712708,
-0.7455883026123047,
0.7055932879447937,
0.3874095380306244,
-0.21629272401332855,
0.7703060507774353,
-1.9510478973388672,
-0.1289551705121994,
... |
func RegisterFUOTADeploymentServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FUOTADeploymentServiceServer) error {
mux.Handle("POST", pattern_FUOTADeploymentService_CreateForDevice_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCan... | [
-1.1642242670059204,
-0.07894282788038254,
0.5854007601737976,
-0.40479373931884766,
0.23981836438179016,
-0.05557791516184807,
0.7623850703239441,
-0.13503816723823547,
-0.6998745203018188,
-0.7030308842658997,
-0.04233791306614876,
0.3936798870563507,
-0.014031368307769299,
1.12118351459... |
func RegisterFUOTADeploymentServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) {
conn, err := grpc.Dial(endpoint, opts...)
if err != nil {
return err
}
defer func() {
if err != nil {
if cerr := conn.Close(); cerr != nil {
grpclog.In... | [
-0.2766372859477997,
-0.3510822355747223,
0.6624062657356262,
0.47126662731170654,
0.05533923581242561,
-0.025916796177625656,
-0.004986308515071869,
-0.5755172371864319,
-0.7291451096534729,
0.1270666867494583,
0.4600157141685486,
-0.2190081775188446,
-0.2459651529788971,
0.04651902616024... |
func RegisterFUOTADeploymentServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {
return RegisterFUOTADeploymentServiceHandlerClient(ctx, mux, NewFUOTADeploymentServiceClient(conn))
} | [
-0.5092530250549316,
0.400526225566864,
0.1347290575504303,
0.01859871856868267,
0.42656081914901733,
0.12852150201797485,
0.6034359335899353,
-0.23866477608680725,
-1.036234974861145,
-0.34067103266716003,
-0.034113120287656784,
0.15264539420604706,
0.11496669799089432,
0.9816345572471619... |
func RegisterFUOTADeploymentServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FUOTADeploymentServiceClient) error {
mux.Handle("POST", pattern_FUOTADeploymentService_CreateForDevice_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCan... | [
-0.7615551352500916,
0.15088245272636414,
0.5838221907615662,
-0.5528841018676758,
0.06588607281446457,
0.022572394460439682,
0.7150793075561523,
-0.4801003634929657,
-0.7209411859512329,
-0.5823976397514343,
0.07015282660722733,
0.38888877630233765,
0.36084383726119995,
0.7340279817581177... |
func (e Exchanger) WithClock(c clock.Clock) Exchanger {
e.clock = c
return e
} | [
0.28937065601348877,
0.6760971546173096,
0.3101549446582794,
-1.249197244644165,
-0.007653558626770973,
0.5340242981910706,
0.7227510809898376,
-0.15412059426307678,
1.0556985139846802,
-0.24597683548927307,
0.1104947179555893,
0.13128827512264252,
0.6135773062705994,
0.3954393267631531,
... |
func (e Exchanger) WithRand(reader io.Reader) Exchanger {
e.rand = reader
return e
} | [
-0.38254907727241516,
-0.49475282430648804,
0.4814440608024597,
-1.4698666334152222,
-0.39286676049232483,
0.5728016495704651,
0.4263346791267395,
-0.6096456050872803,
0.7503097653388977,
-0.2006547749042511,
0.6826885342597961,
-0.19213002920150757,
0.2855461537837982,
0.5138163566589355,... |
func (e Exchanger) WithLogger(log *zap.Logger) Exchanger {
e.log = log
return e
} | [
-0.6248586773872375,
0.5670484304428101,
0.18000279366970062,
-1.111280083656311,
-0.3033001720905304,
-0.09865966439247131,
0.19656439125537872,
0.2691066265106201,
1.2198525667190552,
-0.3795299828052521,
0.11495648324489594,
-0.6861908435821533,
0.299336314201355,
0.6906412243843079,
... |
func (e Exchanger) WithTimeout(timeout time.Duration) Exchanger {
e.timeout = timeout
return e
} | [
0.25073444843292236,
0.405141681432724,
0.2617727220058441,
-0.7903162837028503,
-0.20027217268943787,
0.4470524489879608,
-0.5537809133529663,
0.5327310562133789,
0.9732117652893066,
1.1284974813461304,
0.12849441170692444,
-0.005741447675973177,
0.6959636807441711,
-0.0219908207654953,
... |
func NewExchanger(conn transport.Conn, dc int) Exchanger {
return Exchanger{
conn: conn,
clock: clock.System,
rand: crypto.DefaultRand(),
log: zap.NewNop(),
timeout: DefaultTimeout,
dc: dc,
}
} | [
-0.08717066049575806,
-0.5033854246139526,
0.2541717290878296,
0.2551703453063965,
-0.9604731798171997,
0.2250201404094696,
-0.5527218580245972,
0.3253357410430908,
0.19300663471221924,
0.17193040251731873,
-0.41226911544799805,
-0.11197838187217712,
-0.5617202520370483,
0.8704923391342163... |
func (e Exchanger) Client(keys []PublicKey) ClientExchange {
return ClientExchange{
unencryptedWriter: e.unencryptedWriter(
proto.MessageServerResponse,
proto.MessageFromClient,
),
rand: e.rand,
log: e.log,
keys: keys,
dc: e.dc,
}
} | [
-0.29535049200057983,
0.23466482758522034,
0.20016784965991974,
-0.5149627923965454,
-0.5444328784942627,
-0.148654043674469,
0.2935110032558441,
-0.6322489380836487,
-0.0042919497936964035,
0.08019763231277466,
-0.2618677020072937,
0.3413807153701782,
-0.5353047847747803,
-0.1075229346752... |
func (e Exchanger) Server(key PrivateKey) ServerExchange {
return ServerExchange{
unencryptedWriter: e.unencryptedWriter(
proto.MessageFromClient,
proto.MessageServerResponse,
),
rand: e.rand,
log: e.log,
rng: TestServerRNG{rand: e.rand},
key: key,
dc: e.dc,
}
} | [
-1.0800015926361084,
-0.23419083654880524,
0.3428781032562256,
-0.6532583236694336,
0.1461823433637619,
-0.11503499001264572,
0.3074144423007965,
-0.23188874125480652,
0.6441558599472046,
0.3110005855560303,
-0.4353354573249817,
0.23487064242362976,
-1.6822774410247803,
0.6607003211975098,... |
func TestLogNodeRoundTripMultiSubtree(t *testing.T) {
t.Parallel()
ctx := context.Background()
handle := openTestDBOrDie(t)
as := NewSQLAdminStorage(handle.db)
tree := mustCreateTree(ctx, t, as, storageto.LogTree)
s := NewLogStorage(handle.db, nil)
const writeRev = int64(100)
const size = 871
nodesToStore, e... | [
0.12930136919021606,
0.46300581097602844,
0.873075008392334,
-0.9519776105880737,
0.4815983474254608,
0.4890251159667969,
0.07865544408559799,
-0.37672844529151917,
0.1447567343711853,
0.13653726875782013,
-0.5819728374481201,
0.4350442588329315,
-0.020050523802638054,
0.040238700807094574... |
func nodesAreEqual(lhs, rhs []stree.Node) error {
if ls, rs := len(lhs), len(rhs); ls != rs {
return fmt.Errorf("different number of nodes, %d vs %d", ls, rs)
}
for i := range lhs {
if l, r := lhs[i].ID, rhs[i].ID; l != r {
return fmt.Errorf("NodeIDs are not the same,\nlhs = %v,\nrhs = %v", l, r)
}
if l, ... | [
-0.06165967881679535,
-0.4084717035293579,
0.5140747427940369,
-0.9349784851074219,
0.8587091565132141,
0.39378106594085693,
-0.4879222512245178,
-0.930794358253479,
-0.6619892120361328,
1.2606303691864014,
-0.13598008453845978,
0.7381030321121216,
-0.4520176947116852,
0.6220650672912598,
... |
func mustCreateTree(ctx context.Context, t *testing.T, s storage.AdminStorage, tree *trillian.Tree) *trillian.Tree {
t.Helper()
tree, err := storage.CreateTree(ctx, s, tree)
if err != nil {
t.Fatalf("storage.CreateTree(): %v", err)
}
return tree
} | [
-0.034953802824020386,
0.2877824604511261,
0.29186317324638367,
-0.2862631380558014,
0.3379315435886383,
0.4191678464412689,
-1.4193519353866577,
-0.7836722135543823,
0.9472549557685852,
0.720020592212677,
0.13459239900112152,
0.13649094104766846,
-0.3181230127811432,
1.1160887479782104,
... |
func (p *Products) List(w http.ResponseWriter, r *http.Request) {
list := []Product{}
const q = `SELECT * FROM products`
if err := p.db.Select(&list, q); err != nil {
log.Printf("error: selecting products: %s", err)
w.WriteHeader(http.StatusInternalServerError)
return
}
data, err := json.Marshal(list)
if... | [
-1.4407705068588257,
-0.9433279633522034,
0.6088250875473022,
-0.19061541557312012,
0.6222401857376099,
-0.708191990852356,
-0.09435010701417923,
0.11341571062803268,
0.2306678295135498,
1.1103546619415283,
-0.8988616466522217,
-0.1336745172739029,
0.08681000769138336,
0.4796474575996399,
... |
func (ctx *Context) Send(smsg *SendMessage) (int, error) {
msgid, err := ctx.Bot.SendMessage(ctx.Chat.ID, smsg)
if err != nil {
return msgid, err
}
ctx.chat.setEditMessageID(msgid)
return msgid, err
} | [
-0.888053297996521,
0.33801403641700745,
0.7409981489181519,
0.08948016166687012,
-0.3866361677646637,
-0.20310555398464203,
0.12114637345075607,
-0.37245211005210876,
0.07922223955392838,
0.2299564778804779,
-0.43926534056663513,
0.5878046154975891,
-1.3086169958114624,
1.2373054027557373... |
func (ctx *Context) Edit(messageid int, smsg *SendMessage) error {
_, err := ctx.Bot.EditMessage(ctx.Chat.ID, messageid, smsg)
return err
} | [
-0.32683369517326355,
0.03148162364959717,
0.30011364817619324,
-0.17363031208515167,
0.3763735294342041,
0.28716740012168884,
0.0785573273897171,
-0.025602685287594795,
-0.5583961009979248,
0.5288755297660828,
0.2786763310432434,
0.9629789590835571,
-1.2003737688064575,
0.7924471497535706... |
func (ctx *Context) SendMessage(text string, opt ...SendOptions) (int, error) {
return ctx.Send(ctx.NewMessage(text, opt...))
} | [
-0.43434250354766846,
0.6235513091087341,
0.5612754225730896,
0.5656037330627441,
-0.0029572383500635624,
-0.17267461121082306,
-0.07743437588214874,
-0.4767138361930847,
0.5839793682098389,
0.1263016015291214,
0.014353476464748383,
0.02232484146952629,
-1.1396654844284058,
0.3547915816307... |
func (ctx *Context) SendTextMessage(text string, a ...interface{}) (int, error) {
return ctx.Send(ctx.NewMessage(fmt.Sprintf(text, a...)))
} | [
-0.8215751051902771,
0.3946688175201416,
0.44128063321113586,
0.10863886773586273,
0.028850378468632698,
-0.28312844038009644,
-0.8929067850112915,
-0.49135076999664307,
0.2331753969192505,
0.53520268201828,
-0.9206753969192505,
0.018967239186167717,
-0.9083840250968933,
0.9688525199890137... |
func (ctx *Context) ExpectAnswer() (*Context, bool) {
return ctx.chat.ExpectAnswer()
} | [
-0.9648207426071167,
-0.05212806165218353,
0.5453945398330688,
0.14779646694660187,
-1.0623126029968262,
0.01745758391916752,
-0.3000892400741577,
-0.5757022500038147,
0.5427130460739136,
0.3941957950592041,
0.09848449379205704,
-0.5374186038970947,
-0.6340823173522949,
0.43736252188682556... |
func main() {
fs := http.FileServer(http.Dir("public"))
fmt.Printf("fs type: %T\n", fs)
http.Handle("/pics/", fs)
http.HandleFunc("/", dogs)
http.ListenAndServe(":8080", nil)
} | [
-0.8620745539665222,
-0.38955655694007874,
0.614453136920929,
0.05934009328484535,
0.9597223997116089,
0.5315292477607727,
0.21501792967319489,
0.26849767565727234,
-1.196181058883667,
-1.825532078742981,
-0.22996170818805695,
0.33789753913879395,
-0.022324636578559875,
0.22863930463790894... |
func NewHandler(defaultCfg langserver.Config) *BuildHandler {
if defaultCfg.MaxParallelism <= 0 {
panic(fmt.Sprintf("langserver.Config.MaxParallelism must be at least 1 (got %d)", defaultCfg.MaxParallelism))
}
shared := &langserver.HandlerShared{Shared: true}
h := &BuildHandler{
HandlerShared: shared,
lang: &... | [
0.20786242187023163,
-0.1629781574010849,
0.2947694957256317,
0.9137800335884094,
-0.5218773484230042,
1.2848681211471558,
0.5464240312576294,
0.5728371739387512,
-0.005010642576962709,
-0.31177112460136414,
-0.22615423798561096,
-0.36482930183410645,
-0.6160774230957031,
0.387436240911483... |
func (h *BuildHandler) reset(init *lspext.InitializeParams, conn *jsonrpc2.Conn, rootURI lsp.DocumentURI) error {
h.mu.Lock()
defer h.mu.Unlock()
h.findPkgMu.Lock()
defer h.findPkgMu.Unlock()
if err := h.HandlerCommon.Reset(rootURI); err != nil {
return err
}
if err := h.HandlerShared.Reset(false); err != nil ... | [
-0.5020787715911865,
-0.43195801973342896,
0.6321830153465271,
0.5575780868530273,
-0.2636369466781616,
0.3354456126689911,
0.5009150505065918,
0.24154695868492126,
-0.8032774925231934,
-0.0041383737698197365,
-0.5566505789756775,
0.418969064950943,
-1.186005711555481,
0.31187310814857483,... |
func (h *BuildHandler) callLangServer(ctx context.Context, conn *jsonrpc2.Conn, method string, id jsonrpc2.ID, params, result interface{}) error {
req := jsonrpc2.Request{
ID: id,
Method: method,
}
if err := req.SetParams(params); err != nil {
return err
}
wrappedConn := &jsonrpc2ConnImpl{rewriteURI: h.... | [
-1.0569565296173096,
-0.39314815402030945,
0.6091573238372803,
-0.366836279630661,
-0.2718375325202942,
-0.08396042138338089,
-1.0206016302108765,
-0.7627617716789246,
-0.46971747279167175,
0.031947992742061615,
-0.7352267503738403,
0.09927956014871597,
-0.9080158472061157,
0.7338693141937... |
func (tf TrueFilter) ToFilterDescription() FilterDescription {
return FilterDescription{
Type: "TrueFilter",
SQLExpression: ptrString("1=1"),
}
} | [
-0.33423373103141785,
0.7174583077430725,
0.40194088220596313,
-0.8355427384376526,
0.17193247377872467,
-0.429200142621994,
0.16537797451019287,
0.5259398818016052,
-0.2468906193971634,
1.3264638185501099,
-0.5223392248153687,
1.4947021007537842,
-0.15766118466854095,
0.9663260579109192,
... |
func (ff FalseFilter) ToFilterDescription() FilterDescription {
return FilterDescription{
Type: "FalseFilter",
SQLExpression: ptrString("1!=1"),
}
} | [
-0.3962833881378174,
0.7661728858947754,
0.4346385598182678,
-0.5821274518966675,
0.6234815716743469,
-0.5183141827583313,
0.07563352584838867,
0.20892412960529327,
0.017239948734641075,
0.7381058931350708,
-0.29770952463150024,
1.4708470106124878,
-0.5016342997550964,
1.4843848943710327,
... |
func (sf SQLFilter) ToFilterDescription() FilterDescription {
return FilterDescription{
Type: "SqlFilter",
SQLExpression: &sf.Expression,
}
} | [
0.5857912302017212,
0.7706714868545532,
0.5519928336143494,
-0.6113148331642151,
-0.037228524684906006,
-0.48760685324668884,
-0.6149119138717651,
0.4236578345298767,
0.2853047847747803,
0.4734382927417755,
-0.04091881215572357,
2.247471332550049,
0.3026864528656006,
0.7871377468109131,
... |
func (cf CorrelationFilter) ToFilterDescription() FilterDescription {
return FilterDescription{
Type: "CorrelationFilter",
CorrelationFilter: cf,
}
} | [
0.2812865376472473,
0.5870899558067322,
0.5078206658363342,
-0.8701204657554626,
0.7480142116546631,
-0.306093692779541,
0.6192416548728943,
-0.29153260588645935,
-0.20162133872509003,
0.6569472551345825,
0.017023539170622826,
1.6929324865341187,
0.01877443678677082,
0.6564611196517944,
... |
func NewPluginFlag(flag string, hasConfig bool, defaultValue interface{}, usage string) *PluginFlag {
return &PluginFlag{
Flag: flag,
HasConfig: hasConfig,
Usage: usage,
DefaultValue: defaultValue,
}
} | [
0.6743593811988831,
-0.43681591749191284,
0.17520049214363098,
0.7518110871315002,
-0.4614599049091339,
-0.437529593706131,
-0.3900504410266876,
0.9338986277580261,
-0.43712371587753296,
-0.7284803986549377,
-1.744265079498291,
0.7078810334205627,
-0.6605967879295349,
0.2236243337392807,
... |
func (e Email) SendSendgridEmail() error {
request := sendgrid.GetRequest(viper.GetString("SENDGRID_API_KEY"), "/v3/mail/send", "https://api.sendgrid.com")
request.Method = "POST"
if e.TemplateID != "" {
request.Body = e.dynamicTemplateEmailBody()
} else {
request.Body = e.plainTextEmailBody()
}
_, err := s... | [
-0.9683544635772705,
0.6584358811378479,
0.6348085403442383,
0.5441513657569885,
0.6449828147888184,
-0.4730779826641083,
-0.16131699085235596,
0.0395139716565609,
-0.9690717458724976,
1.0953433513641357,
-0.70693039894104,
0.6531161069869995,
-0.9902106523513794,
0.4214697480201721,
-0.... |
func HTTPStatus(code string) int {
if status, ok := errorCodeMap[code]; ok {
return status
}
return errorCodeMap[UnexpectedError]
} | [
-0.8477303981781006,
-0.09792309254407883,
0.6508265733718872,
-0.647038996219635,
-0.40195658802986145,
0.11527622491121292,
0.1013667955994606,
0.645458459854126,
0.16231496632099152,
0.0902995690703392,
-0.8237185478210449,
1.1370904445648193,
-0.12113727629184723,
0.29718008637428284,
... |
func NewPortalSignInCustomization() *PortalSignInCustomization {
this := PortalSignInCustomization{}
return &this
} | [
-0.2561984360218048,
0.42428481578826904,
0.022763239219784737,
0.45759764313697815,
-1.0287048816680908,
-1.0522444248199463,
0.5040384531021118,
-0.009156307205557823,
0.8750115633010864,
0.05214563384652138,
-0.9637316465377808,
0.32591697573661804,
-0.22289834916591644,
0.1981412023305... |
func NewPortalSignInCustomizationWithDefaults() *PortalSignInCustomization {
this := PortalSignInCustomization{}
return &this
} | [
-0.17805664241313934,
0.5650244355201721,
-0.03917733207345009,
0.5146300792694092,
0.09511805325746536,
-0.8592043519020081,
-0.09113660454750061,
-0.22018687427043915,
0.7301046252250671,
-0.2411390244960785,
-1.0812445878982544,
-0.7859381437301636,
-0.5365631580352783,
0.14963263273239... |
func (o *PortalSignInCustomization) GetBackgroundColor() string {
if o == nil || o.BackgroundColor == nil {
var ret string
return ret
}
return *o.BackgroundColor
} | [
0.9678422808647156,
0.7327437996864319,
0.11625096201896667,
1.0834295749664307,
-0.336728036403656,
-0.37757956981658936,
0.4129214882850647,
-0.40187543630599976,
0.560084342956543,
-0.2962891459465027,
0.16743402183055878,
-0.9039087891578674,
-1.2891913652420044,
0.8830414414405823,
... |
func (o *PortalSignInCustomization) GetBackgroundColorOk() (*string, bool) {
if o == nil || o.BackgroundColor == nil {
return nil, false
}
return o.BackgroundColor, true
} | [
1.0474843978881836,
0.12620985507965088,
0.08180230110883713,
0.3497188687324524,
0.05084618180990219,
-0.2324129343032837,
0.2194717973470688,
0.27253079414367676,
-0.4098787009716034,
1.1350250244140625,
-0.7521224021911621,
-0.19141750037670135,
-0.8391016721725464,
0.40967869758605957,... |
func (o *PortalSignInCustomization) HasBackgroundColor() bool {
if o != nil && o.BackgroundColor != nil {
return true
}
return false
} | [
1.1021662950515747,
0.5461759567260742,
0.17413300275802612,
0.6172397136688232,
0.5567296743392944,
-1.3885142803192139,
-0.2799234986305237,
0.0854223221540451,
-0.1434374302625656,
0.05953241512179375,
-0.7691624760627747,
-0.42846885323524475,
-0.9698901772499084,
0.9696230888366699,
... |
func (o *PortalSignInCustomization) SetBackgroundColor(v string) {
o.BackgroundColor = &v
} | [
1.40450119972229,
0.22450242936611176,
-0.23490892350673676,
0.07252654433250427,
-1.0319575071334839,
-0.8693262934684753,
0.019975055009126663,
-0.6505454182624817,
0.24768348038196564,
0.3303418755531311,
-0.027449795976281166,
1.0601493120193481,
-1.2336933612823486,
-0.247734531760215... |
func (o *PortalSignInCustomization) GetBackgroundImage() string {
if o == nil || o.BackgroundImage == nil {
var ret string
return ret
}
return *o.BackgroundImage
} | [
0.6376951336860657,
0.43476465344429016,
0.049663979560136795,
1.1183048486709595,
0.1628873646259308,
-0.2316579967737198,
0.2924633324146271,
-0.10174427926540375,
-0.045837193727493286,
0.017738960683345795,
-0.00043640134390443563,
-0.85239177942276,
-1.9355806112289429,
0.919015467166... |
func (o *PortalSignInCustomization) GetBackgroundImageOk() (*string, bool) {
if o == nil || o.BackgroundImage == nil {
return nil, false
}
return o.BackgroundImage, true
} | [
0.5820088386535645,
0.2252737134695053,
0.02476469799876213,
0.573556125164032,
0.3820205628871918,
-0.15147195756435394,
0.2984846830368042,
1.1564154624938965,
-0.9360837340354919,
1.5580533742904663,
-0.7731353044509888,
0.005566168576478958,
-1.4561562538146973,
0.8913513422012329,
0... |
func (o *PortalSignInCustomization) HasBackgroundImage() bool {
if o != nil && o.BackgroundImage != nil {
return true
}
return false
} | [
0.6444524526596069,
0.5878310799598694,
0.05936993658542633,
0.8647128343582153,
0.9675580263137817,
-0.692084789276123,
-0.02848081849515438,
0.7101958990097046,
-0.7877762913703918,
0.3535064160823822,
-0.5434523224830627,
-0.35814422369003296,
-1.4622395038604736,
1.2927800416946411,
... |
func (o *PortalSignInCustomization) SetBackgroundImage(v string) {
o.BackgroundImage = &v
} | [
0.9473215937614441,
0.022077294066548347,
-0.6300402879714966,
0.15667451918125153,
-0.15552155673503876,
-0.39602258801460266,
-0.31878235936164856,
-0.47994932532310486,
-0.5771473050117493,
0.6486401557922363,
0.11371161788702011,
1.1492018699645996,
-1.8230646848678589,
-0.258227497339... |
func (o *PortalSignInCustomization) GetLogo() string {
if o == nil || o.Logo == nil {
var ret string
return ret
}
return *o.Logo
} | [
1.1532307863235474,
0.9460015892982483,
0.003089320845901966,
1.2317816019058228,
-0.44801685214042664,
-0.5567978024482727,
0.7732345461845398,
-0.040787383913993835,
0.4714348614215851,
-0.6191884279251099,
-0.35395166277885437,
-1.3390051126480103,
-0.021959513425827026,
-0.081970706582... |
func (o *PortalSignInCustomization) GetLogoOk() (*string, bool) {
if o == nil || o.Logo == nil {
return nil, false
}
return o.Logo, true
} | [
0.45927393436431885,
0.7541857957839966,
0.34827589988708496,
0.44746294617652893,
-0.4242302477359772,
-0.11995235830545425,
0.11435645073652267,
0.1294855922460556,
0.4400366246700287,
0.07526717334985733,
-0.26947104930877686,
-0.6290633678436279,
-0.0421462319791317,
-0.232399195432662... |
func (o *PortalSignInCustomization) HasLogo() bool {
if o != nil && o.Logo != nil {
return true
}
return false
} | [
1.394307255744934,
0.7116779088973999,
0.20764042437076569,
0.7126646041870117,
0.0630062147974968,
-0.8070598840713501,
-0.056090112775564194,
1.0480128526687622,
-0.11495880037546158,
-0.6862956881523132,
-0.9826036095619202,
-0.9162133932113647,
0.42506006360054016,
-0.03301673755049705... |
func (o *PortalSignInCustomization) SetLogo(v string) {
o.Logo = &v
} | [
1.1075586080551147,
0.5788904428482056,
-0.4327665865421295,
0.4528358280658722,
-1.3531434535980225,
-0.731997549533844,
-0.10257299989461899,
-0.505429208278656,
0.19585570693016052,
0.23934140801429749,
-0.5238455533981323,
0.8200513124465942,
-0.013455179519951344,
-0.6628577709197998,... |
func (o *PortalSignInCustomization) GetText() string {
if o == nil || o.Text == nil {
var ret string
return ret
}
return *o.Text
} | [
0.11584095656871796,
1.0494946241378784,
0.11472522467374802,
0.9607659578323364,
-0.07307806611061096,
-0.4891367554664612,
0.7382215261459351,
-0.31118476390838623,
1.6211328506469727,
0.06039610505104065,
-0.1840810775756836,
-1.3386814594268799,
-0.7466649413108826,
0.17765280604362488... |
func (o *PortalSignInCustomization) GetTextOk() (*string, bool) {
if o == nil || o.Text == nil {
return nil, false
}
return o.Text, true
} | [
0.3128756582736969,
0.3130101263523102,
0.25869160890579224,
0.49316003918647766,
-0.20385229587554932,
-0.050622694194316864,
0.5121884346008301,
0.8054565191268921,
0.392294704914093,
1.3082435131072998,
-1.0167979001998901,
-1.0334737300872803,
-0.00899897888302803,
0.24482733011245728,... |
func (o *PortalSignInCustomization) HasText() bool {
if o != nil && o.Text != nil {
return true
}
return false
} | [
-0.1079302504658699,
0.942485511302948,
0.08474800735712051,
0.47383707761764526,
0.3535696566104889,
-0.5396019816398621,
0.1350921094417572,
0.699343204498291,
1.121971845626831,
0.15964509546756744,
-0.24814046919345856,
-1.0431629419326782,
-0.39837899804115295,
-0.2776695787906647,
... |
func (o *PortalSignInCustomization) SetText(v string) {
o.Text = &v
} | [
0.02620917744934559,
0.693737804889679,
-0.33505183458328247,
0.45801475644111633,
-1.2784854173660278,
-0.31293943524360657,
-0.27857255935668945,
-0.3989335000514984,
1.1243749856948853,
0.5752098560333252,
-0.19383440911769867,
0.7985689043998718,
-0.6935034990310669,
-0.870520651340484... |
func (o *PortalSignInCustomization) GetTextColor() string {
if o == nil || o.TextColor == nil {
var ret string
return ret
}
return *o.TextColor
} | [
0.4075946509838104,
0.5774762034416199,
0.14788778126239777,
0.44133806228637695,
-0.39324507117271423,
-0.5307220816612244,
0.019457591697573662,
0.41558682918548584,
0.20151744782924652,
-0.09941864013671875,
0.14680872857570648,
-1.3255913257598877,
-0.6791990995407104,
1.29108870029449... |
func (o *PortalSignInCustomization) GetTextColorOk() (*string, bool) {
if o == nil || o.TextColor == nil {
return nil, false
}
return o.TextColor, true
} | [
0.48111310601234436,
0.042377155274152756,
0.5268142223358154,
-0.4743041694164276,
-0.15007874369621277,
-0.1999947875738144,
-0.1022423654794693,
1.2201409339904785,
-0.8440407514572144,
1.2792037725448608,
-0.6237688660621643,
-1.1706125736236572,
-0.009218157269060612,
1.06053340435028... |
func (o *PortalSignInCustomization) HasTextColor() bool {
if o != nil && o.TextColor != nil {
return true
}
return false
} | [
0.2804548442363739,
0.3281156122684479,
0.329867422580719,
-0.032295241951942444,
0.7773446440696716,
-1.0916104316711426,
-0.1606544405221939,
1.321789264678955,
-0.6300373673439026,
0.16777266561985016,
-0.4062812328338623,
-0.73001629114151,
-0.45186543464660645,
1.0679024457931519,
-... |
func (o *PortalSignInCustomization) SetTextColor(v string) {
o.TextColor = &v
} | [
0.8105560541152954,
0.1262197047472,
-0.21302643418312073,
-0.20312149822711945,
-1.223692536354065,
-0.8129591345787048,
-0.4460916817188263,
0.18562713265419006,
-0.20821183919906616,
0.44404086470603943,
0.2856661081314087,
0.7149533629417419,
-0.7633525729179382,
0.5891379117965698,
... |
func (o *PortalSignInCustomization) GetAutoRedirect() bool {
if o == nil || o.AutoRedirect == nil {
var ret bool
return ret
}
return *o.AutoRedirect
} | [
-0.23737062513828278,
-0.08442685008049011,
0.6240079402923584,
0.0020189022179692984,
0.015194248408079147,
-0.2635718584060669,
1.0712990760803223,
0.32696953415870667,
0.19714683294296265,
-1.5796623229980469,
-0.8687573671340942,
-0.26053300499916077,
-0.7899390459060669,
-0.1525701582... |
func (o *PortalSignInCustomization) GetAutoRedirectOk() (*bool, bool) {
if o == nil || o.AutoRedirect == nil {
return nil, false
}
return o.AutoRedirect, true
} | [
-0.31226760149002075,
-0.3415730893611908,
0.7339648604393005,
-0.3833920955657959,
0.2278791218996048,
0.18638138473033905,
1.6195746660232544,
0.508350670337677,
-0.24247513711452484,
0.06702019274234772,
-0.8966079950332642,
-0.577993631362915,
0.5712220668792725,
0.29282182455062866,
... |
func (o *PortalSignInCustomization) HasAutoRedirect() bool {
if o != nil && o.AutoRedirect != nil {
return true
}
return false
} | [
0.2396780252456665,
0.018107891082763672,
0.39958035945892334,
-0.6407338380813599,
0.6038880348205566,
-0.9041523933410645,
0.7148227691650391,
0.6260716319084167,
-0.37451761960983276,
-1.5163865089416504,
-1.2796177864074707,
-0.5001696944236755,
0.09860481321811676,
0.3920428156852722,... |
func (o *PortalSignInCustomization) SetAutoRedirect(v bool) {
o.AutoRedirect = &v
} | [
-0.05474787577986717,
0.44056010246276855,
0.14387017488479614,
-0.296584814786911,
-0.36418789625167847,
-0.2851351797580719,
0.8500848412513733,
-0.14423306286334991,
-0.7548083662986755,
-0.6588519215583801,
-0.47851625084877014,
0.3327919840812683,
-0.39362138509750366,
-0.509355664253... |
func NewLetsEncryptServer() *LetsEncryptServer {
return &LetsEncryptServer{
newCertChannel: make(chan newCertRequest),
lastModified: lastModifiedNow(),
}
} | [
-1.2864056825637817,
-0.5746809840202332,
0.27434951066970825,
-0.8829900622367859,
0.17172366380691528,
-0.17411155998706818,
-1.0807442665100098,
-0.7984660863876343,
0.5517805218696594,
0.0575081929564476,
-1.1475582122802734,
0.522570013999939,
-0.6057068109512329,
0.40408873558044434,... |
func (o *clientAuthenticator) roundTripper(base http.RoundTripper) (http.RoundTripper, error) {
ctx := context.WithValue(context.Background(), oauth2.HTTPClient, o.client)
return &oauth2.Transport{
Source: errorWrappingTokenSource{
ts: o.clientCredentials.TokenSource(ctx),
tokenURL: o.clientCredentials.... | [
-0.7470676898956299,
-0.7502270936965942,
0.42006444931030273,
-0.4706825017929077,
-1.3032004833221436,
-0.0965718999505043,
-0.07237549126148224,
-0.5172439813613892,
-0.03383579105138779,
-0.06769801676273346,
-0.3870568573474884,
0.4919501841068268,
0.16424553096294403,
-0.151333898305... |
func (o *clientAuthenticator) perRPCCredentials() (credentials.PerRPCCredentials, error) {
ctx := context.WithValue(context.Background(), oauth2.HTTPClient, o.client)
return grpcOAuth.TokenSource{
TokenSource: errorWrappingTokenSource{
ts: o.clientCredentials.TokenSource(ctx),
tokenURL: o.clientCredenti... | [
-0.196731835603714,
-0.6374455690383911,
0.1949135661125183,
-1.227497935295105,
-1.4952473640441895,
-0.12963519990444183,
0.19145773351192474,
-0.06067287176847458,
0.08670060336589813,
0.09654812514781952,
0.1888190060853958,
0.5115447044372559,
-0.9169419407844543,
-0.40359750390052795... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.