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 Arrogant (dkaocka)
Race Number 98
Date Wed, 17 Jan 2024 02:59:40 +0000
Universe code
Speed 82 WPM Try to beat?
Accuracy 97.8%
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. *)kmalloc(sizeof(fsm_instance),
  2. printk(KERN_WARNING
  3. sizeof(fsm_instance));
  4. sizeof(this->name));