Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEndianBaseCompare (0.08 sec)

  1. src/bytes/compare_test.go

    			}
    			b[k] = a[k] + 1
    			cmp = Compare(a[:len], b[:len])
    			if cmp != -1 {
    				t.Errorf(`CompareBbigger(%d,%d) = %d`, len, k, cmp)
    			}
    			b[k] = a[k]
    		}
    	}
    }
    
    func TestEndianBaseCompare(t *testing.T) {
    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top