Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for TABS (0.04 sec)

  1. src/cmd/vet/vet_test.go

    		fmt.Fprintf(&buf, "%s\n", err.Error())
    	}
    	return errors.New(buf.String())
    }
    
    func splitOutput(out string, wantAuto bool) []string {
    	// gc error messages continue onto additional lines with leading tabs.
    	// Split the output at the beginning of each line that doesn't begin with a tab.
    	// <autogenerated> lines are impossible to match so those are filtered out.
    	var res []string
    	for _, line := range strings.Split(out, "\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    	mib = []_C_int{CTL_KERN, KERN_VERSION}
    	n = unsafe.Sizeof(uname.Version)
    	if err := sysctlUname(mib, &uname.Version[0], &n); err != nil {
    		return err
    	}
    
    	// The version might have newlines or tabs in it, convert them to
    	// spaces.
    	for i, b := range uname.Version {
    		if b == '\n' || b == '\t' {
    			if i == len(uname.Version)-1 {
    				uname.Version[i] = 0
    			} else {
    				uname.Version[i] = ' '
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go

    	}
    
    	mib = []_C_int{CTL_KERN, KERN_VERSION}
    	n = unsafe.Sizeof(uname.Version)
    	if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
    		return err
    	}
    
    	// The version might have newlines or tabs in it, convert them to
    	// spaces.
    	for i, b := range uname.Version {
    		if b == '\n' || b == '\t' {
    			if i == len(uname.Version)-1 {
    				uname.Version[i] = 0
    			} else {
    				uname.Version[i] = ' '
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/symtab.go

    	slice(itablinkSym, nitablinks)
    
    	// The ptab slice
    	if ptab := ldr.Lookup("go:plugin.tabs", 0); ptab != 0 && ldr.AttrReachable(ptab) {
    		ldr.SetAttrLocal(ptab, true)
    		if ldr.SymType(ptab) != sym.SRODATA {
    			panic(fmt.Sprintf("go:plugin.tabs is %v, not SRODATA", ldr.SymType(ptab)))
    		}
    		nentries := uint64(len(ldr.Data(ptab)) / 8) // sizeof(nameOff) + sizeof(typeOff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  5. src/mime/multipart/multipart.go

    	if r.partsRead == 0 && len(rest) == 1 && rest[0] == '\n' {
    		r.nl = r.nl[1:]
    		r.nlDashBoundary = r.nlDashBoundary[1:]
    	}
    	return bytes.Equal(rest, r.nl)
    }
    
    // skipLWSPChar returns b with leading spaces and tabs removed.
    // RFC 822 defines:
    //
    //	LWSP-char = SPACE / HTAB
    func skipLWSPChar(b []byte) []byte {
    	for len(b) > 0 && (b[0] == ' ' || b[0] == '\t') {
    		b = b[1:]
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	}
    	return column
    }
    
    // rightPad pads the input with spaces on the right-hand-side to make it have
    // at least width n. It treats tabs as enough spaces that lead to the next
    // 8-aligned tab-stop.
    func rightPad(s string, n int) string {
    	var str strings.Builder
    
    	// Convert tabs to spaces as we go so padding works regardless of what prefix
    	// is placed before the result.
    	column := 0
    	for _, c := range s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    	n = unsafe.Sizeof(uname.Version)
    	if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil && !errors.Is(err, ENOMEM) {
    		return err
    	}
    
    	// The version might have newlines or tabs in it, convert them to
    	// spaces.
    	for i, b := range uname.Version {
    		if b == '\n' || b == '\t' {
    			if i == len(uname.Version)-1 {
    				uname.Version[i] = 0
    			} else {
    				uname.Version[i] = ' '
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/deadcode.go

    	names = append(names, "runtime.unreachableMethod")
    	if d.ctxt.BuildMode == BuildModePlugin {
    		names = append(names, objabi.PathToPrefix(*flagPluginPath)+"..inittask", objabi.PathToPrefix(*flagPluginPath)+".main", "go:plugin.tabs")
    
    		// We don't keep the go.plugin.exports symbol,
    		// but we do keep the symbols it refers to.
    		exportsIdx := d.ldr.Lookup("go:plugin.exports", 0)
    		if exportsIdx != 0 {
    			relocs := d.ldr.Relocs(exportsIdx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			}
    		})
    	}
    }
    
    // FixTabsOrDie counts the number of tab characters preceding the first
    // line in the given yaml object. It removes that many tabs from every
    // line. It panics (it's a test funvion) if some line has fewer tabs
    // than the first line.
    //
    // The purpose of this is to make it easier to read tests.
    func FixTabsOrDie(in string) string {
    	lines := bytes.Split([]byte(in), []byte{'\n'})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  10. src/regexp/exec_test.go

    		//
    		// INPUT FORMAT
    		//   Input lines may be blank, a comment beginning with #, or a test
    		//   specification. A specification is five fields separated by one
    		//   or more tabs. NULL denotes the empty string and NIL denotes the
    		//   0 pointer.
    		if line[0] == '#' || line[0] == '\n' {
    			continue Reading
    		}
    		line = line[:len(line)-1]
    		field := notab.FindAllString(line, -1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top