Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for LazyQuotes (0.15 sec)

  1. src/encoding/csv/fuzz_test.go

    			{Comma: ','},
    			{Comma: ';'},
    			{Comma: '\t'},
    			{Comma: ',', LazyQuotes: true},
    			{Comma: ',', TrimLeadingSpace: true},
    			{Comma: ',', Comment: '#'},
    			{Comma: ',', Comment: ';'},
    		} {
    			t.Logf("With options:")
    			t.Logf("  Comma            = %q", tt.Comma)
    			t.Logf("  LazyQuotes       = %t", tt.LazyQuotes)
    			t.Logf("  TrimLeadingSpace = %t", tt.TrimLeadingSpace)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 01:26:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/encoding/csv/reader_test.go

    	Output: [][]string{{"#1", "2", "3"}, {"a", "b", "c"}},
    }, {
    	Name:       "LazyQuotes",
    	Input:      `§a "word",§"1"2",§a",§"b`,
    	Output:     [][]string{{`a "word"`, `1"2`, `a"`, `b`}},
    	LazyQuotes: true,
    }, {
    	Name:       "BareQuotes",
    	Input:      `§a "word",§"1"2",§a"`,
    	Output:     [][]string{{`a "word"`, `1"2`, `a"`}},
    	LazyQuotes: true,
    }, {
    	Name:       "BareDoubleQuotes",
    	Input:      `§a""b,§c`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 04:25:13 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  3. src/encoding/csv/reader.go

    	// made and records may have a variable number of fields.
    	FieldsPerRecord int
    
    	// If LazyQuotes is true, a quote may appear in an unquoted field and a
    	// non-doubled quote may appear in a quoted field.
    	LazyQuotes bool
    
    	// If TrimLeadingSpace is true, leading white space in a field is ignored.
    	// This is done even if the field delimiter, Comma, is white space.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. internal/s3select/csv/reader_contrib_test.go

    		},
    		{
    			// This works since LazyQuotes is true:
    			file:            "invalid-badextraq.csv",
    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			sendErr:         nil,
    			header:          true,
    			wantColumns:     []string{"header1", "header2", "header3"},
    			wantFields:      "ok1,ok2,ok3\n" + `a word,"b"""` + "\n",
    			wantErr:         io.EOF,
    		},
    		{
    			// This works since LazyQuotes is true:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader.go

    		}
    		ret.QuoteEscape = []rune(args.QuoteEscapeCharacter)[0]
    		ret.FieldsPerRecord = -1
    		// If LazyQuotes is true, a quote may appear in an unquoted field and a
    		// non-doubled quote may appear in a quoted field.
    		ret.LazyQuotes = true
    		// We do not trim leading space to keep consistent with s3.
    		ret.TrimLeadingSpace = false
    		ret.ReuseRecord = true
    		return ret
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ParseError.Line", Field, 0},
    		{"ParseError.StartLine", Field, 10},
    		{"Reader", Type, 0},
    		{"Reader.Comma", Field, 0},
    		{"Reader.Comment", Field, 0},
    		{"Reader.FieldsPerRecord", Field, 0},
    		{"Reader.LazyQuotes", Field, 0},
    		{"Reader.ReuseRecord", Field, 9},
    		{"Reader.TrailingComma", Field, 0},
    		{"Reader.TrimLeadingSpace", Field, 0},
    		{"Writer", Type, 0},
    		{"Writer.Comma", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg encoding/csv, type Reader struct, Comma int32
    pkg encoding/csv, type Reader struct, Comment int32
    pkg encoding/csv, type Reader struct, FieldsPerRecord int
    pkg encoding/csv, type Reader struct, LazyQuotes bool
    pkg encoding/csv, type Reader struct, TrailingComma bool
    pkg encoding/csv, type Reader struct, TrimLeadingSpace bool
    pkg encoding/csv, type Writer struct
    pkg encoding/csv, type Writer struct, Comma int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top