Race Updates Discord About Merch
Home Profile History Competitions Texts Messages Friends Upgrade

typeracer

Pit Stop

Record your races with a typeracer account:

Create Your Account
  • Save your race history and scores.
  • Customize your profile and racecar.
  • It’s free, why not?
Racer Futuristic (mohamedtata)
Race Number 1
Date Mon, 29 May 2023 17:59:44 +0000
Universe code
Speed 25 WPM Try to beat?
Accuracy 88.5%
Rank 3rd place (out of 3)

Text typed:

this = (fsm_instance *)kmalloc(sizeof(fsm_instance), order); if (this == NULL) { printk(KERN_WARNING "fsm(%s): init_fsm: Couldn't alloc instance\n", name); return NULL; } memset(this, 0, sizeof(fsm_instance)); strlcpy(this->name, name, sizeof(this->name));
Linux Kernel (fsm.c) (software) by Linux Kernel (see stats)

Typing Review:

Race text:
this = (fsm_instance *)kmalloc(sizeof(fsm_instance), order); if (this == NULL) { printk(KERN_WARNING "fsm(%s): init_fsm: Couldn't alloc instance\n", name); return NULL; } memset(this, 0, sizeof(fsm_instance)); strlcpy(this->name, name, sizeof(this->name));
Time:
0:00
Speed:
Accuracy:
Typing replay:
Analysis:
Mistakes:
  1. =
  2. (fsm_instance
  3. *)kmalloc(sizeof(fsm_instance),
  4. order);
  5. (this
  6. ==
  7. NULL)
  8. printk(KERN_WARNING
  9. "fsm(%s):
  10. init_fsm:
  11. Couldn't
  12. instance\n",
  13. return
  14. NULL;
  15. }
  16. memset(this,
  17. 0,
  18. sizeof(fsm_instance));
  19. strlcpy(this->name,
  20. name,
  21. sizeof(this->name));