Magic number (programming)

In computer programming, a magic number is any of the following: * A unique value with unexplained meaning or multiple occurrences which could (preferably) be replaced with a named constant * A constant numerical or text value used to identify a file format or protocol; for files, see List of file signatures * A distinctive unique value that is unlikely to be mistaken for other meanings (e.g., Globally Unique Identifiers)

Comment
enIn computer programming, a magic number is any of the following: * A unique value with unexplained meaning or multiple occurrences which could (preferably) be replaced with a named constant * A constant numerical or text value used to identify a file format or protocol; for files, see List of file signatures * A distinctive unique value that is unlikely to be mistaken for other meanings (e.g., Globally Unique Identifiers)
Cs1Dates
eny
Date
enJuly 2019
Has abstract
enIn computer programming, a magic number is any of the following: * A unique value with unexplained meaning or multiple occurrences which could (preferably) be replaced with a named constant * A constant numerical or text value used to identify a file format or protocol; for files, see List of file signatures * A distinctive unique value that is unlikely to be mistaken for other meanings (e.g., Globally Unique Identifiers)
Is primary topic of
Magic number (programming)
Label
enMagic number (programming)
Link from a Wikipage to another Wikipage
1
2
2,147,483,647
255 (number)
4,294,967,295
6000
65,535
68000
7z
9,223,372,036,854,775,807
ABBA
AddressSanitizer
Amiga
Amiga Hunk
AmigaOS
Answer to Life, the Universe, and Everything
Anti-pattern
AOL Instant Messenger
API function
Apple Inc.
AppleScript
ASCII
Autocomplete
BeOS
Berkeley Fast File System
Binary numeral system
BIOS
BIOS Boot partition
Bit
Bitcoin
BitTorrent tracker
Boolean data type
Branch instruction
Burroughs large systems
Byte
Byte alignment
Byte Order Mark
C (programming language)
Canary value
Category:Anti-patterns
Category:Computer programming folklore
Category:Debugging
Category:Software engineering folklore
Classic Mac OS
COBOL
Code reuse
Commodore International
Compiler
Component Object Model
Compound File Binary Format
Computer programming
Constant (programming)
Core dump
Cryptography
C Standard Library
Debugger
DHCP
Diagnostic program
Digital Equipment Corporation
Discriminant
Distributed Component Object Model
Doom (1993 video game)
Doom WAD
DOS
DOS MZ executable
DR DOS
Driver Parallel Lines
Dynamic-link library
EDonkey2000
EMM386
EMule
Endianness
Enumerated type
EXE
Executable
Executable and Linkable Format
Exif
Fast inverse square root
File format
File Transfer Protocol
Fisher–Yates shuffle
For loop
FORTRAN
FourCC
FreeBSD
Game Boy
Game Boy Advance
Globally unique identifier
Globally Unique Identifier
Graphics Interchange Format
Guard byte
GUID Partition Table
Half-Life (video game)
Hard coding
Header (computing)
Hexadecimal
Hexspeak
Hyper-V
IA-32
IBM
IBM PC
IBM PC compatible
ICQ
In-band signaling
Information
INT 3
Integrated development environment
Interface (computing)
Interpreter directive
IOS
IP camera
IRIX
Java (programming language)
Java bytecode
Java class file
JFIF
JPEG
Kernel (operating system)
Kernel space
Linker (computing)
Linux
Lions' Commentary on UNIX 6th Edition, with Source Code
List of file signatures
Little endian
LLVM
Loader (computing)
Logic analyzer
Loop optimization
MAC address
Mach (kernel)
Mach-O
Magic (programming)
Magic string
Magnetic-core memory
Malloc
Mark Zbikowski
Marshall Kirk McKusick
Master Boot Record
Memory allocation
Memory dump
Memory page
Memory protection
Meta
Metadata (computing)
Microsoft
Microsoft .NET
Microsoft Office
Microsoft Press
Microsoft Windows
MIDI
Modulo operation
MS-DOS
MSRPC
Multiboot Specification
NaN
NetWare
Newline
Nintendo
Nintendo GameCube
Nothing up my sleeve number
Novell DOS
Null pointer
Null-terminated string
OBJREF
Octal
Odd number
Offset (computer science)
OpenDOS
OpenSolaris
OPENSTEP Enterprise
OpenWRT
Operating system
Operation code
OSCAR protocol
Oscilloscope
Pack200
PDF
PDP-11
Per mille
Phil Katz
PKZIP
Playing cards
Portable Executable
Portable Network Graphics
Position-independent code
PostScript
PowerPC
Preferred Executable Format
Primitive type
Pseudocode
Quadratic equation
Quake (video game)
Random-access memory
Real-time operating system
Real-time Transport Protocol
Relative address
RFB protocol
RTCP
Secure Sockets Layer
Sentinel value
Server Message Block
Shebang (Unix)
Silicon Graphics
Sixth Edition Unix
SMARTDRV
Solaris (operating system)
Stack-based memory allocation
Standalone program
Steve Maguire
Strongly typed
Sun Microsystems
System on a chip
Tarot
Test-driven development
TIFF
Time formatting and storage bugs
Typo
Unicode
Uninitialized variable
Unix
User space
UTF-16
UTF-8
Version 6 Unix
Version 7 Unix
Virtual Network Computing
VLC player
WebKit
Wii
Windows
Word size
XYZZY (magic word)
ZIP (file format)
SameAs
2eMoz
m.01zj5x
Maaginen numero
Magia nombro
Magic number
Magic number (programming)
Magische Zahl (Informatik)
Nombre magique (programmation)
Número màgic (informàtica)
Número mágico (informática)
Número mágico (programação de sistemas)
Q284099
Varázsszámok (antiminta)
Магическое число (программирование)
Магічне число (програмування)
מספר קסם (תכנות)
اعداد جادویی (برنامه‌نویسی)
マジックナンバー (プログラム)
魔術數字 (程式設計)
매직 넘버 (프로그래밍)
SeeAlso
List of file signatures
Subject
Category:Anti-patterns
Category:Computer programming folklore
Category:Debugging
Category:Software engineering folklore
WasDerivedFrom
Magic number (programming)?oldid=1124247225&ns=0
WikiPageLength
47401
Wikipage page ID
352996
Wikipage revision ID
1124247225
WikiPageUsesTemplate
Template:Anchor
Template:Citation needed
Template:Clarify
Template:Cn
Template:Code
Template:Computer files
Template:Fact
Template:Main
Template:More citations needed section
Template:Reflist
Template:See also
Template:Short description
Template:Slink
Template:Snd
Template:Thin space
Template:Use dmy dates