Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Hel (0.02 sec)

  1. src/bytes/bytes_test.go

    		}
    	}()
    	var b Buffer
    	b.Write(make([]byte, 10))
    	b.Truncate(20)
    }
    
    var containsTests = []struct {
    	b, subslice []byte
    	want        bool
    }{
    	{[]byte("hello"), []byte("hel"), true},
    	{[]byte("日本語"), []byte("日本"), true},
    	{[]byte("hello"), []byte("Hello, world"), false},
    	{[]byte("東京"), []byte("京東"), false},
    }
    
    func TestContains(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top