code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
#!/bin/sh
echo "Content-Type: text/plain"
echo
echo "This is shell script CGI."
| zyh3290-xuexi | test/sh.cgi | Shell | mit | 82 |
/*
* Copyright (c) 2004-2009 Sergey Lyubka
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | zyh3290-xuexi | test/embed.c | C | mit | 5,883 |
#!/usr/bin/env perl
# This script is used to test Mongoose web server
# $Id: test.pl 516 2010-05-03 12:54:37Z valenok $
use IO::Socket;
use File::Path;
use strict;
use warnings;
#use diagnostics;
sub on_windows { $^O =~ /win32/i; }
my $port = 23456;
my $pid = undef;
my $num_requests;
my $root = 'test';
my $dir_separ... | zyh3290-xuexi | test/test.pl | Perl | mit | 16,298 |
/*
* Copyright (c) 2004-2009 Sergey Lyubka
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | zyh3290-xuexi | main.c | C | mit | 6,209 |
/*
* This file is an example of how to embed web-server functionality
* into existing application.
* Compilation line (from Mongoose sources root directory):
* cc mongoose.c examples/example.c -I. -lpthread -o example
*/
#ifdef _WIN32
#include <winsock.h>
#define snprintf _snprintf
#ifndef _WIN32_WCE
#ifdef _M... | zyh3290-xuexi | examples/example.c | C | mit | 8,921 |
/*
* This file is part of the Mongoose project, http://code.google.com/p/mongoose
* It implements an online chat server. For more details,
* see the documentation on the project web site.
* To test the application,
* 1. type "make" in the directory where this file lives
* 2. point your browser to http://127.0.0... | zyh3290-xuexi | examples/chat.c | C | mit | 13,007 |
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <stdio.h>
#include "mongoose.h"
/*
* Cookie based authentication
* taken from http://en.wikipedia.org/wiki/HTTP_cookie#Authentication
*
* 1. The user inserts his or her username and password in the text fields
* of a login page and sends them t... | zyh3290-xuexi | examples/authentication.c | C | mit | 3,510 |
PROG= chat
CFLAGS= -W -Wall -I.. -pthread -g
all:
OS=`uname`; \
test "$$OS" = Linux && LIBS="-ldl" ; \
$(CC) $(CFLAGS) chat.c ../mongoose.c $$LIBS $(ADD) -o $(PROG)
./$(PROG)
| zyh3290-xuexi | examples/Makefile | Makefile | mit | 186 |
// This file is part of Mongoose project, http://code.google.com/p/mongoose
var chat = {
// Backend URL, string.
// 'http://backend.address.com' or '' if backend is the same as frontend
backendUrl: '',
maxVisibleMessages: 10,
errorMessageFadeOutTimeoutMs: 2000,
errorMessageFadeOutTimer: null,
lastMessage... | zyh3290-xuexi | examples/html/main.js | JavaScript | mit | 2,980 |
/*
* vim:ts=2:sw=2:et:ai
*/
body {
font: 13px Arial; margin: 0.5em 1em;
}
#logo {
background: url('logo.png') no-repeat ;
width: 160px;
height: 40px;
float: left;
}
td {
text-align: left;
}
#motd {
margin-left: 170px;
}
.infobox {
background: #eed;
padding: 1px 1em;
}
.help-message {
color: ... | zyh3290-xuexi | examples/html/style.css | CSS | mit | 1,879 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr">
<!-- This file is part of the Mongoose project,
http://code.google.com/p/mongoose -->
<head>
<title>Mongoose chat: lo... | zyh3290-xuexi | examples/html/login.html | HTML | mit | 1,597 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr">
<!-- This file is part of the Mongoose project,
http://code.google.com/p/mongoose -->
<head>
<title>Mongoose chat ser... | zyh3290-xuexi | examples/html/index.html | HTML | mit | 2,386 |
# This file is part of Mongoose project, http://code.google.com/p/mongoose
# $Id: Makefile 473 2009-09-02 11:20:06Z valenok $
PROG= mongoose
all:
@echo "make (linux|bsd|solaris|mac|windows|mingw)"
# Possible COPT values: (in brackets are rough numbers for 'gcc -O2' on i386)
# -DHAVE_MD5 - use system md5 library (-... | zyh3290-xuexi | Makefile | Makefile | mit | 3,670 |
.\" Process this file with
.\" groff -man -Tascii mongoose.1
.\" $Id: mongoose.1,v 1.12 2008/11/29 15:32:42 drozd Exp $
.Dd Dec 1, 2008
.Dt mongoose 1
.Sh NAME
.Nm mongoose
.Nd lightweight web server
.Sh SYNOPSIS
.Nm
.Op Ar options
.Op Ar config_file
.Nm
.Fl A Ar htpasswd_file domain_name user_name password
.Sh DESCRIP... | zyh3290-xuexi | mongoose.1 | Roff Manpage | mit | 7,229 |
!define VERSION "2.9"
!define MENUDIR "Mongoose web server"
!define SVC "Mongoose ${VERSION}"
OutFile mongoose-${VERSION}.install.exe
Name "Mongoose ${VERSION}"
InstallDir C:\mongoose-${VERSION}
Page components
Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles
Section "Mongoos... | zyh3290-xuexi | win32/installer.nsi | NSIS | mit | 2,194 |
/*
* Copyright (c) 2004-2009 Sergey Lyubka
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | zyh3290-xuexi | mongoose.h | C | mit | 8,804 |
/*
* Copyright (c) 2004-2009 Sergey Lyubka
* Portions Copyright (c) 2009 Gilbert Wellisch
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without ... | zyh3290-xuexi | mongoose.c | C | mit | 126,781 |
<%@page import="com.bstek.dorado.core.Configure"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!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; cha... | zyiot-oa-workflow | trunk/uflo-server/web/index.jsp | Java Server Pages | bsd | 1,046 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8">
#outputPageHeader()
</head>
<body scroll="no" style="margin:0px; overflow:hidden">
<label id="doradoView" style="display:none" />
#outputPage... | zyiot-oa-workflow | trunk/uflo-server/web/WEB-INF/dorado-home/w3c-html4-template.html | HTML | bsd | 366 |
/**
* \mainpage
* High Resolution 256x192 Colour Graphics Library for ZX Spectrum
* ---------------------------------------------------------------
*
* \section intro_sec Introduction
* C library providing assembly functions for plotting pixels to the ZX spectrum screen
* and attribute changing (paper, ink) ... | zxhigfx | zxhigfx.h | C | asf20 | 9,622 |
/*
away3dTool
@author zyl910
[2011-09-23]
freeObject3D
freeObject3DSafe
clearObjectContainer3D
clearObjectContainer3DSafe
[2011-09-26]
cloneMouseEvent3D
newParser
[2011-09-27]
newParser: 修复加载obj的bug
newRenderer
[2011-09-28]
materialLibrarySetValue
[2011-9-29]
freeObject3D: 不再调用removeChild
... | zyllibas | trunk/zyllibas.away3d/zyllibas/away3d/away3dTool.as | ActionScript | asf20 | 4,928 |
/*
ParamObjTool
@author zyl910
[2011-10-20]
定义
[2011-10-21]
free
clearObject3D
clearObjectContainer3D
*/
package zyllibas.away3d
{
import zyllibas.zyladv;
import zyllibas.IDisposable;
import zyllibas.DisposeTool;
import away3d.core.base.*;
import away3d.containers.*;
use namespace... | zyllibas | trunk/zyllibas.away3d/zyllibas/away3d/away3dDisposeTool.as | ActionScript | asf20 | 2,257 |
/*
DisposeBase
@author zyl910
[2011-09-30]
定义
[2011-10-02]
废除disposing参数
增加isThoro参数
*/
package zyllibas
{
/**
* DisposeDerived类是一个派生类,用于演示标准的资源释放(Dispose)处理模式。
* @author zyl910
*/
public class DisposeDerived extends DisposeBase
{
private var _myObj:Object; // 内部资源(管理生存)
public ... | zyllibas | trunk/zyllibas/zyllibas/DisposeDerived.as | ActionScript | asf20 | 1,280 |
/*
DisposeBase
@author zyl910
[2011-09-30]
定义
[2011-10-02]
废除disposing参数
增加isThoro参数
*/
package zyllibas
{
/**
* DisposeBase类是一个基类,用于演示标准的资源释放(Dispose)处理模式。
* @author zyl910
*/
public class DisposeBase implements IDisposable
{
public function DisposeBase()
{
}
/**
... | zyllibas | trunk/zyllibas/zyllibas/DisposeBase.as | ActionScript | asf20 | 1,184 |
/*
IPCloneable
@author zyl910
IPCloneable 是一个接口,用于统一 支持可选参数的对象复制 的操作。
备注:为了避免与其他类库的“ICloneable”冲突。
[2011-10-12]
定义
[2011-10-20]
pclone增加objAllocated参数。
*/
package zyllibas
{
/**
* IPCloneable 是一个接口,用于统一 支持可选参数的对象复制 的操作。
* @author zyl910
*/
public interface IPCloneable
{
/**
... | zyllibas | trunk/zyllibas/zyllibas/IPCloneable.as | ActionScript | asf20 | 994 |
/*
IDisposable
@author zyl910
参考了《Effective C#: 50 Specific Ways to Improve Your C#》(Effective C#中文版:改善C#程序的50种方法)的“条款18:实现标准dispose模式”
[2011-09-29]
定义
[2011-10-02]
增加isThoro参数
[2011-10-12]
文档一致性。
*/
package zyllibas
{
/**
* IDisposable 是一个接口,用于统一 释放外部资源 的操作。
* @author zyl910
*/
p... | zyllibas | trunk/zyllibas/zyllibas/IDisposable.as | ActionScript | asf20 | 673 |
/*
DisposeTool
@author zyl910
[2011-09-29]
定义至clearSWFLoader
[2011-10-02]
增加isThoro参数
freeXML
clearXML
clearXMLList
clearLoader
重构,clearDynamic
发现在for中delete会导致迭代提前退出,改造clearDynamic。
貌似局部变量的释放很快。按下事件处理一结束,就自动释放干净了
[2011-10-10]
参考ObjectUtil.isSimple实现了isSimple函数。
free函数考虑isSimple。
*/
pack... | zyllibas | trunk/zyllibas/zyllibas/DisposeTool.as | ActionScript | asf20 | 16,841 |
/*
ParamObjTool
@author zyl910
[2011-10-20]
定义
[2011-10-21]
getString
getBool
getInt
getNumber
*/
package zyllibas
{
/**
* ParamObjTool 是一个静态类,用于辅助处理Object参数。
* @author zyl910
*/
public final class ParamObjTool
{
/**
* 取得逻辑值参数。
* @return 返回逻辑值。
* @param params 参数对象。从该... | zyllibas | trunk/zyllibas/zyllibas/ParamObjTool.as | ActionScript | asf20 | 2,694 |
/*
memTool
@author zyl910
[2011-09-23] memTool
clearDisplayObjectContainer
clearDisplayObjectContainerSafe
[2011-09-26] displayTool
*/
package zyllibas
{
import flash.display.*;
//import flash.ui.*;
import mx.core.UIComponent;
/**
* 显示对象(DisplayObject) 的辅助类。以静态方法的形式提供服务。
* @auth... | zyllibas | trunk/zyllibas/zyllibas/displayTool.as | ActionScript | asf20 | 3,029 |
/*
FormatMx
@author zyl910
[2011-09-29]
定义
fmtThousand
fmtThousandIntUp
strThousand
strThousandIntUp
strBytes
strBytesB
*/
package zyllibas
{
import mx.formatters.*;
/**
* FormatMx 类是一个静态类,其功用是为处理 格式化字符串 提供便利。它基于mx.formatters。
* @author zyl910
*/
public final class FormatMx
{... | zyllibas | trunk/zyllibas/zyllibas/FormatMx.as | ActionScript | asf20 | 5,518 |
/*
ParamXmlTool
@author zyl910
[2011-10-20]
定义
*/
package zyllibas
{
/**
* ParamXmlTool 是一个静态类,用于辅助处理XML参数。
* @author zyl910
*/
public final class ParamXmlTool
{
}
} | zyllibas | trunk/zyllibas/zyllibas/ParamXmlTool.as | ActionScript | asf20 | 236 |
/*
zyladv
@author zyl910
[2011-09-29]
定义
*/
package zyllibas
{
/**
* 高级函数的名称空间,不建议普通用户使用。
* @author zyl910
*/
public namespace zyladv;
}
| zyllibas | trunk/zyllibas/zyllibas/zyladv.as | ActionScript | asf20 | 211 |
/*
CameraViewMode
@author zyl910
[2011-10-09]
定义
[2011-10-10]
文档一致性。
[2011-10-11]
文档一致性。
[2011-10-12]
移至zyllibas.g3d(Graphics 3D)包中。
*/
package zyllibas.g3d
{
/**
* CameraViewMode 是一个静态类,用于处理 镜头观察模式 枚举。
* <p>镜头观察模式:用键盘、鼠标控制镜头观察世界的几种标准模式。</p>
* @author zyl910
*/
public final cl... | zyllibas | trunk/zyllibas/zyllibas/g3d/CameraViewMode.as | ActionScript | asf20 | 1,312 |
/*
floatTool
@author zyl910
[2011-09-23]
DefaultEpsilon
isEqual
[2011-10-11]
改进注释。
*/
package zyllibas
{
/**
* floatTool是一个静态类,用于辅助浮点运算。
* @author zyl910
*/
public final class floatTool
{
/**
* 默认浮点误差
*/
public static const DefaultEpsilon:Number = 0.000001;
/**
... | zyllibas | trunk/zyllibas/zyllibas/floatTool.as | ActionScript | asf20 | 783 |
/*
sparkTool
@author zyl910
[2011-09-27]
dropDownHeight_Set
[2011-09-28]
dropDownSelectedText
*/
package zyllibas
{
import flash.display.*;
import mx.utils.*;
import spark.components.*;
import spark.components.supportClasses.*;
//import flashx.textLayout.elements.*;
/**
*... | zyllibas | trunk/zyllibas/zyllibas/sparkTool.as | ActionScript | asf20 | 3,198 |
/* Reset */
body,img,p,h1,h2,h3,h4,h5,h6,ul,ol {
margin: 0px;
padding: 0px;
list-style: none;
border: none;
color: #5b5b5b;
}
p {
text-align: center;
}
.someRoom{
color: #fff;
}
.customLink {
cursor: pointer;
color: #8fb209;
font-weight: bold;
}
a:link,a:hover,a:visited,a:active {
col... | zwendelaar | war/Zwendelaar.css | CSS | epl | 8,984 |
<html>
<head><script>
var $wnd = parent;
var $doc = $wnd.document;
var $moduleName, $moduleBase, $entry
,$stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null
,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;
// Lightweight metrics
if ($stats) {
var moduleFuncNam... | zwendelaar | war/zwendelaar/hosted.html | HTML | epl | 11,478 |
/**
* The file contains styles for GWT widgets in the Clean theme, in RTL mode.
*
* In order to maintain cross-browser compatibility, the following syntax is
* used to create IE6 specific style rules:
* .gwt-Widget {
* property: rule applies to all browsers
* -property: rule applies only to IE6 (ove... | zwendelaar | war/zwendelaar/gwt/clean/clean_rtl.css | CSS | epl | 29,335 |
/**
* The file contains styles for GWT widgets in the Clean theme.
*
* In order to maintain cross-browser compatibility, the following syntax is
* used to create IE6 specific style rules:
* .gwt-Widget {
* property: rule applies to all browsers
* -property: rule applies only to IE6 (overrides previo... | zwendelaar | war/zwendelaar/gwt/clean/clean.css | CSS | epl | 29,306 |
/**
* The file contains styles for GWT widgets in the standard theme, in RTL mode.
*
* In order to maintain cross-browser compatibility, the following syntax is
* used to create IE6 specific style rules:
* .gwt-Widget {
* property: rule applies to all browsers
* -property: rule applies only to IE6 (... | zwendelaar | war/zwendelaar/gwt/standard/standard_rtl.css | CSS | epl | 26,980 |
/**
* The file contains styles for GWT widgets in the standard theme.
*
* In order to maintain cross-browser compatibility, the following syntax is
* used to create IE6 specific style rules:
* .gwt-Widget {
* property: rule applies to all browsers
* -property: rule applies only to IE6 (overrides pre... | zwendelaar | war/zwendelaar/gwt/standard/standard.css | CSS | epl | 26,953 |
<!doctype html>
<!-- The DOCTYPE declaration above will set the -->
<!-- browser's rendering engine into -->
<!-- "Standards Mode". Replacing this declaration -->
<!-- with a "Quirks Mode" doctype may lead to some -->
<!-- differences in layout. -->
<html>
<head>
... | zwendelaar | war/Zwendelaar.html | HTML | epl | 2,936 |
package zwendelaar.client;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.ui.NotificationManager;
import zwendelaar.client.ui.UserInfo;
import com.google.gwt.user.client.History;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.SuggestBox;
import com.googl... | zwendelaar | src/zwendelaar/client/FieldVerifier.java | Java | epl | 3,707 |
package zwendelaar.client;
import java.util.ArrayList;
import java.util.Date;
import zwendelaar.client.domain.Bod;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.domain.Product;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* The... | zwendelaar | src/zwendelaar/client/ZwendelaarServiceAsync.java | Java | epl | 2,531 |
package zwendelaar.client;
import java.util.ArrayList;
import java.util.Date;
import zwendelaar.client.domain.Bod;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.domain.Product;
import zwendelaar.client.domain.Veiling;
import zwendelaar.client.ui.Veilingen;
import com.google.gwt.core.... | zwendelaar | src/zwendelaar/client/Zwendelaar.java | Java | epl | 6,341 |
package zwendelaar.client;
import zwendelaar.client.ui.Bieden;
import zwendelaar.client.ui.Blokkeren;
import zwendelaar.client.ui.Statistiek;
import zwendelaar.client.ui.Statistieken;
import zwendelaar.client.ui.UserInfo;
import zwendelaar.client.ui.Inloggen;
import zwendelaar.client.ui.NotificationManager;
i... | zwendelaar | src/zwendelaar/client/HistoryListener.java | Java | epl | 4,810 |
package zwendelaar.client.domain;
import com.google.gwt.user.client.rpc.IsSerializable;
public class Product implements IsSerializable{
private int id;
private String naam;
private String status;
private String omschrijving;
private String merk;
private String categorie;
private boolean geblokkee... | zwendelaar | src/zwendelaar/client/domain/Product.java | Java | epl | 956 |
package zwendelaar.client.domain;
import zwendelaar.client.Zwendelaar;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.IsSerializable;
public class Gebruiker implements IsSerializable {
private boolean admin = false;
private String voorNaam;
private String ac... | zwendelaar | src/zwendelaar/client/domain/Gebruiker.java | Java | epl | 2,432 |
package zwendelaar.client.domain;
import java.util.ArrayList;
import java.util.HashMap;
import com.google.gwt.user.client.rpc.IsSerializable;
public class Veiling implements IsSerializable {
public int ID;
public int minCredits;
public String sluitDatum;
public String beginDatum;
public ArrayList... | zwendelaar | src/zwendelaar/client/domain/Veiling.java | Java | epl | 2,079 |
package zwendelaar.client.domain;
import com.google.gwt.user.client.rpc.IsSerializable;
public class Bod implements IsSerializable{
public int veilingid;
public int credits;
public String datum;
private String email;
public Bod() { }
public Bod(int veilingid, int credit, String date, String e... | zwendelaar | src/zwendelaar/client/domain/Bod.java | Java | epl | 599 |
package zwendelaar.client;
import java.util.ArrayList;
import java.util.Date;
import zwendelaar.client.domain.Bod;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.domain.Product;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.user.client.rpc.RemoteService;
import com.go... | zwendelaar | src/zwendelaar/client/ZwendelaarService.java | Java | epl | 1,929 |
package zwendelaar.client.ui;
import java.util.Date;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Bod;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.domain.Product;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.event.dom.client.ClickEvent;
imp... | zwendelaar | src/zwendelaar/client/ui/Bieden.java | Java | epl | 5,690 |
package zwendelaar.client.ui;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.ui.NotificationMole;
import com.google.gwt.user.client.ui.RootPanel;
public class NotificationManager extends NotificationMole {
private static NotificationManager nm;
private NotificationManager() {
super... | zwendelaar | src/zwendelaar/client/ui/NotificationManager.java | Java | epl | 944 |
package zwendelaar.client.ui;
import java.text.DecimalFormat;
import java.util.ArrayList;
import zwendelaar.client.FieldVerifier;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.core.client.GWT;
import com.googl... | zwendelaar | src/zwendelaar/client/ui/Profiel.java | Java | epl | 14,906 |
package zwendelaar.client.ui;
import zwendelaar.client.FieldVerifier;
import zwendelaar.client.Zwendelaar;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyPressEve... | zwendelaar | src/zwendelaar/client/ui/Inloggen.java | Java | epl | 2,847 |
package zwendelaar.client.ui;
import java.util.ArrayList;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.domain.Product;
import zwendelaar.client.domain.Veiling;
import zwendelaar.server.Database;
import com.google.gwt.core.client.GWT;
import com.g... | zwendelaar | src/zwendelaar/client/ui/Blokkeren.java | Java | epl | 10,318 |
package zwendelaar.client.ui;
import java.util.ArrayList;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Product;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.even... | zwendelaar | src/zwendelaar/client/ui/Zoeken.java | Java | epl | 14,328 |
package zwendelaar.client.ui;
import zwendelaar.client.FieldVerifier;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyPressE... | zwendelaar | src/zwendelaar/client/ui/Registreer.java | Java | epl | 7,181 |
package zwendelaar.client.ui;
import zwendelaar.client.FieldVerifier;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.goo... | zwendelaar | src/zwendelaar/client/ui/gebruikerInfo.java | Java | epl | 6,226 |
package zwendelaar.client.ui;
import java.util.ArrayList;
import java.util.Date;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Bod;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.g... | zwendelaar | src/zwendelaar/client/ui/Statistieken.java | Java | epl | 6,106 |
package zwendelaar.client.ui;
import java.util.ArrayList;
import java.util.Date;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Product;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.googl... | zwendelaar | src/zwendelaar/client/ui/veilingToevoegen.java | Java | epl | 16,481 |
package zwendelaar.client.ui;
import java.util.ArrayList;
import java.util.Date;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Bod;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gw... | zwendelaar | src/zwendelaar/client/ui/Veilingen.java | Java | epl | 4,495 |
package zwendelaar.client.ui;
import zwendelaar.client.Zwendelaar;
import zwendelaar.client.domain.Bod;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Grid;
import com.google.gw... | zwendelaar | src/zwendelaar/client/ui/Statistiek.java | Java | epl | 3,411 |
package zwendelaar.client.ui;
import zwendelaar.client.Zwendelaar;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.History;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HTML;
import ... | zwendelaar | src/zwendelaar/client/ui/UserInfo.java | Java | epl | 1,919 |
package zwendelaar.server;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Calendar;
import oracle.jd... | zwendelaar | src/zwendelaar/server/Database.java | Java | epl | 26,411 |
package zwendelaar.server;
import java.util.ArrayList;
import java.util.Date;
import zwendelaar.client.ZwendelaarService;
import zwendelaar.client.domain.Bod;
import zwendelaar.client.domain.Gebruiker;
import zwendelaar.client.domain.Product;
import zwendelaar.client.domain.Veiling;
import com.google.gwt.... | zwendelaar | src/zwendelaar/server/ZwendelaarServiceImpl.java | Java | epl | 3,584 |
package zwendelaar.server;
import java.util.ArrayList;
import zwendelaar.client.domain.Veiling;
public class AlleVeilingen {
private static AlleVeilingen aV;
private ArrayList<Veiling> alleVeilingen = new ArrayList<Veiling>();
private AlleVeilingen(){}
public static AlleVeilingen get() {
if(aV =... | zwendelaar | src/zwendelaar/server/AlleVeilingen.java | Java | epl | 816 |
# 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-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 <stdio.h>
#include "db/dbformat.h"
#include "port/port.h"
#include "util/coding.h"
namespace ... | zyf873753-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/builder.h"
#include "db/filename.h"
#include "db/dbformat.h"
#include "db/table_cache.h"
... | zyf873753-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.
#ifndef STORAGE_LEVELDB_DB_LOG_WRITER_H_
#define STORAGE_LEVELDB_DB_LOG_WRITER_H_
#include <stdint.h>
... | zyf873753-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.
#include "leveldb/db.h"
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/type... | zyf873753-leveldb | db/corruption_test.cc | C++ | bsd | 10,107 |
// 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-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.
//
// Log format information shared by reader and writer.
// See ../doc/log_format.txt for more detail.
... | zyf873753-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 "leveldb/db.h"
#include "leveldb/filter_policy.h"
#include "db/db_impl.h"
#include "db/filenam... | zyf873753-leveldb | db/db_test.cc | C++ | bsd | 62,455 |
// 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-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_edit.h"
#include "util/testharness.h"
namespace leveldb {
static void TestEncode... | zyf873753-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/filename.h"
#include "db/dbformat.h"
#include "port/port.h"
#include "util/logging.h"
#in... | zyf873753-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.
#include "leveldb/db.h"
#include "db/memtable.h"
#include "db/write_batch_internal.h"
#include "leveld... | zyf873753-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/skiplist.h"
#include <set>
#include "leveldb/env.h"
#include "util/arena.h"
#include "util... | zyf873753-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.
#ifndef STORAGE_LEVELDB_DB_SNAPSHOT_H_
#define STORAGE_LEVELDB_DB_SNAPSHOT_H_
#include "leveldb/db.h"
... | zyf873753-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.
#ifndef STORAGE_LEVELDB_DB_FORMAT_H_
#define STORAGE_LEVELDB_DB_FORMAT_H_
#include <stdio.h>
#include ... | zyf873753-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.
#include "db/log_reader.h"
#include <stdio.h>
#include "leveldb/env.h"
#include "util/coding.h"
#inclu... | zyf873753-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.
//
// File names used by DB code
#ifndef STORAGE_LEVELDB_DB_FILENAME_H_
#define STORAGE_LEVELDB_DB_FILE... | zyf873753-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.
#ifndef STORAGE_LEVELDB_DB_LOG_READER_H_
#define STORAGE_LEVELDB_DB_LOG_READER_H_
#include <stdint.h>
... | zyf873753-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 "leveldb/c.h"
#include <stdlib.h>
#include <unistd.h>
#include "leveldb/cache.h"
#include "le... | zyf873753-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.
//
// The representation of a DBImpl consists of a set of Versions. The
// newest version is called "cu... | zyf873753-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 "db/db_iter.h"
#include "db/filename.h"
#include "db/db_impl.h"
#include "db/dbformat.h"
#inc... | zyf873753-leveldb | db/db_iter.cc | C++ | bsd | 8,539 |
// 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-leveldb | db/db_impl.h | C++ | bsd | 7,290 |
/* 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-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.
#include "db/version_set.h"
#include "util/logging.h"
#include "util/testharness.h"
#include "util/test... | zyf873753-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.
//
// WriteBatch::rep_ :=
// sequence: fixed64
// count: fixed32
// data: record[count]
// reco... | zyf873753-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 <ctype.h>
#include <stdio.h>
#include "db/filename.h"
#include "db/dbformat.h"
#include "level... | zyf873753-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_WRITE_BATCH_INTERNAL_H_
#define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
... | zyf873753-leveldb | db/write_batch_internal.h | C++ | bsd | 1,508 |
// 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-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 "db/dbformat.h"
#include "util/logging.h"
#include "util/testharness.h"
namespace leveldb {
... | zyf873753-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.
#include "db/db_impl.h"
#include <algorithm>
#include <set>
#include <string>
#include <stdint.h>
#inc... | zyf873753-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.
#include "db/version_set.h"
#include <algorithm>
#include <stdio.h>
#include "db/filename.h"
#include ... | zyf873753-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.
#include "db/table_cache.h"
#include "db/filename.h"
#include "leveldb/env.h"
#include "leveldb/table.... | zyf873753-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.
//
// Thread safety
// -------------
//
// Writes require external synchronization, most likely a mutex.... | zyf873753-leveldb | db/skiplist.h | C++ | bsd | 11,177 |