Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for creation (0.18 sec)

  1. src/bytes/bytes_test.go

    				t.Errorf("last appended result was %s; want %s", x, want)
    			}
    		}
    	}
    }
    
    // Test case for any function which accepts and returns a byte slice.
    // For ease of creation, we write the input byte slice as a string.
    type StringTest struct {
    	in  string
    	out []byte
    }
    
    var upperTests = []StringTest{
    	{"", []byte("")},
    	{"ONLYUPPER", []byte("ONLYUPPER")},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top