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 |
|---|---|---|---|---|---|---|---|---|
d45ad64d0a1f9c78e7c14ddd0c512ce04858064b43d2ac0d8eaba5de2c72e1cd | package Perl::Critic::Policy::Variables::RequireLocalizedPunctuationVars;
use 5.006001;
use strict;
use warnings;
use Readonly;
use Perl::Critic::Utils qw{ :severities :classification $EMPTY hashify};
use base 'Perl::Critic::Policy';
our $VERSION = '1.126';
#---------------------------------------------------------... | Perl | strawberry-perl-5.20.0.1-32bit-portable/perl/site/lib/Perl/Critic/Policy/Variables/RequireLocalizedPunctuationVars.pm | mishin/dwimperl-windows | gpl-2.0 | 5,642 | 205 | codeparrot/github-code |
d79b4f6bbe95319277a94cc1a13411fcb638b356c2aeccd8163df91a0e704aa7 | using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a poison elementals corpse" )]
public class PoisonElemental : BaseCreature
{
[Constructable]
public PoisonElemental () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a poison elemental";
Body = 162;
Ba... | C# | Scripts/Mobiles/Monsters/Elemental/Magic/PoisonElemental.cs | felladrin/last-wish | gpl-2.0 | 2,147 | 80 | codeparrot/github-code |
8ae493ceffa98132d5e9339a9e674968c25ee03e40674a943590e8991d5047a6 | import os
from PyQt4.QtCore import pyqtSignal
from PyQt4.QtGui import QComboBox, QDoubleValidator
from configmanager.editorwidgets.core import ConfigWidget
from configmanager.editorwidgets.uifiles.ui_numberwidget_config import Ui_Form
class NumberWidgetConfig(Ui_Form, ConfigWidget):
description = 'Number entry w... | Python | src/configmanager/editorwidgets/numberwidget.py | HeatherHillers/RoamMac | gpl-2.0 | 1,472 | 43 | codeparrot/github-code |
d7e52f6a683137c4ec0af38b0773bd22d23dd562b450111092c88e6dbdcbfaa0 | <?php
/**
*
* nusoap_server allows the user to create a SOAP server
* that is capable of receiving messages and returning responses
*
* @author Dietrich Ayala <dietrich@ganx4.com>
* @author Scott Nichol <snichol@users.sourceforge.net>
* @version $Id: class.soap_server.php,v 1.58 2007/10/30 18:50:30... | PHP | libraries/nusoap/lib/class.soap_server.php | pkdash/HubZeroCIWaterPortal | gpl-2.0 | 38,555 | 1,073 | codeparrot/github-code |
dadd47c6bea34cc1172ffb59231eb9a9880d1e36537cad95ffded092934fc3e3 | /*
* i386 micro operations
*
* Copyright (c) 2003 Fabrice Bellard
*
* 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 of the License, or (at your option) any la... | C | target-i386/op.c | jvesely/qemu-neo1973 | gpl-2.0 | 44,681 | 2,542 | codeparrot/github-code |
1c02c423b0128144f24ebbaac792c94c17bda64d4f8dec6b1bdf3e4abd339091 | /* $Id$ */
/** @file
* NAT - UDP protocol.
*/
/*
* Copyright (C) 2006-2010 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 under the terms of the GNU
* General... | C | src/VBox/Devices/Network/slirp/udp.c | dezelin/vbox-haiku | gpl-2.0 | 16,566 | 558 | codeparrot/github-code |
42c1f628fb0866a91e0dd8d5346e1bee1f03e0dd3b1bb4f69f8ea4325695aeac | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QtNetwork/QNetworkAccessManager>
#include <QDebug>
#include <QNetworkCookieJar>
#include <QMessageBox>
#include <QWebFrame>
#include <QWebElementCollection>
#include <QWebElement>
#include <QTimer>
#include <QThread>
#include <QFileDialog>
#include <QFile>
... | C++ | mainwindow.cpp | team2e16/PostRetrievePL | gpl-2.0 | 27,780 | 846 | codeparrot/github-code |
f0ed6033f5e984117e2ca92044b4696695718262a9dc965af7378e6f867a3753 | /***************************************************************************
File : QwtBarCurve.cpp
Project : SciDAVis
--------------------------------------------------------------------
Copyright : (C) 2006 by Ion Vasilief, Tilman Benkert
Email (use @ for *)... | C++ | libscidavis/src/QwtBarCurve.cpp | fmeynadier/scidavis | gpl-2.0 | 5,725 | 203 | codeparrot/github-code |
5148518cada80c9666a5fc162e5a00b514c9770bbf3247fdb3f4e3059050ce58 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest08678.java | iammyr/Benchmark | gpl-2.0 | 2,109 | 64 | codeparrot/github-code |
6b86e7ce3698182da1bb72f087a7db69111bcffaba00c82df5c013356c3274a3 | /***************************************************************************
textselection - widget to select header- and footer text data for the doc
-------------------
begin : 2007-06-01
copyright : (C) 2007 by Klaas Freitag
email :... | C++ | src/textselection.cpp | salt4pommes/kraft-4.2 | gpl-2.0 | 8,312 | 261 | codeparrot/github-code |
de69772208f169327cc01fe763fddd23654578fe771eb27a985ceb3d4df56b20 | #include<cstdio>
#include<cstring>
#include<algorithm>
#define maxn 5050
#define INF 0x3f3f3f3f
using namespace std;
char p[maxn], q[maxn];
int sp[26], sq[26], ep[26], eq[26];
int d[2][maxn], c[2][maxn];
int main(void)
{
int T;
scanf("%d", &T);
while (T--)
{
scanf("%s %s", p + 1, q + 1);
int n = strlen(p + ... | C++ | sunmoyi-ac/UVA/1625/7171688_AC_0ms_0kB.cpp | sunmoyi/ACM | gpl-2.0 | 1,429 | 83 | codeparrot/github-code |
08eb3d53ff46d0d0602477bb4d6796bcdaba5ea41adc8203dbef5a194ebaaed3 | /*
* multiarray.cpp
*
* Created on: Apr 27, 2010
* Author: borgem
*/
#include <iostream>
#include <boost/multi_array.hpp>
#include <LocationPoint.h>
#include <cassert>
using namespace std;
using namespace wdb2ts;
typedef boost::multi_array<LocationPoint, 2> Matrix;
typedef Matrix::index Index;
int
mai... | C++ | src/mod_wdb2ts/multiarray.cpp | metno/wdb2ts | gpl-2.0 | 2,044 | 77 | codeparrot/github-code |
55f79fe5c3c55a3065e185a36709a7831e9fb49d7be3383c7c7c17f111a295f0 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C++ | src/KOKKOS/dihedral_class2_kokkos.cpp | timattox/lammps_USER-DPD | gpl-2.0 | 43,192 | 1,133 | codeparrot/github-code |
10dd4739f0dfae0023d0ddaeff6f6618a726ac588d7b4fe2d78f4060c7e32947 |
#ifndef DOTCONFPP_H
#define DOTCONFPP_H
#include <list>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef WIN32
#define PATH_MAX _MAX_PATH
#define snprintf _snprintf
#define strcasecmp stricmp
... | C | src/shared/Config/dotconfpp/dotconfpp.h | elitak/noxserver | gpl-2.0 | 3,106 | 111 | codeparrot/github-code |
143b793fc38ddc5e2293359b95ae4c8b8516508c21d04d71c1fdad42388d7a7a | <?php
/**
* banner functions
*
* @package functions
* @copyright Copyright 2003-2018 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Drbyte Sun Jan 7 21:32:45 2018 -0500 Modified in v1.5.6... | PHP | includes/functions/banner.php | mc12345678/zc-v1-series | gpl-2.0 | 9,507 | 255 | codeparrot/github-code |
27e3ca711921b295c5264d0e0c1b72557c753fdb0ab9a38e75388d106d760aa4 | # -*- coding: utf-8 -*-
# This file is part of the xc2424scan package
# Copyright (C) 2005 Mathieu Bouchard <mbouchar@bioinfo.ulaval.ca>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Fou... | Python | src/xc2424scan/ui/widgets/scanwidget.py | mbouchar/xc2424scan | gpl-2.0 | 27,975 | 725 | codeparrot/github-code |
30ecf552e929a93bd6ad60a997ac36ecbbd663645bb8694c36ead3f30b70ffd4 | //
// Created on: <18-Nov-2004 10:54:01 bh>
//
// ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ##
// SOFTWARE NAME: eZ Publish
// SOFTWARE RELEASE: 4.1.x
// COPYRIGHT NOTICE: Copyright (C) 1999-2011 eZ Systems AS
// SOFTWARE LICENSE: GNU General Public License v2.0
// NOTICE: >
// This program is free software; yo... | JavaScript | design/standard/javascript/tools/eziepngfix.js | imadkaf/lsdoEZ4 | gpl-2.0 | 2,006 | 61 | codeparrot/github-code |
40a8a9fb819ffb2331410af2b3d96de9ad338ff1c2fa60881097429e46d371ce | /****************************************************************************
* Copyright (C) 2012 by Jens Nissen jens-chessx@gmx.net *
****************************************************************************/
#ifndef __ECOTHREAD_H__
#define __ECOTHREAD_H__
#include <QThread>
#include "game.h"... | C | src/gui/ecothread.h | Kojirion/ChessX | gpl-2.0 | 747 | 34 | codeparrot/github-code |
ef4c8d69e5e65d45d2cf5e3f2c5a364c4f18058680fd541d4975d5c568846cf4 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | Lua | bot/seedbot.lua | amirquick/quick | gpl-2.0 | 10,555 | 543 | codeparrot/github-code |
1e43a527880290dd2e36e6916eb10b7e801c4f475b814cf94b37604ef5177203 | /* (C) IT Sky Consulting GmbH 2014
* http://www.it-sky-consulting.com/
* Author: Karl Brodowsky
* Date: 2014-02-27
* License: GPL v2 (See https://de.wikipedia.org/wiki/GNU_General_Public_License )
*/
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/sta... | C | posix/io/read-string-array.c | bk1/sysprogramming-examples | gpl-2.0 | 1,382 | 47 | codeparrot/github-code |
17cfaecfd4483d7249dc185dc11c283187933dcbb20d832f0f4cd3ce7b582756 | /*
* CT30A5001 Network Programming
* addresses.c, STCP server and client example
*
* Contains functions for getting own addresses for the SCTP example
*
* Author:
* Jussi Laakkonen
* 1234567
* jussi.laakkonen@lut.fi
*/
#include "addresses.h"
struct sockaddr* get_own_addresses_gai(int* count, char* port)
{
in... | C | sctp_demo/addresses.c | HateBreed/Course-example-codes | gpl-2.0 | 6,718 | 262 | codeparrot/github-code |
2493c4583bfbb7f6d05fb375e69c59a3c97cbcf2ab0c63547f7853a7abb45529 | // Copyright 2010 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/JitIR/x64/DSPEmitterIR.h"
using namespace Gen;
namespace DSP::JITIR::x64
{
u16 DSPEmitterIR:... | C++ | Source/Core/Core/DSP/JitIR/x64/DSPJitUtil.cpp | pierrewillenbrock/dolphin | gpl-2.0 | 15,354 | 515 | codeparrot/github-code |
42814d42a57fff09307f481c83d6ea0f499b4c7513a08c115c7b8ce718ab8fd1 | # synthrepo.py - repo synthesis
#
# Copyright 2012 Facebook
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
'''synthesize structurally interesting change history
This extension is useful for creating a repository with properties
... | Python | contrib/synthrepo.py | dscho/hg | gpl-2.0 | 18,180 | 517 | codeparrot/github-code |
9a4c5edb6d468420666f04d3aeb95ab4471d764e7421aebec79050da83f6393f | /*
* The Mana World
* Copyright (C) 2008 The Mana World Development Team
*
* This file is part of The Mana World.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version ... | C++ | src/particlecontainer.cpp | kai62656/manabot | gpl-2.0 | 4,016 | 175 | codeparrot/github-code |
5804c7bbeb90ac416c7808b6fb6f5785ea514eb2d4e5289f0f7b560f9c3d5767 | package javax.enterprise.deploy.shared;
/**
* An enumeration of deployment states.
*
* @author <a href="mailto:adrian@jboss.org">Adrian Brock</a>
* @version $Revision$
*/
public class StateType
{
// Constants -----------------------------------------------------
/** The RUNNING integer value */
private ... | Java | src/main/java/javax/enterprise/deploy/shared/StateType.java | jboss/jboss-jad-api_spec | gpl-2.0 | 2,876 | 126 | codeparrot/github-code |
847cb0a5da3444e15b5ae9fa34010fd085c1a3ce1a6dc41b221c8472ff56f4ea | /*
* File : listctrl.h
* This file is part of RTGUI in RT-Thread RTOS
* COPYRIGHT (C) 2010, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date ... | C | rt-thread/components/rtgui/include/rtgui/widgets/listctrl.h | JasonCC/stm32radio | gpl-2.0 | 2,324 | 66 | codeparrot/github-code |
81ebae5c25e90ec91c074583768639ac145a3f5e72a23fded4191120df107e31 | // Copyright 2010 Google Inc. All Rights Reserved.
// Use of this source code is governed by a BSD-style license
#ifndef WEBP_DEC_VP8I_H_
#define WEBP_DEC_VP8I_H_
#include <string.h>
#include "./vp8li.h"
#include "../utils/bit_reader.h"
#include "../utils/thread.h"
#include "../dsp/dsp.h"
#if defined(__cplusplu... | C | external/chromium_org/third_party/libwebp/dec/vp8i.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 5,638 | 270 | codeparrot/github-code |
37ea8f051da2c62451fdd488ce4a328f0d44842335fb1877ec4e02d039340446 | <?php /* Smarty version 2.6.26, created on 2014-12-22 01:50:06
compiled from C:%5Cwamp%5Cwww%5Ctest_eccube%5Chtml/../data/Smarty/templates/default_en-US/frontparts/bloc/news.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifie... | PHP | data/Smarty/templates_c/default_en-US/%%46^464^46431C3E%%news.tpl.php | morningintern/test_eccube | gpl-2.0 | 6,533 | 62 | codeparrot/github-code |
724542835b3cd460a0a67de9b5c40916b55217a765186aee0a43333b24669d36 | #ifndef AUTO_CONNECT_SCREEN_H
#define AUTO_CONNECT_SCREEN_H
#include "gui/gui2_canvas.h"
#include "playerInfo.h"
class GuiLabel;
class GuiOverlay;
class AutoConnectScreen : public GuiCanvas, public Updatable
{
GuiOverlay* screen_connect;
P<ServerScanner> scanner;
sf::IpAddress connect_to_address;
ECrewP... | C | src/menus/autoConnectScreen.h | elptito/EmptyEpsilon | gpl-2.0 | 810 | 34 | codeparrot/github-code |
581bf7b89e1a2bd1e6abdfb0280784b7bc91b19d5617bd2634ce8ad99599cf4c | /* pcapio.h
* Declarations of our own routins for writing libpcap files.
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* Derived from code in the Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
*
* Th... | C | pcapio.h | giuliano108/wireshark-rtpmon | gpl-2.0 | 5,236 | 103 | codeparrot/github-code |
9a1c822c2bfb4adb5e9dd76ec9f41141a08acb35b96d7f31e8f0fbbb2dc70603 | // _________ __ __
// / _____// |_____________ _/ |______ ____ __ __ ______
// \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
// / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ |
// /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | C++ | src/video/font.cpp | bradc6/Stratagus | gpl-2.0 | 24,713 | 1,082 | codeparrot/github-code |
9c6ea1c5ffb626c6d60d17c03427b475051f3e4c86316e9d48ef191af1f36154 | /** $lic$
* Copyright (C) 2012-2014 by Massachusetts Institute of Technology
* Copyright (C) 2010-2013 by The Board of Trustees of Stanford University
*
* This file is part of zsim.
*
* zsim is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as publishe... | C | src/log.h | AXLEproject/axle-zsim-nvmain | gpl-2.0 | 4,513 | 157 | codeparrot/github-code |
aba3d8f6d390e2edbe3829a562b3887d3ee6b18eebe499b36974db9e3a2d08f3 | using TextParser;
namespace VTTUtilities
{
public class TestInputData : IInputData
{
/// <summary>
/// The key into the main token tree of the data that is being displayed.
/// </summary>
public string DataName => "Not Used";
/// <summary>
/// The default direc... | C# | VTTUtilities/TestInputData.cs | MotorViper/FormGenerator | gpl-2.0 | 1,026 | 33 | codeparrot/github-code |
1c416bba23031c7e9a752eb154dcbd0777257f282a01ea460ec9008ed023df09 | /**
* Copyright (C) 2013
* by 52 North Initiative for Geospatial Open Source Software GmbH
*
* Contact: Andreas Wytzisk
* 52 North Initiative for Geospatial Open Source Software GmbH
* Martin-Luther-King-Weg 24
* 48155 Muenster, Germany
* info@52north.org
*
* This program is free software; you can redistribut... | Java | core/api/src/main/java/org/n52/sos/ogc/ows/SosServiceIdentificationFactory.java | geomatico/52n-sos-4.0 | gpl-2.0 | 5,754 | 154 | codeparrot/github-code |
642cff294e80a44180d25b22d71ee82fcb55796c6cf35bdfe9aedecc98e5f37d | package org.compiere.apps.search;
/*
* #%L
* de.metas.adempiere.adempiere.client
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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... | Java | de.metas.adempiere.adempiere/client/src/main/java/org/compiere/apps/search/FindHelper.java | klst-com/metasfresh | gpl-2.0 | 6,372 | 237 | codeparrot/github-code |
45945f63e92496648324a14184be4ab5687adf281348b61c979fb97b03c4d243 | <?php // -*-php-*-
// $Id: BackLinkIter.php 7956 2011-03-03 17:08:31Z vargenau $
require_once('lib/WikiDB/backend.php');
/**
* This backlink iterator will work with any WikiDB_backend
* which has a working get_links(,'links_from') method.
*
* This is mostly here for testing, 'cause it's slow,slow,slow.
*/
class ... | PHP | plugins/wiki/www/lib/WikiDB/backend/dumb/BackLinkIter.php | foresthz/fusion5.1 | gpl-2.0 | 1,196 | 48 | codeparrot/github-code |
f4b1fd9f0720f188d36cf663c53ac365409bb1559b2636d584c7015a0515f405 | /*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | C++ | src/lib/server/ClientProxy1_1.cpp | miguelinux/synergy | gpl-2.0 | 1,978 | 62 | codeparrot/github-code |
a5692b9f21de919f640be11308cfbc8267a9cf18bdd00e81bdd28c76088657e2 |
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/highmem.h>
#define MLOG_MASK_PREFIX ML_DISK_ALLOC
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "alloc.h"
#include "blockcheck.h"
#include "dlmglue.h"
#include "inode.h"
#include "journal.h"
#include "localalloc.h"
#i... | C | kernel/fs/ocfs2/suballoc.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 70,275 | 2,618 | codeparrot/github-code |
1016b0c78c563943f3cf57c930e5e57cb9ddb511d5a150fe986c983199fbfb16 | /* SPDX-License-Identifier: LGPL-2.1+ */
#include <errno.h>
#include <getopt.h>
#include <string.h>
#include <sys/prctl.h>
#include <unistd.h>
#include "alloc-util.h"
#include "dirent-util.h"
#include "fd-util.h"
#include "fs-util.h"
#include "hashmap.h"
#include "locale-util.h"
#include "log.h"
#include "main-func.h... | C | src/delta/delta.c | tblume/systemd-testsuite-suse | gpl-2.0 | 20,751 | 692 | codeparrot/github-code |
b0877397262eb64a7e34cfbbb2176cf7f502a77046e8244ddb2911c73df285bd | // **********************************************************************
//
// Copyright (c) 2010-2014 Bernard Luo. All rights reserved.
//
// <Email: luo (dot) xiaowei (at) hotmail (dot) com>
//
// **********************************************************************
#include <Concurrency/Cond.h>
#ifndef _WIN32
# ... | C++ | src/Concurrency/Cond.cpp | happyluo/Threading | gpl-2.0 | 4,886 | 268 | codeparrot/github-code |
31da2f18b9e7db5c4cdbc9867fba7041aea2cfb60d834727b74fd37f6725e849 | package com.hacklightly.TableTennisAndroid;
import android.content.Intent;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.app.Activity;
import android.os.Bu... | Java | src/com/hacklightly/TableTennisAndroid/LaunchActivity.java | HackLightly/TelePongAndroid | gpl-2.0 | 3,806 | 123 | codeparrot/github-code |
f02d04378bd2aa4d6110472f4fa935973e58f7abcea93bdee23d702b4f466648 | /*
* This file is part of the OregonCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
... | C++ | src/scripts/World/go_scripts.cpp | OregonCore/OregonCore | gpl-2.0 | 24,188 | 772 | codeparrot/github-code |
96bd1571326b4d492d8e0f9bddaf8ca71c4700d17e032e7b4e33596807638d01 | <?php
if( !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
/**
*
* @package VirtueMart
* @Author Kohl Patrick
* @subpackage router
* @version $Id$
* ${PHING.VM.COPYRIGHT}
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is f... | PHP | components/com_virtuemart/router.php | felopri/floristeriaabril | gpl-2.0 | 42,192 | 1,209 | codeparrot/github-code |
693ac021da05ae6b9a854bbc012774eaf5bd7cc953a4e6fc8340ef3b2b6bda16 | <?php
/**
* @package Joomla.Platform
* @subpackage Environment
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* JResponse Class.
*
* This class se... | PHP | libraries/joomla/environment/response.php | vothequang113/Joomla | gpl-2.0 | 6,471 | 336 | codeparrot/github-code |
d0e7398a931a0583f00ee80281412f8bc2ab7bf889bc89b8c952bd671bc01b3e | /**
*
* ██████╗ ██╗ ███████╗ ███╗ ███╗ ██╗ ██╗
* ██╔══██╗ ███║ ██╔════╝ ████╗ ████║ ██║ ██║
* ██████╔╝ ╚██║ █████╗ ██╔████╔██║ ██║ ██║
* ██╔══██╗ ██║ ██╔══╝ ██║╚██╔╝██║ ██║ ██║
* ██║ ██║ ██║ ███████╗ ██║ ╚═╝ ██║ ╚██████╔╝
* ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═════╝
*
*... | C | src/Floana-Proxy/Floana.c | r1emu/Cyrenia | gpl-2.0 | 18,494 | 622 | codeparrot/github-code |
853822ba43136c4eba28bf8d1241458156f146bb0d29e183c8578c750fa32850 | <!DOCTYPE HTML>
<html <?php language_attributes(); ?> class="no-js">
<head>
<?php global $imic_options;
$bodyClass = ($imic_options['site_layout'] == 'boxed') ? ' boxed' : '';
$style='';
if($imic_options['site_layout'] == 'boxed'){
if (!empty($imic_options['upload-repeatable-bg-image']['id']... | PHP | wp-content/themes/real-spaces/header.php | sadpiglet20/ninesouthestates | gpl-2.0 | 10,227 | 214 | codeparrot/github-code |
723ba9b59d1b7d4fc3a09c1b37fe9838b08a32ebf533346d6e961ca1c2345ca6 | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Net.Sockets;
using System.Timers;
using PlayingCards;
namespace CardGamesServer
{
pub... | C# | CardGamesServer/MainForm.cs | superferg/20-Proof | gpl-2.0 | 20,952 | 557 | codeparrot/github-code |
bda33ae900874d6d024300622424a56f95480815da6847c46f33363bcbf306a2 | /*
* linux/arch/arm/mach-omap2/timer-gp.c
*
* OMAP2 GP timer support.
*
* Copyright (C) 2009 Nokia Corporation
*
* Update to use new clocksource/clockevent layers
* Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
* Copyright (C) 2007 MontaVista Software, Inc.
*
* Original driver:
* Copyr... | C | arch/arm/mach-omap2/timer-gp.c | hiikezoe/android_kernel_fujitsu_f11d | gpl-2.0 | 6,928 | 267 | codeparrot/github-code |
7abf689a61fb3641928fdc0507aefd3448ebfa97eeb3fb33980cccdc6c81edc6 | package br.gov.lexml.util.hibernate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class SimpleHqlBuilder {
private final String selectClause;
private final List<String> whereOperators = new ArrayList<String>();
private final List<String> whereClauses = new ArrayList<String>... | Java | lexml-toolkit-common/src/main/java/br/gov/lexml/util/hibernate/SimpleHqlBuilder.java | lexml/lexml-toolkit | gpl-2.0 | 1,973 | 72 | codeparrot/github-code |
08931970675a4eb0081e63b4380e1725c4fed24306a1bd2974e45f9420d64a8f | # -*- coding: utf-8 -*-
#
# Copyright (C) 2005-2010 TUBITAK/UEKAE
#
# 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.
#
# ... | Python | yali/gui/ScrKeyboard.py | forYali/yali | gpl-2.0 | 2,958 | 85 | codeparrot/github-code |
4e4c8ce0e00c9b890a5970290cc42490eb727c7b648f377b3e7eaf54e78f7a24 | #!/bin/bash
################################################################################
################################### ABOUT ######################################
################################################################################
# ... | Shell | minestart.sh | morphesus/Minestart | gpl-2.0 | 11,361 | 421 | codeparrot/github-code |
e26115b0f34c211afc0886d8e04bf161dfa9876bd482fc32232cc002af4ff476 | /*
* $Id$
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#define RTEMS_FAST_MUTEX
#ifdef RTEMS_FAST_MUTEX
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#endif
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <errno.h>
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/error.h>
#incl... | C | cpukit/libnetworking/rtems/rtems_glue.c | daniel-hellstrom/leon-rtems | gpl-2.0 | 28,327 | 1,311 | codeparrot/github-code |
866af1f681b16932909c505f62c16b5f23c4dda6898bf4c8110463de4f91cd07 | /*
* USE - UML based specification environment
* Copyright (C) 1999-2010 Mark Richters, University of Bremen
*
* 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
* Li... | Java | src/main/org/tzi/use/analysis/coverage/CoverageCalculationVisitor.java | anonymous100001/maxuse | gpl-2.0 | 4,705 | 153 | codeparrot/github-code |
0d3b0b6a034cde64f337f6f2e16cab41fac6d8e26e75a94ad836d19d272e4cf6 | <?php
namespace App\Http\Controllers;
use Illuminate\Routing\Controller as BaseController;
use App\Countries;
use Request;
use App\Http\Requests\CountriesRequest;
use Validator;
class CountriesController extends BaseController
{
/**
* function - get main page
*
* @return all what database has
*/
... | PHP | app/Http/Controllers/CountriesController.php | malinink/LaravelTestWeb15 | gpl-2.0 | 3,623 | 144 | codeparrot/github-code |
0389bbb69b7b627932095b3918682a65566bde73c50f1be527592efb40bff5d6 | """
urlresolver Kodi plugin
Copyright (C) 2011 t0mm0
Updated by Gujal (C) 2016
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your... | Python | script.module.urlresolver/lib/urlresolver/plugins/nowvideo.py | koditraquinas/koditraquinas.repository | gpl-2.0 | 2,602 | 73 | codeparrot/github-code |
8e4ef186c8bf5fe24a92cd0080ac3a796b45928b3c0675f72875d3b75771aa40 | <?php
//Abrir conexion mysql al servidor
$connection=mysql_connect ("localhost", "wutoloja_bolsa", "loja09wuto");
if (!$connection) {
die('Not connected : ' . mysql_error());
}
//Seleccionamos la base de datos
$db_selected = mysql_select_db("wutoloja_bolsaDB", $connection);
if (!$db_selected) {
die ('Can\'t use db ... | PHP | components/com_companyregister/views/companyregister/tmpl/sql.php | macartuche/Bolsa-Empleo | gpl-2.0 | 1,307 | 50 | codeparrot/github-code |
eb5c7a8779707cd962dd29c29c7aaa361c4f058a0ffa44d581969536492d8d2d | /*
* Copyright (C) 2016-2018, Nils Asmussen <nils@os.inf.tu-dresden.de>
* Economic rights: Technische Universitaet Dresden (Germany)
*
* This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores).
*
* M3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU G... | C++ | src/libs/m3/pipe/DirectPipeWriter.cc | TUD-OS/M3 | gpl-2.0 | 5,153 | 172 | codeparrot/github-code |
d9048788c93aac360e4d845f18dd7619536abb32b7a719437b6a02e379b0c8c9 | // scattersim.cpp
//
// Copyright (C) 2007, Chris Laurel <claurel@shatters.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, or (at your option) any ... | C++ | src/tools/atmosphere/scattersim.cpp | CelestiaProject/Celestia | gpl-2.0 | 62,760 | 2,060 | codeparrot/github-code |
a587274f2b1f9b58dd98b7963305a002b66a801717f90c1e036594850ee7e2b7 | package it.unibas.icar.freesbee.controllo;
import it.unibas.icar.freesbee.modello.Azione;
import it.unibas.icar.freesbee.modello.PortaApplicativa;
import it.unibas.icar.freesbee.modello.Servizio;
import it.unibas.icar.freesbee.modello.ServizioApplicativo;
import it.unibas.icar.freesbee.modello.Utente;
import it.unibas... | Java | freesbeeWeb/src/it/unibas/icar/freesbee/controllo/ControlloGestionePorteApplicative.java | donatellosantoro/freESBee | gpl-2.0 | 16,806 | 380 | codeparrot/github-code |
a8ae57ba52b6dbb93ae7dbd1d29ab5861c42a21636784e3d47bfdc864f64fc87 | /**
* Copyright (C) 2018, Nils Asmussen <nils@os.inf.tu-dresden.de>
* Economic rights: Technische Universität Dresden (Germany)
*
* This file is part of M3 (Microkernel for Minimalist Manycores).
*
* M3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License... | C++ | src/apps/bench/scale/scale.cc | TUD-OS/M3 | gpl-2.0 | 7,094 | 220 | codeparrot/github-code |
fdfcf30f8e2c900ee6d90d9f44cd7b29a1c9bc95ade29ccc50e7fea4672057db | using System;
using System.Text;
using Ops.Framework.Extensions;
namespace Ops.Cms.Extend.SSO
{
internal class SessionGenerator
{
private readonly int[] _dict;
private int length;
public SessionGenerator(String seed,int length)
{
this.length = length;
... | C# | extend/Ops.Cms.Extend/SSO/SessionGenerator.cs | chenkaibin/cms | gpl-2.0 | 1,347 | 55 | codeparrot/github-code |
3a200399873579c055c35807e4b3731d9e035b3583cef4c312cb0d8b2fff168d | <?php
###################################
# Copyright (c) 2008 Mhd Zahere Ghaibeh and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the GNU GPL v2.0
# which accompanies this distribution, and is available at
# http://www.GNU.org
######################... | PHP | modules/projects/functions.php | linuxjuggler/phoeinx | gpl-2.0 | 1,136 | 36 | codeparrot/github-code |
00235498035785ae117f8541a8d2d90a011a51d92675117228820d5e47facb38 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys, os
my_site = os.path.join(os.environ["HOME"], ".local/lib/python2.7/site-packages")
sys.path.insert(0, my_site)
import h5py
import networkx as nx
import numpy as np
import pycuda.driver as cuda
import scipy.stats as st
import sys
import aux
from consts import... | Python | analysis.py | unicamp-lbic/small_world_ca | gpl-2.0 | 19,617 | 449 | codeparrot/github-code |
3f53cc531e84bf0946da4c24ab51a90a0b1c974d05b107623ce7cca23f94aaf1 | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright noti... | C++ | zsim-nvmain/pin_kit/source/tools/Probes/error-lin-jit.cpp | cyjseagull/SHMA | gpl-2.0 | 4,820 | 131 | codeparrot/github-code |
9ca8969b6ed652021aaab71eab10f05b5b3b74fbd3203204ad98fad07b9a2263 | /*
* Copyright (C) 2002-2020 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This p... | C | include/shell.h | warpcoil/em-dosbox | gpl-2.0 | 3,985 | 148 | codeparrot/github-code |
b22701fc3e2509c87a186c614bbb9658949379d048f3d7911e086e8b7b60cd1c | /*
* Clase usada para las consultas SQL, para que su resultado sean devueltos
* en instancias de esta clase
*/
package util;
import java.util.List;
/**
*
* @author ealvarez
*/
public class ClaseGeneral implements java.io.Serializable {
private Object campo1;
private Object campo2;
private Object ca... | Java | src/java/util/ClaseGeneral.java | newdigicash/WSPosgrado | gpl-2.0 | 11,472 | 533 | codeparrot/github-code |
6c85d1bb53073ef4e92c027485a77dc61fe0b2d1a9d03654506bb497c4cd68c1 | /* This file is part of KDevelop
Copyright 2002-2005 Roberto Raggi <roberto@kdevelop.org>
Copyright 2006 Adam Treat <treat@kde.org>
Copyright 2006-2008 Hamish Rodda <rodda@kde.org>
Copyright 2007-2008 David Nolden <david.nolden.kdevelop@art-master.de>
This library is free software; you can redistrib... | C | language/duchain/types/constantintegraltype.h | krf/kdevplatform | gpl-2.0 | 3,392 | 121 | codeparrot/github-code |
143c52a6132bbb032b0600671ac0bf00f0c236f3976b8887e7c4a507fd2b14a6 | "use strict";
$(function() {
$(document).ajaxError((event, xhr) => {
console.error(xhr.responseJSON.error_message);
});
});
function basename(str) {
let base;
base = str.substring(str.lastIndexOf("\/") + 1);
base = str.substring(str.lastIndexOf("\\") + 1);
return base;
}
function go... | JavaScript | app/static/gt/js/index.js | rubikonx9/valvis | gpl-2.0 | 803 | 38 | codeparrot/github-code |
2633148065c055976e9f7fbb40a700837206383d89b6be1984b1f5a3c6670696 | <?php if (!defined('APPLICATION')) exit();
/*
Copyright 2008, 2009 Vanilla Forums Inc.
This file is part of Garden.
Garden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at yo... | PHP | applications/dashboard/settings/class.hooks.php | nerdgirl/Forums-ILoveBadTV | gpl-2.0 | 7,984 | 140 | codeparrot/github-code |
7d1d350efbbfa933c4f2ead2dff8a9a9184382f681c46b93eefe9603c9f541c0 | <?php
/**
*
*
* Created on Sep 4, 2006
*
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Li... | PHP | includes/api/ApiMain.php | the3dsean/cryboards | gpl-2.0 | 54,496 | 1,811 | codeparrot/github-code |
052de4d7278f1d21f527b073370eef4dac790a56dee0cea0d56af5e16653ab7f | <?php
/**
* @version: $Id$
* @copyright: Copyright (C) 2006-2008 Elxis.org All rights reserved
* @package: Elxis
* @subpackage: Component Menus
* @author: Elxis Team
* @link: http://www.elxis.org
* @email: info@elxis.org
* @license: http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Elxis CMS is a Free Software
* @descrip... | PHP | administrator/components/com_menus/content_item_link/content_item_link.class.php | wbread/Elxis-2009.3_aphrodite_rev2681 | gpl-2.0 | 5,019 | 148 | codeparrot/github-code |
2e968354d207ae3fa31b654d509a2fd1babcbe8499ce56b72d352721aa521f34 | /*
** RopGadget - Release v4.0.0
** Allan Wirth - http://allanwirth.com/
** Jonathan Salwan - http://twitter.com/JonathanSalwan
** 2013-1-20
**
** 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;... | C | src/real_string_stringmode.c | fr34k8/ROPgadget | gpl-2.0 | 1,552 | 49 | codeparrot/github-code |
c64675ab73340b441c872dcff2736a9ecdeb7661959ba3e74ad46fb0dbc640bb | <?php
namespace Drupal\webform\Form;
use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\Html;
use Drupal\Core\Ajax\AjaxResponse;
use Drupal\Core\Ajax\AnnounceCommand;
use Drupal\Core\Ajax\HtmlCommand;
use Drupal\Core\EventSubscriber\MainContentViewSubscriber;
use Drupal\Core\Form\FormStateInterface... | PHP | web/modules/contrib/webform/src/Form/WebformAjaxFormTrait.php | CCI-Studios/Bluewater-Health | gpl-2.0 | 14,878 | 452 | codeparrot/github-code |
a8266b264f61b516151449b039b20cd26e8e40046e60fed4c42beea6e1329c4f | #include "allegro-main.h"
#include "ibm.h"
#include "video.h"
#include "allegro-video.h"
static PALETTE cgapal=
{
{0,0,0},{0,42,0},{42,0,0},{42,21,0},
{0,0,0},{0,42,42},{42,0,42},{42,42,42},
{0,0,0},{21,63,21},{63,21,21},{63,63,21},
{0,0,0},{21,63,63},{63,21,63},{63,63,63},
{0... | C | src/allegro-video.c | MoochMcGee/PCem-mooch | gpl-2.0 | 3,321 | 128 | codeparrot/github-code |
7750ece23ade12d75157c816e7fc428e7edb076c253a2559173ba8edaae57472 | /*
* cfg80211 - wext compat code
*
* This is temporary code until all wireless functionality is migrated
* into cfg80211, when that happens all the exports here go away and
* we directly assign the wireless handlers of wireless interfaces.
*
* Copyright 2008-2009 Johannes Berg <johannes@sipsolutions.net>
... | C | net/wireless/wext-compat.c | Jackeagle/android_kernel_sony_c2305 | gpl-2.0 | 41,253 | 1,532 | codeparrot/github-code |
63f03e903818bab2794cc9537a51ada016c0f20af615c5233d75ade4eb670c1f | <?php $TRANSLATIONS = array(
"Error (de)activating addressbook." => "Erro ao (des)ativar agenda.",
"id is not set." => "ID não definido.",
"Cannot update addressbook with an empty name." => "Não é possível atualizar sua agenda com um nome em branco.",
"No category name given." => "Nenhum nome de categoria foi dado.",
"... | PHP | apps/contacts/l10n/pt_BR.php | MARFMS/OwnCloud_NAC | gpl-2.0 | 13,332 | 247 | codeparrot/github-code |
bb51ff29177ce49aebb5ccc338240726873034fdff0034f6c685bfb0905dda97 | package fr.inria.astor.core.solutionsearch;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import com.martiansoftware.jsap.JSAPException;
import fr.inria.astor.core.entities.ModificationPoint;
import fr.inria.astor.core.entities.OperatorInstance;
import fr.inria.as... | Java | src/main/java/fr/inria/astor/core/solutionsearch/ExhaustiveSearchEngine.java | SpoonLabs/astor | gpl-2.0 | 4,176 | 133 | codeparrot/github-code |
5c9b50c26c6e675d45908b683a9695739da035dbce3f027034eb221a33d477ba | #include <filezilla.h>
#include "ipcmutex.h"
#include "Options.h"
#ifndef __WXMSW__
#include <errno.h>
int CInterProcessMutex::m_fd = -1;
int CInterProcessMutex::m_instanceCount = 0;
#endif
std::vector<CReentrantInterProcessMutexLocker::t_data> CReentrantInterProcessMutexLocker::m_mutexes;
CInterProcessMutex::CInter... | C++ | src/interface/ipcmutex.cpp | zedfoxus/filezilla-client | gpl-2.0 | 4,023 | 200 | codeparrot/github-code |
b1d7df5c5259ad8a7b472e2300cb3c6cde345368ad75cb0167b8b1f367c1b342 | /*
* Copyright (c) 2007 Pentaho Corporation. All rights reserved.
* This software was developed by Pentaho Corporation and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in compliance with the license. If you need a copy of the license,
... | Java | imeta2.x/imeta-src/imeta/src/main/java/com/panet/imeta/core/config/KettleConfig.java | panbasten/imeta | gpl-2.0 | 5,837 | 213 | codeparrot/github-code |
fb3290adfc5a78883923fa1310bb110706d51a09978bb6bbbcaea5923210c547 | /*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the im... | C++ | src/road.cpp | janisozaur/openttd | gpl-2.0 | 11,361 | 339 | codeparrot/github-code |
4394270945b8022ee6f3ec24b3f2343bdb4794945e6a266e45302c9d7f51d94c | /*
* Copyright (c) 2011-2013 University of California, Los Angeles
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be ... | C++ | daemon/pit/ndn-pit.cc | named-data/vndn | gpl-2.0 | 4,123 | 148 | codeparrot/github-code |
bc4fd4c43c376eb84c5f73d6ca563336a0f2b1e75e3b9b3001e0ddb8310f297a | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Text;
using System.Linq;
using LibDat.Files;
namespace LibDat
{
/// <summary>
/// Represents a list of BaseDat, built from an UInt64List
/// </summary>
public class ExternalDatList<T> : BaseData
... | C# | LibDat/ExternalDatList.cs | lucifering/PoeSmootherModCN | gpl-2.0 | 2,140 | 76 | codeparrot/github-code |
9cae2a1dc5f3e6f073167bc7e98177fb7cc7c052e8c9dcc0b515a7a44b9daf06 | /* ======================================================================
USER-GFMD - Elastic half-space methods for LAMMPS
https://github.com/Atomistica/user-gfmd
Copyright (2011-2016,2021)
Lars Pastewka <lars.pastewka@imtek.uni-freiburg>,
Tristan A. Sharp and others.
See the AUTHORS file in t... | C | src/cuda/fix_fire.h | Atomistica/user-gfmd | gpl-2.0 | 2,528 | 80 | codeparrot/github-code |
971a0411f07d8e6ab69628619a9d04a9fb6adf36cf70fe1c6e4f42f698506464 | namespace Web.DotW.API.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class EditPostModel
{
public int Id { get; set; }
[Required(ErrorMessage = "El campo Título es requerido.")]
[Display(Name = "Título")]
... | C# | DotW/Web.DotW.API/Models/PostModels.cs | npelle/seia-gpv | gpl-2.0 | 3,453 | 125 | codeparrot/github-code |
f0345d3d697d09196c9c2b34f4bdb33964bfa2079f356a529924d7cc57360e79 | /*
* Copyright (C) 1993-2018 Robert & Jeremy Laine
* See AUTHORS file for a full list of contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or... | C++ | src/formprint.cpp | sailcut/sailcut | gpl-2.0 | 6,522 | 243 | codeparrot/github-code |
f03aeb900f1be4c5e5c83957f389e17031b3efcf618750a510f79301c103cc45 | <?xml version="1.0" encoding="utf-8" ?>
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="g... | HTML | correlation-distr/doc/readme.html | pathak22/corr_clustering | gpl-2.0 | 32,044 | 745 | codeparrot/github-code |
00d3008ecde7ce1a3133408d2a610e58ac012da00f980112214697b2d663cd87 | <?php
/*
Plugin Name: Image Wall
Plugin URI: http://www.themodernnomad.com/image-wall-plugin/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=plugin_link
Description: Browse posts/pages by their images, displayed randomly on an infinitely scrollable page. The images link back to the posts... | PHP | tags/2.9/image-wall.php | katte/wordpressPlugin_ImageWall | gpl-2.0 | 36,991 | 768 | codeparrot/github-code |
05f7335f2d4a2fceb244d50b59d6f6bef8051d83d40509660d868a374fc6c98f | # ------------------------------------------------------- #
# util/Makefile ( NTHU CS MapleBBS Ver 3.10 ) #
# ------------------------------------------------------- #
# target : Makefile #
# create : 95/03/29 #
# update : 95/12/15 #
# ------------------------------------------------------- #
... | Makefile | bbs/src/daemon/Makefile | MapleCirc/Auroral | gpl-2.0 | 2,668 | 67 | codeparrot/github-code |
41a6295d9417330f82aa83a424087836b97867f2f85bc329e12685e00266bb4e | /*****************************************************************************
* Copyright (C) 2006 Imre Kelényi
*-------------------------------------------------------------------
* This file is part of SymTorrent
*
* SymTorrent is free software; you can redistribute it and/or modify
* it under the terms of the... | C | SymTorrentEngine/inc/kinetwork/NetworkConnection.h | imrekel/SymTorrent | gpl-2.0 | 6,212 | 255 | codeparrot/github-code |
56ccb7f1cbc91e47dce86aab7ce9389da4b2e41c6461d37a7cfd248b4f10dbcf | <html lang="en">
<head>
<title>Merged Signals - The GNU C Library</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The GNU C Library">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Defining-Handlers... | HTML | share/doc/gcc-linaro-arm-linux-gnueabihf/html/libc/Merged-Signals.html | eckucukoglu/arm-linux-gnueabihf | gpl-2.0 | 9,380 | 206 | codeparrot/github-code |
355f0436aa9bd86fda1aa5e579968a9c6fdf6788902a543deb0f3fa1c11040af | #pragma once
#include "Evento.h"
#include "CampoCosmico.h"
#include "AtaqueXenomorfo.h"
#include "AtaquePiratas.h"
#include "ChuvaMeteoritos.h"
#include "Alojamento_Capitao.h"
#include "Auto_Reparador.h"
#include "Beliche.h"
#include "Controlo_Escudo.h"
#include "Oficina_Robotica.h"
#include "Ponte.h"
#include "Propul... | C | JogoEstrategiaPOO/JogoEstrategiaPOO/Interacao.h | dyaremyshyn/QQALCMM- | gpl-2.0 | 1,047 | 47 | codeparrot/github-code |
de34dfb88085d5d59be7d93ff896be9cf7980a841c9d0f7ae34b488657838bb0 | #include <linux/irq.h>
#include <linux/irqdomain.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/slab.h>
static LIST_HEAD(irq_domain_list);
static DEFINE_MUTEX(irq_domain_mutex);
/**
* irq_domain_add() - Register an irq_domain
* @domain: ptr ... | C | kernel/irq/irqdomain.c | Dm47021/CAF-MSM-34 | gpl-2.0 | 8,512 | 313 | codeparrot/github-code |
0d148fb6ddab55b98f361751cc2caa2bf6d47979aa050ac0cc87891f74f53cfc | /**
* External dependencies
*/
import camelCase from 'lodash/string/camelCase';
import merge from 'lodash/object/merge';
/**
* Internal dependencies
*/
import i18n from 'lib/mixins/i18n';
import sortProducts from 'lib/products-values/sort';
function createPurchaseObject( purchase ) {
const object = {
id: Numbe... | JavaScript | client/lib/purchases/assembler.js | mmmavis/mofo-calypso | gpl-2.0 | 2,838 | 88 | codeparrot/github-code |
e4e922ff86a1b6fb404507e897ec5cc5dbc0ba5b1a237f5cc87199de3f52fea6 | <?php
/************************************************************
* This plugin was modified by Revmakx *
* Copyright (c) 2012 Revmakx *
* www.revmakx.com *
* *
************************************************************/
/*****************************************************... | PHP | wp-content/plugins/iwp-client/installer.class.php | SayenkoDesign/ividf | gpl-2.0 | 47,019 | 1,135 | codeparrot/github-code |
8930516a574a8bdd587d591abc245a25bc13911b9c228f8e62d8384030dc608f | #include <windows.h>
#include "Movie.h" // <vector> included through Movie.h
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "shared\version.h"
#include "CustomDLGs.h"
//#include "..\shared\ipc.h"
//extern TasFlags localTASflags;
Movie::Movie()
{
currentFrame = 0;
rerecordCoun... | C++ | source/application/Movie.cpp | Scepheo/Hourglass-Resurrection | gpl-2.0 | 17,501 | 530 | codeparrot/github-code |
f3490093eaf92d983f276d9af34120b9c6e099f30c64ccd9b6e2e5a313d01a92 | /* QuestDesigner - Open Legends's Project
Copyright (C) 2003-2005. Germán Méndez Bravo (Kronuz)
Copyright (C) 2001-2003. Open Legends's Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Fou... | C | Kernel/Memento.h | Kronuz/OpenLegends | gpl-2.0 | 5,111 | 129 | codeparrot/github-code |
70a0046716b0cccb164b6c407f02d7686a56a6b24bf2150781d6c4ac46d4738b | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>the terminator | The Big Novel</title>
<meta http-eq... | HTML | 55-2007/node/224/index.html | kfitz/machines | gpl-2.0 | 12,531 | 209 | codeparrot/github-code |
947360c3d69e6ee9cea8a8ebc0cae98dd8e374fcec0db069c32102be0b15dac6 | <?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
<div id="overview">
<form name="overview" method="post">
<select name="fUsername" onChange="this.form.submit();">
<?php
if ($fUsername == '') {
$fUsername = $_SESSION['sessid']['username'];
}
if (!empty ($list_admins))
{
for (... | PHP | templates/overview-action.php | stefjakobs/mailrelay-admin | gpl-2.0 | 2,006 | 60 | codeparrot/github-code |
711d6b0614773b9ed39322dd77b7fe775b629ca7140839bb8f800c1c4357b09e | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest08873.java | iammyr/Benchmark | gpl-2.0 | 2,531 | 74 | codeparrot/github-code |
31beca39004d4e03207d1205b63755292a9d689a25155057ba29b6fbe63de382 | /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Rosegarden
A MIDI and audio sequencer and musical notation editor.
Copyright 2000-2014 the Rosegarden development team.
Other copyrights also apply to some parts of this work. Please
see the AUTHORS file and individ... | C++ | src/gui/editors/segment/compositionview/CompositionItemHelper.cpp | nengxu/rosegarden | gpl-2.0 | 4,445 | 145 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.