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
6019869438c2371f4444829013d5e43b229bff29e98cfcf6c657f22eeaca83b4
import collections import re import sys import warnings from bs4.dammit import EntitySubstitution DEFAULT_OUTPUT_ENCODING = "utf-8" PY3K = (sys.version_info[0] > 2) whitespace_re = re.compile("\s+") def _alias(attr): """Alias one attribute name to another for backward compatibility""" @property def alias...
Python
lib/webviewer/bs4/element.py
ruuk/script.web.viewer2
gpl-2.0
61,200
1,604
codeparrot/github-code
5620d4730ae0b9f499e660ce08ec5cab72570ff9e5c754f688980cda70cb92c2
/* * i2c-necravine.c: adapter and algoritms driver for the I2C peripheral on the * NEC RavinE * * Copyright 2003 mycable GmbH * Author: mycable GmbH * Joerg Ritter jr@mycable.de * * based on Montavista's i2c-x220.c * * This program is free software; you can redistribute it and/...
C
drivers/i2c/i2c-necravine.c
robacklin/celinux
gpl-2.0
14,201
562
codeparrot/github-code
c7ec05bd75ea1562adad25f9b7bf593696ad48c8ca014e609c559c6fc589c322
<?php /* Plugin Name: Cactus - Mega Menu Plugin URI: http://www.cactusthemes.com Description: Rewrite menu Author: Cactusthemes Author URI: http://www.cactusthemes.com License: TF Version: 1.0 */ define('MASHMENU_NAV_LOCS', 'wp-mash-menu-nav-locations'); define('MASHMENU_VERSION', '1.6'); require_once 'co...
PHP
wp-content/themes/theblog/inc/megamenu/megamenu.php
openfoodfoundation/openfoodnetwork-wp
gpl-2.0
48,725
1,334
codeparrot/github-code
19b2eb12f0d2d0580e1fa6e275dd67918bbc45f400360ebb361b7d68f5eead93
/* * Copyright (C) 2006 Gérard Milmeister * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT...
Java
java/src/org/rubato/logeo/reform/RecursiveLimitReformer.java
wells369/Rubato
gpl-2.0
3,763
115
codeparrot/github-code
668c4251a33c36899b99ffa8b2df6cff65c449d51240ff931668cf34c4e07ee5
/* * arch/arm/plat-mxc/iomux-v1.c * * Copyright (C) 2004 Sascha Hauer, Synertronixx GmbH * Copyright (C) 2009 Uwe Kleine-Koenig, Pengutronix * * Common code for i.MX1, i.MX21 and i.MX27 * * 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/plat-mxc/iomux-v1.c
Core2idiot/Kernel-Samsung-3.0...-
gpl-2.0
6,129
249
codeparrot/github-code
b5a100b53a49e6967c0b34e5f2c8b00598e83eb12832c505a94b33baa2843468
/* Copyright 2005-2007 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) */ /*************************************************************************************************/ #ifndef GIL_CH...
C++
k3dsdk/gil/boost/gil/extension/numeric/channel_numeric_operations.hpp
K-3D/k3d
gpl-2.0
6,955
162
codeparrot/github-code
e46a8f11f790774ffb1a7c3abb533d17922b6a1963822965e260156d909e2961
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 1.8 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2007 | +--------------------...
PHP
sites/all/modules/civicrm/CRM/Core/BAO/CustomGroup.php
zakiya/Peoples-History
gpl-2.0
60,540
1,443
codeparrot/github-code
ab8ba0db94ed3af48e3d0938b14cdf7ddde36c39db3ee2a288827c12b458fd39
/* * Copyright (c) 2001, 2014, 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 ...
C++
src/share/vm/gc_implementation/g1/g1RemSet.hpp
netroby/jdk9-shenandoah-hotspot
gpl-2.0
6,594
180
codeparrot/github-code
7ea2d0a70673f07db281a6ea4b9bca81870029f197483a4397be383aa5cf4d92
/*************************************************************************** File : AbstractFilter.h Project : SciDAVis -------------------------------------------------------------------- Copyright : (C) 2007,2008 by Knut Franke, Tilman Benkert Email (use @ f...
C
src/backend/core/AbstractFilter.h
gerlachs/labplot
gpl-2.0
4,546
103
codeparrot/github-code
9f57d967c29eff4ce6dbfdf145f0a654de88e4dc4555e743afa7545ac793ab94
/* Copyright (C) 2001 Tensilica, Inc. All Rights Reserved. Revised to support Tensilica processors and to improve overall performance */ /* Operating system specific defines to be used when targeting GCC for hosting on Windows NT 3.x, using a Unix style C library and tools, as distinct from win...
C
gccfe/gnu/config/i386/win32.h
qiyao/xcc
gpl-2.0
10,407
283
codeparrot/github-code
7333140b19074144aadd94644d9426684f5f94f56b8df68651c838d7615a618a
title p:\config\fifo_dlg.c .386 .387 CODE32 segment para use32 public 'CODE' CODE32 ends DATA32 segment para use32 public 'DATA' DATA32 ends CONST32_RO segment para use32 public 'CONST' CONST32_RO ends BSS32 segment para use32 public 'BSS' BSS32 ends DGROUP group BSS32, DATA32 assume cs:FLAT, ds:FLAT, ss:FLAT, es:F...
Assembly
CONFIG/debug/fifo_dlg.asm
OS2World/APP-COMM-ComScope
gpl-2.0
24,077
1,297
codeparrot/github-code
242b325fbdffc9313628ec4aac9c2e430fbcb0189aaeb593264f143315c7e29b
package org.safehaus.penrose.jdbc; /** * @author Endi Sukma Dewata */ public class StatementSource { private String alias; private String partitionName; private String sourceName; public String getAlias() { return alias; } public void setAlias(String alias) { ...
Java
core/src/java/org/safehaus/penrose/jdbc/StatementSource.java
identityxx/penrose-server
gpl-2.0
719
36
codeparrot/github-code
990ddc1eb6a8210b2caa7982a54c19cea64cc780ee898f724c4c9334bfc23ccd
/* DVB USB compliant linux driver for mobile DVB-T USB devices based on * reference designs made by DiBcom (http://www.dibcom.fr/) (DiB3000M-B) * * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de) * * based on GPL code from DiBcom, which has * Copyright (C) 2004 Amaury Demol for DiBcom (ademol@d...
C
drivers/media/dvb/dvb-usb/dibusb-mb.c
archos-sa/archos-gpl-gen6-kernel
gpl-2.0
14,417
467
codeparrot/github-code
57c5c47bad0588fb1c28f8ac2860b164ee364f7309906a3c18d83c295514895e
/* Mango - Open Source M2M - http://mango.serotoninsoftware.com Copyright (C) 2006-2011 Serotonin Software Technologies Inc. @author Matthew Lohbihler This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by th...
Java
src/com/serotonin/mango/rt/event/detectors/BinaryStateDetectorRT.java
SCADA-LTS/Scada-LTS
gpl-2.0
3,230
69
codeparrot/github-code
0e6aae857049ca7185122711f8cd78a1b3aba2d861dee3e9066f1e6471253d29
<?php namespace TYPO3\CMS\Extbase\Persistence\Generic; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and l...
PHP
typo3/sysext/extbase/Classes/Persistence/Generic/LazyLoadingProxy.php
morinfa/TYPO3.CMS
gpl-2.0
6,094
217
codeparrot/github-code
6213a157924d65042d92e6d44125e1747aa5afe46b0c1a50e901a3ea2b0381b0
#ifdef HAVE_XORG_CONFIG_H #include <xorg-config.h> #endif #include <X11/X.h> #include "os.h" #include "xf86.h" #include "xf86Priv.h" #define XF86_OS_PRIVS #include "xf86_OSproc.h" #include "xf86_OSlib.h" #include <machine/apmvar.h> #define APM_DEVICE "/dev/apm" static pointer APMihPtr = NULL; static void bsdCloseAP...
C
user/xorg-xserver/xorg-server-1.12.4/hw/xfree86/os-support/bsd/bsd_apm.c
atmark-techno/atmark-dist
gpl-2.0
3,401
140
codeparrot/github-code
8cfdbbf056cc9b8dd8e4776e59a1b0c17f6bf444c6389079dbe3c1ef743a0e21
(function ($) { Drupal.ychenikSearch = {}; /** * jQuery plugin. */ $.fn.ychenikSearch = function (stars) { stars = stars || 0; this.each(function () { $(this).addClass('ychenik-search').find('label').each(function () { var context = this.form; var $label = $(this); if (!$label.attr('for')...
JavaScript
sites/all/modules/custom/ychenik_search/ychenik_search.js
borisay/ychenik
gpl-2.0
3,267
109
codeparrot/github-code
5aae53a6b0a369da214422fa0623ffdaac77af3baf97cb8d2c918ea3259ea916
<?php /* * * Copyright 2001-2014 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun * * This file is part of GEPI. * * GEPI 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 ...
PHP
gestion/savebackup.php
Regis85/gepi
gpl-2.0
2,449
93
codeparrot/github-code
dcd2b9f09162e59c97af730908eb7e106f72de32cc8a01d9eadd8247895254a1
/* * Copyright 2001-2004 Brandon Long * All Rights Reserved. * * ClearSilver Templating System * * This code is made available under the terms of the ClearSilver License. * http://www.clearsilver.net/license.hdf * */ /* Initial version based on multi-proc based server (like apache 1.x) * * Parts are: * 1...
C
src/clearsilver/neo_server.c
udawtr/magro
gpl-2.0
4,920
236
codeparrot/github-code
00c33192c3fe64c078452d04deb112d02db45188b7f0a50989f720f2c214bb6c
<?php //Attendee functions function add_attendee_questions($questions, $registration_id, $attendee_id=0, $extra=array()) { if (array_key_exists('session_vars', $extra)) { $response_source = $extra['session_vars']; } else $response_source = $_POST; /* echo 'Debug: <br />'; print_r(...
PHP
wp-content/plugins/event-disabled/event-espresso-bak/espress-old/event-espresso.3.1.17.P/includes/functions/attendee_functions.php
TheOrchardSolutions/WordPress
gpl-2.0
5,379
121
codeparrot/github-code
e05fc04c0477e820f5d954cfb295f9cd80642535ea57751d8c3cf37c62cf415b
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>AsteriskManager Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </h...
HTML
doc/html/asteriskmanager.html
muromec/qtopia-ezx
gpl-2.0
4,468
61
codeparrot/github-code
65c887ced8d04f1dae09720acec595746f8f8e787420422c265bf4d5cf7b8061
/* id3ted: mp3file.cpp * Copyright (c) 2011 Bert Muennich <be.muennich at googlemail.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 * o...
C++
mp3file.cpp
muennich/id3ted
gpl-2.0
17,248
665
codeparrot/github-code
3cd23fa4ec1a162ffcda8746eff16328b80d67a68955c2999a8255c9e7471727
<?php /** * * @package Groups page * @version $Id: groups.php 06/11/2010 RMcGirr83 * @copyright (c) 2005 phpBB Group * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ /** * @ignore */ define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; /...
PHP
root/groups.php
phpbbmodders-30x-mods/groups_page
gpl-2.0
5,213
175
codeparrot/github-code
d2c4de873bb3f4d26dd2484fe6c7d34f2a73ec82c7481c883e2b71be962e5dd2
/* * net/core/ethtool.c - Ethtool ioctl handler * Copyright (c) 2003 Matthew Wilcox <matthew@wil.cx> * * This file is where we call all the ethtool_ops commands to get * the information ethtool needs. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera...
C
net/core/ethtool.c
kozmikkick/eternityprj-kernel-endeavoru-128
gpl-2.0
43,324
1,774
codeparrot/github-code
5e00b40da24649b3b626dbfa13831dde29623b23db104c242aac44a216d7e6ab
package klaue.mcschematictool.blocktypes; /** * A farmland block with wetness * * @author klaue * */ public class Farmland extends Block { /** * initializes the farmland block * * @param wetness 0-8 */ public Farmland(byte wetness) { super((short) 60, wetness); this....
Java
MCArchitect/src/klaue/mcschematictool/blocktypes/Farmland.java
Fernando-Marquardt/mcarchitect
gpl-2.0
1,419
56
codeparrot/github-code
e625d1c3fda772ab9645433ed9c31df5b162a51662a5ddb641de8f4566b0df1f
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
Java
modules/quercus/src/com/caucho/quercus/lib/curl/UrlEncodedBody.java
mdaniel/svn-caucho-com-resin
gpl-2.0
2,002
78
codeparrot/github-code
8dfe07fc386d46f46c55a882b070c155ba42c12a74f8e19d5de489d1c7fe006a
<?php /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// /////// SISFOKOL_SMK_v4.0_(NyurungBAN) /////// /////// (Sistem Informasi Sekolah untuk SMK) /////// //////////////////////////...
PHP
janissari/k/album/album_detail_view.php
MuhammadArdhi/sisfokol
gpl-2.0
7,774
278
codeparrot/github-code
679c34aea01f966d1402f3178bc31b3f19e4041a57fa3cf3ac060a90170730f0
#!/usr/bin/env perl # -*- perl -*- ###################################################################### # gffmatch.pl -- Simple program to match BioWare Gff files # Copyright (c) 2004 Tero Kivinen # All Rights Reserved. ###################################################################### # Program: gffmatc...
Perl
tools/gffmatch.pl
mtijanic/zijper
gpl-2.0
35,566
1,191
codeparrot/github-code
e85d4badb94beb8a9a9006cf15d0a8b6dd89d53f1dcab4f54792bd018c390171
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ****************************************************************** // ****************************************************************** // * // * This file...
C++
src/core/hle/Patches.cpp
LukeUsher/Cxbx-Reloaded
gpl-2.0
37,876
469
codeparrot/github-code
f35efbd12b656aa2328ad880aa4555faa045e6820bae2af2c11c057c51cd6c80
<?php /** * File containing the ezpRestRequest class * * @copyright Copyright (C) 1999-2011 eZ Systems AS. All rights reserved. * @license http://ez.no/software/proprietary_license_options/ez_proprietary_use_license_v1_0 eZ Proprietary Use License v1.0 * @package rest * */ /** * Class mimicking ezcMvcRequest w...
PHP
patches/4.5/kernel/private/rest/classes/request/rest_request.php
gggeek/ezcontentstaging
gpl-2.0
6,241
192
codeparrot/github-code
dafbef6860cc2c6ec5c858a97fd7b79e6ae070ae8f8631303f0dbc609ff60248
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01682.java
iammyr/Benchmark
gpl-2.0
2,526
70
codeparrot/github-code
1fa44d79e6de41b11ce9b629981ea0bf0af14145339f838cffcac70a10904454
/* * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
C
openjdk/jdk/src/solaris/native/sun/java2d/loops/vis_IntArgbPre.c
TheTypoMaster/Scaper
gpl-2.0
36,242
1,219
codeparrot/github-code
137158501c9e2d84c0ec61b7c99d76661c904d064937a3dac778d87705bab57d
<?php /** * @file * Displays a single Drupal page. * * Available variables: * * General utility variables: * - $base_path: The base URL path of the Drupal installation. At the very * least, this will always default to /. * - $css: An array of CSS files for the current page. * - $directory: The directory th...
PHP
sites/all/themes/custom/greyscale/page.tpl.php
ReubenScott/websites
gpl-2.0
7,699
191
codeparrot/github-code
bedfc0ebbcad3aabff6ae63610b8c076604d5e938357292b8a4a2225938851de
<?php /** * Provide the output functions for the SelectUser class * @author Nick Korbel <lqqkout13@users.sourceforge.net> * @version 02-05-05 * @package Templates * * Copyright (C) 2003 - 2005 phpScheduleIt * License: GPL, see LICENSE */ $link = CmnFns::getNewLink(); // Get Link object /** * Prints out the user manag...
PHP
templates/selectuser.template.php
ecleveland5/open-equipment-scheduler
gpl-2.0
3,158
92
codeparrot/github-code
0dc54de44dca63b7d3021954b70157531175e9431c431868a99c7d666e7f6110
/* * ss_cazm.c: CAZM- and ASCII- format routines for SpiceStream * * Copyright (C) 1998,1999 Stephen G. Tell * * 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 Lic...
C
spicefile/ss_cazm.c
l-chang/gwave
gpl-2.0
6,286
252
codeparrot/github-code
a356a9a34e4d28eb0f8e870e8a12ef0a90850f5cb1bc9a3f750d809b48dfe407
<?php namespace SBL; use OutputPage; use Title; /** * @license GNU GPL v2+ * @since 1.0 * * @author mwjames */ class PageDisplayOutputModifier { /** * @var boolean */ private $hideSubpageParentState; /** * @var array */ private $subpageByNamespace; /** * @since 1.0 * * @param boolean $hid...
PHP
extensions/SemanticBreadcrumbLinks/src/PageDisplayOutputModifier.php
brandonphuong/mediawiki
gpl-2.0
1,267
67
codeparrot/github-code
364f7923ee979960698e4d921c9111e43de99bdf04724f9483ee1f00781852dd
<?php /** * moduleFunctions.php * Copyright 2013-2016 by Juan Antonio Martinez ( juansgaviota at gmail dot 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...
PHP
agility/modules/moduleFunctions.php
nedy13/AgilityContest
gpl-2.0
2,052
46
codeparrot/github-code
10e2ca0554cca142045f7364bd793bf395acc4e7497ea3809303f145133f12c2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> com.google.gwt.editor.ui.client.adapters Class Hierarchy (Google Web Toolkit Javadoc) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" ...
HTML
web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/gwt/editor/ui/client/adapters/package-tree.html
JakaCikac/dScrum
gpl-2.0
7,484
157
codeparrot/github-code
8157b6e3c3c4e19c2d1003c30dd4c16fd8e728d8822ea18426afcd0239bfbeba
/* $Id: errno.c 3174 2010-05-17 12:51:06Z ming $ */ /* * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.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...
C
pjmedia/src/pjmedia-audiodev/errno.c
kaaustubh/pjsip
gpl-2.0
5,995
207
codeparrot/github-code
8cbd503708c07c15832fa850e92e7c4c35a4fe66490be9d09d0a9b076a5301e2
#!/usr/bin/env python # # Copyright (C) 2004 Mark H. Lyon <mark@marklyon.org> # # This file is the Mbox & Maildir to Gmail Loader (GML). # # Mbox & Maildir to Gmail Loader (GML) is free software; you can redistribute # it and/or modify it under the terms of the GNU General Public License # as published by th...
Python
gml.py
jslag/gml
gpl-2.0
3,630
93
codeparrot/github-code
41b356dc389928b431352c241ffa14a715317d0ed955dc31742c24ce05365c35
package pl.azurro.kafka.groupmonitor; import static java.util.Collections.singletonList; import static org.fest.assertions.Assertions.assertThat; import static org.mockito.Matchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import kafka.cluster.Broker; import kafka.javaapi.Off...
Java
src/test/java/pl/azurro/kafka/groupmonitor/GroupMonitorTest.java
azurro/kafka-group-monitor
gpl-2.0
3,275
87
codeparrot/github-code
2df7ce08dd9e0a25710cb1c5b10e91794a371058ca37cd675840d0db29c964c1
#include <linux/module.h> #include <linux/vermagic.h> #include <linux/compiler.h> MODULE_INFO(vermagic, VERMAGIC_STRING); __visible struct module __this_module __attribute__((section(".gnu.linkonce.this_module"))) = { .name = KBUILD_MODNAME, .init = init_module, #ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module, ...
C
drivers/media/rc/keymaps/rc-behold-columbus.mod.c
avareldalton85/rpi2-linux-rt
gpl-2.0
877
35
codeparrot/github-code
f8577490990c31303eebed9ca4c709519c07b93e63c1b0ee1f74523679b230e3
<?php /** * Core file * * @author Vince Wooll <sales@jomres.net> * @version Jomres 7 * @package Jomres * @copyright 2005-2013 Vince Wooll * Jomres (tm) PHP, CSS & Javascript files are released under both MIT and GPL2 licenses. This means that you can choose the license that best suits your project, and use it...
PHP
jomres/core-minicomponents/j06000module_popup.class.php
parksandwildlife/parkstay
gpl-2.0
8,699
169
codeparrot/github-code
4ac3c4b537eeb6bf7ee308d03725a5459ae7cc683c5e422ea8e6a6172d3ab8f3
/* * 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/game/ObjectMgr.h
eyeless/mangos
gpl-2.0
34,467
908
codeparrot/github-code
a34a4264e4875391789f965a1e1d5c0969356fa9fef65436bc2418cff6d3a091
# Copyright (c) 2006, 2014, 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 the ...
CMake
storage/innobase/innodb.cmake
ForcerKing/ShaoqunXu-mysql5.7
gpl-2.0
6,566
232
codeparrot/github-code
03fb9a53dcf2f0c2db08d8d931031a7926d4edd5c40759c705b611eb857073a6
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2006-2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
Java
opennms-model/src/main/java/org/opennms/netmgt/model/OnmsMonitoredServiceDetail.java
qoswork/opennmszh
gpl-2.0
4,276
151
codeparrot/github-code
c8d1394f6bf6bfd2ec4188540012483971b5c3d9a8170acda5bd86150e453c30
/************************************************************************************** * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
Java
examples/stockticker/src/test/java/com/espertech/esper/example/stockticker/TestStockTickerMultithreaded.java
sungsoo/esper
gpl-2.0
4,900
99
codeparrot/github-code
0c241a1d5d58413efe9a9b37115d48bae578f0354ba66740ce4d430b5ae6bca1
/* * Copyright (C) 2014 Stanislav Nepochatov * * 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 ...
Java
src/java/org/ribbon/commands/ComLogout.java
spoilt-exile/RibbonSystem
gpl-2.0
2,021
59
codeparrot/github-code
3884d87e6bb251ce2f50ea60c78dcea80d9302aac76f5f21a5e9e6b43a9dbd5a
angular.module('SpamExpertsApp') .run(['$rootScope', '$state', 'uiService', 'AuthService', 'API_EVENTS', function ($rootScope, $state, uiService, AuthService, API_EVENTS) { $rootScope.$on('$stateChangeStart', function (event, next) { if (next.name !== 'login') { ...
JavaScript
src/js/auth/init.js
SpamExperts/mobile-app
gpl-2.0
2,639
64
codeparrot/github-code
5aa7d0619343d95391f67e7e4911d46e3a047fdabbab9abfdc320967a5382b79
// SPDX-License-Identifier: GPL-2.0 // // Exemples de la formation // "Ecriture de drivers et programmation noyau Linux" // Chapitre "Driver en mode caracteres" // // (c) 2001-2022 Christophe Blaess // // https://www.logilin.fr/ // #include <linux/cdev.h> #include <linux/device.h> #include <linux/fs.h> #include <l...
C
exemples/04-driver-caracteres/example-IV-06.c
Logilin/ild
gpl-2.0
2,215
103
codeparrot/github-code
0d53f46c2711f4b1f8d4e373f5a407879d654bfcb530a51d9e819dcc71e8a693
/* * arch/arm/mach-tegra/tegra2_clocks.c * * Copyright (C) 2010 Google, Inc. * * Author: * Colin Cross <ccross@google.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified u...
C
arch/arm/mach-tegra/tegra2_clocks.c
hzc1126/dell_gallo_kernel_ics
gpl-2.0
72,441
2,574
codeparrot/github-code
062573ff7cc3332b60413ac6a04cabfdf63f2fca4fda3f2d56a9c4cd33541a5d
package java.lang; import org.checkerframework.dataflow.qual.Pure; import org.checkerframework.dataflow.qual.SideEffectFree; import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import...
Java
checker/jdk/nullness/src/java/lang/Class.java
biddyweb/checker-framework
gpl-2.0
7,450
79
codeparrot/github-code
8c998628a0b9fcfc7074556b71e38ccba1a51b9d0029b798de101f87f3f00f85
#ifndef CAMERACALIBRATION_SETTINGS_H_ #define CAMERACALIBRATION_SETTINGS_H_ enum CameraCalibrationPattern { CAMCALIB_CHESSBOARD, CAMCALIB_CIRCLES_GRID, CAMCALIB_ASYMMETRIC_CIRCLES_GRID }; struct StereoCalibrationSettings_struct { bool doCalibration; bool isCalibrated; char *loadFileName_cam0; bool useFisheyeModel...
C
modules/stereocalibration/calibration_settings.h
clauniel/caer
gpl-2.0
919
34
codeparrot/github-code
27f6937afc3fe0d31e3da3fcb032a7970afa8d0a82228165213bb3729f807054
// Copyright 2008 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "Core/HW/EXI/EXI_DeviceMemoryCard.h" #include <array> #include <cstring> #include <memory> #include <string> #include "Common/ChunkFile.h" #include "Common/CommonPaths.h" #include "Common/CommonTyp...
C++
Source/Core/Core/HW/EXI/EXI_DeviceMemoryCard.cpp
ntapiam/Ishiiruka
gpl-2.0
14,510
538
codeparrot/github-code
443ddba9d08a3cff8eafeb496ed32380f9fe37c5b6f302300135f9727ab54670
/* Select disassembly routine for specified architecture. Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU opcodes library. This library is free software; you can redistribute it and/o...
C
opcodes/disassemble.c
jellycn/gdb-python
gpl-2.0
11,890
554
codeparrot/github-code
d1e0cbf9e1171e1440cb65f041bb5bfa547dcaaf49186d9d10558cc169cfc53e
/** This package is part of the application VIF. Copyright (C) 2012-2014, Benno Luthiger 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...
Java
org.hip.vif.web/src/org/hip/vif/web/exc/VIFExceptionHandler.java
aktion-hip/vif
gpl-2.0
3,265
99
codeparrot/github-code
ab75dca133a99f4936a67a5e4f99fdcdd2d47cc2db39072919435789d177f15d
/* *** MolShake Module - Core *** src/modules/molshake/core.cpp Copyright T. Youngs 2012-2018 This file is part of Dissolve. Dissolve 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 th...
C++
src/modules/molshake/core.cpp
trisyoungs/duq
gpl-2.0
1,520
67
codeparrot/github-code
65ea95eeb8d08f9f0f5eb8b116759534da20dba0de806bd7ce23788d3d57dea8
/* ============================================================================== This file is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-11 by Raw Material Software Ltd. ------------------------------------------------------------------------------ JUCE can be r...
C
JuceLibraryCode/modules/juce_core/memory/juce_Atomic.h
teragonaudio/Arooo
gpl-2.0
17,652
391
codeparrot/github-code
3496aa08cc50dc2edf6c83768272860f83614cb4295446e1c5507dac7d3a22bd
<?php #----------------------------------------------------------------- # grid related values #----------------------------------------------------------------- global $gridvalues; $gridvalues = array('220' => 'one_fourth', '300' => 'one_third', '460' => 'one_half', '620' => 'two_thirds', '700' ...
PHP
wp-content/themes/nebraska/functions/pagecreator-functions.php
NapsterAhmed/Vedo
gpl-2.0
33,742
930
codeparrot/github-code
8d96b701635021a913cb4e121df983bbbf7424116025a42decc8dde7add9889d
/* * Copyright (C) 2002-2010 The DOSBox Team * * 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 p...
C++
dosbox/src/dos/dos_files.cpp
litchie/dospad
gpl-2.0
35,894
1,233
codeparrot/github-code
20d80fda179afe76c3e5e2b9222c8ca91792d275f059835488130fccb098dbd6
// // obint.h // // Copyright (C) 1996 Limit Point Systems, Inc. // // Author: Curtis Janssen <cljanss@limitpt.com> // Maintainer: LPS // // This file is part of the SC Toolkit. // // The SC Toolkit is free software; you can redistribute it and/or modify // it under the terms of the GNU Library General Public License a...
C
src/lib/chemistry/qc/basis/obint.h
qsnake/mpqc
gpl-2.0
13,449
492
codeparrot/github-code
d500dbb45b2daf54c30c3617c102b73871810845c81680d98db5f73cfa00e7cb
/* This file is a part of JRTPLIB Copyright (c) 1999-2004 Jori Liesenborgs Contact: jori@lumumba.luc.ac.be This library was developed at the "Expertisecentrum Digitale Media" (http://www.edm.luc.ac.be), a research center of the "Limburgs Universitair Centrum" (http://www.luc.ac.be). The library is based ...
C++
third-party/jrtplib/rtpsources.cpp
AlekSi/Jabbin
gpl-2.0
32,695
1,407
codeparrot/github-code
1a54c7ed11adcdb8882c28291dec41fe083eedd095027c97a2900ec46802aade
#define DEBUG_RECONSTRUCTED #undef DEBUG_RECONSTRUCTED using System; using LibDL.Interface; using LibDL.Utils; using System.Threading; using System.Threading.Tasks; using LibDL.ActivationFunction; namespace LibDL.Learning { public class ContrastiveDivergence : IDisposable { //tambahan parameter moment...
C#
LibDL/Learning/ContrastiveDivergence.cs
sukasenyumm/DL
gpl-2.0
14,901
401
codeparrot/github-code
6c29412e7fc73815b7fe3f34604f0cd723678b33af4133f34aa1517095b2c89c
#include <stdio.h> #include <stdlib.h> #include <unistd.h> /* Test if a string represented in the form of a linked list is a palindrome */ #define TRUE 1 #define FALSE 0 #define ENDS ('\0') struct node { char c; struct node * next; }; struct node * createll(char * str) { int i = 0; char c; str...
C
programs/palindrome_ll.c
susingha/0x_tools
gpl-2.0
2,041
124
codeparrot/github-code
a8fcdebce70c2ca0a0f9d495e853987c4800265f1dba392c58b9a28be37309dc
<?php /** * Page Template * * Loaded automatically by index.php?main_page=checkout_confirmation.<br /> * Displays final checkout details, cart, payment and shipping info details. * * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerc...
PHP
includes/templates/theme659/templates/tpl_checkout_confirmation_default.php
eiNetwork/zenCart
gpl-2.0
10,701
224
codeparrot/github-code
637b4bfbd8bcd4ed3649dd0813581a125d49dcd1c8d527eaa98556c235de5fe3
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
Java
esper/src/test/java/com/espertech/esper/regression/epl/TestSubselectIndex.java
sungsoo/esper
gpl-2.0
12,082
207
codeparrot/github-code
5283e4a624d85120e42e290ecdf80f8511cd09209b4dae180496edab6a7c6de2
/************************************** *Script Name: Message of the Day * *Author: Joeku * *For use with RunUO 2.0 * *Client Tested with: 6.0.2.0 * *Version: 1.0 * *Initial Release: 12/04/07 * *Revision Date: 12/04/07 * ...
C#
Scripts.LV2/Systems/MOTD/Gump.cs
tbewley10310/Land-of-Archon
gpl-2.0
5,697
173
codeparrot/github-code
d2dec80e1ce2af92a76c76024a2d1f3e7dd04606827493d2fdb484c8b485b746
/************************************************************************ COPYRIGHT (C) SGS-THOMSON Microelectronics 2007 Source file name : codec_mme_audio_spdifin.cpp Author : Gael Lassure Implementation of the spdif-input audio codec class for player 2. Date Modification ...
C++
player2_131/player/codec/codec_mme_audio_spdifin.cpp
project-magpie/tdt-driver
gpl-2.0
32,205
985
codeparrot/github-code
407eb2442f22e45078e5b1cae8226a71f96384dd637daa48bfff803100b6a6d5
package edu.asu.spring.quadriga.validator; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import edu.asu.spring.quadriga.web.workbench.backing....
Java
Quadriga/src/main/java/edu/asu/spring/quadriga/validator/CollaboratorFormDeleteValidator.java
diging/quadriga
gpl-2.0
1,384
52
codeparrot/github-code
687f41373469c9e773c55d6d35cf4651999cace49c4d7233ae925dea28a28fc2
import contextvars import gettext import os from telebot.asyncio_handler_backends import BaseMiddleware try: from babel.support import LazyProxy babel_imported = True except ImportError: babel_imported = False class I18N(BaseMiddleware): """ This middleware provides high-level tool for internat...
Python
examples/asynchronous_telebot/middleware/i18n_middleware_example/i18n_base_midddleware.py
eternnoir/pyTelegramBotAPI
gpl-2.0
3,751
121
codeparrot/github-code
f664fbc629a36d51ea69d38c0a97254dd6b941741d0c689c4fad160b5a34bb00
package edu.sc.seis.fissuresUtil.display; import java.awt.Dimension; import java.awt.Graphics2D; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.swing.JComponent; ...
Java
src/main/java/edu/sc/seis/fissuresUtil/display/SeismogramPDFBuilder.java
crotwell/fissuresUtil
gpl-2.0
9,449
279
codeparrot/github-code
af7682429b1de484b3b46a9f98b00297691eec5a7807c0f41662aa64da5a0389
/*********************************************************************** MemStream.C BOOM : Bioinformatics Object Oriented Modules Copyright (C)2012 William H. Majoros (martiandna@gmail.com). This is OPEN SOURCE SOFTWARE governed by the Gnu General Public License (GPL) version 3, as described at www.opensource.org...
C++
MemStream.C
bmajoros/BOOM
gpl-2.0
848
46
codeparrot/github-code
f68c13e00c35290269eeff20ecc0f29a88309101d4a3f947b208862036858b71
# ##### BEGIN GPL LICENSE BLOCK ##### # # 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 distrib...
Python
2.78/scripts/startup/bl_ui/space_userpref.py
AndrewPeelMV/Blender2.78c
gpl-2.0
50,089
1,468
codeparrot/github-code
208d5af8772314d69983c9510a9665981177b6774dc405c0cf674cea2f27ccb0
-- utilities.lua -- Functions shared among plugins. function get_word(s, i) -- get the indexed word in a string s = s or '' i = i or 1 local t = {} for w in s:gmatch('%g+') do table.insert(t, w) end return t[i] or false end function string:input() -- Returns the string after the first space. if not self:...
Lua
utilities.lua
mohammadjkh/PowerTeam
gpl-2.0
26,798
1,010
codeparrot/github-code
279f9a66cafb1d838626bf429fc402b14982e76499e7997f8e99efae356e517e
/* Routines required for instrumenting a program. */ /* Compile this one with gcc. */ /* Copyright (C) 1989-2014 Free Software Foundation, Inc. This file is part of GCC. GCC 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...
C
libgcc/libgcov-interface.c
embecosm/avr-gcc
gpl-2.0
6,388
291
codeparrot/github-code
8a379f052aa4e4287444f73fff50019660a4337110ee3c56071c5394f10859f8
#include "AddOptionsDialog.h" #include <wx/tokenzr.h> #include "ColoursAndFontsManager.h" #include <wx/sstream.h> #include <wx/txtstrm.h> AddOptionsDialog::AddOptionsDialog(wxWindow* parent, const wxString& value) : AddOptionsDialogBase(parent) { LexerConf::Ptr_t lexer = ColoursAndFontsManager::Get().GetLexer(...
C++
LiteEditor/AddOptionsDialog.cpp
AJenbo/codelite
gpl-2.0
849
34
codeparrot/github-code
f6202588b9cfa24b14c368c96d359a33d77357c644a16506e5b10c0ad5942d3f
<?php /** * Edit Site Themes Administration Screen * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once(dirname(__FILE__) . '/admin.php'); if (!is_multisite()) wp_die(__('Multisite support is not enabled.')); if (!current_user_can('man...
PHP
wp-admin/network/site-themes.php
sean-yb/ybTheme-test
gpl-2.0
7,862
183
codeparrot/github-code
bfe55ae6ed1adf08f0664e56f72d035dd3c35469635d582a126fb88f58b3f506
/*____________________________________________________________________________ ExifPro Image Viewer Copyright (C) 2000-2015 Michael Kowalski ____________________________________________________________________________*/ // CopyProgressDlg.cpp : implementation file // #include "stdafx.h" #include "r...
C++
src/CopyProgressDlg.cpp
mikekov/ExifPro
gpl-2.0
1,034
50
codeparrot/github-code
f3d3ddbe5cff00cabec804d2c16aadf72d68d5b5733cae6755b22f66f028861b
/**************************************************************** * * * Copyright 2001, 2002 Sanchez Computer Associates, Inc. * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * * ...
C
sr_port_cm/gtcm_add_region.c
h4ck3rm1k3/FIS-GT.M
gpl-2.0
1,598
60
codeparrot/github-code
3d206f41d8f1b5a7d7c68ac6062efe54d2e8c03243f39cf42b0c2ae05050e2f7
/* kernel/power/fbearlysuspend.c * * Copyright (C) 2005-2008 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 program is distributed i...
C
kernel/power/fbearlysuspend.c
andi34/kernel_samsung_espresso-cm
gpl-2.0
3,830
153
codeparrot/github-code
ec8c5134520497f7679029e364f96c107d8ddbf5d47f10049a4c53da0ce8fc14
/* * This file is part of the CMaNGOS 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 o...
C++
src/shared/Network/NetworkManager.cpp
Lillecarl/RustEmu-Stable
gpl-2.0
4,295
178
codeparrot/github-code
36989e6b05d7a1c4829971de20dc39cd1c426b38c6f809950e675fe3e21393e5
/* * intel_mid_dma.c - Intel Langwell DMA Drivers * * Copyright (C) 2008-10 Intel Corp * Author: Vinod Koul <vinod.koul@intel.com> * The driver design is based on dw_dmac driver * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is free software; you can redistri...
C
drivers/dma/intel_mid_dma.c
robocoreio/edison-kernel
gpl-2.0
61,621
2,113
codeparrot/github-code
616af87b26a40a5db86c75d8152ad2ed3a30c2a9dce5145607c97298bad1252c
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// /// Copyright 2009 Aurora Feint, Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You ma...
C
OpenFeint/api/internal/OpenFeint/Services/Bases/OFService+Private.h
dodikk/iWesnoth
gpl-2.0
2,544
66
codeparrot/github-code
80485de233c5b459686d8c36abd690aa3082f93eb6b297e0aa547c235e131efd
<?php namespace TYPO3\CMS\Beuser\Controller; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license inf...
PHP
typo3/sysext/beuser/Classes/Controller/PermissionController.php
ksjogo/TYPO3.CMS
gpl-2.0
15,936
411
codeparrot/github-code
cf1bcd0e0b7fb2a3d8540574bb497d6998558d6fef496abd42ee9380ccf997b0
#include <windows.h> #include <errno.h> #include <io.h> #include "mman.h" #ifndef FILE_MAP_EXECUTE #define FILE_MAP_EXECUTE 0x0020 #endif /* FILE_MAP_EXECUTE */ static int __map_mman_error(const DWORD err, const int deferr) { if (err == 0) return 0; //TODO: implement return er...
C
src/utility/mman.c
neurodebian/pebl-language
gpl-2.0
4,176
181
codeparrot/github-code
c78ab5a1e3c0a298efd5d0ef20864c74a7f62b8cadb21bb35b8685d00ee9533a
<?php /** * Skin loader function & helpers * * @package Total * @subpackage Skins * @author Alexander Clarke * @copyright Copyright (c) 2014, Symple Workz LLC * @link http://www.wpexplorer.com * @since Total 1.5.4 */ /** * Skins Loader Class * * @since Total 1.6.3 */ if ( ! class_...
PHP
wp-content/themes/Total/skins/skins.php
naoyawada/Concurrent
gpl-2.0
5,852
197
codeparrot/github-code
0b713167a397c27e933652f55a27bf80205b594a12cbabb62f395af239205270
/* * Copyright (C) 2013-2014 Project Hatohol * * This file is part of Hatohol. * * Hatohol 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
server/src/DBTablesMonitoring.h
project-hatohol/hatohol-14.12
gpl-2.0
11,593
341
codeparrot/github-code
9945f87928d15b49b9897e74729e08c945fc235ab620f0826134652806d4b4a7
using System; using Server; using Server.Targeting; using Server.Mobiles; using Server.Network; using Server.Items; using Server.Gumps; using System.Collections; using System.Collections.Generic; using Server.ContextMenus; using Server.SkillHandlers; namespace Server.Gumps { public class ImbuingGumpC : Gump { ...
C#
Scripts/Skills/Imbuing/Gumps/ImbuingC.cs
ppardalj/ServUO
gpl-2.0
22,477
534
codeparrot/github-code
4b0c15ece001fcab0863260d9ac196daf69b938992257eaaf5e4384050723ca0
"use strict" var util = require('util') var MessageEvent = require('./messageevent') var Config = require('./config') /** * Coordinate the connection of a new chat client to the server. * Different chat clients send the information differently, so far this chat server supports: TinTin++, mudjs, MudMaster, MudMaste...
JavaScript
core/handshake.js
logikaljay/mudchat
gpl-2.0
3,704
115
codeparrot/github-code
55a6c424b7c86c2c8e1b0824aebe9bc9e45afd3a4c5755890b029c74cd5c2025
#ifndef DLG_UPDATE_H #define DLG_UPDATE_H #include <QtNetwork> #include <QProgressDialog> #include "update_checker.h" #include "update_downloader.h" class DlgUpdate : public QDialog { Q_OBJECT public: DlgUpdate(QWidget *parent); private slots: void finishedUpdateCheck(bool needToUpdate, bool isCompatible, Q...
C
cockatrice/src/dlg_update.h
leematos/Cockatrice
gpl-2.0
957
38
codeparrot/github-code
90d72c29de125f502f9514981aaa9d41caee5ec23958a80301d9845c724204ab
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2006-2010 Nokia Corporation * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org> * Copyright (C) 2011 Texas Instruments, Inc. * * * This program is free software; you can redistribute it and/or modify * it under the terms ...
C
android/avctp.c
redboltz/bluez
gpl-2.0
35,759
1,600
codeparrot/github-code
74f8a723bec7c88e5dccdee4b53f264b5bec056b9aadc753e2cb68c7bd1a7b9d
#include <linux/backlight.h> #include <linux/fb.h> #include <linux/io.h> #include <linux/module.h> #include <linux/platform_device.h> #define ADX_BACKLIGHT_CONTROL 0x00 #define ADX_BACKLIGHT_CONTROL_ENABLE (1 << 0) #define ADX_BACKLIGHT_BRIGHTNESS 0x08 #define ADX_BACKLIGHT_STATUS 0x10 #define ADX_BACKLIGHT_ERROR...
C
drivers/video/backlight/adx_bl.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
3,602
169
codeparrot/github-code
955cee15f563bb58f0e9908eb1c50eedc9cd6a2a5bcbfadeeb5e642a42f57666
/* * mm/rmap.c - physical to virtual reverse mappings * * Copyright 2001, Rik van Riel <riel@conectiva.com.br> * Released under the General Public License (GPL). * * Simple, low overhead reverse mapping scheme. * Please try to keep this thing as modular as possible. * * Provides methods for unmapping each kind...
C
mm/rmap.c
Zkin/pf-kernel-updates
gpl-2.0
47,973
1,718
codeparrot/github-code
402fa4035ba0d16e0fce6761fc678c25f746a696f4c4f8e844e0aaa5edef0dcc
/* This file is part of the KDE project Copyright (C) 2003 Lucijan Busch <lucijan@kde.org> Copyright (C) 2003-2011 Jarosław Staniek <staniek@kde.org> 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...
C++
kexi/core/kexipartinfo.cpp
wyuka/calligra
gpl-2.0
7,460
272
codeparrot/github-code
0d65fadbedd727481a5a1b93a1f1b5d6926d79282f2a7aaa582a81b50e6cdf90
#include "cacic_software.h" cacic_software::cacic_software() { } void cacic_software::iniciaColeta() { #ifdef Q_OS_WIN this->coletaSoftware = coletaWin(); #elif defined(Q_OS_LINUX) this->coletaSoftware = coletaLinux(); #endif } #if defined(Q_OS_WIN) /*********************************************************...
C++
src/cacic_software.cpp
lightbase/cacic-agente
gpl-2.0
10,004
239
codeparrot/github-code
e4ac7a66f8ffbebb1c7be439766e3250673bcd4b749089497d373f09380a649f
/** * \file GuiSpellchecker.cpp * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author John Levon * \author Edwin Leuven * \author Abdelrazak Younes * * Full author contact details are available in file CREDITS. */ #include <config.h> #include "Gu...
C++
src/frontends/qt4/GuiSpellchecker.cpp
rpavlik/lyx-lucid-backport
gpl-2.0
10,750
465
codeparrot/github-code
6a8d16cfcc7fa4dfc9d51c67cb269b5cdc50d192b4a8a26a5107792515618368
/* * HTR -- The Heisetrolljan * * Copyright (C) 2016 Martin Wolters * * 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 ...
C
src/hfuncs.c
peterwankman/kryo-chief
gpl-2.0
4,739
158
codeparrot/github-code
899e21a3502624aea3fcbed119c27e76346eb41e56b50cbe3a6811e317fd3d07
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /************************************************ rbpangomatrix.c - $Author: mutoh $ $Date: 2006/12/10 15:13:10 $ Copyright (C) 2005 Masao Mutoh ************************************************/ #include "rbpango.h" #if PANGO_CHECK_VERSION(1,6,0) #d...
C
pango/src/rbpangomatrix.c
taf2/ruby-gnome2
gpl-2.0
3,639
156
codeparrot/github-code
3c94dbec71df3dc1d44d2f3c1655f97539a6901dde94ff0899d31848f7637b4f
/* * hdmi.c * * HDMI interface DSS driver setting for TI's OMAP4 family of processor. * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ * Authors: Yong Zhi * Mythri pk <mythripk@ti.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of ...
C
drivers/video/omap2/dss/hdmi.c
bsmitty83/Kernel_Tuna_AOSP
gpl-2.0
23,080
990
codeparrot/github-code
a68577734e60dba1a863195aa91c81d3b9b6336bcf0b093ac4472fdc64c99337
/* * Copyright (c) 2014. Licensed under GPL-2. See license.txt in project folder. */ package de._0x29.xkpasswd; import java.io.IOException; import java.security.SecureRandom; import java.util.ArrayList; import java.util.HashMap; /** * Created by christian on 1/26/14. */ public class PasswordFactory { private...
Java
src/main/java/de/_0x29/xkpasswd/PasswordFactory.java
methical/xkpasswd-lib
gpl-2.0
2,376
95
codeparrot/github-code