code
string
repo_name
string
path
string
language
string
license
string
size
int64
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_UTIL_ARENA_H_ #define STORAGE_LEVELDB_UTIL_ARENA_H_ #include <vector> #include...
zyf873753-zhangyifan-modify-leveldb
util/arena.h
C++
bsd
1,818
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_UTIL_TESTHARNESS_H_ #define STORAGE_LEVELDB_UTIL_TESTHARNESS_H_ #include <stdi...
zyf873753-zhangyifan-modify-leveldb
util/testharness.h
C++
bsd
4,707
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "util/coding.h" #include "util/testharness.h" namespace leveldb { class Coding { }; TEST(C...
zyf873753-zhangyifan-modify-leveldb
util/coding_test.cc
C++
bsd
5,527
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_UTIL_CRC32C_H_ #define STORAGE_LEVELDB_UTIL_CRC32C_H_ #include <stddef.h> #inc...
zyf873753-zhangyifan-modify-leveldb
util/crc32c.h
C++
bsd
1,457
// Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/filter_policy.h" #include "leveldb/slice.h" #include "util/hash.h" namespace leveld...
zyf873753-zhangyifan-modify-leveldb
util/bloom.cc
C++
bsd
2,918
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // Simple hash function used for internal data structures #ifndef STORAGE_LEVELDB_UTIL_HASH_H_ #defi...
zyf873753-zhangyifan-modify-leveldb
util/hash.h
C++
bsd
524
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "util/arena.h" #include <assert.h> namespace leveldb { static const int kBlockSize = 4096; ...
zyf873753-zhangyifan-modify-leveldb
util/arena.cc
C++
bsd
1,985
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_UTIL_MUTEXLOCK_H_ #define STORAGE_LEVELDB_UTIL_MUTEXLOCK_H_ #include "port/por...
zyf873753-zhangyifan-modify-leveldb
util/mutexlock.h
C++
bsd
1,129
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // A portable implementation of crc32c, optimized to handle // four bytes at a time. #include "util/...
zyf873753-zhangyifan-modify-leveldb
util/crc32c.cc
C++
bsd
14,977
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // Endian-neutral encoding: // * Fixed-length numbers are encoded with least-significant byte first /...
zyf873753-zhangyifan-modify-leveldb
util/coding.h
C++
bsd
4,050
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <algorithm> #include <stdint.h> #include "leveldb/comparator.h" #include "leveldb/slice.h" #in...
zyf873753-zhangyifan-modify-leveldb
util/comparator.cc
C++
bsd
2,184
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <assert.h> #include <stdio.h> #include <stdlib.h> #include "leveldb/cache.h" #include "port/p...
zyf873753-zhangyifan-modify-leveldb
util/cache.cc
C++
bsd
8,664
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "util/testutil.h" #include "util/random.h" namespace leveldb { namespace test { Slice Rando...
zyf873753-zhangyifan-modify-leveldb
util/testutil.cc
C++
bsd
1,457
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // Must not be included from any .h files to avoid polluting the namespace // with macros. #ifndef S...
zyf873753-zhangyifan-modify-leveldb
util/logging.h
C++
bsd
1,594
// Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/filter_policy.h" namespace leveldb { FilterPolicy::~FilterPolicy() { } } // names...
zyf873753-zhangyifan-modify-leveldb
util/filter_policy.cc
C++
bsd
333
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "util/arena.h" #include "util/random.h" #include "util/testharness.h" namespace leveldb { c...
zyf873753-zhangyifan-modify-leveldb
util/arena_test.cc
C++
bsd
1,679
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <math.h> #include <stdio.h> #include "port/port.h" #include "util/histogram.h" namespace leve...
zyf873753-zhangyifan-modify-leveldb
util/histogram.cc
C++
bsd
4,729
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "util/testharness.h" #include <string> #include <stdlib.h> #include <sys/stat.h> #include <sy...
zyf873753-zhangyifan-modify-leveldb
util/testharness.cc
C++
bsd
1,668
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/options.h" #include "leveldb/comparator.h" #include "leveldb/env.h" namespace level...
zyf873753-zhangyifan-modify-leveldb
util/options.cc
C++
bsd
764
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_UTIL_HISTOGRAM_H_ #define STORAGE_LEVELDB_UTIL_HISTOGRAM_H_ #include <string> ...
zyf873753-zhangyifan-modify-leveldb
util/histogram.h
C++
bsd
925
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "util/logging.h" #include <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h...
zyf873753-zhangyifan-modify-leveldb
util/logging.cc
C++
bsd
1,869
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // Logger implementation that can be shared by all environments // where enough posix functionality i...
zyf873753-zhangyifan-modify-leveldb
util/posix_logger.h
C++
bsd
2,745
// Copyright (c) 2013 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // Test for issue 178: a manual compaction causes deleted data to reappear. #include <iostream> #includ...
zyf873753-zhangyifan-modify-leveldb
issues/issue178_test.cc
C++
bsd
2,569
// Copyright (c) 2013 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // Test for issue 200: when iterator switches direction from backward // to forward, the current key ca...
zyf873753-zhangyifan-modify-leveldb
issues/issue200_test.cc
C++
bsd
1,701
body { margin-left: 0.5in; margin-right: 0.5in; background: white; color: black; } h1 { margin-left: -0.2in; font-size: 14pt; } h2 { margin-left: -0in; font-size: 12pt; } h3 { margin-left: -0in; } h4 { margin-left: -0in; } hr { margin-left: -0in; } /* Definition lists: definition term bold */ dt...
zyf873753-zhangyifan-modify-leveldb
doc/doc.css
CSS
bsd
1,127
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <stdio.h> #include <stdlib.h> #include <kcpolydb.h> #include "util/histogram.h" #include "util...
zyf873753-zhangyifan-modify-leveldb
doc/bench/db_bench_tree_db.cc
C++
bsd
15,945
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <stdio.h> #include <stdlib.h> #include <sqlite3.h> #include "util/histogram.h" #include "util/...
zyf873753-zhangyifan-modify-leveldb
doc/bench/db_bench_sqlite3.cc
C++
bsd
22,586
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="doc.css" /> <title>Leveldb file layout and compactions</title> </head> <body> <h1>Files</h1> The implementation of leveldb is similar in spirit to the representation of a single <a href="http://research.google.com/archive/bigtable.html"> Bigt...
zyf873753-zhangyifan-modify-leveldb
doc/impl.html
HTML
bsd
8,284
<!DOCTYPE html> <html> <head> <title>LevelDB Benchmarks</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style> body { font-family:Helvetica,sans-serif; padding:20px; } h2 { padding-top:30px; } table.bn { width:800px; border-collapse:collapse; border:0; padding:0; } table.bn...
zyf873753-zhangyifan-modify-leveldb
doc/benchmark.html
HTML
bsd
20,970
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="doc.css" /> <title>Leveldb</title> </head> <body> <h1>Leveldb</h1> <address>Jeff Dean, Sanjay Ghemawat</address> <p> The <code>leveldb</code> library provides a persistent key value store. Keys and values are arbitrary byte arrays. The keys a...
zyf873753-zhangyifan-modify-leveldb
doc/index.html
HTML
bsd
21,366
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // WriteBatch holds a collection of updates to apply atomically to a DB. // // The updates are applie...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/write_batch.h
C++
bsd
1,848
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_INCLUDE_DB_H_ #define STORAGE_LEVELDB_INCLUDE_DB_H_ #include <stdint.h> #inclu...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/db.h
C++
bsd
6,405
/* Copyright (c) 2011 The LevelDB Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. See the AUTHORS file for names of contributors. C bindings for leveldb. May be useful as a stable ABI that can be used by programs that keep leveldb...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/c.h
C
bsd
9,875
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // Slice is a simple structure containing a pointer into some external // storage and a size. The us...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/slice.h
C++
bsd
3,131
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_INCLUDE_TABLE_H_ #define STORAGE_LEVELDB_INCLUDE_TABLE_H_ #include <stdint.h> ...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/table.h
C++
bsd
2,963
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_INCLUDE_OPTIONS_H_ #define STORAGE_LEVELDB_INCLUDE_OPTIONS_H_ #include <stddef...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/options.h
C++
bsd
6,815
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_INCLUDE_COMPARATOR_H_ #define STORAGE_LEVELDB_INCLUDE_COMPARATOR_H_ #include <...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/comparator.h
C++
bsd
2,349
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // An iterator yields a sequence of key/value pairs from a source. // The following class defines the...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/iterator.h
C++
bsd
3,502
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // An Env is an interface used by the leveldb implementation to access // operating system functional...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/env.h
C++
bsd
11,957
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // TableBuilder provides the interface used to build a Table // (an immutable and sorted map from key...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/table_builder.h
C++
bsd
3,395
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // A Cache is an interface that maps keys to values. It has internal // synchronization and may be s...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/cache.h
C++
bsd
3,534
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // A Status encapsulates the result of an operation. It may indicate success, // or it may indicate ...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/status.h
C++
bsd
3,350
// Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // A database can be configured with a custom FilterPolicy object. // This object is responsible for ...
zyf873753-zhangyifan-modify-leveldb
include/leveldb/filter_policy.h
C++
bsd
2,925
#!/bin/sh # # Detects OS we're compiling on and outputs a file specified by the first # argument, which in turn gets read while processing Makefile. # # The output will set the following variables: # CC C Compiler path # CXX C++ Compiler path # PLATFORM_LDFLAGS ...
zyf873753-zhangyifan-modify-leveldb
build_detect_platform
Shell
bsd
7,253
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "table/merger.h" #include "leveldb/comparator.h" #include "leveldb/iterator.h" #include "tabl...
zyf873753-zhangyifan-modify-leveldb
table/merger.cc
C++
bsd
4,911
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/table_builder.h" #include <assert.h> #include "leveldb/comparator.h" #include "level...
zyf873753-zhangyifan-modify-leveldb
table/table_builder.cc
C++
bsd
8,100
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_ #define STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_...
zyf873753-zhangyifan-modify-leveldb
table/two_level_iterator.h
C++
bsd
1,223
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // BlockBuilder generates blocks where keys are prefix-compressed: // // When we store a key, we drop...
zyf873753-zhangyifan-modify-leveldb
table/block_builder.cc
C++
bsd
3,656
// Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "table/filter_block.h" #include "leveldb/filter_policy.h" #include "util/coding.h" namespace...
zyf873753-zhangyifan-modify-leveldb
table/filter_block.cc
C++
bsd
3,381
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/iterator.h" namespace leveldb { Iterator::Iterator() { cleanup_.function = NULL; ...
zyf873753-zhangyifan-modify-leveldb
table/iterator.cc
C++
bsd
1,702
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_TABLE_BLOCK_H_ #define STORAGE_LEVELDB_TABLE_BLOCK_H_ #include <stddef.h> #inc...
zyf873753-zhangyifan-modify-leveldb
table/block.h
C++
bsd
1,034
// Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "table/filter_block.h" #include "leveldb/filter_policy.h" #include "util/coding.h" #include "...
zyf873753-zhangyifan-modify-leveldb
table/filter_block_test.cc
C++
bsd
3,691
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_TABLE_ITERATOR_WRAPPER_H_ #define STORAGE_LEVELDB_TABLE_ITERATOR_WRAPPER_H_ na...
zyf873753-zhangyifan-modify-leveldb
table/iterator_wrapper.h
C++
bsd
2,031
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "table/format.h" #include "leveldb/env.h" #include "port/port.h" #include "table/block.h" #in...
zyf873753-zhangyifan-modify-leveldb
table/format.cc
C++
bsd
4,587
// Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // A filter block is stored near the end of a Table file. It contains // filters (e.g., bloom filter...
zyf873753-zhangyifan-modify-leveldb
table/filter_block.h
C++
bsd
2,248
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "table/two_level_iterator.h" #include "leveldb/table.h" #include "table/block.h" #include "ta...
zyf873753-zhangyifan-modify-leveldb
table/two_level_iterator.cc
C++
bsd
4,702
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/table.h" #include <map> #include <string> #include "db/dbformat.h" #include "db/memt...
zyf873753-zhangyifan-modify-leveldb
table/table_test.cc
C++
bsd
24,135
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_TABLE_BLOCK_BUILDER_H_ #define STORAGE_LEVELDB_TABLE_BLOCK_BUILDER_H_ #include...
zyf873753-zhangyifan-modify-leveldb
table/block_builder.h
C++
bsd
1,767
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_TABLE_MERGER_H_ #define STORAGE_LEVELDB_TABLE_MERGER_H_ namespace leveldb { c...
zyf873753-zhangyifan-modify-leveldb
table/merger.h
C++
bsd
867
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_TABLE_FORMAT_H_ #define STORAGE_LEVELDB_TABLE_FORMAT_H_ #include <string> #inc...
zyf873753-zhangyifan-modify-leveldb
table/format.h
C++
bsd
3,142
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/table.h" #include "leveldb/cache.h" #include "leveldb/comparator.h" #include "leveld...
zyf873753-zhangyifan-modify-leveldb
table/table.cc
C++
bsd
8,187
<?php /** * 全局项加载 * By:ZY * init.php */ error_reporting(7); ob_start(); header('Content-Type: text/html; charset=UTF-8'); require_once ZYDISK_ROOT.'/system/model/system.php'; zrequire(ZYDISK_ROOT.'/data/setting/system.php');//加载配置 ?>
zydisk
trunk/init.php
PHP
asf20
255
<?php header("Content-Type:text/html; charset=utf-8"); define('ZYDISK_ROOT', dirname(__FILE__)); require_once ZYDISK_ROOT.'/init.php';//加载全局项 $name1 = 'disk/'.$_GET['file']; $name = iconv('UTF-8', 'GB2312', $name1); $name = stripslashes($name); $name = str_replace('*', '&', $name); $download = sbasename($name);...
zydisk
trunk/download.php
PHP
asf20
2,130
<?php define('Wname', 'ZYDISK个人网络硬盘'); define('Wurl', 'http://127.0.0.1'); define('WADMIN', 'admin'); define('Wemail', 'admin@admin.com'); define('sdownload', '0'); define('filediskdir', 'disk'); ?>
zydisk
trunk/data/setting/system.php
PHP
asf20
210
<?php $safeinfo = array('php',';'); ?>
zydisk
trunk/data/setting/safe.php
PHP
asf20
38
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/data/setting/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/data/backup/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/data/log/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/language/index.php
PHP
asf20
65
<?php /** * 系统核心库 * * By:ZY * */ function zrequire($z) { if(file_exists($z)) { require_once $z; } else { zmsg("杯具啊,加载文件失败了。。。。。。</p> 大概是系统文件不完全的原因吧。。。</p> 请检查系统的完整性!</p> ************************************</p> 需加载文件的绝对路径:$z</p> ************************************</p> 遇到无法解决的问题请联系ZY。。。。。</p>"); } ...
zydisk
trunk/system/model/system.php
PHP
asf20
2,532
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/model/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/templates/public/js/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/templates/public/other/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/templates/public/images/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/templates/public/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/templates/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/lib/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/system/index.php
PHP
asf20
65
<?php //保护文件(404) header("HTTP/1.1 404 Not Found"); ?>
zydisk
trunk/disk/index.php
PHP
asf20
65
<?php /** * 首页 * By:ZY * index.php */ header("Content-Type:text/html; charset=utf-8"); define('ZYDISK_ROOT', dirname(__FILE__)); require_once ZYDISK_ROOT.'/init.php';//加载全局项 datasafe();//安全措施 $getdir = isset($_GET['dir']) ? addslashes($_GET['dir']) : ''; $dir = ZYDISK_ROOT.'/'.filediskdir.'/'.$getdir; $dirr= iconv(...
zydisk
trunk/index.php
PHP
asf20
1,015
<!-- saved from url=(0044)http://www.icomsw.com/~moshe/php-android.php --> <HTML style="zoom: 100%; "><HEAD><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><STYLE type="text/css">.vimiumHUD, .vimiumHUD * {line-height: 100%;font-size: 11px;font-weight: normal;}.vimiumHUD {position: fixed;bottom:...
zysc8313-
php/glibc/php-android.php.html
HTML
asf20
5,812
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/ZipExtractorTask.java
Java
asf20
7,841
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/AsyncTaskListener.java
Java
asf20
957
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/InterpreterInstaller.java
Java
asf20
10,548
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/interpreter/Sl4aHostedInterpreter.java
Java
asf20
2,733
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/interpreter/PfaHostedInterpreter.java
Java
asf20
2,795
/* Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/interpreter/InterpreterProvider.java
Java
asf20
6,445
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/UrlDownloaderTask.java
Java
asf20
4,987
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/activity/Main.java
Java
asf20
10,152
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zysc8313-
android/PfaInterpreterForAndroid/src/com/googlecode/android_scripting/InterpreterUninstaller.java
Java
asf20
4,247
package com.irontec.phpforandroid; import android.content.Context; import com.googlecode.android_scripting.AsyncTaskListener; import com.googlecode.android_scripting.InterpreterInstaller; import com.googlecode.android_scripting.InterpreterUninstaller; import com.googlecode.android_scripting.activity.Main; import com....
zysc8313-
android/PhpForAndroid/src/com/irontec/phpforandroid/PhpMain.java
Java
asf20
1,096
package com.irontec.phpforandroid; import java.io.File; import java.util.HashMap; import java.util.Map; import com.googlecode.android_scripting.interpreter.InterpreterConstants; import com.googlecode.android_scripting.interpreter.InterpreterDescriptor; import com.googlecode.android_scripting.interpreter.InterpreterPr...
zysc8313-
android/PhpForAndroid/src/com/irontec/phpforandroid/PhpProvider.java
Java
asf20
3,003
package com.irontec.phpforandroid; import android.content.Context; import com.googlecode.android_scripting.AsyncTaskListener; import com.googlecode.android_scripting.InterpreterUninstaller; import com.googlecode.android_scripting.exception.Sl4aException; import com.googlecode.android_scripting.interpreter.Interpreter...
zysc8313-
android/PhpForAndroid/src/com/irontec/phpforandroid/PhpUninstaller.java
Java
asf20
650
/* * Copyright (C) 2010 Irontec SL * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zysc8313-
android/PhpForAndroid/src/com/irontec/phpforandroid/PhpDescriptor.java
Java
asf20
5,390
package com.irontec.phpforandroid; import java.io.File; import android.content.Context; import com.googlecode.android_scripting.AsyncTaskListener; import com.googlecode.android_scripting.InterpreterInstaller; import com.googlecode.android_scripting.Log; import com.googlecode.android_scripting.exception.Sl4aException...
zysc8313-
android/PhpForAndroid/src/com/irontec/phpforandroid/PhpInstaller.java
Java
asf20
1,075
#!/usr/bin/perl -w use strict; # Copyright 2008, Andrew Ross andy@plausible.org # Distributable under the terms of the GNU GPL, see COPYING for details # The Android toolchain is ... rough. Rather than try to manage the # complexity directly, this script wraps the tools into an "agcc" that # works a lot like a gcc c...
zysc8313-
tools/agcc
Perl
asf20
6,366
#include "new" #include <stdlib.h> const std::nothrow_t std::nothrow = {}; void* operator new(std::size_t size) { void* p = malloc(size); if (p == NULL) { // abort(); } return p; } void* operator new[](std::size_t size) { void* p = malloc(size); if (p == NULL) { // abort(); ...
zysc8313-
bionic/bionicmod/libstdc++/src/new.cpp
C++
asf20
889
#include "typeinfo" #include <stdlib.h> type_info::type_info() { } type_info::~type_info() { } char const * type_info::name() const { return "N/A"; } bool type_info::operator==(type_info const & right) const { return false; } bool type_info::operator!=(type_info const & right) const { return false; }...
zysc8313-
bionic/bionicmod/libstdc++/src/typeinfo.cpp
C++
asf20
450
#include <stdio.h> #include <stdlib.h> extern "C" void __cxa_pure_virtual() { fprintf(stderr, "Pure virtual function called. Are you calling virtual methods from a destructor?\n"); abort(); }
zysc8313-
bionic/bionicmod/libstdc++/src/pure_virtual.cpp
C++
asf20
204
/* * one_time_construction.cpp * * Copyright 2006 The Android Open Source Project * * This file contains C++ ABI support functions for one time * constructors as defined in the "Run-time ABI for the ARM Architecture" * section 4.4.2 */ #include <stddef.h> #include <sys/atomics.h> extern "C" int __futex_wait(v...
zysc8313-
bionic/bionicmod/libstdc++/src/one_time_construction.cpp
C++
asf20
1,261