code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/ui_languages.html
HTML
asf20
5,114
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/jqueryadapter.html
HTML
asf20
3,517
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/output_for_flash.html
HTML
asf20
8,579
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/replacebyclass.html
HTML
asf20
2,548
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/sharedspaces.html
HTML
asf20
5,063
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/api.html
HTML
asf20
6,740
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/skins.html
HTML
asf20
4,117
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/asp/index.html
HTML
asf20
4,311
<%@ codepage="65001" language="VBScript" %> <% Option Explicit %> <!-- #INCLUDE file="../../ckeditor.asp" --> <% ' You must set "Enable Parent Paths" on your web site ' in order for the above relative include to work. ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp" %> <!DOCTYPE html PUBLIC ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/asp/replace.asp
Classic ASP
asf20
2,553
<%@ codepage="65001" language="VBScript" %> <% Option Explicit %> <!-- #INCLUDE file="../../ckeditor.asp" --> <% ' You must set "Enable Parent Paths" on your web site ' in order for the above relative include to work. ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp" %> <!DOCTYPE html PUBLIC ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/asp/events.asp
Classic ASP
asf20
4,504
<%@ codepage="65001" language="VBScript" %> <% Option Explicit %> <!-- #INCLUDE file="../../ckeditor.asp" --> <% ' You must set "Enable Parent Paths" on your web site ' in order for the above relative include to work. ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp" %> <!DOCTYPE html PUBLIC ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/asp/standalone.asp
Classic ASP
asf20
2,476
<%@ codepage="65001" language="VBScript" %> <% Option Explicit %> <!-- #INCLUDE file="../../ckeditor.asp" --> <% ' You must set "Enable Parent Paths" on your web site ' in order for the above relative include to work. ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp" %> <!DOCTYPE html PUBLIC ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/asp/advanced.asp
Classic ASP
asf20
3,408
<%@ codepage="65001" language="VBScript" %> <% Option Explicit %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ck...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/asp/sample_posteddata.asp
Classic ASP
asf20
1,426
<%@ codepage="65001" language="VBScript" %> <% Option Explicit %> <!-- #INCLUDE file="../../ckeditor.asp" --> <% ' You must set "Enable Parent Paths" on your web site ' in order for the above relative include to work. ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp" %> <!DOCTYPE html PUBLIC ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/asp/replaceall.asp
Classic ASP
asf20
2,827
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/placeholder.html
HTML
asf20
3,125
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/adobeair/sample.html
HTML
asf20
1,940
@ECHO OFF :: :: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. :: For licensing, see LICENSE.html or http://ckeditor.com/license :: :: Use this file to quickly run the sample in a Windows environment. :: adl application.xml ../../
zy-sms
trunk/zy-sms/include/ckeditor/_samples/adobeair/run.bat
Batchfile
asf20
270
#!/usr/bin/env bash # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
zy-sms
trunk/zy-sms/include/ckeditor/_samples/adobeair/.svn/text-base/run.sh.svn-base
Shell
asf20
248
#!/usr/bin/env bash # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
zy-sms
trunk/zy-sms/include/ckeditor/_samples/adobeair/run.sh
Shell
asf20
248
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, de...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/sample.css
CSS
asf20
2,421
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/devtools.html
HTML
asf20
3,636
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/stylesheetparser.html
HTML
asf20
3,413
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/bbcode.html
HTML
asf20
4,930
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/replacebycode.html
HTML
asf20
3,719
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/fullpage.html
HTML
asf20
3,189
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/ui_color.html
HTML
asf20
4,720
<?php /* ------------------------------------------------------------------------------------------- CKEditor - Posted Data We are sorry, but your Web server does not support the PHP language used in this script. Please note that CKEditor can be used with any other server-side language than just PHP. ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/sample_posteddata.php
PHP
asf20
681
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ // This file is not required by CKEditor and may be safely ignored. // It is just a helper file that displays a red message about browser compatibility // at the top ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/sample.js
JavaScript
asf20
1,866
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/ajax.html
HTML
asf20
3,178
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/divreplace.html
HTML
asf20
5,152
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/tableresize.html
HTML
asf20
3,771
body { font-family: Arial, Verdana, sans-serif; font-size: 12px; color: #222; background-color: #fff; } /* preserved spaces for rtl list item bullets. (#6249)*/ ol,ul,dl { padding-right:40px; } h1,h2,h3,h4 { font-family: Georgia, Times, serif; } h1.lightBlue { color: #00A6C7; font-size:...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/assets/parsesample.css
CSS
asf20
876
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php /* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ ?> <html xmlns="http://www.w3.org/1999/x...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/assets/_posteddata.php
PHP
asf20
1,696
/* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license * * Styles used by the XHTML 1.1 sample page (xhtml.html). */ /** * Basic definitions for the editing area. */ body { font-family: Arial, Verdana, sans-s...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/assets/output_xhtml.css
CSS
asf20
2,145
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zy-sms
trunk/zy-sms/include/ckeditor/_samples/readonly.html
HTML
asf20
3,388
<?php /* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * \brief CKEditor class that can be used to create editor * instances in PHP pages on server side. * @see http://ckeditor.com * * Sample usage: ...
zy-sms
trunk/zy-sms/include/ckeditor/ckeditor_php5.php
PHP
asf20
15,333
<?php /* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * \brief CKEditor class that can be used to create editor * instances in PHP pages on server side. * @see http://ckeditor.com * * Sample usage: ...
zy-sms
trunk/zy-sms/include/ckeditor/ckeditor_php4.php
PHP
asf20
15,365
<?php /* * 公共类库,包含一些常用方法 * * Created on 2011-8-28 *====================================== *Author: Allen *Project:health360 *File: common_lib.php *Date: 2011-8-28 *====================================== * */ /** * 验证输入的邮件地址是否合法 * * @access public * @param string $email 需...
zy-sms
trunk/zy-sms/include/lib/common_lib.php
PHP
asf20
3,780
<?php $con = mysql_connect("localhost","root","123456"); if (!$con) { die('Could not connect: ' . mysql_error()); }else{ echo "数据库连接成功!"; } $conn= mysql_select_db("pacific-media",$con); if(!$conn){ die('Could not connect: ' . mysql_error()); }else{ echo "pacific-media连接成功!";...
zy-sms
trunk/test/test1.php
PHP
asf20
509
<?php $today =date('YmdHis');//当前日期 $time=date('YmdHis');//超越日期 echo $time."超越日期<br/>"; if($time >= $today){ echo "is true<br />"; }else{ echo "is false<br />"; } $day=date('Ym').date('d')+1; $times = date('His'); $todays = $day.$times; $i = 222232; $j = 222232 + 100; echo $j."<br />";...
zy-sms
trunk/test/test2.php
PHP
asf20
651
<?php //// multiple recipients //$to = 'arthurkingtoo@foxmail.com'; // note the comma // //// subject //$subject = 'Birthday Reminders for August'; // //// message //$message = ' //<html> //<head> // <title>Birthday Reminders for August</title> //</head> //<body> // <p>Here are the birthdays upcoming i...
zy-sms
trunk/test/SendMail.php
PHP
asf20
1,276
<?php $test ="this is a string"; echo $test; ?> <script type="text/javascript"> alert('<?php echo $test;?>'); </script>
zy-sms
trunk/test/test.php
PHP
asf20
137
package cn.nju.zyy.hello; import java.util.Iterator; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.persistence.HibernateUtil; public class HelloWorld { public static void main(String[] args) { // First unit of work Session session = Hibe...
zyy-hibernate-persistence-demo
trunk/src/cn/nju/zyy/hello/HelloWorld.java
Java
asf20
1,740
package cn.nju.zyy.hello; public class Message { // Identifier private Long id; // Message text private String text; // Reference to another Message instance private Message nextMessage; Message() {} public Message(String text) { this.text = text; } public Long getId() { return id...
zyy-hibernate-persistence-demo
trunk/src/cn/nju/zyy/hello/Message.java
Java
asf20
659
package cn.nju.zyy.persistence; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; public class HibernateUtil { private static final SessionFactory sessionFactory; static { try { sessionFactory = new Configuration() .configure() .buildSessionFactory(); ...
zyy-hibernate-persistence-demo
trunk/src/cn/nju/zyy/persistence/HibernateUtil.java
Java
asf20
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. // // The representation of a DBImpl consists of a set of Versions. The // newest version is called "cu...
zyf873753-zyf-leveldb
db/version_set.h
C++
bsd
13,971
// 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/db.h" #include <errno.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/type...
zyf873753-zyf-leveldb
db/corruption_test.cc
C++
bsd
10,107
// 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_DB_DB_ITER_H_ #define STORAGE_LEVELDB_DB_DB_ITER_H_ #include <stdint.h> #inclu...
zyf873753-zyf-leveldb
db/db_iter.h
C++
bsd
803
// 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 "db/log_writer.h" #include <stdint.h> #include "leveldb/env.h" #include "util/coding.h" #incl...
zyf873753-zyf-leveldb
db/log_writer.cc
C++
bsd
2,844
// 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_DB_VERSION_EDIT_H_ #define STORAGE_LEVELDB_DB_VERSION_EDIT_H_ #include <set> #...
zyf873753-zyf-leveldb
db/version_edit.h
C++
bsd
2,990
/* 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/c.h" #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string....
zyf873753-zyf-leveldb
db/c_test.c
C
bsd
11,634
// 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. // // We recover the contents of the descriptor from the other files we find. // (1) Any log files are f...
zyf873753-zyf-leveldb
db/repair.cc
C++
bsd
13,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 "db/filename.h" #include "db/dbformat.h" #include "port/port.h" #include "util/logging.h" #in...
zyf873753-zyf-leveldb
db/filename_test.cc
C++
bsd
3,423
// 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_DB_MEMTABLE_H_ #define STORAGE_LEVELDB_DB_MEMTABLE_H_ #include <string> #inclu...
zyf873753-zyf-leveldb
db/memtable.h
C++
bsd
2,737
// 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_DB_BUILDER_H_ #define STORAGE_LEVELDB_DB_BUILDER_H_ #include "leveldb/status.h...
zyf873753-zyf-leveldb
db/builder.h
C++
bsd
1,102
// 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 <ctype.h> #include <stdio.h> #include "db/filename.h" #include "db/dbformat.h" #include "level...
zyf873753-zyf-leveldb
db/filename.cc
C++
bsd
4,093
// 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_DB_FORMAT_H_ #define STORAGE_LEVELDB_DB_FORMAT_H_ #include <stdio.h> #include ...
zyf873753-zyf-leveldb
db/dbformat.h
C++
bsd
7,912
// 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::rep_ := // sequence: fixed64 // count: fixed32 // data: record[count] // reco...
zyf873753-zyf-leveldb
db/write_batch.cc
C++
bsd
4,022
// 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 "db/dbformat.h" #include "util/logging.h" #include "util/testharness.h" namespace leveldb { ...
zyf873753-zyf-leveldb
db/dbformat_test.cc
C++
bsd
3,803
// 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_DB_DB_IMPL_H_ #define STORAGE_LEVELDB_DB_DB_IMPL_H_ #include <deque> #include ...
zyf873753-zyf-leveldb
db/db_impl.h
C++
bsd
7,290
// 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. #include "leveldb/db.h" #include "db/db_impl.h" #include "leveldb/cache.h" #include "util/testharness.h...
zyf873753-zyf-leveldb
db/autocompact_test.cc
C++
bsd
3,373
// 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 "db/memtable.h" #include "db/dbformat.h" #include "leveldb/comparator.h" #include "leveldb/env...
zyf873753-zyf-leveldb
db/memtable.cc
C++
bsd
4,783
// 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. // // Thread-safe (provides internal synchronization) #ifndef STORAGE_LEVELDB_DB_TABLE_CACHE_H_ #define...
zyf873753-zyf-leveldb
db/table_cache.h
C++
bsd
2,017
// 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 "db/skiplist.h" #include <set> #include "leveldb/env.h" #include "util/arena.h" #include "util...
zyf873753-zyf-leveldb
db/skiplist_test.cc
C++
bsd
9,788
// 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/db.h" #include "leveldb/filter_policy.h" #include "db/db_impl.h" #include "db/filenam...
zyf873753-zyf-leveldb
db/db_test.cc
C++
bsd
62,455
// 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 "db/dbformat.h" #include "port/port.h" #include "util/coding.h" namespace ...
zyf873753-zyf-leveldb
db/dbformat.cc
C++
bsd
4,537
// 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 "db/version_edit.h" #include "util/testharness.h" namespace leveldb { static void TestEncode...
zyf873753-zyf-leveldb
db/version_edit_test.cc
C++
bsd
1,343
// 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 "db/log_reader.h" #include "db/log_writer.h" #include "leveldb/env.h" #include "util/coding.h"...
zyf873753-zyf-leveldb
db/log_test.cc
C++
bsd
13,907
// 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/c.h" #include <stdlib.h> #include <unistd.h> #include "leveldb/cache.h" #include "le...
zyf873753-zyf-leveldb
db/c.cc
C++
bsd
16,007
// 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 "db/version_edit.h" #include "db/version_set.h" #include "util/coding.h" namespace leveldb {...
zyf873753-zyf-leveldb
db/version_edit.cc
C++
bsd
6,946
// 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 <sys/types.h> #include <stdio.h> #include <stdlib.h> #include "db/db_impl.h" #include "db/vers...
zyf873753-zyf-leveldb
db/db_bench.cc
C++
bsd
29,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 "db/db_iter.h" #include "db/filename.h" #include "db/db_impl.h" #include "db/dbformat.h" #inc...
zyf873753-zyf-leveldb
db/db_iter.cc
C++
bsd
8,539
// 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 <stdio.h> #include "db/dbformat.h" #include "db/filename.h" #include "db/log_reader.h" #includ...
zyf873753-zyf-leveldb
db/leveldb_main.cc
C++
bsd
6,577
// 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 "db/version_set.h" #include <algorithm> #include <stdio.h> #include "db/filename.h" #include ...
zyf873753-zyf-leveldb
db/version_set.cc
C++
bsd
47,353
// 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_DB_SNAPSHOT_H_ #define STORAGE_LEVELDB_DB_SNAPSHOT_H_ #include "leveldb/db.h" ...
zyf873753-zyf-leveldb
db/snapshot.h
C++
bsd
1,666
// 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 "db/version_set.h" #include "util/logging.h" #include "util/testharness.h" #include "util/test...
zyf873753-zyf-leveldb
db/version_set_test.cc
C++
bsd
5,353
// 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_DB_LOG_READER_H_ #define STORAGE_LEVELDB_DB_LOG_READER_H_ #include <stdint.h> ...
zyf873753-zyf-leveldb
db/log_reader.h
C++
bsd
3,572
// 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 "db/table_cache.h" #include "db/filename.h" #include "leveldb/env.h" #include "leveldb/table....
zyf873753-zyf-leveldb
db/table_cache.cc
C++
bsd
3,653
// 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 "db/builder.h" #include "db/filename.h" #include "db/dbformat.h" #include "db/table_cache.h" ...
zyf873753-zyf-leveldb
db/builder.cc
C++
bsd
2,163
// 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. // // Log format information shared by reader and writer. // See ../doc/log_format.txt for more detail. ...
zyf873753-zyf-leveldb
db/log_format.h
C++
bsd
897
// 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 "db/log_reader.h" #include <stdio.h> #include "leveldb/env.h" #include "util/coding.h" #inclu...
zyf873753-zyf-leveldb
db/log_reader.cc
C++
bsd
8,441
// 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_DB_LOG_WRITER_H_ #define STORAGE_LEVELDB_DB_LOG_WRITER_H_ #include <stdint.h> ...
zyf873753-zyf-leveldb
db/log_writer.h
C++
bsd
1,287
// 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. // // File names used by DB code #ifndef STORAGE_LEVELDB_DB_FILENAME_H_ #define STORAGE_LEVELDB_DB_FILE...
zyf873753-zyf-leveldb
db/filename.h
C++
bsd
3,048
// 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. // // Thread safety // ------------- // // Writes require external synchronization, most likely a mutex....
zyf873753-zyf-leveldb
db/skiplist.h
C++
bsd
11,177
// 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/db.h" #include "db/memtable.h" #include "db/write_batch_internal.h" #include "leveld...
zyf873753-zyf-leveldb
db/write_batch_test.cc
C++
bsd
3,446
// 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 "db/db_impl.h" #include <algorithm> #include <set> #include <string> #include <stdint.h> #inc...
zyf873753-zyf-leveldb
db/db_impl.cc
C++
bsd
45,794
// 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_DB_WRITE_BATCH_INTERNAL_H_ #define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_ ...
zyf873753-zyf-leveldb
db/write_batch_internal.h
C++
bsd
1,508
// 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. #ifndef STORAGE_LEVELDB_PORT_THREAD_ANNOTATIONS_H // Some environments provide custom macros to aid in...
zyf873753-zyf-leveldb
port/thread_annotations.h
C
bsd
1,296
// 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 "port/port_posix.h" #include <cstdlib> #include <stdio.h> #include <string.h> #include "util/...
zyf873753-zyf-leveldb
port/port_posix.cc
C++
bsd
1,440
// 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_PORT_PORT_H_ #define STORAGE_LEVELDB_PORT_PORT_H_ #include <string.h> // Incl...
zyf873753-zyf-leveldb
port/port.h
C
bsd
697
// 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. // // See port_example.h for documentation for the following types/functions. #ifndef STORAGE_LEVELDB_P...
zyf873753-zyf-leveldb
port/port_posix.h
C++
bsd
4,159
// 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. // AtomicPointer provides storage for a lock-free pointer. // Platform-dependent implementation of Atom...
zyf873753-zyf-leveldb
port/atomic_pointer.h
C++
bsd
6,781
// 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. // MSVC didn't ship with this file until the 2010 version. #ifndef STORAGE_LEVELDB_PORT_WIN_STDINT_H_ ...
zyf873753-zyf-leveldb
port/win/stdint.h
C
bsd
855
// 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. // // This file contains the specification, but not the implementations, // of the types/operations/etc....
zyf873753-zyf-leveldb
port/port_example.h
C++
bsd
4,667
// 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 "helpers/memenv/memenv.h" #include "leveldb/env.h" #include "leveldb/status.h" #include "port...
zyf873753-zyf-leveldb
helpers/memenv/memenv.cc
C++
bsd
9,394
// 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_HELPERS_MEMENV_MEMENV_H_ #define STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_ name...
zyf873753-zyf-leveldb
helpers/memenv/memenv.h
C++
bsd
699
// 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 "helpers/memenv/memenv.h" #include "db/db_impl.h" #include "leveldb/db.h" #include "leveldb/e...
zyf873753-zyf-leveldb
helpers/memenv/memenv_test.cc
C++
bsd
6,868
# 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. #----------------------------------------------- # Uncomment exactly one of the lines labelled (A), (B), a...
zyf873753-zyf-leveldb
Makefile
Makefile
bsd
8,009
// 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 <string.h> #include "util/coding.h" #include "util/hash.h" // The FALLTHROUGH_INTENDED macro ...
zyf873753-zyf-leveldb
util/hash.cc
C++
bsd
1,293
// 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" namespace leveldb { void EncodeFixed32(char* buf, uint32_t value) { if (po...
zyf873753-zyf-leveldb
util/coding.cc
C++
bsd
4,927