send-receive-65536.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. [
  2. {
  3. "function": "get_resource_type",
  4. "params": [
  5. "@mock-stream"
  6. ],
  7. "return": "stream"
  8. },
  9. {
  10. "function": "fwrite",
  11. "params": [
  12. "@mock-stream"
  13. ],
  14. "return": 65546
  15. },
  16. {
  17. "function": "get_resource_type",
  18. "params": [
  19. "@mock-stream"
  20. ],
  21. "return": "stream"
  22. },
  23. {
  24. "function": "fread",
  25. "params": [
  26. "@mock-stream",
  27. 2
  28. ],
  29. "return-op": "chr-array",
  30. "return": [129, 127]
  31. },
  32. {
  33. "function": "fread",
  34. "params": [
  35. "@mock-stream",
  36. 8
  37. ],
  38. "return-op": "chr-array",
  39. "return": [0, 0, 0, 0, 0, 1, 0, 0]
  40. },
  41. {
  42. "function": "fread",
  43. "params": [
  44. "@mock-stream",
  45. 65536
  46. ],
  47. "return-op": "file",
  48. "return": ["payload.65536.txt", 0, 16374]
  49. },
  50. {
  51. "function": "fread",
  52. "params": [
  53. "@mock-stream",
  54. 49162
  55. ],
  56. "return-op": "file",
  57. "return": ["payload.65536.txt", 16374, 8192]
  58. },
  59. {
  60. "function": "fread",
  61. "params": [
  62. "@mock-stream",
  63. 40970
  64. ],
  65. "return-op": "file",
  66. "return": ["payload.65536.txt", 24566, 8192]
  67. },
  68. {
  69. "function": "fread",
  70. "params": [
  71. "@mock-stream",
  72. 32778
  73. ],
  74. "return-op": "file",
  75. "return": ["payload.65536.txt", 32758, 8192]
  76. },
  77. {
  78. "function": "fread",
  79. "params": [
  80. "@mock-stream",
  81. 24586
  82. ],
  83. "return-op": "file",
  84. "return": ["payload.65536.txt", 40950, 8192]
  85. },
  86. {
  87. "function": "fread",
  88. "params": [
  89. "@mock-stream",
  90. 16394
  91. ],
  92. "return-op": "file",
  93. "return": ["payload.65536.txt", 49142, 8192]
  94. },
  95. {
  96. "function": "fread",
  97. "params": [
  98. "@mock-stream",
  99. 8202
  100. ],
  101. "return-op": "file",
  102. "return": ["payload.65536.txt", 57334, 8192]
  103. },
  104. {
  105. "function": "fread",
  106. "params": [
  107. "@mock-stream",
  108. 10
  109. ],
  110. "return-op": "file",
  111. "return": ["payload.65536.txt", 65526, 10]
  112. }
  113. ]