- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 6,151 for Strings (0.07 sec)
-
internal/grid/trace.go
return c.roundtrip(h, req) } // Following trimming is needed for consistency between outputs with other internode traces. local := strings.TrimPrefix(strings.TrimPrefix(t.Local, httpsScheme), httpScheme) remote := strings.TrimPrefix(strings.TrimPrefix(t.Remote, httpsScheme), httpScheme) start := time.Now() body := bytesOrLength(req) resp, err := c.roundtrip(h, req) end := time.Now()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
line := strings.TrimSpace(input.Text()) if line == "" { continue } // Find first separator. idx := strings.IndexByte(line, trailerKVSeparator[0]) if idx <= 0 || idx >= len(line) { if cr.debug { fmt.Printf("Could not find separator, got %q\n", line) } return errMalformedEncoding } key := strings.ToLower(line[:idx]) value := line[idx+1:] if _, ok := wantTrailers[key]; !ok {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat May 06 02:53:12 UTC 2023 - 6.1K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
}) } } func getRules(b []byte) map[string]string { // Separate content with "COMMIT" parts := strings.Split(string(b), "COMMIT") tables := make(map[string]string) for _, table := range parts { // If table is not empty, get table name from the first line lines := strings.Split(strings.Trim(table, "\n"), "\n") lines = slices.Filter(lines, func(line string) bool {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/common-main.go
return } } }() } type envKV struct { Key string Value string Skip bool } func (e envKV) String() string { if e.Skip { return "" } return fmt.Sprintf("%s=%s", e.Key, e.Value) } func parsEnvEntry(envEntry string) (envKV, error) { envEntry = strings.TrimSpace(envEntry) if envEntry == "" { // Skip all empty lines return envKV{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 8.2K bytes - Viewed (0) -
cni/pkg/config/config.go
// init container termination message and exit code. SidecarAnnotation string InitContainerName string InitTerminationMsg string InitExitCode int // Label and field selectors to select pods managed by race repair. LabelSelectors string FieldSelectors string } func (c InstallConfig) String() string { var b strings.Builder b.WriteString("MountedCNINetDir: " + c.MountedCNINetDir + "\n")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 5.7K bytes - Viewed (0) -
tests/sql_builder_test.go
func (ageBool) String() string { return "age" } type ageUint64 uint64 func (ageUint64) String() string { return "age" } type ageFloat float64 func (ageFloat) String() string { return "age" } func TestExplainSQL(t *testing.T) { user := *GetUser("explain-sql", Config{}) dryRunDB := DB.Session(&gorm.Session{DryRun: true})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 16.7K bytes - Viewed (0) -
src/cmd/buildid/buildid.go
f.Close() if err != nil { log.Fatal(err) } // <= go 1.7 doesn't embed the contentID or actionID, so no slash is present if !strings.Contains(id, "/") { log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file) } newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash) if len(newID) != len(id) { log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
logger := clog.NewConsoleLogger(&outBuf, &errBuf, nil) IsK8VersionSupported(k8sClient, logger) errMsgTrim := strings.TrimSpace(c.logMsg) outBufTrim := strings.TrimSpace(outBuf.String()) if !c.isValid && strings.Compare(errMsgTrim, outBufTrim) != 0 { t.Fatalf("\nwanted: %v \nbut found: %v", errMsgTrim, outBufTrim) } if c.isValid && outBuf.Len() > 0 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0) -
internal/config/lambda/event/arn.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "strings" ) // ARN - SQS resource name representation. type ARN struct { TargetID region string } // String - returns string representation. func (arn ARN) String() string { if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" { return "" }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.6K bytes - Viewed (0)