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 Christian (vinnw)
Race Number 2
Date Sun, 13 Nov 2022 10:10:57 +0000
Universe code
Speed 28 WPM Try to beat?
Accuracy 89.2%
Rank 1st 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. this
  2. *)kmalloc(sizeof(fsm_instance),
  3. ==
  4. NULL)
  5. {
  6. printk(KERN_WARNING
  7. "fsm(%s):
  8. init_fsm:
  9. instance\n",
  10. name);
  11. NULL;
  12. memset(this,
  13. 0,
  14. sizeof(fsm_instance));
  15. strlcpy(this->name,
  16. sizeof(this->name));