Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. test/prove.go

    	return
    }
    
    func suffix(s, suffix string) bool {
    	// todo, we're still not able to drop the bound check here in the general case
    	return len(s) >= len(suffix) && s[len(s)-len(suffix):] == suffix
    }
    
    func constsuffix(s string) bool {
    	return suffix(s, "abc") // ERROR "Proved IsSliceInBounds$"
    }
    
    // oforuntil tests the pattern created by OFORUNTIL blocks. These are
    // handled by addLocalInductiveFacts rather than findIndVar.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top