Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSpliceBuffer (0.25 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/splice_test.go

    limitations under the License.
    */
    
    package runtime_test
    
    import (
    	"bytes"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func TestSpliceBuffer(t *testing.T) {
    	testBytes0 := []byte{0x01, 0x02, 0x03, 0x04}
    	testBytes1 := []byte{0x04, 0x03, 0x02, 0x02}
    
    	testCases := []struct {
    		name string
    		run  func(sb runtime.Splice, buf *bytes.Buffer)
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 18:03:48 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top