- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 404 for goto (0.13 sec)
-
internal/logger/target/http/http.go
fmt.Errorf("unable to send webhook log entry to '%s' err '%w'", name, err), name, ) if errors.Is(err, context.Canceled) { return } time.Sleep(3 * time.Second) goto retry } entries = make([]interface{}, 0) if !isDirQueue { buf.Reset() } if !mainWorker && len(h.logCh) < cap(h.logCh)/2 { if time.Since(h.lastStarted).Seconds() > 30 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 25 16:44:20 GMT 2024 - 14.9K bytes - Viewed (0) -
cmd/iam-object-store.go
if err != nil { if err == errConfigNotFound { return errNoSuchPolicy } retries-- if retries <= 0 { return err } time.Sleep(500 * time.Millisecond) goto retry } var p PolicyDoc err = p.parseJSON(data) if err != nil { return err } if p.Version == 0 { // This means that policy was in the old version (without any
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 19.9K bytes - Viewed (0) -
cmd/sftp-server-driver.go
w.nextOffset += int64(n) if n != len(nextOut) { return 0, fmt.Errorf("expected write size %d but wrote %d bytes", len(nextOut), n) } if err != nil { return 0, err } goto again } return len(b), nil } func (f *sftpDriver) Filewrite(r *sftp.Request) (w io.WriterAt, err error) { stopFn := globalSftpMetrics.log(r, f.AccessKey()) defer stopFn(err)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 12:23:42 GMT 2024 - 12.9K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
{ if (len >= room_left) goto no_more_room; @@ -98,7 +98,7 @@ _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw, numstr = NISOBJVAL (3, obj); len = NISOBJLEN (3, obj); - if (len == 0 && numstr[len - 1] != '\0') + if (len == 0 || numstr[len - 1] != '\0') { if (len >= room_left) goto no_more_room; diff --git a/string/bits/string2.h b/string/bits/string2.h
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 42.9K bytes - Viewed (1) -
cmd/s3-zip-handlers.go
if len(listObjectsInfo.Prefixes) == 0 || commonPrefix != listObjectsInfo.Prefixes[len(listObjectsInfo.Prefixes)-1] { listObjectsInfo.Prefixes = append(listObjectsInfo.Prefixes, commonPrefix) count++ } goto next } } listObjectsInfo.Objects = append(listObjectsInfo.Objects, ObjectInfo{ Bucket: bucket, Name: objName, Size: int64(file.UncompressedSize64), ModTime: zipObjInfo.ModTime,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 09 10:41:25 GMT 2024 - 15.8K bytes - Viewed (0) -
doc/go_spec.html
} } </pre> <h3 id="Goto_statements">Goto statements</h3> <p> A "goto" statement transfers control to the statement with the corresponding label within the same function. </p> <pre class="ebnf"> GotoStmt = "goto" Label . </pre> <pre> goto Error </pre> <p> Executing the "goto" statement must not cause any variables to come into
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
doc/go1.17_spec.html
} } </pre> <h3 id="Goto_statements">Goto statements</h3> <p> A "goto" statement transfers control to the statement with the corresponding label within the same function. </p> <pre class="ebnf"> GotoStmt = "goto" Label . </pre> <pre> goto Error </pre> <p> Executing the "goto" statement must not cause any variables to come into
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
tests/preload_suits_test.go
t.Errorf("got %s; want %s", toJSONString(got2), toJSONString(want2)) } var got3 []Level2 if err := DB.Preload("Level1s").Find(&got3, "value IN (?)", []string{"Bob", "Tom"}).Error; err != nil { t.Error(err) } if !reflect.DeepEqual(got3, []Level2{got, got2}) { t.Errorf("got %s; want %s", toJSONString(got3), toJSONString([]Level2{got, got2})) } var got4 []Level2
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Mar 18 05:38:46 GMT 2022 - 30.3K bytes - Viewed (0) -
src/bytes/bytes.go
// form of case-insensitivity. func EqualFold(s, t []byte) bool { // ASCII fast path i := 0 for ; i < len(s) && i < len(t); i++ { sr := s[i] tr := t[i] if sr|tr >= utf8.RuneSelf { goto hasUnicode } // Easy case. if tr == sr { continue } // Make sr < tr to simplify what follows. if tr < sr { tr, sr = sr, tr }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0)