代码搜索:Hashtable
找到约 7,854 项符合「Hashtable」的源代码
代码结果 7,854
www.eeworm.com/read/242083/13095853
c hashtable.c
/*
* Copyright (c) 2000-2008
* Author: Weiming Zhou
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without f
www.eeworm.com/read/242043/13097969
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/242043/13097977
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/138936/13200546
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/325486/13201050
java hashtable.java
// Introduced in Chapter 11
/** A hash table of Comparables, using double hashing. */
public class HashTable implements Set {
/**
* Special object to indicate a slot previously occupied by
www.eeworm.com/read/240259/13228508
txt hashtable.txt
hashtable.cpp运行结果:
ran ht,10 items,10 hashTable
插入结果
key[ 0]= 17 key[ 1]= 62 key[ 2]= 96 key[ 3]= 9 key[ 4]= 71
key[ 5]= 75 key[ 6]= 53 key[ 7]= 12 key[ 8]= 88 key[ 9]= 11
查找结果
key[ 9]= 11
www.eeworm.com/read/240259/13228873
cpp hashtable.cpp
//哈希表hashtable.cpp
#include
#include
#include
#include
#include
#include
//user data stored in hash table
typedef struct
{int st
www.eeworm.com/read/239763/13258262
class hashtable.class
www.eeworm.com/read/239763/13258270