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
8bf08279103c6122b3838109070f032fb1f0edad800d5c686a40228b3e4c61f3
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
plugin/platform-native/src/main/groovy/org/gradle/nativeplatform/internal/resolve/ChainedLibraryBinaryLocator.java
cams7/gradle-samples
gpl-2.0
2,038
52
codeparrot/github-code
b7068abdfe599f86c1c2980b9707a1532de3af0902a1545009975f57488f0ad3
/** * @name polygonEdit for Google Maps V3 API * @version 1.0.0 [January 29, 2011] * @author: ryshkin@gmail.com * @fileoverview <b>Author:</b> ryshkin@gmail.com<br/> <b>Licence:</b> * Licensed under <a * href="http://opensource.org/licenses/mit-license.php">MIT</a> * ...
JavaScript
sites/all/modules/custom/gm3/js/gm3.polygon.lib.js
FEYoung/Scratchpads2
gpl-2.0
11,681
231
codeparrot/github-code
bd888d273acb0cc29dd86bb6fe2e8871d93628aa5a7014adc2538d716be1f703
/* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information * This program is free software licensed under GPL version 2 * Please see the included DOCS/LICENSE.TXT for more information */ #include "AI/ScriptDevAI/include/precompiled.h" /** Function that uses a door or a button ...
C++
src/game/AI/ScriptDevAI/include/sc_instance.cpp
killerwife/mangos-wotlk
gpl-2.0
13,478
356
codeparrot/github-code
8cc3d5019393011e6dc205450a11f92d4edb97dc29a8268ab3a0fbc6fe262c3a
using System; using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Linq.Expressions; using System.ComponentModel; namespace CmsData.View { [Table(Name="RegsettingUsage")] public partial class RegsettingU...
C#
CmsData/Generated/Views/RegsettingUsage.cs
nehresma/bvcms
gpl-2.0
1,443
86
codeparrot/github-code
8384100eb4486bdb3dba1d73f208498deeaad257b8c9a2320c237dea1bcae233
/* * Windows regedit.exe registry editor implementation. * * Copyright (C) 2002 Andriy Palamarchuk * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Li...
C
third-party/reactos/base/applications/regedit/regedit.c
GreenteaOS/Kernel
gpl-2.0
11,167
373
codeparrot/github-code
c0514e5449b69a95a895ddd890cfd6a861d6a8ef33e90c5a09aceebe5e3e8f39
/************************************************************************************** * Copyright (C) 2006-2015 EsperTech Inc. All rights reserved. * * http://www.espertech.com/esper * * http://www.espertech.com ...
Java
esperio-stax/src/main/java/com/espertech/esperio/representation/axiom/AxiomEventTypeHandler.java
jackyhong/esper
gpl-2.0
1,617
44
codeparrot/github-code
dfd5ee5b652ab3ca139d0239eacba26ef1ae486a8a554e18bf83517cbee94f66
/* $Id$ */ /*************************************************************************** * (C) Copyright 2003-2010 - Stendhal * *************************************************************************** *************************************************************************** ...
Java
src/games/stendhal/server/maps/semos/plains/ButterfliesNPC.java
AntumDeluge/arianne-stendhal
gpl-2.0
5,811
171
codeparrot/github-code
6091e0ef9f882b79cbdb4063432d5c4ae3af20c5d6ce01e698276b7aef9b106d
/* * Copyright (C) 2015 AChep@xda <artemchep@gmail.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * Th...
Java
project/app/src/main/java/com/achep/base/ui/fragments/DashboardFragment.java
AChep/HeadsUp
gpl-2.0
4,333
127
codeparrot/github-code
224cbcc9cb89ea29bb41f1099bc59c5945271b45fc0ee2a393c22a2418391a98
/* Copyright (C) 2006 Guillaume Duhamel Copyright (C) 2006-2011 DeSmuME team This file 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/debug.cpp
libretro/desmume-libretro
gpl-2.0
12,612
419
codeparrot/github-code
4ca4af2dc4b31c4310ebbf6517b3c60e53bc6eb42b7c3f56cf1e6540e272df49
/** * @file * * @ingroup ClassicASRImpl * * @brief Classic ASR Implementation */ /* COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LI...
C
cpukit/rtems/include/rtems/rtems/asrimpl.h
heshamelmatary/rtems-gsoc2013
gpl-2.0
3,084
143
codeparrot/github-code
a29ca454c98a05efaee818bb3b723b7b294d32ad0d44b57ec9c7638967c2a6ea
/* * Asterisk -- An open source telephony toolkit. * * DAHDI native transcoding support * * Copyright (C) 1999 - 2008, Digium, Inc. * * Mark Spencer <markster@digium.com> * Kevin P. Fleming <kpfleming@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not...
C
codecs/codec_dahdi.c
leedm777/asterisk
gpl-2.0
21,656
881
codeparrot/github-code
85f37bb8f429d0531541601ee03c25df573ff96e6f3452e659cfd2c8b7195e45
/* * Copyright (C) 2002 Jorn Baayen * * 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, or (at your option) * any later version. * * The Rhythmbox authors hereby gr...
C
lib/rb-file-helpers.c
dignan/control
gpl-2.0
38,095
1,572
codeparrot/github-code
62684c5afd9777d1592ddd53310158aa301041b0a33a4bd204f06bf55eded4f0
/** ****************************************************************************** * @file font20.c * @author MCD Application Team * @version V1.0.0 * @date 18-February-2014 * @brief This file provides text font20 for STM32xx-EVAL's LCD driver. ***************************************************...
C
ePaper_Elementz/font20.c
elementzonline/Arduino-Sample-Codes
gpl-2.0
64,354
2,144
codeparrot/github-code
4ae9d6f0c9920889cc80bba84397c285c681a17bed92857ce7a0bbbb69c241e3
//Dont change it requirejs(['ext_editor_1', 'jquery_190', 'raphael_210'], function (ext, $, TableComponent) { var cur_slide = {}; ext.set_start_game(function (this_e) { }); ext.set_process_in(function (this_e, data) { cur_slide["in"] = data[0]; }); ext...
JavaScript
editor/animation/init.js
Bryukh-Checkio-Tasks/checkio-task-forbidden-sum
gpl-2.0
4,093
128
codeparrot/github-code
6e4a5d631fd1faef47b90c395db0ee00ec96659ca49165ac44b4695b3c4df338
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Machinery for generating tracing-related intermediate files. """ __author__ = "Lluís Vilanova <vilanova@ac.upc.edu>" __copyright__ = "Copyright 2012-2014, Lluís Vilanova <vilanova@ac.upc.edu>" __license__ = "GPL version 2 or (at your option) any later version"...
Python
scripts/tracetool/__init__.py
cherry-wb/qemu-dbaf
gpl-2.0
7,429
278
codeparrot/github-code
c4055dbd49e2cf799302f252a11f4ee5e554d0102f79225c79403e91ad2a787f
/* * ALSA sequencer Timer * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl> * Jaroslav Kysela <perex@perex.cz> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by ...
C
sound/core/seq/seq_timer.c
kendling/android_kernel_google_dragon
gpl-2.0
11,271
456
codeparrot/github-code
7b9a22f181798d5090d439eb5894d5b884dc43776d2d1aab0b7be6ce17ff34c6
/* * sonyimx091 camera driver source file * * CopyRight (C) Hisilicon Co., Ltd. * Author : * Version: 1.2 * * 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 L...
C
drivers/media/video/hik3/capture/sonyimx091/sonyimx091.c
asyan4ik/hwp6s-kernel
gpl-2.0
34,131
1,198
codeparrot/github-code
efddb3d8c7cb6629321f663b2bd994c67c66eaaec1c7caf5aae97d7ba64d68f5
using Server.Items; using Server.Network; using System; namespace Server.Mobiles { [CorpseName("a ki-rin corpse")] public class Kirin : BaseMount { [Constructable] public Kirin() : this("a ki-rin") { } [Constructable] public Kirin(string name) ...
C#
Scripts/Mobiles/Normal/Kirin.cs
Argalep/ServUO
gpl-2.0
4,249
125
codeparrot/github-code
8d17e2d3a4533e50caa4f51c6305dd037ac3c017546d9e1386976302780348c3
/* BEGIN LICENSE * Copyright (C) 2011-2013 Percona Ireland Ltd. * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be usefu...
C
percona_playback/tcpdump/connection_state.h
wfxiang08/percona-playback
gpl-2.0
4,821
189
codeparrot/github-code
1b0c5c67256cf2323b57f03eae5b17808abedce02b73dba3275b2dcd3d7bdca1
/* * Embed Media Dialog based on http://www.fluidbyte.net/embed-youtube-vimeo-etc-into-ckeditor * * Plugin name: mediaembed * Menu button name: MediaEmbed * * Youtube Editor Icon * http://paulrobertlloyd.com/ * * @author Fabian Vogelsteller [frozeman.de] * @version 0.5 */ ( function() { CKEDITOR.plugins.add( '...
JavaScript
MrCMS.Web/Areas/Admin/Content/Editors/ckeditor/plugins/mediaembed/plugin.js
MaiLT/Ecommerce
gpl-2.0
2,522
71
codeparrot/github-code
f2868fcc5383cd4b2fc2129f39608aa21fe2b56e327951fa36bca4f771617a28
/* auditd.c -- * Copyright 2004-09,2011 Red Hat Inc., Durham, North Carolina. * 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; either version 2 of the License, or ...
C
src/auditd.c
llovett/linux_audit_tools
gpl-2.0
22,101
902
codeparrot/github-code
9dea2e2c4305d3cf9d8af01a8e232b4a6879b88920a6eceb5ed5f04194bb914b
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Chapt...
HTML
work/berkeley-db/docs/programmer_reference/build_s60.html
joglomedia/masedi.net
gpl-2.0
5,347
124
codeparrot/github-code
6ab4a0409f72326d04481feccbe037a7992ab1c8efd108a0f664625d239bdac8
/* Generic support for headers. Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of Wget. 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
user/wget/src/headers.c
carlobar/uclinux_leon3_UD
gpl-2.0
5,000
179
codeparrot/github-code
a3839ada76f621d4285196751ca3bcb80ede9991d1edff00213ddde0d02d7270
<?php if ('POST' == $_SERVER['REQUEST_METHOD']) { check_admin_referer($this->name . '_update_options'); $this->updateOptions(); } extract($this->options, EXTR_SKIP); $ellipsis = htmlentities($ellipsis); $tagList = array_unique(self::$optionsBasicTags + $allowed_tags); sort($tagList); $tagCols = 5; $plugin =...
PHP
wp-content/plugins/cn-excerpt/wp-cn-excerpt-options.php
aloeproject/aloe_project
gpl-2.0
10,507
185
codeparrot/github-code
9a8039ff18f732f42515a7c6648dbc8f4612af9f99fcb70b8b9587c7a99cfea7
/* Support for TrackLogs digital mapping (.trl) files, Copyright (C) 2006,2007 Olaf Klein, o.b.klein@gpsbabel.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 ...
C
dmtlog.c
alexbirkett/GPSBabel
gpl-2.0
16,212
797
codeparrot/github-code
1b67b7d07c2b477c64735a2bf3e4a94b381473295cf42da69393874ca0c82612
<?php /** * @package wpml-core */ // $Id: potx.inc,v 1.1.2.17.2.7.2.19.4.1 2009/07/19 12:54:42 goba Exp $ /** * @file * Extraction API used by the web and command line interface. * * This include file implements the default string and file version * storage as well as formatting of POT files for web down...
PHP
wp-content/plugins/wpml-string-translation/inc/potx.php
Infernosaint/WPSetupTest2
gpl-2.0
26,112
797
codeparrot/github-code
722fd7c1a5b6d6232d6a1d31f35f214695704780ddd3ee507d4eb120d30391dd
/** * Copyright (c) 2006-. OSCARservice, OpenSoft System. All Rights Reserved. * This software is published under the GPL GNU General Public License. * 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 Fou...
Java
src/main/java/oscar/form/FrmARBloodWorkTest.java
hexbinary/landing
gpl-2.0
4,676
131
codeparrot/github-code
572d02d734a4ddab0f03977d5643ab49f515afb804c719d6c310068428d95978
/* * Bittorrent Client using Qt4 and libtorrent. * Copyright (C) 2011 Christophe Dumez * * 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 op...
C++
src/base/net/dnsupdater.cpp
buinsky/qBittorrent
gpl-2.0
10,232
309
codeparrot/github-code
24b079ff807cb0a168aa809c2249306babf8805d242d42caa90022e2af88c7e8
/* * Copyright (c) 2004, Bull SA. All rights reserved. * Created by: Laurent.Vivier@bull.net * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. */ /* * assertion: * * if aiobcp is NULL, all outstanding cancelab...
C
posixtestsuite/conformance/interfaces/aio_cancel/2-1.c
ycui1984/posixtestsuite
gpl-2.0
1,909
92
codeparrot/github-code
cf3a8f3914805ccf2eddc76252ff1c89e5d443bd1de98f247d7cad819ee655ce
/* * Copyright (C) 2006-2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * Copyright (C) 2008-2014 Hellground <http://hellground.net/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foun...
C++
src/scripts/scripts/zone/onyxias_lair/instance_onyxia_lair.cpp
Lillecarl/HGCore
gpl-2.0
6,239
207
codeparrot/github-code
753028a80121760002a3515ebe30c66fa389b8fdac3fd761dfb19b3e279e6e3b
/* Copyright (c) 2003, 2012, 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 i...
C++
storage/ndb/src/common/transporter/Transporter.cpp
nettedfish/mysql-server
gpl-2.0
7,916
310
codeparrot/github-code
bda6168fcca9a08684cbcbc2a08a08e0084a60758c7bc501d16808c00afbeab9
/* * fs/sdcardfs/lookup.c * * Copyright (c) 2013 Samsung Electronics Co. Ltd * Authors: Daeho Jeong, Woojoong Lee, Seunghwan Hyun, * Sunghwan Yun, Sungjong Seo * * This program has been developed as a stackable file system based on * the WrapFS which written by * * Copyright (c) 1998-2011 Erez...
C
fs/sdcardfs/lookup.c
duowing/HTC10
gpl-2.0
8,015
352
codeparrot/github-code
aa2136ca8caaf360b70ca044df5f03921b378ac5de50885df633992607a31979
// license:BSD-3-Clause // copyright-holders:Olivier Galibert #ifndef _NAOMIGD_H_ #define _NAOMIGD_H_ #include "machine/naomibd.h" #define MCFG_NAOMI_GDROM_BOARD_ADD(_tag, _image_tag, _pic_tag, _eeprom_tag, _irq_cb) \ MCFG_NAOMI_BOARD_ADD(_tag, NAOMI_GDROM_BOARD, _eeprom_tag, nullptr, _irq_cb) \ naomi_gdrom_board::...
C
src/mame/machine/naomigd.h
h0tw1r3/mame
gpl-2.0
2,093
66
codeparrot/github-code
0cd77c6279b160b80746682d81e0e5a2a579704f278d7adbc0b91df646d3cad0
/* * Huawei Touchpanel driver * * Copyright (C) 2013 Huawei Device Co.Ltd * License terms: GNU General Public License (GPL) version 2 * */ #ifndef __HUAWEI_TOUCHSCREEN_H_ #define __HUAWEI_TOUCHSCREEN_H_ #include <linux/version.h> #include <linux/i2c.h> #include <linux/input.h> #include <linux/compl...
C
drivers/huawei/drivers/touchscreen/ts_h30l/huawei_touchscreen.h
yuenar/huawei_P6S-U06_KK_kernel
gpl-2.0
9,428
392
codeparrot/github-code
798442ab213dd18130cadd2f91e47fa696477fd317e30e4db6c04ecda3278da9
// ********************************************************************** // // Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
C++
cpp/src/IceGridLib/PluginFacadeI.cpp
buildhappy/ice
gpl-2.0
820
43
codeparrot/github-code
27391d9923a9e7d9ad4e55a8d992c0b8f8d5ac0d681c47501497ca1d2d17f1d5
using CsvHelper.Configuration; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Siegfried.Stores.Conciliation { public sealed class ConciliacionTransaccionesDTOMap : CsvClassMap<ConciliacionTransaccionesDTO> { public Concilia...
C#
branches/EN/Siegfried/Siegfried.Stores.Conciliation/Siegfried.Stores.Conciliation/ConciliacionTransaccionesDTO.cs
wlnaim/Siegfried
gpl-2.0
1,387
41
codeparrot/github-code
e88bfafd5063c7fb957f6040e0a8ec7e1ff11aafb63668f048624dbf23a9a9a1
<?php /** * HUBzero CMS * * Copyright 2005-2011 Purdue University. All rights reserved. * All rights reserved. * * This file is part of: The HUBzero(R) Platform for Scientific Collaboration * * The HUBzero(R) Platform for Scientific Collaboration (HUBzero) is free * software: you can redistribute it and/or mod...
PHP
modules/mod_myquestions/helper.php
CI-Water-DASYCIM/CIWaterHubZeroPortalDev
gpl-2.0
9,313
335
codeparrot/github-code
979626a70ce43ec61b323480dba9bef53473669e24284cbf7dd3a6268ad62e14
/*** * Represents a single contour. */ #pragma once #include <QString> #include <State/StateInterface.h> #include <cmath> #include <QPen> namespace Carta { namespace Data { class ContourStyles; class Contour{ public: Contour(); QString getStateString() const; /** * Returns the contour leve...
C
carta/cpp/core/Data/Image/Contour/Contour.h
Astroua/CARTAvis
gpl-2.0
3,470
122
codeparrot/github-code
4b599b2b0f1072e9772e6b2a8ea2901f17faedea1c519d4d1c4ebbfb5b496268
/* * linux/arch/x86_64/mm/init.c * * Copyright (C) 1995 Linus Torvalds * Copyright (C) 2000 Pavel Machek <pavel@suse.cz> * Copyright (C) 2002,2003 Andi Kleen <ak@suse.de> */ #include <linux/signal.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/string.h> #incl...
C
arch/x86/mm/init_64.c
janrinze/loox7xxport
gpl-2.0
23,957
994
codeparrot/github-code
e14a0ae27e0034feed4afb1477a0596476f88c55963607718301237ef398a061
/* * Media contexts backend for labeling system * * Author : Eamon Walsh <ewalsh@tycho.nsa.gov> */ #include <sys/stat.h> #include <string.h> #include <stdio.h> #include <stdio_ext.h> #include <ctype.h> #include <errno.h> #include <limits.h> #include "callbacks.h" #include "label_internal.h" /* * Internals */ /...
C
uefi/userspace/libselinux-2.1.9/src/label_media.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
4,779
221
codeparrot/github-code
41117dcc09841b142b9915a87247eb68218955acaa95d36cba7c802c797a1441
#! /usr/bin/env python # Original code by Guido van Rossum; extensive changes by Sam Bayer, # including code to check URL fragments. """Web tree checker. This utility is handy to check a subweb of the world-wide web for errors. A subweb is specified by giving one or more ``root URLs''; a page belongs to the subweb ...
Python
user/python/Tools/webchecker/webchecker.py
kidmaple/CoolWall
gpl-2.0
27,274
825
codeparrot/github-code
b70c4bb409e38b5b682b6cfe3839cbcca8c7dae2072c07999cc1c4a736077c1b
/* * * * Copyright (c) 1994 * Hewlett-Packard Company * * Copyright (c) 1996,1997 * Silicon Graphics Computer Systems, Inc. * * Copyright (c) 1997 * Moscow Center for SPARC Technology * * Copyright (c) 1999 * Boris Fomitchev * * This material is provided "as is", with absolutely no warranty expressed *...
C
lib/STLport/stlport/stl/_threads.c
kidmaple/CoolWall
gpl-2.0
4,931
173
codeparrot/github-code
6ff14182c7f521799ebab77e233f5359b81ccc68d2a9468b181c877aa60a4e1a
/* * 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. */ #ifndef SQUID_COMPAT_SHM_H #define SQUID_COM...
C
compat/shm.h
saucelabs/squid3
gpl-2.0
1,014
55
codeparrot/github-code
f91f5f2743cac291488c408b87c2845fd6fa1a1041ea27890408e0b1ca61f552
#include "platform.h" char *hook_raw_image_addr() { return (char*)0x41643DEC; // seach on CRAW BUF // if multi buffer, // (0x2AEC + 0x8) ??? sub_FF86274C__SsImgProcBuf_c__0 and table FFAD6A24 } long hook_raw_size() { return 0x11E4EE0; // CRAW BUF SIZE 4104*3048, like g9, ixus960 } void *vid_get_viewport_live...
C
platform/d10/sub/100a/lib.c
arne182/chdk-eyefi
gpl-2.0
1,564
77
codeparrot/github-code
f7d3399c4e5f5136470d96b0e16c4148ae7c9def904ba99d2ec795f5eb627d2a
/* Copyright (C) 2018 ezQuake 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 program is distributed in the hope tha...
C
glc_state.h
meag/ezquake-source
gpl-2.0
1,656
44
codeparrot/github-code
ec85fec19d6fb8ab4beea35b65093dddfc158970d274aa5a4b762f24ce458857
<?php /** * Dev7studios Meta Box Framework * * @author Gilbert Pellegrom * @link https://github.com/Dev7studios/Dev7studios-Meta-Box-Framework * @version 1.0 * @license MIT */ if( !class_exists( 'Dev7_Meta_Box_Framework' ) ) { class Dev7_Meta_Box_Framework { function __construct() { ad...
PHP
wp-content/themes/triven/inc/dev7_meta_box_framework.php
m-godefroid76/devrestofactory
gpl-2.0
7,050
186
codeparrot/github-code
afd7bb52e1d166d0da1f51b775aaaa7ab56ee1f07507edb8a7faed3f247ee748
/********************************************************************** ElementDetail - Element Detail, part of the Periodic Table Graphics View for Avogadro Copyright (C) 2007-2009 by Marcus D. Hanwell This file is part of the Avogadro molecular editor project. For more information, see <http://avogadro.openmol...
C++
reference/avogadro/libavogadro/src/elementdetail_p.cpp
rcplane/periodicdisplay
gpl-2.0
4,632
134
codeparrot/github-code
cf20b5504b80f3de2d4ee3804617ad10c1708c7192793c0ccdc12d39a41868dd
/* * Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/java/StoreIndexedNode.java
md-5/jdk10
gpl-2.0
4,971
128
codeparrot/github-code
61e1dced44a237a1b03f5571ba0014ba807fb9590df918c2f90155bc6021e79c
/* pixmap_save.c * Routines for saving pixmaps using the Gdk-Pixmap library * Copyright 2007, Stephen Fisher (see AUTHORS file) * * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it an...
C
ui/gtk/pixmap_save.c
hashbrowncipher/wireshark
gpl-2.0
5,449
177
codeparrot/github-code
fc6c85ad129eb5b6acebd67fe85be26a746e3e5a3e9e794ece030a5af7f013e9
/*--------------------------------------------------------------------*/ /*--- Implementation of POSIX signals. m_signals.c ---*/ /*--------------------------------------------------------------------*/ /* This file is part of Valgrind, a dynamic binary instrumentation framework. Copyright ...
C
coregrind/m_signals.c
ystk/debian-valgrind
gpl-2.0
93,376
2,635
codeparrot/github-code
a6d50d7d181a1b2b147d716c8135aad98c11f64754ea21473ce8c53c0e4446e7
<?php /******************************************************************************* Copyright 2009 Whole Foods Co-op This file is part of Fannie. Fannie 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 Softwar...
PHP
fannie/auth/ui/createUser.php
joelbrock/NOFC_CORE
gpl-2.0
2,324
65
codeparrot/github-code
f10d9a64621bc1f5adc69e1dc1f0cc6d91c8d9981e324eabb1ad17c474c9d13a
# This code was forked from the LiveJournal project owned and operated # by Live Journal, Inc. The code has been modified and expanded by # Dreamwidth Studios, LLC. These files were originally licensed under # the terms of the license supplied by Live Journal, Inc, which can # currently be found at: # # http://code.liv...
Perl
cgi-bin/LJ/TextUtil.pm
ljacob/dw-free
gpl-2.0
19,582
722
codeparrot/github-code
f4487fe07134976a1943e6473bc731bf51fb0aa3ff1598de3c3c3af488f372d9
/** * Copyright 2012 Society for Health Information Systems Programmes, India (HISP India) * * This file is part of DHIS2 Reporting module. * * DHIS2 Reporting module 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...
Java
api/src/main/java/org/openmrs/module/dhisreport/api/db/DHIS2ReportingDAO.java
vishnuraom/openmrs-module-dhisreport
gpl-3.0
2,999
83
codeparrot/github-code
ee5f41b6186f8ef6a1fbb8af88ac7f26d8b92f7fa352534a07f0aa19afc93bbb
# coding=utf-8 """ InaSAFE Disaster risk assessment tool developed by AusAid - **Aggregator.** 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 Software Foundati...
Python
safe/impact_statistics/aggregator.py
Jannes123/inasafe
gpl-3.0
69,859
1,694
codeparrot/github-code
e89090df3b92f457afc8b55988afee993ddd598aa639fd33a53e339d2a3c2a31
// IFolder.h #ifndef __IFOLDER_H #define __IFOLDER_H #include "../../IProgress.h" #define FOLDER_INTERFACE_SUB(i, b, x) DECL_INTERFACE_SUB(i, b, 8, x) #define FOLDER_INTERFACE(i, x) FOLDER_INTERFACE_SUB(i, IUnknown, x) namespace NPlugin { enum { kName = 0, kType, kClassID, kOptionsClassID }; }...
C
app/src/main/jni/desmume/src/android/7z/CPP/7zip/UI/FileManager/IFolder.h
Tsunamical/nds4droid
gpl-3.0
4,769
146
codeparrot/github-code
26d0bf0e1bad43c8ea77b27a1b481c07b88f885ac3a19f15b2a4b6bf64af280d
// SuperTux // Copyright (C) 2009 Ingo Ruhnke <grumbel@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later ve...
C++
src/supertux/menu/main_menu.cpp
mahboi/supertux
gpl-3.0
3,314
104
codeparrot/github-code
92f244e2916cf58d6f5699cfaa06f613f85f60d54df37c2a5aa378f8bcf5a4c7
/* This file is part of LilyPond, the GNU music typesetter. Copyright (C) 2006--2012 Joe Neeman <joeneeman@gmail.com> LilyPond 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++
lily/page-breaking-scheme.cc
aspiers/lilypond
gpl-3.0
2,356
65
codeparrot/github-code
5a3157eceaf9af0c363fd05c8981cc4635586649441ab48453a1332014318b45
/* * crypto.c - Manage the global crypto * * Copyright (C) 2013 - 2017, Max Lv <max.c.lv@gmail.com> * * This file is part of the shadowsocks-libev. * * shadowsocks-libev 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
src/crypto.c
reusu/shadowsocks-libev
gpl-3.0
10,346
387
codeparrot/github-code
0262115b1cb9506dd21662e3b989a393c1fd27081049ebf015732481fcccfecc
package com.wouterbreukink.onedrive.tasks; import com.google.api.client.http.HttpResponseException; import com.google.api.client.util.Preconditions; import com.wouterbreukink.onedrive.TaskQueue; import com.wouterbreukink.onedrive.client.OneDriveItem; import com.wouterbreukink.onedrive.client.OneDriveProvider; import c...
Java
src/main/java/com/wouterbreukink/onedrive/tasks/Task.java
tangyiyong/onedrive-java-client
gpl-3.0
5,859
174
codeparrot/github-code
395d813be470fe977e0be413480828b774540682479906aa1555aa1529236d2a
'use strict'; //dependencies var should = require('should'); var pb = {}; pb.DAO = require('../../../../../include/dao/dao.js')(pb); pb.BaseObjectService = require('../../../../../include/service/base_object_service.js')(pb); pb.ValidationService = require('../../../../../include/validation/validation_service.js')(pb)...
JavaScript
test/include/service/entities/content/page_service_tests.js
v3rt1go/respiro
gpl-3.0
4,067
118
codeparrot/github-code
e5082fc663eb8de96fb25ba1f8424189708181352749c0cdde76d0488a0be754
// 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/dapps/registry/util/registry.js
nipunn1313/parity
gpl-3.0
1,273
38
codeparrot/github-code
8c5363842af56f6ece015b0df7df6ca1452a71440aea743cdcaf6b0fb70f8e05
/* * Copyright 2010-2016 OpenXcom Developers. * * This file is part of OpenXcom. * * OpenXcom 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/Savegame/Production.cpp
DiceMaster/OpenXcom
gpl-3.0
6,861
253
codeparrot/github-code
abc27461c52165c5b6899720bb6a037080d82bf1307879d5f60342a464f1bb19
# -*- coding: utf-8 -*- module Plugin::GUI::TabLike attr_reader :icon attr_accessor :deletable def initialize(*args) @expand = true super end # できるだけ小さく表示する # ==== Return # self def shrink @expand = false self end # できるだけ大きく表示する # ==== Return # self def expand(new = true) ...
Ruby
core/plugin/gui/tablike.rb
taiki45/mikutter
gpl-3.0
1,694
88
codeparrot/github-code
6ce2d1729becbf7877d4a5d386623d79e935d1eb4ce49421c14ac4aa0eb36d95
""" Agent to extend the number of tasks given the Transformation definition """ from DIRAC import S_OK, gLogger from DIRAC.Core.Base.AgentModule import AgentModule from DIRAC.ConfigurationSystem.Client.Helpers.Operations ...
Python
TransformationSystem/Agent/MCExtensionAgent.py
sposs/DIRAC
gpl-3.0
4,963
111
codeparrot/github-code
c30200691bc4cbf72d043e6a1635d5b99ec558808cbd2621678346e61726eab0
//Featured Content Glider: By http://www.dynamicdrive.com //Created: Dec 22nd, 07' //Updated (Jan 29th, 08): Added four possible slide directions: "updown", "downup", "leftright", or "rightleft" //Updated (Feb 1st, 08): Changed glide behavior to reverse direction when previous button is clicked //Updated (Feb 12th, 08)...
JavaScript
web/css/featuredcontentglider.js
fraloza/rubias
gpl-3.0
6,313
142
codeparrot/github-code
4f7cc7b361e677cb7063734dffe632513c5ba12069146d429664690ad36a4259
/* Simple DirectMedia Layer Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
C
app/src/main/jni/sdl/src/video/kmsdrm/SDL_kmsdrmopengles.c
tangalbert919/nds4droid
gpl-3.0
5,083
140
codeparrot/github-code
65283a11dbe554386f4f5c2a56599a3620f3878953b84c7da9d2d829d1bffc92
// // Copyright (c) 2008-2018 the Urho3D project. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
C++
Source/Urho3D/Graphics/Direct3D11/D3D11Texture2DArray.cpp
cyberix3d/Cyberix3D
gpl-3.0
17,385
534
codeparrot/github-code
2ae806b89c408132804505fa8df60ceb0a7b2ed63c2b07fcd060795ddda9a340
/* Thread package specific definitions of stream lock type. NPTL version. Copyright (C) 2000, 2001, 2002, 2003 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 Publi...
C
cross/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sys-root/usr/include/bits/stdio-lock.h
javilonas/NCam
gpl-3.0
3,350
106
codeparrot/github-code
5d8d8e2349c3f5d746cbe836c7cde1d120fe8b49684238b7c85fc40a15757091
/* 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_shift/cshift_s_wd1_5.c
uhhpctools/openuh-openacc
gpl-3.0
3,104
98
codeparrot/github-code
c3131f74a7fbc8a0a7c613c73af29b676d98816e66cb4319f6e1d6dba9a9dc41
/* RetroArch - A frontend for libretro. * Copyright (C) 2014-2017 - Ali Bouhlel * * RetroArch 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 Found- * ation, either version 3 of the License, or (at your option) an...
C
audio/drivers/ctr_dsp_audio.c
RobLoach/RetroArch
gpl-3.0
5,804
213
codeparrot/github-code
69e7e42758fa0c680995381007eecc460eba0424d21cd2456dfda23a213cd94f
/* * Copyright (c) 2017 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
C
said-anp/slow-cons/libicnet-mod/icnet/utils/icnet_utils_string_tokenizer.h
jdebenedetto/icn17_demo
gpl-3.0
948
39
codeparrot/github-code
71553bb808f906e1495f81c15bf1de0b07326001be930370443f6ee04210637b
/* * Graph89 - Emulator for Android * * Copyright (C) 2012-2013 Dritan Hashorva * * 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
src/com/graph89/controls/SeekBarPreference.java
evnhali/titanium-emu
gpl-3.0
5,128
182
codeparrot/github-code
8ec43be54c309884b8612673481ff5090df717937be52e4c7d3d2ef61557c45a
<?php /** * * @package mahara * @subpackage core * @author Catalyst IT Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later * @copyright For copyright information on Mahara, please see the README file distributed with this software. * */ define('INTERNAL', 1); define('MENUI...
PHP
htdocs/user/requestfriendship.php
agwells/mahara_blocktype_clippy
gpl-3.0
3,784
112
codeparrot/github-code
07172c80d6fd786df3f942c66dad635c6d5d0d884b85720d28bd1461ad27385d
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
C++
include/win64-x64/opencv2/gpu/device/warp_shuffle.hpp
hyyh619/ARToolKit_5.3.1
gpl-3.0
5,104
148
codeparrot/github-code
dd6255fadc3ce9024d1c13deac965da80dc25cea62fb77b9154b09b6a0065f39
# -*- coding: utf-8 -*- # # This file is part of NINJA-IDE (http://ninja-ide.org). # # NINJA-IDE 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 # any later version. # # NIN...
Python
ninja_ide/core/encapsulated_env/plugins_manager.py
centaurialpha/ninja-ide
gpl-3.0
3,254
92
codeparrot/github-code
8a4102d6e37f320a1961d3a62feec62e96ec61acd99dad7aafe201150804e0eb
//=========================================================================== /*! * * * \brief Archive of evaluated points as an objective function wrapper. * * * \author T. Glasmachers * \date 2013 * * * \par Copyright 1995-2015 Shark Development Team * * <BR><HR> * This file is ...
C
include/shark/ObjectiveFunctions/EvaluationArchive.h
CptCapy/Programming_Shark
gpl-3.0
7,841
244
codeparrot/github-code
a497e1cd26995e11d8fdf9d33b028d7854211b6ca1374a1ffbb7063bb8cfaec6
using EloBuddy; using LeagueSharp.SDK; namespace DarkEzreal.Common { using System.Windows.Forms; using LeagueSharp.SDK.Enumerations; using LeagueSharp.SDK.UI; using Menu = LeagueSharp.SDK.UI.Menu; internal static class EasyMenu { public static Menu CreateMenu(this Menu menu, strin...
C#
Core/SDK Ports/DarkChild's Ezreal/Common/EasyMenu.cs
tk8226/YamiPortAIO-v2
gpl-3.0
3,402
100
codeparrot/github-code
0330cf8113231e63da6fa99eb5f20a21ff91936f33731bf01b1fb310599cd52b
package net.minecraft.client.model; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.passive.EntitySheep; public class ModelSheep1 extends ModelQuadruped { private float headRotationAngleX; public ModelSheep1() { super(12, 0.0F); ...
Java
mcp/src/minecraft/net/minecraft/client/model/ModelSheep1.java
MartyParty21/AwakenDreamsClient
gpl-3.0
2,670
57
codeparrot/github-code
902f77354b5fd623adc15bec095afc217080affde93b6cbfbe86d8ee14024ed3
(function($) { $.fn.bootstrapValidator.validators.numeric = { html5Attributes: { message: 'message', separator: 'separator' }, /** * Validate decimal number * * @param {BootstrapValidator} validator The validator plugin instance ...
JavaScript
web/src/js/validator/numeric.js
AnthonyWainer/sisacreditacion
gpl-3.0
1,026
32
codeparrot/github-code
4bd521d216478c812e77d469504a47d277f82cfed0c374eff8565bd7c73a68cb
<?php namespace Wealthbot\ClientBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; use Wealthbot\ClientBundle\Model\Workflow as BaseWorkflow; use Wealthbot\SignatureBundle\Entity\DocumentSignature; /** * Workflow */ class Workflow extends BaseWorkflow { /** * ...
PHP
src/Wealthbot/ClientBundle/Entity/Workflow.php
akhilrs/wealthbot
gpl-3.0
10,394
555
codeparrot/github-code
ec6a1c4a66f2b38c5e5b1c4d0636f8e8c70afc2e508fd19943be783d9c97fd79
/* * Speex decoder by Reimar Döffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de> * * This code may be be relicensed under the terms of the GNU LGPL when it * becomes part of the FFmpeg project (ffmpeg.org) * * This file is part of MPlayer. * * MPlayer is free software; you can redistribute it and/or mod...
C
source/mplayer/libmpcodecs/ad_speex.c
SuperrSonic/WiiMC-SSLC
gpl-3.0
6,056
182
codeparrot/github-code
2f7fb09150c746188ba3d949bf85551d4f92910562f757cfbb40a9dc7c838515
#!/usr/bin/env python """ APM automatic test suite Andrew Tridgell, October 2011 """ from __future__ import print_function import atexit import fnmatch import glob import optparse import os import shutil import signal import sys import time import traceback import apmrover2 import arducopter import arduplane import ...
Python
Tools/autotest/autotest.py
dgrat/ardupilot
gpl-3.0
18,627
574
codeparrot/github-code
6c31cd048618c0a62cd5ad663cc4c3618e7aa9dab4345a9b8cde7895fccf22fd
<!doctype html> <html> <head> <meta charset="utf-8"> <title>CodeMirror: Vim bindings demo</title> <link rel="stylesheet" href="../lib/codemirror.css"> <script src="../lib/codemirror.js"></script> <script src="../mode/clike/clike.js"></script> <script src="../keymap/vim.js"></script> <script ...
HTML
trunk_web/ankus-web-services/src/main/webapp/resources/lib/codemirror-2.35/demo/vim.html
onycom-ankus/ankus_analyzer_G
gpl-3.0
1,658
59
codeparrot/github-code
b55534f92a5c511ec6957e5b37648b66073317e3caf26b4d40fb7aa179c115f0
# coding: utf-8 # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
Python
modules/review/review_tests.py
GirlsCodePy/girlscode-coursebuilder
gpl-3.0
68,631
1,461
codeparrot/github-code
e29e53c8778f78886aa61b9ba63be298e5a4c8c5debd3a9f5197ad15e3ac1d0f
#include "MantidQtWidgets/RefDetectorView/RefLimitsHandler.h" namespace MantidQt { namespace RefDetectorViewer { RefLimitsHandler::RefLimitsHandler(Ui_RefImageViewer *ivUI) : m_ui(ivUI) {} /** * return the value of the peak left **/ int RefLimitsHandler::getPeakLeft() const { return m_ui->lineEdit_peakLeft->text...
C++
qt/widgets/refdetectorview/src/RefLimitsHandler.cpp
ScreamingUdder/mantid
gpl-3.0
2,982
115
codeparrot/github-code
33247809dcd043795742d6aea1bf4a03d4377352c40ad0be4a991236d8c2761d
/** * Copyright (C) 2007-2012 Hypertable, Inc. * * This file is part of Hypertable. * * Hypertable 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 any later versio...
Java
src/java/Core/org/hypertable/AsyncComm/CommBuf.java
deniskin82/hypertable
gpl-3.0
4,204
138
codeparrot/github-code
8ae3235e4118d0bf405d557d96ef1ba3722f71233507ac38b97403921786932c
/* copy structs */ /* * Copyright 1995-1999 Bruno Haible, <bruno@clisp.org> * * This is free software distributed under the GNU General Public Licence * described in the file COPYING. Contact the author if you don't have this * or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied, * on thi...
C
ffcall-1.10/vacall/structcpy.c
haililihai/ATPP_GUI
gpl-3.0
977
34
codeparrot/github-code
23ab09f30d5658f376b92a73aadbd4605ba878fe3663bc288bee98f4276c7335
<?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
library/Zend/Pdf/Cmap/SegmentToDelta.php
areeves/openfisma
gpl-3.0
15,113
408
codeparrot/github-code
a57871168aeea410ac144c073fcb14f8947926118d883a4a9552052637645536
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
packages/experimental/LoaderApp/src/com/android/loaderapp/model/ExchangeSource.java
s20121035/rk3288_android5.1_repo
gpl-3.0
14,206
317
codeparrot/github-code
45717aea3eabf911eb85b715fca5ec9942012c04cf89727827ccbe26f00997e7
<?php namespace App\Http\Controllers; use Mews\Purifier\Purifier; use Parsedown; use Illuminate\Http\Request; use App\Page; use App\User; use App\Version; class WikiController extends Controller { /** * Get all versions * @param Request $request * @param $title */ public function history(...
PHP
app/Http/Controllers/WikiController.php
NEUP-Net-Depart/Minawiki
gpl-3.0
4,795
145
codeparrot/github-code
ea0394160aaa65316c28245fc87669c0f5590c178cb8addaa15a7e0c18902ed4
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "License"); *...
Java
xena/ext/src/xalan-j_2_7_1/src/org/apache/xalan/extensions/SecuritySupport12.java
srnsw/xena
gpl-3.0
5,045
147
codeparrot/github-code
3e6a0a24404552c4b4c7d100518f94b900c3764f93cb027a30c42999490a8994
using System; using System.Collections; using System.Collections.Specialized; using System.Web.UI.WebControls; using BaiRong.Core; using BaiRong.Core.Model.Enumerations; using BaiRong.Text.LitJson; using SiteServer.CMS.Core; namespace SiteServer.BackgroundPages.Cms { public class ModalTextEditorInsertVideo : Base...
C#
source/SiteServer.BackgroundPages/Cms/ModalTextEditorInsertVideo.cs
ColgateKas/cms
gpl-3.0
5,342
141
codeparrot/github-code
19b6df5a8033301eb0fac0c134e1b0cbc81b1d46231d4f998a1c608a449a7217
(function($) { $.fn.bootstrapValidator.validators.date = { html5Attributes: { message: 'message', format: 'format' }, /** * Return true if the input value is valid date * * @param {BootstrapValidator} validator The validator plugi...
JavaScript
web/src/js/validator/date.js
AnthonyWainer/sisacreditacion
gpl-3.0
3,808
105
codeparrot/github-code
2d14cdf9e07c9574110b4ff98bc49edaa5dcd177c0ebe19c51d7999586bdcc2c
package com.ericmguimaraes.gaso.util; import android.content.Context; import android.content.res.AssetManager; import android.util.Log; import net.sourceforge.jFuzzyLogic.FIS; import net.sourceforge.jFuzzyLogic.rule.LinguisticTerm; import net.sourceforge.jFuzzyLogic.rule.Variable; import java.io.IOException; import ...
Java
Gaso/app/src/main/java/com/ericmguimaraes/gaso/util/FuzzyManager.java
ericmguimaraes/gaso
gpl-3.0
3,072
104
codeparrot/github-code
482262f785168d597249e16831efa3e0af526597c96dd93c4a8fff6e84c83db1
{-# LANGUAGE ScopedTypeVariables, CPP, ForeignFunctionInterface, MagicHash, UnboxedTuples #-} {-# OPTIONS_HADDOCK hide #-} #if __GLASGOW_HASKELL__ >= 701 {-# LANGUAGE Trustworthy #-} #endif -- | Copyright : (c) 2010 - 2011 Simon Meier -- License : BSD3-style (see LICENSE) -- -- Maintainer : Simon Meie...
Haskell
libraries/bytestring/Data/ByteString/Builder/ASCII.hs
jwiegley/ghc-release
gpl-3.0
11,618
380
codeparrot/github-code
7800a3b4a00a320cde4e2389b0dbf0f32f026c90bdbd69e5b1256d9e277e96c2
/* This file is part of the kcal library. Copyright (c) 1998 Preston Brown <pbrown@kde.org> Copyright (c) 2001,2003 Cornelius Schumacher <schumacher@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 th...
C
linux26333/systems/redhat/usr/include/kde4/kcal/calendarlocal.h
aJanker/TypeChef-LinuxAnalysis
gpl-3.0
7,769
295
codeparrot/github-code
513d40ef0c5246e028c5f4d3b708e52c3c4a67db3a9d6bad2c01e1c6d9dbc802
/* * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2016 Cppcheck 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 3 of the License, or * (at ...
C
lib/checkstring.h
tdmaav/cppcheck
gpl-3.0
5,171
125
codeparrot/github-code
f254145e97ed2230406b62879ad5f79e353da1ba7920454cb64a2db1cea7b7e6
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # 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) an...
Python
lib/ansible/plugins/action/__init__.py
hfinucane/ansible
gpl-3.0
32,910
725
codeparrot/github-code
e1c8f5b43207684cf766808ad0ac5d59f152f9ffaee8b30f1d708fac83aad206
//===--- HexagonGenInsert.cpp ---------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
compiler/llvm/lib/Target/Hexagon/HexagonGenInsert.cpp
HexHive/datashield
gpl-3.0
53,456
1,600
codeparrot/github-code
081e7e2f4159d66bbc82dc7d46bfdcadd76a3df55420101a51e82524355276ff
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/filters/decoder_stream.h" #include <utility> #include "base/bind.h" #include "base/callback_helpers.h" #include "base/location.h" #inclu...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/media/filters/decoder_stream.cc
geminy/aidear
gpl-3.0
26,866
784
codeparrot/github-code