mirror of
https://github.com/RustyRaptor/ProgrammingLanguages.git
synced 2026-12-03 21:55:15 -07:00
added java gitignore and copied files to PA008
This commit is contained in:
1 parent
ef5ce9651f
commit
9b0dcb8c67
4 files changed
+50
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# Compiled class file
|
||||
*.class
|
||||
|
||||
# Log file
|
||||
*.log
|
||||
|
||||
# BlueJ files
|
||||
*.ctxt
|
||||
|
||||
# Mobile Tools for Java (J2ME)
|
||||
.mtj.tmp/
|
||||
|
||||
# Package Files #
|
||||
*.jar
|
||||
*.war
|
||||
*.nar
|
||||
*.ear
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
replay_pid*
|
||||
@@ -0,0 +1,14 @@
|
||||
red=`tput setaf 1`
|
||||
green=`tput setaf 2`
|
||||
reset=`tput sgr0`
|
||||
|
||||
# Variables so its easy to make changes if I need to (it ended up being helpful)
|
||||
|
||||
all: test
|
||||
test: concurrency.py
|
||||
@echo "${green}For N = 4${reset}"
|
||||
python3 concurrency.py 4
|
||||
@echo "${green}For N = 8${reset}"
|
||||
python3 concurrency.py 8
|
||||
@echo "${green}For N = 16${reset}"
|
||||
python3 concurrency.py 16
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
## Usage
|
||||
|
||||
### Testing the code
|
||||
1. Execute the code for N=4,8,16
|
||||
1. `make`
|
||||
|
||||
|
||||
|
||||
### Executing The python program alone
|
||||
1. `python3 concurrency.py N`
|
||||
1. Where N is the size of the NxN matrix
|
||||
Whitespace-only changes.
Reference in new issue
Block a user