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 a6uxa4 (a6uxa4)
Race Number 1
Date Wed, 1 Nov 2023 06:29:15 +0000
Universe code
Speed 30 WPM Try to beat?
Accuracy 90.3%
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. (fsm_instance
  2. *)kmalloc(sizeof(fsm_instance),
  3. ==
  4. {
  5. printk(KERN_WARNING
  6. "fsm(%s):
  7. init_fsm:
  8. instance\n",
  9. NULL;
  10. }
  11. 0,
  12. sizeof(fsm_instance));
  13. strlcpy(this->name,
  14. name,
  15. sizeof(this->name));