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 Nima (nima_naderi)
Race Number 3
Date Sun, 30 Apr 2023 11:23:02 +0000
Universe code
Speed 37 WPM Try to beat?
Accuracy 93.7%
Rank 3rd place (out of 3)

Text typed:

int res; unsigned long flags; u32 data = 0; if (PCI_##size##_BAD) return PCIBIOS_BAD_REGISTER_NUMBER; spin_lock_irqsave(&pci_lock, flags); res = bus->ops->read(bus, devfn, pos, len, &data); *value = (type)data; spin_unlock_irqrestore(&pci_lock, flags); return res;
Linux Kernel (access.c) (software) by Linux Kernel (see stats)

Typing Review:

Race text:
int res; unsigned long flags; u32 data = 0; if (PCI_##size##_BAD) return PCIBIOS_BAD_REGISTER_NUMBER; spin_lock_irqsave(&pci_lock, flags); res = bus->ops->read(bus, devfn, pos, len, &data); *value = (type)data; spin_unlock_irqrestore(&pci_lock, flags); return res;
Time:
0:00
Speed:
Accuracy:
Typing replay:
Analysis:
Mistakes:
  1. unsigned
  2. flags;
  3. u32
  4. data
  5. (PCI_##size##_BAD)
  6. PCIBIOS_BAD_REGISTER_NUMBER;
  7. spin_lock_irqsave(&pci_lock,
  8. flags);
  9. devfn,
  10. &data);
  11. (type)data;
  12. spin_unlock_irqrestore(&pci_lock,
  13. return