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
b593238bd14d617de649ef9885fba3f146777fcbce9bd9ecc954296ce91f3ba0
/************************************************************************ Copyright (C) Alain Di Chiappari 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 (a...
C
phase2/src/scheduler.c
alainrk/AmiKaya11
gpl-2.0
4,519
132
codeparrot/github-code
9b0dc2f70d29544b4c8598004a6f903af9f029b4168bfb59c38f993cce7acc2f
using iPem.Core; using iPem.Core.Caching; using iPem.Core.Domain.Sc; using iPem.Core.Enum; using iPem.Data.Repository.Sc; using iPem.Services.Common; using System; using System.Collections.Generic; using System.Linq; namespace iPem.Services.Sc { public partial class RoleService : IRoleService { ...
C#
iPem.Services/Sc/Class/RoleService.cs
Delta-SH/iPemSystem
gpl-2.0
3,266
109
codeparrot/github-code
055caecb72b5b1628a1c527aa322bc7a59a42bb373038f849eb5d1e0fca5afa4
<?php /** * @version $Id$ * @package Koowa_Template * @subpackage Helper * @copyright Copyright (C) 2007 - 2012 Johan Janssens. All rights reserved. * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link http://www.nooku.org */ /** * Template Helper Class * * @author Johan Janssens <joh...
PHP
libraries/koowa/template/helper/abstract.php
dwarkeshsoni/jsn_time_free_j3x
gpl-2.0
1,898
75
codeparrot/github-code
2811bd2566db0bf887399319133ef0315dd7795de5d9c2a6c15c77ae52f769a4
/* * QEMU PC System Emulator * * Copyright (c) 2003-2004 Fabrice Bellard * * 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 ...
C
hw/pc.c
MatzeB/qemu-fixes
gpl-2.0
34,285
1,211
codeparrot/github-code
d543a7b6cc8a63cac18124a531deee5d774d83242fe5d16113e59e2aaec19ced
/** * Plugin to add header resizing functionality to a HeaderContainer. * Always resizing header to the left of the splitter you are resizing. */ Ext.define('Ext.grid.plugin.HeaderResizer', { extend: 'Ext.plugin.Abstract', requires: [ 'Ext.dd.DragTracker', 'Ext.util.Region' ], alias: ...
JavaScript
ext/classic/classic/src/grid/plugin/HeaderResizer.js
AlexeyPopovUA/Learning-ExtJS-6-Classes
gpl-2.0
13,965
379
codeparrot/github-code
0098f647e03f69a1005ed03654cf6fb7a2db785271f5449433216ba5d4599778
package org.tzi.use.uml.ocl.type; import java.util.Set; public class VoidType extends Type { public Set<Type> allSupertypes() { throw new UnsupportedOperationException("Call to allSupertypes is invalid on OclVoid"); } public boolean equals(Object obj) { return obj instanceof VoidType; } public int hashCod...
Java
src/main/org/tzi/use/uml/ocl/type/VoidType.java
vnu-dse/rtl
gpl-2.0
1,632
116
codeparrot/github-code
23771f58ef62070be7206f73cdf5fecdd60d8958e322deac04d23e56175fd08c
package de.superioz.moo.api.logging; import java.io.PrintWriter; import java.io.StringWriter; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.logging.Formatter; import java.util.logging.LogRecord; /** * This is just a simple formatter for a logger */ public class ConciseFormatter ex...
Java
api/src/main/java/de/superioz/moo/api/logging/ConciseFormatter.java
Superioz/MooProject
gpl-2.0
1,332
44
codeparrot/github-code
0de938173e0cad09b3ea2480225c677c69e78ac6387247aab631cce93e5d2c4b
<?php include_once('include/database.php'); date_default_timezone_set(TIMEZONE); class Site { var $database; var $num_active_users; //Number of active users viewing site var $num_active_guests; //Number of active guests viewing site var $num_members; //Number of signed-up users var $num_trees; ...
PHP
giminestinklapis/site.php
monipupi/-genealogy-site-karta
gpl-2.0
4,040
136
codeparrot/github-code
ad9f8608fa7fddc6d90bee41932a05c6505074b18ec842dace056dcca540ebea
/*************************************************************************** cmapview.cpp ------------------- begin : Mon Mar 19 2001 copyright : (C) 2001 by Kmud Developer Team (C) 2007 Tomas Mecir ...
C++
plugins/mapper/cmapview.cpp
KDE/kmuddy
gpl-2.0
26,945
857
codeparrot/github-code
8de93dc9850d7bc823b901b8519e3d5b09be675dd19c31adf76077445c87d7e9
<?php $unconditional_srvc1_icon = esc_html(get_theme_mod( 'unconditional_service1_icon' )); ?> <?php $unconditional_srvc2_icon = esc_html(get_theme_mod( 'unconditional_service2_icon' )); ?> <?php $unconditional_srvc3_icon = esc_html(get_theme_mod( 'unconditional_service3_icon' )); ?> <?php $unconditional_srvc1_ur...
PHP
advan/wp-content/themes/unconditional/parts/boxes.php
Ipstenu/dreamsiege-wp
gpl-2.0
6,603
137
codeparrot/github-code
adf09ea08e1cce9978240cede36b57c809db5a2b04f802292e2baf4baf763693
/* horst - Highly Optimized Radio Scanning Tool * * Copyright (C) 2005-2014 Bruno Randolf (br1@einfach.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the Lic...
C
package/link4all/doit/src/display-channel.c
link4all/20170920openwrt
gpl-2.0
2,446
106
codeparrot/github-code
78b5b1a49104e005f08ca4fca26b9b4832a6925e38e11ffc93dab6aad3bd77da
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using PIXTools; namespace RacingGame.Graphics { class BloomPostProcess : PostProcessEffect { GraphicsDevice device = GraphicsManager.getDevice(); Effect bloom; EffectTechnique tech; EffectPass passGlare; ...
C#
Graphics/Effect/BloomPostProcess.cs
davidsundelius/SLERP3D
gpl-2.0
7,195
202
codeparrot/github-code
78db89ae7cd77508127eead43f1b57f254513f2ba46974cb50ea7c586aba11c7
/* Publish module for wikiEditor */ ( function ( $ ) { $.wikiEditor.modules.publish = { /** * Compatability map */ browsers: { // Left-to-right languages ltr: { msie: [['>=', 7]], firefox: [['>=', 3]], opera: [['>=', 9.6]], safari: [['>=', 4]] }, // Right-to-left languages rtl: { ms...
JavaScript
extensions/WikiEditor/modules/jquery.wikiEditor.publish.js
libis/schatkamer-mediawiki
gpl-2.0
5,169
155
codeparrot/github-code
18e9a9a66e28b3d6186881a453fa1c44784e336650dc261453792e625fdd0287
/*********************************************************************************** * * * Voreen - The Volume Rendering Engine * * ...
C++
modules/base/processors/image/quadview.cpp
bilgili/Voreen
gpl-2.0
20,440
545
codeparrot/github-code
da43adec908e60f9e1acb4d372322ce56653307bae5833db38aa4bb126bb0770
package com.dental.provider; import com.dental.persistence.entity.User; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import java.util.Collection; /** * Created by admin on 27.05.2015. */ public class DentalUserDetails implements UserDe...
Java
web/src/main/java/com/dental/provider/DentalUserDetails.java
light88/dental-spring
gpl-2.0
1,589
69
codeparrot/github-code
bd7b4576a5f09b094cd35b4f2149b2ca364ccef2ec3726bc29cf072b4e919645
/* This file is part of Pazpar2. Copyright (C) 2006-2013 Index Data Pazpar2 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. Pazpar2 is distributed in t...
C
src/pazpar2_config.h
piskvorky/pazpar2
gpl-2.0
5,942
194
codeparrot/github-code
b37f26568525d6ecd4011c4676e190581fdf8bdc534cb5f20971106683b79e5a
/* Copyright (C) 2000 drscholl@users.sourceforge.net This is free software distributed under the terms of the GNU Public License. See the file COPYING for details. $Id$ */ #include <stdio.h> #include <time.h> #include <string.h> #include <stdlib.h> #include "opennap.h" #include "debug.h" /* this is nasty ...
C
whois.c
scassiba/opennap
gpl-2.0
3,577
129
codeparrot/github-code
b18e70e099fac12dd0ba632ef708be11f0cfb50937abc2f414c98cc5f2c29e40
/* global kirkiL10n */ var kirki = kirki || {}; kirki = jQuery.extend( kirki, { /** * An object containing definitions for input fields. * * @since 3.0.16 */ input: { /** * Radio input fields. * * @since 3.0.17 */ radio: { /** * Init the control. * * @since 3.0.17 * @para...
JavaScript
controls/js/src/kirki.input.js
reduxframework/kirki
gpl-2.0
11,614
404
codeparrot/github-code
241071976aa58a345062224b2a51596436bc2bd19eda00e611e56b7769cb6b9d
#include "stdafx.h" #include "cellGem.h" #include "cellCamera.h" #include "Emu/Cell/PPUModule.h" #include "Emu/Io/MouseHandler.h" #include "Emu/RSX/GSRender.h" #include "Utilities/Timer.h" #include "Input/pad_thread.h" LOG_CHANNEL(cellGem); template <> void fmt_class_string<CellGemError>::format(std::string& out, u...
C++
rpcs3/Emu/Cell/Modules/cellGem.cpp
mpm11011/rpcs3
gpl-2.0
32,385
1,343
codeparrot/github-code
caaca1f7e7cd39b9907bac9e152dbb7b02a839f8fe5894f2b3fc77ead98bc65b
/* mtr -- a network diagnostic tool Copyright (C) 1997,1998 Matt Kimball 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...
C
report.c
simonswine/mtr
gpl-2.0
7,847
317
codeparrot/github-code
1e01e54374ed5ac53255d553aa13342023a6899b79deb2995980aab8d796112c
<?php // namespace administrator\components\com_jmap\views\cpanel; /** * @package JMAP::CPANEL::administrator::components::com_jmap * @subpackage views * @subpackage cpanel * @author Joomla! Extensions Store * @copyright (C) 2014 - Joomla! Extensions Store * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0....
PHP
administrator/components/com_jmap/views/cpanel/view.html.php
neoandrew1000/crao_journal
gpl-2.0
11,282
227
codeparrot/github-code
1658365b1e35e586c8846d00a385f0c05dd34db2a5a01830ccc73fd8645b4640
/** * $Id$ * <p> * Title: tn5250J * Copyright: Copyright (c) 2001,2009 * Company: * * @author: master_jaf * <p> * Description: * Tab component for displaying title text and icons. * <p> * <p> * This program is free software; you can redistribute it and/or modify * it under the terms of the...
Java
src/org/tn5250j/gui/ButtonTabComponent.java
tn5250j/tn5250j
gpl-2.0
11,125
322
codeparrot/github-code
a245532d8f92964523c29104e8a34f4cf1143b493fe11f03b3dfa8cac6581030
/* * Copyright (C) 2012 OpenSIPS Solutions * * This file is part of opensips, a free SIP server. * * opensips is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at y...
C
menuconfig/commands.c
chiforbogdan/opensips
gpl-2.0
12,066
464
codeparrot/github-code
a0b2d3d784c2a455d5d06d5cf04fcb7b2b4090468710b3dc7dedbe649490b367
/* * Copyright (C) 2006 The Android Open Source Project * Copyright (C) 2012 YIXIA.COM * Copyright (C) 2013 Zhang Rui <bbcallen@gmail.com> * 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...
Java
android/ijkmediawidget/src/tv/danmaku/ijk/media/widget/VideoView.java
jgfntu/ijkplayer
gpl-2.0
25,159
680
codeparrot/github-code
29b735002a5b24ed9b15e4318411fb0cfe218454f79aca781c260a4114441e19
<?php defined('JPATH_PLATFORM') or die; class CAdminactivity { public static function getTitle($activities) { foreach($activities as $key=>$activity) { $param = new CParameter($activity->params); switch ($activity->app) { case 'users.featured': $user = CFactory::getUser($param->get('...
PHP
administrator/components/com_community/libraries/cadminactivity.php
rodrigonegretep/trdv
gpl-2.0
19,590
434
codeparrot/github-code
c6b298fc5baa70f81d216519c87a8e1fc1c62afe840be526ae099abf362f16b8
/* $begin csapp.h */ #ifndef __CSAPP_H__ #define __CSAPP_H__ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <ctype.h> #include <setjmp.h> #include <signal.h> #include <sys/time.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> #include <fcntl.h> #include <sy...
C
src/csapp.h
Tadimsky/Web-Proxy
gpl-2.0
5,361
158
codeparrot/github-code
cab46e5d96cef9833641b034cc61e4e37864753337c68099b417a15cede9e597
/*************************************************************************** * Copyright (C) 2011-2012 by Virginia Tech Real-Time Systems Lab * * * * Author(s): * * - A...
Java
libjchronos/source/java/edu/vt/realtime/ChronosUtil.java
longqzh/chronOS_test
gpl-2.0
3,005
68
codeparrot/github-code
e23906236e8cb732517f6cbc4e008061eedc3e25bf0e7440324dc3361ae4b04f
-- vim:set sw=4 ts=4: -- -- This Lua script reads texture data from a .bmp file. -- NOTE: only partial .bmp support is provided (enough for loading -- Forsaken texture data). -- -- Copyright (C) 2009 Pim Goossens -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of ...
Lua
level/bmp.lua
ForsakenX/6dof
gpl-2.0
2,616
90
codeparrot/github-code
2191f1c956d80c62a1f6f297b32e098d064da37e115f5a1fb0dbc5291ba405de
<div class="announce instapaper_body md" data-path="README.md" id="readme"><article class="markdown-body entry-content" itemprop="mainContentOfPage"><h1> <a name="user-content-doctrine2-behavioral-extensions" class="anchor" href="#doctrine2-behavioral-extensions" aria-hidden="true"><span class="octicon octicon-link"></...
HTML
readme_files/php/115-readme.html
lalo/readme-fads
gpl-2.0
9,363
163
codeparrot/github-code
bdaae021f6a4970dff657f748dfff113dbf4106467071a4ff0c617dcb9eb43f4
/* * GPAC - Multimedia Framework C SDK * * Copyright (c) Jean Le Feuvre 2000-2005 * All rights reserved * * This file is part of GPAC / MPEG-4 ObjectDescriptor sub-project * * GPAC is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License ...
C
GPAC/odf_dump.c
upyzl/direct264umod
gpl-2.0
67,844
1,941
codeparrot/github-code
3ecf14f23a0c84b82beb2ce8b084dbf8862720a9dc3bcc8e7116ca3b0832bb2a
/* * palmtc-gpio.h * * Authors: Holger Bocklet <bitz.email@gmx.net> * */ #ifndef _PALMTC_GPIO_H_ #define _PALMTC_GPIO_H_ #include <asm/arch/pxa-regs.h> /* Palm Tungsten C GPIOs */ #define GPIO_NR_PALMTC_EARPHONE_DETECT 2 #define GPIO_NR_PALMTC_CRADLE_DETECT_N 4 #define GPIO_NR_PALMTC_USB_DETECT 5 #define GP...
C
include/asm-arm/arch-pxa/palmtc-gpio.h
hackndev/linux-hnd
gpl-2.0
1,996
67
codeparrot/github-code
f260339770d6c7a4255ffdc590353099b8d0a389b75dc936e1ef7fab931e3055
/* * Player - One Hell of a Robot Server * Copyright (C) 2007 * Radu Bogdan Rusu (rusu@cs.tum.edu) * * 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...
C++
server/drivers/rfid/sickrfi341.cc
uml-robotics/player-2.1.3
gpl-2.0
6,461
252
codeparrot/github-code
f83cbac43e7abdf5b7bdd6d508d3088330ef17c666404abf8d13b5fcf249b0ed
package starrealmssimulator.cards.ships.machinecult; import starrealmssimulator.model.*; public class PatrolBot extends Ship implements AlliableCard { public PatrolBot() { name = "Patrol Bot"; faction = Faction.MACHINE_CULT; cost = 2; set = CardSet.CRISIS_FLEETS_AND_FORTRESSES;...
Java
src/starrealmssimulator/cards/ships/machinecult/PatrolBot.java
icesphere/star-realms-simulator
gpl-2.0
1,098
40
codeparrot/github-code
86edf091744959bc9272e1838a524c50c14e6684ffa1aed0108412675d49ea23
package es.javiergarciaescobedo.addressbookdroid.models; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class Persons { public static List<Person> personList = new ArrayList(); public static Map<String, Person> ITEM_MAP = new HashMap<String, Person>...
Java
app/src/main/java/es/javiergarciaescobedo/addressbookdroid/models/Persons.java
javiergarciaescobedo/AddressBookDroid
gpl-2.0
2,248
68
codeparrot/github-code
d66e8852dc4dca657602e7047f3004e6d46b290b0567493c29a2882a52b7819f
<?php /** * @file * Handles all FB integration to Authorize and to Post */ _load_facebook_sdk(); /** * API class to handle common actions when autoposting * This class uses ErrorException for error handling. Severity is * passed resusing watchdog severity (See: http://api.drupal.org/api/drupal/includes%21boots...
PHP
sites/all/modules/fb_autopost/class/FBAutopost.php
joshbg2k/shoofly-web
gpl-2.0
15,237
485
codeparrot/github-code
c062c48e9f29cf3aa50256d85130e2cb29b1ed28719db0e4c78c12b30d6dcb14
############################################################################### # # # Copyright 2019. Triad National Security, LLC. All rights reserved. # # This program was produced under U.S. Government contract 89233218CNA000001 # ...
Python
src/stonix_resources/rules/DisableGUILogon.py
CSD-Public/stonix
gpl-2.0
22,537
493
codeparrot/github-code
408a6d336bac97adbbd9d3acbf2181a7ec264b59544629355579199422b649cb
<?php /** * @package Joomla.Site * @subpackage Templates.beez3 * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access. defined('_JEXEC') or die; JLoader::import('joomla.files...
PHP
templates/geekhub/index_old.php
irina-hychka/Joomla
gpl-2.0
8,949
221
codeparrot/github-code
5670a9a390017898bb6315838578db3141e6d69abb4d65e0eeb74e523a2b555a
/* $Id: jquery.pngFix.js,v 1.1.1.5 2009/02/04 19:23:30 gibbozer Exp $ */ /** * -------------------------------------------------------------------- * jQuery-Plugin "pngFix" * Version: 1.1, 11.09.2007 * by Andreas Eberhard, andreas.eberhard@gmail.com * http://jquery.andreaseberhard.de/ * * Co...
JavaScript
sites/all/modules/contrib/colourise/js/jquery.pngFix.js
rmontero/dla_ecommerce_site
gpl-2.0
4,655
113
codeparrot/github-code
e065000c5a8ac976b58c51a741e071fd91533119b28bcfcd4a5202b4a663283f
<?php global $has_this_got_widgets; $has_this_got_widgets = 'yes'; global $childishlysimple_is_the_theme_activated; global $childishlysimple_miscellaneous_stuff; global $childishlysimple_site_details; global $childishlysimple_footer_items; ?> <div class="long-right-sidebar-background"> &nbsp; </div> <div cla...
PHP
wp-content/themes/childishlysimple/sidebar-right.php
MrGreeny/FMITutorials
gpl-2.0
20,944
705
codeparrot/github-code
ce87dc4d185efbe5853d20c81bef0460e7867303e60ac6aa6ced70be2711948e
/* * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * Universal interface for Audio Codec '97 * * For more details look to AC '97 component specification revision 2.2 * by Intel Corporation (http://developer.intel.com). * * * This program is free software; you can redistribute it and/or modify * it ...
C
sound/pci/ac97/ac97_codec.c
dl9pf/linux
gpl-2.0
95,802
2,946
codeparrot/github-code
2fdbd7ce3ff2344c0cb038adbb0baef73d20454aada0f0384acfb1f0611de583
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
C
src/libuolfone/wengophone-ng/current/libs/3rdparty/curl/lib/telnet.c
gabrieldelsaint/uol-messenger
gpl-2.0
36,730
1,404
codeparrot/github-code
185ba07a56035c18420eecdc78514d4ffe87493e26890a4a34a06ff987f64376
<?php /** * @package AdminTools * @copyright Copyright (c)2010-2015 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later */ // Protection against direct access defined('AKEEBAENGINE') or die(); /** * Add site's root to the backup set. */ class AEFilterPlatformSiteroot extends ...
PHP
administrator/components/com_admintools/akeeba/platform/jfscan/filters/siteroot.php
jug-berlin/joomla.berlin
gpl-2.0
3,113
93
codeparrot/github-code
744e69be008a5970c4853d941148e4af52e0ce9239bac4cd4917aa2581d0b526
package com.medavox.distribackup.connections; import java.io.*; import java.net.*; import com.medavox.distribackup.peers.Peer; /**Assigns new Sockets to incoming connections. The first point of contact for new connections. * Further new connection set up is handled via a callback: Peer.setupNewSocket(Socket)*/ public...
Java
src/main/java/com/medavox/distribackup/connections/Listener.java
medavox/distribackup
gpl-2.0
1,383
62
codeparrot/github-code
03319acc4cc5c3e9cbbe6679b8209bf005da897fe438724953f4bad249f11371
#include <linux/sched.h> #include <linux/stacktrace.h> #include <linux/module.h> #include <asm/stacktrace.h> static void save_raw_context_stack(struct stack_trace *trace, unsigned long reg29) { unsigned long *sp = (unsigned long *)reg29; unsigned long addr; while (!kstack_end(sp)) { addr = *sp++; if (__kerne...
C
kernel/arch/mips/kernel/stacktrace.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
1,835
78
codeparrot/github-code
7595da1f453bfa284709a22e92420556320bc2e79428c347e13ad57d4391129b
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> JsoEval (Google Web Toolkit Javadoc) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> func...
HTML
web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/gwt/core/ext/debug/JsoEval.html
JakaCikac/dScrum
gpl-2.0
20,250
433
codeparrot/github-code
f8634027307a0b390c713f4eb6b47ccac33ce01f1664bf75b973ea8b423d7baa
<?xml version="1.0" encoding="iso-8859-1"?> <!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> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class SparqlEngineDb_Fi...
HTML
src_adms/ext/rdfapi-php/doc/phpdoc/sparql/SparqlEngineDb_FilterGenerator.html
Openroadvietnam/openroad
gpl-2.0
61,488
1,650
codeparrot/github-code
9e2045c2b72efa7be08a64e9cfdac73006d8829344010f2326fffe69424e4398
package net.blaklizt.streets.android.location.navigation; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; /** * User: tkaviya * Date: 7/1/14 * Time: 7:49 PM */ public class Legs { private ArrayList<Steps> steps; private String totalDistan...
Java
src/main/java/net/blaklizt/streets/android/location/navigation/Legs.java
tkaviya/streets
gpl-2.0
1,464
64
codeparrot/github-code
8eac41e5ace990daa8a37dc48b1be3d1cb4603caa6bcb26184ef78ccca02ebd4
package com.kartoflane.ftl.errorchecker.core; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.util.Properties; import java.util.concurrent.TimeUnit; import javax.swing.UIManager; @SuppressWarnings("serial")...
Java
src/com/kartoflane/ftl/errorchecker/core/CheckerConfig.java
kartoFlane/FTL-ErrorChecker
gpl-2.0
7,408
214
codeparrot/github-code
673bf3830834cfd47ce01748753f8c22519d08a433be05b49f9f121d020dd2d5
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* Edge resistance for move/resize operations */ /* * Copyright (C) 2005 Elijah Newren * * 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 Soft...
C
src/core/edge-resistance.h
GNOME/metacity
gpl-2.0
1,940
45
codeparrot/github-code
80cff3dc5242eb7927cc6c1e6986086c8cf43d9e7054dcf4f3ad84e19682fd48
<?php /** * @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version 2012.5 * @package kernel */ $Module = $Params['Module']; $http = eZHTTPTool::instance(); $hash = trim( $http->hasPostVariable( 'Hash' ) ?...
PHP
kernel/user/activate.php
pauletienney/siliconnexion
gpl-2.0
4,003
114
codeparrot/github-code
3fda2a8118dfcc681c95a461f84d7aede62ba23859a0e2373ae5d251365007f4
/******************************************************************** * Copyright (C) 2015-2017 Antoine Aflalo * * 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 Licens...
C#
SoundSwitch/Framework/DeviceCyclerManager/DeviceCycler/DeviceCyclerAvailable.cs
Belphemur/SoundSwitch
gpl-2.0
1,606
39
codeparrot/github-code
d312ea92723d65623f54d4c49e3f75bd7da11706038b476ff1bfa86f4a78d9a3
using System.Collections.Generic; namespace com.espertech.esper.compat.collections.bound { public static class BoundExtensions { public static bool IsLessThan<TK>( Bound<TK> bound, TK value, IComparer<TK> comparer) { if (bound == null)...
C#
src/NEsper.Compat/compat/collections/bound/BoundExtensions.cs
espertechinc/nesper
gpl-2.0
2,812
91
codeparrot/github-code
d03af1c1e38acd25f7b2ac49c108876bd02d13dd5f4f98d08eac6a25cd311274
/***************************************************************************** * common.c: misc common functions ***************************************************************************** * Copyright (C) 2003-2014 x264 project * * Authors: Loren Merritt <lorenm@u.washington.edu> * Laurent Aimar <fenri...
C
src/lib/libx264/common/common.c
AreaScout/vice-gles2
gpl-2.0
50,149
1,454
codeparrot/github-code
429d5ff797a6f6a0a58afb5d80d2b230bfc325be8b6f6ca94a49d1b536e6c3be
package utils; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import Constants.DataBaseConstants; public class projectNameEncoder { public Connection createConnection() throws SQLException { Connection conn = null; ...
Java
server/src/utils/projectNameEncoder.java
hkaj/CoFITS
gpl-2.0
1,231
47
codeparrot/github-code
44c4df2d35c4b7507dff286afd50aca3ace26013cd1803532909279f0b60c364
package com.imrang.detector.domain; import com.imrang.detector.convert.ActivityLogConverter; import com.imrang.detector.convert.Converter; import nl.jqno.equalsverifier.EqualsVerifier; import nl.jqno.equalsverifier.Warning; import org.junit.Test; public class ActivityLogTest { private static Converter<ActivityLo...
Java
detector/src/test/java/com/imrang/detector/domain/ActivityLogTest.java
gulimran/hackerdetector
gpl-2.0
1,077
31
codeparrot/github-code
ba885452fc6d2d7c14f66a1d3de2561541be6e8e3bb166561c7887422b9057b7
// // Copyright (C) 2010-2014 Codership Oy <info@codership.com> // #include "galera_common.hpp" #include "replicator_smm.hpp" #include "galera_exception.hpp" #include "uuid.hpp" extern "C" { #include "galera_info.h" } #include <sstream> #include <iostream> static void apply_trx_ws(void* recv_ctx...
C++
galera/src/replicator_smm.cpp
edf-hpc/galera
gpl-2.0
54,183
1,825
codeparrot/github-code
761d15890a3f48ebb548cbf788b870b174412e60a27ff927ad7b26fa385aa788
<?php global $contractor_id; $categories_permitted = fv_get_contractor_membership_addon_categories($contractor_id); //Message count if ( $contractor_id ) { $message_count = SF_Message::get_message_ids_sent_to($contractor_id); $project_count = SF_Project::get_project_ids_for_contractor($contractor_id); } $author_li...
PHP
wp-content/themes/AFS-theme/templates/contractors/contractor-profile-header.php
icommstudios/AFS
gpl-2.0
2,944
60
codeparrot/github-code
c55bac94c0780e632c7314ce4ae543a8bf131059f03de5c7347f7d05be96e43b
package freenet.node.updater; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; impor...
Java
src/freenet/node/updater/UpdateDeployContext.java
saces/fred
gpl-2.0
11,514
375
codeparrot/github-code
21617ebd0479fa1bf7afd7d15293fb900a20ca14089339b38270bca1a7079f07
package AST; public abstract class Blockstatements implements SyntaxNode { private SyntaxNode parent; public Blockstatements getBlockstatements() { throw new ClassCastException("tried to call abstract method"); } public void setBlockstatements(Blockstatements blockstatements) { th...
Java
jmm/src/AST/Blockstatements.java
waqasraz/Compiler-J--
gpl-2.0
1,140
42
codeparrot/github-code
abe9a5c0b21768298d10ec6135ecc0b6d6d2eee2c96469c599dd921f31106001
/* Copyright (c) 2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope...
C
arch/arm/mach-msm/msm_dcvs_scm.c
TeamPlaceholder/android_kernel_lge_gee
gpl-2.0
4,675
200
codeparrot/github-code
4d59f754ab7ec4705195d99cd128a3a2b48ec99644fd562522ec985e306afc32
<?php namespace GFPDF\Helper\Fields; use GFPDF\Helper\Helper_QueryPath; use GFPDF_Vendor\QueryPath\Exception; /** * @package Gravity PDF * @copyright Copyright (c) 2021, Blue Liquid Designs * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License */ /* Exit if accessed directly */ if (...
PHP
src/Helper/Fields/Field_V3_Products.php
GravityPDF/gravity-forms-pdf-extended
gpl-2.0
1,324
58
codeparrot/github-code
5c8cfb6119e8218279fd52bd1cde099d39d9e46e496fca50ca5941d126a4683e
<?php /** * Class ControllerModuleKBMModArticleTag * @property ModelModuleKBMModArticleTag $model * @property ModelKulerBlogManager $kbm_model */ class ControllerModuleKBMModArticleTag extends Controller { private $model; private $kbm_model; public function __construct($registry) { parent::__c...
PHP
catalog/controller/module/kbm_mod_article_tag.php
TheBlackJet/joel.vn
gpl-2.0
2,713
113
codeparrot/github-code
0bf6aa9b4e6109b2cad088a25c54d7f1817669ae45b3ee8d0f3d4849aa188762
from utils import scaleToZoom def jsonScript(layer): json = """ <script src="data/json_{layer}.js\"></script>""".format(layer=layer) return json def scaleDependentLayerScript(layer, layerName): min = layer.minimumScale() max = layer.maximumScale() scaleDependentLayer = """ if (map.ge...
Python
leafletScriptStrings.py
radumas/qgis2web
gpl-2.0
20,814
544
codeparrot/github-code
055c012485dec337fb9f73c05920e3e04c571ee1b772af1ac14d9da994f4783e
<?php /** * File containing the eZContentOperationCollection class. * * @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version 2012.9 * @package kernel */ /*! \class eZContentOperationCollection ezcont...
PHP
app/ezpublish_legacy/kernel/content/ezcontentoperationcollection.php
davidrousse/ezpuplish
gpl-2.0
59,543
1,528
codeparrot/github-code
7b9e8fd8d3c57a8304bd369e8f50cca19eb35a1d3a605a663ecbc8b9befa5d4c
@import url("css/blocks.css"); @import url("css/prettyPhoto.css"); @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic); .cosmo_floating_uploader { position:absolute !important; border:none !important; background-color:transparent !important; width:100px...
CSS
wp-content/themes/megusta/style.css
giacomovergnano/fb
gpl-2.0
62,817
990
codeparrot/github-code
3b3b8e9a1efd201ce47e84fe1a1b1d83595118673c914b2ab8ff22596493d398
package com.austinv11.collectiveframework.utils; /** * Simple class for figuring out how long things take to be done */ public class TimeProfiler { private long startTime; /** * Starts a profiler at the current instant */ public TimeProfiler() { startTime = System.currentTimeMillis(); } /** * Gets...
Java
src/main/java/com/austinv11/collectiveframework/utils/TimeProfiler.java
austinv11/CollectiveFramework
gpl-2.0
640
33
codeparrot/github-code
1a26996d2c73613b29b5e8efe0cae5f71f184cc2fa4195330f08122b9775dedd
/* * x86 SMP booting functions * * (c) 1995 Alan Cox, Building #3 <alan@redhat.com> * (c) 1998, 1999, 2000 Ingo Molnar <mingo@redhat.com> * * Much of the core SMP work is based on previous work by Thomas Radke, to * whom a great many thanks are extended. * * Thanks to Intel for making available several differe...
C
arch/i386/kernel/smpboot.c
dduval/kernel-rhel4
gpl-2.0
31,173
1,251
codeparrot/github-code
4e8df38a144f10b3e76e6a3a1f7de50255157c863b6b234ed0095dedf138a962
<?php /** * "YAML for Joomla Template" - http://www.jyaml.de * * (en) CSS-Tidy Plugin to reduce filesize of stylsheets * (en) CSS-Tidy Plugin zum reduzieren der Dateigröße der Stylesheets * * @version $Id: css_optimizer.php 423 2008-07-01 11:44:05Z hieblmedia $ * @copyright Copyright 2005-2...
PHP
templates/hm_yaml/plugins/css_optimizer/css_optimizer.php
albertobraschi/Hab
gpl-2.0
11,216
305
codeparrot/github-code
461cd80b5c98d73287048c4ddd8773e85f23d828317010737dcca4da2ac51e59
module TAP ( planTests, planNoPlan, planSkipAll, runTests, is, isnt, like, unlike, pass, fail, ok, skip, skipUnless, toDo, diag, bailOut ) where import System.IO import System.Exit import Control.Monad.State import Control.Exception import Text.Regex.Posix data TAPState = TAPState { planSet :...
Haskell
tap.hs
goozbach/bash-tap-functions
gpl-2.0
7,041
260
codeparrot/github-code
016292d547a2d1be8d595daa5dccbbc755fe12800c2ed30cc47a5343beb810ae
#ifndef SLICES_INCLUDED #define SLICES_INCLUDED /* Vrui includes */ #include <GL/GLColorMap.h> #include <GLMotif/Blind.h> #include <GLMotif/Popup.h> #include <GLMotif/PopupWindow.h> #include <GLMotif/RadioBox.h> #include <GLMotif/RowColumn.h> #include <GLMotif/Slider.h> #include <GLMotif/StyleSheet.h> #include <GLMoti...
C
Slices.h
dlonie/VolumeViewer
gpl-2.0
3,660
76
codeparrot/github-code
6c6107d01ef8c82333985757b4e2c3552bb790fbc80fae6842a1e1819ad80ae8
/* * HID raw devices, giving access to raw HID events. * * In comparison to hiddev, this device does not process the * hid events at all (no parsing, no lookups). This lets applications * to work on raw hid events as they want to, and avoids a need to * use a transport-specific userspace libhid/libusb libraries....
C
drivers/hid/hidraw.c
nullie/ardrone-kernel
gpl-2.0
11,789
534
codeparrot/github-code
2d9d8536715ba944be55570e27a9c2ccec711355c77d7632ca3c7c6ec7981e85
<?php /** * @package WordPress * @subpackage Increase * @since Increase 1.1.5 * * Post, Page & Project Options Functions * Created by CMSMasters * */ require_once(CMSMS_OPTIONS . '/cmsms-theme-options-general.php'); require_once(CMSMS_OPTIONS . '/cmsms-theme-options-post.php'); require_once(CMSMS_OPTIONS ....
PHP
wp-content/themes/increase/framework/admin/options/cmsms-theme-options.php
successdt/offshore_home
gpl-2.0
27,194
720
codeparrot/github-code
33a765b2190dbc5076e50c4c4a228992a355f435647acddb05ef9f508e2fade7
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <link rel="STYLESHEET" href="pypedal.css" type='text/css' /> <link rel="SHORTCUT ICON" href="manicons/pyfav.png" type="image/png" /> <link rel='start' href='../index.html' title='Python Documentation Index' /> <link rel="first" href="pypedal.h...
HTML
PyPedal/doc_old/pypedal/node74.html
wintermind/pypedal
gpl-2.0
5,927
143
codeparrot/github-code
1731be474f55275cc2fbef5d92218eebd3e2d43cd1d0f13077aebfaf5beea7a1
// // Copyright(C) 2007-2014 Samuel Villarreal // Copyright(C) 2014 Night Dive Studios, 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 2 // of the License, or (at your...
C
strife-ve-src/src/opengl/rb_decal.c
dotfloat/restrife
gpl-2.0
25,473
1,022
codeparrot/github-code
5adc313004ae8cae9a3b23ff4cd297c63ef90491ceff81e19fa2804c0f4d9874
#!/bin/sh # # Copyright (C) 2018 TDT AG <development@tdt.de> # # This is free software, licensed under the GNU General Public License v2. # See https://www.gnu.org/licenses/gpl-2.0.txt for more information. # . /lib/functions.sh . ../netifd-proto.sh init_proto "$@" INCLUDE_ONLY=1 BONDING_MASTERS="/sys/class/net/bon...
Shell
net/bonding/files/lib/netifd/proto/bonding.sh
fededim/packages
gpl-2.0
6,320
221
codeparrot/github-code
0bee0bd7ef07aeca41780047d00d8310f0d5ad93b75be76c518c5d8c4b8d4c97
/* * OMAP34xx M2 divider clock code * * Copyright (C) 2007-2008 Texas Instruments, Inc. * Copyright (C) 2007-2010 Nokia Corporation * * Paul Walmsley * Jouni Högander * * Parts of this code are based on code written by * Richard Woodruff, Tony Lindgren, Tuukka Tikkanen, Karthik Dasu * * This program is free...
C
arch/arm/mach-omap2/clkt34xx_dpll3m2.c
evolver56k/xpenology
gpl-2.0
3,272
119
codeparrot/github-code
7a37cb005633c55f0eca637a502a37f440d7ec676073fc74dba15be46286fa40
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Modelo; import java.util.ArrayList; import java.util.HashMap; import javax.swing.table.AbstractTableModel; /** * * @author zirex */ public class Insumo { private Conexion con; private String id; ...
Java
appAvisoft/src/Modelo/Insumo.java
supermavp/avisoft
gpl-2.0
8,936
258
codeparrot/github-code
652f8b3f6f16d4dba1c8510c183ee86ed040bcf8192d62548ce13d329785d470
<?php /** * @package Gantry5 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC * @license GNU/GPLv2 and later * * http://www.gnu.org/licenses/gpl-2.0.html */ namespace Gantry\Framework; use Gantry\Component\Gantry\GantryTrait; use Gantry\Joomla\Cac...
PHP
libraries/gantry5/classes/Gantry/Framework/Assignments.php
afend/RULug
gpl-2.0
5,405
186
codeparrot/github-code
dcf40f748c731f7a7fd2fa9d5004e00ae38d544f1d971633783347014ec1c249
/** *@author Gilberto Vargas Hernández *Clase que nos ayuda a clasificar los tipos de token que puede procesar un ensamblador */ import java.util.*; import java.util.regex.*; public class Clasificador{ /** *Funcion que clasifica una string en sus 3 tipos de componentes *@param String s, la cadena a clasificar ...
Java
Practica 1/Clasificador.java
TachoMex/Progsis
gpl-2.0
8,639
257
codeparrot/github-code
838afca05197390d4f3b904fbb53cec00f24d864bbb9886919dba652ae00599a
using System.Text.RegularExpressions; namespace Pyratron.PyraChat.IRC.Messages.Receive.Numerics { /// <summary> /// RPL_AWAY message. (301) /// </summary> public class AwayMessage : ReceivableMessage { /// <summary> /// User who is away. /// </summary> public User U...
C#
Source/IRC/Messages/Receive/Numerics/AwayMessage.cs
Pyratron/PyraChat
gpl-2.0
903
36
codeparrot/github-code
9a29dca13988f402e777014e1fc4316f9e158b52b15efdc42a80116cd76375b2
var InlineDonation = function(){ this.clientToken = document.getElementById('client_token').value; this.setupEvents(); } InlineDonation.prototype.setupEvents = function(){ jQuery(document.body).on('keyup', '#donation-form input', this.clearInvalidEntries); this.setup(); } InlineDonation.prototype.setup ...
JavaScript
wp-content/plugins/woo-payment-gateway/assets/js/donations-inline.js
namwoody/kart-zill.com
gpl-2.0
3,123
105
codeparrot/github-code
725d6bef6033bb5c75fde9d7c478a28cda8f703bdf4fb59f2d722cc67846eb75
/************************************************************************************************** * * * Project: NextGIS Formbuilder * * Authors: M...
C
src/util/ngw_gdal_io.h
nextgis/formbuilder
gpl-2.0
5,042
105
codeparrot/github-code
ad7a50d47c50b9d4ddd5a88d1f6ddd3c7d281edd21629f8ee57ae4c7656cedbe
/* * Copyright 2009-2014 PrimeTek. * * 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 applicable law or agreed to i...
Java
SIENI/rio/tag/src/main/java/org/primefaces/rio/service/CarService.java
paco30amigos/sieni
gpl-2.0
2,580
101
codeparrot/github-code
99ec50b075d420225c96aadb6483eed50cb1af5497796ceb6a9d43c966cb52c4
#include <sys/time.h> #include <pangomm/init.h> #include "pbd/compose.h" #include "pbd/xml++.h" #include "canvas/group.h" #include "canvas/canvas.h" #include "canvas/root_group.h" #include "canvas/rectangle.h" #include "benchmark.h" using namespace std; using namespace Canvas; class RenderFromLog : public Benchmark {...
C++
libs/canvas/benchmark/render_from_log.cc
cth103/ardour-cth103
gpl-2.0
890
47
codeparrot/github-code
9db0f17217f42ebda504ec613a15b63a1ff8d6aa2df694e678f8f5c14e5f9b26
! ! CalculiX - A 3-dimensional finite element program ! Copyright (C) 1998-2019 Guido Dhondt ! ! 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); ! ! ! ...
FORTRAN
CalculiX/ccx_2.16/src/objective_shapeener_dx.f
prool/ccx_prool
gpl-2.0
41,462
1,118
codeparrot/github-code
9f69760ce1da6e7a56721d17a1acc35230d06e9db35ce9a0591efd729065b51b
/* * Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/> * 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; eit...
C
src/server/game/Spells/SpellMgr.h
Rastrian/DeathCore_6.x-1
gpl-2.0
35,624
757
codeparrot/github-code
378496b8d3e037fc716227b37c4224b74eca9eded08b4a9a4d7eb3d9b0ab5f94
#pragma once namespace Tasker { namespace Cli { static std::string openEditor(std::string text); static std::string trim(const std::string &str); class View; enum TextClass { TASK_ID, TASK_NAME, TASK_STATE, TASK_STATE_CLOSED, TASK_LIST_HEADER, SUB_TASK_HEADER, EVENT_HEADER, }; class CliInterface { public: ...
C
cli.h
Salmela/Tasker
gpl-2.0
2,340
118
codeparrot/github-code
5a0551a978fdd488083ff6f696de56392b07e517c2a42b77d973175cb425cf45
/* * Copyright (c) Bull S.A. 2007 All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it would be useful, but * ...
C
testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/5-scalability.c
shubmit/shub-ltp
gpl-2.0
3,788
161
codeparrot/github-code
8ce16cccadb852c2388baea69a49200539226c65eacaa9fec1a156118aee5190
#ifndef __ANALYZE_CONFIG___ #define __ANALYZE_CONFIG___ #include <glib.h> #include "analyze.h" typedef struct { double dir_op_ratio; /* dir 操作概率 */ double symbol_link_op_ratio; /* symlink 操作概率 */ double file_op_ratio; /* file 操作概率 */ int accuracy; int ...
C
debug-tools/shark/journal.h
jianwei1216/my-scripts
gpl-2.0
4,435
128
codeparrot/github-code
de05e5f2c9a012afd98cea0bf68868ebc16e6245795dda78f858adbd64ab447c
/** * @author Adam Charron <adam.c@vanillaforums.com> * @copyright 2009-2021 Vanilla Forums Inc. * @license gpl-2.0-only */ import { cx } from "@emotion/css"; import { LoadStatus } from "@library/@types/api/core"; import { IUser, IUserFragment } from "@library/@types/api/users"; import { hasUserViewPermission } fr...
TypeScript
library/src/scripts/features/userCard/UserCard.tsx
vanilla/vanilla
gpl-2.0
9,807
277
codeparrot/github-code
8284548a14c0f86fc9c5bbffa75b1d9f8f4cee4d9e0b545f4676b7add9294ea1
<?php class bx_plugins_xhtml extends bx_plugin implements bxIplugin { protected $res = array(); static public $instance = array(); protected $idMapper = null; /*** magic methods and functions ***/ public static function getInstance($mode) { if (!isset(bx_plugins_xhtml::$instance[$mode]...
PHP
inc/bx/plugins/xhtml.php
chregu/fluxcms
gpl-2.0
11,558
388
codeparrot/github-code
e94067a788da362a961b94b05a7649e3ef5bd20cdc524cb574a081c673f2b8e6
<?php /** * @file * Contains \Drupal\simplenews\Plugin\migrate\source\d7\Newsletter. */ namespace Drupal\simplenews\Plugin\migrate\source\d7; use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase; /** * Migration source for Newsletter entities in D7. * * @MigrateSource( * id = "simplenews_newsletter...
PHP
profiles/rightclick/modules/contrib/simplenews/src/Plugin/migrate/source/d7/Newsletter.php
dropdog/rightclick
gpl-2.0
1,904
68
codeparrot/github-code
cfb049b32884d9c51f2464e7d362a68c5eccb59e140afb4ccc1f0c07e853741e
var Table = require ('../table.js'); var Command = require('../command.js'); require('../actions/report-action.js'); require('../actions/move-action.js'); require('../actions/right-action.js'); require('../actions/left-action.js'); require('../actions/place-action.js'); exports.Valid_PLACE = function(test){ var cmd =...
JavaScript
test/command-test.js
PierreKel/ToyRobot
gpl-2.0
2,117
81
codeparrot/github-code
bd8ccd3f5271d302bd79959caf3f53aa2c21082ce1174935d9a599f053dd5b55
<?php // Prepare a category list. function view_macro_category($args) { global $pagestore, $MinEntries, $DayLimit, $full, $page, $Entity; global $FlgChr; $text = ''; if(strstr($args, '*')) // Category containing all pages. { $list = $pagestore->allpages(); } else if(strstr($args, '?')...
PHP
parse/macros.php
apenwarr/gracefultavi
gpl-2.0
6,661
265
codeparrot/github-code
ce1c987c69d56f92cacaad8f43f87c6141ac51ba183a27c8565c3e4ba6b01a0b
<?php namespace Drupal\better_messages\Form; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; class BetterMessagesSettingsForm extends ConfigFormBase { public function getFormId() { return 'better_messages_settings_form'; } protected function getEditableConfigNames() { re...
PHP
modules/better_messages/src/Form/BetterMessagesSettingsForm.php
cooper-webdesign/cooper.dk
gpl-2.0
8,436
251
codeparrot/github-code
daaf1f02dbbdd949b743720fce7fcf8a0c563953267bb4b737caf8c90a77ebda
/*************************************************************************** qgssqlstatement.h --------------------- begin : April 2016 copyright : (C) 2011 by Martin Dobias copyright : (C) 2016 by Even Rouault ...
C
src/core/qgssqlstatement.h
CS-SI/QGIS
gpl-2.0
28,924
821
codeparrot/github-code
5a13aaa9df72dcc092051444800528cc3e8528b6cce7fda5fdf47dbe7676e983
/* Copyright (C) 2018 Erik Ogenvik 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 ho...
C
src/rules/ai/python/CyPy_MemMap.h
worldforge/cyphesis
gpl-2.0
2,783
82
codeparrot/github-code
bb5c8e66ae0d99f38a4b0d165c8764c7af803125f1ff2b067ba2d00978433214
<?php /** * @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version 2012.9 * @package kernel */ $tpl = eZTemplate::factory(); $tpl->setVariable( 'generated', false ); $tpl->setVariable( 'wrong_email', false...
PHP
app/ezpublish_legacy/kernel/user/forgotpassword.php
davidrousse/ezpuplish
gpl-2.0
6,895
182
codeparrot/github-code
2c866ac26c2f2fa6c15fcbc57013f4f7fa278962569759016b84a5292191623e
/********************************************************************** Audacity: A Digital Audio Editor SoundTouchEffect.cpp Dominic Mazzoni, Vaughan Johnson This abstract class contains all of the common code for an effect that uses SoundTouch to do its processing (ChangeTempo ...
C++
src/effects/SoundTouchEffect.cpp
bit-trade-one/SoundModuleAP
gpl-2.0
14,053
396
codeparrot/github-code
5fc0049ab1579dde5b5de1e5dc29955b815c1d6ffc9cdd890392ec437977da49
#!/usr/bin/perl -w use strict; use Time::HiRes qw(gettimeofday); use Cwd; my $timeStamp = int (gettimeofday * 1000000000); my @variableArray; open (LOG, "+>logs\/log_startConvertCodeword.txt"); #change the extension here my $dir = getcwd; my $workToDoDir = $dir . '/workToDo/'; my $doneWorkToDoDir = $dir . '/doneWo...
Perl
startConvertCodeword_0.2.pl
nathanrstacey/MangoJane
gpl-2.0
2,555
82
codeparrot/github-code