- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of about 10,000 for String4 (0.11 sec)
-
cmd/http-tracer.go
// getOpName sanitizes the operation name for mc func getOpName(name string) (op string) { op = strings.TrimPrefix(name, "github.com/minio/minio/cmd.") op = strings.TrimSuffix(op, "Handler-fm") op = strings.Replace(op, "objectAPIHandlers", "s3", 1) op = strings.Replace(op, "adminAPIHandlers", "admin", 1) op = strings.Replace(op, "(*storageRESTServer)", "storageR", 1) op = strings.Replace(op, "(*peerRESTServer)", "peer", 1)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 6K bytes - Viewed (0) -
tools/docker-builder/common.go
if architecture != "" { os, arch, _ := strings.Cut(architecture, "/") m["TARGETARCH"] = arch m["TARGETOS"] = os } return m } func vmImageName(target string) string { if !strings.HasPrefix(target, "app_sidecar") { // Not a VM return "" } if strings.HasPrefix(target, "app_sidecar_base") { return strings.Split(target, "_")[3] } return strings.Split(target, "_")[2] }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 26 13:23:41 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/dist/buildtool.go
} archCaps = fileArch fileArch = strings.ToLower(fileArch) fileArch = strings.TrimSuffix(fileArch, "splitload") fileArch = strings.TrimSuffix(fileArch, "latelower") if fileArch == goArch { return "", false } if fileArch == strings.TrimSuffix(goArch, "le") { return "", false } return archCaps, true } func bootstrapRewriteFile(srcFile string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 23:29:41 UTC 2024 - 11.5K bytes - Viewed (0) -
src/runtime/testdata/testprog/stringconcat.go
// license that can be found in the LICENSE file. package main import "strings" func init() { register("stringconcat", stringconcat) } func stringconcat() { s0 := strings.Repeat("0", 1<<10) s1 := strings.Repeat("1", 1<<10) s2 := strings.Repeat("2", 1<<10) s3 := strings.Repeat("3", 1<<10) s := s0 + s1 + s2 + s3 panic(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 443 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go
} else { line += " " } buffer.WriteString(line) } } postDoc := strings.TrimRight(buffer.String(), "\n") postDoc = strings.Replace(postDoc, "\\\"", "\"", -1) // replace user's \" to " postDoc = strings.Replace(postDoc, "\"", "\\\"", -1) // Escape " postDoc = strings.Replace(postDoc, "\n", "\\n", -1) postDoc = strings.Replace(postDoc, "\t", "\\t", -1) return postDoc }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 03 07:33:58 UTC 2017 - 7K bytes - Viewed (0) -
cmd/signature-v2.go
func canonicalizedAmzHeadersV2(headers http.Header) string { var keys []string keyval := make(map[string]string, len(headers)) for key := range headers { lkey := strings.ToLower(key) if !strings.HasPrefix(lkey, "x-amz-") { continue } keys = append(keys, lkey) keyval[lkey] = strings.Join(headers[key], ",") } sort.Strings(keys) var canonicalHeaders []string for _, key := range keys {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.2K bytes - Viewed (0) -
src/net/smtp/smtp_test.go
"net" "net/textproto" "runtime" "strings" "testing" "time" ) type authTest struct { auth Auth challenges []string name string responses []string } var authTests = []authTest{ {PlainAuth("", "user", "pass", "testserver"), []string{}, "PLAIN", []string{"\x00user\x00pass"}}, {PlainAuth("foo", "bar", "baz", "testserver"), []string{}, "PLAIN", []string{"foo\x00bar\x00baz"}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 28.5K bytes - Viewed (0) -
schema/naming.go
"encoding/hex" "regexp" "strings" "unicode/utf8" "github.com/jinzhu/inflection" "golang.org/x/text/cases" "golang.org/x/text/language" ) // Namer namer interface type Namer interface { TableName(table string) string SchemaName(table string) string ColumnName(table, column string) string JoinTableName(joinTable string) string RelationshipFKName(Relationship) string CheckerName(table, column string) string
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_benchmark_test.go
package ringbuffer import ( "io" "strings" "testing" ) func BenchmarkRingBuffer_Sync(b *testing.B) { rb := New(1024) data := []byte(strings.Repeat("a", 512)) buf := make([]byte, 512) b.ResetTimer() for i := 0; i < b.N; i++ { rb.Write(data) rb.Read(buf) } } func BenchmarkRingBuffer_AsyncRead(b *testing.B) { // Pretty useless benchmark, but it's here for completeness. rb := New(1024)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/volume/util/device_util_linux.go
// JoinHostPort will add `[]` around IPv6 addresses. portal := net.JoinHostPort(strings.TrimSpace(string(addr)), strings.TrimSpace(string(port))) portalHostMap[portal] = hostNumber persistentPortal := net.JoinHostPort(strings.TrimSpace(string(persistentAddr)), strings.TrimSpace(string(persistentPort))) portalHostMap[persistentPortal] = hostNumber } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 9.4K bytes - Viewed (0)