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 yousef_wael (yousef_wael)
Race Number 2
Date Sat, 6 Jan 2024 04:26:04 +0000
Universe code
Speed 31 WPM Try to beat?
Accuracy 92.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. res;
  2. =
  3. (PCI_##size##_BAD)
  4. PCIBIOS_BAD_REGISTER_NUMBER;
  5. spin_lock_irqsave(&pci_lock,
  6. bus->ops->read(bus,
  7. &data);
  8. *value
  9. =
  10. (type)data;
  11. spin_unlock_irqrestore(&pci_lock,
  12. flags);
  13. res;