Skip to content

Instantly share code, notes, and snippets.

View CarrCodes's full-sized avatar

Taylor Carr CarrCodes

View GitHub Profile
@CarrCodes
CarrCodes / ParallelMergeSorter.Java
Created December 8, 2017 23:27
Merge sort implementation in java using multithreading
package assign6;
import java.util.*;
/**
* This class carries out the merge sort algorithm in parallel.
*
* @author Taylor Carr
* @version 1.0
*/
@CarrCodes
CarrCodes / agent.c
Last active December 8, 2017 23:38
TCP Socket Server
// This is the agent application that will be used to send actions to the server.
// It takes 3 arguments, server IP or host, port, and the action requested.
// List of includes
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
// Author: Taylor Carr
//
// Spring 2016
//
// This program generates a list of numbers and
// utilizes different sorting and searching methods
// to see which ones take the least amount of time
#include <iostream>
#include <iomanip>
// Author: Taylor Carr
//
// Spring 2016
//
// This program utilizes recursive functions to manipulate
// an integer value entered by the user.
#include <iostream>
#include <cmath>
// Author: Taylor Carr
//
// Spring 2016
//
// This program creates and manipulates a linked
// list of numbers
#include <iostream>
#include <cstddef>
#include <vector>