code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify
#define SA(n, p) int a##n[(p) ? 1 : -1]
struct A { int a; };
SA(0, sizeof(A) == 4);
struct B { };
SA(1, sizeof(B) == 1);
struct C : A, B { };
SA(2, sizeof(C) == 4);
struct D { };
struct E : D { };
struct F : E { };
struct G : E, F { };
SA... | vrtadmin/clamav-bytecode-compiler | clang/test/SemaCXX/empty-class-layout.cpp | C++ | gpl-2.0 | 1,034 |
using Halsign.DWM.Framework;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading;
namespace Halsign.DWM.Domain
{
public class DwmHost : DwmBase
{
private int _numCpus = 1;
private int _numVCpus;
private int _cpuSpeed;
private int _numNics = 1;
private... | yimng/wlb | wlb/Halsign.Dwm.Domain/Domain/DwmHost.cs | C# | gpl-2.0 | 29,482 |
#include "Converter.h"
#include <TFormula.h>
#include <iomanip>
#include <sstream>
std::string Converter::doubleToString(double x,int precision,bool scientifiStyle)
{
std::stringstream xs;
if(scientifiStyle)
xs<<std::scientific;
else
xs<<std::fixed;
xs<<std::setprecision(precision)<<x;
return xs.str()... | DingXuefeng/LegendOfNeutrino | libsrc/Converter.cc | C++ | gpl-2.0 | 614 |
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
// #pragma GCC optimize("Ofast")
// #pragma GCC opti... | Chaigidel/luogu-code | complete/LG-1199.cpp | C++ | gpl-2.0 | 4,983 |
<?
if (!defined("_GNUBOARD_")) exit; // °³º° ÆäÀÌÁö Á¢±Ù ºÒ°¡
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
?>
<script language="javascript">
// ±ÛÀÚ¼ö Á¦ÇÑ
var char_min = parse... | mrquestion/gnuboard4 | skin/board/basic_old/write.skin.php | PHP | gpl-2.0 | 12,050 |
/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/>
* This program 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 of the License, or
* (at your option) any later version.... | udw/mangos_hw2system_335 | src/bindings/scriptdev2/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_lord_marrowgar.cpp | C++ | gpl-2.0 | 1,417 |
var wocs_loading_first_time = true;//simply flag var
jQuery(function () {
if (woocs_drop_down_view == 'chosen') {
try {
if (jQuery("select.woocommerce-currency-switcher").length) {
jQuery("select.woocommerce-currency-switcher").chosen({
disable_search_thresho... | asshurimrepo/mont8 | wp-content/plugins/woocommerce-currency-switcher/js/front.js | JavaScript | gpl-2.0 | 2,447 |
# -*- coding: utf-8 -*-
#
from rest_framework import viewsets
from rest_framework.exceptions import ValidationError
from django.db import transaction
from django.utils.translation import ugettext as _
from django.conf import settings
from orgs.mixins.api import RootOrgViewMixin
from common.permissions import IsValidUs... | zsjohny/jumpserver | apps/ops/api/command.py | Python | gpl-2.0 | 2,150 |
package main
import (
"bytes"
"fmt"
"regexp"
)
func main() {
match, _ := regexp.MatchString("p([a-z]+)ch", "peach")
fmt.Println(match)
r, _ := regexp.Compile("p([a-z]+)ch")
fmt.Println(r.MatchString("peach"))
fmt.Println(r.FindString("peach punch"))
fmt.Println(r.FindStringIndex("peach punch"))
fmt.Pri... | coyotey/goLearnExample | 45_regularexpressions.go | GO | gpl-2.0 | 845 |
<?php
namespace Sidus\EAVDataGridBundle\Model;
use Sidus\DataGridBundle\Model\DataGrid as BaseDataGrid;
use Sidus\EAVFilterBundle\Configuration\EAVFilterConfigurationHandler;
use Sidus\EAVModelBundle\Model\FamilyInterface;
use Sidus\EAVModelBundle\Translator\TranslatableTrait;
use Symfony\Component\Translation\Transl... | VincentChalnot/SidusEAVDataGridBundle | Model/DataGrid.php | PHP | gpl-2.0 | 1,823 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template is_interval_container<icl::interval_set< DomainT, Compare, Interval, Alloc >></title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" cont... | FFMG/myoddweb.piger | myodd/boost/libs/icl/doc/html/boost/icl/is_inter_idm44994781467264.html | HTML | gpl-2.0 | 7,322 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>food blogging | Introduction to New Media</title>
<m... | kfitz/machines | 51-2007/node/48/index.html | HTML | gpl-2.0 | 12,037 |
CREATE USER 'iasst'@'localhost' IDENTIFIED BY '123456';
GRANT SELECT ON *.* TO 'iasst'@'localhost';
GRANT SELECT, INSERT, UPDATE, REFERENCES, DELETE, CREATE, DROP, ALTER, INDEX, TRIGGER, CREATE VIEW, SHOW VIEW, EXECUTE, ALTER ROUTINE, CREATE ROUTINE, CREATE TEMPORARY TABLES, LOCK TABLES, EVENT ON `iasst`.* TO 'ia... | wzx-xle/iAsst | iAsst-web/src/sql/create-user.sql | SQL | gpl-2.0 | 396 |
/*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | admo/aria | aria/java/ArDPPTU.java | Java | gpl-2.0 | 10,851 |
<?php
/**********************************************************************************
*
* #####
* # # ##### ## ##### # # #### ###### # # #### # # # ######
* # # # # # # # # # ## # # # # ## # #
* ##### # # # # # # #### ##### # # #... | nook24/statusengine | cakephp/app/Console/Command/Task/GraphiteBackendTask.php | PHP | gpl-2.0 | 5,656 |
<?php
// Global variables
global $map_count, $ish_options;
$map_count++;
// Default SC attributes
$defaults = array(
'color' => '',
'zoom' => '15',
'invert_colors' => '',
'height' => '',
);
// Extract all attributes
$sc_atts = $this->extract_sc_attributes( $defaults, $atts );
// Add ID if empty... | tywzdbsd/wp_yanze | wp-content/plugins/ishyoboy-boldial-assets/ishyoboy-shortcodes/assets/backend/vc_extend/shortcodes_templates/ish_map.php | PHP | gpl-2.0 | 2,476 |
<?php
class acf_Wysiwyg extends acf_Field
{
/*--------------------------------------------------------------------------------------
*
* Constructor
*
* @author Elliot Condon
* @since 1.0.0
* @updated 2.2.0
*
*------------------------------------------------------------------------------------... | SAEBelgradeWeb/vencanje | wp-content/plugins/acf-master/core/fields/wysiwyg.php | PHP | gpl-2.0 | 7,948 |
<HTML>
<!-- Mirrored from www.w3schools.com/php/showphpcode.asp?source=demo_func_simplexml_addchild by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:36:12 GMT -->
<HEAD></HEAD>
<FONT FACE="'Courier New',Verdana, Arial, Helvetica" SIZE=2>
<!DOCTYPE html><br><html><br><body><br><br><FONT COLOR=... | platinhom/ManualHom | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/php/showphpcode1e75.html | HTML | gpl-2.0 | 1,185 |
/***************************************************************
* Name: RectShape.h
* Purpose: Defines rectangular shape class
* Author: Michal Bližňák (michal.bliznak@tiscali.cz)
* Created: 2007-07-22
* Copyright: Michal Bližňák
* License: wxWidgets license (www.wxwidgets.org)
* Notes:
*... | zuzanak-ondrej/codelite_appmonitor | sdk/wxshapeframework/include/wx/wxsf/RectShape.h | C | gpl-2.0 | 7,562 |
// File: $Id: opbranch.h,v 1.1 2001/10/27 22:34:09 ses6442 Exp p334-70f $
// Author: Benjamin Meyer
// Contributor: Sean Sicher
// Discription: Branch module for
// Revisions:
// $Log: opbranch.h,v $
// Revision 1.1 2001/10/27 22:34:09 ses6442
// Initial revision
//
... | icefox/smada | smadatron/opbranch.h | C | gpl-2.0 | 569 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ESPSharp.Enums
{
public enum PackageScheduleDays : sbyte
{
Any = -1,
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
... | TaleOfTwoWastelands/ESPSharp | ESPSharp/Enums/PackageScheduleDays.cs | C# | gpl-2.0 | 417 |
# zoomzoomzoom.js
Simple zoom tool for images inside of DIVs. A very small script that is heavily dependent on its HTML structure. Designed to only work in Chrome.
| levi/zoomzoomzoom.js | README.md | Markdown | gpl-2.0 | 164 |
<?php
/**
* @package Adminimize
* @subpackage Backend Options
* @author Frank Bültge
*/
if ( ! function_exists( 'add_action' ) ) {
echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
exit;
}
?>
<div id="poststuff" class="ui-sortable meta-box-sortables">
<div class="postbox"... | overneath42/wp-custom-install | wp-content/plugins/adminimize/inc-options/backend_options.php | PHP | gpl-2.0 | 14,171 |
<?php
/**
* Footer functions.
*
* @package Sento
*/
/* ----------------------------------------------------------------------------------
FOOTER WIDGETS LAYOUT
---------------------------------------------------------------------------------- */
/* Assign function for widget area 1 */
function thinkup_input_foot... | JulioKno/Portal-UNIVIM-2016 | wp-content/themes/sento/admin/main/options/04.footer.php | PHP | gpl-2.0 | 8,650 |
<script>
var panels = new Array();
function addcattab(id, text, title)
{
var ccc = document.getElementById('categories');
var tab_id = id + '-tab';
var tab_title = (title) ? (' title="' + title + '"') : '';
var _li = document.createElement('li');
_li.id = tab_id;
_li.className = 'tab';
_li.innerHTML =... | Tatiana5/CategoriesInTabs | styles/prosilver/template/event/index_body_markforums_after.html | HTML | gpl-2.0 | 929 |
/*
Copyright (C) 2005 Michael K. McCarty & Fritz Bronner
This program 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 of the License, or
(at your option) any later version.
... | raceintospace/raceintospace-cvs | future.c | C | gpl-2.0 | 27,931 |
# SSClusterViewer/app
This folder contains the javascript files for the application.
# SSClusterViewer/resources
This folder contains static resources (typically an `"images"` folder as well).
# SSClusterViewer/overrides
This folder contains override classes. All overrides in this folder will be
automatically inc... | marcos-garcia/smartsantanderdataanalysis | sswebpage/SSClusterViewer/Readme.md | Markdown | gpl-2.0 | 1,343 |
---
layout: post
title: Objectify and strange errors with GWT serializations
date: '2013-04-04T09:15:00.003-07:00'
author: David Hatanian
tags:
modified_time: '2013-04-04T09:15:34.396-07:00'
blogger_id: tag:blogger.com,1999:blog-5219665179084602082.post-7455732729975892877
blogger_orig_url: http://david-codes.blogspot.... | dhatanian/dhatanian.github.io | _posts/2013-04-04-objectify-and-strange-errors-with-gwt.html | HTML | gpl-2.0 | 1,528 |
TARGET = rlm_utf8
SRCS = rlm_utf8.c
HEADERS =
RLM_CFLAGS =
RLM_LIBS =
include ../rules.mak
$(STATIC_OBJS): $(HEADERS)
$(DYNAMIC_OBJS): $(HEADERS)
| gentoo/freeradius-server | src/modules/rlm_utf8/Makefile | Makefile | gpl-2.0 | 154 |
// Copyright (C) 1999-2000 Id Software, Inc.
//
#include "ui_local.h"
/*********************************************************************************
SPECIFY SERVER
*********************************************************************************/
#define MAX_LISTBOXITEMS 128
#define MAX_LISTBOXWIDTH 4... | tectronics/battle-of-the-sexes | reference/bots_q3_127/code/q3_ui/ui_specifyleague.c | C | gpl-2.0 | 9,959 |
<div class="tx-test-extension">
<f:render section="main" />
</div> | ahmedRguei/job | typo3conf/ext/extension_builder/Tests/Fixtures/TestExtensions/test_extension/Resources/Private/Layouts/Default.html | HTML | gpl-2.0 | 68 |
/*
* Copyright 2010, Intel Corporation
*
* This file is part of PowerTOP
*
* This program file 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; version 2 of the License.
*
* This program is distributed... | AllenDou/powertop | src/calibrate/calibrate.cpp | C++ | gpl-2.0 | 9,814 |
/* This file is part of the KDE project
Copyright (C) 2007, 2012 Dag Andersen danders@get2net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (a... | wyuka/calligra | plan/libs/ui/kptdocumentseditor.cpp | C++ | gpl-2.0 | 9,173 |
#ifndef GRAPHICS_FX_H
#define GRAPHICS_FX_H
#include "video/video.h" // PlayerVisual
#include "game/game_data.h" // Player
#include "game/camera.h" // Camera
#include "video/nebu_video_types.h" // Visual
void drawImpact(int player);
void drawGlow(PlayerVisual *pV, Player *pTarget, float dim);
#endif
| sugao516/gltron-code | src/include/video/graphics_fx.h | C | gpl-2.0 | 304 |
/**
* Copyright (C) 2004 - 2012 Nils Asmussen
*
* This program 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
* of the License, or (at your option) any later version.
*
* This program... | script-solution/BBCodeEditor | bbcodeeditor/control/actions/AddImageAction.java | Java | gpl-2.0 | 2,158 |
<?php
/**
*
*/
# Define namespace
namespace WCFE\Modules\Editor\View\Editor\Templates\Tabs\Tabs;
# Imports
use WCFE\Modules\Editor\View\Editor\Templates\Tabs\FieldsTab;
/**
*
*/
class MultiSiteOptionsTab extends FieldsTab {
/**
* put your comment there...
*
* @var mixed
*/
protected $fieldsPluggableFilter... | kinko912000/public_html | wp-content/plugins/wp-config-file-editor/Modules/Editor/View/Editor/Templates/Tabs/Tabs/MultiSite.class.php | PHP | gpl-2.0 | 957 |
<?php
/***************************************************************************
*
* This program 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 of the License, or
* (at your o... | maudigan/charbrowser | factions.php | PHP | gpl-2.0 | 7,654 |
var elixir = require('laravel-elixir');
var gulp = require("gulp");
require('laravel-elixir-wiredep');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, f... | levofski/web-2-cv | gulpfile.js | JavaScript | gpl-2.0 | 1,696 |
package com.onkiup.minedroid;
import com.onkiup.minedroid.gui.resources.*;
import com.onkiup.minedroid.gui.MineDroid;
/**
* This class is auto generated.
* Manually made changes will be discarded.
**/
public final class R {
final static String MODID = "minedroid";
public final static class id {
public final sta... | chedim/minedriod | src/main/java/com/onkiup/minedroid/R.java | Java | gpl-2.0 | 7,740 |
package thesis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import termo.component.Compound;
import termo.eos.Cubic;
import termo.eos.EquationsOfState;
import termo.eos.alpha.Alphas;
import termo.matter.Mixture;
import termo.matte... | HugoRedon/thesis-examples | src/main/java/thesis/CubicFileGenerator.java | Java | gpl-2.0 | 4,031 |
/*
* FileBrowser.cpp - implementation of the project-, preset- and
* sample-file-browser
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - http://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify i... | badosu/lmms | src/gui/FileBrowser.cpp | C++ | gpl-2.0 | 22,711 |
/*
* Copyright (c) 2002-2009 BalaBit IT Ltd, Budapest, Hungary
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* Note that this permission is granted for only version 2 of t... | ystk/debian-syslog-ng | src/gprocess.c | C | gpl-2.0 | 37,305 |
<div id="forum_points_options">
<fieldset>
<legend>{{ lang('FORUM_POINT_SETTINGS') }}</legend>
<p>{{ lang('FORUM_POINT_SETTINGS_EXPLAIN') }}</p>
<dl>
<dt><label>{{ lang('FORUM_PERTOPIC') }}{{ lang('COLON') }}</label><br/><span>{{ lang('FORUM_PERTOPIC_EXPLAIN') }}</span>
</dt>
<dd><input type="text" id="... | dmzx/Ultimate-Points-Extension | adm/style/event/acp_forums_normal_settings_prepend.html | HTML | gpl-2.0 | 1,838 |
# -*- coding: utf-8 -*-
"""
Created on Tue May 28 12:20:59 2013
=== MAYAXES (v1.1) ===
Generates a set of MayaVI axes using the mayavi.mlab.axes() object with a
white background, small black text and a centred title. Designed to better
mimic MATLAB style plots.
Unspecified arguments will be set to default values... | Nate28/mayaxes | mayaxes.py | Python | gpl-2.0 | 6,007 |
/*
This file is a part of the Depecher (Telegram client)
Copyright (C) 2017 Alexandr Akulich <akulichalexander@gmail.com>
This program 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 ve... | depecher/depecher | main.cpp | C++ | gpl-2.0 | 1,505 |
<?php
/**
* @version 1.0.0
* @package com_farmapp
* @copyright Copyright (C) 2012. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Created by com_combuilder - http://www.notwebdesign.com
*/
// No direct access.
defined('_JEXEC') or die;
... | yogendra9891/farmapplication | administrator/components/com_farmapp/controllers/crops.php | PHP | gpl-2.0 | 4,429 |
<?php
namespace Drupal\search_api_autocomplete\Suggestion;
use Drupal\Core\Render\RenderableInterface;
/**
* Defines a single autocompletion suggestion.
*/
interface SuggestionInterface extends RenderableInterface {
/**
* Retrieves the keywords this suggestion will autocomplete to.
*
* @return string|n... | NickGH/agronomia | web/modules/contrib/search_api_autocomplete/src/Suggestion/SuggestionInterface.php | PHP | gpl-2.0 | 4,087 |
/*
* PROJECT: Boot Loader
* LICENSE: BSD - See COPYING.ARM in the top level directory
* FILE: boot/armllb/hw/versatile/hwclcd.c
* PURPOSE: LLB CLCD Routines for Versatile
* PROGRAMMERS: ReactOS Portable Systems Group
*/
#include "precomp.h"
#define LCDTIMING0_PPL(x) ((((... | GreenteaOS/Kernel | third-party/reactos/boot/armllb/hw/versatile/hwclcd.c | C | gpl-2.0 | 1,933 |
<?php
/**
* @package FrameworkOnFramework
* @subpackage database
* @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* This file is adapted from the Joomla! Platform. It is u... | alessandrorusso/Furia | libraries/fof/database/query/pdomysql.php | PHP | gpl-2.0 | 687 |
/*
* Copyright (C) 2011 ST-Ericsson SA.
* Copyright (C) 2009 Motorola, Inc.
*
* License Terms: GNU General Public License v2
*
* Simple driver for National Semiconductor LM3530 Backlight driver chip
*
* Author: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com>
* based on leds-lm3530.c by Dan M... | Jackeagle/android_kernel_sony_c2305 | drivers/leds/leds-lm3530.c | C | gpl-2.0 | 13,280 |
package sergio;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Calendar;
import java.util.GregorianCalendar;
//Ejercicio Metodos 18
//Realiza una clase llamada milibreria que contenga al menos cinco de los metodos realizados.
//Usalas de 3 formas diferent... | set92/Small-Programs | Java/CFGS/Interfaces-Ejercicios/Ejercicios propuestos de metodos/sergio/EjerMetods18.java | Java | gpl-2.0 | 3,147 |
@import judgels.fs.FileInfo
@import org.iatoki.judgels.sandalphon.problem.programming.grading.blackbox.BatchGradingConfigForm
@import play.api.mvc.Call
@(batchGradingConfigForm: Form[BatchGradingConfigForm], postUpdateGradingConfigCall: Call, testDataFiles: List[FileInfo], helperFiles: List[FileInfo])
@implicitFieldC... | ia-toki/judgels | judgels-backends/sandalphon/sandalphon-app/app/org/iatoki/judgels/sandalphon/problem/programming/grading/blackbox/batchGradingConfigView.scala.html | HTML | gpl-2.0 | 12,567 |
#!/bin/sh
#
# Support routines for hand-crafting weird or malicious packs.
#
# You can make a complete pack like:
#
# pack_header 2 >foo.pack &&
# pack_obj e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 >>foo.pack &&
# pack_obj e68fe8129b546b101aee9510c5328e7f21ca1d18 >>foo.pack &&
# pack_trailer foo.pack
# Print th... | bboyfeiyu/git | t/lib-pack.sh | Shell | gpl-2.0 | 2,593 |
#region
using System.Collections.Generic;
using System.Data;
using Albian.Persistence.Model;
#endregion
namespace Albian.Persistence.Context
{
public interface IStorageContext
{
string StorageName { get; set; }
IList<IFakeCommandAttribute> FakeCommand { get; set; }
IDbC... | xvhfeng/albian | Albian.Persistence/Context/IStorageContext.cs | C# | gpl-2.0 | 514 |
/**
* $Id$
* Copyright (C) 2008 - 2014 Nils Asmussen
*
* This program 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
* of the License, or (at your option) any later version.
*
* This... | Nils-TUD/Escape | source/lib/esc/dns.cc | C++ | gpl-2.0 | 5,678 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1">
<title>PushReceiver</title>
<link rel="stylesheet" href="style.css"/>
<!-- Inline scripts are forbidden in Firefox OS apps (CSP restrictions),
so we ... | royneary/mod_push_test | mozilla-push/Firefox OS/PushReceiver/index.html | HTML | gpl-2.0 | 627 |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 app... | rex-xxx/mt6572_x201 | frameworks/av/include/media/AudioRecord.h | C | gpl-2.0 | 17,125 |
<?php /* included from WPML_Translation_Management::icl_dashboard_widget_content */?>
<p><?php if ($docs_sent)
printf(__('%d documents sent to translation.<br />%d are complete, %d waiting for translation.', 'wpml-translation-management'),
$docs_sent... | ilfungo/stefanopierini | wp-content/plugins/wpml-translation-management/menu/_icl_dashboard_widget.php | PHP | gpl-2.0 | 5,985 |
<HEAD><TITLE>rle.sp</TITLE></HEAD>
<BODY>
<HR><DIV ALIGN="center"><H1> File : rle.sp </H1></DIV><HR>
<DIV ALIGN="center">
<TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="80%" SUMMARY="">
<TR>
<TD BGCOLOR="black"><SPAN STYLE="color: #00CC00">
<PRE>
$ spar rle
12W1B12W3B24W1B14W
WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWW... | kburtch/SparForte | examples/rle.html | HTML | gpl-2.0 | 3,557 |
# Install script for directory: /home/parallels/new-pi/utils
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/usr/local")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.... | leftarm/pi-io | build/utils/cmake_install.cmake | CMake | gpl-2.0 | 1,157 |
#include <cstdio>
#include <cstdlib>
#include <cstdarg>
#include <cstring>
#include "../../Port.h"
#include "../../NLS.h"
#include "../GBA.h"
#include "../GBAGlobals.h"
#include "../GBAinline.h"
#include "../GBACheats.h"
#include "GBACpu.h"
#include "../GBAGfx.h"
#include "../GBASound.h"
#include "../EEprom.h"
#includ... | TASVideos/vba-rerecording | src/gba/V8/GBA.cpp | C++ | gpl-2.0 | 91,319 |
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(SpriteRenderer))]
public class SpriteRandomiser : MonoBehaviour {
[System.Serializable]
public class PossibleState
{
public Sprite texture = null;
public Color color = Color.white;
};
public PossibleState[] possibleStates = new PossibleS... | Almax27/LD31 | Assets/Scripts/Utility/SpriteRandomiser.cs | C# | gpl-2.0 | 759 |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | EpicPonyTeam/RarityUpdater | AppTestDeployment/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 2,393 |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!... | junjiemao/junjiemao.github.com | stage/_layouts/post.html | HTML | gpl-2.0 | 4,146 |
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Session;
using System.Threading.Tasks;
using MediaBrowser.Model.Services;
namespace MediaBrowser.Controller.Net
{
public interface ISessionContext
{
Task<SessionInfo> GetSession(object requestContext);
Task<User> GetUser(ob... | jose-pr/Emby | MediaBrowser.Controller/Net/ISessionContext.cs | C# | gpl-2.0 | 469 |
/* About Css */
body {
-webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
-webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
-webkit-user-select: none; /* prevent copy paste, to allow, change 'none' t... | JaydenMajor/expence_tracker | www/css/aboutExpense.css | CSS | gpl-2.0 | 1,490 |
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
#define MAX_SIZE 1010
int getarray(int a[])
{
int i=0,count;
scanf("%d",&count);
for(; i<count ; i++)
scanf("%d",&a[i]);
return count;
}
int find(int a[], int n, int val)
{
int i,true=0;
for(i=0; i<n... | zning1994/practice | Program/CLanguage/exp/exp7/exA.c | C | gpl-2.0 | 890 |
<section id="options">
<?php
$terms = array();
$vid = NULL;
$vid_machine_name = 'portfolio_categories';
$vocabulary = taxonomy_vocabulary_machine_name_load($vid_machine_name);
if (!empty($vocabulary->vid)) {
$vid = $vocabulary->vid;
}
if (!empty($vid)) {
$terms = taxonomy_get_tree($vid);
}
?... | emperorcow/chaosbrewclub | sites/all/modules/tabvn/portfolio/portfolio_filter.tpl.php | PHP | gpl-2.0 | 791 |
/**
* jBorZoi - An Elliptic Curve Cryptography Library
*
* Copyright (C) 2003 Dragongate Technologies Ltd.
*
* This program 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... | HateBreed/old-codes-from-studies | cryptoclient_in_java/com/dragongate_technologies/borZoi/ECPrivKey.java | Java | gpl-2.0 | 2,027 |
<!DOCTYPE html>
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-US">
<title>My Family Tree - Sanchez, John</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="apple-mobile... | belissent/testing-example-reports | gramps42/gramps/example_NAVWEB0/ppl/e/0/9I6KQCF5N90G0VRI0E.html | HTML | gpl-2.0 | 10,470 |
/*
The GTKWorkbook Project <http://gtkworkbook.sourceforge.net/>
Copyright (C) 2008, 2009 John Bellone, Jr. <jvb4@njit.edu>
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
v... | johnbellone/gtkworkbook | src/realtime/Realtime.cpp | C++ | gpl-2.0 | 10,844 |
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://machines.plannedobsolescence.net/149-2007" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>postmodernism - apathy</title>
<link>http://machines.plannedobsolescence.net/149-2007/taxonomy/term/72/0</link>
<description></descriptio... | kfitz/machines | 149-2007/taxonomy/term/72/0/feed/index.html | HTML | gpl-2.0 | 1,441 |
/***************************************************************************
qgscalloutwidget.cpp
---------------------
begin : July 2019
copyright : (C) 2019 by Nyall Dawson
email : nyall dot dawson at gmail dot com
*****************************************... | JamesShaeffer/QGIS | src/gui/callouts/qgscalloutwidget.cpp | C++ | gpl-2.0 | 15,015 |
/*
* ws2san.h
*
* WinSock Direct (SAN) support
*
* This file is part of the w32api package.
*
* Contributors:
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distrib... | alji2106/CS1300Terminal | include/ddk/ws2san.h | C | gpl-2.0 | 6,546 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to th... | upenn-acg/REMIX | jvm-remix/openjdk/jdk/src/share/classes/java/util/concurrent/atomic/AtomicMarkableReference.java | Java | gpl-2.0 | 7,816 |
(function ($) {
$(document).ready(function(){
$("#edit-title-0-value").change(update);
$("#edit-field-carac1-0-value").click(update);
$("#edit-field-carac1-0-value").change(update);
$("#edit-field-carac2-0-value").change(update);
$("#edit-field-carac3-0-value").change(update);
$("#edit-field-carac4-0-val... | TGR05/POEI-mini-projet | modules/custom/cardform/js/gamecards.js | JavaScript | gpl-2.0 | 6,227 |
<?php
/**
* @package WordPress
* @subpackage HTML5-Reset-WordPress-Theme
* @since HTML5 Reset 2.0
Template Name: Groups
*/
get_header(); ?>
<div class="content-background">
<div id="content-wrap">
<div class="grid">
<div class="col col-1-4">
<?php wp_nav_menu( array('menu' => 'Groups Menu', '... | markfaust/snowstar | wp-content/themes/snowstar/groups.php | PHP | gpl-2.0 | 1,854 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | davividal/sistema-bomba | Caixa/Caixa/Properties/Resources.Designer.cs | C# | gpl-2.0 | 2,769 |
/*
* Copyright (C) 2019 Paul Davis <paul@linuxaudiosystems.com>
*
* This program 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
* of the License, or (at your option) any later version.
... | tartina/ardour | libs/ardour/ardour/transport_api.h | C | gpl-2.0 | 1,784 |
/*
* Copyright (C) 2015-2016 FixCore <FixCore Develops>
*
* This program 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 of the License, or (at your
* option) any later version.
*
* Th... | Desarrollo-zeros/ZerosCore | src/server/game/AI/CoreAI/GameObjectAI.h | C | gpl-2.0 | 2,867 |
/****************************************************************************
**
** This file is part of the Qtopia Opensource Edition Package.
**
** Copyright (C) 2008 Trolltech ASA.
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public Licen... | muromec/qtopia-ezx | src/plugins/viewers/generic/browser.h | C | gpl-2.0 | 2,706 |
/*
* Turbo Sliders++
* Copyright (C) 2013-2014 Martin Newhouse
*
* This program 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 of the License, or
* (at your option) any later version.
... | mnewhouse/tspp | src/resources/track_metadata.hpp | C++ | gpl-2.0 | 1,222 |
package edu.stanford.nlp.time;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Map;
import java.util.regex.Pattern;
import edu.stanford.nlp.util.Pair;
import org.w3c.dom.Element;
/**
* Stores one TIMEX3 expression. This class is used for both TimeAnnotator and
* GUTimeAnnotator for storin... | rupenp/CoreNLP | src/edu/stanford/nlp/time/Timex.java | Java | gpl-2.0 | 19,256 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* This file is part of guh. *
* *
* Guh is f... | mzanetti/guh | plugins/deviceplugins/openweathermap/devicepluginopenweathermap.cpp | C++ | gpl-2.0 | 17,008 |
/*************************************************************************/ /*!
@File
@Title Services definitions required by external drivers
@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
@Description Provides services data structures, defines and prototypes
required b... | jmztaylor/android_kernel_amazon_ariel | drivers/gpu/mt8135/rgx_1.3_2876724/include/servicesext.h | C | gpl-2.0 | 7,801 |
<!DOCTYPE html>
<html>
<!-- Mirrored from www.w3schools.com/jquery/tryjquery_sel_lastoftypediff.htm by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:35:39 GMT -->
<head>
<script src="../../ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("bu... | platinhom/ManualHom | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/jquery/tryjquery_sel_lastoftypediff.html | HTML | gpl-2.0 | 1,591 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE">
<meta http-equiv="Content-Type... | ForAEdesWeb/AEW25 | logs/meng/q0502601.html | HTML | gpl-2.0 | 17,668 |
ExpData_plot2
=============
| erebuslabs/ExpData_plot2 | README.md | Markdown | gpl-2.0 | 28 |
<HTML>
<HEAD>
<TITLE> Paint by Numbers - 32x32 #27</TITLE>
</HEAD>
<BODY>
<h1> Paint by Numbers - 32x32 #27</h1>
<p>
<applet
code=PBN10a.class
name=Paint by Numbers
width=616
height=556 >
<param name=filename value=32x32/bridge.xbm>
<param name=solved value=false>
</applet>
<p>
Each number to the ... | alijc/Paint-by-numbers | pbn-bnw/g32x32-27.html | HTML | gpl-2.0 | 1,035 |
#!/usr/bin/env python
#
# Copyright (C) 2007 Sascha Peilicke <sasch.pe@gmx.de>
#
# This program 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
# of the License, or (at your option) any later ... | saschpe/gnome_picross | gnomepicross/game.py | Python | gpl-2.0 | 5,836 |
/*
* Copyright (C) 2001-2015 Jacek Sieka, arnetheduck on gmail point com
*
* This program 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 of the License, or
* (at your option) any ... | airdcnano/airdcnano | client/Mapper_WinUPnP.cpp | C++ | gpl-2.0 | 5,723 |
<?php
/*******************************************************************************
* HA2.php
* year : 2014
*
* The HA2 algorithm is a combination between two algorithms (CBA and WBA), where
* the first one is based on the language characters, and the second one is
* based on the language and common words. T... | xprogramer/Language-Identification | HA2.php | PHP | gpl-2.0 | 5,238 |
/*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2007-2016 Minnesota Department of Transportation
* Copyright (C) 2014 AHMCT, University of California
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | CA-IRIS/mn-iris | src/us/mn/state/dot/tms/server/comm/CameraPoller.java | Java | gpl-2.0 | 1,437 |
# WordPlay
Word Play is basic two player game that removes the letters from a word where the other play is the guess the original word.
Word Play is one the first games that made, definitely the first use looping as base.
WordPlay is considered to complete and will not change.
| PhilipColman/WordPlay | README.md | Markdown | gpl-2.0 | 280 |
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistribu... | ajhager/copycat | lib/pyglet/window/__init__.py | Python | gpl-2.0 | 65,226 |
/*
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | qtekfun/htcDesire820Kernel | external/libvpx/libvpx/vp8/encoder/block.h | C | gpl-2.0 | 3,672 |
// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// **********************************************************************
#include <Ice/Ice.h>
#include <IceGrid/IceGrid.h>
#include <Hello.h>
using namespace std;
using namespac... | lejingw/ice-java | cpp/IceGrid/customLocator/Client.cpp | C++ | gpl-2.0 | 2,877 |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Luayats: src/win/winobj.h Source File</title>
<link href="tabs.css" rel... | hleuwer/luayats | doc/cpp/html/winobj_8h_source.html | HTML | gpl-2.0 | 26,742 |
<?php
/** ---------------------------------------------------------------------
* JavascriptLoadManager.php : class to control loading of Javascript libraries
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* ----------------... | avpreserve/nfai | app/lib/ca/JavascriptLoadManager.php | PHP | gpl-2.0 | 6,453 |
<?php
/**
* @package Joomla.Site
* @subpackage mod_menu
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
<<<<<<< HEAD
// Note. It is important to remove spaces... | JoomliC/joomla-cms | modules/mod_menu/tmpl/default_separator.php | PHP | gpl-2.0 | 1,436 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.