Skip to content

Instantly share code, notes, and snippets.

View Cryolitia's full-sized avatar
🏳️‍⚧️
三天摸鱼,两天晒网

PukNgae Cryolitia Cryolitia

🏳️‍⚧️
三天摸鱼,两天晒网
View GitHub Profile
@Cryolitia
Cryolitia / hash_table.c
Created October 22, 2021 11:41
Verify Goldbach's conjecture
//
// Created by Neuron on 2021/10/20.
//
#include "hash_table.h"
HashTable *initHashTable(uint64_t size) {
HashTable *hashTable = (HashTable *) malloc(sizeof(HashTable));
hashTable->count = size;
hashTable->node = (Node **) calloc(size, sizeof(Node *));