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
b30575b4190d63e3c443ad1f631d58109d26037d8d45940a7d7b866c2e5a0338
<?php class FrmListEntries extends WP_Widget { function __construct() { $widget_ops = array( 'description' => __( "Display a list of Formidable entries", 'formidable') ); $this->WP_Widget('frm_list_items', __('Formidable Entries List', 'formidable'), $widget_ops); } function widget( $args, $instance ) { ...
PHP
wp-content/plugins/formidable/pro/classes/widgets/FrmListEntries.php
rafapires/souza-aranha
gpl-2.0
15,104
273
codeparrot/github-code
6e2dc706fd02f056a5e12e71756b6f9b8cc35c0846c0ebdf731a9a11fe86ef74
<?php class FlipMegazineImageHelper { /** * @param int $parentNodeId * @param eZCLI $cli */ public static function deleteThumb( $parentNodeId, $cli = null ) { /** @var eZContentObjectTreeNode[] $children */ $children = eZContentObjectTreeNode::subTreeByNodeID( ...
PHP
classes/handlers/megazine/megazineimagehelper.php
Opencontent/ezflip
gpl-2.0
1,790
61
codeparrot/github-code
5a48a1f1c9004b284a09df5a301d37e21ecd437000bab596224e2d5f14725a3b
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2011-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-icmp/opennms-icmp-api/src/main/java/org/opennms/netmgt/icmp/SinglePingResponseCallback.java
rfdrake/opennms
gpl-2.0
4,879
168
codeparrot/github-code
2482783c106bd218aaf6c008ba822de0064046f404c5e3e9c9ab8161a898e7e3
/* * Copyright (C) 2005-2010 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/GossipDef.h
gmltA/mangos_alternative
gpl-2.0
12,801
287
codeparrot/github-code
f37c6fd341af3e7e0c149fc133c890b4719eabaa952400f86229cc5b58fbc428
/* Copyright (c) 2006-2010 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the Clear BSD license. * See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ /** * @requires OpenLayers/Layer.js */ /** * Class: O...
JavaScript
phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Markers.js
blahoink/grassroots
gpl-2.0
5,107
188
codeparrot/github-code
021a187d2803c2d1d39a7a2ee34a71699d6b7c5e06c906e3b5f370e6df05ee88
// Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include <array> #include <fstream> #include <functional> #include <cstddef> #include <cstdio> #include <string> #include <vector> #include "co...
C
src/common/file_util.h
ichfly/citra
gpl-2.0
8,428
273
codeparrot/github-code
ad067092744c52775b7b2d8d4cecace4a84f4120d6577696c49f88a0d4f24fbe
<?php birch_ns( 'birchschedule.upgrader', function( $ns ) { $ns->init = function() use ( $ns ) { add_action( 'birchschedule_upgrade_core_after', array( $ns, 'upgrade_core' ) ); }; $ns->get_staff_all_schedule_1_0 = function( $staff ) { $schedule = $staff['_birs_staff_schedule']; if ( !isset( $schedule ) ) { ...
PHP
wp-content/plugins/birchschedule/includes/upgrader/package.php
stanislav-chechun/campus-rize
gpl-2.0
7,346
233
codeparrot/github-code
3a45a1dce8a03dae8988de24cde2b2beb5f1bd33afb7808eb204dc117b92be5e
/* packet-hdmi.c * Routines for HDMI dissection * Copyright 2014 Martin Kaiser <martin@kaiser.cx> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or modify * it under the terms of the ...
C
src/epan/dissectors/packet-hdmi.c
jfzazo/wireshark-hwgen
gpl-2.0
10,017
303
codeparrot/github-code
053025d608ab4507659d2995b9b47f2d2539988dd1697e616057d95c5ebf8541
/* * 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/scripts/EasternKingdoms/zone_silverpine_forest.cpp
Nalliestrasza/LegionHearth
gpl-2.0
3,786
139
codeparrot/github-code
248cbdbb8b9352d10fbc71d21d1b122a60ed5926b80ee7407e0ecd750ddc900e
<?php if (cfr('CUSTMAP')) { $altCfg = $ubillingConfig->getAlter(); if ($altCfg['CUSTMAP_ENABLED']) { $custmaps = new CustomMaps(); // new custom map creation if (wf_CheckPost(array('newmapname'))) { if (cfr('CUSTMAPEDIT')) { $custmaps->mapCreate($_POST['ne...
PHP
modules/general/custmaps/index.php
l1ght13aby/Ubilling
gpl-2.0
6,971
170
codeparrot/github-code
73de6789c22f66b975b5d119f4c26ed41afc5940879108a7e42a512b8bf18d9a
/* lv2_event_helpers.h - Helper functions for the LV2 events extension. * * Copyright (C) 2008 Dave Robillard <dave@drobilla.net> * * This header 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; ei...
C
src/effects/lv2/lv2_event_helpers.h
artm/Audacity-for-Watch-That-Sound
gpl-2.0
8,518
262
codeparrot/github-code
dac2dd7c98bcf4595ac78a18672003ccfa8e7565651cbb328b08dc38956f3136
/* * Copyright (c) 2008, 2010, 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 Sof...
Java
CodenameOne/src/com/codename1/ui/VirtualKeyboard.java
skyHALud/codenameone
gpl-2.0
34,489
981
codeparrot/github-code
1e11f3eddb673f7db81574570e4b27bc72a84768137a9242f5f4a287e479f091
/* * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/asm/ArrayDataPointerConstant.java
md-5/jdk10
gpl-2.0
3,453
105
codeparrot/github-code
36851668add631ab64418ef0e3b0b834a3d1c59176ef78a8d50f5219a8b5e077
<style type="text/css"> <!-- .msg { text-align:left; color: blue; display: block; padding: 5px 0; } .emsg { text-align:left; color: red; display: block; padding: 5px 0; } #loader{ visibility:hidden; } #f1_error{ font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight:bold; ...
PHP
administrator/components/com_ntrip/models/fields/front/images2content.php
ngxuanmui/9trip.vn
gpl-2.0
4,610
150
codeparrot/github-code
eb9a8f1d66b9b97f0f510ad77bed869ab4c43e72a45c08c720465e2845a5311b
/* SPDX-License-Identifier: GPL-2.0-only */ #include <delay.h> #include <device/mmio.h> #include <console/console.h> #include <console/uart.h> #include <soc/addressmap.h> #include <soc/otp.h> /* * This is a driver for the eMemory EG004K32TQ028XW01 NeoFuse * One-Time-Programmable (OTP) memory used within the SiFive ...
C
src/soc/sifive/fu540/otp.c
felixsinger/coreboot
gpl-2.0
2,193
91
codeparrot/github-code
d05d0043f58b26fbe5072a756c16b99411efed58cbc5825b85b93018933f9533
<?php /* * This file is part of EC-CUBE * * Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * 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; ei...
PHP
data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore_Settings.php
shoheiworks/Labo-EcCube
gpl-2.0
4,854
202
codeparrot/github-code
bfb49314173afb8365f8fbe243fb80a707834ef1b8e922d317399da24bf806a8
/* * Copyright (c) 1999-2005 Petko Manolov (petkan@users.sourceforge.net) * * 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. * * ChangeLog: * .... Most of the time spent on re...
C
linux-2.6.x/drivers/usb/net/pegasus.c
ipwndev/DSLinux-Mirror
gpl-2.0
36,647
1,438
codeparrot/github-code
b8ff5548291abbd0b78adb429a47e93702d3bdcfba03688f0cbf3f1500dfc694
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham # Copyright (C) 2010 Benny Malengier # # 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; ei...
Python
gramps/gui/editors/displaytabs/surnametab.py
Fedik/gramps
gpl-2.0
16,204
421
codeparrot/github-code
3fe9e62c7d9969a614a7afca8de7b862e0f590636012f9518b1eb321ba527686
/* Take the Plunge Wedding Template Table of Contents: Reset Common Typography Layout Supersized Slideshow Youtube Player Parallax Portfolio About Us Services Features Accordion Tooltips Contacts Form Elements Flickr Alert Boxes Footer Our Clients Misc Media Queries */ /* #Reset & Basics (Insp...
CSS
wp-content/themes/surreal/styles/layout-white.css
apple777/wp
gpl-2.0
46,959
2,349
codeparrot/github-code
cc7d20351d31e753c511ef5a8f62fcf4b12b1d54b2e6511c7ebd6e02299065bc
// Copyright 2008 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "Core/Boot/Boot.h" #include <algorithm> #include <array> #include <cstring> #include <memory> #include <numeric> #include <optional> #include <string> #include <unordered_set> #include <vector> #in...
C++
Source/Core/Core/Boot/Boot.cpp
SeannyM/dolphin
gpl-2.0
15,252
497
codeparrot/github-code
1b0fd1cae1e507a3ff955567ad2c577b9a2d686f731863aa0e88468ff4d3bd6b
package My::Suite::WSREP; use File::Basename; use My::Find; @ISA = qw(My::Suite); return "Not run for embedded server" if $::opt_embedded_server; return "WSREP is not compiled in" unless defined $::mysqld_variables{'wsrep-on'}; my ($provider) = grep { -f $_ } $ENV{WSREP_PROVIDER}, "/...
Perl
mysql-test/suite/wsrep/suite.pm
tempesta-tech/mariadb_10.2
gpl-2.0
1,277
39
codeparrot/github-code
bf832b5ce14f3d6a3bc300eff31eeb83466eba6e960f776eeed354648376434b
<?php /** * @version $Id: controller.php 14401 2010-01-26 14:10:00Z louis $ * @package Joomla * @subpackage Content * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant to th...
PHP
components/com_content/controller.php
rbartolomeirb/joomlaatirb
gpl-2.0
9,797
374
codeparrot/github-code
c2ccc0fb2d82e7e78f09cd5cbfec4235235090d7a70efb17241ae8acbab87159
/* * Copyright (c) 1997, 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/opto/callnode.cpp
smarr/graal
gpl-2.0
64,301
1,809
codeparrot/github-code
97632c09adb89af9d46574e4079c30a1a4aa23735ff64300921ceb7d51289f0c
<?php namespace Indikator\Backend\ReportWidgets; use Backend\Classes\ReportWidgetBase; use Exception; use DB; class Logs extends ReportWidgetBase { public function render() { try { $this->loadData(); } catch (Exception $ex) { $this->vars['error'] = $ex->getMessa...
PHP
hostweb/kernel/plugins/indikator/backend/reportwidgets/Logs.php
janusnic/Portfolio
gpl-2.0
2,006
61
codeparrot/github-code
7edd4ca8d4b72c07851c6afa38df06eece939b45ba1ca8638f80eef4f61a7775
--[[ BY-@Sadik_alknani10 BY_CH : @KINGTELE1 ]] local function get_variables_hash(msg) if msg.to.type == 'chat' or msg.to.type == 'channel' then return 'chat:bot:variables' end end local function get_value(msg, var_name) local hash = get_variables_hash(msg) if hash then local value = redis:hget(hash, ...
Lua
plugins/addreplay.lua
gowadbd/DevDroid
gpl-2.0
2,608
126
codeparrot/github-code
8b07f5d661dc9d39ce5574b83f4b1d3bb5254c2e61749f5b47a9f0bd4b02637f
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This progra...
Java
src/org/jpc/emulator/execution/opcodes/rm/rep_movsb_a32.java
ysangkok/JPC
gpl-2.0
1,819
62
codeparrot/github-code
a1397d6d7e4389bdee861c31a0de7d13a2c95ac3a1c321aa4faa44f0776b5c7b
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim:expandtab:shiftwidth=2:tabstop=2: */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use thi...
C
external/webkit/WebCore/plugins/gtk/gtk2xtbin.c
EpicCM/SPH-D700-Kernel
gpl-2.0
26,348
944
codeparrot/github-code
92a657b7ce2585de5cb198dcfded2b6bc1630bc13111a4404d63f39a0f0ef554
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning 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 lat...
Java
AC-Game/data/scripts/system/handlers/quest/beluslan/_2533BeritrasCurse.java
GiGatR00n/Aion-Core-v4.7.5
gpl-2.0
5,403
138
codeparrot/github-code
9e74cf529d555326854e6509f6a306590b78a3bd0b90f914bf26e11a6ed88e04
/* Separate lexical analyzer for GNU C++. Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010 Free Software Foundation, Inc. Hacked by Michael Tiemann (tiemann@cygnus.com) This file is part of GCC. GCC is free software; you can red...
C
gcc/cp/lex.c
h4ck3rm1k3/gcc
gpl-2.0
19,780
717
codeparrot/github-code
3559d520cb915426ecb28cc46e3196dcf0e82870658e366eb38e9b47377b1e2d
<?php /** * Project: Securimage: A PHP class for creating and managing form CAPTCHA images<br /> * File: form.php<br /><br /> * * This is a very simple form sending a username and password.<br /> * It demonstrates how you can integrate the image script into your code.<br /> * By creating a new instanc...
PHP
plugins/securimage/example_form.php
HadoDokis/OpenUpload
gpl-2.0
2,824
79
codeparrot/github-code
4a3ad64859a0dc3a2287db5cf55a490922729d4014a469e9f0c7239830d27e2f
/* ** Copyright (C) 1998-2007 George Tzanetakis <gtzan@cs.uvic.ca> ** ** 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 versi...
C
src/marsyas/StereoSpectrumSources.h
murraymeehan/marsyas
gpl-2.0
1,667
67
codeparrot/github-code
86ae0fb68f05cfefc7df5bf654b078cf44b5cfc09a508cad7d32c1bfa7bf96c4
/******************************************************************** KWin - the KDE window manager This file is part of the KDE project. Copyright (C) 2010 Thomas Lübking <thomas.luebking@web.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
C
kwin/effects/windowgeometry/windowgeometry_config.h
falbrechtskirchinger/kde-workspace
gpl-2.0
1,566
58
codeparrot/github-code
c5d9f5654b3b666ab0940b1efb38bbb26e72e6ed4736be2031a622302a9b5ab6
/* -*- c-set-style: "K&R"; c-basic-offset: 8 -*- * * This file is part of PRoot. * * Copyright (C) 2014 STMicroelectronics * * 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 versio...
C
src/execve/aoxp.h
solderzzc/PRoot
gpl-2.0
3,107
81
codeparrot/github-code
aa77d3a3ddfdce9991ae22ce1aa3779f1c71496c6c46fc3a39d6479c863ba2c6
/* packet-forces.c * RFC 5810 * Routines for dissecting IETF ForCES protocol layer messages.Now support the following TML types:TCP+UDP,SCTP. * Copyright 2009, NDSC & Zhejiang Gongshang University,Fenggen Jia <fgjia@mail.zjgsu.edu.cn or fenggen.jia@gmail.com> * * $Id$ * * Wireshark - Network traffic analyzer * ...
C
epan/dissectors/packet-forces.c
slowfranklin/wireshark
gpl-2.0
41,483
931
codeparrot/github-code
254e8a6c0f07adaf92467eda107760f446817786d96adf0c8384e6bcec6ee06d
/* Duplicate handle for selection of locales. Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of th...
C
locale/duplocale.c
nslu2/glibc
gpl-2.0
1,954
64
codeparrot/github-code
ffae1f1272107b9604ebe5fa3d5db82478e5a83fc768585190e2cac4079234e1
/* packet-bpkmreq.c * Routines for Baseline Privacy Key Management Request dissection * Copyright 2002, Anand V. Narwani <anand[AT]narwani.org> * * $Id: packet-bpkmreq.c 45015 2012-09-20 01:29:52Z morriss $ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald...
C
wireshark/plugins/docsis/packet-bpkmreq.c
P1sec/LTE_monitor_c2xx
gpl-2.0
4,716
165
codeparrot/github-code
c7d2dcb51ec6fa4c479d422558d09b8a70e965560865504cdf6450bf4b1694b6
-- license:BSD-3-Clause -- copyright-holders:MAMEdev Team --------------------------------------------------------------------------- -- -- tools.lua -- -- Rules for the building of tools -- --------------------------------------------------------------------------- -----------------------------------------------...
Lua
scripts/src/tools.lua
RJRetro/mame
gpl-2.0
14,854
786
codeparrot/github-code
42de720727c818c5fa243e627853e6fe102dccef5691c9654ae6045d364aff8d
/* hostlist_sctp.c 2008 Stig Bjorlykke * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * 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 Sof...
C
ui/gtk/hostlist_sctp.c
morynicz/pyroshark
gpl-2.0
2,658
83
codeparrot/github-code
505f450965d071b3f8af79eae970808c0fe534bca67f72cb2a5069ec923bdbc5
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
C++
lib/kokkos/core/src/traits/Kokkos_PolicyTraitAdaptor.hpp
jeremiahyan/lammps
gpl-2.0
6,825
157
codeparrot/github-code
6c0cfb956495c61667a9e307ce22c14f8a8d2a2967165743965c245366a6a8f6
/* * Fence mechanism for dma-buf and to allow for asynchronous dma access * * Copyright (C) 2012 Canonical Ltd * Copyright (C) 2012 Texas Instruments * * Authors: * Rob Clark <robdclark@gmail.com> * Maarten Lankhorst <maarten.lankhorst@canonical.com> * * This program is free software; you can redistribute it ...
C
drivers/base/fence.c
kofemann/linux-redpatch
gpl-2.0
11,942
432
codeparrot/github-code
3b77aaf0d8038c076bc5bc32d9e60c4de422f5f41252e27dc74dfd17bfed8ab9
/* * Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later ve...
C++
src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
MoistBaguette/mangosbot
gpl-2.0
21,344
582
codeparrot/github-code
47c5004556a18a2857e0f597285a5b2a7dc70f321c5fc66c01e80cf1c002f07e
/* * Copyright (C) 1996-2016 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. */ #include "squid.h" #include "anyp/PortCfg.h"...
C++
src/CommCalls.cc
saucelabs/squid3
gpl-2.0
5,412
276
codeparrot/github-code
8b13697f93ae13c9a772556b4d5764705e006cfd86c3dd0ccba21d2f9f56f55a
/* Thread pool Copyright (C) 2019-2020 Free Software Foundation, Inc. This file is part of GDB. 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 ...
C++
gdbsupport/thread-pool.cc
mattstock/binutils-bexkat1
gpl-2.0
4,811
176
codeparrot/github-code
504e8d88f038f159a3ca76a67c2f61bef9a7f8ce12b371b9a21482a05bf5d9d6
GCC_VERSION := $(shell $(CONFIG_SHELL) $(PWD)/scripts/gcc-version.sh $(CROSS_COMPILE)gcc) ifeq ($(GCC_VERSION),0404) CFLAGS_REMOVE_msm_vfe8x.o = -Wframe-larger-than=1024 endif ifeq ($(CONFIG_MSM_CAMERA_V4L2),y) EXTRA_CFLAGS += -Idrivers/media/video/msm/csi EXTRA_CFLAGS += -Idrivers/media/video/msm/io EXTRA_...
Makefile
drivers/media/video/msm/Makefile
teamblueridge/SuperSickKernel
gpl-2.0
4,241
125
codeparrot/github-code
9c37cece4ec6665f7cd5cd1ffeae588ad8878472481872f17678ecf59441e32a
/* * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ...
C++
src/game/OutdoorPvP/OutdoorPvP.cpp
cooler-SAI/murlocs_434
gpl-2.0
6,919
210
codeparrot/github-code
60dd457abeac5e19cf5ab6e37a89fdf6737f179bd48717dc333c2f29671bb130
#!/usr/bin/env python # The contents of this file are subject to the BitTorrent Open Source License # Version 1.1 (the License). You may not copy or use this file, in either # source code or executable form, except in compliance with the License. You # may obtain a copy of the License at http://www.bittorrent.com/li...
Python
html/bin/clients/mainline/BTL/CMap.py
sulaweyo/torrentflux-b4rt-php7
gpl-2.0
44,894
1,357
codeparrot/github-code
8c9c17baa1433e079ec8038697dcfb0ca1795a58bcad0ac7a90eab98a505a508
/* SPDX-License-Identifier: LGPL-2.1+ */ /*** This file is part of systemd. Copyright 2010 Lennart Poettering systemd 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 Li...
C
src/test/test-hostname.c
Mic92/systemd
gpl-2.0
980
33
codeparrot/github-code
a6b8a975dd94dd94c1c01b9265b4001150610070904d9c1cd31251bb76c91ebc
<?php class ITSEC_Away_Mode { function run() { //Execute away mode functions on admin init add_filter( 'itsec_logger_modules', array( $this, 'register_logger' ) ); add_action( 'itsec_admin_init', array( $this, 'execute_away_mode' ) ); add_action( 'login_init', array( $this, 'execute_away_mode' ) ); //Reg...
PHP
wp-content/plugins/better-wp-security/modules/free/away-mode/class-itsec-away-mode.php
dantaylorseo/TailoredWebsite
gpl-2.0
6,388
269
codeparrot/github-code
63122ddd5c099dc312b4e961f8bbd33116058a3a307dbadef8952b660d2d40df
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
PHP
lib/Zend/Loader/Autoloader/Resource.php
Tpo76/centreon
gpl-2.0
14,136
461
codeparrot/github-code
0aee89dae31965962bab238e435d0255d815cf7f8c64d31fbcf4070fe0a5f28e
#!/usr/bin/python #============================================================================ # This library is free software; you can redistribute it and/or # modify it under the terms of version 2.1 of the GNU Lesser General Public # License as published by the Free Software Foundation. # # This library is distribu...
Python
tools/python/scripts/xapi.py
mikesun/xen-cow-checkpointing
gpl-2.0
29,258
876
codeparrot/github-code
ad3e3bed2c1381efa7d8ea124bb789e1490634588836ebbd48745a61208b2118
/* Copyright (C) 1991, 1993, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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 Foundation; either ...
C
sysdeps/generic/system.c
nslu2/glibc
gpl-2.0
1,207
39
codeparrot/github-code
e37a0637276a78bf3f9bd87ff65b627dcc5ec497cf02e95e5effc392ebfab8b1
/* Copyright 2005,2006 Sven Reimers, Florian Vogler * * This file is part of the Software Quality Environment Project. * * The Software Quality Environment Project is free software: * you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Fou...
Java
codedefects.history/src/org/nbheaven/sqe/codedefects/history/action/SnapshotAction.java
sqe-team/sqe
gpl-2.0
3,600
104
codeparrot/github-code
e8aba7390c682ab69cf4c9e4d2be170abb6893af4ee96a1a4c3895739ebaebf5
/* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in t...
C
include/crypt_genhash_impl.h
gplessis/dotdeb-mysql
gpl-2.0
1,798
51
codeparrot/github-code
5c8c5c706e45e133cbaf22e4f6da4ebb3277403acd85610ecf5e182b89fc454e
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2007-2008, Trinity College Computing Center * Written by David Chappell <David.Chappell@trincoll.edu> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of...
C
apps/app_readexten.c
leedm777/asterisk
gpl-2.0
8,312
281
codeparrot/github-code
748025f79c40aba134a691694bdf3736769f74da4d77bc8772503b038bd22593
<?php /** * Image helper class * * This class was derived from the show_image_in_imgtag.php and imageTools.class.php files in VM. It provides some * image functions that are used throughout the VirtueMart shop. * * @package VirtueMart * @subpackage Helpers * @author Max Milbers * @copyright Copyright (c) 2004...
PHP
tmp/install_535533f62cdf3/administrator/components/com_virtuemart/helpers/image.php
Fundacion-AG/PaginaWebFAG
gpl-2.0
5,890
181
codeparrot/github-code
22df5374074e391f3a6a2c5c1788935c1268f75dff59c19b6121a4d7ad9592e0
/*- * #%L * Fiji distribution of ImageJ for the life sciences. * %% * Copyright (C) 2007 - 2017 Fiji developers. * %% * 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 ...
Java
src/main/java/spim/fiji/plugin/ThinOut_Detections.java
bigdataviewer/SPIM_Registration
gpl-2.0
15,827
417
codeparrot/github-code
e7930464b168ce89279e365c423b73cb3c5d144cb0e6a741b71f3dfa6a26f883
/* * arch/arm/mach-tegra/board-smba1002.c * * Copyright (C) 2011 Eduardo José Tagle <ejtagle@tutopia.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. *...
C
arch/arm/mach-tegra/board-smba1002.c
fosser2/android-tegra-nv-3.1.10-rel-15r7
gpl-2.0
6,001
239
codeparrot/github-code
aa131ee33a9dc299ce2e4c4c8ab924fc7c4243511410707406c0a30c39246291
/* * Copyright (C) 2005-2010 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/WorldSession.cpp
koksneo/MangosBack
gpl-2.0
34,123
935
codeparrot/github-code
a29fb94075e8ed5fb1e48e67ed91905332e8da2ac45fa48ecbad6357980a1307
function ValidarPuntaje(id) { var aux = id.split("_"); var name=aux[0]; var fil=parseInt(aux[1]); var col=parseInt(aux[2]); var colpuntaje=col; var colpuntajereal=col+1; var puntaje=name+"_"+fil+"_"+colpuntaje; var puntajereal=name+"_"+fil+"_"+colpuntajereal; var num1=toFloat(punt...
JavaScript
web/js/licitaciones/liasptecanalisis.js
cidesa/roraima
gpl-2.0
835
39
codeparrot/github-code
30f5a615e1891799c21530938463d08b79d99d482b3ce148a826f586e61bfe6e
/*********************************************************************** * * Copyright (C) 2011, 2014 Graeme Gott <graeme@gottcode.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, ei...
C++
src/fileformats/clipboard_windows.cpp
barak/focuswriter
gpl-3.0
4,898
156
codeparrot/github-code
a0c73ad0756d78a970e8c0ed1637773282ca7d220e572341207a46f52f718ff3
# -*- coding: utf-8 -*- """ InaSAFE Disaster risk assessment tool developed by AusAid - **metadata module.** Contact : ole.moller.nielsen@gmail.com .. note:: 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 Sof...
Python
safe/metadata/property/list_property.py
Gustry/inasafe
gpl-3.0
1,695
58
codeparrot/github-code
33f0c48cf44124dfb50107ad9863745dd835157d2d614b0f220214a5fea517e5
/***************************************************************************** * Copyright (c) 2014-2018 OpenRCT2 developers * * For a complete list of all authors, please refer to contributors.md * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is licensed under the GNU Gener...
C
src/openrct2/object/StexObject.h
wolfreak99/OpenRCT2
gpl-3.0
1,156
43
codeparrot/github-code
374bbbe0335769edefe41010af4b33f0cf6c237b9d68008afbadb1cb7caa7172
/* * Copyright 2011-2019 Arx Libertatis Team (see the AUTHORS file) * * This file is part of Arx Libertatis. * * Arx Libertatis 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 Li...
C++
src/io/Blast.cpp
Thoronador/ArxLibertatis
gpl-3.0
16,642
482
codeparrot/github-code
4b71ab4c3596501b2d10a0562a48e38cca36a4ba12010b78e255ebe1770616e6
#ifndef MANTID_CURVEFITTING_SEQDOMAIN_H_ #define MANTID_CURVEFITTING_SEQDOMAIN_H_ //---------------------------------------------------------------------- // Includes //---------------------------------------------------------------------- #include "MantidCurveFitting/DllConfig.h" #include "MantidAPI/FunctionDomain.h"...
C
Framework/CurveFitting/inc/MantidCurveFitting/SeqDomain.h
dymkowsk/mantid
gpl-3.0
3,677
92
codeparrot/github-code
dcdf85e93bfcfb20cae173a95bf7ba9edf809f1c4b62155f7d4e202b11ffe578
/* XGGState - Implements graphic state drawing for Xlib Copyright (C) 1995 Free Software Foundation, Inc. Written by: Adam Fedor <fedor@boulder.colorado.edu> Date: Nov 1995 This file is part of the GNU Objective C User Interface Library. This library is free software; you can redistribute it and/o...
C
Headers/xlib/XGGState.h
gnustep/back
gpl-3.0
2,536
97
codeparrot/github-code
c7682232ce960022ca045145a7bd67338bb8f8ca0af3b140f03011c5f1fb8af2
#!/usr/bin/env python3 # # Copyright (C) 2018-2019 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo 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...
Python
maintainer/gh_post_style_patch.py
espressomd/espresso
gpl-3.0
2,704
72
codeparrot/github-code
ba403da940219945045a0927c07a599eab2b3ef467cb04a9a36ae66c93aeed30
/* Drawpile - a collaborative drawing program. Copyright (C) 2014-2019 Calle Laakkonen Drawpile 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 opti...
C++
src/tools/dprectool.cpp
drawpile/Drawpile
gpl-3.0
7,369
262
codeparrot/github-code
1f5d945d353b6b7e610965676b20167f5c5e98674a97f60aaa93a56bf6f0dddb
! This file is F-compatible, except for upper/lower case conventions. !-------------------------------------------------------------------- Module CubatureRule_C2 USE Precision_Model, ONLY: stnd Implicit NONE PRIVATE PUBLIC :: Rule_C2a CONTAINS SUBROUTINE Rule_C2a(VER,INFOLD,AREA,NUMFUN,Integrand,BASVAL,RGNERR,NUM...
FORTRAN
src/cubpack/rule_c2.f90
COSC499Project/critic2
gpl-3.0
17,434
408
codeparrot/github-code
9e6be01c9b9148efcdd81bf5d074d9234bb4f5b6b0f33340f6a5468da1be201b
/* FreeRTOS V7.4.2 - Copyright (C) 2013 Real Time Engineers Ltd. FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
C
timer-v3/freertos/inc/StackMacros.h
ilikecake/timer-v3
gpl-3.0
9,697
190
codeparrot/github-code
f1669b4a1534886e9688552dc2dfdff7b615d30ea9b0901c1a16253c86862e4b
/* * This file is part of Cleanflight. * * Cleanflight is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Cleanflight is distr...
C
src/main/target/STM32F3DISCOVERY/target.c
chickadee-tech/betaflight
gpl-3.0
5,121
107
codeparrot/github-code
263a447b5aa065a2f0970bb192c6525d15ee90c310ce3567d9a641976f0a6acf
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This program is distributed in the hope tha...
C
osprey/libfi/mpp_scan/scanmax_sp_6.c
uhhpctools/openuh-openacc
gpl-3.0
3,247
99
codeparrot/github-code
8062c001077c9420ed814843e1a19dab1edfced6f96baed39faf1afae4e2e95f
/*********************************************************************/ /* */ /* Optimized BLAS libraries */ /* By Kazushige Goto <kgoto@tacc.utexas.edu> */ /* ...
C
unsupported/plugins_unsupported/external/GotoBLAS2/driver/others/memory_qalloc.c
cnr-isti-vclab/meshlab
gpl-3.0
2,015
61
codeparrot/github-code
411fee04acbebbf14eeaca19f07e9d65f05a635048bf6f4966e39165f6f49a8e
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 lat...
JavaScript
js/src/modals/Shapeshift/shapeshift.js
nipunn1313/parity
gpl-3.0
5,450
234
codeparrot/github-code
1d39a59e020dfd6a6cf3ae4c207833bc84d8a22aae07ae39f3f01e7fe8ccf3a2
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ ...
PHP
src/pocketmine/network/protocol/RemoveBlockPacket.php
StarrySky-PE/StarrySky
gpl-3.0
1,097
47
codeparrot/github-code
c41767fd7df7c32d0b233e9a99b83233c4bfef530adf122867cf12b0c9356d0c
----------------------------------- -- Area: Western Adoulin -- NPC: Pagnelle -- Type: Standard NPC and Quest NPC -- Starts, Involved with, and Finishes Quest: 'Raptor Rapture' -- @zone 256 -- !pos -8 0 -100 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ---...
Lua
scripts/zones/Western_Adoulin/npcs/Pagnelle.lua
RebootRevival/FFXI_Test
gpl-3.0
4,476
113
codeparrot/github-code
2adc78f872c7a3dc692c6bbd2645ceb5986db2a081a0ed3593639120299c64fc
<?php /** * @file * This is the template file for the metadata description for an object. * * Available variables: * - $islandora_object: The Islandora object rendered in this template file * - $found: Boolean indicating if a Solr doc was found for the current object. * * @see template_preprocess_islandora_solr...
PHP
theme/islandora-solr-metadata-description.tpl.php
jordandukart/islandora_solr_metadata
gpl-3.0
1,232
34
codeparrot/github-code
2159ae157b464dee5ed8c244aa98ed209dddef6bd8270d18d1e3344475750f12
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. Copyright (C) 2015 Robert Beckebans This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you ...
C++
neo/tools/compilers/dmap/portals.cpp
raynorpat/RBDOOM-3-BFG
gpl-3.0
23,955
1,281
codeparrot/github-code
190b73b72a40a0c6418e760caea0297c62b1bd13626fba6e0a6221a1bf305768
#!/usr/bin/python # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed...
Python
lib/ansible/modules/cloud/amazon/ec2_asg.py
zahodi/ansible
gpl-3.0
38,091
927
codeparrot/github-code
b56a8ae57a589a63c970b52ba461d0d9aafafdfb2e7e8d857a88d226372154bc
using EloBuddy; using LeagueSharp.Common; namespace Nasus { using LeagueSharp.Common; public class MenuInit { public static Menu Menu; public static void Initialize() { Menu = new Menu("Nasus - The Crazy Dog", "L# Nasus", true); var orbw...
C#
Core/Champion Ports/Nasus/Nasus The Crazy Dog/MenuInit.cs
tk8226/YamiPortAIO-v2
gpl-3.0
2,750
79
codeparrot/github-code
5499f23b3991a9595f88786dcee8475776fe205c66799c27908e15e521ec2b96
import lxml.html as l import requests def key_char_parse(char_id): url = 'https://vndb.org/c' + str(char_id) page = requests.get(url) root = l.fromstring(page.text) name = root.cssselect('.mainbox h1')[0].text kanji_name = root.cssselect('.mainbox h2.alttitle')[0].text img = 'https:' + root.c...
Python
sigma/plugins/fun/vn_char.py
aurora-pro/apex-sigma
gpl-3.0
2,210
65
codeparrot/github-code
9e92e7b41619cd09e838fd0b817e5b3fe1e02d545ccf4a154b7538f4dc45fc02
/* * Copyright (C) 2009 Lalit Pant <pant.lalit@gmail.com> * * The contents of this file are subject to the GNU General Public License * Version 3 (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.gnu.org/copyleft/gpl.html * *...
Scala
KojoEnv/test/qa-functional/src/net/kogics/kojo/staging/StagingTestBase.scala
vnkmr7620/kojo
gpl-3.0
4,798
166
codeparrot/github-code
bcc66fd57e165f33e321d1f958e4fb223f0bbba8c933bba965babbdfb851c256
/* Copyright (C) 2003-2013 Runtime Revolution Ltd. This file is part of LiveCode. LiveCode is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v3 as published by the Free Software Foundation. LiveCode is distributed in the hope that it will be useful, but WITH...
C++
engine/src/sysw32fs.cpp
LiveCodeSteven/livecode
gpl-3.0
3,808
160
codeparrot/github-code
9f4ab678d499bf071da048a1e22ce3a30bcde41baa8f720c116f51023d6fde07
define( [ 'jquery', 'stapes', './conditionals' ], function( $, Stapes, conditionalsMediator ) { 'use strict'; /** * Global Mediator (included on every page) * @module Globals * @implements {Stapes}...
JavaScript
app/library/js/mediators/globals.js
minutelabsio/sed-postcard-map
gpl-3.0
1,501
74
codeparrot/github-code
3164f85765efcbaa15d70edad37d4a7781868895010a8ef9a0957d514d75c6d9
/* Copyright 2005, 2006, 2007 Dennis van Weeren Copyright 2008, 2009 Jakub Bednarski This file is part of Minimig Minimig 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 y...
C
fw/ctrl/menu.c
rkrajnc/minimig-mist
gpl-3.0
80,458
2,551
codeparrot/github-code
5adcb0cd56ed4c2cb7cc3359e683831ace127b47f392e0ae074f2f8acf18ccaf
/* * This file is part of Cleanflight. * * Cleanflight is free software. You can redistribute * this software and/or modify this software under the terms of the * GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) * any later version. ...
C
src/main/drivers/compass/compass_ak8963.c
cleanflight/cleanflight
gpl-3.0
14,689
461
codeparrot/github-code
dd015f5014ef88a2be6b77a34a75466c51ea2977e24e603dfd4c7fe9f0cb2568
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * gimpuiconfigurer.c * Copyright (C) 2009 Martin Nordholts <martinn@src.gnome.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License a...
C
app/gui/gimpuiconfigurer.c
mardy/gimb
gpl-3.0
20,013
586
codeparrot/github-code
f8b7500f65f6e45bc30dc920f98e757e19200a74a66bc77ca2e1664328a008c3
//----------------------------------------------------------------------- // // mod parser::atom TEST // //----------------------------------------------------------------------- use super::Status; use super::{parse_dot, parse_eof, parse_literal, parse_match, MatchRules}; #[test] fn test_parse_literal_ok() { let...
Rust
src/parser/atom/test.rs
jleahred/dynparser
gpl-3.0
4,142
147
codeparrot/github-code
b4a9e753e05dc14da2f6b210ea24c4520968b18b376e8709494076a8007888fa
#ifndef COMPAT_H_RD1Z6YZA #define COMPAT_H_RD1Z6YZA namespace oak { inline void set_thread_name (char const* threadName) { pthread_setname_np(threadName); } inline size_t get_gestalt (OSType selector) { SInt32 res; Gestalt(selector, &res); return res; } inline size_t os_major () { return get_gestalt(g...
C
Shared/include/oak/compat.h
xuvw/textmate
gpl-3.0
1,004
33
codeparrot/github-code
3da661b2fe274f9890a481d4704741f744f66987aab37d637c841f7139c6b48f
// Copyright (C) 2012 Tuma Solutions, LLC // Team Functionality Add-ons for the Process Dashboard // // 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...
Java
teamdash/src/teamdash/wbs/columns/ErrorNotesColumn.java
superzadeh/processdash
gpl-3.0
3,288
94
codeparrot/github-code
9aae832072fa1ea90755842f7d7bb2557403905d6d8259b697510ebb78069c63
//===- RegisterBankEmitter.cpp - Generate a Register Bank Desc. -*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
3rd/templight/llvm/utils/TableGen/RegisterBankEmitter.cpp
sabel83/metashell
gpl-3.0
12,878
340
codeparrot/github-code
0e44d9ec390c564b5a6d65dc53d2b8fcdbc2669076e230cb184be95fc0fce5ab
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2017 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 3.0.0 (2016/06/19) #include <GTEnginePCH.h> #include <Graph...
C++
ext/GTEngine/Source/Graphics/GteViewVolumeNode.cpp
yijiangh/FrameFab
gpl-3.0
2,029
65
codeparrot/github-code
39943586ffb1eaf7cffb83394c3e1f69cdc0233f57255d110e3a17960eea5b9d
# coding: utf-8 import json import logging import dateutil.parser import pytz from werkzeug import urls from odoo import api, fields, models, _ from odoo.addons.payment.models.payment_acquirer import ValidationError from odoo.addons.payment_paypal.controllers.main import PaypalController from odoo.tools.float_utils ...
Python
addons/payment_paypal/models/payment.py
t3dev/odoo
gpl-3.0
11,083
223
codeparrot/github-code
57247a7df1d1a4ce04c2c7fdad5af11361988a4fc7a36c70c07f2fad0ee085bb
=head1 NAME apt-cudf.conf - Configuration file for apt-cudf =head1 DESCRIPTION The configuration file allows one to define default optimization criterias for all solvers known by apt-cudf =head1 SYNTAX solver: <solver list> | '*' A comma-separated list of solvers. The character will make the optimization criter...
Perl
src_ext/dose/doc/manpages/apt-cudf.conf.pod
avsm/opam-ppa
gpl-3.0
2,077
67
codeparrot/github-code
a4f5638fa4b0943fac3f819def96359e0f4b2bc8b9cd86e4e5608315e6f7c429
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenCL.Net; namespace Conv.NET { [Serializable] public class FullyConnectedLayer : Layer { #region Fields private double dropoutParameter; // Host p...
C#
Conv.NET/FullyConnectedLayer.cs
jcredi/ConvDotNet
gpl-3.0
42,554
865
codeparrot/github-code
c86bb781d0206f4bd9e9dda138bbe9c76c41a4d7d9cc28f7b173a8aa271dea1e
/* Copyright 2013 Red Hat, Inc. and/or its affiliates. This file is part of lightblue. 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 ...
Java
config/src/test/java/com/redhat/lightblue/config/CrudValidationTest.java
bserdar/lightblue-core
gpl-3.0
3,200
95
codeparrot/github-code
08a77ff08ec366bc3aea8122be9032813ef2ecb0b7fb10916681a5e6008c8e1e
#pragma once #include <WeaselIPC.h> struct KeyInfo { UINT repeatCount: 16; UINT scanCode: 8; UINT isExtended: 1; UINT reserved: 4; UINT contextCode: 1; UINT prevKeyState: 1; UINT isKeyUp: 1; KeyInfo(LPARAM lparam) { *this = *reinterpret_cast<KeyInfo*>(&lparam); } operator UINT32() { ...
C
WeaselIME/KeyEvent.h
rime/weasel
gpl-3.0
4,532
241
codeparrot/github-code
0f98bf3369e5fe58846ed2dc2dc3d84b7a7d268be3e037dfdae13b1b40c718d2
/* * Copyright (c) 2018 OBiBa. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *...
Java
mica-core/src/main/java/org/obiba/mica/micaConfig/service/PopulationConfigService.java
obiba/mica2
gpl-3.0
1,583
60
codeparrot/github-code
9b6d18a38af8affc6d770758b46980eeefff4e9898bb1d9cd4a47331a4961888
/* * This file is part of the libsigrok project. * * Copyright (C) 2010 Uwe Hermann <uwe@hermann-uwe.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,...
C
src/strutil.c
uwehermann/libsigrok
gpl-3.0
30,226
1,128
codeparrot/github-code
926c3646aef9458120c1ad7b1669691afbfa349ce5e4db8712ecf7676a9de51a
/* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
C++
ArduPlane/tailsitter.cpp
ChristopherOlson/ArduHeli
gpl-3.0
4,878
129
codeparrot/github-code
273c07684cd007222b3511e335253a447f1e93fdc55b9e91378a7a1e03d833d9
/*==LICENSE==* CyanWorlds.com Engine - MMOG client, server and tools Copyright (C) 2011 Cyan Worlds, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at you...
C++
Sources/Tools/MaxComponent/plIgnoreComponent.cpp
Lyrositor/Plasma
gpl-3.0
12,779
437
codeparrot/github-code