Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestOffsetWriter_WriteAt (0.2 sec)

  1. src/io/io_test.go

    					idx+1, tt.whence, tt.offset, gotOff, gotErr, tt.returnOff)
    			}
    		}
    	})
    }
    
    func TestOffsetWriter_WriteAt(t *testing.T) {
    	const content = "0123456789ABCDEF"
    	contentSize := int64(len(content))
    	tmpdir, err := os.MkdirTemp(t.TempDir(), "TestOffsetWriter_WriteAt")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	work := func(off, at int64) {
    		position := fmt.Sprintf("off_%d_at_%d", off, at)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top