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 |
|---|---|---|---|---|---|---|---|---|
ea97ede82bab89bdcb1dcf690900ffad9f0a50447922d779f286c4944c977422 | #/*
# *
# * TuneIn Radio for XBMC.
# *
# * Copyright (C) 2013 Brian Hornsby
# *
# * 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... | Python | plugin.audio.tuneinradio/resources/lib/tunein.py | sshnaidm/ru | gpl-2.0 | 40,322 | 911 | codeparrot/github-code |
bf83d5274ae57541f06756df9a93b45c0b0682d108018884c1e4a0826bdecde5 | /*
* Hydrogen
* Copyright(c) 2002-2008 by Alex >Comix< Cominu [comix@users.sourceforge.net]
*
* http://www.hydrogen-music.org
*
* 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/gui/src/SongEditor/PlaybackTrackWaveDisplay.cpp | jdekozak/hydrogen | gpl-2.0 | 5,996 | 198 | codeparrot/github-code |
f48117ffba0f91351efcac8770cb54cd845a205e220e0b5c59af54ae6d4c6158 | /*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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
... | C++ | src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp | Shauren/TrinityCore | gpl-2.0 | 43,743 | 934 | codeparrot/github-code |
371d5d0ed35d9a54bc31e0e56d37a07828d46fc8ba4d5204eb879625f89134c1 | package com.QCrystalTile.loader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
public class LoaderTest {
... | Java | src/main/java/com/QCrystalTile/loader/LoaderTest.java | phobosultra/QCrystalTile | gpl-2.0 | 1,213 | 42 | codeparrot/github-code |
c51bd51a2c41c97cf3a5fa323aa1d3b1402c2bd0217b0c386539e064547cceee | /* drivers/gpu/t6xx/kbase/src/platform/gpu_control_exynos5422.c
*
* Copyright 2011 by S.LSI. Samsung Electronics Inc.
* San#24, Nongseo-Dong, Giheung-Gu, Yongin, Korea
*
* Samsung SoC Mali-T604 DVFS driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU G... | C | drivers/gpu/arm/midgard/platform/5422/gpu_control_exynos5422.c | arter97/odroid | gpl-2.0 | 10,283 | 432 | codeparrot/github-code |
66ea7e6a47480df7382c1dec8192a898067fdd29e82d6713af0e3dc970303638 | <?php /* Smarty version Smarty-3.1.12, created on 2014-04-12 18:18:55
compiled from "/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_system_plugins/admin/views/controllers/plugins_index.html" */ ?>
<?php /*%%SmartyHeaderCode:17726969295349e5ff1825b2-38246228%%*/if(!defined('SMARTY_DIR')) exit('no d... | PHP | ow_smarty/template_c/8f69dd86a6dc7afdc689f315c29f2602d239d7c8.file.plugins_index.html.php | seret/oxtebafu | gpl-2.0 | 7,668 | 107 | codeparrot/github-code |
1363839d1238c4d399c23762228f6fd169fa7f429ccbfc200c6435e8a6f3af97 | /*
* Copyright (c) 2015, 2015, 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/com.oracle.graal.lir.amd64/src/com/oracle/graal/lir/amd64/AMD64BinaryConsumer.java | mur47x111/GraalVM | gpl-2.0 | 10,469 | 290 | codeparrot/github-code |
d1f9293a3de3a5c52715cc047e61b6fe79623b1b22ba819ddfd68afc25f1a65a | <meta charset="utf-8">
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }} | {{ site.owner.name }}</title>
<meta name="description" content="{{ page.description }}">
<meta name="keywords" content="{{ page.tags | join: ', ' }}">
<meta name="author" content="{{ site.owner.name }}">
{% if site.owner.t... | HTML | _includes/_head.html | hkjallbring/dosspark | gpl-2.0 | 4,092 | 69 | codeparrot/github-code |
c9e169b162f5848f887bf9685315667ab75051979e28512bc5a5f2812fd33356 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | Java | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/print/src/main/java/common/javax/print/DocFlavor.java | skyHALud/codenameone | gpl-2.0 | 12,475 | 333 | codeparrot/github-code |
32b6641bff3e84cd5cfb859a94143ee4774eac1aecfda2ad89e26feebf7804d5 | /*
* Copyright (C) 2012 Sony Mobile Communications AB
*
* This file is part of XAppDbg.
*
* XAppDbg 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... | Java | XAppDbgServer/src/com/sonymobile/tools/xappdbg/properties/XAppDbgCmdTree.java | sonyxperiadev/XAppDbg | gpl-2.0 | 1,293 | 42 | codeparrot/github-code |
b4c0417ad36c18f23b92d11b4f2dfa52451323276ac2b17a69b85ba41372d800 | class InstalledPackageUniqueNvrea < ActiveRecord::Migration[5.2]
def fix_missing_attributes
#bug in dynflow may have resulted in old code running and not properly populating fields
# This block is basically copied from 20200129172534_add_epoch_version_release_arch_to_katello_installed_packages.rb
epoch_no... | Ruby | db/migrate/20200501155054_installed_package_unique_nvrea.rb | Katello/katello | gpl-2.0 | 2,903 | 65 | codeparrot/github-code |
8a2b35070bae4f833147e28144546fe663869d74b390f950f1d4396e3a98fca1 | /*
* linux/fs/binfmt_aout.c
*
* Copyright (C) 1991, 1992, 1996 Linus Torvalds
*/
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/a.out.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/string.h>
#incl... | C | fs/binfmt_aout.c | iPodLinux/linux-2.4.32-ipod | gpl-2.0 | 14,929 | 555 | codeparrot/github-code |
5840bc9f0c4a87900ac57e371b6de6f19c8847a924907efb875cbe4a5653458f | /*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2014 Synergy Si Ltd.
* Patch by Ryan Chapman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file COPYING that should have accompanied this file.
*
*... | C++ | src/lib/platform/OSXClipboardHTMLConverter.cpp | sheavner/synergy | gpl-2.0 | 2,272 | 96 | codeparrot/github-code |
b0e3c580c21f25d5f8975a0b6e5f5c18fca1d21695bed8bebe9c8d46c75b90b8 | /*
Simple Operating System for Smartcard Education
Copyright (C) 2002 Matthias Bruestle <m@mbsks.franken.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
... | C | src/types.h | theqlabs/SOSSE | gpl-2.0 | 1,431 | 51 | codeparrot/github-code |
e7062840539d9f0eb8680a755a4005caf50a84aa956a8a6fa409e42869acc5c1 | /* Copyright (c) 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 hope th... | C | drivers/media/video/msm/sensors/s5k4ecgx_v4l2.c | sssangram14/android_kernel_samsung_arubaslim | gpl-2.0 | 43,422 | 1,811 | codeparrot/github-code |
4d84bb326ff17f4776d6f3a07ef3672a87dea2fa0ae3f659abcbf09256a1bd6e | /*****************************************************************************\
* topo_info.c - get/print the switch topology state information of slurm
*****************************************************************************
* Copyright (C) 2009 Lawrence Livermore National Security.
* Produced at Lawrence ... | C | src/api/topo_info.c | adammoody/slurm | gpl-2.0 | 5,759 | 178 | codeparrot/github-code |
c4a1dea4627f34413da65281ad298a4350f955dc954cc2d2d8182fb659ae03d3 | // edit_vguest_resource.h
//
// Edit a vGuest Resource Record.
//
// (C) Copyright 2002-2005 Fred Gleason <fredg@paravelsystems.com>
//
// $Id: edit_vguest_resource.h,v 1.3 2007/02/14 21:51:02 fredg Exp $
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the ... | C | rdadmin/edit_vguest_resource.h | stgabmp/Rivendell | gpl-2.0 | 1,789 | 67 | codeparrot/github-code |
d1c074b1ae965965339d7e6624a81f00cba049b545340e16bd1bc6aba902028e | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | PHP | sites/all/modules/civicrm/api/v3/Email.php | alfonsom/ccdrupal | gpl-2.0 | 3,005 | 87 | codeparrot/github-code |
947a484cd3bf31e5aef1b7bb06c27116103cd3065ffa7deeef35e0e0d003adf2 | # Included modules
import os
import time
import json
import itertools
# Third party modules
import gevent
from Debug import Debug
from Config import config
from util import RateLimit
from util import StreamingMsgpack
from util import helper
from Plugin import PluginManager
FILE_BUFF = 1024 * 512
# Incoming request... | Python | src/File/FileRequest.py | frerepoulet/ZeroNet | gpl-2.0 | 19,416 | 446 | codeparrot/github-code |
213a0fe24f0cc0aec7a5730fc2302b2bcb4e8aaf3651fb41424b96c84462b73c | /*
* Copyright (C) 1996-2015 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
/* A reasonably functional tmpnam. */
/* Or... | C | squid-proxy/squid-3.5.3/compat/tempnam.c | hieuit7/freewifi | gpl-2.0 | 2,907 | 139 | codeparrot/github-code |
8efd3223cee0bcbcc1b3dcea108fd453ecfc98cd9b01a33867201ba631013966 | # This file is NOT licensed under the GPLv3, which is the license for the rest
# of YouCompleteMe.
#
# Here's the license text for this file:
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either... | Python | .ycm_extra_conf.py | d0u9/examples | gpl-2.0 | 6,088 | 174 | codeparrot/github-code |
1cead4fb066d9320baae8efc8e0b62a86f8fb73c7e619fe0f53b09bc4f1842ef | """
Polygon path.
"""
from __future__ import absolute_import
#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
import __init__
from fabmetheus_utilities.geometry.creation import lineation
from fabmetheus_utili... | Python | skein_engines/skeinforge-31/fabmetheus_utilities/geometry/creation/circle.py | natetrue/ReplicatorG | gpl-2.0 | 2,658 | 66 | codeparrot/github-code |
dd234a205898ae97e304dc3f801c8c52c0c9ce41f8420472055102be4224c959 | do
local Dev = 122774063 --put your id here(BOT OWNER ID)
local function setrank(msg, name, value) -- setrank function
local hash = nil
if msg.to.type == 'chat' then
hash = 'rank:'..msg.to.id..':variables'
end
if hash then
redis:hset(hash, name, value)
return send_msg('chat#id'..msg.to.id, 'مقام کاربر... | Lua | plugins/setrank.lua | TeleDALAD/cd | gpl-2.0 | 8,311 | 234 | codeparrot/github-code |
a7e424c01d4505e01f5bd9279dfd46192b8f0a5b38613ae8c43355be7dba61eb | <?php
class jck_mwi_helpers {
/** =============================
*
* Get all required data for a product layout
*
* @product_model obj Magento product model
* @args array WP shortcode atts
* @return array
*
============================= */
public function get_product_data(... | PHP | wp-content/plugins/magento-wordpress-integration/class-helpers.php | ivanwebdev/papayartblog | gpl-2.0 | 2,623 | 68 | codeparrot/github-code |
a35b9a8b147bce2497fd3d643fbed09e8075682f062bb641ea163c16c7d8fe3c | <?php
/**
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
* Magyar fordítás (c) 2007-2020 „Magyar phpBB K... | PHP | language/hu_x_formal/migrator.php | phpbb-hu/phpbb-hu-translation | gpl-2.0 | 4,936 | 86 | codeparrot/github-code |
53fe53480fc69aaeb50f6ca01efb2d3d04553ce53ff199094656e9aa9678179c | /*
***************************************************************************
* Ralink Tech Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
*
* (c) Copyright 2002, Ralink Technology, Inc.
*
* All rights reserved. Ralink's source code is an unpublished work and th... | C | drivers/amlogic/wifi/RT3070_Linux_AP_V2.6.0.0_DPA/include/ap_wds.h | Stane1983/amlogic-m1 | gpl-2.0 | 5,252 | 221 | codeparrot/github-code |
ba4466d8ea8f0989524807fd170aa5ed03ea278e6e116cf2d400d531d565cb22 | <?php
namespace apache\shindig\social\model;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache... | PHP | src/main/drupal/sites/all/libraries/shindig2.5beta/src/apache/shindig/social/model/BodyType.php | ROLE/widget-store | gpl-2.0 | 1,972 | 79 | codeparrot/github-code |
6ac207e71b063b86be0b9c6fd3cb5052766a1ac85a6463333a56f23984a8f39c | /*
*
* V 4 L 2 D R I V E R H E L P E R A P I
*
* Moved from videodev2.h
*
* Some commonly needed functions for drivers (v4l2-common.o module)
*/
#ifndef _V4L2_IOCTL_H
#define _V4L2_IOCTL_H
#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/comp... | C | include/media/v4l2-ioctl.h | novic/AniDroid-Hardened-Kernel | gpl-2.0 | 12,624 | 329 | codeparrot/github-code |
3481b28d34c027a4d1f661c8aa80681bdbf0bd2843605ebecd8dcfe474d69bca | /**
* $Id$
*
* Plugin loader code
*
* Copyright (c) 2009 Nathan Keynes.
*
* 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 lat... | C | src/plugin.c | lutris/lxdream | gpl-2.0 | 4,292 | 158 | codeparrot/github-code |
5ca69dfb0e961d8442f876e04388be83cc83d37c70cc3515af8377f4505ddd09 | <?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Cart66 Exceptions
*
* Exception classes used with Cart66 Cloud Toolkit
*/
/**
* Base exception class for Cart66
*/
class CC_Exception extends Exception {
public function get_message() {
return parent::getMessage();
}
}
/... | PHP | wp-content/plugins/cart66-cloud/includes/exception-library.php | trvinhlong/tanks | gpl-2.0 | 994 | 44 | codeparrot/github-code |
909e6c0c1f12d1b95a58767803e6fc0575c3905c1ec20958f3eab27e66c75628 | <?php
class haxe_ds_StringMap implements IMap, IteratorAggregate{
public function __construct() {
if(!php_Boot::$skip_constructor) {
$this->h = array();
}}
public $h;
public function set($key, $value) {
$this->h[$key] = $value;
}
public function get($key) {
if(array_key_exists($key, $this->h)) {
retur... | PHP | php/lib/haxe/ds/StringMap.class.php | mehdadoo/siteHX | gpl-2.0 | 1,283 | 51 | codeparrot/github-code |
8dba3eebe9e0ce6e42edba8b46a3e23900eef43914d38395788ff1e3901bb844 | /*
* CodaDatabaseDriver.java
*
* Created on March 13, 2007, 3:45 AM
*
* CodaServer and related original technologies are copyright 2008, 18th Street Software, LLC.
*
* Permission to use them is granted under the terms of the GNU GPLv2.
*/
package org.codalang.codaserver.database;
import java.util.Hashtable;
i... | Java | org/codalang/codaserver/database/CodaDatabase.java | 18thstreetmike/codaserver | gpl-2.0 | 835 | 33 | codeparrot/github-code |
59f00137729fa216dd0ad70cb636088f6485a885be4eee17f0a82ef564d73836 | // ReSharper disable All
/********************************************************************************
Copyright (C) MixERP Inc. (http://mixof.org).
This file is part of MixERP.
MixERP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the ... | C# | src/FrontEnd/MixERP.Net.FrontEnd/Modules/HRM.Entities/EmployeeType.cs | gjms2000/mixerp | gpl-2.0 | 1,848 | 51 | codeparrot/github-code |
8f87337efc8e4ae067a97619369ebe2633151852b4bc72790075e314244274c3 | /******************************************************************************
Copyright (C) 2014 by Nibbles
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 y... | C | plugins/text-freetype2/text-freetype2.h | Xaymar/obs-studio | gpl-2.0 | 2,929 | 100 | codeparrot/github-code |
7d2d7d40f5b234d87bdff348b784e56bf17be0f6ede93ee1b22b7711cc650928 | import jquery from "jquery/dist/jquery";
(function (jquery) {
jquery.fn.glossary = function(url, options, exp) {
// Set plugin defaults
var defaults = {
ignorecase: false,
tiptag: 'h6',
excludetags: [],
linktarget: '_blank',
showonce: false
};
var options = jquery.extend(defaults, options);
... | JavaScript | cernopendata/modules/theme/assets/semantic-ui/js/glossary/jquery.zglossary.js | tiborsimko/opendata.cern.ch | gpl-2.0 | 5,667 | 217 | codeparrot/github-code |
66766037871a3de2f048801976d9215db68f0465c5ae1136d7c23632ad345c25 | <?php
$current_page="Invite Provider";
include "includes/header.php";
include("country.php");
CheckLogin();
$row_user = mysql_fetch_array(mysql_query("select * from ".$prev."user where username = '".$_REQUEST[username]."'"));
$_REQUEST[id]=$row_user[user_id];
$row_user1 = mysql_fetch_array(mysql_query(... | PHP | invite_provider.php | nikhilsharma869/bio-pharma-dev | gpl-2.0 | 6,281 | 170 | codeparrot/github-code |
e566a9687a635087e3d8c312422e0f22ef48dbb2b4ee7579f89364e9ff978099 | antiarabic = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_arabic'] then
if data[tostring(msg.to.id)... | Lua | plugins/lockarabic.lua | dddaaaddd/teleiran_new | gpl-2.0 | 1,406 | 52 | codeparrot/github-code |
f4796c518c5a909e5ddf2a19ab3a855b92f0b4e45776df3f86657756af4e994c | /*
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
... | C | dependencies/SDL-1bc5372ee27f/test/testrendertarget.c | drhelius/bstone-ios | gpl-2.0 | 9,646 | 331 | codeparrot/github-code |
df437a20e0e9258f2ef91eb04a95e2f4bda4cb114b48af32bcb2f5420109e122 | <?php
/**
* A class to handle reading, writing, viewing, editing and validating
* usr records.
*
* @package awl
* @author Andrew McMillan <andrew@mcmillan.net.nz>
* @copyright Catalyst IT Ltd, Morphoss Ltd <http://www.morphoss.com/>
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2 or later
*/
require_once("AW... | PHP | plugins/dpcalendar/caldav/libraries/caldav/User.php | emundus/v6 | gpl-2.0 | 14,004 | 415 | codeparrot/github-code |
6cd9b70d1c320b6d544a4455636e0aba53dddf629c2ae9bdd12ed04370255cff | /*
* This file is part of DrFTPD, Distributed FTP Daemon.
*
* DrFTPD 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.
*
* DrFTPD... | Java | src/plugins/org.drftpd.commands.sections/src/org/drftpd/commands/sections/Sections.java | f4bio/drftpd3-extended | gpl-2.0 | 2,737 | 74 | codeparrot/github-code |
bf1ed21afc71d69a570b8cbea6550121dbb65007bcc10d7e053906c9e3f0acac | /*!
* \file numerics_direct_mean.cpp
* \brief This file contains all the convective term discretization.
* \author Aerospace Design Laboratory (Stanford University) <http://su2.stanford.edu>.
* \version 2.0.6
*
* Stanford University Unstructured (SU2) Code
* Copyright (C) 2012 Aerospace Design Laboratory
*
* T... | C++ | SU2_CFD/src/numerics_direct_mean.cpp | AmritaLonkar/trunk | gpl-2.0 | 90,077 | 2,529 | codeparrot/github-code |
ccb9493d857cdcb9a2dc5210173c7daee4bfb8207d3f2047400be53751757660 | /*
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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.
*
* If the program is linked with... | Java | 52n-oxf-xmlbeans/src/main/java/org/n52/oxf/xmlbeans/parser/SFSpatialSamplingFeatureCase.java | EHJ-52n/OX-Framework | gpl-2.0 | 3,216 | 86 | codeparrot/github-code |
50f04d1dd5ec58abda66b73c17dc02806f7ea78a24fc0de354af8385aae0b74b | #ifndef __XEN_SYNCH_BITOPS_H__
#define __XEN_SYNCH_BITOPS_H__
/*
* Copyright 1992, Linus Torvalds.
* Heavily modified to provide guaranteed strong synchronisation
* when communicating with Xen or other guest OSes running on other CPUs.
*/
#define ADDR (*(volatile long *) addr)
static __inline__ void synch_set_bi... | C | include/asm-i386/mach-xen/asm/synch_bitops.h | dduval/kernel-rhel5 | gpl-2.0 | 3,676 | 142 | codeparrot/github-code |
24531f1057772ff8ee9f156419d8714e104bb6fd4dfc19802df93a22bbcbb8ed | /*
* linux/drivers/video/rockchip/bmp_helper.c
*
* Copyright (C) 2012 Rockchip Corporation
* Author: Mark Yao <mark.yao@rock-chips.com>
*
* 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 Fo... | C | drivers/video/rockchip/bmp_helper.c | geekboxzone/mmallow_kernel | gpl-2.0 | 8,361 | 390 | codeparrot/github-code |
629e20eb3e58e3a6df09cdca0907dff1f5ec76014b335678614e5edaade72b85 | /*******************************************************************************
*
* Module Name: dmresrcl2.c - "Large" Resource Descriptor disassembly (#2)
*
******************************************************************************/
/***************************************************************************... | C | src/l4/pkg/acpica/lib-acpi/src/acpica/components/disassembler/dmresrcl2.c | MicroTrustRepos/microkernel | gpl-2.0 | 24,569 | 772 | codeparrot/github-code |
148e629792b4c427d95e4e221305c4381bc835bb8bf4267d9afc3ccbf126f5a4 | #!/usr/bin/python
import glob, os
from cjh.cli import Cli, ListPrompt
from cjh.lists import ItemList
class Fileman(object):
@classmethod
def pwd(cls, getstr=False):
"""
Emulate 'pwd' command
"""
string = os.getcwd()
if getstr:
return string
else: pr... | Python | igo/cjh/files.py | hammerhorn/hammerhorn-jive | gpl-2.0 | 2,267 | 73 | codeparrot/github-code |
c9ef83857e4a576315a63e17b2e78d44e9590cda719af19f4661b9208d659c2d |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>System Architecture — Leap Motion C++ SDK v2.2 documentation</title>
<link rel="stylesheet" href="../_static/basic.css" typ... | HTML | patrickrampage/LeapSDK/docs/cpp/devguide/Leap_Architecture.html | AntoineGagnon/Patrick-Rampage | gpl-2.0 | 18,343 | 384 | codeparrot/github-code |
c610ef328c1e8ff44e00710a07a353e56126a45141012e13c13564c70be7ea78 | /******************************************************************************/
/* Mednafen - Multi-system Emulator */
/******************************************************************************/
/* rmdui.cpp:
** Copyright (C) 2014-2018 Mednafen Team
**
** This program is... | C++ | src/drivers/rmdui.cpp | libretro-mirrors/mednafen-git | gpl-2.0 | 10,013 | 372 | codeparrot/github-code |
4d5c1968e633dbb802f66b01bdb522433dbc190b097c03228c69572f881736fa | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2012 The XCSoar 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 GNU General Public License
... | C++ | src/TeamCode.cpp | damianob/xcsoar | gpl-2.0 | 4,022 | 163 | codeparrot/github-code |
99150dd2474d6065f7af273494452742dfc85f9864f076eb81d60f684042ea8f | /*----------------------------------------------------------------------------*/
/* Xymon monitor network test tool. */
/* */
/* This is used to implement the testing of an LDAP service. ... | C | 9.1addon/xymon-server-4.3.10/src/xymon-server-4.3.10/xymonnet/ldaptest.c | tjyang/psp | gpl-2.0 | 16,628 | 586 | codeparrot/github-code |
c6ba5cd06348c5bc3da99727780429479add3729fd41f1302194b69085ce8f5c | #include <Copyright.h>
/********************************************************************************
* gtPortCtrl.c
*
* DESCRIPTION:
* API implementation for switch port status.
*
* DEPENDENCIES:
*
* FILE REVISION NUMBER:
* $Revision: 3 $
****************************************************************... | C | arch/arm/plat-armada/mv_hal/qd-dsdt/src/msapi/gtPortStatus.c | nighthawk149/xpenology-4.2-kernel | gpl-2.0 | 51,714 | 2,236 | codeparrot/github-code |
13bdb5f56a8b2f40d83b68529604aa8021cddad25275302571f3a9240f00b012 | /*
* Copyright (c) 2003, 2008, 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/solaris/classes/sun/java2d/opengl/GLXSurfaceData.java | JetBrains/jdk8u_jdk | gpl-2.0 | 7,949 | 223 | codeparrot/github-code |
f29fd32d06a9d7ca29da5c36d15559d8b7cfc9c35b3389cd4502f4dc478afc8d |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pair_style lj96/cut command — LAMMPS 1... | HTML | doc/pair_lj96.html | qipa/lammps | gpl-2.0 | 11,688 | 285 | codeparrot/github-code |
57c3ca8ef590459d7296b6482b289a4c9fb4d2e24ca263d270ad3d213597f55f | /*
QueryJ
Copyright (C) 2002-today Jose San Leandro Armendariz
chous@acm-sl.org
This library 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;... | Java | queryj-core/src/main/java/org/acmsl/queryj/api/exceptions/Sha256NotSupportedException.java | rydnr/queryj-rt | gpl-2.0 | 2,225 | 70 | codeparrot/github-code |
def94a17e91bb53d0ba9937124fb88bbe338a111bf86500e23387c8e450b23e6 | #ifndef __DISPLAY_PROPERTIES_BORDERS__H_
#define __DISPLAY_PROPERTIES_BORDERS__H_
/*LICENSE_START*/
/*
* Copyright (C) 2014 Washington University School of Medicine
*
* 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
*... | C | src/Brain/DisplayPropertiesBorders.h | Washington-University/workbench | gpl-2.0 | 7,859 | 176 | codeparrot/github-code |
9a401add61b5149836d1a3a2ca03669677b756cf8b246b00b68d9bf543f15392 | /*
* Copyright (c) 2011 Mark Liversedge (liversedge@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 of the License, or (at your option)
* any later version.
... | C++ | src/Train/Imagic.cpp | leifwar/GoldenCheetah | gpl-2.0 | 22,561 | 682 | codeparrot/github-code |
43e818207d1cb41fd6fa246fbbedf9db55872e4fe9f769b52735fcab61cf1bb3 | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2014 Realm Inc.
//
// 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/li... | C | Pods/Realm/realm-ios-0.80.0/Realm.framework/Versions/A/Headers/RLMConstants.h | AndrewSB/Trace | gpl-2.0 | 5,348 | 135 | codeparrot/github-code |
1d74fc491348bbd7a7a35d9b9ec7d521fa2a5234d70c338b84560ddc76d7ed3c | #include "Mover.h"
#include "Position.h"
#include "Vector.h"
#include "IStepperRegistrar.h"
Mover::Mover(Position& pos, const Position& target,
SpeedQuantity speed, IStepperRegistrar& registrar)
: pos_(pos)
, target_(target)
, speed_(speed)
, registrar_(registrar)
{
registrar_.suscribe... | C++ | src/logic/Mover.cpp | tpabst/Astral | gpl-2.0 | 671 | 34 | codeparrot/github-code |
7e96465cbac54a5a83096c766aa802c57684b6173412b1ca387aa28f1f7be53d | // rdwebresult.cpp
//
// Container class for Rivendel Web Service result messages.
//
// (C) Copyright 2011,2016 Fred Gleason <fredg@paravelsystems.com>
//
// 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... | C++ | lib/rdwebresult.cpp | radio-helsinki-graz/rivendell | gpl-2.0 | 3,438 | 155 | codeparrot/github-code |
fcf942f7678d3e91d74cfce1674502bd04b27cd687a2f18ffcd93ac5cc27c157 | /*
* R : A Computer Language for Statistical Data Analysis
* Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
* Copyright (C) 1998-2015 The R Core Team
* Copyright (C) 2002-2005 The R Foundation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the... | C | src/main/main.c | WelkinGuan/r-source | gpl-2.0 | 44,185 | 1,610 | codeparrot/github-code |
3ef0d6920b69d488070ca2b53d7ce87f390f33ef1fcff67446046ecf93c654a8 | <?php
class Kirki_Select_Control extends WP_Customize_Control {
/**
* @access public
* @var string
*/
public $type = 'select';
public $description = '';
public $subtitle = '';
public function render_content() {
if ( empty( $this->choices ) ) {
return;
} ?>
<label>
<span class="customize-contr... | PHP | kirki/includes/controls/class-Kirki_Select_Control.php | jamiebrwr/srh-theme-framework | gpl-2.0 | 1,021 | 40 | codeparrot/github-code |
285163ee5f2d44a65e83bac17d82f914f0015bc46d1fb8322b566b7048f9c0a4 | /*
* (C) Copyright 2003
* Texas Instruments <www.ti.com>
*
* (C) Copyright 2002
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
* Marius Groeger <mgroeger@sysgo.de>
*
* (C) Copyright 2002
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
* Alex Zuepke <azu@sysgo.de>
*
* (C) Copyright 2002-2004
* Gary J... | C | cpu/s5p645x/interrupts.c | gexueyuan/WAT89EC-10-UBOOT | gpl-2.0 | 7,389 | 314 | codeparrot/github-code |
60239bf090c34d7724e36eb89507858e9979207d34afb729b468a6bae33dcab2 | /*
* Copyright (c) 2009, 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 ... | Java | maxine/com.oracle.max.c1x/src/com/sun/c1x/ir/StoreRegister.java | arodchen/MaxSim | gpl-2.0 | 2,285 | 70 | codeparrot/github-code |
07891ddc4d6f96a5ebb7dad4e2774fdc9cd27fc0b98507b0114402ba4619f62c |
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "rt_serial.h"
#include "simple_ascii.h"
int main(int argc, char *argv[])
{
int device;
int n_reads = 0;
int n_do_writes = 0;
int n_ao_writes = 0;
//int n_serial = 0;
char dos[50];
int ao_vals[50];
snprintf(dos, sizeof(dos)... | C++ | react2/drivers/simple_ascii_new/sim_simple_ascii.cpp | adaptivertc/mosat | gpl-2.0 | 3,912 | 155 | codeparrot/github-code |
77f347bd3f7d118f23e06c4bfb9011c568c6842cb746ca7af3e39a0d2d7b1744 | /*
* Copyright (c) 2016. Sten Martinez
*
* 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... | Java | newsj-util/src/main/java/net/longfalcon/newsj/ws/newznab/caps/CategoriesType.java | stewartcavanaugh/newsj | gpl-2.0 | 1,555 | 52 | codeparrot/github-code |
2d7c02eb7c49cb83cb27c457c93633a740ae7c14b45fb572841b68ab3809a8a2 | package teammates.client.scripts.statistics;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Queue;
import com.google.appengine.api.datastore.Cursor;
import com.google.appengine.api.datastore.QueryResultIterator;
import com.googlecode.objectify.cmd.Query;
/**
* An iterator that iterates all... | Java | src/client/java/teammates/client/scripts/statistics/CursorIterator.java | xpdavid/teammates | gpl-2.0 | 1,981 | 74 | codeparrot/github-code |
d297b36e1dbe7b67359c9bd2ed00e00bf370829080d4cf1bf7ef78c6caeaf761 | /*
* mouse.c - mouse managing
*
* Copyright © 2007-2009 Julien Danjou <julien@danjou.info>
*
* 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 you... | C | mouse.c | grimpy/awesome | gpl-2.0 | 6,662 | 242 | codeparrot/github-code |
7b931497eb0c897fe7e6698551f977784cf2d99efa448ce9f8eb32d82ba89e72 | /*FreeMind - A Program for creating and viewing Mindmaps
*Copyright (C) 2000-2006 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others.
*
*See COPYING for Details
*
*This program is free software; you can redistribute it and/or
*modify it under the terms of the GNU General Public License
*as pu... | Java | freemind/view/mindmapview/attributeview/ExtendedAttributeTableModelDecorator.java | TheProjecter/sharedmind | gpl-2.0 | 4,143 | 123 | codeparrot/github-code |
1e074619e2b293ce516747b20038d3f84d6fa779c0ed1d1178e6a89f0b245046 | using Server.Items;
using Server.Mobiles;
using Server.Spells.Necromancy;
using Server.Spells.Ninjitsu;
using System;
using System.Collections.Generic;
namespace Server.Spells.Ninjitsu
{
public class MirrorImage : NinjaSpell
{
private static readonly Dictionary<Mobile, int> m_CloneCount = new Dictionar... | C# | Scripts/Spells/Ninjitsu/MirrorImage.cs | zerodowned/ServUO | gpl-2.0 | 8,994 | 312 | codeparrot/github-code |
c5be54f9e3844e3d130428d538cc80658c3634d45428025d5caac4dded4fc38b | /* --------------------------------------------------------------
collapse_left_menu.js 2015-10-15 gm
Gambio GmbH
http://www.gambio.de
Copyright (c) 2015 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
----------------------------------------------... | JavaScript | admin/javascript/engine/compatibility/collapse_left_menu.js | carlosway89/testshop | gpl-2.0 | 6,761 | 270 | codeparrot/github-code |
70e52068079923e85f02226d15280c7a68a56bb24697661293c462db3d6caba0 | <?php
/**
* Part of the Joomla Framework Database Package
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\Database\Pgsql;
use Joomla\Database\Pdo\PdoDriver;
use Psr\Log;
/**
* P... | PHP | src/Pgsql/PgsqlDriver.php | photodude/database | gpl-2.0 | 25,123 | 966 | codeparrot/github-code |
d82709f7b119b5f6a9421791378ac0bb2be00911e7665ac09fa5748bfc522d62 | package net.himadri.passwordmanager.dto;
public class BackupData {
private final Long id;
private final Long backupDate;
private final int numberOfPasswords;
private final String masterPasswordHashAlgorithm;
public BackupData(Long id, Long backupDate, int numberOfPasswords, String masterPasswordHa... | Java | src/main/java/net/himadri/passwordmanager/dto/BackupData.java | himadri77/passwordmanager | gpl-2.0 | 832 | 32 | codeparrot/github-code |
d4d7d66c5b7bb7882365e328d0e548e2b2d88a3802272aff70281b7eecc81b40 | /*
* Qualcomm Maemo Composite driver
*
* Copyright (C) 2008 David Brownell
* Copyright (C) 2008 Nokia Corporation
* Copyright (C) 2009 Samsung Electronics
* Copyright (c) 2010, The Linux Foundation. All rights reserved.
*
* This program from The Linux Foundation is free software; you can
* redistribute it and/... | C | drivers/usb/gadget/qcom_maemo.c | aicjofs/android_kernel_lge_v500 | gpl-2.0 | 8,017 | 305 | codeparrot/github-code |
402a1f662a5ceb365b717d64d6b3a33259a8faa4410b5b5316cb07f70516b24a | /*
* drivers/usb/gadget/s3c_udc_otg.c
* Samsung S3C on-chip full/high speed USB OTG 2.0 device controllers
*
* Copyright (C) 2008 for Samsung Electronics
*
*
* 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 ... | C | drivers/usb/gadget/s3c_udc_otg.c | Thinkware-Device/willow | gpl-2.0 | 32,990 | 1,399 | codeparrot/github-code |
ff4debbf84486c9e08f38c64902721fbf3fccdab7eda190c81d532e4268db20c | <?php
/**
##DOC-SIGNATURE##
This file is part of WideImage.
WideImage 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 License, or
(at your option)... | PHP | sites/all/themes/brandedgov/lib/Operation/ApplyFilter.php | ehazell/AWPF | gpl-2.0 | 2,171 | 67 | codeparrot/github-code |
3dd2d1892c18aafbd10e850b9a804b9b3fe9599185108e0d39d5c4de9e3dae21 | <?php
namespace Strata\Controller;
use Strata\Utility\Hash;
use Strata\Strata;
/**
* Handles safe access to HTTP request data, whether from POST, GET, files or cookies.
* It encodes data accordingly and does basic data integrity validation.
*/
class Request
{
/**
* A cache of the parsed GET values in the... | PHP | src/Controller/Request.php | strata-mvc/strata | gpl-2.0 | 9,366 | 347 | codeparrot/github-code |
c50983dc228a8b2fca5ed7227568758e3e83564278861db7b676098e7dd76b3c | package edu.stanford.nlp.ling;
import edu.stanford.nlp.process.Morphology;
/**
*
* A {@code WordLemmaTagFactory} acts as a factory for creating
* objects of class {@code WordLemmaTag}.
*
* @author Marie-Catherine de Marneffe
*/
public class WordLemmaTagFactory implements LabelFactory {
public static final in... | Java | src/edu/stanford/nlp/ling/WordLemmaTagFactory.java | rupenp/CoreNLP | gpl-2.0 | 3,634 | 117 | codeparrot/github-code |
27522583962bcdac046912ac6207510332434a9cc1e2516f572bf9712065042a | /*
Copyright (C) 2004-2011 John E. Davis
This file is part of the S-Lang Library.
The S-Lang Library 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... | C | src/pcconf.c | Distrotech/slang | gpl-2.0 | 1,689 | 108 | codeparrot/github-code |
c30cdbca0c0ab9701d3209557b11943ee27d2b81a10dce71455a8f1531474217 | from __future__ import print_function
import errno
import os
import click
from pathlib2 import Path
def _is_yaml_file(path):
return path.suffix in ('.yaml', '.eyaml')
def _warn_on_unknown_encryption(path):
if path.suffix == '.eyaml' and not Path('.yaml_key').is_file():
print(
"... | Python | cfme/scripting/link_config.py | akarol/cfme_tests | gpl-2.0 | 2,905 | 93 | codeparrot/github-code |
eac33faf3a62713cfee22a31df5077f1315b9eb6451bc969a0f6dbb66d307594 | class Customer < ActiveRecord::Base
belongs_to :sales_person
has_many :prices
include SqlUtils
extend NavisionRecord
def self.get_sql(code)
return "SELECT *
FROM #{self.table('Customer', code)}
WHERE No_ NOT LIKE 'ZZ%'"
end
def self.new_active_recor... | Ruby | app/models/customer.rb | kurtmc/alchemy-internal-website | gpl-2.0 | 2,529 | 67 | codeparrot/github-code |
e732c171c6457c0cd0b507b34f488ba179daca6fa11ab844db7c65709efb8597 | /* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/aoac.h>
#include <amdblocks/gpio.h>
#include <amdblocks/uart.h>
#include <commonlib/helpers.h>
#include <console/console.h>
#include <device/device.h>
#include <device/mmio.h>
#include <soc/aoac_defs.h>
#include <soc/gpio.h>
#include <soc/southbridge.h>
#... | C | src/soc/amd/cezanne/uart.c | pcengines/coreboot | gpl-2.0 | 2,153 | 101 | codeparrot/github-code |
112a21cebcd594073a6c88c7c9b41a6b1fed10941278050b99a31fcd44925ffc | #define serverAdminMenu_dialog 50006
#define serverAdminMenu_option 50007
class ServerAdminMenu
{
idd = serverAdminMenu_dialog;
movingEnable=1;
onLoad = "uiNamespace setVariable ['ServerAdminMenu', _this select 0]";
class controlsBackground {
class ServerAdminMenu_Title:w_RscText
{
idc=-1;
text="Menu";... | C++ | client/systems/adminPanel/dialog/serverAdminMenu.hpp | Rusk85/A3Wasteland_CLA_basedOn_404.Chernarus | gpl-2.0 | 853 | 54 | codeparrot/github-code |
d40da2d86b0f2356cc132d78efa339031bdcb38652a4e299dff1b51f9df8011d | #ifndef QEMU_NET_H
#define QEMU_NET_H
#include "qemu/queue.h"
#include "qemu-common.h"
#include "qapi/qmp/qdict.h"
#include "qemu/option.h"
#include "net/queue.h"
#include "migration/vmstate.h"
#include "qapi-types.h"
#define MAX_QUEUE_NUM 1024
/* Maximum GSO packet size (64k) plus plenty of room for
* the ethernet... | C | include/net/net.h | ncultra/qemu | gpl-2.0 | 8,075 | 222 | codeparrot/github-code |
51fff323a13b1f6d8efbe6f33603afa28c84e19df19adc0e4660cefe0ccafd9f | <?php
namespace Elgg;
/**
* An object representing a single Elgg database.
*
* WARNING: THIS API IS IN FLUX. PLUGIN AUTHORS SHOULD NOT USE. See lib/database.php instead.
*
* @access private
*
* @package Elgg.Core
* @subpackage Database
*/
class Database {
/** @var string $tablePrefix Prefix for database ... | PHP | engine/classes/Elgg/Database.php | gnumdk/Elgg | gpl-2.0 | 16,524 | 607 | codeparrot/github-code |
fc1dca64584a3e4706904beafa3d21dcfa811842c4c8ac856eb68b460215dfc3 | /*****************************************************************************\
* account_functions.c - functions dealing with accounts in the
* accounting system.
*****************************************************************************
* Copyright (C) 2002-2007 The Regents of the Univ... | C | src/sacctmgr/account_functions.c | surban/slurm | gpl-2.0 | 32,742 | 1,203 | codeparrot/github-code |
fd33cd44975df3f328f60e27730bd09beea617dc47378482c009cec5b666ff5e | <?php
/**
* Pure-PHP implementation of Twofish.
*
* Uses mcrypt, if available, and an internal implementation, otherwise.
*
* PHP versions 4 and 5
*
* Useful resources are as follows:
*
* - {@link http://en.wikipedia.org/wiki/Twofish Wikipedia description of Twofish}
*
* Here's a short example of how to us... | PHP | wp-content/plugins/worker/src/PHPSecLib/Crypt/Twofish.php | goozmo/beatcycle | gpl-2.0 | 40,204 | 896 | codeparrot/github-code |
b6e778ccba9369522a8f9ddcffbaa9a1f88641768565b65c90532981157149a5 | /*******************************************************************************
*
* Copyright (c) 2008 Cavium Networks
*
* This file 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.
... | C | drivers/usb/host/ehci-str9100.c | fgoncalves/Modified-TS7500-Kernel | gpl-2.0 | 4,806 | 183 | codeparrot/github-code |
beffb547b5532de849b486e2cea11eb0195296fc91437c474c29a0e783242c0f | <?php
include_once('../../../../wp-config.php');
// Start lounge content
if ($_POST['action'] == 'menu_lounge') {
global $current_user;
$html = '';
if (is_user_logged_in()) {
// This filter allows others to add text (or whatever) above the output
$html = apply_filters ( '__wps__lounge_filter_top', $html);
... | PHP | wp-content/upgrade/wp-symposium1.tmp/wp-symposium/ajax/lounge_functions.php | DialloAbdourahamane/siteDepotProjet | gpl-2.0 | 4,483 | 168 | codeparrot/github-code |
e1b8ea630b95a124b3c32b44199cdcc0109ef389f805bfe2a2094c87eb0034d4 | /**
*
* Copyright (c) 2009-2013 Freedomotic team http://freedomotic.com
*
* This file is part of Freedomotic
*
* 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, o... | Java | framework/freedomotic-core/src/main/java/it/freedomotic/environment/EnvironmentPersistence.java | sanyaade-iot/freedomotic | gpl-2.0 | 15,702 | 425 | codeparrot/github-code |
25529dbe0760f5df5c496fdf8d1bfdaccd5201300926afc44902da187e6d1d8f | /*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2002 Chris Schoeneman, Nick Bolton, Sorin Sbarnea
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file COPYING that should have accompanied this file.
... | C++ | src/lib/synergy/CAppUtil.cpp | wittekm/synergy-multi-monitor | gpl-2.0 | 1,259 | 59 | codeparrot/github-code |
cbfbaf6e5bf1b0c8c557faf1e702e0d1f755e13e256ff59692d3d0e13459a6ee | /*
Math-NEON: Neon Optimised Math Library based on cmath
Contact: lachlan.ts@gmail.com
Copyright (C) 2009 Lachlan Tychsen - Smith aka Adventus
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundati... | C++ | jni/dosbox/src/math_neon/math_modf.cpp | atkio/dbsk | gpl-2.0 | 1,756 | 68 | codeparrot/github-code |
3abac3284d6058d4c6fd4fa28232de0c7652d881778fc2d00f18dda673c1a355 | #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <wchar.h>
#include <86box/86box.h>
#include <86box/device.h>
#include <86box/io.h>
#include <86box/sound.h>
#include <86box/snd_sn76489.h>
int sn76489_mute;
static float volslog[16] = {
0.00000f, 0.59715f, 0... | C | src/sound/snd_sn76489.c | TC1995/86Box | gpl-2.0 | 8,789 | 304 | codeparrot/github-code |
dd1fae353eff0dc03de9bb557e2ee3a36128010c2138f1021144abb0e060233d | /*
* File : drv_sd.c
* LPC MCI Driver
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Log... | C | software/rtthread_examples/drivers/drv_sd.c | 52osworld/RealBoard4088 | gpl-2.0 | 63,938 | 2,169 | codeparrot/github-code |
de87ebd9d088bfc0f16ffc7ced95362974cce6bacc446eb1372b256f597a9232 | /*
* Adium is the legal property of its developers, whose names are listed in the copyright file included
* with this source distribution.
*
* 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; ... | C | Source/AIXMLChatlogConverter.h | mosleyjr/Adium | gpl-2.0 | 1,404 | 40 | codeparrot/github-code |
0fcecfd0eb7280fd59bf3cd1319acd82f25b3ba237f3da8e38c757eea388d21e | <?php
namespace Elgg;
/**
* Delegates requests to controllers based on the registered configuration.
*
* Plugin devs should use these wrapper functions:
* * elgg_register_page_handler
* * elgg_unregister_page_handler
*
* @package Elgg.Core
* @subpackage Router
* @since 1.9.0
* @access private
*/
c... | PHP | engine/classes/Elgg/Router.php | gnumdk/Elgg | gpl-2.0 | 3,311 | 125 | codeparrot/github-code |
0e372d2bf442313105a3ef6765f925551fee29862cadf3fa074393ab135b1cad | #pragma once
#include <arrp.hpp>
#include <sndfile.hh>
#include <iostream>
#include <string>
#include <vector>
using std::string;
using std::vector;
template <typename traits>
class wav_interface
{
private:
SndfileHandle m_in_file;
SndfileHandle m_out_file;
int m_num_channels = 0;
int64_t m_output_co... | C++ | interface/wav/interface.hpp | jleben/arrp | gpl-2.0 | 2,462 | 93 | codeparrot/github-code |
9126371e0abb25e00e361d49e0a69a1be9e6c5978946c578e334f29988721bea | <?php
/**
* @author JoomlaShine.com Team
* @copyright JoomlaShine.com
* @link joomlashine.com
* @package JSN ImageShow
* @version $Id: images.php 8411 2011-09-22 04:45:10Z trungnq $
* @license GNU/GPL v2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla... | PHP | administrator/components/com_imageshow/models/image.php | worldwideinterweb/joomla-173 | gpl-2.0 | 9,796 | 289 | codeparrot/github-code |
223b4bf3143b92173c80897baf01900617c79038277d87c970786ead19607a4c | // Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/HotkeyManager.h"
#include <algorithm>
#include <array>
#include <string>
#include <vector>
#include <fmt/format.h>
#include "Common/Common.h"
#include "Common/CommonTypes.h"
#include "Common... | C++ | Source/Core/Core/HotkeyManager.cpp | JonnyH/dolphin | gpl-2.0 | 14,667 | 440 | codeparrot/github-code |
da94e0a622484ccacd4c8293a53a6d368a4329259e2cf4b3629b6cd6c59736f3 | //------------------------------------------------------------------------------
// File: Schedule.h
//
// Desc: DirectShow base classes.
//
// Copyright (c) 1996-2001 Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
#ifndef __CAMSchedule__
#... | C | common/baseclasses/schedule.h | kasper93/LAVFilters | gpl-2.0 | 4,207 | 131 | codeparrot/github-code |
021d07aa302fb8208c198b42203a30ca1bee89d7e66b1f79e07ae44d37435887 | package pl.llp.aircasting.activity;
import android.os.AsyncTask;
import android.util.Log;
import android.view.*;
import pl.llp.aircasting.Intents;
import pl.llp.aircasting.R;
import pl.llp.aircasting.activity.menu.MainMenu;
import pl.llp.aircasting.event.ui.TapEvent;
import pl.llp.aircasting.helper.LocationHelper;
imp... | Java | Android/src/main/java/pl/llp/aircasting/activity/ButtonsActivity.java | ekospinach/Wireless-E-Health-Monitor | gpl-2.0 | 9,591 | 329 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.