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 Ankit (dragon_surfer)
Race Number 539
Date Sun, 27 Oct 2024 20:03:20 +0000
Universe code
Speed 52 WPM Try to beat?
Accuracy 94.9%
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. *)kmalloc(sizeof(fsm_instance),
  2. NULL)
  3. printk(KERN_WARNING
  4. "fsm(%s):
  5. init_fsm:
  6. instance\n",
  7. name);
  8. memset(this,
  9. 0,
  10. sizeof(fsm_instance));
  11. sizeof(this->name));