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
1921a8ec984b156f6ed37141a096a87c0c432394a15cdef778983dcd2e16c687
require_dependency 'distributed_cache' require_dependency 'sass/discourse_stylesheets' class Category < ActiveRecord::Base include Positionable include HasCustomFields include CategoryHashtag belongs_to :topic, dependent: :destroy belongs_to :topic_only_relative_url, -> { select "id, title, s...
Ruby
app/models/category.rb
shirishgoyal/daemo-forum
gpl-2.0
18,724
548
codeparrot/github-code
063fc337b789467f3f54f2cf306ffe718b267a1ca02fefa217331404c490c9cf
/* Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved. Contact: SYSTAP, LLC 2501 Calvert ST NW #106 Washington, DC 20008 licenses@systap.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 So...
Java
bigdata-rdf/src/java/com/bigdata/rdf/internal/constraints/TrueBOp.java
rac021/blazegraph_1_5_3_cluster_2_nodes
gpl-2.0
1,674
73
codeparrot/github-code
b9798daf86e58498ba3d4b1c547e8a4a61980cd47a252faaba5c00f575e715ea
/* * Copyright (C) 2005-2012 Team XBMC * http://www.xbmc.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, or (at your option) * any later version. * ...
C++
xbmc/win32/XBMC_PC.cpp
RasPlex/OpenPHT
gpl-2.0
7,357
251
codeparrot/github-code
35febb4e9ba4887b0d133994a2e945b1b8d36f962006bb85c0c2264c585ba69d
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Diagnostics; namespace ICSharpCode.AvalonEdit.Document { /// <summary> /// Describes a ...
C#
GitUI/ICSharpCode.AvalonEdit/Document/DocumentChangeOperation.cs
yysun/Git-Source-Control-Provider
gpl-2.0
1,564
53
codeparrot/github-code
e309c281bd3b7cc7a71b87b4dd563d550b5de8745f741e6809257524dd6fd51f
using System; using System.Collections; using System.IO; using System.Text; using Nequeo.Cryptography.Key.Utilities; using Nequeo.Cryptography.Key.Utilities.Encoders; namespace Nequeo.Cryptography.Key.Asn1.Utilities { public sealed class Asn1Dump { private static readonly string NewLine = Platfo...
C#
Source/Components/Cryptography/Nequeo.Cryptography/Nequeo.Cryptography.Key/asn1/util/Asn1Dump.cs
drazenzadravec/nequeo
gpl-2.0
11,874
379
codeparrot/github-code
ae117a3a56b3149e6e1d8669e89e2fb516349ffb7764fb0edf5b8090a56692e0
/* -*- mode: c++; c-basic-offset:4 -*- uiserver/sessiondata.cpp This file is part of Kleopatra, the KDE keymanager Copyright (c) 2009 Klarälvdalens Datakonsult AB Kleopatra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
C++
kleopatra/uiserver/sessiondata.cpp
kolab-groupware/kdepim
gpl-2.0
4,001
130
codeparrot/github-code
1a276807e2141c4a915ab724c54d8940d5e6c554c29ee49d37069151fd330a12
<?php add_action('widgets_init', 'ts_recent_widget'); function ts_recent_widget(){ register_widget('ts_recent_post'); } class ts_recent_post extends WP_Widget{ /* Widget setup */ function ts_recent_post(){ /* Widget settings */ $widget_ops = array( 'classname' => 'recent-posts-widget', 'description'...
PHP
wp-content/themes/maddux/includes/widgets/recent-post.php
jin-2/MS
gpl-2.0
4,867
141
codeparrot/github-code
b1799f45d14a72b56e42a553d5d582b881b9c61e2daca2d91b5c6c0c6e256145
/* LucScholtes2010 */ #include"JointedCohesiveFrictionalPM.hpp" #include<core/Scene.hpp> #include<pkg/dem/ScGeom.hpp> #include<core/Omega.hpp> YADE_PLUGIN((JCFpmMat)(JCFpmState)(JCFpmPhys)(Ip2_JCFpmMat_JCFpmMat_JCFpmPhys)(Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM)); /********************** Law2_ScGeom_JCFp...
C++
pkg/dem/JointedCohesiveFrictionalPM.cpp
hbenniou/trunk
gpl-2.0
15,484
326
codeparrot/github-code
5c2eaf64f45822e97f8bc0451c632bac9ec5f674c39d77a640c55ef137caa831
/** * @file LibMultiSense/details/flash.cc * * Copyright 2013 * Carnegie Robotics, LLC * 4501 Hatfield Street, Pittsburgh, PA 15201 * http://www.carnegierobotics.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
C++
src/multisense/multisense_lib/sensor_api/source/LibMultiSense/details/flash.cc
WuNL/lab_workspace
gpl-2.0
6,493
210
codeparrot/github-code
ebad4996ed2a01b5a0feba4edde25394d0eede62a1e17e229ef7a42870a6229b
<?php /** * @package AcyMailing for Joomla! * @version 4.9.4 * @author acyba.com * @copyright (C) 2009-2015 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php JHTML::_('behavior.modal','a.modal'); if(!include_...
PHP
components/com_acymailing/params/customtemplate.php
educakanchay/educared
gpl-2.0
1,737
40
codeparrot/github-code
e37d0e3979d6cdb9c1e866ffb15df091419937fc83dc9578a6f765b4880865a8
/* liblinphone_tester - liblinphone test suite Copyright (C) 2013 Belledonne Communications SARL 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
tester/liblinphone_tester.h
shareefalis/linphone
gpl-2.0
15,068
340
codeparrot/github-code
7aa36826ff012bc31b87f975d43c959735f721dd03a243fb43422b9f2f2bc348
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Pages extends CI_Controller { function __construct() { parent::__construct(); $this->stencil->slice(array('head','header','footer')); $this->stencil->layout('subpage_layout'); } function index() { switch ($this->uri->seg...
PHP
application/controllers/pages.php
LewisSoftwareDevelopment/Headwaters
gpl-2.0
1,059
38
codeparrot/github-code
cfa121ef432b81214fb9eef42a5ec1519e3e57f8ffe3ad929a67a0438304d335
// Locale support -*- C++ -*- // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by ...
C
libstdc++-v3/include/bits/locale_classes.h
myri/lanai-gcc
gpl-2.0
11,167
423
codeparrot/github-code
28b6e21c06a0da0aac1a2b3232612b5b3e696ed36b53e60af7cbd50eb1aea76d
/* Initialization of PPC64 specific backend library. Copyright (C) 2004 Red Hat, Inc. Written by Ulrich Drepper <drepper@redhat.com>, 2004. This program is Open Source software; you can redistribute it and/or modify it under the terms of the Open Software License version 1.0 as published by the Open Sou...
C
6.1.1.B.1.54/external/elfutils/libebl/ppc64_init.c
percy-g2/Novathor_xperia_u8500
gpl-2.0
1,256
43
codeparrot/github-code
458e955d3bb5167686e54e442e684b80b513a9ee7e91301911fd134e86142315
#include "ibm.h" #include "io.h" #include "plat-midi.h" #include "sound_mpu401_uart.h" enum { STATUS_OUTPUT_NOT_READY = 0x40, STATUS_INPUT_NOT_READY = 0x80 }; static void mpu401_uart_write(uint16_t addr, uint8_t val, void *p) { mpu401_uart_t *mpu = (mpu401_uart_t *)p; ...
C
src/sound_mpu401_uart.c
Anamon/pcem
gpl-2.0
1,628
59
codeparrot/github-code
6abe70bf42b6e0af43a07ecba575b61e479ca591e2aa765800a82377a7b617a6
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>vc1parser</title> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="index.html" title="GStreamer Bad Plugins 0.10 Library Refere...
HTML
docs/libs/html/gst-plugins-bad-libs-vc1parser.html
hkandiga/wayland-gst-plugins-bad-0.10.23
gpl-2.0
62,177
1,268
codeparrot/github-code
219e1f2c88445523c69a820938b029621af84fd5bd151e2286a9055514136e15
Dubtrack.AvatarUsersRegistered = new Backbone.Collection(); Dubtrack.View.chat = Backbone.View.extend({ renderSound : true, el : $('#chat'), chatSoundFilter : 'none', _type_message : null, events : { "keydown input#chat-txt-message": "keyPressAction", "click button.pusher-chat-widget-send-btn": "sendM...
JavaScript
public/assets/js/dubtrack/src/views/chat/chat.view.js
RobGoldy/www-dubtrack-fm
gpl-2.0
21,270
815
codeparrot/github-code
7363584d1c9d5ff33e3abfb885815b64c8fa7a82db058e3337176f8b0739f782
/* * linux/arch/m68k/kernel/ptrace.c * * Copyright (C) 1994 by Hamish Macdonald * Taken from linux/kernel/ptrace.c and modified for M680x0. * linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds * * This file is subject to the terms and conditions of the GNU General * Public License. See...
C
arch/m68k/kernel/ptrace.c
jur/linux-2.2.1-ps2
gpl-2.0
15,391
610
codeparrot/github-code
a534d3ec12544c4193cc4562ee208968f71487eb9ed94c1a4b3cd3eb736a8c40
/* packet-pgm.c * Routines for PGM packet disassembly, RFC 3208 * * $Id$ * * Copyright (c) 2000 by Talarian Corp * Rewritten by Jaap Keuter * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1999 Gerald Combs * * This program is free software; you can redistribute ...
C
epan/dissectors/packet-pgm.c
hb9cwp/wireshark-jdsu
gpl-2.0
50,372
1,469
codeparrot/github-code
847c23079263657abfb35a248e0e203c6d16f4a0dd9d7028342db726e3191a71
/* * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either ver...
C
src/server/game/Spells/Spell.h
VortexCore/VortexCore434
gpl-2.0
35,546
781
codeparrot/github-code
08ad0cedcae2484bb0d6eb2861fc9c603664150cfc6bfd58fe6fd226eff819c6
/*========================================================================== * Copyright (c) 2002-2005 University of Massachusetts. All Rights Reserved. * * Use of the Lemur Toolkit for Language Modeling and Information Retrieval * is subject to the terms of the software license set forth in the LICENSE * file in...
C++
indri-5.9/include/indri/CombinedVocabularyIterator.hpp
lake-of-dreams/Assist
gpl-2.0
1,452
51
codeparrot/github-code
c4c609f231347036c681e065806f8984afec2b3c8d34d31060d95632372755ca
/* Copyright 2004 Guillaume Duhamel Copyright 2004-2008 Theo Berkau Copyright 2005 Joost Peters This file is part of Yabause. Yabause 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...
C
src/windows/cpudebug/yuidebug.c
EmulatorArchive/yabause-rr
gpl-2.0
29,626
918
codeparrot/github-code
dff37ec69108e8c1f0ebcab126afe676c2c3139990dd68109a727896018e9855
/* * RTP packetization for MPEG video * Copyright (c) 2002 Fabrice Bellard * Copyright (c) 2007 Luca Abeni * * This file is part of Libav. * * Libav is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundati...
C
gst-libs/ext/libav/libavformat/rtpenc_mpv.c
heiher/gst-ffmpeg
gpl-2.0
3,711
120
codeparrot/github-code
11d05281d2d6a34d6dc282b1f9f8f6476ade3be6f2963489ff94d5c81eb4bc3c
// Copyright Oleg Maximenko 2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://github.com/svgpp/svgpp for library home page. #pragma once // Xerces headers must be already included ...
C++
includes/svgpp/policy/xml/xerces.hpp
asuradaimao/Walfas
gpl-2.0
6,633
266
codeparrot/github-code
e0803429a275eda4d7358b8078c86dd7a00c642b7fe30a87a52ed29a25fa69a9
#include <string.h> /* The LX6 requires aligned accesses. (Annoyingly, it doesn't trap if you get * this wrong. It just reads to or writes from the wrong place.) */ #define ALIGNUP(v) alignup(v, 4) #define ALIGNDOWN(v) aligndown(v, 4) #define uputp uputl /* Copy user pointer type */ #define ugetp(x)...
C
Kernel/cpu-esp32/cpu.h
EtchedPixels/FUZIX
gpl-2.0
2,098
74
codeparrot/github-code
ac3da1ef2cd6db5d35998baac61b63d96cec61f66e21c528d5dc7b25cf1ac1d6
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01655.java
ganncamp/Benchmark
gpl-2.0
4,528
113
codeparrot/github-code
b27bf93b158789d803e1eb720fcfd22743d62bd59e2e438d0ac74646f3e342d3
import cgi from paste.urlparser import PkgResourcesParser from pylons import request from pylons.controllers.util import forward from pylons.middleware import error_document_template from webhelpers.html.builder import literal from pyroscope.lib.base import BaseController class ErrorController(BaseController): ...
Python
pyroscope/pyroscope/controllers/error.py
Rudde/pyroscope
gpl-2.0
1,655
47
codeparrot/github-code
cea6b7f9ca36598c2eb9086e57fd81ff8ebfa14f3657acfddb3ed9bf3dd7fe01
App.Irc.Channel = (function () { function Model () { this.name = ''; this.prettyName = ''; this.log = []; this.users = []; this.server = false; this.connected = false; this.privateUser = false; this.limitLog = true; this.limitAmount = 100...
JavaScript
app/scripts/Irc/Channel.js
reddcoin-project/reddwallet
gpl-2.0
2,537
110
codeparrot/github-code
84e6483042b708ff936a22bc594f16ae21bebbcd163e3a302e7515b498a48425
window.presideTerminal = ( function( $ ){ var rpcEndpoint = buildAdminLink( "devtools.terminal" ) , prompt = "preside-terminal> " , promptStack = [] , collectedUserInput = {} , inputCollectedMethod = "" , inputCollectedParams = {} , availableCommands = { help : "Disp...
JavaScript
system/assets/js/admin/devtools/preside.terminal.js
josephpbuarao/Preside-CMS
gpl-2.0
6,343
229
codeparrot/github-code
787be91c059553303b277a537e90acfd75bfbd1b718b6c3d2a3d89ad6e68c988
# # QAPI event generator # # Copyright (c) 2014 Wenchao Xia # Copyright (c) 2015-2016 Red Hat Inc. # # Authors: # Wenchao Xia <wenchaoqemu@gmail.com> # Markus Armbruster <armbru@redhat.com> # # This work is licensed under the terms of the GNU GPL, version 2. # See the COPYING file in the top-level directory. from qa...
Python
scripts/qapi-event.py
afaerber/qemu-cpu
gpl-2.0
5,197
217
codeparrot/github-code
91e9b685fb762eebfe78f3bde74cd751038a7a938da5c50c3bb596549fa8a41d
/* * 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")...
C
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/drlvm/vm/vmcore/src/jvmti/ulist.h
skyHALud/codenameone
gpl-2.0
11,889
434
codeparrot/github-code
70db31fd4c0eaa3c77087164df303818b519a0fb526b154535b028aec877fa3a
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com> */ #include <common.h> #include <log.h> #include <malloc.h> #include <smbios.h> #include <acpi/acpi_table.h> #include <asm/sfi.h> #include <asm/mpspec.h> #include <asm/tables.h> #include <asm/coreboot_tables.h> /** * Functi...
C
arch/x86/lib/tables.c
CTSRD-CHERI/u-boot
gpl-2.0
2,514
109
codeparrot/github-code
2e5f83302f959ca3771d6a8917d1cf46f5cae75f2fa1e939659931d4e829fc55
#if defined(hpux) /* Definitions for data structures callers pass the regex library. Copyright (C) 1985 Free Software Foundation, Inc. NO WARRANTY BECAUSE THIS PROGRAM IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW. EXCEPT WHEN OTHERWISE S...
C
src/archipelago/benchmarks/espresso/regex.h
emeryberger/DieHard
gpl-2.0
12,529
270
codeparrot/github-code
34be23ab6acc43f92ce9dafa461d53f17cfa5ec158dfbdc89b09a4c92a8af992
/* drivers/input/touchscreen/ftxxxx_ts.c * * FocalTech ftxxxx TouchScreen driver. * * Copyright (c) 2014 Focaltech Ltd. * * 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 t...
C
drivers/input/touchscreen/ftxxxx_ts.c
sayeed99/kernel-FlareM
gpl-2.0
47,122
1,725
codeparrot/github-code
6671b207eb97db55cb5ee354a71e5ceb20a9b9e60fe285dc1073bf55cb44cb82
/* Pass translations to a subprocess. Copyright (C) 2001-2007 Free Software Foundation, Inc. Written by Bruno Haible <haible@clisp.cons.org>, 2001. 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 ...
C
ap/gpl/timemachine/gettext-0.17/gettext-tools/src/msgexec.c
hajuuk/R7000
gpl-2.0
10,675
406
codeparrot/github-code
665251a34c4b43b9e7758c1d76c9e078c5a8fac4bcab99ab1617c23fb9bf49bb
/* tinyproxy - A fast light-weight HTTP proxy * Copyright (C) 2000 Robert James Kaes <rjkaes@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 as published by * the Free Software Foundation; either version 2 of the...
C
src/child.c
pataquets/tinyproxy
gpl-2.0
19,006
601
codeparrot/github-code
906cdd12afc4a603eba19e987c50b03fb91b3098626d1e4d3594e3060eb142bc
/* * \brief Low-level page-fault handling * \author Norman Feske * \date 2009-10-02 */ /* * Copyright (C) 2009-2013 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU General Public License version 2. */ #ifndef _INCLUDE__BASE__IPC_PAGER_H_...
C
repos/base-nova/include/base/ipc_pager.h
mohammadhamad/mhhgen
gpl-2.0
2,716
142
codeparrot/github-code
77c800ef5f71637b81558c5843172e6f9d7fea73a85cfb0e974e7b225234250c
<?php /* Note: This file has been altered by Laborator */ $output = $el_position = $title = $width = $el_class = $sidebar_id = ''; extract(shortcode_atts(array( 'el_position' => '', 'title' => '', 'width' => '1/1', 'el_class' => '', 'sidebar_id' => '' ), $atts)); if ( $sidebar_id == '' ) return nu...
PHP
wp-content/themes/aurum/vc-shortcodes/vc_widget_sidebar.php
Sananes/ScruplesWoo
gpl-2.0
1,266
36
codeparrot/github-code
279a54d9c21079cda0ae6b6c5823786e35861b0e4deca1abdac9984a20847a7a
/* * 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/BattleGroundMgr.cpp
3raZar3/fucked
gpl-2.0
98,842
2,238
codeparrot/github-code
67c985b7bb8c09844edd4b0ff1a1182e7262d91c25feddb3e44be62f7bba2616
<?php // $Id$ /*! * Dynamic display block module template: vsdupright20p - content template * (c) Copyright Phelsa Information Technology, 2011. All rights reserved. * Version 1.1 (04-JUL-2011) * Licenced under GPL license * http://www.gnu.org/licenses/gpl.html */ /** * @file * Dynamic display block module ...
PHP
sites/all/themes/ffintern/custom/modules/views_slideshow_ddblock/views-slideshow-ddblock-main-frame--vsdupright20p.tpl.php
54interndrupal/54intern
gpl-2.0
4,125
91
codeparrot/github-code
e17684fc135b023895beeef0035f4acc55076495c206bde51875e4129abc93e7
package org.usfirst.frc.team1557.robot.autonomous; import org.usfirst.frc.team1557.robot.AutonomousPlans; import org.usfirst.frc.team1557.robot.Robot; import org.usfirst.frc.team1557.robot.commands.MecanumDriveCommand; import org.usfirst.frc.team1557.robot.commands.ToggleClampCommand; import edu.wpi.first.wpilibj.com...
Java
src/org/usfirst/frc/team1557/robot/autonomous/FancyAutoGroup.java
12-Volt-Bolt/ProjectAurum
gpl-2.0
7,178
286
codeparrot/github-code
9892a91942aa23345d15a0ee6b307f7948688bb081e817a859942046d0318e1b
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00737.java
marylinh/Benchmark
gpl-2.0
2,031
63
codeparrot/github-code
57e6d301cd15f2257f8163a5536a79c38b40e0de68de127234b68185a6aa23f3
<?php namespace AU\SubGroups; const AU_SUBGROUPS_RELATIONSHIP = 'au_subgroup_of'; const PLUGIN_ID = 'au_subgroups'; const PLUGIN_VERSION = 20150912; // include our functions require_once 'lib/events.php'; require_once 'lib/functions.php'; require_once 'lib/hooks.php'; elgg_register_event_handler('init', 'system', _...
PHP
mod/au_subgroups/start.php
pscrevs/gcconnex
gpl-2.0
4,309
103
codeparrot/github-code
bf32b6243946c6bf0502a3fee1aeb269e463c3d43401aae493615ac7ea3f59fb
/* Data dependence analysis for Graphite. Copyright (C) 2009-2014 Free Software Foundation, Inc. Contributed by Sebastian Pop <sebastian.pop@amd.com> and Konrad Trifunovic <konrad.trifunovic@inria.fr>. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of...
C
gcc/graphite-dependences.c
crystax/android-toolchain-gcc-4-9
gpl-2.0
17,810
606
codeparrot/github-code
d86e19ba2908c3572689968cb77f70805c883c7d52ffe00efaa2da20044edf15
// -*- mode: c++; coding: utf-8 -*- // Linthesia // Copyright (c) 2007 Nicholas Piegdon // Adaptation to GNU/Linux by Oscar Aceña // See COPYING for license information #include "Midi.h" #include "MidiEvent.h" #include "MidiTrack.h" #include "MidiUtil.h" #include <fstream> #include <map> #include <stdint.h> using ...
C++
src/libmidi/Midi.cpp
linthesia/linthesia
gpl-2.0
17,102
527
codeparrot/github-code
ab42b6612e63722671e1dd00223546edff11732ebbb8359ecdca9016080e9d59
// This file is part of sim4db. // Copyright (c) 2005 Brian Walenz // Author: Brian Walenz // // 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++
kmer/sim4db/sim4th.C
macmanes-lab/wgs-assembler
gpl-2.0
18,238
602
codeparrot/github-code
ce9772bcc91792631ebfb0637c62d353e706f8a1b60bedfd712a3f140905215d
class DeviseCreateUsers < ActiveRecord::Migration def change create_table(:users) do |t| ## Database authenticatable t.string :email, null: false, default: "" t.string :encrypted_password, null: false, default: "" ## Recoverable t.string :reset_password_token t....
Ruby
db/migrate/20150523172410_devise_create_users.rb
zackexplosion/angular-rails-blog
gpl-2.0
1,348
43
codeparrot/github-code
032dae3a5ba192500b8abea8851fe986840bc893c36ae83ff2cef2be3c04c905
<?php /** * Factory for handling the special page list and generating SpecialPage objects. * * 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 ...
PHP
wiki/includes/specialpage/SpecialPageFactory.php
micaelbatista/neeist_wiki
gpl-3.0
22,185
719
codeparrot/github-code
1d3ce09fa571c9f5ae3f0c478b5afa1ecdf90e9042193f808527aa8d5ceb26f2
////////////////////////////////////////////////////////////////////////////////// // // // d88b 888b d888 888888888888 // d8888b 8888b d8888 888 // d88''88b 888'8b d8'888 888 // d88' '88b 888...
C++
src/Structures/WildPokemonArea.cpp
Nekaida/AwesomeMapEditor
gpl-3.0
9,380
293
codeparrot/github-code
bd87fd435b57ea31550d0fcfc126fd6c9cc255d032dcdab299562e93e1192332
/* Copyright 2013 Dénes Derhán * * This file is part of BlockPhysics. * * BlockPhysics 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. ...
Java
src/blockphysics/BTickListEntry.java
Killerx20/BlockPhysics
gpl-3.0
2,415
77
codeparrot/github-code
6c0de775afe1daf4b32ed871d5a78536cff227fe275d58d239c065b02d1016f8
#pragma once #include "FractoriumPch.h" /// <summary> /// EmberTreeWidgetItem /// </summary> /// <summary> /// A thin derivation of QTreeWidgetItem for a tree of embers in an open file. /// The tree is intended to contain one open ember file at a time. /// This is a non-templated base for casting purposes. /// </sum...
C
Source/Fractorium/EmberTreeWidgetItem.h
axesider/fractorium
gpl-3.0
3,912
121
codeparrot/github-code
e54956814ecf7b789d055738b00540941d7fa40974d71af6e9d7f7b64d0e7d49
<?php /** * This file is part of OXID eShop Community Edition. * * OXID eShop Community Edition 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 yo...
PHP
application/controllers/admin/theme_config.php
jadzgauskas/oxidce
gpl-3.0
3,960
119
codeparrot/github-code
40d9cc2263401825731c1b1f28c9d03b8756c7c3557f4bd4e5308b8dd06154ff
<?php class import { public $file; public $debug; public $pattern_find; public $pattern_replace; public function getFile() { $json = file_get_contents($this->file, true); return $json; } public function replace($string) { /* if(is_array($this->pattern_find)) { $string_r...
PHP
sys/include/class/import.php
CalhounGaming/simpleinvoices
gpl-3.0
963
46
codeparrot/github-code
3a4c81950c73bb4448ff6b1c1b8bf0cfb125bbb51afbe2f3431500d578d484ca
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>oauth2client.locked_file.LockedFile</title> <link rel="stylesheet" href="epydoc.css" type="...
HTML
y/google-cloud-sdk/platform/gsutil/third_party/oauth2client/docs/epy/oauth2client.locked_file.LockedFile-class.html
harshilasu/GraphicMelon
gpl-3.0
15,456
385
codeparrot/github-code
60c516126afe0f33bdf7ae01dc8ba254e927aa42ef56db02f5343bba1968c21e
/* * IRC - Internet Relay Chat, ircd/m_who.c * Copyright (C) 1990 Jarkko Oikarinen and * University of Oulu, Computing Center * * See file AUTHORS in IRC package for additional names of * the programmers. * * This program is free software; you can redistribute it and/or modify * it under the...
C
ircd/m_who.c
macressler/nefarious
gpl-3.0
15,515
451
codeparrot/github-code
d109bc2495b32b9e87c67f4d4178868725caacb798c2f27a7a7c24ac7f3b41f6
/* ldb database library Copyright (C) Simo Sorce 2005 ** NOTE! The following LGPL license applies to the ldb ** library. This does NOT imply that all of Samba is released ** under the LGPL This library is free software; you can redistribute it and/or modify it under the terms of the GN...
C
source4/utils/oLschema2ldif.c
opinkerfi/winexe
gpl-3.0
12,991
648
codeparrot/github-code
909c8fa6f0286cced5012adbfa00ae833af57ea9fcc8c115689bb1d23d1ba8f9
package Iota::Controller::API::Indicator::Variable; use Moose; use JSON qw(encode_json); use Iota::IndicatorFormula; use JSON::XS; use Encode qw(encode); BEGIN { extends 'Catalyst::Controller::REST' } __PACKAGE__->config( default => 'application/json' ); sub base : Chained('/api/indicator/object') : PathPart('varia...
Perl
lib/Iota/Controller/API/Indicator/Variable.pm
Mibt-UnB/iota
gpl-3.0
32,070
922
codeparrot/github-code
84f553e6497b4b98a102666291d99d245e3448b8d083513562e3b4e4b39c9afd
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\...
C++
src/lagrangian/parcel/submodels/Spray/StochasticCollision/TrajectoryCollision/TrajectoryCollision.H
OpenFOAM/OpenFOAM-dev
gpl-3.0
3,630
129
codeparrot/github-code
4952d8dcacd13d46c002e6ab8876d4662d7aa30f349090a55ad6f21c07491fa6
/* * Copyright (C) 2005-2012 MaNGOS <http://www.getmangos.com/> * Copyright (C) 2008-2012 Trinity <http://www.trinitycore.org/> * Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2011-2012 Darkpeninsula Project <http://www.darkpeninsula.eu/> * * This program is free softwar...
C++
src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp
Drethek/Darkpeninsula-Cata-Old
gpl-3.0
21,661
675
codeparrot/github-code
c7a12a377e0dc4aaf65bd7f5a2c4c65ccabeab68217be1b549821d16ca585705
/* Copyright Massachusetts Institute of Technology 1985 */ #include "copyright.h" /* * XMenu: MIT Project Athena, X Window system menu package * * XMenuAddSelection - Adds a selection to an XMenu object. * * Author: Tony Della Fera, DEC * August, 1985 * */ #include <config.h> #include "XMenuInt.h"...
C
oldXMenu/AddSel.c
zakki/emacs
gpl-3.0
2,541
109
codeparrot/github-code
d0d8e308d11db90f382b8f6dfcf33443052e84ad7d6e07e734d0165c18048b7a
<?php /* * by phithon * From http://www.leavesongs.com * detail: http://cxsecurity.com/issue/WLB-2009110068 */ header('content-type: text/plain'); error_reporting(-1); ini_set('display_errors', TRUE); printf("open_basedir: %s\nphp_version: %s\n", ini_get('open_basedir'), phpversion()); printf("disable_functions: %s\n",...
PHP
Web/信息收集/权限攻防/webshell/php/漏洞利用/open_basedir/列目录phithon.php
hackersql/sq1map
gpl-3.0
3,001
111
codeparrot/github-code
a274366a5ae0e3b01601cef16a67bc39fdc785dfad8f8b1b90ffacbb4fbe0616
using System; namespace kino.Rendezvous { public partial class Rendezvous { private IDependencyResolver resolver; public Rendezvous() : this(null) { } public Rendezvous(IDependencyResolver resolver) => this.resolver = resolver; public...
C#
src/kino.Rendezvous/Rendezvous.cs
iiwaasnet/kino
gpl-3.0
807
35
codeparrot/github-code
9cc781c693f83f3b49b1a30f464ab54263acf3dcf74726935e4d41c118fb35ec
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>TODO</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.77.1"> <link rel="home" href="../../index.html" title="Chapter&#160;1...
HTML
thirdparty/sources/boost_1_60_0/libs/multiprecision/doc/html/boost_multiprecision/map/todo.html
gwq5210/litlib
gpl-3.0
11,526
230
codeparrot/github-code
189be1ddc92207cd6ba26b0017aac9cc565c8790390a9d0a655dace358266370
-- Contains all common weaponskill calculations including but not limited to: -- fSTR -- Alpha -- Ratio -> cRatio -- min/max cRatio -- applications of fTP -- applications of critical hits ('Critical hit rate varies with TP.') -- applications of accuracy mods ('Accuracy varies with TP.') -- applications of damage mods (...
Lua
scripts/globals/weaponskills.lua
HeavensSword/darkstar
gpl-3.0
42,746
1,173
codeparrot/github-code
cbebacab629019b72cfe97dffac269dd1db25bf0f82c90adf547dadedd959a51
-- Samizdat Database Triggers - PostgreSQL -- -- Copyright (c) 2002-2011 Dmitry Borodaenko <angdraug@debian.org> -- -- This program is free software. -- You can distribute/modify this program under the terms of -- the GNU General Public License version 3 or later. -- CREATE FUNCTION insert_resource() RETURNS ...
SQL
doc/examples/samizdat-triggers-pgsql.sql
angdraug/graffiti
gpl-3.0
9,891
267
codeparrot/github-code
8e55332ca724a692ba74b0bb5fe6e1505ed6fd3a55b40464ce67f04801130870
/* * OptionsView.h * * Created on: Apr 14, 2012 * Author: Simon */ #ifndef OPTIONSVIEW_H_ #define OPTIONSVIEW_H_ #include "interface/Window.h" #include "OptionsController.h" #include "interface/Checkbox.h" #include "interface/DropDown.h" #include "OptionsModel.h" class OptionsModel; class OptionsControlle...
C
src/options/OptionsView.h
jacksonmj/Powder-Toy-Mods
gpl-3.0
916
41
codeparrot/github-code
bd21bef5ee4f6896e8810ac93b5062211e02797e0d423e2eade058d684468214
namespace Allors.Repository { using System; using Attributes; #region Allors [Id("1a5195d6-8fff-4590-afe1-3f50c4fa0c67")] #endregion public partial class ReceiptAccountingTransaction : ExternalAccountingTransaction { #region inherited properties public Party FromParty { ge...
C#
Domains/Apps/Repository/Domain/Export/Apps/ReceiptAccountingTransaction.cs
Allors/apps
gpl-3.0
1,493
65
codeparrot/github-code
34c6d833dfe24fa0077ecbd7a97556f2315c8cc401c36516decb7ea9cb9cfa19
/*==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/Plasma/FeatureLib/pfCrashHandler/plCrashCli.cpp
cwalther/Plasma-nobink-test
gpl-3.0
4,905
141
codeparrot/github-code
228a9a92a1a478016e507b404a6f1a4ed7fce8aa3c3ffa6d3bf5fddcd466c26b
----------------------------------- -- Area: Ranguemont Pass (166) -- Mob: Wind_Bats ----------------------------------- -- require("scripts/zones/Ranguemont_Pass/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; -------------...
Lua
scripts/zones/Ranguemont_Pass/mobs/Wind_Bats.lua
salamader/ffxi-a
gpl-3.0
808
43
codeparrot/github-code
3454a63222d0c62f2ae3920d35029ad8bf0bb4711a6310709789f949e8cfd366
<!DOCTYPE html> <html lang="en"> <head> <!-- Basic Page Needs ================================================== --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Font Awesome, the iconic font and CSS framework"> <meta name="...
HTML
fontawesome/icon/meh-o/index.html
rafaelgou/the-phpjs-local-docs-collection
gpl-3.0
11,140
237
codeparrot/github-code
039bdf9814689aca4446a8215f6b304715c794ef238c7c166532034443520ca5
#include "dialogstammwuerze.h" #include "ui_dialogstammwuerze.h" #include <QSettings> #include "definitionen.h" #include "berechnungen.h" DialogStammwuerze::DialogStammwuerze(double value, double sw, double temp, QWidget *parent) : QDialog(parent), ui(new Ui::DialogStammwuerze) { ui->setupUi(this); Les...
C++
source/src/dialogstammwuerze.cpp
Gremmel/kleiner-brauhelfer
gpl-3.0
6,319
186
codeparrot/github-code
023e2752e703998bf6e3fd091119422fc7032f235fc6ce3265ef05acb8d9acd6
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> 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 ]]-- local uc...
Lua
feeds/luci/applications/luci-wol/luasrc/model/cbi/wol.lua
ETegro/OpenSAN
gpl-3.0
3,167
130
codeparrot/github-code
99e55ee1531ae63c3b04e8f03539af1b4213b8ceee110f57c649b290b7a17202
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\/ M anipulation | ---------------...
C++
applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/radialModel/CarnahanStarling/CarnahanStarlingRadial.H
OpenCFD/OpenFOAM-1.7.x
gpl-3.0
2,581
95
codeparrot/github-code
bbb8dc0b702049687b10a3a04a8c45f42f86314b7edefd00c5841d2a71f5a5bb
/* Copyright 2009-2014 Guillaume Boudreau This file is part of Greyhole. It was created based on vfs_extd_audit.c, by Tim Potter, Alexander Bokovoy, John H Terpstra & Stefan (metze) Metzmacher. Greyhole is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Li...
C
samba-module/vfs_greyhole-samba-3.5.c
Sparticuz/Greyhole
gpl-3.0
10,376
352
codeparrot/github-code
cebb754966c572d8c2fb63ccc902dc0f6ca0f762e14cbd72a79af00bc2953fac
package alexiil.mods.lib.gui; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.GuiButton; import net.minecraft.clien...
Java
src/main/java/alexiil/mods/lib/gui/BaseConfig.java
AlexIIL/AlexIILLib
gpl-3.0
5,833
156
codeparrot/github-code
1545d7f87f2bea0d43064046863df519d14ae9347ba1ba3f8995dc2b3c608cc4
----------------------------------- -- -- Zone: Port_Windurst (240) -- ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/globals/server"); require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/TextIDs"); -------------------...
Lua
scripts/zones/Port_Windurst/Zone.lua
Fatalerror66/ffxi-a
gpl-3.0
2,120
82
codeparrot/github-code
a21c936e2fc2117ede3034ce015e919648af93a4232c2c857642ff7040fad844
/* 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"); you may not...
C
spievatko/espievatko/prtbl/srv/httpd-2.4.9/modules/ssl/ssl_util_ocsp.c
tukusejssirs/eSpievatko
gpl-3.0
10,569
320
codeparrot/github-code
43ace8fcf5b4c9e367840341fdabeb6ce4996c9e9c780dd49db06c1fe555642f
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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. * * ...
Java
src/com/watabou/mofoodpd/items/keys/GoldenKey.java
sloanr333/opd-mofood
gpl-3.0
1,180
45
codeparrot/github-code
8c2786bc2ef58b88224a1ab80f2b2734b2aecb10e0166ea683b8fcbef1eae076
/** * @file MediaElement Playlist Feature (plugin). * @author Andrew Berezovsky <andrew.berezovsky@gmail.com> * Twitter handle: duozersk * @author Original author: Junaid Qadir Baloch <shekhanzai.baloch@gmail.com> * Twitter handle: jeykeu * Dual licensed under the MIT or GPL Version 2 licenses. * forked from htt...
JavaScript
plugins/lecteur_multimedia/players/mejs/mejs-feature-playlist.js
RadioCanut/site-radiocanut
gpl-3.0
10,672
296
codeparrot/github-code
915be69e4b672c3343cbd558595d76740ff8f2607e2cd21aa9be5ca578daabfe
/* * * Copyright (C) 2011-2012 ArkCORE2 <http://www.arkania.net/> * Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/> * * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * * This program is free software; you can ...
C++
src/server/game/Battlegrounds/Battleground.cpp
SOWRON/SC
gpl-3.0
76,706
1,963
codeparrot/github-code
85c01477c507311b7969fdc3e0b32bce7f03c92937ed29e1a0b8ce4b0e5d309a
/* Unix SMB/CIFS mplementation. wrap/unwrap NDR encoded elements for ldap calls Copyright (C) Andrew Tridgell 2005 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 ...
C
libcli/ldap/ldap_ndr.c
endisd/samba
gpl-3.0
2,496
96
codeparrot/github-code
b4e9364c67ce371ee755f19c726e44d1ab39bd27bb8dde10499ae3e21058e449
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Web.Http; using ACE.Api.Common; using ACE.Api.Models; using ACE.Entity; using ACE.Entity.Enum.Properties; using Swashbuckle.Swagger.Annotations; nam...
C#
Source/ACE.Api/Controllers/PropertyController.cs
fantoms/ACE
gpl-3.0
6,111
144
codeparrot/github-code
7fd8dc4d0d6f6d69fd5ec001328535f5f8ab1231280c0bfeca6f01080e4593f9
<div id="countdown" style="visibility:hidden" class="col-md-2 hidden-sm hidden-xs"> <div>Faltam</div> <input class="knob days" data-displayfield="days" data-field="hours" data-min="0" data-max="24" data-fgcolor="#ee2c72"/> <div>dias</div> <input class="knob hours" data-displayfield="hours" data-field="m...
PHP
src/wp-content/themes/viradacultural/parts/countdown.php
marcoseliasb/viradacultural
gpl-3.0
5,053
128
codeparrot/github-code
d280a3ef65378b46dbe5f16f442e643afc7743d649f2e4739774f9f123f9090b
/******************************************************************************* * Copyright (c) 2011 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 L...
Java
interface-bloodpressure-vsm-bptru/src/main/java/org/obiba/vsm/bptru/bpm/state/MeasuringState.java
obiba/onyx-instruments
gpl-3.0
3,658
132
codeparrot/github-code
fea21b81b151ed69324b600a250e1d098ad0edefed4e8a51bf0836d7e1a707d4
# -*- coding: utf-8 -*- # # Copyright © 2012 The Spyder development team # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) import optparse def get_options(): """ Convert options into commands return commands, message """ parser = optparse.OptionParser(usage="s...
Python
ProgramData/SystemFiles/Python/Lib/site-packages/spyderlib/cli_options.py
kenshay/ImageScript
gpl-3.0
2,216
44
codeparrot/github-code
4c05caf2451c839c0161ab848e404fce23db5eb2cf001200c8744a5184da1210
/*global $:false*/ define([ "manager", "constants", "lang", "generator" ], function(manager, C, L, generator) { "use strict"; var MODULE_ID = "data-type-Names"; var LANG = L.dataTypePlugins.Names; var _init = function() { var subscriptions = {}; subscriptions[C.EVENT.DATA_TABLE.ROW.EXAMPLE_CHANGE + "__" ...
JavaScript
plugins/dataTypes/Names/Names.js
thu-nguyen/generatedata
gpl-3.0
2,684
90
codeparrot/github-code
e72e04a58731b2ddccab511303e10e3f9c3188ec8f1ffad2acc5d46959fffc92
/** * Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr) * This file is part of CSipSimple. * * CSipSimple 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...
Java
phone/src/com/voiceblue/phone/utils/backup/BackupWrapper.java
ther12k/android-client
gpl-3.0
1,956
58
codeparrot/github-code
6352ff235494ffb315de1798b03012ee04d60dccd30b0f36958e533d13732649
----------------------------------- -- Area: Crawlers' Nest (S) (171) -- Mob: Wespe ----------------------------------- -- require("scripts/zones/Crawlers_Nest_[S]/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ------------...
Lua
scripts/zones/Crawlers_Nest_[S]/mobs/Wespe.lua
salamader/ffxi-a
gpl-3.0
809
43
codeparrot/github-code
c7ec697bba6c18d946653198214e8c0d788cba0ad5618e458ae635ed5fcf0f3a
package Koha::REST::V1::Patrons::Account; # This file is part of Koha. # # Koha 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. # # Ko...
Perl
Koha/REST/V1/Patrons/Account.pm
KohaAloha/Koha-Dev
gpl-3.0
4,496
158
codeparrot/github-code
ee5d7a30b3580d46e12836532ef801721987c4c0beb2b280ddb30f5e85a29ec4
import React, {Component} from 'react' import {Image, View, PanResponder, Animated, Easing} from 'react-native' import {SectionTemplate} from '../components/SectionTemplate' import {ResponsiveStyleSheet} from 'react-native-responsive-stylesheet' import {resource} from '../utils/image' const bottleSource = resource('im...
JavaScript
src/screens/Bottle.js
madox2/fortune-app
gpl-3.0
3,809
134
codeparrot/github-code
e18a75a5c9cfa1551172782c9fcae1087e4e36c5c160c3255275dde1cbb67389
/* * Copyright (c) 2021 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
opal-reporting/src/main/java/org/obiba/opal/web/reporting/ReportResource.java
kazoompa/opal
gpl-3.0
2,463
67
codeparrot/github-code
a8562509ba775424f3d8b51571367d2660f23bb45645917a841349c688aeac2a
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.ClearCanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the terms of the G...
C#
ImageServer/Rules/JpegCodec/JpegLosslessAction/JpegLosslessActionOperator.cs
mayioit/MacroMedicalSystem
gpl-3.0
4,003
108
codeparrot/github-code
eb584fdd44791253370136cb105e7e0357b005b70ad4300a09bab613100a48d2
/** \file * \brief GTK IupMessageDlg pre-defined dialog * * See Copyright Notice in "iup.h" */ #include <gtk/gtk.h> #include "iup.h" #include "iup_object.h" #include "iup_attrib.h" #include "iup_str.h" #include "iup_dialog.h" #include "iupgtk_drv.h" /* Sometimes GTK decides to invert the buttons position becau...
C
external/iup/src/gtk/iupgtk_messagedlg.c
xuminic/ezthumb
gpl-3.0
5,083
178
codeparrot/github-code
308ea49a67a2114b96d37d1c204398adad090e9ca80e1085bba44c125ecc894e
#include "kovan/thread.h" #include "kovan/thread.hpp" class FunctionThread : public Thread { public: FunctionThread(thread_function func) : m_func(func) { } void run() { (*m_func)(); } private: thread_function m_func; }; Mutex *mutexObject(void *data) { return reinterpret_cast<Mutex *>(data); } Funct...
C++
src/thread_c.cpp
bmcdorman/training_repo
gpl-3.0
1,244
88
codeparrot/github-code
85266f40aabe2b4c1aa1faf6447a867986ebc839355097e84ddf2a1f2a50b108
#include <alloca.h> #include "kdtree.h" typedef struct TraverseData { KDAttr * attr; uint64_t* count; double * weight; double * min; double * max; int attr_ndims; int node_ndims; uint64_t brute_force; uint64_t node_node; } TraverseData; static void kd_integrate_check(TraverseData *...
C
kdcount/kd_integrate.c
rainwoodman/kdcount
gpl-3.0
3,405
142
codeparrot/github-code
15a1b453a12494dc29913e2c902f1851cef6a3a27a8ff26e3044875778c10918
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | --------...
C++
src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCellToFaceStencil.C
CONSELF/conselfcae-dev
gpl-3.0
3,766
127
codeparrot/github-code
187399d139ee4b8c7ab1bedc13aa393a30713663adddf536d0157c025018a3c9
import { Injectable } from '@angular/core'; import { Store } from '@ngrx/store'; import { type } from '../../utils'; import { createAction } from '../create-action'; import { AppState } from '../../models'; @Injectable() export class CustomFieldsActions { static FETCH = type('[CustomFields] Fetch'); static FETCH...
TypeScript
src/store/custom-fields/custom-fields.actions.ts
emmanuelroussel/stockpile-app
gpl-3.0
1,485
47
codeparrot/github-code
94c2566e2830352f02628143fecf5984e0758d99391e571188e87e8552039a96
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the terms of the G...
C#
Ris/Client/View/WinForms/ExternalPractitionerReplaceDisabledContactPointsComponentControl.cs
mayioit/MacroMedicalSystem
gpl-3.0
2,277
61
codeparrot/github-code
f0aeeab03e253ab79b1f6910d07ab5bbf2847b5e9da18e09099927f15930c834
//////////////////////////////////////////////////////////////////////////////////////////////////// // PlotSquared - A plot manager and world generator for the Bukkit API / // Copyright (c) 2014 IntellectualSites/IntellectualCrafters / // ...
Java
src/main/java/com/intellectualcrafters/plot/commands/Claim.java
Mayomi/PlotSquared-Chinese
gpl-3.0
6,626
124
codeparrot/github-code
d52455cf42843371b45f15c19fca2e6370d335eee1c02bac180cfeafb73bff2c
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2016 ShareX 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 ...
C#
ShareX.HelpersLib/Native/FolderSelectDialog.cs
Phoenix616/ShareX
gpl-3.0
13,029
383
codeparrot/github-code