User:Pcu123456789/sourcebak
From Wikipedia, the free encyclopedia
Template:Refdata
This page is a candidate to be copied to Wikibooks using the Import process. If the page can be re-written into an encyclopedic article, please do so and remove this message. Before you move this content to Wikibooks, verify that it conforms to Wikibooks policies of acceptable content at What is Wikibooks? Often content unacceptable to Wikipedia may not be acceptable on Wikibooks either; facilitate the copying of this article by listing it on Wikibooks:Requests for Import. |
This page contains a repository of source code, including implementations of standard algorithms and significant sources. (Rather than being repeated, general descriptions of the algorithms and concepts residing on this page should be linked externally to their respective Wikipedia entries.)
Contents |
[edit] Algorithms and utilities
[edit] Background Data
[edit] Data manipulation
- Bit copying (C macro, Component Pascal code)
- Bit counting (x86 assembly, C, Component Pascal)
- Xor swap algorithm (C, C++, Visual Basic, Delphi,...)
[edit] Date
- Easter day (Excel VBA)
- Conversion of a Gregorian date to an International Fixed Calendar date
[edit] Filesystem
- File existence (C, C#, Java, LISP, Perl, Python, TCL, Visual Basic)
- Random file in range (C, JavaScript, Java, Python)
- Random file in directory function (PHP, Python, Perl)
[edit] Mathematics
- Complex number manipulation
- http://en.wikibooks.org/wiki/Special_numbers/Computer_programs_to_calculate_pi
- http://en.wikibooks.org/wiki/Special_numbers/Computer_programs_to_calculate_e
- Average of series function
- Minimum of series function
- Maximum of series function
- Total of a series function
- Euclidean algorithm (C)
- Prime factorization (C with GMP)
- Square roots modulo a prime, implementing the Algorithm of Shanks & Tonelli in C with GMP
- Random number generation (C)
- Within Range function (Algorithm, C, PHP)
- Base conversion (C++)
- String to Decimal Conversion (Algorithm, C)
- Roman Number Conversion (VB)
- Fibonacci sequence (Basic, C++, Java, Python)
- Binomialkoeffizient (4GL, REXX, C, Pascal, Javascript, VB, Assembly, Python)
- Fermat Primality test to filter Prime numbers, Pseudoprime numbers and Carmichael numbers
- Find all Perfect Numbers
- Integer square root (Algorithm, Assembly, C, Java, Python)
- Running Average function (C, PHP, VBScript)
- Program in C calculating prime numbers between A and B
- Gaussian Elimination
[edit] Hashing functions
- Polynomial hash function (C++)
- SHA-1 hash (Visual Basic, Python)
- CRC32 Checksum function (C)
- MD5 Hash (Delphi, JavaScript, Python)
[edit] Cryptography
- RC4 algorithm (Matlab)
- Tiny Encryption Algorithm (C)
[edit] Science
[edit] Physics
[edit] Mechanics
- Position of an accelerating body function (C++)
- Position of an accelerating body function (constant acceleration) (C, C++, Delphi, Java, PHP, Python)
- Motion of an object through space (piece-meal approximation) (C++)
[edit] Fluid Dynamics
- Navier-Stokes Algorithm
[edit] Searching
[edit] Sorting
- Bubble sort (Assembly, Basic, C, C++, Java, Python)
- Quicksort (C, Python, Java)
- Selection sort (C, Java, Python)
- Merge sort (Scheme, Python, C)
- Insertion sort (Java,Pascal)
- Smooth sort (Pascal)
[edit] Strings
- Reversing a String (x86 Assembly, BASIC, C, C++, Perl, PHP, Python)
- Case conversion (BASIC, C, Java, Perl, PHP, Python)
- Concatenate two strings (#x86 Intel Assembly, C, Java, Liberty BASIC, Matlab, Gibiane, Delphi)
- Simplified regular expression (C)
- Program to convert base-10 numbers to base-n numbers (BC, AWK, C#, Perl, REXX, tcl, Python,UBASIC,EXCEL)
[edit] Miscellaneous
- Null Pointer Dereference (BCPL, C/C++, Java, Pascal, x86 Assembler, Sparc Assembler)
- Sleep routine (Assembly,Java,Python)
- NIR Validation (numéro INSEE ou numéro de sécurité sociale)
- Flood fill (C, Java)
- Binärer Suchbaum (C++)
[edit] Code samples
[edit] Applescript code samples
- wikibooks:Programming:Applescript/Mail alert
- QuickTime full screen
- wikibooks:Programming:Applescript/Temp converter
[edit] Assembler code samples
- Show ASCII table
- Passing argv and argc under IA32 Linux
[edit] BF code samples
- Converting strings to integers
- Division by 10
[edit] Korn shell samples
- Function to check if a file exists, if not create empty file
- Function to derive a list of users from /etc/passwd
- How to emulate a traditional 'for' loop in Korn
[edit] Lisp code samples
- HTML week calendar generator
- Macros for generating HTML
- Emperical Solution to the Monty Hall Problem
[edit] Perl code samples
- Drawing an exponential ruler
- Simple Random Number generation
[edit] PHP code samples
- Smart-links to Mediawiki pages
[edit] Libraries and Objects
[edit] Nice class (C++)
[edit] Graphics
- Bezier Curve
- Fractals in Logo
- Simple Bitmap object
[edit] Programs
[edit] (Hello world)
- (Ada95, ANSI BASIC, ANSI C, Assembler, BCPL, C++, C#, Forth, Fortran, Java, Liberty BASIC, Objective-C, Pascal, Perl, Python, PHP, Tcl, TK, Caml)
[edit] Ada programs
- Knuth Morris Pratt pattern match algorithm
[edit] BASIC programs
- Simple interpreter
- Literate programming
- Chatterbot
[edit] BF programs
- BF quine
- Factoring large integers
[edit] Bourne-again shell programs
- Extract multiple formats
[edit] C programs
- BF interpreter
- Prime factorization
- Empirical solution of the Monty Hall problem
[edit] C# programs
hashing
[edit] HTML-Javascript programs
- Escape velocity
- Calculating escape velocity
- Air density calculator
[edit] Java programs
- Empirical solution of the Monty Hall problem
[edit] Perl programs
- Empirical solution of the Monty Hall problem
- Source tree wikifier
[edit] Python programs
- Calculating the digits of pi
[edit] Internet
- Generem
[edit] External links
[edit] Wikipedia
- Wikipedia:Programming language for descriptions of various languages
- Wikipedia:Category:Algorithms for descriptions of various algorithms, often including sample implementations
[edit] Sourcecode repositories
- Free Software Foundation (GNU)
- JEDI Code Library for Delphi and C++Builder
- Savannah
- SourceForge.net
- Sourceforge.net Java programs
- Tigris.org
- Matlab Central File Exchange
- Hotscripts
- Freshmeat.net
[edit] Programming websites and forums
- The Adaptive Communication Environment
- CodeGuru
- The Code Project
- C# Corner: Articles and source code
- Free2Code.net
- GotDotNet: The Microsoft .NET Framework Community
- IT Toolbox
- Koders.com
- Microsoft Developer's Network
- Planet Source Code
- Programmer's Heaven
- Downloadable shareware and freeware
- Codewiki.net - Programmers Wiki
[edit] Other external links
NOTE These external links to large files have been moved back from various unwarranted separate pages of links. This was done without prejudging whether the links below should even continue to be listed. Ec.
Perl 5.8.4
- stable.tar.gz (stable version) (gzipped tar) (MD5 sum)
- devel.tar.gz (development version) (gzipped tar) (MD5 sum)
Linux kernel 2.6.8.1
GCC 3.4.0
GNU software
Name | Description | Source | Webpage | License |
---|---|---|---|---|
3DKit | 3D graphics rendering architecture | source | webpage | LGPL |
3DLDF | 3D drawing package | source | webpage | GPLv2 |
Gzip 1.2.4