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 |
|---|---|---|---|---|---|
package com.zp.bean.paper;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.bean.common.ResultCommonVo;
/**
* define paper question java bean for web services return which include PaperQuestionVo
*
*... | zzyyp | trunk/zp/src/com/zp/bean/paper/ResultPaperQuestionVo.java | Java | asf20 | 810 |
package com.zp.bean.paper;
import java.io.Serializable;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.Paper;
/**
* define java bean for paper question
*
* @author ch... | zzyyp | trunk/zp/src/com/zp/bean/paper/PaperQuestionVo.java | Java | asf20 | 852 |
package com.zp.bean.paper;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.AnswerItem;
import com.zp.domain.Type;
/**
* define java bean for question
*
* @author... | zzyyp | trunk/zp/src/com/zp/bean/paper/QuestionVo.java | Java | asf20 | 1,310 |
package com.zp.bean.paper;
import java.io.Serializable;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import com.zp.domain.AnswerItem;
/**
* define questions java bean which used in get all the questions with all items
* of it
*
* @author chenlijun08@gmail.com
*
* @version 1.0
*
... | zzyyp | trunk/zp/src/com/zp/bean/paper/QuestionsVo.java | Java | asf20 | 930 |
package com.zp.bean.paper;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.bean.common.ResultCommonVo;
/**
* define question java bean for web services return which include Ques... | zzyyp | trunk/zp/src/com/zp/bean/paper/ResultQuestionVo.java | Java | asf20 | 906 |
package com.zp.bean.paper;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.bean.common.ResultCommonVo;
/**
* define answer result java bean for web services return which include... | zzyyp | trunk/zp/src/com/zp/bean/paper/ResultAnswerResultVo.java | Java | asf20 | 947 |
package com.zp.bean.paper;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.Question;
/**
* define java bean of AnswerItem
*
* @author chenlijun08@gmail.com
*
... | zzyyp | trunk/zp/src/com/zp/bean/paper/AnswerItemVo.java | Java | asf20 | 1,078 |
package com.zp.bean.paper;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.AnswerItem;
import com.zp.domain.Question;
/**
* define java bean for answer result
*
... | zzyyp | trunk/zp/src/com/zp/bean/paper/AnswerResultVo.java | Java | asf20 | 1,126 |
package com.zp.bean.paper;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.bean.common.ResultCommonVo;
/**
* define answer item java bean for web services return which include
... | zzyyp | trunk/zp/src/com/zp/bean/paper/ResultAnswerItemVo.java | Java | asf20 | 927 |
package com.zp.bean.common;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
/**
* define OperationLog java bean for web services return which include
* OperationLogVo object or collection of ... | zzyyp | trunk/zp/src/com/zp/bean/common/ResultOperationLogVo.java | Java | asf20 | 932 |
package com.zp.bean.common;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.Type;
/**
* define Type java bean for web services return which include Type object or
* coll... | zzyyp | trunk/zp/src/com/zp/bean/common/ResultTypeVo.java | Java | asf20 | 871 |
package com.zp.bean.common;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
/**
* define basic content information java bean for web services return which include
* collection of ContentBaseV... | zzyyp | trunk/zp/src/com/zp/bean/common/ResultContentBaseVo.java | Java | asf20 | 756 |
package com.zp.bean.common;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
/**
* define common java bean for web services return which include code and
* message
*
* @author chenlij... | zzyyp | trunk/zp/src/com/zp/bean/common/ResultCommonVo.java | Java | asf20 | 1,087 |
package com.zp.bean.common;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.ModuleType;
/**
* define module type java bean for web services return which include ModuleType... | zzyyp | trunk/zp/src/com/zp/bean/common/ResultModuleTypeVo.java | Java | asf20 | 937 |
package com.zp.bean.common;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.ContentType;
/**
* define content type java bean for web services return which include Type ob... | zzyyp | trunk/zp/src/com/zp/bean/common/ResultContentTypeVo.java | Java | asf20 | 942 |
package com.zp.bean.common;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
/**
* define Content java bean for web services return which include ContentVo or
* collection of ContentVo
*
* ... | zzyyp | trunk/zp/src/com/zp/bean/common/ResultContentVo.java | Java | asf20 | 890 |
package com.zp.bean.common;
import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.ContentType;
/**
* define java bean for content information
*
* @author chenlijun08@gmail.co... | zzyyp | trunk/zp/src/com/zp/bean/common/ContentVo.java | Java | asf20 | 2,109 |
package com.zp.bean.common;
import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.Type;
import com.zp.domain.User;
/**
* define java bean for opera... | zzyyp | trunk/zp/src/com/zp/bean/common/OperationLogVo.java | Java | asf20 | 979 |
package com.zp.bean.common;
import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
/**
* define java bean for base content, include primary key,title,update time and top
... | zzyyp | trunk/zp/src/com/zp/bean/common/ContentBaseVo.java | Java | asf20 | 1,568 |
package com.zp.bean.order;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.bean.common.ResultCommonVo;
/**
* define schedule type java bean for web services return which include... | zzyyp | trunk/zp/src/com/zp/bean/order/ResultScheduleTypeVo.java | Java | asf20 | 943 |
package com.zp.bean.order;
import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.Type;
/**
* define java bean for schedule type
*
* @author chen... | zzyyp | trunk/zp/src/com/zp/bean/order/ScheduleTypeVo.java | Java | asf20 | 1,398 |
package com.zp.bean.order;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.bean.common.ResultCommonVo;
/**
* define schedule java bean for web services return which include Sche... | zzyyp | trunk/zp/src/com/zp/bean/order/ResultScheduleVo.java | Java | asf20 | 948 |
package com.zp.bean.order;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.bean.common.ResultCommonVo;
/**
* define schedule group java bean for web services return which includ... | zzyyp | trunk/zp/src/com/zp/bean/order/ResultScheduleGroupVo.java | Java | asf20 | 957 |
package com.zp.bean.order;
import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.ScheduleType;
import com.zp.domain.User;
/**
* define java bean fo... | zzyyp | trunk/zp/src/com/zp/bean/order/ScheduleVo.java | Java | asf20 | 1,278 |
package com.zp.bean.order;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.zp.domain.Type;
import com.zp.domain.User;
/**
* define java bean for schedule group
*
* @author... | zzyyp | trunk/zp/src/com/zp/bean/order/ScheduleGroupVo.java | Java | asf20 | 919 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/Subscribe.java | Java | asf20 | 1,813 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/Service.java | Java | asf20 | 2,275 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/AnswerResult.java | Java | asf20 | 2,254 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/Paper.java | Java | asf20 | 1,294 |
package com.zp.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
i... | zzyyp | trunk/zp/src/com/zp/domain/LoginInfo.java | Java | asf20 | 2,571 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/Organization.java | Java | asf20 | 3,169 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/Question.java | Java | asf20 | 2,102 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import or... | zzyyp | trunk/zp/src/com/zp/domain/RolePermission.java | Java | asf20 | 2,137 |
package com.zp.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
i... | zzyyp | trunk/zp/src/com/zp/domain/Content.java | Java | asf20 | 4,306 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/Type.java | Java | asf20 | 1,691 |
package com.zp.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.xml.bind.annotation.XmlRootEl... | zzyyp | trunk/zp/src/com/zp/domain/User.java | Java | asf20 | 3,071 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/ContentType.java | Java | asf20 | 1,714 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import ... | zzyyp | trunk/zp/src/com/zp/domain/AnswerItem.java | Java | asf20 | 1,826 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/ScheduleGroup.java | Java | asf20 | 1,585 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/PaperQuestion.java | Java | asf20 | 1,796 |
package com.zp.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
i... | zzyyp | trunk/zp/src/com/zp/domain/OperationLog.java | Java | asf20 | 1,922 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import or... | zzyyp | trunk/zp/src/com/zp/domain/UserRole.java | Java | asf20 | 1,751 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/PersonOrganization.java | Java | asf20 | 1,516 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import or... | zzyyp | trunk/zp/src/com/zp/domain/Permission.java | Java | asf20 | 2,428 |
package com.zp.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
i... | zzyyp | trunk/zp/src/com/zp/domain/ScheduleType.java | Java | asf20 | 2,327 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import or... | zzyyp | trunk/zp/src/com/zp/domain/Role.java | Java | asf20 | 1,721 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/ModuleOrganization.java | Java | asf20 | 1,569 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/Activity.java | Java | asf20 | 1,625 |
package com.zp.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
i... | zzyyp | trunk/zp/src/com/zp/domain/Schedule.java | Java | asf20 | 2,370 |
package com.zp.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.annotations.Cache;
import o... | zzyyp | trunk/zp/src/com/zp/domain/ModuleType.java | Java | asf20 | 1,711 |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title her... | zzyyp | trunk/zp/WebContent/index.jsp | Java Server Pages | asf20 | 378 |
/* Javadoc style sheet */
/*
Overall document style
*/
body {
background-color:#ffffff;
color:#353833;
font-family:Arial, Helvetica, sans-serif;
font-size:76%;
margin:0;
}
a:link, a:visited {
text-decoration:none;
color:#4c6b87;
}
a:hover, a:focus {
text-decoration:none;
... | zzyyp | trunk/zp/WebContent/doc/stylesheet.css | CSS | asf20 | 11,613 |
// 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... | zzxiaogx-leveldb | db/version_set.h | C++ | bsd | 12,103 |
// 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... | zzxiaogx-leveldb | db/corruption_test.cc | C++ | bsd | 9,746 |
// 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... | zzxiaogx-leveldb | db/db_iter.h | C++ | bsd | 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.
#include "db/log_writer.h"
#include <stdint.h>
#include "leveldb/env.h"
#include "util/coding.h"
#incl... | zzxiaogx-leveldb | db/log_writer.cc | C++ | bsd | 2,804 |
// 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>
#... | zzxiaogx-leveldb | db/version_edit.h | C++ | bsd | 2,968 |
/* 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.... | zzxiaogx-leveldb | db/c_test.c | C | bsd | 8,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.
//
// We recover the contents of the descriptor from the other files we find.
// (1) Any log files are f... | zzxiaogx-leveldb | db/repair.cc | C++ | bsd | 11,746 |
// 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... | zzxiaogx-leveldb | db/filename_test.cc | C++ | bsd | 3,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_MEMTABLE_H_
#define STORAGE_LEVELDB_DB_MEMTABLE_H_
#include <string>
#inclu... | zzxiaogx-leveldb | db/memtable.h | C++ | bsd | 2,715 |
// 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... | zzxiaogx-leveldb | db/builder.h | C++ | bsd | 1,080 |
// 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... | zzxiaogx-leveldb | db/filename.cc | C++ | bsd | 3,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.
#ifndef STORAGE_LEVELDB_DB_FORMAT_H_
#define STORAGE_LEVELDB_DB_FORMAT_H_
#include <stdio.h>
#include ... | zzxiaogx-leveldb | db/dbformat.h | C++ | bsd | 7,225 |
// 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... | zzxiaogx-leveldb | db/write_batch.cc | C++ | bsd | 3,618 |
// 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 {
... | zzxiaogx-leveldb | db/dbformat_test.cc | C++ | bsd | 3,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.
#ifndef STORAGE_LEVELDB_DB_DB_IMPL_H_
#define STORAGE_LEVELDB_DB_DB_IMPL_H_
#include <set>
#include "d... | zzxiaogx-leveldb | db/db_impl.h | C++ | bsd | 6,352 |
// 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... | zzxiaogx-leveldb | db/memtable.cc | C++ | bsd | 4,761 |
// 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... | zzxiaogx-leveldb | db/table_cache.h | C++ | bsd | 1,554 |
// 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... | zzxiaogx-leveldb | db/skiplist_test.cc | C++ | bsd | 9,766 |
// 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/db_impl.h"
#include "db/filename.h"
#include "db/version_set.h"
#i... | zzxiaogx-leveldb | db/db_test.cc | C++ | bsd | 42,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.
#include <stdio.h>
#include "db/dbformat.h"
#include "port/port.h"
#include "util/coding.h"
namespace ... | zzxiaogx-leveldb | db/dbformat.cc | C++ | bsd | 3,434 |
// 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... | zzxiaogx-leveldb | db/version_edit_test.cc | C++ | bsd | 1,321 |
// 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"... | zzxiaogx-leveldb | db/log_test.cc | C++ | bsd | 13,038 |
// 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... | zzxiaogx-leveldb | db/c.cc | C++ | bsd | 12,316 |
// 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 {... | zzxiaogx-leveldb | db/version_edit.cc | C++ | bsd | 7,002 |
// 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... | zzxiaogx-leveldb | db/db_bench.cc | C++ | bsd | 26,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.
#include "db/db_iter.h"
#include "db/filename.h"
#include "db/dbformat.h"
#include "leveldb/env.h"
#in... | zzxiaogx-leveldb | db/db_iter.cc | C++ | bsd | 8,069 |
// 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 ... | zzxiaogx-leveldb | db/version_set.cc | C++ | bsd | 40,489 |
// 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"
... | zzxiaogx-leveldb | db/snapshot.h | C++ | bsd | 1,644 |
// 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... | zzxiaogx-leveldb | db/version_set_test.cc | C++ | bsd | 3,464 |
// 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>
... | zzxiaogx-leveldb | db/log_reader.h | C++ | bsd | 3,532 |
// 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.... | zzxiaogx-leveldb | db/table_cache.cc | C++ | bsd | 2,612 |
// 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"
... | zzxiaogx-leveldb | db/builder.cc | C++ | bsd | 2,141 |
// 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.
... | zzxiaogx-leveldb | db/log_format.h | C++ | bsd | 857 |
// 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... | zzxiaogx-leveldb | db/log_reader.cc | C++ | bsd | 7,941 |
// 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>
... | zzxiaogx-leveldb | db/log_writer.h | C++ | bsd | 1,247 |
// 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... | zzxiaogx-leveldb | db/filename.h | C++ | bsd | 2,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.
//
// Thread safety
// -------------
//
// Writes require external synchronization, most likely a mutex.... | zzxiaogx-leveldb | db/skiplist.h | C++ | bsd | 11,128 |
// 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... | zzxiaogx-leveldb | db/write_batch_test.cc | C++ | bsd | 2,546 |
// 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... | zzxiaogx-leveldb | db/db_impl.cc | C++ | bsd | 40,478 |
// 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_
... | zzxiaogx-leveldb | db/write_batch_internal.h | C++ | bsd | 1,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.
//
// See port_example.h for documentation for the following types/functions.
#ifndef STORAGE_LEVELDB_P... | zzxiaogx-leveldb | port/port_android.h | C++ | bsd | 3,623 |
// 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/... | zzxiaogx-leveldb | port/port_posix.cc | C++ | bsd | 1,285 |
// 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... | zzxiaogx-leveldb | port/port.h | C | bsd | 770 |
// 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... | zzxiaogx-leveldb | port/port_posix.h | C++ | bsd | 2,630 |
// 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... | zzxiaogx-leveldb | port/atomic_pointer.h | C++ | bsd | 4,383 |
// 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_
... | zzxiaogx-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.... | zzxiaogx-leveldb | port/port_example.h | C++ | bsd | 4,268 |
// 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_android.h"
#include <cstdlib>
extern "C" {
size_t fread_unlocked(void *a, size_t ... | zzxiaogx-leveldb | port/port_android.cc | C++ | bsd | 1,529 |