代码搜索:Hashtable

找到约 7,854 项符合「Hashtable」的源代码

代码结果 7,854
www.eeworm.com/read/236086/14032393

txt hashtable.txt

实验五 哈希表 [实验目的] 1、哈希函数的选择 2、用链表创建哈希表 3、输出哈希表 [题目] 假设人名为中国人姓名的汉语拼音形式。待填入哈希表的人名共有30个,取平均查找长度的上限为2。哈希函数用除留取余数法构造。用链表来处理冲突。 [源程序] #include #include #include
www.eeworm.com/read/202877/15370425

class hashtable.class

www.eeworm.com/read/202877/15370549

class hashtable.class

www.eeworm.com/read/201037/15418030

h hashtable.h

enum KindOfItem {Empty, Active, Deleted}; struct HashItem { DataType data; KindOfItem info; HashItem(KindOfItem i = Empty): info(i){} HashItem(const DataType &D, KindOfItem i = Empty): d
www.eeworm.com/read/201037/15418034

cpp hashtable.cpp

#include typedef int KeyType; #include "DataType.h" #include "HashTable.h" void main(void) { HashTable myHashTable(13); DataType a[] = {180,750,600,430,541,900,460}, item;
www.eeworm.com/read/112762/15477495

h hashtable.h

/* * Copyright (c) 1996,1997 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby gra
www.eeworm.com/read/111988/15496978

h hashtable.h

#ifndef HASH_TABLE_CLASS #define HASH_TABLE_CLASS #include #include "array.h" #include "linkedlist.h" template class HashTable { protected: // “桶”的个数,表示哈希表的大小 i
www.eeworm.com/read/111298/15514868

h hashtable.h

enum KindOfItem {Empty, Active, Deleted}; struct HashItem { DataType data; KindOfItem info; HashItem(KindOfItem i = Empty): info(i){} HashItem(const DataType &D, KindOfItem i = Empty): d
www.eeworm.com/read/111298/15514872

cpp hashtable.cpp

#include typedef int KeyType; #include "DataType.h" #include "HashTable.h" void main(void) { HashTable myHashTable(13); DataType a[] = {180,750,600,430,541,900,460}, item;
www.eeworm.com/read/109529/15555695

h hashtable.h

/****************************************************************************** File: hashtable.h Authors: John Carpinelli (johnfc@ecr.mu.oz.au) Wayne Salamonsen (wbs@mundil.cs.mu.oz.au) Pur