Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/coverage/slicereader/slr_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package slicereader
    
    import (
    	"encoding/binary"
    	"io"
    	"testing"
    )
    
    func TestSliceReader(t *testing.T) {
    	b := []byte{}
    
    	bt := make([]byte, 4)
    	e32 := uint32(1030507)
    	binary.LittleEndian.PutUint32(bt, e32)
    	b = append(b, bt...)
    
    	bt = make([]byte, 8)
    	e64 := uint64(907050301)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top