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 |
|---|---|---|---|---|---|
/*
* Copyright (C) 2013 Invensense, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but ... | gromaudio/linux-imx6-31053 | drivers/staging/iio/magnetometer/inv_compass/inv_ak09911_core.c | C | gpl-2.0 | 13,357 |
using UnityEngine;
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_MaterialPropertyBlock : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
try {
UnityEngine.MaterialPropertyBlock o;
o=new U... | xclouder/godbattle | Assets/Slua/LuaObject/Unity/Lua_UnityEngine_MaterialPropertyBlock.cs | C# | gpl-2.0 | 9,839 |
using SoftwareKobo.CnblogsAPI.Model;
using SoftwareKobo.CnblogsAPI.Service;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SoftwareKobo.CnblogsAPI.Extension
{
/// <summary>
/// 文章扩展。
/// </summary>
public static class ArticleExtension
{
/// <summary... | h82258652/SoftwareKobo.CnblogsAPI | SoftwareKobo.CnblogsAPI/SoftwareKobo.CnblogsAPI/Extension/ArticleExtension.cs | C# | gpl-2.0 | 1,067 |
<?php
/**
* ahis ahisuser Class
*
* ahis user class
*
* PHP version 5
*
* 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 ... | chisimba/modules | openaris/classes/ahisuser_class_inc.php | PHP | gpl-2.0 | 4,051 |
using System;
using System.Runtime.Serialization;
namespace Nexus.Client.ModRepositories
{
/// <summary>
/// The exception that is thrown if a repository is not available.
/// </summary>
[Serializable]
public class RepositoryUnavailableException : Exception
{
/// <summary>
/// The default constr... | reactormonk/nmm | NexusClient/ModRepositories/RepositoryUnavailableException.cs | C# | gpl-2.0 | 1,366 |
/*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2011 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
ver... | AstroProfundis/android_kernel_samsung_sc03e | drivers/net/ixgbe/ixgbe_common.c | C | gpl-2.0 | 90,586 |
Webster
========
A stupid simple HTTP server, built mainly to play with sockets and threads in Python.
Author
------
toost
License
--------
[GPL/v2](LICENSE.md)
Installation
-------------
None! Provided you have Python 2.7 or higher, this should work just fine. Development and testing was done with Python 3.2.... | toost/webster | README.md | Markdown | gpl-2.0 | 437 |
<?php
use oat\taoLti\models\classes\LtiProvider\FeatureFlagFormPropertyMapper;
use oat\taoLti\models\classes\LtiProvider\RdfLtiProviderRepository;
return new FeatureFlagFormPropertyMapper(
[
FeatureFlagFormPropertyMapper::OPTION_FEATURE_FLAG_FORM_FIELDS => [
RdfLtiProviderRepository::LTI_TOOL_... | oat-sa/extension-tao-lti | config/default/FeatureFlagFormPropertyMapper.conf.php | PHP | gpl-2.0 | 1,451 |
/*
*************************************************************************
* Ralink Tech Inc.
* 5F., No.36, Taiyuan St., Jhubei City,
* Hsinchu County 302,
* Taiwan, R.O.C.
*
* (c) Copyright 2002-2007, Ralink Technology, Inc.
*
* This program is free software; you can redistribute it and/or modify *
* it u... | ingmar-k/2.6.31.14_OXNAS_kernel | drivers/staging/rt2860/oid.h | C | gpl-2.0 | 36,704 |
/***************************************************************************
*
* Author: "Sjors H.W. Scheres"
* MRC Laboratory of Molecular Biology
*
* 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 F... | KryoEM/relion2 | src/apps/star_compare.cpp | C++ | gpl-2.0 | 3,669 |
/**
*
*/
package jsa.compiler.js;
import jsa.compiler.SourceCodeGenerator;
import jsa.compiler.SourceCodeGeneratorFactory;
import jsa.compiler.SourceGenerationContext;
import jsa.compiler.meta.rest.RestAPIPortInspector;
import jsa.compiler.meta.rest.RestPortMeta;
/**
*
* @author <a href="mailto:vesko.georgiev@u... | veskogeorgiev/jsa | jsa-compiler/src/main/java/jsa/compiler/js/JSGeneratorFactory.java | Java | gpl-2.0 | 735 |
<?php
//==========================================================================
//
//Université de Strasbourg - Direction Informatique
//Auteur : Guilhem BORGHESI
//Création : Février 2008
//
//borghesi@unistra.fr
//
//Ce logiciel est régi par la licence CeCILL-B soumise au droit français et
//respectant les princip... | anidel/orange-sondage | php/errors/error-forbidden.php | PHP | gpl-2.0 | 2,726 |
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <Wingdi.h>
#include <winspool.h>
#include <winuser.h>
#include <mmsystem.h>
#include <commctrl.h>
#include <commdlg.h>
#include <dlgs.h>
#include <process.h>
#include <prsht.h>
#include <richedit.h>
#include <shellapi.h>
#include <Shlobj.h>
#include <... | lunixbochs/fs-uae-gles | src/od-win32/win32gui_extra.cpp | C++ | gpl-2.0 | 4,437 |
/**
* This file is part of the Goobi viewer - a content presentation and management application for digitized objects.
*
* Visit these websites for more information.
* - http://www.intranda.com
* - http://digiverso.com
*
* This program is free software; you can redistribute it and/or modify it ... | intranda/goobi-viewer-core | goobi-viewer-core/src/main/java/io/goobi/viewer/exceptions/IndexUnreachableException.java | Java | gpl-2.0 | 1,389 |
package org.nextprot.api.web;
import java.io.IOException;
import java.util.UUID;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.loggi... | calipho-sib/nextprot-api | web/src/main/java/org/nextprot/api/web/GoogleAnalyticsFilter.java | Java | gpl-2.0 | 3,828 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2021 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNE... | flegastelois/glpi | src/DeviceCaseType.php | PHP | gpl-2.0 | 1,386 |
#!/usr/bin/env python3
import os
import shutil
import subprocess
import sys
if os.environ.get('DESTDIR'):
install_root = os.environ.get('DESTDIR') + os.path.abspath(sys.argv[1])
else:
install_root = sys.argv[1]
if not os.environ.get('DESTDIR'):
schemadir = os.path.join(install_root, 'glib-2.0', 'schemas')
pr... | GNOME/gnome-session | meson_post_install.py | Python | gpl-2.0 | 789 |
var _Sequence = function (onDone) {
this.list = [];
this.onDone = onDone;
};
_Sequence.prototype = {
add: function() {
var args = Array.prototype.slice.call(arguments);
this.list.push(args);
},
next: function() {
if (this.list.length > 0) {
var current = this.l... | ChristianFrisson/InfoPhys | PaperMachines/support/stream-horizon-works.js | JavaScript | gpl-2.0 | 53,732 |
package views.ui.gui;
/**
* Created by eunderhi on 08/02/16.
*/
public interface Button {
void onClick();
}
| emmettu/Installator | src/main/java/views/ui/gui/Button.java | Java | gpl-2.0 | 116 |
//
// UIImage+ColorFinder.h
// ColorFinder
//
// Created by Mert Buran on 13/04/15.
// Copyright (c) 2015 Mert Buran. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (ColorFinder)
- (void)getDominantColorInRect:(CGRect)rect WithCompletionHandler:(void (^)(UIColor* dominantColor))completion;
@en... | ruuki/ColorFinder | ColorFinder/UIImage+ColorFinder.h | C | gpl-2.0 | 322 |
/* Script Data Start
SDName: Boss cyanigosa
SDAuthor: LordVanMartin
SD%Complete:
SDComment:
SDCategory:
Script Data End */
/*** SQL START ***
update creature_template set scriptname = '' where entry = '';
*** SQL END ***/
#include "precompiled.h"
#include "violet_hold.h"
enum Spells
{
SPELL_ARCANE_VACUUM ... | kenshinakh/trinity | src/bindings/scripts/scripts/northrend/violet_hold/boss_cyanigosa.cpp | C++ | gpl-2.0 | 4,661 |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the qt3to4 porting application of the Qt Toolkit.
**
** $QT_BEGIN_LIC... | librelab/qtmoko-test | qtopiacore/qt/tools/porting/src/projectporter.cpp | C++ | gpl-2.0 | 17,084 |
<?php
/**
* EDS API Options
*
* PHP version 5
*
* Copyright (C) EBSCO Industries 2013
*
* 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.
*
* This program is distributed in t... | johnjung/vufind | module/VuFind/src/VuFind/Search/EDS/Options.php | PHP | gpl-2.0 | 21,437 |
# Makefile.in generated by automake 1.14 from Makefile.am.
# m4/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without mo... | DDTChen/CookieVLC | vlc/android/m4/Makefile | Makefile | gpl-2.0 | 38,430 |
/**
* @name initFile
* @description Initializes the file upload widget.
* @return Void
* @param context - The context to use for initialization.
*/
this.initFile = function(context)
{
// when the file types checkbox is checked, hide the file types field, when it is
// unchecked, show t... | cuong09m/krwe | emailmarketer/admin/addons/surveys/js/__temp.js | JavaScript | gpl-2.0 | 5,345 |
package httpConReq;
public class HttpConReqClientTest {
public static void main(String[] args) {
HttpConReq httpConReq = new HttpConReq();
//String httpUrl = "http://192.168.12.150:20511/VOD/vod_ISA150/m3u8/qinngiu150,00000000000000000000000000010055/bmw_ts.m3u8";
String httpUrl = "http://10.1.254.224/b... | liumeixia/xiaworkspace | javahttpclient/HttpClient/src/httpConReq/HttpConReqClientTest.java | Java | gpl-2.0 | 536 |
// Copyright (C) 2008-2010 Lothar Braun <lothar@lobraun.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 version.
... | constcast/pcapsplit | modules/size_dumper.c | C | gpl-2.0 | 3,082 |
/*
* arch/arm/mach-kirkwood/common.c
*
* Core functions for Marvell Kirkwood SoCs
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <lin... | ecbtnrt/my-kernel | arch/arm/mach-kirkwood/common.c | C | gpl-2.0 | 26,738 |
/*******************************************************************************
Intel PRO/1000 Linux driver
Copyright(c) 1999 - 2013 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, as pub... | javelinanddart/android_kernel_3.10_ville | drivers/net/ethernet/intel/e1000e/82571.c | C | gpl-2.0 | 55,949 |
/*
* Copyright (C) 2010-2011 Simon Andreas Eugster (simon.eu@gmail.com)
* This file is not a Frei0r plugin but a collection of ideas.
*
* 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; eith... | modulexcite/frei0r | src/filter/timeout/timeout.cpp | C++ | gpl-2.0 | 3,702 |
/*
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. 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 ... | kgilmer/openjdk-7-mermaid | src/macosx/native/com/sun/media/sound/PLATFORM_API_MacOSX_MidiIn.c | C | gpl-2.0 | 4,113 |
/*
* Copyright(c) 2012, Analogix Semiconductor. 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 the ... | sleekmason/LG-V510-Kitkat | drivers/misc/slimport_anx7808/slimport_tx_drv.h | C | gpl-2.0 | 4,257 |
#undef CONFIG_INPUT_UINPUT
| vickylinuxer/at91sam9263-kernel | include/3g/config/input/uinput.h | C | gpl-2.0 | 27 |
<?php
/**
* @version $Id: installer.php 19013 2012-11-28 04:48:47Z thailv $
* @package JSNUniform
* @subpackage Controller
* @author JoomlaShine Team <support@joomlashine.com>
* @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.o... | ducdongmg/joomla_tut25 | administrator/components/com_uniform/controllers/installer.php | PHP | gpl-2.0 | 875 |
/* Copyright (c) 2002,2007-2014, 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 i... | decipher90/decipher_kernel | drivers/gpu/msm/adreno.c | C | gpl-2.0 | 95,660 |
<?php
/**
*
* The template for displaying the wisdom page
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package humblelion
*/
get_header(); ?>
<div id="primary" class="wisdom-page content-area">
<main id="main" class="site-main" role="main">
<?php // open the WordPress loop
if (have_p... | studiopine/thehumblelion | page-wisdom.php | PHP | gpl-2.0 | 1,063 |
<?php
namespace Telecube;
class CubeAgi extends Agi{
function wait($n){
$this->exec("WAIT ".$n);
}
function answer(){
$this->exec("ANSWER");
}
function playback($file='goodbye',$options=''){
$this->exec("PLAYBACK ".$file.",".$options." ");
}
function progress(){
$this->exec("EXEC PROGRESS");
}
... | telecube/telecube-pbx | agi-bin/classes/phpagi-telecube.php | PHP | gpl-2.0 | 1,467 |
// D3D11RenderView.hpp
// KlayGE D3D11äÖȾÊÓͼÀà Í·Îļþ
// Ver 3.8.0
// °æÈ¨ËùÓÐ(C) ¹¨ÃôÃô, 2009
// Homepage: http://www.klayge.org
//
// 3.8.0
// ³õ´Î½¨Á¢ (2009.1.30)
//
// Ð޸ļǼ
/////////////////////////////////////////////////////////////////////////////////
#ifndef _D3D11RENDERVIEW_HPP
#define _D3D... | gongminmin/KlayGE | KlayGE/Plugins/Include/KlayGE/D3D11/D3D11RenderView.hpp | C++ | gpl-2.0 | 8,503 |
/*
* TUXAUDIO - Firmware for the 'audio' CPU of tuxdroid
* Copyright (C) 2007 C2ME S.A. <tuxdroid@c2me.be>
*
* 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... | joelmatteotti/tuxfirmware | tuxaudio/audio_fifo.c | C | gpl-2.0 | 2,052 |
<?php
//--------------------------------------------------------------------------
// Kill Script if direct file access
//--------------------------------------------------------------------------
if ( $_SERVER['SCRIPT_FILENAME'] == __FILE__ ) {
header( 'Location: /' );
exit;
}
wp_redirect( bloginfo( 'url' ), 302 ); | jonathanbardo/WP-Framework | wp-content/themes/jb-theme/author.php | PHP | gpl-2.0 | 320 |
/**
* collectd - src/write_http.c
* Copyright (C) 2009 Paul Sadauskas
* Copyright (C) 2009 Doug MacEachern
* Copyright (C) 2007-2009 Florian octo Forster
*
* 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 th... | cybem/collectd-iow | src/write_http.c | C | gpl-2.0 | 20,803 |
#include <linux/kernel.h>
#include <linux/jiffies.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/serial.h>
#inclu... | leemgs/OptimusOneKernel-KandroidCommunity | drivers/usb/serial/io_ti.c | C | gpl-2.0 | 68,884 |
/********************************************************************************/
/* */
/* TPM Key Migration Routines */
/* Written by J. Kravitz */
/* IBM Thomas J. Watson Research Center */
/* $Id: migrate.c 4073 2010-04-30 14:44:14Z kgoldman $ */
/* */
/* (c) C... | Nexor-OSS/tpm-luks | swtpm-utils/lib/migrate.c | C | gpl-2.0 | 45,089 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace System
{
public static class ListExtensions
{
/// <summary>
/// How many times a specific character occured in a string
/// </summary>
public static int FrequencyCount(this ... | salarcode/SalarDbCodeGenerator | SalarDbCodeGenerator/DbProject/ListExtensions.cs | C# | gpl-2.0 | 5,894 |
<head>
<title> log </title>
</head>
<body bgcolor="#ffffff">
<a href="../xgremlin.html"> <b>Top level</b> </a><b>.....</b>
<a href="alphalist.html"> <b>Alphabetical list</b> </a><b>.....</b>
<a href="categorylist.html"> <b>Command categories</b> </a>
<hr>
<h2>log</h2><p>
<b>Syntax:</b> <kbd>log</kbd> <i> [ < n &... | gnave/Xgremlin | doc/html/commands/log.html | HTML | gpl-2.0 | 1,332 |
/*---------------------------------------------------------------------------
FT1000 driver for Flarion Flash OFDM NIC Device
Copyright (C) 2002 Flarion Technologies, All rights reserved.
Copyright (C) 2006 Patrik Ostrihon, All rights reserved.
Copyright (C) 2006 ProWeb Consulting, a.s, All rights reserved... | Brainiarc7/linux-3.18-parrot | drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | C | gpl-2.0 | 66,331 |
#ifndef VM_EVENT_ITEM_H_INCLUDED
#define VM_EVENT_ITEM_H_INCLUDED
#ifdef CONFIG_ZONE_DMA
#define DMA_ZONE(xx) xx##_DMA,
#else
#define DMA_ZONE(xx)
#endif
#ifdef CONFIG_ZONE_DMA32
#define DMA32_ZONE(xx) xx##_DMA32,
#else
#define DMA32_ZONE(xx)
#endif
#ifdef CONFIG_HIGHMEM
#define HIGHMEM_ZONE(xx) , xx##_HIGH
#else
#d... | blakha/OS_TEST | include/linux/vm_event_item.h | C | gpl-2.0 | 2,012 |
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
* Copyright (c) 2011-2012 Clever Cloud SAS -- all rights reserved
*
* This file is part of Bianca(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Bianca Open Source is free so... | CleverCloud/Bianca | bianca/src/main/java/com/clevercloud/relaxng/program/Item.java | Java | gpl-2.0 | 6,298 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
#
# This file is part of translate.
#
# translate 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 t... | mozilla/verbatim | vendor/lib/python/translate/storage/zip.py | Python | gpl-2.0 | 2,203 |
// Copyright 2019 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "DolphinQt/Config/VerifyWidget.h"
#include <memory>
#include <tuple>
#include <vector>
#include <QByteArray>
#include <QHBoxLayout>
#include <QHeaderView>
#include <QLabel>
#include <QProgressDialo... | LAGonauta/dolphin | Source/Core/DolphinQt/Config/VerifyWidget.cpp | C++ | gpl-2.0 | 5,103 |
## Cypher Queries
### Journal Publishing Profiles
```cypher
// show distinct publishers with number of articles published
match (w:Work)
where w.publisher <> "null"
return distinct(w.publisher) as Publishers, count(*) as Articles
order by Articles desc
```
```cypher
//show top journals in any given field (department... | HeardLibrary/graphs-without-ontologies | Cypher/readme.md | Markdown | gpl-2.0 | 2,384 |
/*
* (C) Copyright 2015 ILLC University of Amsterdam (http://www.illc.uva.nl)
*
* This work was supported by "STW Open Technologieprogramma" grant
* under project name "Data-Powered Domain-Specific Translation Services On Demand"
*
* All rights reserved. This program and the accompanying materials
* are made a... | amirkamran/InvitationModel | src/main/java/nl/uva/illc/dataselection/InvitationModel.java | Java | gpl-2.0 | 23,668 |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2012 The PHP Group |
+---------... | ssanglee/capstone | php-5.4.6/ext/dom/domimplementationlist.c | C | gpl-2.0 | 2,688 |
/*
* smixlate.c --
*
* Translate OIDs located in the input stream.
*
* Copyright (c) 2006 Juergen Schoenwaelder, International University Bremen.
*
* See the file "COPYING" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* @(#) $Id: smilint.c 1867 200... | vertexclique/travertine | libsmi/tools/smixlate.c | C | gpl-2.0 | 8,384 |
/*
Siesta 2.0.5
Copyright(c) 2009-2013 Bryntum AB
http://bryntum.com/contact
http://bryntum.com/products/siesta/license
*/
.icon-delete {
background : transparent url(../images/cross.png) no-repeat left center !important;
cursor : pointer;
height : 10px;
width : 10px;... | m-revetria/sencha-touch-bdd-example | resources/siesta-2.0.5-lite/lib/Siesta/Recorder/Recorder.css | CSS | gpl-2.0 | 2,477 |
--
-- $Id$
--
-- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
-- project.
--
-- Copyright (C) 1998-2012 OpenLink Software
--
-- This project 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... | trueg/virtuoso-opensource | binsrc/vsp/soapdemo/r4/dime-rpc.sql | SQL | gpl-2.0 | 5,242 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Roadkill.Core.Converters;
using System.Web;
using System.Text.RegularExpressions;
using Recaptcha;
using System.Web.UI;
using System.IO;
using Roadkill.Core.Configuration;
using ... | anubees/allscripts-sunrise-wiki | src/Roadkill.Core/Extensions/UrlHelperExtensions.cs | C# | gpl-2.0 | 5,106 |
#ifndef PERSON_H
#define PERSON_H
#include <QString>
#include <QDate>
#include <iostream>
/**
* @brief The Person class
*
* This class is abstract (you can't make objects of this type), and is used to represent general Person characteristics.
*
* Public methods:
* QString getName() const;
* bool getGender() ... | mariusmg2/X-Courier | person.h | C | gpl-2.0 | 1,438 |
#include "SeqLib/FermiAssembler.h"
#define MAG_MIN_NSR_COEF .1
namespace SeqLib {
FermiAssembler::FermiAssembler() : m_seqs(0), m(0), size(0), n_seqs(0), n_utg(0), m_utgs(0) {
fml_opt_init(&opt);
}
FermiAssembler::~FermiAssembler() {
ClearReads();
ClearContigs();
}
// code copied and sligh... | jwalabroad/SnowTools | src/FermiAssembler.cpp | C++ | gpl-2.0 | 5,311 |
# iRailTelegram
Telegram bot for iRail
| MCautreels/iRailTelegram | README.md | Markdown | gpl-2.0 | 39 |
/*************************************************************************
bq Cervantes e-book reader application
Copyright (C) 2011-2013 Mundoreader, S.L
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 Founda... | bq/cervantes | bqViewer/inc/ViewerSearchContextMenu.h | C | gpl-2.0 | 1,461 |
/* Copyright (c) 2011-2012, Code Aurora Forum. 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 the ho... | chevanlol360/Kernel_LGE_Fx1 | arch/arm/mach-msm/devices-8960.c | C | gpl-2.0 | 97,625 |
--:SETVAR currentendyear 2016
Set nocount on
Select quotename(rp.relatedpairguid, '"') AS '"ID"', quotename(rp.personid1, '"')AS '"StudentID"', quotename(rp.personid2, '"')AS '"GuardianID"',
quotename(rt.typeid, '"') AS '"RelationshipID"'
FROM Student as s
INNER JOIN RelatedPair as rp ON s.personid = rp.... | Per-Forma/IC-Enrich-CO | StudentGuardians.sql | SQL | gpl-2.0 | 802 |
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SmartSorter: Base/c... | radimsvacek/SmartSorter | doc/basic__classif_8cpp_source.html | HTML | gpl-2.0 | 39,362 |
<?php
/**
* Plugin Name.
*
* @package Excel_Import
* @author Vincent Schroeder
* @license GPL-2.0+
* @link http://webteilchen.de
* @copyright 2013 Webteilchen
*/
function wp_excel_cms_get($name){
$excel_data = new WP_Excel_Cms();
return $excel_data->get_excel_data($name);... | clicker360/interlingua | wp-content/plugins/wp-excel-cms/public/wp-excel-cms.php | PHP | gpl-2.0 | 10,089 |
<?php
/**
* Cookie.class.php
*
* Copyright 2014- Samuli Järvelä
* Released under GPL License.
*
* License: http://www.cloudberryapp.com/license.php
*/
class Cookie {
private $settings = NULL;
function __construct($settings) {
$this->settings = $settings;
}
function add($name, $val, $e... | sjarvela/cloudberry | backend/_old/include/Cookie.class.php | PHP | gpl-2.0 | 815 |
/************************************************************************
$Id: gamecontroller.h,v 1.2 2005/02/24 10:27:53 jonico Exp $
RTB - Team Framework: Framework for RealTime Battle robots to communicate efficiently in a team
Copyright (C) 2004 The RTB- Team Framework Group: http://rtb-team.source... | ezag/realtimebattle | rtb-team-framework/gamecontrol/gamecontroller.h | C | gpl-2.0 | 2,051 |
package it.unibas.freesbee.websla.ws.web.stub;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Classe Java per getServiziInf2ErogatiResponse complex type.
*
* <... | donatellosantoro/freESBee | freesbeeWebSla/src/it/unibas/freesbee/websla/ws/web/stub/GetServiziInf2ErogatiResponse.java | Java | gpl-2.0 | 1,863 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/webbeans/src/javax/inject/Singleton.java | Java | gpl-2.0 | 1,425 |
/* Instruction building/extraction support for fr30. -*- C -*-
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
- the resultant file is machine generated, cgen-ibld.in isn't
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005
Free Software Foundation, Inc.
This file is part of the GNU Bin... | sribits/gdb | opcodes/fr30-ibld.c | C | gpl-2.0 | 42,637 |
package com.ihaoxue.memory.cache;
import java.io.File;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
/**
* @title 缓存管理器
* @author 杨福海(mic... | weibingithub/Memory | src/com/ihaoxue/memory/cache/ACacheManager.java | Java | gpl-2.0 | 3,566 |
<?php
/* Welcome to Bones :)
This is the core Bones file where most of the
main functions & features reside. If you have
any custom functions, it's best to put them
in the functions.php file.
Developed by: Eddie Machado
URL: http://themble.com/bones/
*/
/*********************
LAUNCH BONES
Let's fire off all the funct... | devaha/archagent | wp-content/themes/ArchAgent/library/bones.php | PHP | gpl-2.0 | 17,209 |
/*
FUNCTION
<<vscanf>>, <<vfscanf>>, <<vsscanf>>---format argument list
INDEX
vscanf
INDEX
vfscanf
INDEX
vsscanf
ANSI_SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int vscanf(const char *<[fmt]>, va_list <[list]>);
int vfscanf(FILE *<[fp]>, const char *<[fmt]>, va_list <[list]>);
int vsscanf(const char *<[s... | durandj/devkitadv | newlib-1.11.0/newlib/libc/machine/powerpc/vfscanf.c | C | gpl-2.0 | 29,673 |
/*
* sunxi-ss-core.c - hardware cryptographic accelerator for Allwinner A20 SoC
*
* Copyright (C) 2013-2014 Corentin LABBE <clabbe.montjoie@gmail.com>
*
* Core file which registers crypto algorithms supported by the SS.
*
* You could find a link for the datasheet in Documentation/arm/sunxi/README
*
* This prog... | pokymobo/linux-yocto-lamobo-r1 | drivers/crypto/sunxi-ss/sunxi-ss-core.c | C | gpl-2.0 | 8,878 |
div.dataTables_length label {
float: left;
text-align: left;
}
div.dataTables_length select {
width: 75px;
}
div.dataTables_filter label {
float: right;
}
div.dataTables_info {
padding-top: 8px;
}
div.dataTables_paginate {
float: right;
margin: 0;
}
table.table {
clear: both;
margin-bottom: 6px !importan... | hankqin/device-manager | device-zjjs/webapp/frame/css/dt_bootstrap.css | CSS | gpl-2.0 | 3,647 |
<?php
namespace Spray\Serializer\TestAssets;
use DateTime;
class Foo
{
/**
* @var BarCollection
*/
private $bars;
/**
* @var Baz
*/
private $baz;
/**
* @var DateTime
*/
private $date;
/**
* @var Ignore
*/
private $ignore;
public ... | JurJean/SpraySerializer | test/TestAssets/Foo.php | PHP | gpl-2.0 | 597 |
<?php
/**
* @package languageDefines
* @ Maintained by Zen4All (https://zen4all.nl)
* @copyright Copyright 2003-2017 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Author: DrByte Modified in v1.5... | Zen4All/Zen-Cart-Dutch-Language-Pack | 1_Installation_files/includes/languages/dutch/checkout_payment.php | PHP | gpl-2.0 | 2,419 |
/*
* Copyright 2012-2014 Applifier
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | Reminouche/TCG | Assets/Plugins/Everyplay/iOS/Everyplay.framework/Headers/Everyplay.h | C | gpl-2.0 | 5,941 |
<?php
/*
Plugin Name: Statistika
*/
function statistika()
{
$count_posts = wp_count_posts();
$posts = $count_posts->publish;
$count_igre = wp_count_posts('druzabneigre');
$st_iger = $count_igre->publish;
$count_comments = get_comment_count();
$comments = $count_comments['approved'];
echo "Igre: " . $st_iger ."... | spleteh/Wordpress | wp-content/plugins/mu-plugins/statistika.php | PHP | gpl-2.0 | 777 |
<?php
global $wpdb;
$this->auto_clean();
$sabre_opt = $this->get_option('sabre_opt');
// Check the news
$new_spams = $this->get_new_spam();
if ($new_spams)
$new_spams = " ($new_spams)";
else
$new_spams = "";
$new_approved = $this->get_new_users();
if ($new_approved)
$new_approved = " ($new_approved)"... | cheems77/nb | wp-content/plugins/sabre/classes/sabre_class_admin.php | PHP | gpl-2.0 | 27,157 |
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU... | adieu/lasso | lasso/xml/saml-2.0/samlp2_manage_name_id_response.c | C | gpl-2.0 | 3,026 |
/*
* linux/arch/arm/vfp/vfpmodule.c
*
* Copyright (C) 2004 ARM Limited.
* Written by Deep Blue Solutions Limited.
*
* 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.
*/
#incl... | Dm47021/android_kernel_afyonlte | arch/arm/vfp/vfpmodule.c | C | gpl-2.0 | 21,884 |
<?php
//require_once(BASE_PATH . 'settings/IOnyxCreds.php');
/*
*
* DBConnect class for use with the Brafton Update API for plugins and modules
*
*/
class MySQLDBConnect implements IOnyxConnection{
//private $host;
//private $user;
//private $pass;
private $db;
protected $connection;
static... | dking3876/onyx-framework | onyx/setting/database/MySQLDBConnect.php | PHP | gpl-2.0 | 7,775 |
<?php
/** Esecouristes - Janvier 2013
Vanessa Kovalsky vanessa.kovalsky@free.fr
Licence GNU/GPL V3
Ajout / Modification d'une prestation
**/
include_once ("config.php");
check_all(0);
writehead();
$mysection=$_SESSION['SES_SECTION'];
get_session_parameters();
// On choisit la section concernée
if (isset ($_POST["s... | vanessakovalsky/esecouristes | upd_prestation.php | PHP | gpl-2.0 | 3,378 |
# module includes
import elliptic
import heat
import IRT
print "Loading comatmor version 0.0.1"
| fameyer/comatmor | src/comatmor/__init__.py | Python | gpl-2.0 | 96 |
// *************************************************************************
//
// Copyright 2004-2010 Bruno PAGES .
//
// This file is part of the BOUML Uml Toolkit.
//
// 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
// th... | gregsmirnov/bouml | src/dialog/GenerationSettingsDialog.cpp | C++ | gpl-2.0 | 85,466 |
# coding=utf-8
import random
import time
import threading
import unittest
from lru_cache import LruCache
class TesLruCache(unittest.TestCase):
def test_cache_normal(self):
a = []
@LruCache(maxsize=2, timeout=1)
def foo(num):
a.append(num)
return num
foo(1)... | Backflipz/plugin.video.excubed | resources/lib/cache/tests.py | Python | gpl-2.0 | 4,445 |
/////////////////////////////////////////////////////////////////////////////
// Name: src/dfb/dcclient.cpp
// Purpose: wxWindowDC, wxClientDC and wxPaintDC
// Author: Vaclav Slavik
// Created: 2006-08-10
// RCS-ID: $Id: dcclient.cpp 54748 2008-07-21 17:01:35Z VZ $
// Copyright: (c) 2006 REA ... | hajuuk/R7000 | ap/gpl/amule/wxWidgets-2.8.12/src/dfb/dcclient.cpp | C++ | gpl-2.0 | 7,988 |
<?php
/**
* SlioPress AJAX Process Execution.
*
* @package SlioPress
* @subpackage Administration
*
* @link http://codex.wordpress.org/AJAX_in_Plugins
*/
/**
* Executing AJAX process.
*
* @since 2.1.0
*/
define( 'DOING_AJAX', true );
if ( ! defined( 'WP_ADMIN' ) ) {
define( 'WP_ADMIN', true );
}
/** Load ... | muhammadzulfikar/sliopress | admin/admin-ajax.php | PHP | gpl-2.0 | 3,402 |
/* RIPng routemap.
* Copyright (C) 1999 Kunihiro Ishiguro
*
* This file is part of GNU Kroute.
*
* GNU Kroute 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 option) any
*... | AirbornWdd/qpimd | ripngd/ripng_routemap.c | C | gpl-2.0 | 17,312 |
<div class="header navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle btn navbar-btn" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="i... | victzero/wanzi | wanzi/views/open/include/header.html | HTML | gpl-2.0 | 1,569 |
/*
* Copyright (C) 2006 The Concord Consortium, Inc.,
* 25 Love Lane, Concord, MA 01742
*
* 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
* ... | concord-consortium/mw | src/org/nfunk/jep/function/Gamma.java | Java | gpl-2.0 | 4,904 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* gmtk.h
* Copyright (C) Kevin DeKorte 2006 <kdekorte@gmail.com>
*
* gmtk.h is free software.
*
* You may redistribute it and/or modify it under the terms of the
* GNU General Public License, as published by the Free Software
* Fou... | kdekorte/gmtk | src/gmtk.h | C | gpl-2.0 | 1,032 |
<?php
/**
* @package Mambo
* @subpackage Installer
* @author Mambo Foundation Inc see README.php
* @copyright Mambo Foundation Inc.
* See COPYRIGHT.php for copyright notices and details.
* @license GNU/GPL Version 2, see LICENSE.php
* Mambo is free software; you can redistribute it and/or
* modify it under the terms of... | chanhong/mambo | administrator/components/com_installer/module/module.php | PHP | gpl-2.0 | 3,822 |
#include <zlib.h>
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include "htslib/kstring.h"
#include "htslib/bgzf.h"
#include "htslib/vcf.h"
#include "htslib/tbx.h"
#include "htslib/hfile.h"
#include "htslib/khash.h"
KHASH_MAP_INIT_STR(vdict, bcf_... | ckockan/tardis_core | htslib/vcf.c | C | gpl-2.0 | 93,107 |
EasySocial.module( 'oauth/facebook', function($) {
var module = this;
EasySocial.require()
.done(function() {
EasySocial.Controller( 'OAuth.Facebook',
{
defaultOptions :
{
"{login}" : "[data-oauth-facebook-login]",
"{revoke}" : "[data-oauth-facebook-revoke]",
"{pushInput}" : "[data-oauth-f... | cuongnd/test_pro | media/com_easysocial/scripts/oauth/facebook.js | JavaScript | gpl-2.0 | 1,390 |
/*****************************************************************************
* vlc_es_out.h: es_out (demuxer output) descriptor, queries and methods
*****************************************************************************
* Copyright (C) 1999-2004 the VideoLAN team
* $Id$
*
* Authors: Laurent Aimar <fenrir... | squadette/vlc | include/vlc_es_out.h | C | gpl-2.0 | 5,216 |
# -*- coding: utf-8; -*-
"""
Copyright (C) 2007-2013 Guake authors
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 progra... | mouseratti/guake | guake/main.py | Python | gpl-2.0 | 15,344 |
/* -*- Mode: c++; -*- */
/* --------------------------------------------------------------------
* Filename:
* operator-append.cc
*
* Description:
* Implementation of the APPEND command.
*
* Authors:
* Andreas Aardal Hanssen <andreas-binc curly bincimap spot org>
*
* Bugs:
*
* ChangeLog:
*... | bitbrat/bincimap | src/operator-append.cc | C++ | gpl-2.0 | 8,594 |
/*
* include/asm-arm/arch-tegra/include/mach/sdhci.h
*
* Copyright (C) 2009 Palm, Inc.
* Author: Yvonne Yip <y@palm.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under... | sloanyang/android_kernel_zte_u950 | arch/arm/mach-tegra/include/mach/sdhci.h | C | gpl-2.0 | 1,260 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.