Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 9,288 for String4 (0.31 sec)

  1. internal/grid/trace.go

    func (c *tracer) subroute(subroute string) *tracer {
    	if c == nil {
    		return nil
    	}
    	c2 := *c
    	c2.Subroute = subroute
    	return &c2
    }
    
    type tracer struct {
    	Publisher *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]
    	TraceType madmin.TraceType
    	Prefix    string
    	Local     string
    	Remote    string
    	Subroute  string
    }
    
    const (
    	httpScheme  = "http://"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/internal/trace/generation.go

    // addStrings takes a batch whose first byte is an EvStrings event
    // (indicating that the batch contains only strings) and adds each
    // string contained therein to the provided strings map.
    func addStrings(stringTable *dataTable[stringID, string], b batch) error {
    	if !b.isStringsBatch() {
    		return fmt.Errorf("internal error: addStrings called on non-string batch")
    	}
    	r := bytes.NewReader(b.data)
    	hdr, err := r.ReadByte() // Consume the EvStrings byte.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/language/parse.go

    // string if there is no such token.
    func consume(s string, c byte) string {
    	if s == "" || s[0] != c {
    		return ""
    	}
    	return strings.TrimSpace(s[1:])
    }
    
    func split(s string, c byte) (head, tail string) {
    	if i := strings.IndexByte(s, c); i >= 0 {
    		return strings.TrimSpace(s[:i]), strings.TrimSpace(s[i+1:])
    	}
    	return strings.TrimSpace(s), ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/go/parser/parser_test.go

    }
    
    // split splits pre«mid»post into pre, mid, post.
    // If the string does not have that form, split returns x, "", "".
    func split(x string) (pre, mid, post string) {
    	start, end := strings.Index(x, "«"), strings.LastIndex(x, "»")
    	if start < 0 || end < 0 {
    		return x, "", ""
    	}
    	return x[:start], x[start+len("«") : end], x[end+len("»"):]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/ts_test.go

    // present in the coverage report from F.
    func genAuxMeta(t *testing.T, dstdir string) (string, string) {
    	// Do a GOCOVERDIR=<tmp> go run hello.go
    	src := filepath.Join(dstdir, "hello.go")
    	if err := os.WriteFile(src, []byte(hellogo), 0777); err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    	args := []string{"run", "-covermode=" + testing.CoverMode(), src}
    	cmd := exec.Command(testenv.GoToolPath(t), args...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/runtime/pprof/vminfo_darwin_test.go

    	for sc.Scan() {
    		l := sc.Text()
    		if grabbing {
    			p := strings.Fields(l)
    			if len(p) > 7 && p[0] == "__TEXT" && p[7] == "r-x/rwx" {
    				locs := strings.Split(p[1], "-")
    				start, _ := strconv.ParseUint(locs[0], 16, 64)
    				end, _ := strconv.ParseUint(locs[1], 16, 64)
    				return start, end, nil
    			}
    		}
    		if strings.HasPrefix(l, banner) {
    			grabbing = true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. tensorflow/cc/tools/BUILD

    #include "third_party/absl/strings/str_cat.h"
    #Description:
    # TensorFlow cc tools.
    
    load(
        "//tensorflow:tensorflow.bzl",
        "tf_cc_test",
    )
    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        default_visibility = ["//visibility:public"],
        licenses = ["notice"],
    )
    
    cc_library(
        name = "freeze_saved_model",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/runtime/runtime-gdb_test.go

    	// 2 orders, and possible differences in spacing.
    	sliceMapSfx1 := `map[string][]string = {["e"] = []string = {"f", "g", "h"}, ["a"] = []string = {"b", "c", "d"}}`
    	sliceMapSfx2 := `map[string][]string = {["a"] = []string = {"b", "c", "d"}, ["e"] = []string = {"f", "g", "h"}}`
    	if bl := strings.ReplaceAll(blocks["print slicemap"], "  ", " "); !strings.HasSuffix(bl, sliceMapSfx1) && !strings.HasSuffix(bl, sliceMapSfx2) {
    		t.Fatalf("print slicemap failed: %s", bl)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/events/v1beta1/generated.pb.go

    		repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Event", "Event", 1), `&`, ``, 1) + ","
    	}
    	repeatedStringForItems += "}"
    	s := strings.Join([]string{`&EventList{`,
    		`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
    		`Items:` + repeatedStringForItems + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *EventSeries) String() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

             */
        }
    
        @Override
        public List<String> convert(final String text, final String field, final String... langs) throws IOException {
            final List<String> readingList = new ArrayList<>();
            readingList.add(toKatakana(text));
            return readingList;
        }
    
        protected String toKatakana(final String inputStr) throws IOException {
            final StringBuilder kanaBuf = new StringBuilder();
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top