code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/NullsLastOrdering_CustomFieldSerializer.java | Java | asf20 | 1,579 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/UsingToStringOrdering_CustomFieldSerializer.java | Java | asf20 | 1,310 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/RegularImmutableMap_CustomFieldSerializer.java | Java | asf20 | 2,103 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ImmutableMultiset_CustomFieldSerializer.java | Java | asf20 | 926 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ImmutableSortedSet_CustomFieldSerializer.java | Java | asf20 | 935 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/EmptyImmutableBiMap_CustomFieldSerializer.java | Java | asf20 | 1,280 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | zww80216-gauva | guava-gwt/src/com/google/common/collect/GwtSerializationDependencies.java | Java | asf20 | 4,317 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/TreeBasedTable_CustomFieldSerializer.java | Java | asf20 | 2,531 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/Multiset_CustomFieldSerializerBase.java | Java | asf20 | 2,482 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ComparatorOrdering_CustomFieldSerializer.java | Java | asf20 | 1,619 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/RegularImmutableSortedSet_CustomFieldSerializer.java | Java | asf20 | 2,485 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/EmptyImmutableSet_CustomFieldSerializer.java | Java | asf20 | 1,286 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ArrayListMultimap_CustomFieldSerializer.java | Java | asf20 | 1,591 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/NullsFirstOrdering_CustomFieldSerializer.java | Java | asf20 | 1,585 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/CompoundOrdering_CustomFieldSerializer.java | Java | asf20 | 1,623 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/NaturalOrdering_CustomFieldSerializer.java | Java | asf20 | 1,274 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/SingletonImmutableList_CustomFieldSerializer.java | Java | asf20 | 1,552 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ForwardingImmutableSet_CustomFieldSerializer.java | Java | asf20 | 874 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ExplicitOrdering_CustomFieldSerializer.java | Java | asf20 | 1,585 |
/*
* Copyright (C) 2010 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/RegularImmutableAsList_CustomFieldSerializer.java | Java | asf20 | 1,942 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ForwardingImmutableList_CustomFieldSerializer.java | Java | asf20 | 876 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ReverseNaturalOrdering_CustomFieldSerializer.java | Java | asf20 | 1,319 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ImmutableSet_CustomFieldSerializer.java | Java | asf20 | 917 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/AllEqualOrdering_CustomFieldSerializer.java | Java | asf20 | 1,259 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ImmutableListMultimap_CustomFieldSerializer.java | Java | asf20 | 1,645 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ImmutableSortedMap_CustomFieldSerializer.java | Java | asf20 | 2,129 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/EmptyImmutableMultiset_CustomFieldSerializer.java | Java | asf20 | 1,319 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ImmutableAsList_CustomFieldSerializer.java | Java | asf20 | 860 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/EmptyImmutableMap_CustomFieldSerializer.java | Java | asf20 | 1,289 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/TreeMultimap_CustomFieldSerializer.java | Java | asf20 | 1,871 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ImmutableSetMultimap_CustomFieldSerializer.java | Java | asf20 | 1,638 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/RegularImmutableSet_CustomFieldSerializer.java | Java | asf20 | 2,052 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/HashMultiset_CustomFieldSerializer.java | Java | asf20 | 1,544 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/EmptyImmutableListMultimap_CustomFieldSerializer.java | Java | asf20 | 1,343 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/RegularImmutableBiMap_CustomFieldSerializer.java | Java | asf20 | 2,136 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/RegularImmutableList_CustomFieldSerializer.java | Java | asf20 | 2,098 |
/*
* Copyright (C) 2011 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/RegularImmutableMultiset_CustomFieldSerializer.java | Java | asf20 | 2,118 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ByFunctionOrdering_CustomFieldSerializer.java | Java | asf20 | 1,746 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/ImmutableEnumSet_CustomFieldSerializer.java | Java | asf20 | 1,949 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zww80216-gauva | guava-gwt/src/com/google/common/collect/EmptyImmutableSortedSet_CustomFieldSerializer.java | Java | asf20 | 2,121 |
#include "graphics.h"
#include "mathutil.h"
static HWND gHwnd;
//draw filled rectangle
void FillRect(int x, int y, int sx, int sy, unsigned int color){
HDC hdc=GetDC(gHwnd);
HBRUSH br = CreateSolidBrush(color);
RECT rc;
SetRect(&rc, x, y, x+sx, y+sy);
FillRect(hdc, &rc, br);
DeleteOb... | zyb-test | graphics.cpp | C++ | lgpl | 2,042 |
#pragma once
class vec3
{
public:
vec3();
vec3(float x, float y, float z);
vec3(const vec3& o);
vec3 operator +(vec3 o);
vec3 operator -(vec3 o);
vec3 operator *(float f);
void operator =(vec3 o);
void operator +=(vec3 o);
void ... | zyb-test | trunk/vec3.h | C++ | lgpl | 597 |
#include "graphics.h"
#include "mathutil.h"
static HWND gHwnd;
//draw filled rectangle
void FillRect(int x, int y, int sx, int sy, unsigned int color){
HDC hdc=GetDC(gHwnd);
HBRUSH br = CreateSolidBrush(color);
RECT rc;
SetRect(&rc, x, y, x+sx, y+sy);
FillRect(hdc, &rc, br);
DeleteOb... | zyb-test | trunk/graphics.cpp | C++ | lgpl | 2,042 |
#include "vec3.h"
#include <math.h>
vec3::vec3() : X(0)
,Y(0)
,Z(0)
{
}
vec3::vec3(float x, float y, float z) : X(x)
,Y(y)
,Z(z)
{
}
vec3::vec3(const vec3& o) : X(o.X)
,Y(o.Y)
,Z(o.Z)
{
}
vec3 vec3::operator +(vec3 o)
{
vec3 r(X + o.X, Y + o.Y, Z + o.Z);
return r;
}
vec3 ve... | zyb-test | trunk/vec3.cpp | C++ | lgpl | 1,362 |
#ifndef TEST_MATHUTIL_H
#define TEST_MATHUTIL_H
#define _USE_MATH_DEFINES
#include <math.h>
#include <windows.h>
#define PI 3.1415926f
int inline round(double d)
{
return (int)(floor(d + 0.5));
}
//returns from 0 to 1
float inline frand()
{
return (float)rand() / (float)(RAND_MAX);
}
... | zyb-test | trunk/MathUtil.h | C | lgpl | 941 |
#pragma once
#include "agent.h"
#include <vector>
using namespace std;
class C_Application
{
public:
typedef unsigned int T_PressedKey;
private:
C_Application(int screenWidth, int screenHeight);
~C_Application();
public:
static C_Application* C_Application::CreateInstance... | zyb-test | trunk/C_Application.h | C++ | lgpl | 1,253 |
#ifndef TEST_TIME_H
#define TEST_TIME_H
//get system time
void GetTime(int& hr, int& min, int& sec);
#endif // #ifndef TEST_TIME_H
| zyb-test | trunk/time.h | C | lgpl | 144 |
#pragma once
#include "vec3.h"
class Agent
{
public:
Agent();
void Tick(float fDeltaTime);
void UpdateAI(float fDeltaTime);
void UpdatePhysics(float fDeltaTime);
void Render();
void SetSpeed(vec3 speed) { m_vSpeed = speed; }
vec3 GetSpeed() { ... | zyb-test | trunk/agent.h | C++ | lgpl | 815 |
#include "time.h"
#undef UNICODE
#include <windows.h>
//get system time
void GetTime(int& hr, int& min, int& sec){
SYSTEMTIME time;
GetLocalTime(&time);
hr=time.wHour;
min=time.wMinute;
sec=time.wSecond;
}
| zyb-test | trunk/time.cpp | C++ | lgpl | 240 |
#include "agent.h"
#include "graphics.h"
#include "mathutil.h"
#include "C_Application.h"
extern int screenWidth;
extern int screenHeight;
Agent::Agent()
{
}
void Agent::Tick(float fDeltaTime)
{
UpdateAI(fDeltaTime);
UpdatePhysics(fDeltaTime);
}
void Agent::UpdateAI(float fDeltaTime)
{
... | zyb-test | trunk/agent.cpp | C++ | lgpl | 3,506 |
#ifndef GRAPHICS_H
#define GRAPHICS_H
#undef UNICODE
#include <windows.h>
#include "vec3.h"
//get pixel color value from rgb components
inline unsigned int GetRGB(unsigned int r, unsigned int g, unsigned int b){
return r + (g<<8) + (b<<16);
}
//draw filled rectangle
void FillRect(int x, int y, ... | zyb-test | trunk/graphics.h | C | lgpl | 873 |
#include "time.h"
#include "graphics.h"
#undef UNICODE
#include <windows.h>
#include "C_Application.h"
const static float GTickFixedDeltaTime = 0.02f;
//global variables
HWND g_HwndMain = NULL;
C_Application::T_PressedKey gPressedKeys = 0;
int screenWidth = 1200;
int screenHeight = 800;
//---... | zyb-test | trunk/main.cpp | C++ | lgpl | 2,941 |
#include "graphics.h"
#include "C_Application.h"
#include "MathUtil.h"
#include <list>
#include <algorithm>
#include <time.h>
C_Application* C_Application::s_application = NULL;
C_Application::C_Application(int screenWidth, int screenHeight)
: m_ScreenWidth(screenWidth)
, m_ScreenHeight(screenHeight)
, ... | zyb-test | trunk/C_Application.cpp | C++ | lgpl | 3,408 |
package com.zyeeda.jofm.managers;
import java.io.File;
public class FormManager {
public File generateCreateForm(Class<?> clazz) {
return null;
}
}
| zyeeda-jofm | src/main/java/com/zyeeda/jofm/managers/FormManager.java | Java | asf20 | 165 |
package com.zyeeda.jofm.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationGroups {
OperationGr... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/annotations/OperationGroups.java | Java | asf20 | 339 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/annotations/Scope.java | Java | asf20 | 938 |
package com.zyeeda.jofm.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Operation {
String name();
... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/annotations/Operation.java | Java | asf20 | 462 |
package com.zyeeda.jofm.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationGroup {
String class... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/annotations/OperationGroup.java | Java | asf20 | 382 |
package com.zyeeda.jofm.handlers;
import com.zyeeda.framework.services.PersistenceService;
import com.zyeeda.framework.services.Server;
import com.zyeeda.jofm.services.CommandService;
import com.zyeeda.jofm.services.JofmService;
public class AbstractHandler {
private Server server;
public AbstractHand... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/handlers/AbstractHandler.java | Java | asf20 | 713 |
package com.zyeeda.jofm.handlers;
import java.io.File;
import com.zyeeda.framework.services.Server;
import com.zyeeda.jofm.commands.Command;
import com.zyeeda.jofm.managers.FormManager;
import com.zyeeda.jofm.services.InvalidScopeException;
import com.zyeeda.jofm.services.JofmService;
public class ViewOper... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/handlers/ViewOperationHandler.java | Java | asf20 | 740 |
package com.zyeeda.jofm.handlers;
import java.io.File;
import com.zyeeda.framework.entities.Entity;
import com.zyeeda.framework.managers.EntityManager;
import com.zyeeda.framework.services.Server;
import com.zyeeda.jofm.commands.Command;
import com.zyeeda.jofm.commands.CustomCommand;
public class EntityOpe... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/handlers/EntityOperationHandler.java | Java | asf20 | 1,000 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/commands/Command.java | Java | asf20 | 1,029 |
package com.zyeeda.jofm.commands;
import java.util.Map;
public class OutputCommand implements Command {
private Command innerCmd;
private Object returnValue;
public OutputCommand(Command innerCmd) {
this.innerCmd = innerCmd;
}
@Override
public String getScope() {
return this.innerCmd.get... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/commands/OutputCommand.java | Java | asf20 | 1,096 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/commands/HttpServletCommand.java | Java | asf20 | 2,709 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/commands/CustomCommand.java | Java | asf20 | 3,038 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/commands/IllegalRequestException.java | Java | asf20 | 1,033 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/web/CommandServlet.java | Java | asf20 | 2,167 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/services/JofmService.java | Java | asf20 | 11,552 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/services/InvalidConfigurationException.java | Java | asf20 | 879 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/services/ScopeDuplicateException.java | Java | asf20 | 936 |
package com.zyeeda.jofm.services;
public class InvalidScopeException extends Exception {
private static final long serialVersionUID = -4268307784154144586L;
private String scope;
public InvalidScopeException(String scope) {
this.scope = scope;
}
public String getScope() {
return this.scope... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/services/InvalidScopeException.java | Java | asf20 | 332 |
package com.zyeeda.jofm.services;
public class InvalidOperationException extends Exception {
private static final long serialVersionUID = 520289653399155684L;
private String operation;
public InvalidOperationException(String operation) {
this.operation = operation;
}
public String getOperatio... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/services/InvalidOperationException.java | Java | asf20 | 362 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | zyeeda-jofm | src/main/java/com/zyeeda/jofm/services/CommandService.java | Java | asf20 | 2,021 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sour... | zylplayfair-student | poly2tri/sweep/cdt.h | C++ | bsd | 2,709 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code mu... | zylplayfair-student | poly2tri/sweep/sweep_context.cc | C++ | bsd | 5,241 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sour... | zylplayfair-student | poly2tri/sweep/cdt.cc | C++ | bsd | 2,310 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code mu... | zylplayfair-student | poly2tri/sweep/advancing_front.h | C++ | bsd | 2,928 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sourc... | zylplayfair-student | poly2tri/sweep/sweep_context.h | C++ | bsd | 4,275 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code mu... | zylplayfair-student | poly2tri/sweep/advancing_front.cc | C++ | bsd | 3,182 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sourc... | zylplayfair-student | poly2tri/sweep/sweep.cc | C++ | bsd | 22,841 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code m... | zylplayfair-student | poly2tri/poly2tri.h | C | bsd | 1,721 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sour... | zylplayfair-student | poly2tri/common/utils.h | C++ | bsd | 3,174 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code m... | zylplayfair-student | poly2tri/common/shapes.cc | C++ | bsd | 9,126 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code mu... | zylplayfair-student | poly2tri/common/shapes.h | C++ | bsd | 7,456 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sourc... | zylplayfair-student | testbed/main.cc | C++ | bsd | 11,710 |
#! /usr/bin/env python
# encoding: utf-8
# waf 1.6.2
VERSION='0.3.3'
import sys
APPNAME='p2t'
top = '.'
out = 'build'
CPP_SOURCES = ['poly2tri/common/shapes.cc',
'poly2tri/sweep/cdt.cc',
'poly2tri/sweep/advancing_front.cc',
'poly2tri/sweep/sweep_context.cc',
... | zylplayfair-student | wscript | Python | bsd | 1,162 |
<?php
include_once('bootstrap.php');
// Enable all modules we can find
$modules_iterator = new DirectoryIterator(MODPATH);
$modules = array();
foreach ($modules_iterator as $module)
{
if ($module->isDir())
{
$modules[$module->getFilename()] = MODPATH.$module->getFilename();
}
}
Kohana::modules(Kohana::modules... | zuber-personal-page | trunk/personal/modules/unittest/bootstrap_all_modules.php | PHP | asf20 | 383 |
<?php defined('SYSPATH') or die('No direct script access.');
return array(
// If you don't use a whitelist then only files included during the request will be counted
// If you do, then only whitelisted items will be counted
'use_whitelist' => TRUE,
// Items to whitelist, only used in cli
'whitelist' => array(
... | zuber-personal-page | trunk/personal/modules/unittest/config/unittest.php | PHP | asf20 | 1,056 |
<?php defined('SYSPATH') OR die('No direct script access.');
return array
(
'modules' => array(
'unittest' => array(
'enabled' => TRUE,
'name' => 'Unittest',
'description' => 'Unit testing module',
'copyright' => '© 2009-2011 Kohana Team',
)
)
); | zuber-personal-page | trunk/personal/modules/unittest/config/userguide.php | PHP | asf20 | 270 |
<?php
if ( ! class_exists('Kohana'))
{
die('Please include the kohana bootstrap file (see README.markdown)');
}
if ($file = Kohana::find_file('classes', 'Unittest/Tests'))
{
require_once $file;
// PHPUnit requires a test suite class to be in this file,
// so we create a faux one that uses the kohana base
class ... | zuber-personal-page | trunk/personal/modules/unittest/tests.php | PHP | asf20 | 410 |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* A version of the stock PHPUnit testsuite that supports whitelisting and
* blacklisting for code coverage filter
*/
abstract class Kohana_Unittest_TestSuite extends PHPUnit_Framework_TestSuite
{
/**
* Holds the details of files that should be wh... | zuber-personal-page | trunk/personal/modules/unittest/classes/Kohana/Unittest/TestSuite.php | PHP | asf20 | 2,291 |
<?php
/**
* Unit testing helpers
*/
class Kohana_Unittest_Helpers {
/**
* Static variable used to work out whether we have an internet
* connection
* @see has_internet
* @var boolean
*/
static protected $_has_internet = NULL;
/**
* Check for internet connectivity
*
* @return boolean Whether an... | zuber-personal-page | trunk/personal/modules/unittest/classes/Kohana/Unittest/Helpers.php | PHP | asf20 | 3,755 |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* PHPUnit testsuite for kohana application
*
* @package Kohana/UnitTest
* @author Kohana Team
* @author BRMatt <matthew@sigswitch.com>
* @author Paul Banks
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/l... | zuber-personal-page | trunk/personal/modules/unittest/classes/Kohana/Unittest/Tests.php | PHP | asf20 | 6,131 |
<?php
/**
* TestCase for testing a database
*
* @package Kohana/UnitTest
* @author Kohana Team
* @author BRMatt <matthew@sigswitch.com>
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/license
*/
abstract class Kohana_Unittest_Database_TestCase extends PHPUnit_Extensions_Dat... | zuber-personal-page | trunk/personal/modules/unittest/classes/Kohana/Unittest/Database/TestCase.php | PHP | asf20 | 8,024 |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* A version of the stock PHPUnit testcase that includes some extra helpers
* and default settings
*/
abstract class Kohana_Unittest_TestCase extends PHPUnit_Framework_TestCase {
/**
* Whether we should enable work arounds to make the tests compat... | zuber-personal-page | trunk/personal/modules/unittest/classes/Kohana/Unittest/TestCase.php | PHP | asf20 | 6,783 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Unittest_TestSuite extends Kohana_Unittest_TestSuite {}
| zuber-personal-page | trunk/personal/modules/unittest/classes/Unittest/TestSuite.php | PHP | asf20 | 124 |
<?php defined('SYSPATH') or die('No direct script access.');
class Unittest_Helpers extends Kohana_Unittest_Helpers {}
| zuber-personal-page | trunk/personal/modules/unittest/classes/Unittest/Helpers.php | PHP | asf20 | 120 |
<?php defined('SYSPATH') or die('No direct script access.');
class Unittest_Tests extends Kohana_Unittest_Tests {}
| zuber-personal-page | trunk/personal/modules/unittest/classes/Unittest/Tests.php | PHP | asf20 | 116 |
<?php
/**
* Transparent extension for Kohana_Unittest_Database_TestCase
*
* Provides some unittest helpers and allows a kohana database connection to be
* used to connect to the database
*
* @package Kohana/UnitTest
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://koh... | zuber-personal-page | trunk/personal/modules/unittest/classes/Unittest/Database/TestCase.php | PHP | asf20 | 433 |
<?php defined('SYSPATH') or die('No direct script access.');
abstract class Unittest_TestCase extends Kohana_Unittest_TestCase {}
| zuber-personal-page | trunk/personal/modules/unittest/classes/Unittest/TestCase.php | PHP | asf20 | 131 |