Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 352 for Newlines (0.24 sec)

  1. internal/s3select/csv/reader_contrib_test.go

    				if fields < 10 {
    					opts := sql.WriteCSVOpts{
    						FieldDelimiter: ',',
    						Quote:          '"',
    						QuoteEscape:    '"',
    						AlwaysQuote:    false,
    					}
    					// Write with fixed delimiters, newlines.
    					err := record.WriteCSV(&result, opts)
    					if err != nil {
    						t.Error(err)
    					}
    				}
    				fields++
    			}
    			r.Close()
    			if err != io.EOF {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd.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: Tue Oct 10 16:32:44 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/go/scanner/scanner_test.go

    	for _, test := range semicolonTests {
    		input, want := test.input, test.want
    		checkSemi(t, input, want, 0)
    		checkSemi(t, input, want, ScanComments)
    
    		// if the input ended in newlines, the input must tokenize the
    		// same with or without those newlines
    		for i := len(input) - 1; i >= 0 && input[i] == '\n'; i-- {
    			checkSemi(t, input[0:i], want, 0)
    			checkSemi(t, input[0:i], want, ScanComments)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. src/go/printer/testdata/expressions.golden

    	_ = a.
    		b().
    		c
    	_ = a.b[0].c
    	_ = a.
    		b[0].
    		c
    	_ = a.b[0:].c
    	_ = a.
    		b[0:].
    		c
    	_ = a.b.(T).c
    	_ = a.
    		b.(T).
    		c
    }
    
    // Don't introduce extra newlines in strangely formatted expression lists.
    func f() {
    	// os.Open parameters should remain on two lines
    	if writer, err = os.Open(outfile, s.O_WRONLY|os.O_CREATE|
    		os.O_TRUNC, 0666); err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.4K bytes
    - Viewed (0)
  5. src/go/printer/testdata/expressions.raw

    	_ = a.
    		b().
    		c
    	_ = a.b[0].c
    	_ = a.
    		b[0].
    		c
    	_ = a.b[0:].c
    	_ = a.
    		b[0:].
    		c
    	_ = a.b.(T).c
    	_ = a.
    		b.(T).
    		c
    }
    
    // Don't introduce extra newlines in strangely formatted expression lists.
    func f() {
    	// os.Open parameters should remain on two lines
    	if writer, err = os.Open(outfile, s.O_WRONLY|os.O_CREATE|
    		os.O_TRUNC, 0666); err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/text/tabwriter/tabwriter.go

    					pos += c.size
    				}
    			}
    		}
    
    		if i+1 == len(b.lines) {
    			// last buffered line - we don't have a newline, so just write
    			// any outstanding buffered data
    			b.write0(b.buf[pos : pos+b.cell.size])
    			pos += b.cell.size
    		} else {
    			// not the last line - write newline
    			b.write0(newline)
    		}
    	}
    	return
    }
    
    // Format the text between line0 and line1 (excluding line1); pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    	infoCopy.Name = strings.Replace(infoCopy.Name, "::", `\n`, -1)
    	// Go type parameters are reported as "[...]" by Go pprof profiles.
    	// Keep this ellipsis rather than replacing with newlines below.
    	infoCopy.Name = strings.Replace(infoCopy.Name, "[...]", "[…]", -1)
    	infoCopy.Name = strings.Replace(infoCopy.Name, ".", `\n`, -1)
    	if infoCopy.File != "" {
    		infoCopy.File = filepath.Base(infoCopy.File)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  10. src/go/printer/testdata/declarations.input

    )
    
    import (
    	"io"
    	aLongRename "io"
    
    	b "io"
    )
    
    import (
           "unrenamed"
           renamed "renameMe"
           . "io"
           _ "io"
           "io"
           . "os"
    )
    
    // no newlines between consecutive single imports, but
    // respect extra line breaks in the source (at most one empty line)
    import _ "io"
    import _ "io"
    import _ "io"
    
    import _ "os"
    import _ "os"
    import _ "os"
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
Back to top