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 |
|---|---|---|---|---|---|
@function inner-border-spread($width) {
$top: top($width);
$right: right($width);
$bottom: bottom($width);
$left: left($width);
@return min(($top + $bottom) / 2, ($left + $right) / 2);
}
@function inner-border-hoff($width, $spread) {
$left: left($width);
$right: right($width);
@i... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/mixins/_inner-border.scss | SCSS | asf20 | 3,625 |
/**
*
*/
@mixin color-by-background($bg-color, $contrast: 70%, $default-color: null, $bevel-text: true) {
@if ($default-color != null) {
color: $default-color;
} @else {
@if (lightness($bg-color) > 40) {
color: darken($bg-color, $contrast);
}
@else {
col... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/mixins/_color-by-background.scss | SCSS | asf20 | 606 |
/**
* @mixin background-gradient
*
* @param {Color} $background-color The background color of the gradient
* @param {String/List} $type The type of gradient to be used. Can either be a String which is a predefined gradient, or it can
* can be a list of color_stops. If none is set, it wi... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/mixins/_background-gradient.scss | SCSS | asf20 | 7,233 |
@mixin x-frame(
$cls,
$ui: null,
$border-radius: 0px,
$border-width: 0px,
$padding: null,
$background-color: null,
$background-gradient: null,
$table: false,
$background-direction: top
) {
$cls-ui: $cls;
@if $ui != null {
$cls-ui: $cls + '-' + $ui;
}
... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/mixins/_frame.scss | SCSS | asf20 | 7,462 |
@import "compass/css3";
@import "blueprint/typography";
$include-default: true !default;
$include-default-uis: true !default;
@import 'functions';
@import 'variables';
@import 'mixins';
//core
@import 'core';
//layout
@import 'layout/layout';
//utils
@import 'util/tool';
@import 'util/messagebox';
@import 'util/sp... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/_all.scss | SCSS | asf20 | 2,907 |
@import 'variables/core';
$mix-color: desaturate(lighten($base-color, 37), 5) !default;
@import 'variables/focus';
@import 'variables/panel';
@import 'variables/grid';
@import 'variables/button';
@import 'variables/pickers';
@import 'variables/toolbar';
@import 'variables/form';
@import 'variables/menu';
@import 'var... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/_variables.scss | SCSS | asf20 | 619 |
@mixin extjs-scroller {
.#{$prefix}horizontal-scroller-present .#{$prefix}grid-body {
border-bottom-width: 0px;
}
.#{$prefix}vertical-scroller-present .#{$prefix}grid-body {
border-right-width: 0px;
}
.#{$prefix}scroller {
overflow: hidden;
}
.#{$prefix... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/util/_scroller.scss | SCSS | asf20 | 1,560 |
@mixin extjs-splitter {
.#{$prefix}splitter {
.#{$prefix}collapse-el {
position: absolute;
cursor: pointer;
background-color: transparent;
background-repeat: no-repeat !important;
}
}
.#{$prefix}layout-split-left,
.#{$prefix}layout-split... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/util/_splitter.scss | SCSS | asf20 | 2,832 |
@mixin extjs-dragdrop {
.#{$prefix}dd-drag-proxy {
}
.#{$prefix}dd-drag-repair {
.#{$prefix}dd-drag-ghost {
@include opacity(.6);
}
.#{$prefix}dd-drop-icon {
display: none;
}
}
.#{$prefix}dd-drag-ghost {
@include opacity... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss | SCSS | asf20 | 1,688 |
@mixin extjs-messagebox {
.#{$prefix}message-box .#{$prefix}window-body {
background-color: $window-background-color;
border: none;
}
.#{$prefix}message-box .ext-mb-textarea {
margin-top: 4px;
}
.#{$prefix}message-box .#{$prefix}progress-wrap {
margin-top: 4px;
... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/util/_messagebox.scss | SCSS | asf20 | 1,425 |
@mixin extjs-resizable {
.#{$prefix}resizable-handle {
position: absolute;
z-index: 100;
font-size: 1px;
line-height: 6px;
overflow: hidden;
zoom: 1;
@include opacity(0);
background-color: #fff;... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/util/_resizable.scss | SCSS | asf20 | 4,981 |
.#{$prefix}focus-element {
position: absolute;
top: -10px;
left: -10px;
width: 0px;
height: 0px;
}
.#{$prefix}focus-frame {
position: absolute;
left: 0px;
top: 0px;
z-index: 100000000;
width: 0px;
height: 0px;
}
.#{$prefix}focus-frame-top,
.#{$prefix}focus-frame-bottom,
.#{... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/util/_focus.scss | SCSS | asf20 | 770 |
@mixin extjs-tool {
.#{$prefix}tool {
height: $tool-size;
img {
overflow: hidden;
width: $tool-size;
height: $tool-size;
cursor: pointer;
background-color: transparent;
background-repeat: no-repeat;
background-im... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/stylesheets/ext4/default/util/_tool.scss | SCSS | asf20 | 6,386 |
module ExtJS4
module SassExtensions
module Functions
module Utils
def parsebox(list, n)
assert_type n, :Number
if !n.int?
raise ArgumentError.new("List index #{n} must be an integer")
elsif n.to_i < 1
raise ArgumentError.new("List index #{n} must... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/themes/lib/utils.rb | Ruby | asf20 | 2,762 |
.readOnlyFiled
{
border: 3px;
border-color: Red;
}
#title-logo .x-plain-body
{
background: #f0edce url('../titleLogo.jpg') no-repeat;
}
.application_side_tree
{
background-image: url(/Content/16Icons/application_side_tree.png) !important;
}
.textfield_rename
{
background-imag... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/css/iconCss.css | CSS | asf20 | 2,787 |
.x-btn-inner {
font-size : 12px;
}
.x-grid-cell-inner {
font-size : 12px;
}
.desk {
background-image: url('../images/pages/user.png');
}
.icon-add {
background-image: url(../images/icons/fam/add.png) !important;
}
.icon-delete {
background-image: url(../images/icons/fam/delete.png) !important;
}
... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/css/jzz.css | CSS | asf20 | 676 |
body {
margin: 0 ;
padding: 0;
background-color:#EEF2F6;
}
.login-icon{
background: url(../images/login/login.png) no-repeat !important;
}
.btn-login{
background: url(../images/login/blogin.png) no-repeat !important;
}
.btn-login-reset{
background: url(../images/login/login-reset.png) no-repeat !impor... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/css/appLogin.css | CSS | asf20 | 847 |
/* 解决IE下PNG图片透明Bug */
.IEPNG {
behavior: url(../images/pages/iepngfix.htc);
}
.banner {
font-family: "宋体";
font-size: 12px;
color:4798D7;
}
p {
margin: 5px;
}
.x-panel-header-text-default {
font-size: 12px;
}
.x-tab-inner {
font-size: 12px;
}
.settings {
background-im... | zz-ms | trunk/zz-ms-v1.0/WebContent/resources/css/appIndex.css | CSS | asf20 | 844 |
Ext.Loader.setConfig({
enabled: true
});
var JzzApp = null;
Ext.application({
name: 'Jzz',
appFolder: 'app/mvc',
controllers: ['Main', 'User'],
launch: function() {
//Ext.require('Jzz.view.main.Footer');
JzzApp = this;
Ext.QuickTips.init();
Ext.state.Manager.setPr... | zz-ms | trunk/zz-ms-v1.0/WebContent/app.js | JavaScript | asf20 | 3,928 |
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%
String rootPath=request.getContextPath();
request.setAttribute("ctx",request.getContextPath());
%>
<script type="text/javascript">
var default_tab_title = "个人中心";
var rootPath = '<%=rootPath%>';
var imgDir = rootPath... | zz-ms | trunk/zz-ms-v1.0/WebContent/common/variable.jsp | Java Server Pages | asf20 | 351 |
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | zz-ms | trunk/zz-ms-v1.0/WebContent/common/taglibs.jsp | Java Server Pages | asf20 | 269 |
<!-- HTTP 1.1 -->
<meta http-equiv="Cache-Control" content="no-store"/>
<!-- HTTP 1.0 -->
<meta http-equiv="Pragma" content="no-cache"/>
<!-- Prevents caching at the Proxy Server -->
<meta http-equiv="Expires" content="0"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | zz-ms | trunk/zz-ms-v1.0/WebContent/common/meta.jsp | Java Server Pages | asf20 | 299 |
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<link rel="stylesheet" type="text/css" href="${ctx}/resources/css/ext-all.css">
<script type="text/javascript" src="${ctx}/extjs/ext-all-dev.js"></script>
<script type="text/javascript" src="${ctx}/app/comm/utility.js"></script... | zz-ms | trunk/zz-ms-v1.0/WebContent/common/scripts.jsp | Java Server Pages | asf20 | 321 |
//============================================================================
// Name : Login.cpp
// Author : zhou zhao
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#in... | zzfall2011ee450 | Login.cpp | C++ | gpl3 | 7,393 |
/*
* SuperRecord.h
*
* Created on: Nov 12, 2011
* Author: zhouzhao
*/
#ifndef SUPERRECORD_H_
#define SUPERRECORD_H_
#include <string>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
using namespace std;
class SuperRecord {
private:
string username;
string ipaddr;
string port;
int soc... | zzfall2011ee450 | SuperRecord.h | C++ | gpl3 | 727 |
//============================================================================
// Name : User.cpp
// Author : zhou zhao
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#inc... | zzfall2011ee450 | User.cpp | C++ | gpl3 | 6,060 |
/*
* ServerRecord.h
*
* Created on: Nov 5, 2011
* Author: zhouzhao
*/
#ifndef SERVERRECORD_H_
#define SERVERRECORD_H_
#include <string>
using namespace std;
class ServerRecord {
private:
unsigned int userid;
string username;
string password;
string ipaddr;
string portnum;
bool login;
public:
Serv... | zzfall2011ee450 | ServerRecord.h | C++ | gpl3 | 755 |
//============================================================================
// Name : Supernode.cpp
// Author : zhou zhao
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
... | zzfall2011ee450 | Supernode.cpp | C++ | gpl3 | 7,454 |
cmake_minimum_required(VERSION 2.8)
project(vjson)
add_executable(vjson_test block_allocator.cpp json.cpp main.cpp)
| zzuseme-vjson | CMakeLists.txt | CMake | mit | 119 |
#ifndef BLOCK_ALLOCATOR_H
#define BLOCK_ALLOCATOR_H
class block_allocator
{
private:
struct block
{
size_t size;
size_t used;
char *buffer;
block *next;
};
block *m_head;
size_t m_blocksize;
block_allocator(const block_allocator &);
block_allocator &operator=(block_allocator &);
p... | zzuseme-vjson | block_allocator.h | C++ | mit | 570 |
#include <memory.h>
#include "json.h"
// true if character represent a digit
#define IS_DIGIT(c) (c >= '0' && c <= '9')
// convert string to integer
char *atoi(char *first, char *last, int *out)
{
int sign = 1;
if (first != last)
{
if (*first == '-')
{
sign = -1;
++first;
}
else if (... | zzuseme-vjson | json.cpp | C++ | mit | 8,555 |
#include <memory.h>
#include <algorithm>
#include "block_allocator.h"
block_allocator::block_allocator(size_t blocksize): m_head(0), m_blocksize(blocksize)
{
}
block_allocator::~block_allocator()
{
while (m_head)
{
block *temp = m_head->next;
::free(m_head);
m_head = temp;
}
}
void block_a... | zzuseme-vjson | block_allocator.cpp | C++ | mit | 1,062 |
#ifndef JSON_H
#define JSON_H
#include "block_allocator.h"
enum json_type
{
JSON_NULL,
JSON_OBJECT,
JSON_ARRAY,
JSON_STRING,
JSON_INT,
JSON_FLOAT,
JSON_BOOL,
};
struct json_value
{
json_value *parent;
json_value *next_sibling;
json_value *first_child;
json_value *last_child;
char ... | zzuseme-vjson | json.h | C | mit | 565 |
#include <vector>
#include <stdio.h>
#include "json.h"
void populate_sources(const char *filter, std::vector<std::vector<char> > &sources)
{
char filename[256];
for (int i = 1; i < 64; ++i)
{
sprintf(filename, filter, i);
FILE *fp = fopen(filename, "rb");
if (fp)
{
fseek(fp, 0, SEEK_END);
... | zzuseme-vjson | main.cpp | C++ | mit | 2,537 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dapper
{
public class SqlBuilder
{
Dictionary<string, Clauses> data = new Dictionary<string, Clauses>();
int seq;
class Clause
{
public string Sql { get; set; }
... | zzfenglove-dapper | Dapper.SqlBuilder/SqlBuilder.cs | C# | asf20 | 5,437 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Da... | zzfenglove-dapper | Dapper.SqlBuilder/Properties/AssemblyInfo.cs | C# | asf20 | 1,410 |
using System;
using System.Reflection;
using System.Data.SqlClient;
namespace DapperTests_NET35
{
class Program
{
static void Main()
{
RunTests();
Console.WriteLine("(end of tests; press any key)");
Console.ReadKey();
}
public... | zzfenglove-dapper | DapperTests NET35/Program.cs | C# | asf20 | 1,069 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | zzfenglove-dapper | DapperTests NET35/Properties/AssemblyInfo.cs | C# | asf20 | 1,464 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assem... | zzfenglove-dapper | Dapper NET40/Properties/AssemblyInfo.cs | C# | asf20 | 1,496 |
/*
License: http://www.apache.org/licenses/LICENSE-2.0
Home page: http://code.google.com/p/dapper-dot-net/
Note: to build on C# 3.0 + .NET 3.5, include the CSHARP30 compiler symbol (and yes,
I know the difference between language and runtime versions; this is a compromise).
*/
using System;
using Syste... | zzfenglove-dapper | Dapper NET40/SqlMapper.cs | C# | asf20 | 154,167 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Collections.Concurrent;
using System.Reflection.Emit;
using System.Threading;
using System.Runtime.CompilerServices;
using Dapper;
names... | zzfenglove-dapper | Dapper.Contrib/SqlMapperExtensions.cs | C# | asf20 | 23,712 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | zzfenglove-dapper | Dapper.Contrib/Properties/AssemblyInfo.cs | C# | asf20 | 1,458 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SqlMapper
{
static class Assert
{
public static void IsEqualTo<T>(this T obj, T other)
{
if (!Equals(obj, other))
{
throw new ApplicationExcept... | zzfenglove-dapper | Tests/Assert.cs | C# | asf20 | 1,539 |
using System.Data;
using NHibernate;
using NHibernate.Cfg;
namespace SqlMapper.NHibernate
{
public class NHibernateHelper
{
private static ISessionFactory _sessionFactory;
private static ISessionFactory SessionFactory
{
get
{
if (_... | zzfenglove-dapper | Tests/NHibernate/NHibernateHelper.cs | C# | asf20 | 977 |
namespace SqlMapper.Linq2Sql
{
public partial class Post
{
/*
public int Bloat { get; set; }
public int Bloat1 { get; set; }
public int Bloat2 { get; set; }
public int Bloat3 { get; set; }
public int Bloat4 { get; set; }
public int Bloat5 { ge... | zzfenglove-dapper | Tests/Linq2Sql/Post.cs | C# | asf20 | 860 |
using System;
using System.Data.SqlClient;
using System.Reflection;
using System.Linq;
namespace SqlMapper
{
[ServiceStack.DataAnnotations.Alias("Posts")]
[Soma.Core.Table(Name = "Posts")]
class Post
{
[Soma.Core.Id(Soma.Core.IdKind.Identity)]
public int Id { get; set; }
publ... | zzfenglove-dapper | Tests/Program.cs | C# | asf20 | 4,252 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Data;
using System.Data.Common;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Text.RegularExpressions;
namespace Massive
{
... | zzfenglove-dapper | Tests/Massive/Massive.cs | C# | asf20 | 18,687 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SubSonic.DataProviders;
using SubSonic.Extensions;
using System.Linq.Expressions;
using SubSonic.Schema;
using System.Collections;
using SubSonic;
using SubSonic.Repository;
using System.Comp... | zzfenglove-dapper | Tests/SubSonic/ActiveRecord.cs | C# | asf20 | 19,669 |
using System;
using SubSonic.Schema;
using System.Collections.Generic;
using SubSonic.DataProviders;
using System.Data;
namespace SubSonic {
/// <summary>
/// Table: Posts
/// Primary Key: Id
/// </summary>
public class PostsTable: DatabaseTable {
... | zzfenglove-dapper | Tests/SubSonic/Structs.cs | C# | asf20 | 8,716 |
using System;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
using SubSonic.DataProviders;
using SubSonic.Extensions;
using SubSonic.Linq.Structure;
using SubSonic.Query;
using SubSonic.Schema;
using System.Data.Common;
using System.Collections.Generic;
namespace SubSonic
{
... | zzfenglove-dapper | Tests/SubSonic/Context.cs | C# | asf20 | 8,399 |
| zzfenglove-dapper | Tests/SubSonic/StoredProcedures.cs | C# | asf20 | 10 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | zzfenglove-dapper | Tests/Properties/AssemblyInfo.cs | C# | asf20 | 1,448 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data.Common;
using System.Data;
using System.Text.RegularExpressions;
using System.Reflection;
using System.Reflection.Emit;
namespace PetaPoco
{
// Poco's marked [Explicit] req... | zzfenglove-dapper | Tests/PetaPoco/PetaPoco.cs | C# | asf20 | 39,974 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dapper_NET45
{
public class Class1
{
}
}
| zzfenglove-dapper | Dapper NET45/Class1.cs | C# | asf20 | 195 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Threading.Tasks;
namespace Dapper
{
public static partial class SqlMapper
{
/// <summary>
/// Execute a query asynchronously using .NET 4.5 Task.
//... | zzfenglove-dapper | Dapper NET45/SqlMapperAsync.cs | C# | asf20 | 11,591 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | zzfenglove-dapper | Dapper NET45/Properties/AssemblyInfo.cs | C# | asf20 | 1,436 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Dapper.Contrib.Tests
{
/// <summary>
/// Assert extensions borrowed from Sam's code in DapperTests
/// </summary>
static class Assert
{
public static void IsEqualTo<T>(this T obj, T other)
{
... | zzfenglove-dapper | Dapper.Contrib.Tests/Assert.cs | C# | asf20 | 1,398 |
using System;
using System.Collections.Generic;
using System.Data.SqlServerCe;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Dapper.Contrib.Tests
{
class Program
{
static void Main(string[] args)
{
... | zzfenglove-dapper | Dapper.Contrib.Tests/Program.cs | C# | asf20 | 1,938 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | zzfenglove-dapper | Dapper.Contrib.Tests/Properties/AssemblyInfo.cs | C# | asf20 | 1,470 |
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
namespace Dapper.Rainbow
{
public abstract class SqlCompactDatabase<TDatabase> : Database<TDatabase>, IDisposable where TDatabase : Database<TDatabase>, new()
{
public class SqlCompactTable<T> : Table... | zzfenglove-dapper | Dapper.Rainbow/SqlCompactDatabase.cs | C# | asf20 | 1,863 |
/*
License: http://www.apache.org/licenses/LICENSE-2.0
Home page: http://code.google.com/p/dapper-dot-net/
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using Dapper;
using System.Collections.Concurrent;
using System.Reflection;
using System... | zzfenglove-dapper | Dapper.Rainbow/Database.cs | C# | asf20 | 12,742 |
/*
License: http://www.apache.org/licenses/LICENSE-2.0
Home page: http://code.google.com/p/dapper-dot-net/
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Reflection;
using System.Reflection.Emit;
namespace Dapper
{
public static class Snapshotter
{
... | zzfenglove-dapper | Dapper.Rainbow/Snapshotter.cs | C# | asf20 | 7,205 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Da... | zzfenglove-dapper | Dapper.Rainbow/Properties/AssemblyInfo.cs | C# | asf20 | 1,461 |
using System;
using System.Data.SqlClient;
using System.Reflection;
namespace DapperTests_NET45
{
class Program
{
static void Main()
{
RunTests();
Console.WriteLine("(end of tests; press any key)");
Console.ReadKey();
}
public... | zzfenglove-dapper | DapperTests NET45/Program.cs | C# | asf20 | 1,067 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | zzfenglove-dapper | DapperTests NET45/Properties/AssemblyInfo.cs | C# | asf20 | 1,462 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace ZzTools
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVi... | zz-tools | trunk/ZzTools/ZzTools/Program.cs | C# | oos | 488 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ZzTools")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[... | zz-tools | trunk/ZzTools/ZzTools/Properties/AssemblyInfo.cs | C# | oos | 1,364 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ZzTools
{
public partial class Form1 : Form
{
public Form1()
{
Initialize... | zz-tools | trunk/ZzTools/ZzTools/Form1.cs | C# | oos | 357 |
<html>
<head>
<title>
Bovenkant
</title>
</head>
<body>
<h1>Welkom in Australie</h1>
Dit is de inhoud van mijn website
</body>
</html> | zzz-www | trunk/abc.html | HTML | asf20 | 191 |
package com.asd.rms;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
import org.apache.http.HttpEntity;
im... | zzx-project-work | rms/src/com/asd/rms/BaseInfoActivity.java | Java | gpl3 | 22,218 |
package com.asd.rms;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.TelephonyManager;
import android.view.LayoutInflater;
import android.widget.TabHost;
import android.widget.TextView;
public class RmsActivity extends TabActivity {
TabHost mTabHost... | zzx-project-work | rms/src/com/asd/rms/RmsActivity.java | Java | gpl3 | 641 |
/*
* i386 specific functions for TCC assembler
*
* Copyright (c) 2001, 2002 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License,... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/i386-asm.c | C | lgpl | 36,588 |
#ifndef __GNU_STAB__
/* Indicate the GNU stab.h is in use. */
#define __GNU_STAB__
#define __define_stab(NAME, CODE, STRING) NAME=CODE,
enum __stab_debug_code
{
#include "stab.def"
LAST_UNUSED_STAB_CODE
};
#undef __define_stab
#endif /* __GNU_STAB_ */
| zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/stab.h | C | lgpl | 259 |
/*
* CIL code generator for TCC
*
* Copyright (c) 2002 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) ... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/il-gen.c | C | lgpl | 16,721 |
DEF_ASM_OP0(pusha, 0x60) /* must be first OP0 */
DEF_ASM_OP0(popa, 0x61)
DEF_ASM_OP0(clc, 0xf8)
DEF_ASM_OP0(cld, 0xfc)
DEF_ASM_OP0(cli, 0xfa)
DEF_ASM_OP0(clts, 0x0f06)
DEF_ASM_OP0(cmc, 0xf5)
DEF_ASM_OP0(lahf, 0x9f)
DEF_ASM_OP0(sahf, 0x9e)
DEF_ASM_OP0(pushfl, 0x9c)
... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/i386-asm.h | C | lgpl | 21,281 |
/*
* COFF file handling for TCC
*
* Copyright (c) 2003, 2004 TK
* Copyright (c) 2004 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of t... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/tcccoff.c | C | lgpl | 22,693 |
/*
* TMS320C67xx code generator for TCC
*
* Copyright (c) 2001, 2002 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/c67-gen.c | C | lgpl | 70,941 |
/*
* TCCPE.C - PE file output for the Tiny C Compiler
*
* Copyright (c) 2005-2007 grischka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, o... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/tccpe.c | C | lgpl | 47,290 |
#! /usr/bin/perl -w
# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
# This file is part of GNU CC.
# GNU CC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your op... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/.svn/text-base/texi2pod.pl.svn-base | Perl | lgpl | 11,030 |
#!/bin/sh
#
# tcc configure script (c) 2003 Fabrice Bellard
#
# set temporary file name
if test ! -z "$TMPDIR" ; then
TMPDIR1="${TMPDIR}"
elif test ! -z "$TEMPDIR" ; then
TMPDIR1="${TEMPDIR}"
else
TMPDIR1="/tmp"
fi
TMPC="${TMPDIR1}/tcc-conf-${RANDOM}-$$-${RANDOM}.c"
TMPO="${TMPDIR1}/tcc-conf-${RANDOM}-$$-$... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/.svn/text-base/configure.svn-base | Shell | lgpl | 9,276 |
/*
* X86 code generator for TCC
*
* Copyright (c) 2001-2004 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opt... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/i386-gen.c | C | lgpl | 29,033 |
/*
* x86-64 code generator for TCC
*
* Copyright (c) 2008 Shinichiro Hamaji
*
* Based on i386-gen.c by Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/x86_64-gen.c | C | lgpl | 40,738 |
/*
* TCC - Tiny C Compiler
*
* Copyright (c) 2001-2004 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) ... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/tccgen.c | C | lgpl | 154,158 |
/*
* ELF file handling for TCC
*
* Copyright (c) 2001-2004 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opti... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/tccelf.c | C | lgpl | 90,590 |
#! /usr/local/bin/tcc -run
#include <tcclib.h>
int main()
{
printf("Hello World\n");
return 0;
}
| zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/examples/ex1.c | C | lgpl | 106 |
#include <stdlib.h>
#include <stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
| zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/examples/ex5.c | C | lgpl | 98 |
#! /usr/local/bin/tcc -run
#include <tcclib.h>
int main()
{
printf("Hello World\n");
return 0;
}
| zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/examples/.svn/text-base/ex1.c.svn-base | C | lgpl | 106 |
#!./tcc -run -L/usr/X11R6/lib -lX11
#include <stdlib.h>
#include <stdio.h>
#include <X11/Xlib.h>
/* Yes, TCC can use X11 too ! */
int main(int argc, char **argv)
{
Display *display;
Screen *screen;
display = XOpenDisplay("");
if (!display) {
fprintf(stderr, "Could not open X11 display\n");
... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/examples/.svn/text-base/ex4.c.svn-base | C | lgpl | 602 |
#include <stdlib.h>
#include <stdio.h>
#define N 20
int nb_num;
int tab[N];
int stack_ptr;
int stack_op[N];
int stack_res[60];
int result;
int find(int n, int i1, int a, int b, int op)
{
int i, j;
int c;
if (stack_ptr >= 0) {
stack_res[3*stack_ptr] = a;
stack_op[stack_ptr] = op;
... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/examples/ex2.c | C | lgpl | 2,177 |
#!./tcc -run -L/usr/X11R6/lib -lX11
#include <stdlib.h>
#include <stdio.h>
#include <X11/Xlib.h>
/* Yes, TCC can use X11 too ! */
int main(int argc, char **argv)
{
Display *display;
Screen *screen;
display = XOpenDisplay("");
if (!display) {
fprintf(stderr, "Could not open X11 display\n");
... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/examples/ex4.c | C | lgpl | 602 |
#include <stdlib.h>
#include <stdio.h>
int fib(n)
{
if (n <= 2)
return 1;
else
return fib(n-1) + fib(n-2);
}
int main(int argc, char **argv)
{
int n;
if (argc < 2) {
printf("usage: fib n\n"
"Compute nth Fibonacci number\n");
return 1;
}
n = atoi(... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/examples/ex3.c | C | lgpl | 390 |
#ifndef LIBTCC_H
#define LIBTCC_H
#ifdef LIBTCC_AS_DLL
#define LIBTCCAPI __declspec(dllexport)
#else
#define LIBTCCAPI
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct TCCState;
typedef struct TCCState TCCState;
/* create a new TCC compilation context */
LIBTCCAPI TCCState *tcc_new(void);
/* free a TCC compil... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/libtcc.h | C | lgpl | 3,490 |
#
# Tiny C Compiler Makefile
#
TOP ?= .
include $(TOP)/config.mak
CFLAGS+=-g -Wall
CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC
LIBS_P=
ifneq ($(GCC_MAJOR),2)
CFLAGS+=-fno-strict-aliasing
endif
ifeq ($(ARCH),i386)
CFLAGS+=-mpreferred-stack-boundary=2
ifeq ($(GCC_MAJOR),2)
CFLAGS+=-m386 -malign-functions=0
els... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/Makefile | Makefile | lgpl | 6,940 |
/*
* This program is for making libtcc1.a without ar
* tiny_libmaker - tiny elf lib maker
* usage: tiny_libmaker [lib] files...
* Copyright (c) 2007 Timppa
*
* This program is free software but WITHOUT ANY WARRANTY
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h> /* fo... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/win32/tools/tiny_libmaker.c | C | lgpl | 8,100 |
/* -------------------------------------------------------------- */
/*
* tiny_impdef creates an export definition file (.def) from a dll
* on MS-Windows. Usage: tiny_impdef library.dll [-o outputfile]"
*
* Copyright (c) 2005,2007 grischka
*
* This program is free software; you can redistribute it and/or modify... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/win32/tools/tiny_impdef.c | C | lgpl | 10,559 |
//+---------------------------------------------------------------------------
//
// dll.c - Windows DLL example - dynamically linked part
//
#include <windows.h>
#define DLL_EXPORT __declspec(dllexport)
DLL_EXPORT void HelloWorld (void)
{
MessageBox (0, "Hello World!", "From DLL", MB_ICONINFORMATION);
}
| zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/win32/examples/dll.c | C | lgpl | 313 |
#include <stdio.h>
int fib(n)
{
if (n <= 2)
return 1;
else
return fib(n-1) + fib(n-2);
}
int main(int argc, char **argv)
{
int n;
if (argc < 2) {
printf("usage: fib n\n"
"Compute nth Fibonacci number\n");
return 1;
}
n = atoi(argv[1]);
printf("fib(%d) = %d\n", n, fib(n));
return 0;
}
| zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/win32/examples/fib.c | C | lgpl | 313 |
//+---------------------------------------------------------------------------
//
// HELLO_DLL.C - Windows DLL example - main application part
//
#include <windows.h>
void HelloWorld (void);
int WINAPI WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
HelloWorld(... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/win32/examples/hello_dll.c | C | lgpl | 337 |
//+---------------------------------------------------------------------------
//
// HELLO_WIN.C - Windows GUI 'Hello World!' Example
//
//+---------------------------------------------------------------------------
#include <windows.h>
#define APPNAME "HELLO_WIN"
char szAppName[] = APPNAME; // The name of this app... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/win32/examples/hello_win.c | C | lgpl | 3,897 |
/*
* _mingw.h
*
* This file is for TCC-PE and not part of the Mingw32 package.
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ... | zzl-compiler | trunk -m 'initial import'/tcc-0.9.25/win32/include/_mingw.h | C | lgpl | 1,275 |