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 |
|---|---|---|---|---|---|---|---|---|
bc4667b7e5f238aa78e4509353fbcd629ea03f3a0d86cf7f8b842583a2ea6213 | const char *ps_txt[] = {
"%%BeginProlog",
"/DotDict 200 dict def",
"DotDict begin",
"",
"/setupLatin1 {",
"mark",
"/EncodingVector 256 array def",
" EncodingVector 0",
"",
"ISOLatin1Encoding 0 255 getinterval putinterval",
"EncodingVector 45 /hyphen put",
"",
"% Set up ISO Latin 1 character encoding",
"/starnetISO {",
... | C | plugin/lasi/ps.h | tomgr/graphviz-cmake | epl-1.0 | 4,146 | 174 | codeparrot/github-code |
b77d5441334be15e2055e4521569d6088e3266d00433e81c54ec9e68bc0b9c85 | /* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... | C | lib/neatogen/edges.h | ellson/graphviz | epl-1.0 | 1,168 | 46 | codeparrot/github-code |
d2e1a099cf10e2154a93a493ddb80dce8b57e17e9c04795fd401cfa18b892a90 | /**
* Copyright (c) 2014 openHAB UG (haftungsbeschraenkt) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.htm... | Java | bundles/core/org.eclipse.smarthome.core.library/src/main/java/org/eclipse/smarthome/core/library/types/DateTimeType.java | innoq/smarthome | epl-1.0 | 2,571 | 105 | codeparrot/github-code |
4ad430be5e380b7f672b50afa851c9e45fd7120edeb9aa86741c43534d71e51a | /*******************************************************************************
* Copyright (c) 2020 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | Java | dev/com.ibm.ws.transaction.core_fat.startMultiEJB/test-applications/newEJBTx3/src/com/ibm/ws/transaction/ejb/third/InitNewTxBean3.java | OpenLiberty/open-liberty | epl-1.0 | 1,135 | 35 | codeparrot/github-code |
5feef51b5b7e5385d89d102e92fa1613d39a5cacb1e8b6e5898daf67435feb9e | /**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/binding/org.openhab.binding.weather/src/main/java/org/openhab/binding/weather/internal/model/common/CommonIdProvider.java | openhab/openhab | epl-1.0 | 1,868 | 68 | codeparrot/github-code |
6abdb439385cc625949c2a35600ce00b2462a527862a8fff7e2c3da78a0717e3 | /*******************************************************************************
* Copyright (c) 2020 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | Java | dev/com.ibm.ws.jpa.tests.ormdiagnostics_3.0_fat/test-applications/example/src/com/ibm/ws/ormdiag/example/ejb/ExampleEJBService.java | OpenLiberty/open-liberty | epl-1.0 | 1,124 | 34 | codeparrot/github-code |
b35e0581645c963c46979815bb754485f90abac8d06c03369a1ab2d0e93f2b3a | /*******************************************************************************
* Copyright (c) 2004-2010 Sunil Kamath (IcemanK).
* All rights reserved.
* This program is made available under the terms of the Common Public License
* v1.0 which is available at http://www.eclipse.org/legal/cpl-v10.html
*
* C... | Java | plugins/net.sf.eclipsensis.installoptions/src/net/sf/eclipsensis/installoptions/model/InstallOptionsPassword.java | chrismathis/eclipsensis | epl-1.0 | 1,051 | 35 | codeparrot/github-code |
1e48f670bcd31cf9aead29951fb6e48f58a7aeb76f39b4d99a06d239d327425f | {# TEMPLATE VAR SETTINGS #}
{%- set url_root = pathto('', 1) %}
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
{%- if not embedded and docstitle %}
{%- set titlesuffix = " — "|safe + docstitle|e %}
{%- else %}
{%- set titlesuffix = "" %}
{%- endif %}
<!DOCTYPE html>
<!--[if IE 8]><html class="no... | HTML | docs/v2/_themes/eclipse-help/layout.html | boniatillo-com/PhaserEditor | epl-1.0 | 3,215 | 110 | codeparrot/github-code |
74ce696076ca441d441368acc8210049dbf4f7387327654a5b51edf841930935 | /**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/message/Msg.java | paulianttila/openhab2 | epl-1.0 | 19,302 | 603 | codeparrot/github-code |
6254089b4a9ec62ba26305df4f3551eb68225819c2e0beca3d3a6729ace245ba | #ifndef LANGREFCOUNT_H
#define LANGREFCOUNT_H
#include <vector>
#include <map>
#include <set>
#include <QString>
class QFileInfo;
/**
* @brief Loads and reference counts language information.
*/
class LangRegistry {
static const QString DIR;
public:
struct LangEntry {
LangEntry() : refs{0}, buildsys(""),... | C | src/langregistry.h | TheRabbitologist/DevGarden | epl-1.0 | 3,600 | 117 | codeparrot/github-code |
8ec30e4b476a0fea7ccca25798cde59fced904fb90c0b8579fe89db8eafb691e | /**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/handler/IPBridgeThingHandler.java | paulianttila/openhab2 | epl-1.0 | 5,085 | 127 | codeparrot/github-code |
22235a76d041a5651a940d5364d89c92128269dfe7c796c320a6302a5df15760 | /*******************************************************************************
* Copyright (c) 2016, 2021 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.or... | Java | message/internal/src/main/java/org/eclipse/kapua/message/internal/KapuaPayloadImpl.java | stzilli/kapua | epl-1.0 | 1,395 | 61 | codeparrot/github-code |
59034afa232d5e023fdeb9837582990aec0bacb6d88d7a9116b5294467eaf33a | /*******************************************************************************
* Copyright (c) 2021 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/lega... | Java | service/security/shiro/src/test/java/org/eclipse/kapua/service/authorization/access/shiro/AccessRoleCacheFactoryTest.java | stzilli/kapua | epl-1.0 | 1,610 | 39 | codeparrot/github-code |
6f14c355d743acfa24e2e4f3bee6e3819ecbdd5a9ed1ff0184b9332a2ca4c69a | /*
* Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org>
* Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
* Copyright (C) 2011 Dirk Schulze <krit@webkit.org>
*
* This library is free software; y... | C++ | modules/web/src/main/native/Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp | Debian/openjfx | gpl-2.0 | 13,796 | 313 | codeparrot/github-code |
104c11094315ab1d8e410eac27bdb4c6a9c01f62c6ab71e106aaec8f338e0914 | /***************************************************************************
qgswmsgetmap.h
-------------------------
begin : December 20 , 2016
copyright : (C) 2007 by Marco Hugentobler (original code)
(... | C++ | src/server/services/wms/qgswmsgetcapabilities.cpp | raymondnijssen/QGIS | gpl-2.0 | 78,633 | 1,800 | codeparrot/github-code |
7af8adbe14b512fbeff67fe8f8ea889c227aa750027d3d4dac0ddc8ebc95980d | /*
* Copyright (C) 2005-2016 Junjiro R. Okajima
*
* This program, aufs 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... | C | fs/aufs/loop.c | linuxium/ubuntu-yakkety | gpl-2.0 | 3,997 | 164 | codeparrot/github-code |
dc8ef2435f1fc82ee0e58416d8e2f99357e3effe1c911b300e647eb085f1e21f | /*
ettercap -- send the the wire functions
Copyright (C) ALoR & NaGA
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 ... | C | src/ec_send.c | firebitsbr/ettercap | gpl-2.0 | 54,789 | 1,491 | codeparrot/github-code |
d7e30fa23553c4d1b7629a67e60ee6f159e4cf05d13cf1359d3cbf61863d67c7 | <?php
/**
* @author mr.v
*/
class MY_Input extends CI_Input {
function __construct() {
parent::__construct();
}// __construct
function ip_address() {
if ( $this->ip_address !== false ) {
return $this->ip_address;
}
// IMPROVED!! CI ip address cannot detect through http_x_forwarded_for. this one ... | PHP | application/core/MY_Input.php | OkveeNet/vee-manga-reader-pro | gpl-2.0 | 1,068 | 48 | codeparrot/github-code |
a18fbd1c08e35c13f25a0633194651ba07b6ab9aa51200c005c24dc8eb037ecd | /*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | Java | resin/src/main/java/com/caucho/log/SubHandler.java | CleverCloud/Quercus | gpl-2.0 | 2,558 | 122 | codeparrot/github-code |
3f2175737f08defd3a2095a2442ef2a2b8b4e725e08ded1cbc454c7625158315 | /*
* MDSS MDP Interface (used by framebuffer core)
*
* Copyright (c) 2007-2014, The Linux Foundation. All rights reserved.
* Copyright (C) 2007 Google Incorporated
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may... | C | drivers/video/msm/mdss/mdss_mdp.c | hunter3k/android_kernel_lge_d315 | gpl-2.0 | 59,198 | 2,449 | codeparrot/github-code |
2b83cd08c15981adedc781de584cd1e052b86d68316b2a04249d46c52535302a | /*
The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-)
Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Aymeric MOIZARD jack@atosc.org
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... | C | lib/osip2/libosip2-3.1.0/src/osipparser2/osip_accept_language.c | scs/uclinux | gpl-2.0 | 2,076 | 69 | codeparrot/github-code |
622ecadebbc5827db133a058afae76631e1ca8c3fc7aaf9ceed10aab0766bafc | <?php
/**
* AmanCMS
*
* LICENSE
*
* This source file is subject to the GNU GENERAL PUBLIC LICENSE Version 2
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.gnu.org/licenses/gpl-2.0.txt
* If you did not receive ... | PHP | application/modules/core/views_delted/helpers/RuleLoader.php | salem/aman | gpl-2.0 | 1,834 | 52 | codeparrot/github-code |
a6f8c5f476b2ab38b01fd94dbe2ced1bf70edf88a1769cef05e62b0f3b37c8da | <?php
/**
* Elgg pageshell
* The standard HTML page shell that everything else fits into
*
* @package Elgg
* @subpackage Core
*
* @uses $vars['derecha'] Seccion derecha de la pagina (menu)
* @uses $vars['izquierda'] Seccion Izquierda de la Pagina (Contenido)
*/
// backward compatability... | PHP | mod/tema_comunidad_ondas/views/views/default/page/coordinacion_one_column.php | jonreycas/enjambre | gpl-2.0 | 2,175 | 62 | codeparrot/github-code |
8e69c20bba48408ba5b27c8b0b16df854f9b78e987898b8c2544fd36b502dc86 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace DAI.Exception.Test
{
public static class Islem1
{
public static void IslemYap()
{
ExceptionManager.getInstance().TryCatch(() =>
... | C# | DAI.Exception.Test/Islem1.cs | uQr/FrameworkWithDesingPatterns | gpl-2.0 | 1,401 | 54 | codeparrot/github-code |
bb158a45f9286e2e938e24604933fde705e364fd020b66cad73b981ae4e684ac | /*
** File: evisgenericeventbrowsergui.cpp
** Author: Peter J. Ersts ( ersts at amnh.org )
** Creation Date: 2007-03-08
**
** Copyright ( c ) 2007, American Museum of Natural History. All rights reserved.
**
** This library/program is free software; you can redistribute it
** and/or modify it under the terms of the GNU... | C++ | src/plugins/evis/eventbrowser/evisgenericeventbrowsergui.cpp | polymeris/qgis | gpl-2.0 | 37,902 | 1,186 | codeparrot/github-code |
426fbb49a0e1e0f3be95ee7204ff17c1e15c08a123be7a37de620a8b539790e2 | import matplotlib.pyplot as plt
import numpy as np
from matplotlib.lines import lineStyles
Light_cnames={'mistyrose':'#FFE4E1','navajowhite':'#FFDEAD','seashell':'#FFF5EE','papayawhip':'#FFEFD5','blanchedalmond':'#FFEBCD','white':'#FFFFFF','mintcream':'#F5FFFA','antiquewhite':'#FAEBD7','moccasin':'#FFE4B5','ivory':'#F... | Python | target/classes/edu/albany/cs/transWeatherPy/plotMesonetOrgData.py | newera912/WeatherTransportationProject | gpl-2.0 | 43,328 | 834 | codeparrot/github-code |
025aef3c66f6ad517b6939e04d88b6f7325c39b6b2108730ef5f8d23ce85f001 | /* Copyright (c) 2004-2005 The Dojo Foundation, Licensed under the Academic Free License version 2.1 or above */dojo.provide("dojo.reflect");
/*****************************************************************
reflect.js
v.1.5.0
(c) 2003-2004 Thomas R. Trenka, Ph.D.
Derived from the reflection functions of ... | JavaScript | prototype_1_basic_outline_viewspecs/trunk/src/client/lib/dojo/src/reflect/reflection.js | BradNeuberg/hyperscope | gpl-2.0 | 5,393 | 188 | codeparrot/github-code |
a62f89dfb93e28988b15edcafc308d168a38bc26049408f51b6eb8a4d5014ac4 | /******************************************************************************
* Wormux is a convivial mass murder game.
* Copyright (C) 2001-2007 Wormux 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
* th... | C++ | old/wormux-0.8beta2/src/tool/file_tools.cpp | yeKcim/warmux | gpl-2.0 | 4,011 | 181 | codeparrot/github-code |
9866b10410ff1c749d8ddc26794634dc80b3f8c6f507603e5c43967137e4db97 | <?php
/**
* The Backbone class of Framework.
*
* This class provides core functionality to all types of classes used
* throughout PremiumPress Framework.
*
*/
class PPT_API {
/**
* Wraps content into an HTML element.
*
* @since 0.3.0
*
* @param string $tag The HTML tag to wrap the content in.
* @para... | PHP | wp-content/themes/couponpress/PPT/framework/ppt_api.php | magictortoise/voucheroffer | gpl-2.0 | 3,236 | 129 | codeparrot/github-code |
347fb7d9bfd9eaeea5f6f774fde66b5bfef155ac016d6d5bf2e22f369821ff31 | /* import_text_dialog.cpp
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software... | C++ | ui/qt/import_text_dialog.cpp | masonh/wireshark | gpl-2.0 | 14,751 | 447 | codeparrot/github-code |
8a9e6234610696a95699eba9ec1950100b9e1d8416692d323f9bebe3a98db538 | <?php // $Id$
// perceptivity.eu websitecrew.com
/**
* @file maintenance-page.tpl.php
*
* Theme implementation to display a single Drupal page while off-line.
*
* Groundwork maintenance page does not include sidebars by default, nor
* does it print messages, tabs or anything else that typically you would
* not see on ... | PHP | sites/all/themes/groundwork/templates/maintenance-page.tpl.php | drupalnorge/oslo2012.drupalcamp.no | gpl-2.0 | 2,750 | 65 | codeparrot/github-code |
11775e60e3574d4648822953dddae6e9595ca5850b37c24d75514131d8a315a9 | /***************************************************************************
qgsstylemanagerdialog.cpp
---------------------
begin : November 2009
copyright : (C) 2009 by Martin Dobias
email : wonder dot sk at gmail dot com
**********************************... | C++ | src/gui/symbology/qgsstylemanagerdialog.cpp | sbrunner/QGIS | gpl-2.0 | 48,327 | 1,543 | codeparrot/github-code |
52edcaef100343c485b05e0b12c05908771fc0c292bc53ab386f1709d50f53a9 | # GNU Enterprise Common Library - Schema support for PostgreSQL
#
# Copyright 2000-2007 Free Software Foundation
#
# This file is part of GNU Enterprise.
#
# GNU Enterprise 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 ... | Python | src/gnue/common/datasources/drivers/sql/postgresql/Behavior.py | HarmonyEnterpriseSolutions/harmony-platform | gpl-2.0 | 13,533 | 431 | codeparrot/github-code |
aa23438217b8979476fa0ed2b7dfe15153649c7cbd1677ce4353b3f70e0f8c36 | /* Get calling thread's ID.
Copyright (C) 2000, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation;... | C | libpthread/pthread/pt-self.c | n1koo/eglibc-trusty | gpl-2.0 | 1,182 | 35 | codeparrot/github-code |
f87303bd6eadf1830201bad280e12a28dd7315ba89181cb5341756153b6563b7 | <?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Bundle\EzPublishCoreBundle\Imagine\Filter\Loader;
use eZ\Bundle\EzPublishCoreBundle\Imagine\Filter\FilterInterface;
use... | PHP | eZ/Bundle/EzPublishCoreBundle/Imagine/Filter/Loader/SwirlFilterLoader.php | ezsystems/ezpublish-kernel | gpl-2.0 | 857 | 32 | codeparrot/github-code |
9396f2943a681aacb8c9addd9c86f085f88363256650ef6bf73aa92df0790a94 | /*
* This file is part of the LIRE project: http://www.semanticmetadata.net/lire
* LIRE 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 late... | Java | src/main/java/net/semanticmetadata/lire/indexing/tools/ParallelExtractor.java | GregBowyer/lire | gpl-2.0 | 21,229 | 482 | codeparrot/github-code |
124e493da45d0102d7f30feadb0d0bab710a92e00fa540a49c3396a8e701aadb | /* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */
/*
* Copyright (c) 1997 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... | C | src/ns2/mac/mac.h | gnehzuil/GeoSVR | gpl-2.0 | 7,545 | 253 | codeparrot/github-code |
7186b8b556ac54fb46e5ec41f689fae7cd6ef5022b442669588d2ec00c49e69e | from miasm.core.utils import size2mask
from miasm.expression.expression import ExprInt, ExprCond, ExprCompose, \
TOK_EQUAL
def simp_ext(_, expr):
if expr.op.startswith('zeroExt_'):
arg = expr.args[0]
if expr.size == arg.size:
return arg
return ExprCompose(arg, ExprInt(0, ex... | Python | miasm/expression/simplifications_explicit.py | serpilliere/miasm | gpl-2.0 | 4,228 | 160 | codeparrot/github-code |
b61ad97beab9e66e5d1ec54e1359e77ada537b81b663bc3202082e15df3c49d2 | /*****************************************************************************
*
* Filename:
* ---------
* charging_pmic.c
*
* Project:
* --------
* ALPS_Software
*
* Description:
* ------------
* This file implements the interface between BMT and ADC scheduler.
*
* Author:
* -------
* Oscar Liu... | C | kernel/mediatek/platform/mt6752/kernel/drivers/power/charging_hw_bq24158.c | andr7e/android_kernel_elephone_p6000 | gpl-2.0 | 23,362 | 914 | codeparrot/github-code |
cc35760376aced070706fca6552bca0ed1725f5243b66ff01ec5948c8ce7fc01 | <?php
/**
* WooCommerce Jetpack Product Images
*
* The WooCommerce Jetpack Product Images class.
*
* @version 2.2.0
* @since 2.2.0
* @author Algoritmika Ltd.
*/
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'WCJ_Product_Images' ) ) :
class WCJ_Product_Images extends WCJ_Module {
/**
* Const... | PHP | wp-content/plugins/woocommerce-jetpack/includes/class-wcj-product-images.php | SasaKlepikov/Syberg.eu | gpl-2.0 | 6,506 | 203 | codeparrot/github-code |
39ca91d62e80b6be585db8aefdfcddba58cc1a26087dc65d13ee47c86df0f01d | <?php
/*
* @version $Id$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015-2016 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development ... | PHP | inc/notificationtemplate.class.php | songjio/j_asset_glpi_kr | gpl-2.0 | 17,678 | 530 | codeparrot/github-code |
eb0d3986fee0cc03d8d5514a7863edcc3bfef1bb3ad24d272b49470513f77b68 | package org.anddev.andengine.entity.layer.tiled.tmx;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_X;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_Y;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.I... | Java | worldofgravity-master/src/org/anddev/andengine/entity/layer/tiled/tmx/TMXLayer.java | ricardobaumann/android | gpl-2.0 | 11,687 | 324 | codeparrot/github-code |
560055dad4107f81c735a8f19753e796e7a409147a75c828274d739e4188e0a2 | /*
Copyright (C) 2003 - 2017 by David White <dave@whitevine.net>
Part of the Battle for Wesnoth Project http://www.wesnoth.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 v... | C++ | src/replay_helper.cpp | ln-zookeeper/wesnoth | gpl-2.0 | 3,775 | 163 | codeparrot/github-code |
aad094a96d5548d710a6dcc40a726368fd026b196ee24dd4bba8ffc811ed2836 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.4">
<title>tree walking API</title>
<link rel="stylesheet" h... | HTML | mingw64/share/doc/git-doc/technical/api-tree-walking.html | arpitdwivedi/testproject | gpl-2.0 | 36,948 | 637 | codeparrot/github-code |
1fd28a13def21058e0578c3d8516a496635328623d274d95e84d82ed596234d7 | /*
* Copyright 2004-2006 Adrian Thurston <thurston@complang.org>
* 2004 Erich Ocean <eric.ocean@ampede.com>
* 2005 Alan West <alan@alanz.com>
*/
/* This file is part of Ragel.
*
* Ragel is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | C++ | src/go/fflat.cc | kennytm/ragel | gpl-2.0 | 9,175 | 385 | codeparrot/github-code |
9e428af126f2bfd2e960ebe104e1cd3ffbe2c773a4b39fc1594067e988b7aa3c | /*
* RomRaider Open-Source Tuning, Logging and Reflashing
* Copyright (C) 2006-2017 RomRaider.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
* (... | Java | src/main/java/com/romraider/swing/ECUEditorNumberField.java | dschultzca/RomRaider | gpl-2.0 | 2,595 | 82 | codeparrot/github-code |
28a8cd1ff88f4c6f4b5687a3b6db5591b776a87b921ab27334120af933e55d23 | #
# Copyright 2016 Red Hat, 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 option) any later version.
#
# This program is distributed in th... | Python | lib/vdsm/storage/volumemetadata.py | oVirt/vdsm | gpl-2.0 | 11,350 | 353 | codeparrot/github-code |
7e65bcb3cb5ef9d42584b749e89b6dd46cc514c84a851b4cd193ddf59cbfa1ef | {-# LANGUAGE TemplateHaskell, LambdaCase, GeneralizedNewtypeDeriving, ViewPatterns #-}
module Commands.Plugins.Spiros.Types where
import Commands.Plugins.Spiros.Extra.Types
-- import qualified Commands.Servers.Servant as Server
-- import Commands.Backends.Workflow (WorkflowT,MonadWorkflow_,MonadThrow)
import ... | Haskell | config/Commands/Plugins/Spiros/Types.hs | sboosali/commands-spiros | gpl-2.0 | 1,707 | 62 | codeparrot/github-code |
8bcc1fc73e19e43597db42ebf387c5913be6397c3a317330e2a9a26873e3fe8c | /*
* Copyright (C) 2012 Samsung Electronics.
* huangshr<huangshr@allwinnertech.com>
*
* 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.
*/
#include <linux/kernel.h>
#include <linu... | C | arch/arm/mach-sunxi/firmware.c | tank0412/linux-3.4-sunxi | gpl-2.0 | 5,408 | 208 | codeparrot/github-code |
42e6059cbb15b60daac0b6a423c8f1282a27f18392c30145a8623ae346bf34ef | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | PHP | Zend/Service/Yahoo.php | NewTechNetwork/EchoOpen | gpl-2.0 | 35,352 | 955 | codeparrot/github-code |
7f56e9cb7d4924d6c0cbee904ba8c2a0010d1bb134e88f606ccb20b192a9d3c4 | <?php
/*
Plugin Name: Genesis Simple Hooks
Plugin URI: http://www.studiopress.com/plugins/simple-hooks
Description: Genesis Simple Hooks allows you easy access to the 50+ Action Hooks in the Genesis Theme.
Author: Nathan Rice
Author URI: http://www.nathanrice.net/
Version: 2.1.2
Text Domain: genesis-simple-h... | PHP | wp-content/plugins/genesis-simple-hooks/plugin.php | sanjay-jagdish/barkerby | gpl-2.0 | 3,474 | 138 | codeparrot/github-code |
50f404e5b7e2f0d4d1fa9ab2cff9c10a020cfb9851a1e536348fe64623b95095 | <?php
/** Church Slavic (словѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ)
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author Krinkle
* @author Omnipaedista
* @author Svetko
* @author Wolliger Mensch
*... | PHP | languages/messages/MessagesCu.php | iSCInc/mediawiki-core | gpl-2.0 | 35,116 | 986 | codeparrot/github-code |
067aa227347afecdcbbc1dfdb1e60536b889a1bacc9fc340c2f64b7352ba2e4f | """
Represents a group of conduits
Copyright: John Stowers, 2007
License: GPLv2
"""
import traceback
import os
import xml.dom.minidom
import gobject
import logging
log = logging.getLogger("SyncSet")
import conduit
import conduit.Conduit as Conduit
import conduit.Settings as Settings
import conduit.XMLSerialization as... | Python | conduit/SyncSet.py | GNOME/conduit | gpl-2.0 | 11,163 | 271 | codeparrot/github-code |
b5b5d4d76f94d856e84ed9c50150cf53b8394256d60474a199f668f61e762a49 | <?php
//add extra fields to category edit form hook
add_action('edit_category_form_fields', 'kopa_edit_extra_category_fields');
function kopa_edit_extra_category_fields($tag) { //check for existing featured ID
$t_id = $tag->term_id;
$kopa_category_setting_key = "kopa_category_setting_" . $t_id;
$kopa_setti... | PHP | wp-content/themes/forceful-lite/library/includes/metabox/category.php | tallman07/demowordpress | gpl-2.0 | 7,680 | 128 | codeparrot/github-code |
f344fad97620622f6757233161b51e9037d155a077807f262ca0cd864b2207fb | <?php
class Kirki_Customize_Textarea_Control extends WP_Customize_Control {
public $type = 'textarea';
public $description = '';
public $subtitle = '';
public $separator = false;
public $required;
public function render_content() { ?>
<label class="customizer-textarea">
<span class="customize-control-... | PHP | lib/kirki/includes/controls/textarea.php | telemahos/shoestrap | gpl-2.0 | 2,067 | 64 | codeparrot/github-code |
16a55d2c79727c764f567ca9ace926a18c886d3a01393c66647b021f24dc4fa3 | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2011 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either... | C | src/libsystemd/sd-login/sd-login.c | freedesktop-unofficial-mirror/systemd__systemd | gpl-2.0 | 24,083 | 964 | codeparrot/github-code |
2c1da7cf4fc9b01d64f2914c0dabdfe6a9ee6b2afb96487351d241f3e842f36a | /*****************************************************************************
* speex.c : libspeex DSP resampler
*****************************************************************************
* Copyright © 2011 Rémi Denis-Courmont
*
* This program is free software; you can redistribute it and/or modify it
* under... | C | modules/audio_filter/resampler/speex.c | rologne/vlc | gpl-2.0 | 5,015 | 150 | codeparrot/github-code |
31dbd64c4a1e205780cdfb4c75ef8cc38faf67fa5f1cc2572b644748fd6e098d | /* Memory handling for libdw.
Copyright (C) 2003, 2004 Red Hat, Inc.
Written by Ulrich Drepper <drepper@redhat.com>, 2003.
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 Source Initiative.
... | C | 6.1.1.B.1.54/external/elfutils/libdw/libdw_alloc.c | percy-g2/Novathor_xperia_u8500 | gpl-2.0 | 1,498 | 60 | codeparrot/github-code |
d70fb3ed41098febb3e51c3fedfadc195eae3bbcc59dc7a062beb54857c781ea | <?php
if ( ! defined( 'myCRED_VERSION' ) ) exit;
/**
* Import: Log Entries
* @since 1.2
* @version 1.2
*/
if ( class_exists( 'WP_Importer' ) ) :
class myCRED_Importer_Log_Entires extends WP_Importer {
var $id;
var $file_url;
var $import_page;
var $delimiter;
var $posts = array();
var $imported;
var... | PHP | wp-content/plugins/mycred/includes/importers/mycred-log-entries.php | charliegdev/mapleAvantTest | gpl-2.0 | 7,118 | 323 | codeparrot/github-code |
f1d12e44870d2545fa37d539642d102b23017ef5d653d801dc3ed1020a51dd8a | /* Directory panel listing format editor -- for the Midnight Commander
Copyright (C) 1994, 1995 The Free Software Foundation
Written by: 1994 Radek Doulik
1995 Janne Kukonlehto
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lice... | C | user/mc/src/src/listmode.c | ipwndev/DSLinux-Mirror | gpl-2.0 | 8,193 | 326 | codeparrot/github-code |
d6ef1035b51dbfebd2e82d6a7b3a541f35cc6200fae52bf79f01e931a31f396d | /* iobuf.h - I/O buffer
* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
* GNUPG 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 o... | C | include/iobuf.h | OS2World/UTIL-ENCRYPT-gnupg | gpl-2.0 | 5,371 | 155 | codeparrot/github-code |
0d786b3b0d7920afd785391b62ca1ff9dc68914c26bd24184476897be842bf0a | /****************************************************************************
** $Id: .emacs,v 1.3 2006/02/20 15:06:53 gis Exp $
**
** Created : 2006
**
** Copyright (C) 2006 Carsten Pfeiffer <pfeiffer@kde.org>
**
****************************************************************************/
#ifndef FILECACHE_H
#define... | C | kuickshow/src/filecache.h | serghei/kde3-kdegraphics | gpl-2.0 | 929 | 48 | codeparrot/github-code |
e161c45cb427d49fde95776ad7b9d3368bb84d908a9f69b1c6b93d4886d76f15 | #include <stdlib.h>
#include <string.h>
#define ldmilib_c /* Define the library */
/* Include the Lua API header files */
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#include "dmi/dmi.h"
static int dmi_gettable(lua_State *L)
{
s_dmi dmi;
lua_newtable(L);
if ( ! dmi_iterate(&dmi) ) {
... | C | com32/lua/src/dmi.c | gkovacs/syslinux-mac | gpl-2.0 | 7,730 | 302 | codeparrot/github-code |
3277ed598d4ffde8f80d8f96273ce559c28da38c7f3c9c5500990b2ad2f07358 |
=head1 NAME
LedgerSMB::Template - Template support module for LedgerSMB
=head1 SYNOPSIS
This module renders templates.
=head1 METHODS
=over
=item new(user => \%myconfig, template => $string, format => $string, [locale => $locale] [language => $string], [include_path => $path], [no_auto_output => $b... | Perl | LedgerSMB/Template.pm | pongraczi/LedgerSMB-1.3-HU | gpl-2.0 | 17,629 | 620 | codeparrot/github-code |
dd0a700fc5b55c77a9ab52243cd99a332277444801f8ffb3ddae5e310d7b80bd | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.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
* ... | C++ | src/corelibs/U2Lang/src/model/GrouperSlotAttribute.cpp | ggrekhov/ugene | gpl-2.0 | 3,081 | 98 | codeparrot/github-code |
ca07f3bcb7fce3c8b7f009c2358446aa291e82d4dd1ba3d37e234a88091626bf | <?php
namespace app\models;
use Yii;
use yii\behaviors\BlameableBehavior;
use yii\behaviors\TimestampBehavior;
/**
* This is the model class for table "categories".
*
* @property integer $id
* @property string $name
* @property string $description
* @property string $photo_name
* @property integer $created_by... | PHP | models/Categories.php | OPENi-ict/api-builder | gpl-2.0 | 1,798 | 86 | codeparrot/github-code |
d67cbb1fac040a48821ca831217d831676f4a9abd22159daf4e2f423e498629b | from random import choice
from feedparser import parse
from errbot import botcmd, BotPlugin
class DevOpsBorat(BotPlugin):
"""
Quotes from various dev humour related twitter accounts
"""
@botcmd
def borat(self, mess, args):
"""
Random quotes from the DEVOPS_BORAT twitter account
... | Python | devops_borat.py | errbotio/err-devops-borat | gpl-2.0 | 1,109 | 35 | codeparrot/github-code |
fa211a6e077d5a70fd285cee7f6b8020eb5f5932fedbb31ccb5162aa4be6b667 | /* Copyright (C) 2015-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the ... | C | sysdeps/unix/sysv/linux/accept.c | ctyler/spo600-glibc | gpl-2.0 | 1,269 | 35 | codeparrot/github-code |
6635e4650b39c524aaa259c97ef49c0203439cf6b82eab73673e79024e029f91 | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | C | sound/usb/quirks.c | duki994/SM-G850_Kernel_LP | gpl-2.0 | 28,327 | 948 | codeparrot/github-code |
48d17ca7d031fe82549c51f8df37057663a38f03d2cfad881b65ffa2eacabc6d | /***************************************************************************
* MDP: IPS Patcher. *
* *
* Copyright (c) 1999-2002 by Stéphane Dallongeville *
* Copyright... | C | src/mdp/misc/ips_patcher/ips.c | PhilrocWP/gens | gpl-2.0 | 5,358 | 176 | codeparrot/github-code |
4e7a5f9796ffd263be31efbfa0cc64a58043cd9b9ca35bfcde9b9893a618a5a8 | /*
* Script element for command execution.
* Copyright (C) 2009-2010 Petr Kubanek <petr@kubanek.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 License, o... | C++ | lib/rts2script/elementexe.cpp | xyficu/rts2 | gpl-2.0 | 18,530 | 677 | codeparrot/github-code |
ac750cfefc2d5fa15ed607b8005908aceb22b2f489edee98e87cbb6c745d465e | /*
Copyright 2005-2016 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks. Threading Building Blocks 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 Foundat... | C | examples/parallel_for/tachyon/src/box.h | wilkemeyer/intel-tbb | gpl-2.0 | 3,542 | 70 | codeparrot/github-code |
95a9d9dbeff565dcdb167efb37194cd0db38fdfe5d30e830afc270cc157773de | #if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32)
#include <windows.h>
#endif
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
#if defined(__unix__) || defined(__unix) || defined(unix) || defined(__linux__) || defined(__linux) || defined(linux)
#include <unistd.h>... | C++ | sw_dev/cpp/rnd/test/object_representation/pictorial_structures_revisited/pictorial_structures_revisited_main.cpp | sangwook236/general-development-and-testing | gpl-2.0 | 4,524 | 134 | codeparrot/github-code |
7c8fc76a8ca67581526284aa12237e465a8aa0eb2e922967dc2e22fb733b3b5d | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | Zend/Pdf/Annotation/Link.php | NewTechNetwork/EchoOpen | gpl-2.0 | 5,479 | 157 | codeparrot/github-code |
ac61aaa60fceb0ddeb530313de4ed973b394de37e6c3078d52a410460711df3b | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
This software is distributed under the GNU General Public License.
See t... | C++ | src/USER-OMP/pair_lj_smooth_omp.cpp | tm1249wk/WASHLIGGGHTS-2.3.7 | gpl-2.0 | 4,740 | 175 | codeparrot/github-code |
528b6d5c476fb2696f67c3d566e90193f38ba5243db20887a4c99d40766beadc | /* $Id: tstRTHttp.cpp $ */
/** @file
* IPRT Testcase - Simple cURL testcase.
*/
/*
* Copyright (C) 2012-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it und... | C++ | src/VBox/Runtime/testcase/tstRTHttp.cpp | sobomax/virtualbox_64bit_edd | gpl-2.0 | 11,074 | 345 | codeparrot/github-code |
142f6d0675978a6b71a4edea3f252bfc79ff34bc65505d503add5930d2a0bb60 | <?php
/**
* Nette Framework
*
* @copyright Copyright (c) 2004, 2010 David Grudl
* @license http://nette.org/license Nette license
* @link http://nette.org
* @category Nette
* @package Nette\Forms
*/
/**
* Converts a Form into the HTML output.
*
* @copyright Copyright (c)... | PHP | libs/Nette/Forms/Renderers/ConventionalRenderer.php | fpytloun/eWide-Client | gpl-2.0 | 12,033 | 503 | codeparrot/github-code |
3f4e4378a5e9db909cdfccf60e783d5430e8c170265b8c34cafed081d252ce43 | <?php
if ( ! defined( 'ABSPATH' ) )
exit;
// Tinymce button
add_filter('mce_external_plugins', "firmasite_firmasitebutton_register");
function firmasite_firmasitebutton_register($plugin_array){
if ( ! is_admin() ) return $plugin_array;
global $firmasite_plugin_settings;
$plugin_array["firmasitebutt... | PHP | wp-content/plugins/firmasite-theme-enhancer/theme-enhancer/functions/tinymce-buttons.php | aquarius29/mentorship | gpl-2.0 | 5,329 | 101 | codeparrot/github-code |
82169ac593dc7e4c5ba891caa24c6e5ed6429ed6141ff85d42459176c5f1ff1a | /*
* ---------
* |.##> <##.| Open Smart Card Development Platform (www.openscdp.org)
* |# #|
* |# #| Copyright (c) 1999-2006 CardContact Software & System Consulting
* |'##> <##'| Andreas Schwier, 32429 Minden, Germany (www.cardcontact.de)
* ---------
*
* This file is part of OpenSC... | JavaScript | eGK/cvc.js | wesee/scsh-scripts | gpl-2.0 | 7,514 | 253 | codeparrot/github-code |
681761f8b0b14f8406524aaf0db997a0205b77d4f9eaab6d57601ef96c86ce1f | /* Generic target-file-type support for the BFD library.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002
Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can red... | C | binutils-2.13.2.1/bfd/targets.c | durandj/devkitadv | gpl-2.0 | 43,465 | 1,285 | codeparrot/github-code |
6e860216e7f956fb607ba00e028d7d43626c61b0b913e84a7ddd8a6d0aec0dee | <?php
/**
* Services widget
*
* @package Sydney
*/
class Sydney_Services_Type_B extends WP_Widget {
function sydney_services_type_b() {
$widget_ops = array('classname' => 'sydney_services_b_widget', 'description' => __( 'Show what services you are able to provide.', 'sydney') );
parent::WP_Widget(fa... | PHP | wp-content/themes/sydney/widgets/fp-services-type-b.php | albertoquijano/JesusGiles | gpl-2.0 | 7,470 | 181 | codeparrot/github-code |
807dfe3acea9e0c17d4251c217b73fb854dd145e393caf05e803f3abae7721d6 | /*
* Machine specific setup for xen
*
* Jeremy Fitzhardinge <jeremy@xensource.com>, XenSource Inc, 2007
*/
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/pm.h>
#include <linux/memblock.h>
#include <linux/cpuidle.h>
#include <asm/elf.h>
#include <asm/vdso.h>
#include <asm/... | C | arch/x86/xen/setup.c | faux123/tuna | gpl-2.0 | 12,691 | 471 | codeparrot/github-code |
84417da05d6395e487762b4f1fc650987b5826178935cbc7cfc2ce31c97a2980 | /* Copyright (c) 2011-2012, Code Aurora Forum. 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 hop... | C | arch/arm/mach-msm/clock-pcom-lookup.c | russelldias98/linux_kernel_3.0.68 | gpl-2.0 | 20,018 | 431 | codeparrot/github-code |
3f73d79cc84224c93cc4b3ca9468f964d12c88b35821f89a94e7697bb4841ece | /***************************************************************************
qgsrendercontext.cpp
--------------------
begin : March 16, 2008
copyright : (C) 2008 by Marco Hugentobler
email : marco dot hugentobler... | C++ | src/core/qgsrendercontext.cpp | m-kuhn/QGIS | gpl-2.0 | 14,525 | 461 | codeparrot/github-code |
f3b7ae8d6dd10d9f1703967572122d2d658d76e213247feb27c78f799312f54b | <?php
class Message
{
function __construct()
{
}
function get_message()
{
$message="";
if(isset($_SESSION['message'][0]) && $_SESSION['message'][0]!="")
{
$cpt=0;
foreach($_SESSION['message'] as $messagecour)
{
$message.="<div class='message indent ".$_SESSION['typemessage'][$cpt]."'>";... | PHP | connector.message/static/default/core/src/mainclass/indexclass/class.message.php | RoDKoDRoK/RoDKoDRoK-packages | gpl-2.0 | 637 | 48 | codeparrot/github-code |
138d0afd4015dcaca3081d067c4e1f4503bd65fac4efb31cdebfc12a7805ec13 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) an... | C++ | xbmc/guilib/StereoscopicsManager.cpp | popcornmix/xbmc | gpl-2.0 | 22,607 | 652 | codeparrot/github-code |
52067a988f97d679f7696ad60b2d2e861b1758158ddf9b90fd2cc12282246836 | /**********************************************************************
Audacity: A Digital Audio Editor
VoiceKey.cpp
?? Dominic Mazzoni
?? Shane Muller
*******************************************************************//*!
\class VoiceKey
\brief
This implements a voice key, detecting either the next "ON... | C++ | src/VoiceKey.cpp | windinthew/audacity | gpl-2.0 | 37,484 | 1,005 | codeparrot/github-code |
63a7e74e0616ffd6b9e1468fa0ebaac2fc96bf8c93e61314140674fd871e0458 | /*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your o... | C | src/game/Guild.h | yad/mangos-d3 | gpl-2.0 | 19,160 | 504 | codeparrot/github-code |
422a94843967ac4b304b37ac77d45dcd91352996508293768c35e13e05c27d33 | using System;
using Nequeo.Cryptography.Key.Crypto.Digests;
using Nequeo.Cryptography.Key.Crypto.Parameters;
using Nequeo.Cryptography.Key.Security;
using Nequeo.Cryptography.Key.Utilities;
namespace Nequeo.Cryptography.Key.Crypto.Signers
{
/// <summary> ISO9796-2 - mechanism using a hash function with reco... | C# | Source/Components/Cryptography/Nequeo.Cryptography/Nequeo.Cryptography.Key/crypto/signers/Iso9796d2PssSigner.cs | drazenzadravec/nequeo | gpl-2.0 | 14,080 | 577 | codeparrot/github-code |
25181656db9c5961d0eabe4aad2edbc5d92333900ca7781e6e34db100e21cad7 | /*
* *************************************************************************
* NetworkBrowserFragment.java
* **************************************************************************
* Copyright © 2015 VLC authors and VideoLAN
* Author: Geoffrey Métais
*
* This program is free software; you can redistribu... | Java | vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java | marek-g/libvlc-signio | gpl-2.0 | 6,091 | 176 | codeparrot/github-code |
1bc77099ee912f6a2c2d11143fe3267a275baaa7a3028ecc8bc59deb2b7a6f67 | /******************************************************************************
* Icinga 2 *
* Copyright (C) 2012-2016 Icinga Development Team (https://www.icinga.org/) *
* *
... | C++ | lib/base/tlsutility.hpp | lazyfrosch/debian-icinga2 | gpl-2.0 | 3,886 | 80 | codeparrot/github-code |
6f3ebf459f58e6d705fc316d61b7a120956f0b1aaccd036e45843f3a978d7989 | /***********************************************************************
Geoid - Class to represent geoids, actually reference ellipsoids, to
support coordinate system transformations between several spherical or
ellipsoidal coordinate systems commonly used in geodesy.
Copyright (c) 2009-2010 Oliver Kreylos
This file ... | C | Geometry/Geoid.h | VisualIdeation/Vrui-2.2-003 | gpl-2.0 | 4,934 | 113 | codeparrot/github-code |
ef94e12908be8d18b7739ca2a0ddd82b6e8e6ccb0869a881d05dfb35463e409d | /* $NetBSD: move.c,v 1.8 2004/01/27 20:30:28 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1.... | C | user/games/bsdgames/backgammon/backgammon/move.c | ipwndev/DSLinux-Mirror | gpl-2.0 | 12,361 | 568 | codeparrot/github-code |
335fcc4f4a0789e863b45e5f4ccc686176fab0e2ec8be2cf6b833592d508c7f0 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | C++ | src/meshTools/primitiveMeshGeometry/primitiveMeshGeometry.H | CFDEMproject/OpenFOAM-1.6-ext | gpl-2.0 | 10,206 | 337 | codeparrot/github-code |
4eb0780215794fed538c2a21902f4dac445cb67df2a64fe8344ad59f4d5249d1 | /*
* active port forwarder - software for secure forwarding
* Copyright (C) 2003-2007 jeremian <jeremian [at] poczta.fm>
*
* 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 ... | C | src/server_configuration_struct.c | tst2005/apf | gpl-2.0 | 7,097 | 303 | codeparrot/github-code |
36eea8f0d5fb75c73a6e03c1a90fa69acbc1f679e6a3550852b4de54b609fb5f | // license:BSD-3-Clause
// copyright-holders:Nicola Salmoria, Andreas Naive, Charles MacDonald
/***************************************************************************
Hitachi FD1089A/FD1089B encryption emulation
****************************************************************************
Copyright Nicol... | C | src/mame/machine/fd1089.h | sum2012/mame | gpl-2.0 | 3,058 | 105 | codeparrot/github-code |
ed922291451b6dc089d54c69d5ca2939b53a1a75dea2cf73f5e5744f1fce3e02 | /*
* Copyright 2006-2018 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 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... | Java | src/main/java/net/sf/mzmine/modules/rawdatamethods/exportscans/ExportScansFromRawFilesModule.java | du-lab/mzmine2 | gpl-2.0 | 2,761 | 81 | codeparrot/github-code |
7487aa2cc8a148750245acf0d2aed40a8f0f7910a9894e39af121d08168d4795 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | Zend/Search/Lucene/Search/Query/Wildcard.php | NewTechNetwork/EchoOpen | gpl-2.0 | 11,239 | 352 | codeparrot/github-code |
cf34d98cf1e0a00cece95abf7dc7c53e7bf378a62b3bc319945b09b502f55157 | <?php
// Fix for symlinked plugins from
// http://wordpress.stackexchange.com/questions/15202/plugins-in-symlinked-directories
global $wp_flickr_press_file;
$wp_flickr_press_file = __FILE__;
if ( isset( $mu_plugin ) ) {
$wp_flickr_press_file = $mu_plugin;
}
if ( isset( $network_plugin ) ) {
$wp_flickr_press_fi... | PHP | wp-content/plugins/wp-flickr-press/FlickrPress.php | ulearn/spanishblogwp | gpl-2.0 | 7,882 | 283 | codeparrot/github-code |
815413908985f915007e57c0e0af803c7ca9158afa450b46c9edf8bf44da7fb0 | /**
* The Forgotten Server - a free and open-source MMORPG server emulator
* Copyright (C) 2014 Mark Samman <mark.samman@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eithe... | C++ | src/databasemanager.cpp | viciv/clansxsrc | gpl-2.0 | 5,541 | 191 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.