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 |
|---|---|---|---|---|---|
//////////////////////////////////////////////////////////////////////////////
// oxygensizegrip.cpp
// bottom right size grip for borderless windows
// -------------------
//
// Copyright (c) 2009 Hugo Pereira Da Costa <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a... | mgottschlag/kwin-tiling | kwin/clients/oxygen/oxygensizegrip.cpp | C++ | gpl-2.0 | 6,748 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace gokiTagDB
{
public class Settings
{
public static float[] zoomLevels = new float[7] { .25f, .50f, .75f, 1.0f, 1.25f, 1.5f, 2.0f };
public static int[] updateIntervals = n... | gokiburikin/gokiTagDB | gokiTagDB/Settings.cs | C# | gpl-2.0 | 3,782 |
using JBB.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JBB.DAL.EF
{
public class JBInitializer : System.Data.Entity.DropCreateDatabaseIfModelChanges<JBContext>
{
protected override void Seed(JBContext context)
{
//base.S... | relyah/JB | JobBourseBackend/JBB.DAL.EF/JBInitializer.cs | C# | gpl-2.0 | 1,266 |
<link href="./resource/style/emoji.css" rel="stylesheet">
<style>
.icon-selection h3{padding-left:1em;padding-bottom:0.2em}
.icon-selection a{display:block;float:left;overflow:hidden;margin:3px;padding:5px;border:1px #EEE solid;}
.icon-selection a:hover{text-decoration:none; border-color:rgb(66, 139, 202);}
.icon-selec... | JoelPub/wordpress-amazon | order/themes/web/default/site/emoji.html | HTML | gpl-2.0 | 111,701 |
{{#each this}}
<dl>
<dt>ID: {{this}}</dt>
<dd><button data-sincro-id="{{this}}" type="button" class="btn btn-md btn-default sincro-resultados-btn"><span class="glyphicon glyphicon-send" data-sincro-id="{{this}}"></span></button></dd>
{{/each}}
| mrvik/estudio | cont/sincro-resultados.html | HTML | gpl-2.0 | 249 |
/****************************************************************************
Copyright 2011 Jeff Lamarche
Copyright 2012 Goffredo Marocchi
Copyright 2012 Ricardo Quesada
Copyright 2012 cocos2d-x.org
Copyright 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charg... | SubwayRocketTeam/Prototype | cocos2d/cocos/renderer/CCGLProgram.h | C | gpl-2.0 | 14,252 |
package com.tachys.moneyshare.dataaccess.db.contracts;
import android.provider.BaseColumns;
public class SettlementContract {
public SettlementContract() {
}
public static class SettlementEntry implements BaseColumns {
public static final String TABLE_NAME = "settlement";
public static fi... | StrawHatPirates/MoneyShare | src/app/src/main/java/com/tachys/moneyshare/dataaccess/db/contracts/SettlementContract.java | Java | gpl-2.0 | 502 |
<?php
namespace UmnLib\Core\XmlRecord;
class NlmCatalog extends Record
{
// Must be an id type that uniquely identifies the record,
// usually the record-creating organization's id.
public static function primaryIdType()
{
return 'nlm';
}
// Must return array( 'type' => $type, 'value' => $value ) pa... | UMNLibraries/xml-record-php | src/NlmCatalog.php | PHP | gpl-2.0 | 1,268 |
my_inf = float('Inf')
print 99999999 > my_inf
# False
my_neg_inf = float('-Inf')
print my_neg_inf < -99999999
# True
| jabbalaci/PrimCom | data/python/infinity.py | Python | gpl-2.0 | 118 |
cmd_kernel/irq/handle.o := arm-linux-gnueabi-gcc -Wp,-MD,kernel/irq/.handle.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/include -Iinclude -I/home/benoit/kernel_android/32/es209ra/arch/arm/include -include include/linux/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Wall -Wund... | b8e5n/KTG-kernel_es209ra | kernel/irq/.handle.o.cmd | Batchfile | gpl-2.0 | 21,499 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, [email protected]
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | pdebuyl/lammps | src/RIGID/fix_rigid.cpp | C++ | gpl-2.0 | 91,201 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ResourceList.cs" company="Tygertec">
// Copyright © 2016 Ty Walls.
// All rights reserved.
// </copyright>
// <summary>
// Defines the ResourceList type.
// </summary>
// --... | tygerbytes/ResourceFitness | TW.Resfit.Core/ResourceList.cs | C# | gpl-2.0 | 2,524 |
package mnm.mcpackager.gui;
import java.io.File;
import javax.swing.filechooser.FileFilter;
public class JarFilter extends FileFilter {
@Override
public boolean accept(File f) {
if (f.isDirectory())
return true;
return getExtension(f).equalsIgnoreCase("jar");
}
@Override... | killjoy1221/MCPatcher-Repackager | src/main/java/mnm/mcpackager/gui/JarFilter.java | Java | gpl-2.0 | 656 |
/***************************************************************************
* Copyright (C) 2008-2017 by Andrzej Rybczak *
* [email protected] *
* *
* This pr... | KoffeinFlummi/ncmpcpp-vim | src/curses/menu.h | C | gpl-2.0 | 16,896 |
<?php
/** ---------------------------------------------------------------------
* app/lib/core/BaseModel.php :
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------------------------... | avpreserve/nfai | admin/app/lib/core/BaseModel.php | PHP | gpl-2.0 | 355,871 |
/* This file is part of calliope.
*
* calliope 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.
*
* calliope is distributed ... | discoverygarden/calliope | src/calliope/handler/post/AeseXMLImportHandler.java | Java | gpl-2.0 | 5,684 |
/*
* 13.5.1 Thread Creation Scheduling Parameters, P1003.1c/Draft 10, p. 120
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LIC... | yangxi/omap4m3 | cpukit/posix/src/pthreadattrsetschedparam.c | C | gpl-2.0 | 635 |
/****************************************************************
* This file is distributed under the following license:
*
* Copyright (C) 2010, Bernd Stramm
*
* 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 ... | berndhs/chronicon | chronicon/src/shortener.cpp | C++ | gpl-2.0 | 3,400 |
<?php // $Id$
require_once("../../config.php");
require_once("lib.php");
require_once($CFG->libdir.'/gradelib.php');
$id = required_param('id', PARAM_INT); // course
if (! $course = get_record("course", "id", $id)) {
error("Course ID is incorrect");
}
require_course_login($cour... | IOC/moodle19 | mod/assignment/index.php | PHP | gpl-2.0 | 4,258 |
void RedboxFactory::add (Addr addr, ActionType t)
{
switch (t)
{
case ActionType::RD8 :
return add_read (addr, 1);
case ActionType::RD16 :
return add_read (addr, 2);
case ActionType::RD32 :
return add_read (addr, 4);
case ActionType::RD64 :
return add_read (addr, 8);
case A... | cesaro/dpu | src/redbox-factory.hpp | C++ | gpl-2.0 | 3,512 |
///**
// * ClassName: MainTest.java
// * Date: 2017年5月16日
// */
//package com.ojdbc.sql.test;
//
//import java.sql.Connection;
//import java.sql.SQLException;
//
//import com.ojdbc.sql.ConnectionObject;
//import com.ojdbc.sql.DataBase;
//import com.ojdbc.sql.DataBaseEnum;
//import com.ojdbc.sql.DataBaseMana... | shaogaige/iDataBaseConnection | src/com/ojdbc/sql/test/MainTest.java | Java | gpl-2.0 | 2,468 |
/*
* =====================================================================================
*
* Filename: bmp_pixmap_fill.cpp
*
* Description: Fill the whole bmp with one color.
*
* Version: 1.0
* Created: 2009年04月11日 16时45分26秒
* Revision: none
* Compiler: gcc
*
* ... | iven/dip | src/bmp_pixmap/bmp_pixmap_fill.cpp | C++ | gpl-2.0 | 1,440 |
// This file is part of VideoPad.
//
// VideoPad 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.
//
// VideoPad is dist... | nonoo/videopad | DirectShow/AudioCaptureDevice.h | C | gpl-2.0 | 1,898 |
'use strict';
angular.module('eshttp')
.filter('unixtostr', function() {
return function(str){
var dt;
dt = Date.create(str * 1000).format('{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}');
if (dt == "Invalid Date") {
return 'N/A';
} else {
return dt;
}
};
}... | fangli/eshttp | eshttp_webmanager/cloudconfig/static/filters/unixtostr.js | JavaScript | gpl-2.0 | 323 |
#include "thanks.h"
//
// EternityProject Public message START:
//
- To the "developers" like franciscofranco:
Are you able to work on your own?
Also, if you want to badly copy my commits, can you at least give credits
to the proprietary of the commit you're copying?
We're an opensource community, we do this for fre... | kozmikkick/eternityprj-kernel-endeavoru-128 | arch/arm/mach-tegra/EternityProject.c | C | gpl-2.0 | 827 |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Microsoft;
use PHPExiftool\Driver\AbstractTag;
class D... | Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/Microsoft/Duration.php | PHP | gpl-2.0 | 707 |
#ifndef __STACK_TESTS_H_INCLUDED__
#define __STACK_TESTS_H_INCLUDED__
//-------------------------------------
#include "../CppTest/cpptest.h"
#include "../Raple/Headers/Stack.h"
//-------------------------------------
//-------------------------------------
#ifdef _MSC_VER
#pragma warning (disable: 4290)
#endif
//--... | rodionovstepan/raple | src/Tests/StackTests.h | C | gpl-2.0 | 1,631 |
# Install script for directory: /home/hscore
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/home/root/hswow")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
IF(NOT DE... | Diabloxx/HS-WoW2 | src/cmake_install.cmake | CMake | gpl-2.0 | 1,800 |
#ifndef CONTROLPANEL_INCLUDED
#define CONTROLPANEL_INCLUDED
#include <qwidget.h>
//Added by qt3to4:
#include <Q3GridLayout>
#include <list>
#include <q3frame.h>
#include <qlayout.h>
#include <qlabel.h>
class Control;
class MetaGear;
class GearControl;
class ControlPanel : public QWidget
{
public:
ControlPanel(QWi... | sofian/drone | src/core/ControlPanel.h | C | gpl-2.0 | 742 |
%!TEX root = ../MC_SS17.tex
\section{Büchi-Automaten}
\label{sec:para5}
\nextlecture
\cleardoubleoddemptypage | JaMeZ-B/latex-wwu | MC_SS17/content/05.tex | TeX | gpl-2.0 | 112 |
/*
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'colordialog', 'en-gb', {
clear: 'Clear',
highlight: 'Highlight',
options: 'Colour Options',
selected: 'Selected Colour',
titl... | WBCE/WebsiteBaker_CommunityEdition | wbce/modules/ckeditor/ckeditor/plugins/colordialog/lang/en-gb.js | JavaScript | gpl-2.0 | 344 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>站点列表</title>
<link rel="stylesheet" href="../layui/css/layui.css">
<link type="text/css" rel="styleSheet" href="... | xiangxik/xiangxik.github.io | html/baiyan_web_pc/html/siteList.html | HTML | gpl-2.0 | 5,586 |
{% load i18n %}
<ul class="nav nav-tabs">
<li id="tab-basic">
<a href="{% url 'settings:basic-setting' %}" class="text-center"><i class="fa fa-cubes"></i> {% trans 'Basic setting' %}</a>
</li>
<li id="tab-email" >
<a href="{% url 'settings:email-setting' %}" class="text-center"><i class="fa... | zsjohny/jumpserver | apps/settings/templates/settings/_setting_tabs.html | HTML | gpl-2.0 | 1,483 |
<?php
if(!defined('kernel_entry') || !kernel_entry) die('Not A Valid Entry Point');
require_once('include/data/cls_table_view_base.php');
class cls_view_drupal_registry_d855ab16_bba7_43de_b448_7e9b9d78edec extends cls_table_view_base
{
private $p_column_definitions = null;
function __construct()
{
$a = func_get_... | dl4gbe/kernel | include/data/table_views/cls_view_drupal_registry_d855ab16_bba7_43de_b448_7e9b9d78edec.php | PHP | gpl-2.0 | 2,247 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>CHAI3D: /home/seb/workspace/chai3d-2.0.0/src/scenegraph/CGenericObject.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tab... | lihuanshuai/chai3d | doc/resources/html/_c_generic_object_8h.html | HTML | gpl-2.0 | 3,948 |
//--------------------------------------------------------------------------
// Copyright (C) 2015-2016 Cisco and/or its affiliates. All rights reserved.
//
// 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 Fr... | Ghorbani-Roozbahan-Gholipoor-Dashti/Snort | src/profiler/rule_profiler.cc | C++ | gpl-2.0 | 19,967 |
// Copyright (C) 2015 Dave Griffiths
//
// 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 is distri... | nebogeo/jellyfish | src/scheme/interface.cpp | C++ | gpl-2.0 | 22,783 |
/*
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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 Fou... | TheTypoMaster/Scaper | openjdk/jdk/src/solaris/native/sun/nio/fs/SolarisNativeDispatcher.c | C | gpl-2.0 | 2,058 |
#include "TreeFactory.h"
#include "RobotFactory.h"
#include "Robot.h"
#include "kinematic/Tree.h"
#include "kinematic/Enums.h"
#include <vector>
#include <list>
using namespace matrices;
using namespace manip_core::enums;
using namespace manip_core::enums::robot;
namespace factories
{
const Vector3 unitx(1, 0, 0);... | heyang123/ManipulabilitySampleTestapp | src/manipulability_core/kinematic/RobotFactory.cpp | C++ | gpl-2.0 | 20,561 |
<!DOCTYPE html>
<html lang="en">
<head>
<?php //////////////////////////////////////////////////////
///Copyright 2015 Luna Claudio,Rebolloso Leandro.///
////////////////////////////////////////////////////
//
//This file is part of ARSoftware.
//ARSoftware is free software; you can redistribute it and/or
//modify it... | claudioLuna/arsoftware | modulos/back-end/marcas/listarMarcas.php | PHP | gpl-2.0 | 10,483 |
/*
* SSLv3/TLSv1 server-side functions
*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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 L... | mc-server/polarssl | library/ssl_srv.c | C | gpl-2.0 | 158,375 |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Rosegarden
A MIDI and audio sequencer and musical notation editor.
Copyright 2000-2018 the Rosegarden development team.
Other copyrights also apply to some parts of this work. Please
see the AUTHORS file and individ... | bownie/RosegardenW | gui/editors/segment/TrackButtons.cpp | C++ | gpl-2.0 | 38,763 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Navigation;
namespace SupCarLocator.ViewModel
{
class PageViewModelBase : BaseViewModel
{
protected NavigationContext NavigationContext;
protected Navigation... | Dioud/SupCarLocator | SupCarLocator/SupCarLocator/ViewModel/PageViewModelBase.cs | C# | gpl-2.0 | 605 |
/*
* xHCI host controller driver
*
* Copyright (C) 2008 Intel Corp.
*
* Author: Sarah Sharp
* Some code borrowed from the Linux EHCI driver.
*
* 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 Soft... | ashikrobi/Crabbykernel | drivers/usb/host/xhci-ring.c | C | gpl-2.0 | 115,318 |
/*
* Copyright (c) 2009-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... | OlegKyiashko/LGOGP-kernel | drivers/video/msm/mdp4_overlay.c | C | gpl-2.0 | 112,817 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------... | eastoncat/cm.eastoncat | sites/all/modules/contrib/civicrm/CRM/Contribute/DAO/Premium.php | PHP | gpl-2.0 | 10,862 |
<?php
/**
* EXHIBIT A. Common Public Attribution License Version 1.0
* The contents of this file are subject to the Common Public Attribution License Version 1.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.oxwall.org/licen... | locthdev/shopthoitrang-oxwall | ow_system_plugins/base/classes/event_collector.php | PHP | gpl-2.0 | 2,181 |
package org.mo.game.editor.face.apl.logic.report;
import org.mo.jfa.common.page.FAbstractFormPage;
public class FWebReportPage
extends FAbstractFormPage{
private static final long serialVersionUID = 1L;
private String _tempName;
public String getTempName(){
return _tempName;
}
public vo... | favedit/MoPlatform | mo-gm-develop/src/editor-face/org/mo/game/editor/face/apl/logic/report/FWebReportPage.java | Java | gpl-2.0 | 389 |
import xml.etree.ElementTree as ET
import requests
from flask import Flask
import batalha
import pokemon
import ataque
class Cliente:
def __init__(self, execute = False, ip = '127.0.0.1', port = 5000, npc = False):
self.ip = ip
self.port = port
self.npc = npc
if (execute):
self.iniciaBatalha()
def writ... | QuartetoFantastico/projetoPokemon | cliente.py | Python | gpl-2.0 | 6,564 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Net;
using System.Collections;
using System.Web;
using System.Xml;
using System.Reflecti... | jtreml/fsxget | FSX Google Earth Tracker/Form1.cs | C# | gpl-2.0 | 158,843 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_INSTALL_UI_ANDROID_H_
#define CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_INSTALL_UI_ANDROID... | qtekfun/htcDesire820Kernel | external/chromium_org/chrome/browser/ui/android/extensions/extension_install_ui_android.h | C | gpl-2.0 | 899 |
/*
* linux/drivers/mmc/core/core.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
* Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
* MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved.
* Copyrig... | fedosis/android_kernel_xiaomi_msm8937 | drivers/mmc/core/core.c | C | gpl-2.0 | 102,367 |
<?php
/**
* Created by PhpStorm.
* User: Anh Tuan
* Date: 7/24/14
* Time: 3:45 PM
*/
global $theme_options_data;
$logo_id = $theme_options_data['thim_logo'];
// The value may be a URL to the image (for the default parameter)
// or an attachment ID to the selected image.
$logo_src = $logo_id; // For the default va... | yogaValdlabs/shopingchart | wp-content/themes/aloxo/inc/header/header_3.php | PHP | gpl-2.0 | 7,564 |
# attack_csrf.rb
# model of a cross-site request forgery attack
require 'sdsl/view.rb'
u = mod :User do
stores set(:intentsA, :URI)
invokes(:visitA,
# user only types dest address that he/she intends to visit
:when => [:intentsA.contains(o.destA)])
end
goodServer = mod :TrustedServer do
sto... | kyessenov/poirot | lib/sdsl/case_studies/attack_csrf.rb | Ruby | gpl-2.0 | 2,814 |
/*
* HTTP protocol analyzer
*
* Copyright 2000-2011 Willy Tarreau <[email protected]>
*
* 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 ... | nicescale/haproxy | src/src/proto_http.c | C | gpl-2.0 | 373,580 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | rakesh-sankar/PHP-Framework-Benchmark | zend-1.11.2/library/Zend/Log/Writer/Syslog.php | PHP | gpl-2.0 | 6,950 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using SirenOfShame.Lib;
using SirenOfShame.Lib.Watcher;
using log4net;
namespace GoServices
{
public class GoBuildStatus : BuildStatus
{
private readonly IEnumerab... | MikeMangialardi/SirenOfShame-WithGoPlugin | GoServices/GoBuildStatus.cs | C# | gpl-2.0 | 2,921 |
cmd_drivers/media/usb/dvb-usb/dvb-usb-dib0700.o := ../tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-ld -EL -r -o drivers/media/usb/dvb-usb/dvb-usb-dib0700.o drivers/media/usb/dvb-usb/dib0700_core.o drivers/media/usb/dvb-usb/dib0700_devices.o
| avareldalton85/rpi2-linux-rt | drivers/media/usb/dvb-usb/.dvb-usb-dib0700.o.cmd | Batchfile | gpl-2.0 | 286 |
//
// CategoryModel.h
// healthfood
//
// Created by lanou on 15/6/22.
// Copyright (c) 2015年 hastar. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface CategoryModel : NSObject
@property (nonatomic, retain)NSString *title;
@property (nonatomic, retain)UIImage *image;
@... | hastar/healthFood | healthfood/Model/CategoryModel.h | C | gpl-2.0 | 486 |
<?PHP // $Id: dbperformance.php,v 1.12 2008/06/09 18:48:28 skodak Exp $
// dbperformance.php - shows latest ADOdb stats for the current server
require_once('../config.php');
error('TODO: rewrite db perf code'); // TODO: rewrite
// disable moodle specific debug messages that would be breaking the fram... | nicolasconnault/moodle2.0 | admin/dbperformance.php | PHP | gpl-2.0 | 1,137 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ch.quantasy.iot.mqtt.tinkerforge.device.deviceHandler.IMU.status;
import ch.quantasy.iot.mqtt.base.AHandler;
import ch.quantas... | knr1/ch.bfh.mobicomp | ch.quantasy.iot.gateway.tinkerforge/src/main/java/ch/quantasy/iot/mqtt/tinkerforge/device/deviceHandler/IMU/status/AllDataPeriodStatus.java | Java | gpl-2.0 | 848 |
#ifndef MUX_CLOCK_H
#define MUX_CLOCK_H
/**
* Initializes main system clock.
* @ms time between each tick in milliseconds
* @tick function to run every tick
*/
void clock_init(int ms, void (*tick)());
/**
* Starts main system clock.
*/
void clock_start();
/**
* Stops main system clock.
*/
void clock_stop();
... | jodersky/mux | kernel/include/mux/clock.h | C | gpl-2.0 | 327 |
package com.karniyarik.common.util;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import org.apache.commons.lang.StringUtils;
import com.karniyarik.common.KarniyarikRepository;
import com.karniyarik.common.config.system.DeploymentConfig;
import com.karniyarik.common.config... | Karniyarik/karniyarik | karniyarik-common/src/main/java/com/karniyarik/common/util/IndexMergeUtil.java | Java | gpl-2.0 | 2,586 |
# bulk-media-downloader | rogueralsha/bulk-media-downloader | README.md | Markdown | gpl-2.0 | 23 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using Newtonsoft.Json;
namespace lit
{
class HttpTransferModule : ITransferModule
{
public const string ConnectionRequest = "subscribe";
public const string StatusReq... | klapantius/lit | lit/Transfer/HttpTransferModule.cs | C# | gpl-2.0 | 4,828 |
// This file is part of par2cmdline (a PAR 2.0 compatible file verification and
// repair tool). See http://parchive.sourceforge.net for details of PAR 2.0.
//
// Copyright (c) 2003 Peter Brian Clements
//
// par2cmdline is free software; you can redistribute it and/or modify
// it under the terms of the GNU Gener... | milowg/Par-N-Rar | par2-cmdline/creatorpacket.cpp | C++ | gpl-2.0 | 2,972 |
<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/website" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/" lang="en">
<head>
<title>2010 Vanderbilt Commodores Statistics | College Football at Sports-Reference.com</title>
<script type="text/javascript">var sr_gzipEn... | vrivellino/cfs | source_data/2010/stats/Vanderbilt.html | HTML | gpl-2.0 | 81,049 |
<!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/html; charset=utf-8" />
<title>Search — ORMPY 0.1 documentation</title>
... | mnizol/ormpy | doc/_build/html/search.html | HTML | gpl-2.0 | 3,409 |
/*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.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.
*
... | lordaragorn/infinity_335 | src/game/UnitAuraProcHandler.cpp | C++ | gpl-2.0 | 228,258 |
# -*- coding: utf-8 -*-
"""
nidaba.plugins.leptonica
~~~~~~~~~~~~~~~~~~~~~~~~
Plugin accessing `leptonica <http://leptonica.com>`_ functions.
This plugin requires a liblept shared object in the current library search
path. On Debian-based systems it can be installed using apt-get
.. code-block:: console
# apt-g... | OpenPhilology/nidaba | nidaba/plugins/leptonica.py | Python | gpl-2.0 | 8,246 |
/*
* Copyright 2009-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-li... | zOrg1331/wandboard-kernel | drivers/media/video/mxc/capture/ipu_csi_enc.c | C | gpl-2.0 | 10,146 |
<?php
/**
* @version 0.0.6
* @package com_jazz_mastering
* @copyright Copyright (C) 2012. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Artur Pañach Bargalló <[email protected]> - http://
*/
defined('_JEXEC') or die;
jimport('jooml... | lion01/weprob | components/com_jazz_mastering/models/cadencias.php | PHP | gpl-2.0 | 2,698 |
/*
* linux/mm/filemap.c
*
* Copyright (C) 1994-1999 Linus Torvalds
*/
/*
* This file handles the generic file mmap semantics used by
* most "normal" filesystems (but you don't /have/ to use this:
* the NFS filesystem used to do this differently, for example)
*/
#include <linux/export.h>
#include <linux/compil... | shengdie/Dorimanx-LG-G2-D802-Kernel | mm/filemap.c | C | gpl-2.0 | 68,410 |
#ifndef PERF_LINUX_LINKAGE_H_
#define PERF_LINUX_LINKAGE_H_
/* linkage.h ... for including arch/x86/lib/memcpy_64.S */
#define ENTRY(name) \
.globl name; \
name:
#define ENDPROC(name)
#endif /* PERF_LINUX_LINKAGE_H_ */
| andi34/kernel_samsung_espresso-cm | tools/perf/util/include/linux/linkage.h | C | gpl-2.0 | 231 |
#pragma once
#include <Nena\Window.h>
#include <Nena\StepTimer.h>
#include <Nena\DeviceResources.h>
#include <Nena\RenderTargetOverlay.h>
#include "TextRenderer.h"
namespace Framework
{
namespace Application
{
void Start();
void Stop();
struct Window;
struct Dispatcher
{
Framework::Application::Windo... | VladSerhiienko/Nena.v.1 | Demo/SimpleText/Framework.h | C | gpl-2.0 | 2,024 |
/* Map (unsigned int) keys to (source file, line, column) triples.
Copyright (C) 2001-2016 Free Software Foundation, Inc.
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 3, or (at y... | h4ck3rm1k3/gcc-1 | libcpp/line-map.c | C | gpl-2.0 | 71,107 |
#include "Card.h"
#include "Game.h"
#include <iostream>
#include <array>
#include <string>
#include <vector>
#include <algorithm>
#include <random>
#include <cstdlib>
#include <ctime>
using namespace std;
using namespace zks::game::card;
int test_deck() {
CardDeck deck(1);
CardDeck d1, d2;
deck.shuffle();
cou... | jimzshi/game | src/card/main.cpp | C++ | gpl-2.0 | 1,866 |
/* This file defines the control system */
/* Dependencies - Serial */
#ifndef MICAV_CONTROLLER
#define MICAV_CONTROLLER
#include "config.h"
#include "drivers.h"
#include "PID.h"
#include <stdint.h>
#define MAX_DYAW 100
#define MIN_DYAW -100
#define MAX_DPITCH 100
#define MIN_DPITCH -100
#define MAX_DROLL 100
#defi... | micavdtu/MICAV | mav_pilot/controller.h | C | gpl-2.0 | 643 |
CREATE TABLE IF NOT EXISTS `#__rsfirewall_exceptions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(4) NOT NULL,
`regex` tinyint(1) NOT NULL,
`match` text NOT NULL,
`php` tinyint(1) NOT NULL,
`sql` tinyint(1) NOT NULL,
`js` tinyint(1) NOT NULL,
`uploads` tinyint(1) NOT NULL,
`reason` text NOT... | trungjc/caravancountry | administrator/components/com_rsfirewall/sql/mysql/exceptions.sql | SQL | gpl-2.0 | 448 |
<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <[email protected]>
*
* For the full copyright and license information, please view the "LICENSE.md"
* file that was distributed with this source code.
*/
namespace Respect\Validation\Rules\SubdivisionCode;
use Respect\V... | PaymentHighway/woocommerce-gateway-paymenthighway | includes/vendor/respect/validation/library/Rules/SubdivisionCode/TcSubdivisionCode.php | PHP | gpl-2.0 | 1,048 |
<?php
/* @particles/assets.html.twig */
class __TwigTemplate_299c183811cc71a2e64a3daab6e1f6fca93d29687649f11bd1c1431814d9f4f7 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("@nucleus/... | JozefAB/neoacu | cache/gantry5/g5_hydrogen/twig/f3/f36bf52c1bc96552cfcecedfc074a62f36b34d410df8d972a61f3bb3c60d3ea1.php | PHP | gpl-2.0 | 19,381 |
/*
* libquicktime yuv4 encoder
*
* Copyright (c) 2011 Carl Eugen Hoyos
*
* This file is part of FFmpeg.
*
* FFmpeg 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.1 of the L... | tojo9900/vice | src/lib/libffmpeg/libavcodec/yuv4enc.c | C | gpl-2.0 | 2,758 |
/*
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.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.
*
... | wongya/mangos | src/game/Path.h | C | gpl-2.0 | 2,672 |
/*
** Copyright (c) 2007-2012 by Silicon Laboratories
**
** $Id: si3226x_intf.h 3713 2012-12-18 17:30:28Z cdp $
**
** Si3226x_Intf.h
** Si3226x ProSLIC interface header file
**
** Author(s):
** laj
**
** Distributed by:
** Silicon Laboratories, Inc
**
** This file contains proprietary information.
** No disseminati... | stas2z/linux-3.10-witi | drivers/char/pcm/proslic_api/inc/si3226x_intf.h | C | gpl-2.0 | 22,557 |
/*
* arch/s390/kernel/sys_s390.c
*
* S390 version
* Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
* Author(s): Martin Schwidefsky ([email protected]),
* Thomas Spatzier ([email protected])
*
* Derived from "arch/i386/kernel/sys_i386.c"
*
* This... | Jackeagle/android_kernel_sony_c2305 | arch/s390/kernel/sys_s390.c | C | gpl-2.0 | 4,389 |
# Game_Idle_TheLostLand
放置类单机游戏
## 基本描述
- Engine : [Phaser](https://github.com/photonstorm/phaser). 2.4.4
- Develop enviorment: IntelliJ IDEA 2016
## 依赖库
### RS GUI
Phaser的UI库
### Phaser-Debug
Phaser Debug调试器
### Phaser-Inspector
Phaser 性能监视器
### Juicy
简易特效支持
* 摄像机震动
* 闪屏
* 对象拖尾
* 精灵的果冻缩放效果
* 过度缩放等
### Co... | duzhi5368/duzhi5368.github.io | OLDPAGE/Games/Game_Idle_TheLostLand/README.md | Markdown | gpl-2.0 | 532 |
# -*- coding: utf-8 -*-
#
from rest_framework import viewsets
from rest_framework.decorators import action
from rest_framework.exceptions import MethodNotAllowed
from rest_framework.response import Response
from common.const.http import POST, PUT
from common.mixins.api import CommonApiMixin
from common.permissions im... | skyoo/jumpserver | apps/tickets/api/ticket.py | Python | gpl-2.0 | 2,796 |
/*
* GIT - The information manager from hell
*
* Copyright (C) Linus Torvalds, 2005
* Copyright (C) Johannes Schindelin, 2005
*
*/
#include "cache.h"
#include "exec_cmd.h"
#include "strbuf.h"
#include "quote.h"
typedef struct config_file {
struct config_file *prev;
FILE *f;
const char *name;
int linenr;
int... | Devindik/origin | config.c | C | gpl-2.0 | 40,138 |
/*---- license ----*/
/*-------------------------------------------------------------------------
Coco.ATG -- Attributed Grammar
Compiler Generator Coco/R,
Copyright (c) 1990, 2004 Hanspeter Moessenboeck, University of Linz
extended by M. Loeberbauer & A. Woess, Univ. of Linz
with improvements by Pat Terry, ... | charlesw1234/cocoxml | schemes/cxml/Parser.h | C | gpl-2.0 | 2,793 |
import FWCore.ParameterSet.Config as cms
maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
readFiles = cms.untracked.vstring()
secFiles = cms.untracked.vstring()
source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
readFiles.extend( [
'/store/mc/Spring14miniao... | pfs/CSA14 | python/csa14/QCD_80_120_MuEnriched_pythia8_cfi.py | Python | gpl-2.0 | 5,943 |
#ifndef BZS_DB_PROTOCOL_HS_HSCOMMANDEXECUTER_H
#define BZS_DB_PROTOCOL_HS_HSCOMMANDEXECUTER_H
/*=================================================================
Copyright (C) 2013 BizStation Corp All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the term... | bizstation/transactd | source/bzs/db/protocol/hs/hsCommandExecuter.h | C | gpl-2.0 | 6,401 |
/*
* Copyright (C) 2014-2017 StormCore
*
* 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 is dis... | Ragebones/StormCore | src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp | C++ | gpl-2.0 | 18,489 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | chrisws/scummvm | engines/sci/engine/selector.h | C | gpl-2.0 | 7,219 |
// This file is autogenerated by hidl-gen
// then manualy edited for retrocompatiblity
// Source: [email protected]
// Root: android.hardware:hardware/interfaces
#ifndef HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_COMMON_V4_0_EXPORTED_CONSTANTS_H_
#define HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_COMMON_V4_0_EXP... | james34602/JamesDSPManager | VeryOldOpen_source_edition/Audio_Engine/eclipse_libjamesdsp_free_bp/jni/hardware/system/audio-base.h | C | gpl-2.0 | 23,325 |
/* $Id: bitops.h,v 1.1.1.1 2004/06/19 05:02:56 ashieh Exp $
* bitops.h: Bit string operations on the V9.
*
* Copyright 1996, 1997 David S. Miller ([email protected])
*/
#ifndef _SPARC64_BITOPS_H
#define _SPARC64_BITOPS_H
#include <asm/byteorder.h>
extern long ___test_and_set_bit(unsigned long nr, volatile v... | romanalexander/Trickles | include/asm-sparc64/bitops.h | C | gpl-2.0 | 7,493 |
#ifndef RENDERENVCONSTS_H_INCLUDED
#define RENDERENVCONSTS_H_INCLUDED
/*
* consts
*/
/* The following rendering method is expected to engage in the renderer */
/** \brief available renderer type
*/
enum PreferredRendererType {
RendererUndeterminate, /**< a memory block with undefined renderer */
... | DaviesX/x3ddemoscene | include/x3d/renderenvconsts.h | C | gpl-2.0 | 2,254 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SQLite;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
namespace VariablesManager
{
public partial class Form1 : Form
{
private string _selectedTm;
private... | sdl/Sdl-Community | VariablesManager/VariablesManager/Form1.cs | C# | gpl-2.0 | 13,948 |
/* IEEE754 floating point arithmetic
* single precision
*/
/*
* MIPS floating point support
* Copyright (C) 1994-2000 Algorithmics Ltd.
*
* ########################################################################
*
* This program is free software; you can distribute it and/or modify it
* under the terms of t... | evolver56k/xpenology | arch/mips/math-emu/sp_frexp.c | C | gpl-2.0 | 1,405 |
<?php
include_once "./_common.php";
//pc버전에서 모바일가기 링크 타고 들어올 경우 세션을 삭제한다. 세션이 삭제되면 모바일 기기에서 PC버전 접속시 자동으로 모바일로 이동된다. /extend/g4m.config.php 파일 참고.
if($_GET['from'] == 'pc'){
set_session("frommoblie", "");
}
include_once './_head.php';
// 최신글
$sql = " select bo_table, bo_subject,bo_m_latest_skin from {$g4['board_ta... | typeofb/SmartTongsin | m/index.php | PHP | gpl-2.0 | 690 |
#ifndef MATRIX_SPMATRIX_H
#define MATRIX_SPMATRIX_H
#include "dgeMatrix.h"
#include "R_ext/Lapack.h"
SEXP dspMatrix_validate(SEXP obj);
double get_norm_sp(SEXP obj, const char *typstr);
SEXP dspMatrix_norm(SEXP obj, SEXP type);
SEXP dspMatrix_rcond(SEXP obj, SEXP type);
SEXP dspMatrix_solve(SEXP a);
SEXP dspMatrix_ma... | cxxr-devel/cxxr-svn-mirror | src/library/Recommended/Matrix/src/dspMatrix.h | C | gpl-2.0 | 610 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.