Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 104 for xfdf (0.27 sec)

  1. src/text/template/parse/lex_test.go

    		tEOF,
    	}},
    	{"characters", `{{'a' '\n' '\'' '\\' '\u00FF' '\xFF' '本'}}`, []item{
    		tLeft,
    		mkItem(itemCharConstant, `'a'`),
    		tSpace,
    		mkItem(itemCharConstant, `'\n'`),
    		tSpace,
    		mkItem(itemCharConstant, `'\''`),
    		tSpace,
    		mkItem(itemCharConstant, `'\\'`),
    		tSpace,
    		mkItem(itemCharConstant, `'\u00FF'`),
    		tSpace,
    		mkItem(itemCharConstant, `'\xFF'`),
    		tSpace,
    		mkItem(itemCharConstant, `'本'`),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 15:03:43 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  2. src/cmd/internal/buildid/buildid.go

    		offStr = strings.TrimSpace(string(hdr[20:40]))
    		off, err = strconv.ParseInt(offStr, 10, 64)
    		if err != nil {
    			return bad()
    		}
    	}
    }
    
    var (
    	goBuildPrefix = []byte("\xff Go build ID: \"")
    	goBuildEnd    = []byte("\"\n \xff")
    
    	elfPrefix = []byte("\x7fELF")
    
    	machoPrefixes = [][]byte{
    		{0xfe, 0xed, 0xfa, 0xce},
    		{0xfe, 0xed, 0xfa, 0xcf},
    		{0xce, 0xfa, 0xed, 0xfe},
    		{0xcf, 0xfa, 0xed, 0xfe},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 28 21:52:53 UTC 2020
    - 9K bytes
    - Viewed (0)
  3. src/net/http/sniff_test.go

    	{"GIF 89a", []byte(`GIF89a...`), "image/gif"},
    	{"WEBP image", []byte("RIFF\x00\x00\x00\x00WEBPVP"), "image/webp"},
    	{"PNG image", []byte("\x89PNG\x0D\x0A\x1A\x0A"), "image/png"},
    	{"JPEG image", []byte("\xFF\xD8\xFF"), "image/jpeg"},
    
    	// Audio types.
    	{"MIDI audio", []byte("MThd\x00\x00\x00\x06\x00\x01"), "audio/midi"},
    	{"MP3 audio/MPEG audio", []byte("ID3\x03\x00\x00\x00\x00\x0f"), "audio/mpeg"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 16:53:14 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. src/text/tabwriter/tabwriter.go

    // To escape a text segment, bracket it with Escape characters.
    // For instance, the tab in this string "Ignore this tab: \xff\t\xff"
    // does not terminate a cell and constitutes a single character of
    // width one for formatting purposes.
    //
    // The value 0xff was chosen because it cannot appear in a valid UTF-8 sequence.
    const Escape = '\xff'
    
    // Start escaped mode.
    func (b *Writer) startEscape(ch byte) {
    	switch ch {
    	case Escape:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. src/image/jpeg/reader.go

    			//
    			// Note that extraneous 0xff bytes in e.g. SOS data are escaped as
    			// "\xff\x00", and so are detected a little further down below.
    			d.tmp[0] = d.tmp[1]
    			d.tmp[1], err = d.readByte()
    			if err != nil {
    				return nil, err
    			}
    		}
    		marker := d.tmp[1]
    		if marker == 0 {
    			// Treat "\xff\x00" as extraneous data.
    			continue
    		}
    		for marker == 0xff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. src/debug/buildinfo/buildinfo_test.go

    		}
    		return outPath
    	}
    
    	damageBuildInfo := func(t *testing.T, name string) {
    		data, err := os.ReadFile(name)
    		if err != nil {
    			t.Fatal(err)
    		}
    		i := bytes.Index(data, []byte("\xff Go buildinf:"))
    		if i < 0 {
    			t.Fatal("Go buildinf not found")
    		}
    		data[i+2] = 'N'
    		if err := os.WriteFile(name, data, 0666); err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. src/regexp/find_test.go

    	{"\\`", "`", build(1, 0, 1)},
    	{"[\\`]+", "`", build(1, 0, 1)},
    
    	{"\ufffd", "\xff", build(1, 0, 1)},
    	{"\ufffd", "hello\xffworld", build(1, 5, 6)},
    	{`.*`, "hello\xffworld", build(1, 0, 11)},
    	{`\x{fffd}`, "\xc2\x00", build(1, 0, 1)},
    	{"[\ufffd]", "\xff", build(1, 0, 1)},
    	{`[\x{fffd}]`, "\xc2\x00", build(1, 0, 1)},
    
    	// long set of matches (longer than startSize)
    	{
    		".",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 15:28:50 UTC 2021
    - 16.3K bytes
    - Viewed (0)
  8. src/image/gif/reader_test.go

    				"\x02\b\xf01u\xb9\xfdal\x05\x00;"), // image 0 image data & trailer
    			-1,
    		},
    		{
    			"loopcount-0",
    			[]byte("GIF89a000\x00000" +
    				"!\xff\vNETSCAPE2.0\x03\x01\x00\x00\x00" + // loop count = 0
    				",0\x00\x00\x00\n\x00\n\x00\x80000000" + // image 0 descriptor & color table
    				"\x02\b\xf01u\xb9\xfdal\x05\x00" + // image 0 image data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/encoding/hex/hex_test.go

    	{"d4aaz", "\xd4\xaa", InvalidByteError('z')},
    	{"30313", "01", ErrLength},
    	{"0g", "", InvalidByteError('g')},
    	{"00gg", "\x00", InvalidByteError('g')},
    	{"0\x01", "", InvalidByteError('\x01')},
    	{"ffeed", "\xff\xee", ErrLength},
    }
    
    func TestDecodeErr(t *testing.T) {
    	for _, tt := range errTests {
    		out := make([]byte, len(tt.in)+10)
    		n, err := Decode(out, []byte(tt.in))
    		if string(out[:n]) != tt.out || err != tt.err {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/image/jpeg/writer.go

    			for x := 0; x < 4; x++ {
    				j := 16*y + 2*x
    				sum := src[i][j] + src[i][j+1] + src[i][j+8] + src[i][j+9]
    				dst[8*y+x+dstOff] = (sum + 2) >> 2
    			}
    		}
    	}
    }
    
    // sosHeaderY is the SOS marker "\xff\xda" followed by 8 bytes:
    //   - the marker length "\x00\x08",
    //   - the number of components "\x01",
    //   - component 1 uses DC table 0 and AC table 0 "\x01\x00",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top