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 Calculus (uchihalol)
Race Number 8
Date Thu, 1 Nov 2018 18:28:55 +0000
Universe code
Speed 57 WPM Try to beat?
Accuracy 94.0%
Rank 3rd place (out of 4)
Opponents atthetop (2nd place) hyper_racer (4th place) styrofoam (1st place)

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. res;
  2. flags;
  3. =
  4. 0;
  5. (PCI_##size##_BAD)
  6. return
  7. PCIBIOS_BAD_REGISTER_NUMBER;
  8. spin_lock_irqsave(&pci_lock,
  9. bus->ops->read(bus,
  10. devfn,
  11. &data);
  12. (type)data;
  13. spin_unlock_irqrestore(&pci_lock,