Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkSerialize (0.1 sec)

  1. src/go/token/serialize_test.go

    		t.Errorf("filesets not identical: %s", err)
    	}
    }
    
    func TestSerialization(t *testing.T) {
    	p := NewFileSet()
    	checkSerialize(t, p)
    	// add some files
    	for i := 0; i < 10; i++ {
    		f := p.AddFile(fmt.Sprintf("file%d", i), p.Base()+i, i*100)
    		checkSerialize(t, p)
    		// add some lines and alternative file infos
    		line := 1000
    		for offs := 0; offs < f.Size(); offs += 40 + i {
    			f.AddLine(offs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 17 15:02:55 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top