Live555_2017-vs2015 x64 x86 完全编译版本(20170126)(vs2015编译版本)
live555 x64 x86 完全编译版本,本人花了很大的心血,编译完成所有版本,送给需要的人。
Live555_2017-vs2015 x64 x86 完全编译版本(20170126)(vs2015编译版本)
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 67584 2019-03-25 16:39 Live555_2017(20170126)Live555_2017.vsLive555_2017v14.suo
文件 7662 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicHashTable.cpp
文件 10556 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicTaskScheduler.cpp
文件 7519 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicTaskScheduler0.cpp
文件 2435 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment.cpp
文件 7497 2019-03-25 16:24 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment.vcxproj
文件 1531 2017-04-02 12:05 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment.vcxproj.filters
文件 223 2017-04-02 12:05 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment.vcxproj.user
文件 3250 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment0.cpp
文件 50025 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicHashTable.obj
文件 51593 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicTaskScheduler.obj
文件 59315 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicTaskScheduler0.obj
文件 210 2019-03-25 16:33 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogBasicUsageEnvironment.lastbuildstate
文件 5902 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogCL.command.1.tlog
文件 136180 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogCL.read.1.tlog
文件 4878 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogCL.write.1.tlog
文件 2444 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogLib-link.read.1.tlog
文件 1290 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogLib-link.write.1.tlog
文件 1652 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tloglib.command.1.tlog
文件 805888 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment.idb
文件 115 2019-03-25 16:33 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment.log
文件 41350 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment.obj
文件 217088 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment.pdb
文件 41096 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment0.obj
文件 59875 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugDelayQueue.obj
文件 6419 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDelayQueue.cpp
文件 3473 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentincludeBasicHashTable.hh
文件 3194 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentincludeBasicUsageEnvironment.hh
文件 3780 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentincludeBasicUsageEnvironment0.hh
文件 354 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentincludeBasicUsageEnvironment_version.hh
............此处省略1693个文件信息
/**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 3 of the License or (at your
option) any later version. (See .)
This library is distributed in the hope that it will be useful but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
more details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not write to the Free Software Foundation Inc.
51 Franklin Street Fifth Floor Boston MA 02110-1301 USA
**********/
// Copyright (c) 1996-2017 Live Networks Inc. All rights reserved.
// Basic Hash Table implementation
// Implementation
#include “BasicHashTable.hh“
#include “strDup.hh“
#if defined(__WIN32__) || defined(_WIN32)
#else
#include
#endif
#include
#include
// When there are this many entries per bucket on average rebuild
// the table to increase the number of buckets
#define REBUILD_MULTIPLIER 3
BasicHashTable::BasicHashTable(int keyType)
: fBuckets(fStaticBuckets) fNumBuckets(SMALL_HASH_TABLE_SIZE)
fNumEntries(0) fRebuildSize(SMALL_HASH_TABLE_SIZE*REBUILD_MULTIPLIER)
fDownShift(28) fMask(0x3) fKeyType(keyType) {
for (unsigned i = 0; i < SMALL_HASH_TABLE_SIZE; ++i) {
fStaticBuckets[i] = NULL;
}
}
BasicHashTable::~BasicHashTable() {
// Free all the entries in the table:
for (unsigned i = 0; i < fNumBuckets; ++i) {
TableEntry* entry;
while ((entry = fBuckets[i]) != NULL) {
deleteEntry(i entry);
}
}
// Also free the bucket array if it was dynamically allocated:
if (fBuckets != fStaticBuckets) delete[] fBuckets;
}
void* BasicHashTable::Add(char const* key void* value) {
void* oldValue;
unsigned index;
TableEntry* entry = lookupKey(key index);
if (entry != NULL) {
// There‘s already an item with this key
oldValue = entry->value;
} else {
// There‘s no existing entry; create a new one:
entry = insertNewEntry(index key);
oldValue = NULL;
}
entry->value = value;
// If the table has become too large rebuild it with more buckets:
if (fNumEntries >= fRebuildSize) rebuild();
return oldValue;
}
Boolean BasicHashTable::Remove(char const* key) {
unsigned index;
TableEntry* entry = lookupKey(key index);
if (entry == NULL) return False; // no such entry
deleteEntry(index entry);
return True;
}
void* BasicHashTable::Lookup(char const* key) const {
unsigned index;
TableEntry* entry = lookupKey(key index);
if (entry == NULL) return NULL; // no such entry
return entry->value;
}
unsigned BasicHashTable::numEntries() const {
return fNumEntries;
}
BasicHashTable::Iterator::Iterator(BasicHashTable const& table)
: fTable(table) fNextIndex(0) fN
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 67584 2019-03-25 16:39 Live555_2017(20170126)Live555_2017.vsLive555_2017v14.suo
文件 7662 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicHashTable.cpp
文件 10556 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicTaskScheduler.cpp
文件 7519 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicTaskScheduler0.cpp
文件 2435 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment.cpp
文件 7497 2019-03-25 16:24 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment.vcxproj
文件 1531 2017-04-02 12:05 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment.vcxproj.filters
文件 223 2017-04-02 12:05 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment.vcxproj.user
文件 3250 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentBasicUsageEnvironment0.cpp
文件 50025 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicHashTable.obj
文件 51593 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicTaskScheduler.obj
文件 59315 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicTaskScheduler0.obj
文件 210 2019-03-25 16:33 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogBasicUsageEnvironment.lastbuildstate
文件 5902 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogCL.command.1.tlog
文件 136180 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogCL.read.1.tlog
文件 4878 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogCL.write.1.tlog
文件 2444 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogLib-li
文件 1290 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tlogLib-li
文件 1652 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsa.9247C7C9.tloglib.command.1.tlog
文件 805888 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment.idb
文件 115 2019-03-25 16:33 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment.log
文件 41350 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment.obj
文件 217088 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment.pdb
文件 41096 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugBasicUsageEnvironment0.obj
文件 59875 2019-03-25 15:37 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDebugDelayQueue.obj
文件 6419 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentDelayQueue.cpp
文件 3473 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentincludeBasicHashTable.hh
文件 3194 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentincludeBasicUsageEnvironment.hh
文件 3780 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentincludeBasicUsageEnvironment0.hh
文件 354 2017-01-26 19:29 Live555_2017(20170126)Live555_2017BasicUsageEnvironmentincludeBasicUsageEnvironment_version.hh
............此处省略1693个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)