tw28641.pp 433 B

123456789101112131415161718192021222324252627
  1. { %norun }
  2. {$mode delphi}
  3. program Test;
  4. type
  5. TMD5DigestHelper = record
  6. public type
  7. TMD5Buffer = array[0..63] of Byte;
  8. TMD5Context = record
  9. Buffer: TMD5Buffer;
  10. end;
  11. private
  12. function Func_F(const X, Y, Z: LongWord): LongWord;
  13. public
  14. Context: TMD5Context;
  15. end;
  16. function TMD5DigestHelper.Func_F(const X, Y, Z: LongWord): LongWord;
  17. begin
  18. Result := (X and Y) or ((not X) and Z);
  19. end;
  20. begin
  21. end.