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 |
|---|---|---|---|---|---|---|---|---|
8d12a5f343102228c40ef1250f6a7a4b487081ceb59f84f3efc9b36b96967bb3 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MediaElement.js 3.0 - audio/video unification library</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cl... | HTML | www/mediaelement/demo/index.html | carleton/reasoncms | gpl-2.0 | 12,502 | 277 | codeparrot/github-code |
2676b3a326f15331c730c964da2790e7d0907bd499dd455bd38cde4ab4b99108 | package com.cloupia.feature.purestorage.tasks;
import com.cisco.cuic.api.client.WorkflowInputFieldTypeDeclaration;
import com.cloupia.feature.purestorage.constants.PureConstants;
import com.cloupia.service.cIM.inframgr.TaskOutputDefinition;
import com.cloupia.service.cIM.inframgr.customactions.CustomActionLogger;
imp... | Java | UCSD 5.5 Connector/FlashArray UCSD Adapter and Source Code v1.2 (UCSD 5.5)/src/com/cloupia/feature/purestorage/tasks/DeleteHostTask.java | purestorage-partnerconnect/ucs-director-plugin | gpl-2.0 | 4,846 | 128 | codeparrot/github-code |
274e162087d919a8eed2ac8a7f3352ecde44335935e4821f130694c27bddb117 | // Copyright 2019 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <array>
#include "core/frontend/mic.h"
#ifdef HAVE_CUBEB
#include "audio_core/cubeb_input.h"
#endif
namespace Frontend::Mic {
constexpr std::array<u8, 16> NOISE_SAMPLE_8_BIT = {0... | C++ | src/core/frontend/mic.cpp | citra-emu/citra-canary | gpl-2.0 | 2,377 | 87 | codeparrot/github-code |
db1e3aa9955826c8ca48bbcfa4d3a65c13dbaa4d0b0e5517f00b24470e830213 | /* $Id$ */
/*
* 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... | C++ | src/spriteloader/grf.cpp | TeddyDesTodes/openttd | gpl-2.0 | 11,886 | 336 | codeparrot/github-code |
b6f1fffc0d52da7f03676c855642966c6cc0c7907335f2f502d5dbb79778e95b | /*
* Copyright 2009 Glencoe Software, Inc. All rights reserved.
* Use is subject to license terms supplied in LICENSE.txt
*/
package ome.formats.importer;
import omero.model.Pixels;
/**
* Calculates the various dimensions of an image from a {@link Pixels} instance.
*
* @since Beta4.1
*/
public class Impo... | Java | components/blitz/src/ome/formats/importer/ImportSize.java | knabar/openmicroscopy | gpl-2.0 | 2,895 | 99 | codeparrot/github-code |
3e808b187ae0572689734f26f7b04c580154b5c6ca012516d927ab483d7e7bd7 | /*
* Copyright (C) 2007-2012 Sourcefire, Inc.
*
* Authors: Tomasz Kojm
*
* 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... | C | clamscan/clamscan.c | Distrotech/clamav | gpl-2.0 | 12,594 | 291 | codeparrot/github-code |
b850f7dcaee446a338c92438fff4ec10167ac53137856be4ea463a8c40a5ed22 | /*
* Copyright (C) 2008 Ronald Lamprecht
*
* 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 d... | C++ | src/items/Umbrella.hh | Feuermurmel/Enigma | gpl-2.0 | 1,773 | 58 | codeparrot/github-code |
aaf76c1da07c0b2450dc48291f94fb42c857c94711fc22e3c7790c67d1a80ca9 | /*
* Simulator of microcontrollers (serial.cc)
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
*
* To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
*
*/
/* This file is part of microcontroller simulator: ucsim.
UCSIM is free software; you can redistribute it and/or modify
it under the term... | C++ | sim/ucsim/s51.src/uc390hw.cc | darconeous/sdcc | gpl-2.0 | 10,059 | 312 | codeparrot/github-code |
4d317fe34460c213ccff83f576530253cbe1e84ccd7dfdd5c59a50ad1dff22c2 | /**
* Ext.ux.grid.GridFilters v0.2.7
**/
Ext.namespace("Ext.ux.grid");
Ext.ux.grid.GridFilters = function(config){
this.filters = new Ext.util.MixedCollection();
this.filters.getKey = function(o){return o ? o.dataIndex : null};
for(var i=0, len=config.filters.length; i<len; i++)
this.addFilter(config.filter... | JavaScript | components/com_ose_cpu/extjs/grid/GridFilters.js | bundocba/unitedworld | gpl-2.0 | 9,021 | 354 | codeparrot/github-code |
ce9645af7aa87ed66ab0303b847b67382b7f7ef338a155bcfd7327d9a5609f50 | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 Andreas Gaida
Copyright (C) 2008 Ralph Schreyer
Copyright (C) 2008 Klaus Spanderen
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://q... | C++ | Quantum Trading Platforms/QuantLib-1.4/ql/methods/finitedifferences/operators/secondordermixedderivativeop.hpp | EuroPlusFinance/Software | gpl-2.0 | 1,383 | 41 | codeparrot/github-code |
ca4942f8c6c768588f532fdb24ee0d74f4e3e2658463cc7bd62834be8d4aa405 | /*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 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/cmd/synergys/MSWindowsServerTaskBarReceiver.cpp | nyetwurk/synergy | gpl-2.0 | 11,508 | 409 | codeparrot/github-code |
551e13f7fa7005e3a4d18c7a61492dfd56b389b8afb6b587ebc33a6862cddb3c | /*
Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
2004, 2005 Rob Buis <buis@kde.org>
Copyright (C) 2007 Eric Seidel <eric@webkit.org>
This file is part of the WebKit project
This library is free software; you can redistribute it and/or
modify it under th... | C++ | qtopiacore/qt/src/3rdparty/webkit/WebCore/ksvg2/svg/SVGPathSegList.cpp | liuyanghejerry/qtextended | gpl-2.0 | 5,418 | 149 | codeparrot/github-code |
f5e649d651884951c0f6c1ebc384fa2992850976a0f3f1d2c86a62a7f13af72b | /* linux/arch/arm/mach-s5pv210/setup-sdhci.c
*
* Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* S5PV210 - Helper functions for settign up SDHCI device(s) (HSMMC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General... | C | arch/arm/mach-s5pv210/setup-sdhci.c | dalinaum/kernel-180l | gpl-2.0 | 11,051 | 427 | codeparrot/github-code |
19576da5d5a8ea0f071290994a237dba719e14fcff5be23a45775da649aeb380 | /*
* This file is part of the DOM implementation for KDE.
*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004 Apple Computer, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Li... | C | qtopiacore/qt/src/3rdparty/webkit/WebCore/html/HTMLImageElement.h | liuyanghejerry/qtextended | gpl-2.0 | 3,623 | 131 | codeparrot/github-code |
f2b49aff80011efebd4f51672afd65233e8874e2ca346d6b22784ba3202e2acc | /*
* ibuf_driver: A test driver for the infinite string structure.
*
* Copyright (c) 2006, Mike Mueller & Bob Rossi
* Subject to the terms of the GNU General Public Licence
*/
/* Standard Includes */
#if HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#if HAVE_STDIO_H
#include <stdio.h>
#endif /* HA... | C | lib/adt/ibuf_driver.c | 0x90sled/cgdb | gpl-2.0 | 5,024 | 233 | codeparrot/github-code |
a4ba42f229bd8f662d4d460fa83715736776615d7eaaec0cbd9a90826752be3b | /***************************************************************************
Node.h - description
-------------------
copyright : (C) 2004 by Marco Hugentobler
email : mhugent@geo.unizh.ch
***************************************... | C | src/analysis/interpolation/Node.h | alexbruy/QGIS | gpl-2.0 | 2,236 | 79 | codeparrot/github-code |
e2a3327c47c5c636e91f0899b4b0c038875d5df2e323001f14f1e341b26abcca | /* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-... | C | src/PERI/compute_plasticity_atom.h | akohlmey/lammps | gpl-2.0 | 1,717 | 67 | codeparrot/github-code |
8a5d232f59eb42620809ca4bf46148c3f4d83b2b2fb952999e6a0dd0062ef0c7 | /*
Low Level Linux Driver for the IBM Microchannel SCSI Subsystem for
Linux Kernel >= 2.4.0.
Copyright (c) 1995 Strom Systems, Inc. under the terms of the GNU
General Public License. Written by Martin Kolinek, December 1995.
Further development by: Chris Beauregard, Klaus Kudielka, Michael Lang
See the file Docum... | C | linux-2.6.x/drivers/scsi/ibmmca.c | ipwndev/DSLinux-Mirror | gpl-2.0 | 97,224 | 2,517 | codeparrot/github-code |
138bb874924424aedc84f7e0be333fc3cd47fe41436f8244349e53e65d1eae16 | /*
QShaderEdit - Simple multiplatform shader editor
Copyright (C) 2007 Ignacio Castaño <castano@gmail.com>
Copyright (C) 2007 Lars Uebernickel <larsuebernickel@gmx.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publis... | C++ | src/qshaderedit.cpp | djrtl/qshaderedit | gpl-2.0 | 24,000 | 869 | codeparrot/github-code |
90477fec038d69a95f3d9ab938c059403a7712a221f48b75d201065659a91c9d | /*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public Li... | C++ | src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp | rjsingh/graal | gpl-2.0 | 13,875 | 473 | codeparrot/github-code |
21176e94c010644112f76c4d66bb4170933f1085e2c76a90d265e3a4cb80cab6 | import base64
import json
from pcs_test.tools.command_env.mock_node_communicator import (
place_multinode_call,
)
class FilesShortcuts:
def __init__(self, calls):
self.__calls = calls
def put_files(
self,
node_labels=None,
pcmk_authkey=None,
corosync_authkey=None,... | Python | pcs_test/tools/command_env/config_http_files.py | feist/pcs | gpl-2.0 | 4,688 | 145 | codeparrot/github-code |
d2b8d7419f6692190814c9355c50e5b680602a748775798be312a47c8ad8053d | <?php
if ( ! class_exists( 'ITSEC_Core_Setup' ) ) {
class ITSEC_Core_Setup {
public function __construct() {
global $itsec_setup_action;
if ( isset( $itsec_setup_action ) ) {
switch ( $itsec_setup_action ) {
case 'activate':
$this->execute_activate();
break;
case 'upgrade':
... | PHP | wp-content/plugins/ithemes-security-pro/pro/core/setup.php | thomasbodin/baltazare-test | gpl-2.0 | 1,198 | 84 | codeparrot/github-code |
e3c294025fb6359e4445f7a0b343f0f0549e8b47b91ec86b8c14e52a9dba3da5 | // { dg-do run { target c++11 } }
// 2010-03-10 Paolo Carlini <paolo.carlini@oracle.com>
//
// Copyright (C) 2010-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Pu... | C++ | libstdc++-v3/testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc | Gurgel100/gcc | gpl-2.0 | 1,378 | 47 | codeparrot/github-code |
92168b8667a11c8b0beb8c662b066fac6a75fe520ac8684da994eebc4e6347b0 | /***************************************************************************
qgswcscapabilities.cpp - WCS capabilities
-------------------
begin : 17 Mar, 2005
copyright : (C) 2005 by Brendan Morley
email : morb at ozemail dot com dot... | C++ | src/providers/wcs/qgswcscapabilities.cpp | SrNetoChan/QGIS | gpl-2.0 | 45,080 | 1,346 | codeparrot/github-code |
09d0a58bbaad6339a608b31a73b85aea258d5c39b80dfbe8ba9c3d4b89acabcf | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | C++ | src/server/game/AI/CoreAI/TotemAI.cpp | Luis-Gomez/TrinityCore | gpl-2.0 | 2,935 | 97 | codeparrot/github-code |
adafefae22a76a92fc16b91e100fcbf67864596c1ebf079752224db9dbf39db3 | /***************************************************************************
qgsellipsoidutils.cpp
----------------------
Date : April 2017
Copyright : (C) 2017 by Nyall Dawson
email : nyall dot dawson at gmail dot com
*************************************************... | C++ | src/core/qgsellipsoidutils.cpp | medspx/QGIS | gpl-2.0 | 8,640 | 239 | codeparrot/github-code |
fc07d44f5146f74763204801489f9a3601ec7c079cacc4c22be94fb9a08f963b | // -*- C++ -*-
// Copyright (C) 2005-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License as published by the Free Software
// Foundation; either version 3... | C++ | libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp | Gurgel100/gcc | gpl-2.0 | 4,095 | 138 | codeparrot/github-code |
fe7cf75fbb4465b0413612426831cd8cda23c99a7fa56621f34109a882b37d41 | // license:BSD-3-Clause
// copyright-holders:Aaron Giles, Vas Crabb
//============================================================
//
// uimetrics.c - Win32 debug window handling
//
//============================================================
#include "uimetrics.h"
#include "strconv.h"
ui_metrics::ui_metrics(osd... | C++ | src/osd/modules/debugger/win/uimetrics.cpp | RJRetro/mame | gpl-2.0 | 2,085 | 72 | codeparrot/github-code |
5f0e9471c390488eaee744562d12a680c38e5cbd9c2603c6090cb4d71bae1af3 | /*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the... | C | apps/app_transfer.c | mojolingo/asterisk | gpl-2.0 | 3,669 | 147 | codeparrot/github-code |
4ff3cab7b530c5c9b03395f24efadbcb21bd11c33c144e50d40be5ba9027a188 | /*
* sd.c Copyright (C) 1992 Drew Eckhardt
* Copyright (C) 1993, 1994, 1995, 1999 Eric Youngdale
*
* Linux scsi disk driver
* Initial versions: Drew Eckhardt
* Subsequent revisions: Eric Youngdale
* Modification history:
* - Drew Eckhardt <drew@colorado.edu> o... | C | drivers/scsi/sd.c | RoadRunnr/net-next | gpl-2.0 | 93,739 | 3,510 | codeparrot/github-code |
47d23a90edd311d797763709ca5575207315788f0d7bcd086405d1ad9daf318c | #! /usr/bin/perl -w
# Copyright (C) 2010 Rob Norris <rw_norris@hotmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later ver... | Perl | tools/images2waypoints.pl | viking-gps/viking | gpl-2.0 | 8,631 | 377 | codeparrot/github-code |
e811073ea795cf87d52c80ba21b99288d365744497ce81c1e180fb3e83489172 | /*
* $Id$
*
* Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free S... | Java | test/jtreg/com/sun/javatest/TestFinderQueue.java | Distrotech/icedtea7 | gpl-2.0 | 24,262 | 715 | codeparrot/github-code |
9acbe46a3c71fab3d53f27df3b7d13205eaa93455e7909500d610d182f1d6738 | <?php
defined( '_JEXEC' ) or die( 'Restricted index access' );
function outputTabModules(&$document, $module, $counter) {
$max_mods_per_row = $document->params->get("maxModsPerRow", 3);
if ($document->countModules($module["module"]) > $max_mods_per_row) {
$cols = $max_mods_per_row;
} else {
$cols = $docum... | PHP | templates/trend_redesign/rt_tabmodules.php | healthcommcore/trend | gpl-2.0 | 1,951 | 72 | codeparrot/github-code |
1bfb33806603af6a2321a624f7ea808d003a07777929b8b4b554c882ae471dbb | # orm/exc.py
# Copyright (C) 2005-2020 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""SQLAlchemy ORM exceptions."""
from .. import exc as sa_exc
from .. import util
NO_ST... | Python | stdm/third_party/sqlalchemy/orm/exc.py | gltn/stdm | gpl-2.0 | 6,616 | 207 | codeparrot/github-code |
a42aa3329ca83846ca21854c69746bf8ccefad6beb66a62d7f7a904c4d5f8cb8 | /*
* Summary: error handling
* Description: the API used to report errors
*
* Copy: See Copyright for the status of this software.
*
* Author: Daniel Veillard
*/
#include <libxml/parser.h>
#ifndef __XML_ERROR_H__
#define __XML_ERROR_H__
#ifdef __cplusplus
extern "C" {
#endif
/**
* xmlErrorLevel:
*
* Indic... | C | src/public/win32-dev/libxml2-dev-2.6.24/include/libxml/xmlerror.h | gabrieldelsaint/uol-messenger | gpl-2.0 | 36,242 | 936 | codeparrot/github-code |
ad6b07e6583b494f430a1cf6c7ff575ab92ba6786e1f10a96feb34d5d0e42f8e | /*
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be ... | C | fs/xfs/xfs_buf_item.c | arokux/linux | gpl-2.0 | 32,900 | 1,154 | codeparrot/github-code |
6c224cb438ccf8bfe1f2fca5f648518a3a34796b31c554ddfa9cd69ca3fcfed2 | /* This file is part of the ScriptDev2 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 opti... | C++ | src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/boss_renataki.cpp | killerwife/mangos-tbc | gpl-2.0 | 3,943 | 133 | codeparrot/github-code |
8eadb0c4076c92ee0d8453bfa211a7142f9369efcd9feb86b3559553066fa2b7 | #include "rar.hpp"
EncodeFileName::EncodeFileName()
{
Flags=0;
FlagBits=0;
FlagsPos=0;
DestSize=0;
}
void EncodeFileName::Decode(char *Name,byte *EncName,size_t EncSize,wchar *NameW,
size_t MaxDecSize)
{
size_t EncPos=0,DecPos=0;
byte HighByte=EncName[EncPos... | C++ | src/windows/File_Extractor/unrar/encname.cpp | Dr-Shadow/desmume | gpl-2.0 | 1,377 | 58 | codeparrot/github-code |
557d91ebbe8a59921652f4e28d6fbc0cb27c57d7b279ad3ffa536420a1e22f97 | <?php
class acf_field_{{field_name}} extends acf_Field
{
// vars
var $settings, // will hold info such as dir / path
$defaults; // will hold default field options
/*--------------------------------------------------------------------------------------
*
* Constructor
* - This function is called when the fie... | PHP | wp-content/plugins/acf-column/{{field_name}}-v3.php | ilfungo/bts | gpl-2.0 | 8,693 | 353 | codeparrot/github-code |
52c988508fbd6a03e80e435505d62112e7b5093ea9777e49857e588d9ee0f661 | // { dg-do compile { target c++11 } }
// Copyright (C) 2016-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Found... | C++ | libstdc++-v3/testsuite/20_util/is_constructible/77395.cc | Gurgel100/gcc | gpl-2.0 | 1,440 | 55 | codeparrot/github-code |
46ba8af088b07bc0e08b313c476693781e15e9b2e5e2d5b943e935d6806cf411 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>Txt2tags User Guide</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="index.html">
<LINK REL=... | HTML | website/userguide/PartVIIMasteringSettings.html | farvardin/txt2tags-test | gpl-2.0 | 2,557 | 74 | codeparrot/github-code |
689ee1747b302c9cb682cdfc3d4b4781774f387d2a8f1d97336ef58abf49cbd9 | /* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | drivers/video/msm/mdp4_overlay_writeback.c | StanTRC/lge-kernel-e400 | gpl-2.0 | 19,504 | 810 | codeparrot/github-code |
c8c0f12478f6571f56bba16931422b16509301e4cf244e3374665ad99b862d7d | /*
mkvpropedit -- utility for editing properties of existing Matroska files
Distributed under the GPL v2
see the file COPYING for details
or visit http://www.gnu.org/copyleft/gpl.html
Written by Moritz Bunkus <moritz@bunkus.org>.
*/
#ifndef MTX_COMMON_CLI_PARSER_H
#define MTX_COMMON_CLI_PARSER_H
#inc... | C | src/common/cli_parser.h | egoitzro/mkvtoolnix | gpl-2.0 | 2,263 | 82 | codeparrot/github-code |
f341b2e74e3bb77ca32a4d327372df983f4967a268c00517a689a391a636f805 | /*
* H.263 parser
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1... | C | vlc/contrib/android/ffmpeg/libavcodec/h263_parser.c | DDTChen/CookieVLC | gpl-2.0 | 2,425 | 92 | codeparrot/github-code |
ec7e65962517cd5c175e1687dd97fb2f9d3ec124f716e4e8b15948c9ea346d53 | /*
* Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... | C++ | src/shared/Database/SqlDelayThread.cpp | koksneo/MaNgOs | gpl-2.0 | 1,949 | 75 | codeparrot/github-code |
a03d7f917bca5f5e8c2a29d24bca9f1cdad252d4a83d5d8d2a67bf16bc400206 | /****************************************************************************
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | JavaScript | mahjong/test/super_mahjong/frameworks/cocos2d-html5/cocos2d/core/platform/CCLoaders.js | zero5566/super_mahjong | gpl-2.0 | 5,370 | 157 | codeparrot/github-code |
dd27d7d103c747aa70712d6109cfd9fd7dd72ae9bbf123e4b04e11156e85e4d5 | // { dg-do run { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin *-*-darwin* powerpc-ibm-aix* } }
// { dg-options " -std=gnu++11 -pthread" { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* powerpc-ibm-aix* } }
// { dg-options " -std=gnu++11 -pthreads" { targ... | C++ | libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc | mageec/mageec-gcc | gpl-2.0 | 2,569 | 81 | codeparrot/github-code |
78e1c0960c98e5b6eae7b0321007e41460d1b1a65bc6b0d1ead34978e195f300 | /*
* PF_INET6 socket protocol family
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* Adapted from linux/net/ipv4/af_inet.c
*
* Fixes:
* piggy, Karl Knutson : Socket protocol table
* Hideaki YOSHIFUJI : sin6_scope_id support
* Arnaldo Melo : check proc_net_create return,... | C | net/ipv6/af_inet6.c | clearwater/chumby-linux | gpl-2.0 | 26,555 | 1,156 | codeparrot/github-code |
de84e91bcce09299cecc7b1c2b701ab1bb5f1ae1a993233bef364a7b8fc138ad | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Q... | C++ | qtopiacore/qt/src/gui/painting/qdrawhelper_sse2.cpp | liuyanghejerry/qtextended | gpl-2.0 | 7,073 | 199 | codeparrot/github-code |
22156df1afe581d395973efef47d567a9fa0e884310b242ca338d5650c164d1b | /*
* jabberd - Jabber Open Source Server
* Copyright (c) 2002 Jeremie Miller, Thomas Muldowney,
* Ryan Eatmon, Robert Norris
*
* 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 Found... | C | storage/authreg_db.c | jas4711/jabberd2 | gpl-2.0 | 9,162 | 354 | codeparrot/github-code |
84fc5835947aeee00906b6a9e7350e71afc79bc361a44370000da5fad8c62a35 | <?php
/**
* @file
* Contains \Drupal\panelizer\Plugin\Field\FieldFormatter\PanelizerFormatter.
*/
namespace Drupal\panelizer\Plugin\Field\FieldFormatter;
use Drupal\Component\Utility\Html;
use Drupal\Core\Field\FieldItemInterface;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Field\FormatterBase;
... | PHP | src/Plugin/Field/FieldFormatter/PanelizerFormatter.php | dsnopek/panelizer-d8-prototype | gpl-2.0 | 1,489 | 67 | codeparrot/github-code |
c174fd65007c12c54c4b80f22dd51b2fb3c3eada918e34da2fcd000cce38d3b2 | /*
* Copyright(c) 2008 - 2009 Atheros Corporation. All rights reserved.
*
* Derived from Intel e1000 driver
* Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publish... | C | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | bgat/linux-multi-v7 | gpl-2.0 | 79,436 | 2,809 | codeparrot/github-code |
768d9bf5fd5267889e212018116dcb6a66a26bcf90d85d5ac02169a7ab10a73d | /*
* Code to deal with the PReP residual data.
*
* Written by: Cort Dougan (cort@cs.nmt.edu)
* Improved _greatly_ and rewritten by Gabriel Paubert (paubert@iram.es)
*
* This file is based on the following documentation:
*
* IBM Power Personal Systems Architecture
* Residual Data
* Document Number: PPS-AR-FW... | C | arch/ppc/platforms/residual.c | namgk/kernel-tut | gpl-2.0 | 28,926 | 1,035 | codeparrot/github-code |
9ef74864d7a18cc3afe43a16871c4d6a72fe2f0622dd8d641403d08c87c613ae | // Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
// This file is UGLY (full of #ifdef) so that it can be used with both GC and
// Wii version of AX. Maybe it would be better to abstract away the parts that
// can be made common.
#pragma once
#if !defined(... | C | Source/Core/Core/HW/DSPHLE/UCodes/AXVoice.h | asuradaimao/dolphin | gpl-2.0 | 16,716 | 554 | codeparrot/github-code |
fd5f6b389c964668b4fa99174397f129213af613065ce2887e6e94ecc65d4a28 | package java_programs_test;
public class QuicksortTest {
@org.junit.Test(timeout = 2000)
public void test_0() throws java.lang.Exception {
java.util.ArrayList result = java_programs.QUICKSORT.quicksort(new java.util.ArrayList(java.util.Arrays.asList(1,2,6,72,7,33,4)));
String resultFormatted =... | Java | examples/quixbugscompiled/quicksort/src/java_programs_test/QuicksortTest.java | SpoonLabs/astor | gpl-2.0 | 5,668 | 97 | codeparrot/github-code |
3a5ce7aebb7798a5af5773a2855f4d1df429bbfdaec3803f9b0812babefc6bad | <?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* This script is distributed under the GNU General Public License 2 or later.
*
* @filesource attachmentupload.php,v $
*
* Upload dialog for attachments
* Multiple file upload via HTML5 attribute
**/
require_once('../../config.inc.php... | PHP | lib/attachments/attachmentupload.php | rickmce/testlink-code | gpl-2.0 | 3,026 | 108 | codeparrot/github-code |
2f083b471a594bc618a530d69b1ec6dbea1545b83e0beb90792b61766a02872b | // -*- C++ -*-
#ifndef DTHREADS_XPERSIST_H
#define DTHREADS_XPERSIST_H
/*
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 versi... | C | src/include/xpersist.h | emeryberger/dthreads | gpl-2.0 | 31,147 | 991 | codeparrot/github-code |
ddd7eb2d2b026f7958ea6e6139602374c682b2e89ada74ec6b45eb74732f23a6 | /*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | C++ | src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp | bobi95/CustomScripts | gpl-2.0 | 56,177 | 1,378 | codeparrot/github-code |
3989bcaf86c348e4b25b12b5208339199b9298a8720b9cb30cbee4d8eab5ea84 | /*
* Driver for CM3602A30P Proximity and Light Sensor chip whick works on MSM7225/MSM7227.
*
* Copyright 2008 Hanson Lin and James Tsai, FIH/CMCS
*
* 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 ... | C | drivers/input/lightproxisensor/LPSCM3602.c | z71/android_kernel_commtiva_z71 | gpl-2.0 | 14,192 | 555 | codeparrot/github-code |
6f36b703a5ccb331475a65b5cce91201360fd54822d4924a6ddd5c7a90cae0f4 | /* Implementation of the MAXLOC intrinsic
Copyright (C) 2002-2021 Free Software Foundation, Inc.
Contributed by Paul Brook <paul@nowt.org>
This file is part of the GNU Fortran runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU General... | C | libgfortran/generated/maxloc1_8_i8.c | Gurgel100/gcc | gpl-2.0 | 14,592 | 608 | codeparrot/github-code |
635b404e173c5bd8e8cc1786471b50e2632b3a61ba8113ee3c3f120e2232860e | <?php
/**
* XOOPS password recovery
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the h... | PHP | htdocs/lostpass.php | mambax7/XoopsCore25 | gpl-2.0 | 4,072 | 98 | codeparrot/github-code |
836801f0dd1f0e01915e4043c15e828ed49bc8c0cfcf680e85cc0cfe870dfc80 | package org.telegram.ui.Components;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.Drawable;
import android.text.style.ReplacementSpan;
import androidx.annotation.NonNull;
import android... | Java | TMessagesProj/src/main/java/org/telegram/ui/Components/ColoredImageSpan.java | tkpb/Telegram | gpl-2.0 | 1,502 | 44 | codeparrot/github-code |
1d3cafc01fe8a7bca6ffb4f5807c04f2ca3d4b6174eac0862bda78029bbc65c7 | /* Utility to update paths from internal to external forms.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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; either ... | C | gcc/prefix.c | Gurgel100/gcc | gpl-2.0 | 8,865 | 352 | codeparrot/github-code |
54bb992848f5eda2a39f62a974936850e775d314b77eca27deb9b7597a5f2a97 | /* format_term.c - terminal output format module
* Copyright (C) 2000-2009 Jason Jordan <shnutils@freeshell.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | C | src/format_term.c | alexkhmara/shntool | gpl-2.0 | 1,544 | 63 | codeparrot/github-code |
37ce121141cc66c7b8b6e218eead5d0e62117e9881baee53ee8158aa951f4352 | /* BFD back-end for Motorola MCore COFF/PE
Copyright (C) 1999-2016 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
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 F... | C | bfd/coff-mcore.c | freak97/binutils | gpl-2.0 | 18,155 | 563 | codeparrot/github-code |
a39b5d0f49e0a22dbb1112956115a03cb8396e5e76de706f7f434946eb844e52 | package com.bigdata.rdf.graph.impl.ram;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.log4j.Logger;
import com.bigdata.rdf.graph.IGASEngine;
import com.bigdata.rdf.graph.IGraphAccessor;
import com.bigdata.rdf.graph.impl.ram.RAMGASEngine.RAMGraph;
import com.bigdata.rdf.graph.impl.ram.RAMGASEngi... | Java | bigdata-gas/src/main/java/com/bigdata/rdf/graph/impl/ram/RAMGASRunner.java | rac021/blazegraph_1_5_3_cluster_2_nodes | gpl-2.0 | 3,365 | 131 | codeparrot/github-code |
49514aa68c45bc0a3fb1941a52500babc36c12bb33608b525f171162e3feba35 | <?php
/**
* File that stores api calls for tag api calls
* @package apicalls
*/
/**
* Allows access to the api requests relating to tags
* @package apicalls
*/
class lastfmApiTag extends lastfmApi {
/**
* Stores the config values set in the call
* @access public
* @var array
*/
public $co... | PHP | web_appli/pmb/opac_css/admin/connecteurs/in/lastfm/lastfmapi/api/tag.php | Gambiit/pmb-on-docker | gpl-2.0 | 10,900 | 346 | codeparrot/github-code |
fdb5485b8ed14b7ed3491d91c5a7e48feedfa0a1dacbe8f2a4a938534507ddf8 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C | video/avi_decoder.h | LasDesu/scummvm | gpl-2.0 | 7,228 | 290 | codeparrot/github-code |
e17b6f3026d4106a10ac00213ed78b7b5cf2147171096f3b2bb603929140ff26 | <?php
/**
* This module contains the HTTP fetcher interface
*
* PHP versions 4 and 5
*
* LICENSE: See the COPYING file included in this distribution.
*
* @package OpenID
* @author JanRain, Inc. <openid@janrain.com>
* @copyright 2005-2008 Janrain, Inc.
* @license http://www.apache.org/licenses/LIC... | PHP | site2011/libraries/openid/Auth/Yadis/HTTPFetcher.php | viollarr/alab | gpl-2.0 | 3,998 | 150 | codeparrot/github-code |
0b2cddfad3f26f64cb0601d9c9aef493154d8f8d66adc1182041c5635c6f6718 | /*
* Mac80211 STA API for ST-Ericsson CW1200 drivers
*
* Copyright (c) 2010, ST-Ericsson
* Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
*
* 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 ... | C | drivers/net/wireless/cw1200/sta.c | LairdCP/laird-linux-backports | gpl-2.0 | 65,658 | 2,422 | codeparrot/github-code |
a8b6b0e96a0b94cee03856dbb6e1322f3cf3b3ef72912b393bb07f5a561669a1 | #include <rtthread.h>
#include <rtgui/dc_hw.h>
#include <rtgui/image.h>
#include <rtgui/rtgui_system.h>
#include <rtgui/image_hdc.h>
#include <rtgui/blit.h>
#define HDC_MAGIC_LEN 4
struct rtgui_image_hdc
{
rt_bool_t is_loaded;
/* hdc image information */
rt_uint16_t byte_per_pixel;
rt_uint16_t ... | C | software/rtthread_examples/rtgui/common/image_hdc.c | kevin988/RealBoard4088 | gpl-2.0 | 9,923 | 349 | codeparrot/github-code |
b4ca58e8acde274c850a32ec95efa7bfcb7c78864cd39af167180f4171d0e4e1 | <?php
defined('SAGEPAY_SDK_PATH') || exit('No direct script access.');
/**
* Common utility functions shared by all SagePay interfaces
*
* @category Payment
* @package Sagepay
* @copyright (c) 2013, Sage Pay Europe Ltd.
*/
class SagepayCommon
{
static protected $nonSensitiveRequestDataArray = array("VPSPro... | PHP | wp-content/plugins/events-made-easy/payment_gateways/sagepay/api/lib/classes/common.php | domowit/BOOTSTRAP_V2 | gpl-2.0 | 13,990 | 383 | codeparrot/github-code |
418a1929d6b24b6a64a08a7414f28ca42956be5f0265ebe46f0a894d082aec0f | /*
* snmp_client.h
*/
/***********************************************************
Copyright 1988, 1989 by Carnegie Mellon University
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
pr... | C | user/net-snmp/include/net-snmp/library/snmp_client.h | rhuitl/uClinux | gpl-2.0 | 3,694 | 94 | codeparrot/github-code |
c0e486d134dee4200c19dda2b1e73c72384d983d51e54747a5f2ae4f603e43d5 | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
script.skin.helper.service
Helper service and scripts for Kodi skins
mainmodule.py
All script methods provided by the addon
'''
import xbmc
import xbmcvfs
import xbmcgui
import xbmcaddon
from skinsettings import SkinSettings
from simplecache import SimpleC... | Python | script.skin.helper.service/resources/lib/main_module.py | mrquim/mrquimrepo | gpl-2.0 | 31,819 | 696 | codeparrot/github-code |
766c77a0819e8d3de2d23b7791e5746ee6b745e85c99aab78822f2315c7172b9 | /**
*
*/
package org.dllearner.algorithms.isle.index;
import org.semanticweb.owlapi.model.OWLEntity;
/**
* @author Lorenz Buehmann
*
*/
public class SemanticAnnotation extends Annotation{
private OWLEntity entity;
public SemanticAnnotation(Annotation annotation, OWLEntity entity) {
super(annotation.getR... | Java | components-ext/src/main/java/org/dllearner/algorithms/isle/index/SemanticAnnotation.java | AKSW/DL-Learner | gpl-3.0 | 1,197 | 60 | codeparrot/github-code |
7604bbf7ee0eb59fff71ee07b74d930b04230d94d7895462787dc82144b4b4ec | /*
* Copyright (C) 2008 Search Solution Corporation. All rights reserved by Search Solution.
*
* 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/broker/broker_list.h | andrei14vl/cubrid | gpl-3.0 | 2,355 | 67 | codeparrot/github-code |
e40287a48ba044adb33844cc9f43733bf0e66726ca6c02f6b45f149e5acd60f5 | /* Example:
* root -l examples/EventDisplay.C'("cards/delphes_card_CMS.tcl","delphes_output.root")'
* root -l examples/EventDisplay.C'("cards/delphes_card_FCC_basic.tcl","delphes_output.root","ParticlePropagator","ChargedHadronTrackingEfficiency","MuonTrackingEfficiency","Ecal,Hcal")'
*/
#ifdef __CLING__
R__LOAD_LI... | C++ | examples/EventDisplay.C | misho104/delphes | gpl-3.0 | 1,759 | 46 | codeparrot/github-code |
3f1c017c6104d031bae4c5336a95a0fb4232ff3863c266fff4afb640b434e854 | /*
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.data.QueryReadStore"]){
dojo._hasResource["dojox.data.QueryReadStore"]=true;
dojo.provide("doj... | JavaScript | web/resources/scripts/dojo/dojox/data/QueryReadStore.js | sguazt/dcsj-sharegrid-portal | gpl-3.0 | 5,990 | 256 | codeparrot/github-code |
805ec6d87f1c799931fb1d2104814d16e24448167a705b966dd3f3d5d10da0c0 | /*
* Copyright (c) 2013 Mark Liversedge (liversedge@gmail.com)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
... | C++ | src/Metrics/WPrime.cpp | stschake/GoldenCheetah | gpl-3.0 | 49,367 | 1,503 | codeparrot/github-code |
70bb52ef3473e8a9e159810600ff5a63b526cd0ceacd06afc9df65406a500b28 | /*
* This file is part of EchoPet.
*
* EchoPet is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EchoPet is distributed in th... | Java | modules/v1_6_R3/src/main/java/com/dsh105/echopet/compat/nms/v1_6_R3/entity/EntityPet.java | UnlimitedFreedom/UF-EchoPet | gpl-3.0 | 17,910 | 527 | codeparrot/github-code |
2636eb4dddfcfaffb0ae0af453ed5497d408a469498420da7fd544d4da6a4b22 | #
# Contain unparsing procedures.
#
import sys
#-------------------------------------------
def unparseToC(vars, annot_body_code, indent, extra_indent):
'''Unparse to C/C++ code'''
if len(vars) == 0:
return annot_body_code
s = '\n'
s += indent + '#pragma disjoint ('
for i, v in enumerat... | Python | annotations/module/align/unparser.py | tajkhan/pluto-pocc | gpl-3.0 | 2,012 | 76 | codeparrot/github-code |
0ab45230e770561500b137503a97ce1b52ba2e9cc3e0a52bd0f16ef13c84b45e | /*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 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 ver... | Java | src/main/java/appeng/block/misc/BlockTinyTNT.java | SKCraft/Applied-Energistics-2 | gpl-3.0 | 5,795 | 189 | codeparrot/github-code |
39c5404a396709fd49c60f534e989b39105251c63c4dd56f2c80185f64edfacb | #include "filestorage.h"
#include <QDir>
#include <QSet>
#include <QDomDocument>
#include <QApplication>
QList<QString> FileStorage::FMimeTypes;
QList<QString> FileStorage::FResourceDirs;
QList<FileStorage *> FileStorage::FInstances;
QHash<QString, FileStorage *> FileStorage::FStaticStorages;
struct File... | C++ | src/utils/filestorage.cpp | gelraen/vacuum-im | gpl-3.0 | 9,916 | 374 | codeparrot/github-code |
b77d3873c08fede94de8f6647d7494eaaa9dc4c90de2b129dd9bada438fa9937 | /*
* Simpatico - Simulation Package for Polymeric and Molecular Liquids
*
* Copyright 2010 - 2014, The Regents of the University of Minnesota
* Distributed under the terms of the GNU General Public License.
*/
#include "PressureAnalyzer.h"
#include <ddMd/simulation/Simulation.h>
#include <sstream>
namespace DdMd
{
... | C++ | src/ddMd/analyzers/stress/PressureAnalyzer.cpp | jmysona/testing2 | gpl-3.0 | 1,137 | 55 | codeparrot/github-code |
fe02e6ed949ad4dec636d9df34fcaa9ba22126192ee5efe24c4adeae9938e5eb | /*
====================================================================
Copyright (c) 2008 Ian Blumel. All rights reserved.
FCT (Fast C Test) Unit Testing Framework
Copyright (c) 2008, Ian Blumel (ian.blumel@gmail.com)
All rights reserved.
This license is based on the BSD License.
Redistribution and use... | C | P2/fct.h | zerokullneo/gestion_libreria | gpl-3.0 | 82,854 | 3,066 | codeparrot/github-code |
7b8aeb2d38c501fd9d8d9e72fa81a91e7d62777b49c9bf1e08eef981124e0ce9 | #region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | C# | OpenRA.Game/Traits/World/ResourceType.cs | Sithil-F/OpenRA | gpl-3.0 | 1,871 | 64 | codeparrot/github-code |
02c101c9cc89048870ee173dd8febaa1d85b3b04017c59173bfe0f37e9a59b40 | /*
* HalfNES by Andrew Hoffman
* Licensed under the GNU GPL Version 3. See LICENSE file
*/
package com.grapeshot.halfnes.mappers;
import com.grapeshot.halfnes.*;
/**
*
* @author Andrew
*/
public class TengenRamboMapper extends Mapper {
private int whichbank = 0;
private boolean prgconfig = false, chrco... | Java | src/main/java/com/grapeshot/halfnes/mappers/TengenRamboMapper.java | andrew-hoffman/halfnes | gpl-3.0 | 9,024 | 256 | codeparrot/github-code |
80e2c052ff13bc62da7a22018b55c91162b6ab666a9d9a6d406f7bb5a7e30626 | <?php
// new php7 captcha v2 implementation.
function recaptcha_check_answer($key, $response){
return CheckCaptcha($key, $response);
}
function CheckCaptcha($key, $response) {
try {
$url = 'https://www.google.com/recaptcha/api/siteverify';
$dat = array(
'secret' => $key,
'response' => urlencode($respo... | PHP | modules/vulnerabilities/unix/web_training/dvwa/files/DVWA-master/external/recaptcha/recaptchalib.php | cliffe/SecGen | gpl-3.0 | 969 | 46 | codeparrot/github-code |
f9a8ae5ffefc145cace6249f81b56a77f08dd3cc83ddd47a493ed8f034bbb341 | /* linalg/condest.c
*
* Copyright (C) 2016 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
... | C | src/linalg/condest.c | liigo/gsl-vc2015 | gpl-3.0 | 8,319 | 300 | codeparrot/github-code |
a9f3f57aa38032f4374cf89f8abc44fc70f346eccebcb0acdbb16408df9a8678 | <?php
if (!class_exists('rcmail_install', false) || !is_object($RCI)) {
die("Not allowed! Please open installer/index.php instead.");
}
?>
<form action="index.php?_step=3" method="post">
<h3>Check config file</h3>
<?php
if ($read_config = is_readable(RCUBE_CONFIG_DIR . 'defaults.inc.php')) {
$config = $RCI->l... | PHP | installer/test.php | namesco/roundcubemail | gpl-3.0 | 14,189 | 461 | codeparrot/github-code |
81d8d9cfaf407432058d848972b215ffa91c4f84f5e0306217503b9719101624 | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | C | dependencies/Ogre/Tools/XSIExport/include/OgreXSIMaterialExporter.h | gorkinovich/DefendersOfMankind | gpl-3.0 | 4,467 | 109 | codeparrot/github-code |
d2dd9ef701fcb0928d91ac00506e47e64f46bb6eecb149a020969bc485882143 | // $Id: vc.cpp 5188 2012-08-30 00:31:31Z dub $
/*
Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University
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 sour... | C++ | v3.x/src/intersim2/vc.cpp | ray-chu/gpgpu-sim-test | gpl-3.0 | 5,720 | 224 | codeparrot/github-code |
910f586614d9a7effa0df44499faf678accdf08bc1661406ea8c0a0a2f27ec3b | /*
* This file is part of Cleanflight.
*
* Cleanflight is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Cleanflight is distr... | C | src/main/telemetry/hott.h | frank26080115/cleanflight | gpl-3.0 | 23,129 | 502 | codeparrot/github-code |
985fb0747053a3126084128d288eb5cde7f32591c5a7f04181d4ccc9b5449883 | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2013, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | C | python/seqan-library-1.4.1/include/seqan/vcf_io/vcf_header.h | fhcrc/prepdrm | gpl-3.0 | 4,674 | 125 | codeparrot/github-code |
649db6c28db5c15889b36f9a3294d0edd2e56a17ac5681f3f062a3a1a6465a04 | /**
* License Agreement for OpenSearchServer
*
* Copyright (C) 2014 Emmanuel Keller / Jaeksoft
*
* http://www.open-search-server.com
*
* This file is part of OpenSearchServer.
*
* OpenSearchServer is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public Licen... | Java | src/main/java/com/jaeksoft/searchlib/renderer/RendererException.java | nvoron23/opensearchserver | gpl-3.0 | 1,350 | 49 | codeparrot/github-code |
cbc598534aeb08dec9a166551c46dc50d082561b2cea5652c71dc4c4872230c1 | <?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2014 VINADES ., JSC. All rights reserved
* @License GNU/GPL version 2 or any later version
* @Createdate Jan 10, 2011 6:04:30 PM
*/
if( ! defined( 'NV_MAINFILE' ) ) die( 'Stop!!!' );
if( ! nv_function_exists( 'nv_blo... | PHP | nukeviet-develop/modules/banners/blocks/global.banners.php | trantrungnt/mymodule | gpl-3.0 | 4,933 | 165 | codeparrot/github-code |
d5a212544c3bf3556f726a7376d2e2f82e8d7f2394dd337aff5bfb496ac01ac9 | <?php
/*
* Observium Network Management and Monitoring System
* Copyright (C) 2006-2011, Observium Developers - http://www.observium.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, ... | PHP | includes/discovery/functions.inc.php | arnoldthebat/librenms | gpl-3.0 | 29,060 | 766 | codeparrot/github-code |
73fb306cee5bf8772c0b874f073ff1839a88aeacc7ab122577a66c61620e9a85 | /**
* Copyright (C) 2011 Flamingo Project (http://www.cloudine.io).
* <p/>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ... | Java | flamingo2-web/src/main/java/org/opencloudengine/flamingo2/engine/hawq/externaltable/Custom.java | chiwanpark/flamingo2 | gpl-3.0 | 1,730 | 62 | codeparrot/github-code |
b7999ce3fbb1702b09583a2544973e75882f877a22456fe496fb49af6583a4e0 | /*
* This file is part of Kiama.
*
* Copyright (C) 2009-2015 Anthony M Sloane, Macquarie University.
*
* Kiama 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 3 of the License, or ... | Scala | library/src/org/kiama/example/lambda2/Analyser.scala | solomono/kiama | gpl-3.0 | 12,100 | 337 | codeparrot/github-code |
1292158c307f4b301a9cefda254168944fddfd0ae46bee23f0e672c7b2648a89 | /**
* Copyright (C) 2011 Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is d... | Java | src/org/thoughtcrime/securesms/notifications/MessageNotifier.java | ThirdProject/android_external_whispersystems_TextSecure | gpl-3.0 | 15,217 | 370 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.