id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
28eeb36245f27d883c380665383d41f3c9fcec1cf23cab10ac834aac3c4426d0 | using System;
using Server.Mobiles;
using Server.Network;
using Server.Items;
using System.Collections.Generic;
using Server.Targeting;
using Server.SkillHandlers;
using System.Linq;
namespace Server.Gumps
{
public class ImbuingGump : BaseGump
{
private const int LabelColor = 0x7FFF;
public Im... | C# | Scripts/Services/LootGeneration/Imbuing/Gumps/ImbuingGump.cs | A2152225/ServUO | gpl-2.0 | 17,860 | 467 | codeparrot/github-code |
e764a94bfad97c7667f65a29398852b88b00927f941af27d966dea5fe3836970 | <?php namespace DivideBV\Postnl\ComplexTypes;
class ArrayOfProductOption extends BaseArrayOfType
{
/**
* @var string The name of the array property this class is a wrapper of.
*/
const WRAPPED_PROPERTY = 'ProductOption';
/**
* @var ProductOption[]
*/
protected $ProductOption = nul... | PHP | src/ComplexTypes/ArrayOfProductOption.php | DivideBV/Postnl | gpl-2.0 | 876 | 42 | codeparrot/github-code |
859530843f599ed9f5c0be7ecea04c36cbb7149f49feaf091ef7a9c1722358fb | /*
Copyright_License {
Top Hat Soaring Glide Computer - http://www.tophatsoaring.org/
Copyright (C) 2000-2016 The Top Hat Soaring Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the ... | C++ | src/Dialogs/Task/Widgets/ObservationZoneSummaryWidget.cpp | rdunning0823/tophat | gpl-2.0 | 2,597 | 88 | codeparrot/github-code |
1fd3d258a35c83f0246ce42e24089fab96118687005c1dade898703b658ee7ee | /*
* Copyright (c) by Jaroslav Kysela <perex@suse.cz>
* Copyright (c) by Takashi Iwai <tiwai@suse.de>
* Copyright (c) by Scott McNab <sdm@fractalgraphics.com.au>
*
* Trident 4DWave-NX memory page allocation (TLB area)
* Trident chip can handle only 16MByte of the memory at the same time.
*
*
* This prog... | C | sound/pci/trident/trident_memory.c | iPodLinux/linux-2.6.7-ipod | gpl-2.0 | 14,674 | 496 | codeparrot/github-code |
8252f03c8121ab063ecc9e28ad1c6309a25c4c1059f691ea5bfc8ebb5ef1cfde | #include "TConfig.hpp"
using namespace std;
using namespace tinyxml2;
TConfig::TConfig (string file) {
//TConfig config;
nResisLayers = 0;
nGases = 0;
outFile = "out/";
generator = "SFMT";
garfieldSeed = -1;
//threshold = 0.; //pC
verbose = false;
verbosityLevel = 0;
snaps = false;
clusterDensity = fals... | C++ | src/TConfig.cpp | vincentFrancais/RPCSim | gpl-2.0 | 10,441 | 268 | codeparrot/github-code |
8712289aea4b26c801452b46b3983610c4d3f181e528a520f13133ffa9dbff34 | package org.openyu.commons.quartz.supporter;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.springframework.scheduling.quartz.QuartzJobBean;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.openyu.common... | Java | openyu-commons-core/src/main/java/org/openyu/commons/quartz/supporter/BaseJobSupporter.java | mixaceh/openyu-commons | gpl-2.0 | 2,059 | 65 | codeparrot/github-code |
5aab859fda888f7eba8e67bf591b738c659daa52ca1ac6858a39fcb0b868fe47 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_admin
*
* @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Admin\Administrator\Model;
\defined('_JEXEC') or die;
u... | PHP | administrator/components/com_admin/src/Model/ProfileModel.php | bembelimen/joomla-cms | gpl-2.0 | 3,983 | 162 | codeparrot/github-code |
e18e5d8c4bd4cecd8e3c4ccdb61242d30e446b34e47a23edb326c44a0cf2eab6 | /*
* Copyright (c) 2012 SAMSUNG
*
* 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 distribute... | C | drivers/sensors/gp2a0x0.c | bensonhsu2013/diff-T210-T110 | gpl-2.0 | 40,397 | 1,643 | codeparrot/github-code |
261f168ab8b05601223c58c2077eaee12e7bca8fd1ab0346f42b6b07f4ba240f | <HTML>
<HEAD>
<TITLE>Allegheny Cycling Association</TITLE>
<META HTTP-EQUIV="Expires" CONTENT=0>
<meta name="KeyWords" content="ACA,bicycle,bike,racing,cycling,cycle,Pittsburgh,USCF club">
<meta name="Description" content="Allegheny Cycling Association provides bicycle racing in Western PA.">
<style type="text/... | HTML | archive/2012/cr073112.html | jyundt/oval-db | gpl-2.0 | 11,358 | 259 | codeparrot/github-code |
0ab533c50b40279052d369852b89687086f1fce3b4fce7fdb2c8957e6d8502d1 | /* Emacs style mode select -*- C++ -*-
*-----------------------------------------------------------------------------
*
*
* PrBoom: a Doom port merged with LxDoom and LSDLDoom
* based on BOOM, a modified and improved DOOM engine
*
* Copyright (C) 2011 by
* Nicholai Main
*
* This program is free softwar... | C | src/MUSIC/madplayer.c | ioan-chera/prboom-plus-24 | gpl-2.0 | 7,535 | 336 | codeparrot/github-code |
09e2b9c2db616c4af0c0fd707f23781e94bd9ffcca72c78d75a205274ccc1e4f | <?php
/* core/themes/classy/templates/dataset/item-list.html.twig */
class __TwigTemplate_1e85f177ccc36ba66c5e64bd549317ef27f42187b744c9d56f0461aa6aa0425c extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$th... | PHP | sites/drupal-8.dd/files/php/twig/596d9f9815a73_item-list.html.twig_WGJ3dQvJNsmqBXw8mQVf3i6dz/0Q3w_bEMErXtKi4YsmQyKUBHhJNld_TmYIY9pKhjYQ0.php | suruchi10/newrepo | gpl-2.0 | 7,545 | 157 | codeparrot/github-code |
d19bf9722ccf2a48a256c76011b4aee7fba0ef9ddddb97bb824dd6ce75fa9e1d | package teammates.ui.webapi;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.testng.annotations.Test;
import teammates.common.exception.ActionMappingException;
import teammates.common.util.Config;
import teammates.common.util.Const;
import teammates.test.BaseT... | Java | src/test/java/teammates/ui/webapi/ActionFactoryTest.java | xpdavid/teammates | gpl-2.0 | 2,572 | 52 | codeparrot/github-code |
3983421aa29635c4985c7285ad2805dcb36e3d207eaf0d91b99baf9e22b8c68e | <?php
/**
* Website: http://sourceforge.net/projects/simplehtmldom/
* Acknowledge: Jose Solorzano (https://sourceforge.net/projects/php-html/)
* Contributions by:
* Yousuke Kumakura (Attribute filters)
* Vadim Voituk (Negative indexes supports of "find" method)
* Antcs (Constructor with automatically ... | PHP | wp-content/themes/twentytwelve/ajax/bot_libs/simple_html_dom.php | haiht24/savings | gpl-2.0 | 63,364 | 1,724 | codeparrot/github-code |
33736284d2e78f7c397bb796c98304256eb1d86bc8e61fca78c6d1fb0d341d58 | using System;
using System.Threading.Tasks;
using WinRTXamlToolkit.IO.Extensions;
using Windows.Storage;
using Windows.Storage.Streams;
using Windows.UI.Xaml.Media.Imaging;
namespace WinRTXamlToolkit.Imaging
{
/// <summary>
/// Extension and helper methods for loading a BitmapImage.
/// </summary>
pub... | C# | SensorHub/WinRTXamlToolkit/Imaging/BitmapImageLoadExtensions.cs | MaxKhlupnov/AllJoyn-Weahter-station | gpl-2.0 | 3,461 | 101 | codeparrot/github-code |
89ad1ce6274426b46e8de2a92108b82621ed3bbd33168484e5ae12738e012e08 | # Copyright (C) 2011 Canonical 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 of the License, or
# (at your option) any later version.
#
# This program is distributed in ... | Python | bzrlib/url_policy_open.py | stewartsmith/bzr | gpl-2.0 | 10,733 | 315 | codeparrot/github-code |
098edb4df5557dae8839c8ad63953f543f1c26e911358676f8682d3f8a3697a2 | /*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2011-2015 ArkCORE <http://www.arkania.net/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU... | C++ | src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp | sunshitwowsucks/ArkCORE-NG | gpl-2.0 | 34,470 | 817 | codeparrot/github-code |
b5de73b6bb570cf99e14383d155ba95a8f209dfdcc4892c324e834da0915a59b | /* Author: David Carroll
* Copyright (c) 2008, 2009 Bellevue Baptist Church
* Licensed under the GNU General Public License (GPL v2)
* you may not use this code except in compliance with the License.
* You may obtain a copy of the License at http://bvcms.codeplex.com/license
*/
using System;
using System.Linq;
... | C# | CmsData/QueryBuilder/Expressions/Expressions.cs | sengithub/SenSourcecode | gpl-2.0 | 8,510 | 186 | codeparrot/github-code |
b3da9c45674d32eac25c1056a8e2af9ed5dee1ed325c3ca7ff096c04618df346 | /***************************************************************************
Atari Wolf Pack (prototype) driver
***************************************************************************/
#include "driver.h"
extern int wolfpack_collision;
extern UINT8* wolfpack_alpha_num_ram;
extern VIDEO_UPDATE( wolfpack );
ext... | C | user/games/xmame/xmame-0.106/src/drivers/wolfpack.c | scs/uclinux | gpl-2.0 | 11,793 | 402 | codeparrot/github-code |
8d51ad6b1080245316087afd4a578d61ff50439190d5f1051ea25d31906d1f0c | /* $Id: vbox_drv.c $ */
/** @file
* VirtualBox Additions Linux kernel video driver
*/
/*
* Copyright (C) 2013-2016 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify... | C | ubuntu/vbox/vboxvideo/vbox_drv.c | bgly/ibmvscsi_tgt | gpl-2.0 | 9,643 | 338 | codeparrot/github-code |
fc0c7c4794534a044293f0c67b0bf0a3896f2e33a146b06382f3481573c6c782 | // AutoUpdateDlg.cpp : implementation file
//
#include "stdafx.h"
//#include "..\Resource\common.h"
#include "AutoUpdateDlg.h"
#include "pcman.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////... | C++ | Lite/AutoUpdateDlg.cpp | closer76/pcman-windows | gpl-2.0 | 1,725 | 78 | codeparrot/github-code |
907e7999c1e0d72c73b2d1075326bef7f23db01665f5c59a08c8766a0864b307 | <?php
/*
** Zabbix
** Copyright (C) 2001-2014 Zabbix SIA
**
** 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... | PHP | frontends/php/include/classes/class.cvisibilitybox.php | 0000-bigtree/zabbix | gpl-2.0 | 1,805 | 56 | codeparrot/github-code |
8d17ae48dc5a32e34b5c6d27c05c2fd55b33876491bf7539038eb2a9832bb637 | #
# Copyright (C) 2007-2018 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=util-linux
PKG_VERSION:=2.32.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/ut... | Makefile | package/utils/util-linux/Makefile | laughterk/LEDE | gpl-2.0 | 21,800 | 784 | codeparrot/github-code |
a69ab654fd019bef38a87451cdd983e830576ae0a50404de022fb871814a02aa | # Copyright (C) 2003-2007, 2009, 2010 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED ... | Python | pytomo/dns/rdtypes/ANY/X25.py | Jamlum/pytomo | gpl-2.0 | 2,219 | 65 | codeparrot/github-code |
7e8709587821b7c9b4e9302fc76699f60a50efd3fe314989bf28f058bb45becd | /**
* \file InsetMathSplit.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "InsetMathSplit.h"
#include "MathData.h"
#include "Mat... | C++ | src/mathed/InsetMathSplit.cpp | rpavlik/lyx-lucid-backport | gpl-2.0 | 3,324 | 155 | codeparrot/github-code |
bc18bdbbc579524f84f420ab7faef14cabee4334c5f6d3bb52c4f7303719c76f | /* audio_pcm.c - pcm audio decoder driver
*
* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
*
* Based on the mp3 decoder driver in arch/arm/mach-msm/qdsp5/audio_mp3.c
*
* Copyright (C) 2008 Google, Inc.
* Copyright (C) 2008 HTC Corporation
*
* All source code in this file is licensed under t... | C | arch/arm/mach-msm/qdsp5/audio_pcm.c | fopina/ZTE-Joe-Kernel-2.6.29-AOSP | gpl-2.0 | 42,284 | 1,636 | codeparrot/github-code |
a95117c53679f3dd2e15903acb9516abd22d5e96af40a4118616188d5fe9cb17 | /*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 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 ver... | C++ | src/server/game/Entities/Item/Item.cpp | magicmonkeyish/project-wired | gpl-2.0 | 48,106 | 1,391 | codeparrot/github-code |
d065e95ff4c38aa747c98824ea46302213826df7e798ee2b0d5aaff02110b4af | #!/usr/bin/perl -w
# Copyright (C) 2005-2007, 2009, 2013-2014 Apple Inc. All rights reserved.
# Copyright (C) 2009, Julien Chaffraix <jchaffraix@webkit.org>
# Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
# Copyright (C) 2011 Ericsson AB. All rights reserved.
#
# Redistributio... | Perl | Source/WebCore/dom/make_names.pl | qtproject/qtwebkit | gpl-2.0 | 41,946 | 1,313 | codeparrot/github-code |
d3a248ce74daa604a2bcf1a08e089662db08c9bff2690a03aa578b200e105c70 | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# This file is part of qmljs, the QML/JS language support plugin for KDevelop
# Copyright (c) 2014 Denis Steckelmacher <steckdenis@yahoo.fr>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# pub... | Python | languages/qmljs/nodejsmodules/http.py | mali/kdevelop | gpl-2.0 | 3,792 | 90 | codeparrot/github-code |
843a03df7a583d6ddf84edd164c9b508d29c046cf900fd2f11520cf78078d1af | /*
* COPYRIGHT (c) 1988-1994 BY *
* PARADIGM ASSOCIATES INCORPORATED, CAMBRIDGE, MASSACHUSETTS. *
* See the source file SLIB.C for more information. *
* Reorganization of files (Mar 1999) by Alan W Black <awb@cstr.ed.ac.uk>
* Sy... | C++ | thirdparty/speech_tools/siod/slib_core.cc | petterreinholdtsen/cinelerra-hv | gpl-2.0 | 10,000 | 357 | codeparrot/github-code |
3c62f4d59475795c2b1c74e3a044bdc5db05005fe97dd0c5dbc241b1f2be2935 | /* Simple JavaScript Inheritance
* By John Resig http://ejohn.org/
* MIT Licensed.
*/
// Inspired by base2 and Prototype
/*
* MODIFICATIONS:
* * The name of the "constructor" method was changed from "init" to "_constructor"
* * Mixin Support using https://gist.github.com/1006243
* * Modified to be a require.js ... | JavaScript | sites/all/libraries/aloha/aloha/lib/util/class.js | gerrit1978/USG-Marketing---Sales-Professionals | gpl-2.0 | 2,350 | 81 | codeparrot/github-code |
a911ef6e99340293082dce767409763249b5e55517c1793b93d081c663438479 | /*
* Copyright (c) 2012, 2019, 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 ... | Java | src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/stubs/ExceptionHandlerStub.java | md-5/jdk10 | gpl-2.0 | 7,378 | 151 | codeparrot/github-code |
883bc850fdda7eb08ca7c4745fbbd66b9bec33aed34e53d1602482d182b03dbd | <?php
/*
* acf_get_field_reference()
*
* This function will find the $field_key that is related to the $field_name.
* This is know as the field value reference
*
* @type function
* @since 3.6
* @date 29/01/13
*
* @param $field_name (mixed) the name of the field. eg 'sub_heading'
* @param $post_id (int) the po... | PHP | wp-content/plugins/advanced-custom-fields-pro/api/api-template.php | samliew/wpbase | gpl-2.0 | 35,273 | 1,924 | codeparrot/github-code |
5930ca8f09651267a526918aae12c6d15dad418f5b0bbb2cc57530aa1d2577e8 | /*
* linux/drivers/mmc/host/msmsdcc.h - QCT MSM7K SDC Controller
*
* Copyright (C) 2008 Google, All Rights Reserved.
* Copyright (c) 2009-2011, 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 Licens... | C | drivers/mmc/host/msm_sdcc.h | z71/android_kernel_commtiva_z71 | gpl-2.0 | 8,059 | 300 | codeparrot/github-code |
d7b8026b78632df349cd2d487dcab1f87a621d0cadbbabf38b9df1daa67c3077 | /*
* Copyright (C) 2012 Codership Oy <info@codership.com>
*/
#include "asio_tcp.hpp"
#include "asio_addr.hpp"
#include "gcomm/util.hpp"
#include "gcomm/common.hpp"
#define FAILED_HANDLER(_e) failed_handler(_e, __FUNCTION__, __LINE__)
gcomm::AsioTcpSocket::AsioTcpSocket(AsioProtonet& net, const gu::URI& uri)
:... | C++ | gcomm/src/asio_tcp.cpp | javacruft/percona-xtradb-cluster-galera-3.x | gpl-2.0 | 25,773 | 857 | codeparrot/github-code |
6dadcb26d456963e7aab6589cbf14d4d5d35fd426c3adfed509054cc3ebb30bd | <?php
/**
* Checkout
*
* The WooCommerce checkout class handles the checkout process, collecting user data and processing the payment.
*
* @class WC_Cart
* @version 1.6.4
* @package WooCommerce/Classes
* @category Class
* @author WooThemes
*/
class WC_Checkout {
/** @var array Array of posted form dat... | PHP | wp-content/plugins/woocommerce/includes/class-wc-checkout.php | Minasokoni/coasties | gpl-2.0 | 29,921 | 759 | codeparrot/github-code |
98a4cee775b6328cdf9001a5c58bb6bfd2f9b25d8ca31ac25f53d652547f6df7 | <?php
$q = strtolower($_GET["term"]);
if (!$q) return;
$items = array(
"Great Bittern"=>"Botaurus stellaris",
"Little Grebe"=>"Tachybaptus ruficollis",
"Black-necked Grebe"=>"Podiceps nigricollis",
"Little Bittern"=>"Ixobrychus minutus",
"Black-crowned Night Heron"=>"Nycticorax nycticorax",
"Purple Heron"=>"Ardea purp... | PHP | web/common/vendors/jquery/jquery-ui3/development-bundle/demos/autocomplete/search.php | BiellconDigital/panaderia-zend-doctrine2 | gpl-2.0 | 25,034 | 640 | codeparrot/github-code |
10b84408418fad632e5eba87d67144a268db828cb40c4e9d3407effc74d2658b | <?php
/**
* googleMaps.util.php
* allows you to include one or more google maps
* right inside Joomla content item or article
* Author: kksou
* Copyright (C) 2006-2008. kksou.com. All Rights Reserved
* License: GNU/GPL http://www.gnu.org/copyleft/gpl.html
* Website: http://www.kksou.com/php-gtk2
* 2011.11.12 googleMaps... | PHP | plugins/content/googleMaps/googleMaps.util.php | srajib/share2learn | gpl-2.0 | 2,178 | 58 | codeparrot/github-code |
0467d8ef2d642e852ec482c732591d8df9945b0a1cf559148643b2a52c98f3a5 | /*
AlceOSD - Graphical OSD
Copyright (C) 2015 Luis Alves
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 of the License, or
(at your option) any later versio... | C | firmware/alce-osd.X/videocore.c | diydrones/alceosd | gpl-2.0 | 70,569 | 2,379 | codeparrot/github-code |
f088785e4eca9a323a2489ec996df12415500537d3ab8abe67988141673f686e | // Bilinear form (material 1)
template<typename Real, typename Scalar>
Scalar bilinear_form_1(int n, double *wt, Func<Real> *u, Func<Real> *v, Geom<Real> *e, ExtData<Scalar> *ext)
{
return D_1 * int_grad_u_grad_v<Real, Scalar>(n, wt, u, v)
+ SIGMA_A_1 * int_u_v<Real, Scalar>(n, wt, u, v);
}
// Bilinear for... | C++ | examples/saphir/forms.cpp | davidquantum/hermes2dold | gpl-2.0 | 2,512 | 68 | codeparrot/github-code |
5d6a469f90c9db68e141cfaf88216a9062a99345fc083d5774187e1e87c1f6d6 | // LoginDialog.cs
//
// Author:
// Daniel Morgan <danielmorgan@verizon.net>
//
// (C)Copyright 2002-2003 by Daniel Morgan
//
// To be included with Mono as a SQL query tool licensed under the GPL license.
//
namespace Mono.Data.SqlSharp.Gui.GtkSharp
{
using System;
using System.Collections;
using System.Data;
... | C# | tools/sqlsharp/gui/gtk-sharp/LoginDialog.cs | xen2/mcs | gpl-2.0 | 3,644 | 151 | codeparrot/github-code |
55fde594fbf6c13fac404140da99b7589160cffd8af426c0dce34b59dab1fe75 | /**
* Copyright (C) 2010-14 pvmanager developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.epics.pvmanager.jca;
import java.util.concurrent.atomic.AtomicInteger;
import org.epics.pvmanager.PVReader;
import org.epics.pvmanager.PVManager;
import org.epic... | Java | pvmanager-jca/src/test/java/org/epics/pvmanager/jca/JCACloseIT.java | diirt/pvmanager | gpl-2.0 | 4,867 | 147 | codeparrot/github-code |
c94afb39756875d3c66be8e1737e9ea42a14a93e9da6e1958df5378be40a1a61 | /*
* SDIO access interface for drivers - linux specific (pci only)
*
* Copyright (C) 1999-2015, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Publ... | C | drivers/net/wireless/bcmdhd/bcmsdh_linux.c | Jetson-TX1-AndroidTV/android_kernel_shield_tv_video4linux | gpl-2.0 | 15,231 | 521 | codeparrot/github-code |
c002aeb081554347413644fc41b6e19ff2de5f2e00e09abf3692d09da72e4b71 | <?php
/**
* This file is part of http://github.com/LukeBeer/BroadworksOCIP
*
* (c) 2013-2015 Luke Berezynskyj <eat.lemons@gmail.com>
*/
namespace BroadworksOCIP\api\Rel_17_sp4_1_197_OCISchemaAS\OCISchemaDeprecated14;
use BroadworksOCIP\Builder\Types\ComplexInterface;
use BroadworksOCIP\Builder\Types\ComplexTyp... | PHP | src/BroadworksOCIP/api/Rel_17_sp4_1_197_OCISchemaAS/OCISchemaDeprecated14/SystemCPEConfigParametersGetRequest.php | paericksen/broadworks-ocip | gpl-2.0 | 1,269 | 38 | codeparrot/github-code |
4fa9d19590bcb0f9be002a26928ac7c99db24ef4908f794f799f5c07652fedaf | // SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2017
* Texas Instruments Incorporated, <www.ti.com>
*
* Keerthy <j-keerthy@ti.com>
*/
#include <common.h>
#include <fdtdec.h>
#include <errno.h>
#include <dm.h>
#include <i2c.h>
#include <power/pmic.h>
#include <power/regulator.h>
#include <power/lp87565.h>
... | C | drivers/power/regulator/lp87565_regulator.c | ev3dev/u-boot | gpl-2.0 | 3,845 | 197 | codeparrot/github-code |
c44279220904ff020e02a4b15a55b583c719d3a68b3566243931105673795db3 | <?php
defined('_JEXEC') or die(";)");
class osePaymentMscList extends oseMscList
{
function drawLeaf($node)
{
$item = $this->generateFirstMsc($node);
$array = array();
$session =JFactory::getSession();
$osePaymentCurrency = $session->get('osePaymentCurrency',oseRegistry::call('msc')->getConfig('currency',... | PHP | administrator/components/com_ose_cpu/payment/osePaymentMscList.php | Jasonudoo/platform | gpl-2.0 | 6,825 | 210 | codeparrot/github-code |
a1f33c982bf939450c0842c743fa0710315f472b2b81bf5ea9387dd1452296ce | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys, csv
import numpy as np
from scipy.cluster.vq import kmeans
import tensorflow as tf
from matplotlib import pyplot as plt
import matplotlib
import gpflow
def plot(m):
f = plt.figure(figsize=(12, 6))
a1 = f.add_axes([0.05, 0.05, 0.9, 0.6])
a2 = f.add_axes([0.0... | Python | sw_dev/python/rnd/test/probabilistic_graphical_model/gpflow/gpflow_multiclass_classification.py | sangwook236/general-development-and-testing | gpl-2.0 | 4,520 | 157 | codeparrot/github-code |
5c4cefb83d82207aa55fd6b49e3e53282e6d959be8c151f7d38d0e58c1a14a9f |
/* pngrutil.c - utilities to read a PNG file
*
* Last changed in libpng 1.4.0 [January 3, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is released under the... | C | source/msp/api/png/libpng-1.4.0/pngrutil.c | caps-liu/hisi-driverlibs | gpl-2.0 | 97,382 | 3,339 | codeparrot/github-code |
fb2afc77071678f07569259f11fd083a0d4b5fb1434bfcb785bcf6db5b2fcaa9 | <!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="coqdoc.css" rel="stylesheet" type="text/css"/>
<title>Tagged_Definitions</titl... | HTML | content/papers/papers/abstracting-syntax/doc/Tagged_Definitions.html | sweirich/sweirich-webpage | gpl-2.0 | 32,939 | 635 | codeparrot/github-code |
af7a19223d10eaa85f30687bca0bfd38315cbc371fe47b8142a89bc9faf938b3 | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Form validation for configuration editor
*
* @package PhpMyAdmin
*/
namespace PMA\libraries\config;
use PMA\libraries\DatabaseInterface;
/**
* Validation class for various validation functions
*
* Validation function takes two argument: id for which it is c... | PHP | libraries/config/Validator.php | netroby/phpmyadmin | gpl-2.0 | 19,164 | 599 | codeparrot/github-code |
589d401ac9c58902c73611be241deac2f9b1d83f17acd610502f98ae41e6604f | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the... | Python | tools/layout_expert/layout_expert/parsers/c_parser.py | google/rekall | gpl-2.0 | 18,195 | 561 | codeparrot/github-code |
9a61251e0f3070883e140c152499c9bf771fd536ea862207f782eaafd087ecfa | /**
* (C) Copyright 2006-2008, Magnus Galåen
*
* dmultimap.h: Multimap-container.
*/
#ifndef _DMULTIMAP_H_
#define _DMULTIMAP_H_
#include <stdarg.h>
#include "dcontainer.h"
#define multimap_val(_var) (((_multimap_node_*)(_var).node)->val)
#define multimap_key(_var) (((_multimap_node_*)(_var).node)->key)
type... | C | src/ds/dmultimap.h | bowlofstew/enterprise-search | gpl-2.0 | 1,313 | 54 | codeparrot/github-code |
11c0f67c5b072336f796fd114ebc745553a0fdf191f2a8aa4b5d5142f9623e70 | /* trunc.c
Truncate a file to zero length. */
#include "uucp.h"
#include "uudefs.h"
#include "sysdep.h"
#include "system.h"
#include <errno.h>
#if HAVE_FCNTL_H
#include <fcntl.h>
#else
#if HAVE_SYS_FILE_H
#include <sys/file.h>
#endif
#endif
#ifndef FD_CLOEXEC
#define FD_CLOEXEC 1
#endif
#ifndef SEEK_SET
#defi... | C | unix/trunc.c | s3ishr/serial-cu | gpl-2.0 | 3,183 | 152 | codeparrot/github-code |
44c238e921030f351503fc37b48bbb39e1c90ed00c28a8e1582a789df539321d | /*
* Firemox is a turn based strategy simulator
* Copyright (C) 2003-2007 Fabrice Daugan
*
* 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... | Java | src/main/java/net/sf/firemox/modifier/AdditionalCostModifier.java | JoeyLeeuwinga/Firemox | gpl-2.0 | 2,427 | 82 | codeparrot/github-code |
ed10a83d9dcb28cd964455604b65f7459df55093b291c278cbecde8132675af5 | /* This file is part of the KDE project
* Copyright (C) 2010 C. Boemann <cbo@boemann.dk>
*
* 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 (at... | C++ | plugins/textshape/dialogs/SimpleCitationBibliographyWidget.cpp | ddelemeny/calligra | gpl-2.0 | 5,120 | 131 | codeparrot/github-code |
e94163ac9ecb66e8f337c4ca6cf30f0edd31aee7578bce7030403bcad71c99d6 | /*
* dgMaster: A versatile, open source data generator.
*(c) 2007 M. Michalakopoulos, mmichalak@gmail.com
*/
package generator.misc;
import java.util.LinkedHashMap;
import java.util.Vector;
import org.apache.log4j.Logger;
import generator.extenders.RandomiserInstance;
import org.xml.sax.Attributes;
import org.xml... | Java | src/main/java/generator/misc/RandomInstanceSAXHandler.java | tspaulding/white-mercury-dg | gpl-2.0 | 3,425 | 110 | codeparrot/github-code |
210d423d700b0c2d22ce2d5e3196f281717858370df73721f4a2e6b4fc32ffc0 | <?php
/**
* $Horde: framework/Text_Diff/Diff/ThreeWay.php,v 1.2 2007/10/28 04:58:35 chuck Exp $
*
* A class for computing three way diffs.
*
* Copyright 2007 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http:/... | PHP | inc/Text/Diff/ThreeWay.php | chregu/fluxcms | gpl-2.0 | 7,267 | 277 | codeparrot/github-code |
31e528ca99fa0c232c7f2c78018131b3b01e75ad77af7a57e7842c17c00fbadf | #include "LASReader.h"
#include "dalign/DB.h"
#include "dalign/align.h"
#include <cstring>
#include <stdlib.h>
LASReader::LASReader(std::string las_name, std::string db_name)
{
// Open the LAS file.
char* c_las_name = (char*)malloc(las_name.size() * sizeof(char));
strcpy(c_las_name, las_name.c_str());
input ... | C++ | LASReader.cc | pb-cdunn/DConvert | gpl-2.0 | 2,202 | 88 | codeparrot/github-code |
2245e94e2e22883a645c967551522dbe96f6bad3e1170f8be9ba7d23469cdbef | /***************************************************************************
* Project TUPI: Magia 2D *
* Project Contact: info@maefloresta.com *
* Project Website: http://www.maefloresta.com *
* Project... | C | src/framework/tgui/tcommandhistory.h | KDE/tupi | gpl-2.0 | 3,728 | 93 | codeparrot/github-code |
24b84df3ad71f85b5a12b11c368529fd3f09a04f1beb6b19592f00a83e676151 | /*
* Copyright (c) 2013, 2016, 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 ... | Java | graal/org.graalvm.compiler.truffle/src/org/graalvm/compiler/truffle/PartialEvaluator.java | graalvm/graal-core | gpl-2.0 | 32,438 | 632 | codeparrot/github-code |
8ac6bd7f68ce193ed374134a96d3ee6547068d3518ffdf8bf57802adb994d2d4 | /* Emacs style mode select -*- C++ -*-
*-----------------------------------------------------------------------------
*
*
* PrBoom: a Doom port merged with LxDoom and LSDLDoom
* based on BOOM, a modified and improved DOOM engine
* Copyright (C) 1999 by
* id Software, Chi Hoang, Lee Killough, Jim Flynn, Ran... | C | src/st_stuff.c | scottrcarlson/opendoom | gpl-2.0 | 31,086 | 1,148 | codeparrot/github-code |
5505527b7654b6cdeb851d6252786e719f391e99ee97507442ac9b15b3abdad3 | var RSSI_Max = 30;
var colors = ["#d2001b", "#e0201a", "#f2541b", "#f8901e", "#fac922", "#faeb26", "#eaed26", "#d3ed25", "#b9ed25", "#9bee25", "#7fe726", "#64dd26", "#4cd228", "#3ac82a", "#2ec02d", "#28ba2f"];
function update_meter(name, val, max_val) {
var v = Math.floor(100 * val / max_val);
if (v > 100) v = 100;... | JavaScript | package/ubnt-web/src/signal.js | zioproto/SDK.UBNT.v5.5 | gpl-2.0 | 1,379 | 54 | codeparrot/github-code |
0a8c493fbd4f6abcbbbaa38a58b7c4f062bc8b3be57bf9eb0d40662b8cd70557 | using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using agsXMPP.protocol;
using agsXMPP.protocol.iq;
using agsXMPP.protocol.iq.auth;
using agsXMPP.protocol.iq.roster;
using agsXMPP.protocol.client;
using agsXMPP.Xml;
using agsXMPP.Xml.Dom;
namespace... | C# | trunk/samples/VS2005/server/XmppServerConnection.cs | octgn/Agsxmpp | gpl-2.0 | 5,622 | 248 | codeparrot/github-code |
d3e56d9f1b543c2c34ba65a52eb61b57d6185e1a87ee93bc1930e2540d311cb7 | /*
* ispccdc.h
*
* Driver header file for CCDC module in TI's OMAP3 Camera ISP
*
* Copyright (C) 2009 Texas Instruments, Inc.
*
* Contributors:
* Senthilvadivu Guruswamy <svadivu@ti.com>
* Pallavi Kulkarni <p-kulkarni@ti.com>
* Sergio Aguirre <saaguirre@ti.com>
*
* This package is free software; you can red... | C | drivers/media/video/isp/ispccdc.h | embest-tech/rowboat-kernel | gpl-2.0 | 5,539 | 213 | codeparrot/github-code |
e318e9d3daf59d0f86700d8aedd588f9df75a3b66b9dd41ef9c2913d13cfafb0 | /*
* Copyright (c) 2015, 2019, 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 ... | Java | test/hotspot/jtreg/gc/logging/TestPrintReferences.java | md-5/jdk10 | gpl-2.0 | 11,283 | 251 | codeparrot/github-code |
37c537e7f254902c59838b586d6988d009f52abfb2b744c2acb3d2a3129f9141 | {- DATX02-17-26, automated assessment of imperative programs.
- Copyright, 2017, see AUTHORS.md.
-
- 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... | Haskell | libsrc/PropertyBasedTesting.hs | Centril/DATX02-17-26 | gpl-2.0 | 4,812 | 122 | codeparrot/github-code |
617bd645886da03f0fcf867e1413ca5d733bc6345bca11e1a8d0f16f89057f47 | /*
* Copyright (C) 2005-2008 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.
*
... | C++ | src/mangosd/Main.cpp | eyeless/mangos | gpl-2.0 | 5,706 | 172 | codeparrot/github-code |
4f5487630879ce5511ca5f662e9a8aabb4d2ac3d504460925c7e728ff173d490 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | Java | de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_AD_PrintForm.java | klst-com/metasfresh | gpl-2.0 | 16,031 | 530 | codeparrot/github-code |
9f33f9fad52721f8d7e661a7a8724d9306f9d75db9d41785512ebf63bd3f93ef | /*
* Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2010-2011 MigCore <http://wow-mig.ru/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General ... | C++ | src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_assembly_of_ascendents.cpp | blitztech/master434 | gpl-2.0 | 2,048 | 70 | codeparrot/github-code |
0148c21bf402bfd87572affa27a35c9cb4d297f41ad72a8573b0f19bf933efb0 | <?php
/**
* @package admin
* @copyright Copyright 2003-2011 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: products_price_manager.php 19294 2011-07-28 18:15:46Z drbyte $
*/
require('in... | PHP | sys/products_price_manager.php | quyip8818/zencart | gpl-2.0 | 55,525 | 1,029 | codeparrot/github-code |
38935b50b4d0e8ea75872da9291a24038d80f8e1bfc6e6f25722aadff1c5bb9c | --The despair URANUS
function c32588805.initial_effect(c)
--set
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(32588805,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c32588805.setcon)
e1:SetTarget(c32588805.settg)
e1:SetOperation(c32588... | Lua | c32588805.lua | SalvationDevelopment/Salvation-Scripts-TCG | gpl-2.0 | 2,309 | 66 | codeparrot/github-code |
fdd80def468f0c571a0801c6538b0a60ef19c44dd0b6f8446781869976a786f2 | /* Copyright (c) 2014, 2016, Oracle 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 as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... | C | rapid/plugin/group_replication/include/handlers/pipeline_handlers.h | deafgoat/mysql-server | gpl-2.0 | 8,256 | 305 | codeparrot/github-code |
87ed09a1b4abb61d07e18b747d7e39fa80f369dac048e97962b0bd4218fd84a1 | /**
* (c) Copyright 1993, 1994, Silicon Graphics, Inc.
* ALL RIGHTS RESERVED
* Permission to use, copy, modify, and distribute this software for
* any purpose and without fee is hereby granted, provided that the above
* copyright notice appear in all copies and that both the copyright notice
* and this permission... | C | glut/glut-3.7/progs/demos/atlantis/shark.c | aapodoll/ARToolKit | gpl-2.0 | 33,835 | 1,309 | codeparrot/github-code |
4a36cb34693eb14b70d526e4184493a4f170536120aca09e54db967343707a16 | /**
* Pulse detection functions
*
* Copyright (C) 2015 Tommy Vestermark
* 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 ve... | C | src/pulse_detect.c | pekon/rtl_433 | gpl-2.0 | 26,275 | 632 | codeparrot/github-code |
7f0913c2be26a682227bac9d05e3e213dcead571f77c50b223741cca2bec47fc | /*
* Gadget Function Driver for USB audio source device
*
* Copyright (C) 2012 Google, 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 progr... | C | drivers/usb/gadget/f_audio_source.c | CheckYourScreen/Arsenic.Kernel | gpl-2.0 | 24,407 | 906 | codeparrot/github-code |
3ad3c104a67790f5ef2991d3c0c99cb6e59c5ab894da2883e5b45c8b4caff2ee | /*******************************************************************************
Intel(R) 82576 Virtual Function Linux driver
Copyright(c) 2009 - 2010 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,
... | C | drivers/net/igbvf/netdev.c | JackpotClavin/android_kernel_samsung_venturi | gpl-2.0 | 78,771 | 2,887 | codeparrot/github-code |
743b5dd1c7abb3ba380d03c694a19090f8391c5adb8c7265edb0f8d3bd628dde | <?php
add_action( 'admin_init', 'ut_one_page_settings' );
function ut_one_page_settings() {
/* main one page option - only for pages */
$ut_one_page_settings = array(
'id' => 'ut_one_page_settings',
'title' => 'Page & Section Settings',
'desc' => '',
... | PHP | wp-content/themes/brooklyn/admin/metaboxes/ut-metabox-onepage-settings.php | karthik-enqos/website | gpl-2.0 | 27,154 | 742 | codeparrot/github-code |
85a3997b141e4b16275ea95b9cadb45e1974bb0baf05d2ba1930a9a705ab8726 | /*
* Linux INET6 implementation
* FIB front-end.
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* 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 ... | C | net/ipv6/route.c | dct2012/chromeos-3.14 | gpl-2.0 | 78,984 | 3,232 | codeparrot/github-code |
3cf952a9e96257ca0a6858c2a9559d62aaa34ca10ad13950e0a51effbd224dc4 | import org.checkerframework.checker.units.UnitsTools;
import org.checkerframework.checker.units.qual.Prefix;
import org.checkerframework.checker.units.qual.s;
import qual.Hz;
import qual.kHz;
import qual.Frequency;
class UnitsExtensionDemo {
@Hz int frq;
void bad() {
// Error! Unqualified value assig... | Java | checker/examples/units-extension/Demo.java | atomicknight/checker-framework | gpl-2.0 | 2,132 | 68 | codeparrot/github-code |
02335ab9f294e6fea73c9858ed714cb301a9c17620899d2e6ed14e63ae373b0f | //------------------------------------------------------------------------------
// Author: Pavel Karneliuk
// Description: Place for description of module. A template for source files.
// Copyright (c) 2013 EPAM Systems
//------------------------------------------------------------------------------
/*
This file i... | C++ | docs/template.cpp | epam/nfstrace | gpl-2.0 | 2,394 | 84 | codeparrot/github-code |
04c1f975fe21a1c667036ab1bcc14bd17b7a879307581c445abd5363de6aed05 | /*
* linux/arch/arm/mach-davinci/dma.c
*
* TI DaVinci DMA file
*
* Copyright (C) 2006 Texas Instruments
*
* ----------------------------------------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | C | arch/arm/mach-davinci/dma.c | fzqing/linux-2.6 | gpl-2.0 | 92,831 | 2,716 | codeparrot/github-code |
bf722193eff50ff86c2f84fd937c76a6f3d571145fee6d4540081d0f2446413d | /*
* linux/drivers/input/ha2605.c
*
* ha2605 Keypad Driver
*
* Copyright (C) 2011 Amlogic Corporation
*
*
* 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 Licens... | C | drivers/amlogic/input/keyboard/ha2605.c | wetek-enigma/linux-wetek | gpl-2.0 | 9,884 | 439 | codeparrot/github-code |
9af2550ce59584c013d4fbf8d7740c2f426a0acaf6baa4a5f54b45ea8ee298e8 | !! Copyright (C) 2008 Pavel Sakov
!!
!! This file is part of EnKF-Matlab. EnKF-Matlab is a free software. See
!! LICENSE for details.
! File: qg.f90
!
! Created: 24/05/2007
!
! Last modified: 08/02/2008
!
! Author: Pavel Sakov
! CSIRO Marine and Atmospheric Research
! ... | FORTRAN | enkf-matlab/models/QG/f90/qg.f90 | kel85uk/pyVaR | gpl-2.0 | 3,566 | 139 | codeparrot/github-code |
c5b99d8decce38439e05833b33a50c6e6eec9876c5d0bbeca7fb1a391fa3adcc | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 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 ver... | C++ | src/server/game/Entities/Corpse/Corpse.cpp | Rudi9719/curly-octo-barnacle | gpl-2.0 | 7,262 | 191 | codeparrot/github-code |
e2520ec934fe8833b8e8f566e15f57a60d085f3b36c757a470beac2394f6abd1 | /* Functions related to building classes and their related objects.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publ... | C | gcc/java/class.c | unofficial-opensource-apple/gccfast | gpl-2.0 | 72,105 | 2,352 | codeparrot/github-code |
c7c4fcb097a2b708a123e2a2b003b58993cb8f44aec44a6e7d37e2de66945945 | package net.sf.rails.sound;
import rails.game.action.PossibleAction;
import net.sf.rails.game.RailsRoot;
import net.sf.rails.ui.swing.ORUIManager;
import net.sf.rails.ui.swing.hexmap.HexUpgrade;
/**
* This is a singleton class as there should never be two
* background musics playing at the same time.
*
* This cl... | Java | src/main/java/net/sf/rails/sound/SoundManager.java | Rails-18xx/Rails | gpl-2.0 | 2,623 | 74 | codeparrot/github-code |
af9f9b58f75046e16494fb037e2f4e468aa66de1f78c0588b7d219227c52ab50 | # -*- coding: utf-8 -*-
#
# amsn - a python client for the WLM Network
#
# Copyright (C) 2008 Dario Freddi <drf54321@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 version 2... | Python | amsn2/ui/front_ends/qt4/splash.py | kakaroto/amsn2 | gpl-2.0 | 1,624 | 52 | codeparrot/github-code |
fb615398f5d3ef434433e3a1fb2b46a3ae0d60e2991185f21664c5760b963f9a | /* Copyright (c) 2010-2011, 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... | C | arch/arm/mach-msm/qdsp6v2/q6core.c | b-man/msm-3.4 | gpl-2.0 | 12,097 | 443 | codeparrot/github-code |
c55753a1c7b6e767368a28591d36d483358827f27ab5793e748f1c78b130df26 | /*
* COPYRIGHT (c) 1989-2007.
* 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/LICENSE.
*
* $Id: conddestroy.c,v 1.9 2007/12/17 16:19:13 joel Exp $
*/
#if H... | C | cpukit/posix/src/conddestroy.c | yunusdawji/rtems-at91sam9g20ek | gpl-2.0 | 1,464 | 68 | codeparrot/github-code |
454b7a2c3d91a9ceaefa4c45322871aa8df3148ffbabff33c8781ed9da78976c | /*
Copyright_License {
Top Hat Soaring Glide Computer - http://www.tophatsoaring.org/
Copyright (C) 2000-2016 The Top Hat Soaring Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the ... | C++ | src/Device/Driver/LX/LXN.cpp | wargoth/tophat | gpl-2.0 | 4,575 | 177 | codeparrot/github-code |
3e69e23886942c2703e0b4741ae8efb040c596d572cd33c4bb1e8be3f693d6a5 | <HTML>
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
</CENTER>
<HR>
<H3>dihedral_style class2 command
</H3>
<H3>dihedral_style class2/omp command
</H3>
<P><B>Syntax:</B>
</P>
<PRE... | HTML | doc/dihedral_class2.html | qingguang/lammps-sph | gpl-2.0 | 6,428 | 185 | codeparrot/github-code |
b50da1e797802921be93febed578189e63412a17157755c72c65e09c27742a3c | /*
* SuperH MSIOF SPI Master Interface
*
* Copyright (c) 2009 Magnus Damm
* Copyright (C) 2014 Glider bvba
*
* 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.
*
*/
#include <l... | C | drivers/spi/spi-sh-msiof.c | TeamFahQ/kernel_linux_next | gpl-2.0 | 35,049 | 1,287 | codeparrot/github-code |
8c247284af81816a515f4898d3a2c0bc34c74ab85f911824cb62751d9ff20012 | /** @file
* PS2 keyboard controller emulation.
*
* Copyright (C) 2007-2009, Bernhard Kauer <bk@vmmon.org>
* Economic rights: Technische Universitaet Dresden (Germany)
*
* This file is part of Vancouver.
*
* Vancouver is free software: you can redistribute it and/or modify
* it under the terms of the GNU Genera... | C++ | vancouver/model/keyboardcontroller.cc | chefmax/Environ | gpl-2.0 | 10,105 | 361 | codeparrot/github-code |
a85e036ebb3d59a0398a0061dd0bd75a8be60280a667faeb6efe7a63ac659ed9 | /* Copyright (c) 2010, 2011, 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 h... | C | drivers/leds/leds-pmic8058.c | thenameisnigel/android_kernel_lge_ls840 | gpl-2.0 | 19,861 | 763 | codeparrot/github-code |
63a33a657ccb51e13b2cf608220eebdef050b9056c00d620aac91e10bc3503a6 | /*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-framework-3.2.x/spring-beans/src/main/java/org/springframework/beans/factory/BeanCreationException.java | deathspeeder/class-guard | gpl-2.0 | 5,429 | 204 | codeparrot/github-code |
dc082c52a81389a3bf2496ca5b5ed00639a77ff3ee64bf74fa6c8d2514797015 | {% load url from future %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap Django</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link hr... | HTML | wrapup/templates/wrapup/detail.html | gmccoy42/WrapUp | gpl-2.0 | 7,145 | 158 | codeparrot/github-code |
e0e3a101dd7c0d3492c75a7ef99955449ea40738279eccf0c0ba93d09a5ec343 | <?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| |
| Copyright (c) 2003-2009 OpenX Limited ... | PHP | lib/OA/Admin/UI/component/rule/QuickFormMinLengthRuleAdaptor.php | maestrano/openx | gpl-2.0 | 2,233 | 48 | codeparrot/github-code |
6b52549a86f5d9abe8ff5fc924c6e81c63ffc84b8303602a6c7f6d7a4d15ce53 | require 'will_paginate/array'
class ApplicationsController < ApplicationController
# TODO: Switch actions from JS to JSON format and remove this
skip_before_action :verify_authenticity_token, only: [:per_day, :per_week]
def index
@description = "Recent applications"
if params[:authority_id]
# TOD... | Ruby | app/controllers/applications_controller.rb | davwood/planningalerts | gpl-2.0 | 5,126 | 159 | codeparrot/github-code |
ec4ea117eeadecd14513714f86b1d5beefaa03ab24adc7ed34f7cddceb7a8438 | /*
* Copyright (C) 2014 - David Goulet <dgoulet@efficios.com>
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License, version 2.1 only,
* as published by the Free Software Foundation.
*
* This library is distributed in the hope that ... | C | staging_dir/target-mipsel_1004kc+dsp_uClibc-0.9.33.2/usr/include/lttng/event.h | michalliu/OpenWrt-Firefly-Libraries | gpl-2.0 | 11,755 | 385 | codeparrot/github-code |
3f46eb78dd6699517a693647c3fe94ef8f6efa5aa2d35a414ff144743e48d6f3 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | Java | opennms-provision/opennms-provision-api/src/main/java/org/opennms/netmgt/provision/SimpleQueuedProvisioningAdapter.java | tharindum/opennms_dashboard | gpl-2.0 | 21,471 | 566 | codeparrot/github-code |
4232d44cddb4748485e83ecbf06b97a0e7e63d031053ac52703721957d3185ed | /* ----------------------------------------------------------------------- *
*
* Copyright 2004-2008 H. Peter Anvin - 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 as published by
* the Free Software Foun... | C | com32/menu/menu.h | mb3dot/syslinux-mac | gpl-2.0 | 5,886 | 235 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.