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 |
|---|---|---|---|---|---|---|---|---|
75c28b7d20d9d2180fe1069d0713e559a13c70e2aae795588172ca60dcfa670e | /* Operating system support for run-time dynamic linker. Hurd version.
Copyright (C) 1995-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as ... | C | sysdeps/mach/hurd/dl-sysdep.c | Phant0mas/glibc-hurd | gpl-2.0 | 17,842 | 654 | codeparrot/github-code |
e477d7cafdf8276a80e3ea4f7a46d83296bb486b30fa729d55e97e6460223779 | #ifndef RBKIT_APPSTATE_H
#define RBKIT_APPSTATE_H
#include <QObject>
#include <QMutex>
#include <QHash>
#include <QVariant>
namespace RBKit {
class AppState
{
QMutex mutex;
QHash<QString, QVariant> appState;
QHash<int, QString> snapshotNames;
AppState();
static AppState *singleton;
QString pr... | C | rbkit-lib/model/appstate.h | duleorlovic/rbkit-client | gpl-2.0 | 774 | 33 | codeparrot/github-code |
372cdf9680066b846cd77c16ab3e28bf9a10b07bcf7b422514d422a98213d529 | /* 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++ | engines/lab/intro.cpp | project-cabal/cabal | gpl-2.0 | 9,600 | 439 | codeparrot/github-code |
5b2f8a0cdef187906245b384ee330fd78b73432c60ced74e9c1a9a2b896eb097 | /* Manage an ftp connection
Copyright (C) 1997,2001,02 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.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 ve... | C | libftpconn/ftpconn.h | diegonc/console-xkb-support | gpl-2.0 | 16,482 | 388 | codeparrot/github-code |
485c59508a453f28b4987053c2368bf5849f5c6ed92db816c7eb51bdc625e4ca | /*
* Block driver for media (i.e., flash cards)
*
* Copyright 2002 Hewlett-Packard Company
* Copyright 2005-2008 Pierre Ossman
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived works.
*
* HEWLETT-PACKARD COMPANY MAK... | C | drivers/mmc/card/block.c | iJo09/Hybridmax_Kernel_I9505_Lollipop-1 | gpl-2.0 | 76,834 | 2,965 | codeparrot/github-code |
9220bb94317d948b87b57725131a7d3aece6c5d0e7ffeb8f2839c3c9ebeab644 | using System;
using Server.Mobiles;
using Server.Network;
using Server.Targeting;
namespace Server.Spells.First
{
public class HealSpell : MagerySpell
{
private static readonly SpellInfo m_Info = new SpellInfo(
"Heal", "In Mani",
224,
9061,
Reagent.Garlic... | C# | Scripts/Spells/First/Heal.cs | SirGrizzlyBear/ServUOGrizzly | gpl-2.0 | 3,667 | 120 | codeparrot/github-code |
a9225c40d49d326c46f2696eaa2f3c87976f547a4ee74441bbcab99f4f2f4c7a | <?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| ... | PHP | www/api/v2/common/BasePublisherService.php | kriwil/OpenX | gpl-2.0 | 2,377 | 60 | codeparrot/github-code |
69fe7089b91b1c96b52a261ca6e63f114c3362de358061e0dc6c0eb3f016de43 | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2007-2009 coresystems GmbH
* Copyright (C) 2013 Google Inc.
* Copyright (C) 2015 Intel Corporation.
*
* 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
*... | C | src/mainboard/intel/kunimitsu/mainboard.c | latelee/coreboot | gpl-2.0 | 2,726 | 107 | codeparrot/github-code |
786a62761cbb046437cd8247bcc71d514902436e30b80971850538b810739e0d | /*
* Driver O/S-independent utility routines
*
* Copyright (C) 1999-2010, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License version 2 (... | C | drivers/net/wireless/bcm4329/src/shared/bcmutils.c | sktjdgns1189/android_kernel_samsung_SHW-M130L | gpl-2.0 | 44,532 | 1,865 | codeparrot/github-code |
4779eb42a342cebfb9237baea3ff7ef0405210cfc34f4e10fccb29754bbb335c | <?php
/**
*------------------------------------------------------------------------------
* @package T3 Framework for Joomla!
*------------------------------------------------------------------------------
* @copyright Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
* @license GNU Gener... | PHP | source/plg_system_t3/includes/core/action.php | Sophist-UK/Sophist_t3framework | gpl-2.0 | 5,926 | 220 | codeparrot/github-code |
4568d6e76ffe2fd66ba85c95bf9b9bd6061a069f8ee832e0a92de4801497b585 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_NLDEF
#define _INC_NLDEF
typedef enum _NL_ADDRESS_TYPE {
NlatUnspecified,
NlatUnicast,... | C | strawberry-perl-5.20.0.1-32bit-portable/c/i686-w64-mingw32/include/nldef.h | mishin/dwimperl-windows | gpl-2.0 | 4,189 | 156 | codeparrot/github-code |
abf98b8109d82a5b36e1a3ce35431f27c2476b7afcbae82778004ad6bafc3ac2 | /*
Copyright (C) 2003 - 2018 by David White <dave@whitevine.net>
Part of the Battle for Wesnoth Project https://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... | C++ | src/actions/attack.cpp | spixi/wesnoth | gpl-2.0 | 57,856 | 1,860 | codeparrot/github-code |
d79b4408dc98363e8283960c98093936580f89bb801946c2b46e7caba3988e3f | /*
* Interface to libmp3lame for mp3 encoding
* Copyright (c) 2002 Lennert Buytenhek <buytenh@gnu.org>
*
* This file is part of FFmpeg.
*
* FFmpeg 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;... | C | package/ffmpeg/src/libavcodec/libmp3lame.c | uwehermann/easybox-904-lte-firmware | gpl-2.0 | 6,658 | 222 | codeparrot/github-code |
5679c102b7afa21c6101e818f160fe1cf8839197cd6e201e127ff425c4d7ab79 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | Java | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/pack200/src/main/java/org/apache/harmony/unpack200/bytecode/forms/IMethodRefForm.java | skyHALud/codenameone | gpl-2.0 | 2,333 | 57 | codeparrot/github-code |
420357c9ed1d38e4e46bbe5b9cb75c2d211e4098dbb590e54dcf34b558783f0b | /*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2016.
*/
package org.pouyadr.ui;
import android.animation.ObjectAnimator;
import andro... | Java | TMessagesProj/src/main/java/com/teligramfars/ui/SettingsActivity.java | Fakkar/TeligramFars | gpl-2.0 | 80,150 | 1,543 | codeparrot/github-code |
5080ba959cd71843140194b0195be7ae17700387b903e1e4e300d042945c3359 | /***************************************************************************
Copyright (C) 2014-2015 by Nick Thijssen <lamah83@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 ... | C# | test/TestTransform.Designer.cs | GoaLitiuM/libobs-sharp | gpl-2.0 | 13,344 | 309 | codeparrot/github-code |
a1cf79a0e720b9021cf2d0db9024130925a5b0c15eb13b06c88069fd8223f76b | /*
* RapidMiner
*
* Copyright (C) 2001-2008 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | Java | src/com/rapidminer/operator/similarity/SimilarityExampleSet.java | ntj/ComplexRapidMiner | gpl-2.0 | 5,564 | 174 | codeparrot/github-code |
ce4e6416c27164e041b9f41c4a3e4b026d8f91522b02a394b48c97316812a938 | <?php
//
// ZoneMinder web action file
// Copyright (C) 2019 ZoneMinder LLC
//
// 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 late... | PHP | web/includes/actions/filter.php | ZoneMinder/ZoneMinder | gpl-2.0 | 4,624 | 114 | codeparrot/github-code |
7a0f409d252b78dcf8d7f8ad5cabc273277ee80903c8e14489d9941cb05caa8c | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | C | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/drlvm/vm/vmcore/src/verifier-3363/java6/stackmap_6.h | shannah/cn1 | gpl-2.0 | 2,640 | 86 | codeparrot/github-code |
34028f536ace0cd1a6fd1160f6809eba1a327f23a857e0a4a02d6f64c10812b8 | /*
* Copyright (C) 2011-2012 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | C++ | xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioDevice.cpp | mekinik232/ambipi | gpl-2.0 | 21,096 | 707 | codeparrot/github-code |
e6be68b1ca42f2ef2037caf150610d9ef675cef6c14c2cb0339ce97e17b66c51 | <?php
/**
* Write users to file
* @param string $filename
* @param array $array_data
* @return null
*/
// function insert($user,$config)
function readUser($id, $config)
{
switch ($config['adapter'])
{
case 'txt':
include_once('file/users.php');
$user=readUserFromFile($id, $config);
return $users;
... | PHP | proyecto7/model/users/usersModel.php | zerophp/zgz2013octM | gpl-2.0 | 1,523 | 95 | codeparrot/github-code |
0bd3e8e0be4bc33093d1e9f342dcad82ca195354d3f087e890dbedb8dfeac19c | /**
* yamsLog is a program for real time multi sensor logging and
* supervision
* Copyright (C) 2014
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the Licens... | Java | client-backend/src/NewDebugger.java | droberg/yamsLog | gpl-2.0 | 8,996 | 229 | codeparrot/github-code |
143a84518c74407067a602f1831f4c090b4802cacc9dde9b88a78c052ac95fda | /****************************************************************************
*
* ViSP, open source Visual Servoing Platform software.
* Copyright (C) 2005 - 2019 by Inria. All rights reserved.
*
* This software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public... | C++ | modules/robot/test/servo-afma6/testRobotAfma6.cpp | lagadic/visp | gpl-2.0 | 3,333 | 106 | codeparrot/github-code |
1ddcf929c30ef77abbd7b6ae637446e98e27ff6962885944f8957156515c68e9 | /* $Id: capi.c,v 1.1.1.1 2007-05-25 06:50:09 bruce Exp $
*
* ISDN lowlevel-module for the IBM ISDN-S0 Active 2000.
* CAPI encoder/decoder
*
* Author Fritz Elfert
* Copyright by Fritz Elfert <fritz@isdn4linux.de>
*
* This software may be used and distributed according to the terms
* of the GNU Ge... | C | drivers/isdn/act2000/capi.c | shaowei-wang/520board-v1-linux-2.6.21.x | gpl-2.0 | 33,040 | 1,182 | codeparrot/github-code |
9c83b06509f5c4c9e3352ca110f7461eb36570862ae74666756620892f1286d7 |
# Opus/UrbanSim urban simulation software.
# Copyright (C) 2005-2009 University of Washington
# See opus_core/LICENSE
from opus_core.variables.variable import Variable
from variable_functions import my_attribute_label
from urbansim.length_constants import UrbanSimLength, UrbanSimLengthConstants
from numpy imp... | Python | 3rdparty/opus/src/urbansim/gridcell/is_near_arterial.py | christianurich/VIBe2UrbanSim | gpl-2.0 | 2,343 | 59 | codeparrot/github-code |
38c052d446e7f757ffeffd07e78d4650681cacc4ede23cb703940cfbea73f6dd | /* arch/arm/mach-msm/cpufreq.c
*
* MSM architecture cpufreq driver
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2007-2010, Code Aurora Forum. All rights reserved.
* Author: Mike A. Chan <mikechan@google.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as ... | C | arch/arm/mach-msm/cpufreq.c | BytecodeMe/vanquish | gpl-2.0 | 7,616 | 308 | codeparrot/github-code |
aaee652eb02d18d863d80e99e746fe0b7bc001ad8422803aded6f46d7e5e0533 | /**
* \file drawMath.c
* \brief outputs the math of a model as a dot graph
* \author Sarah Keating
*
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the latest version of libSBML.
*/
#include <stdio.h>
#include <stdlib.h>
#include <sbml/util/util.h>
... | C | dependencies/libsbml-5.9.0/examples/c/drawMath.c | dilawar/moose-full | gpl-2.0 | 20,197 | 900 | codeparrot/github-code |
d4cfcb0cc9dc4c7c3142f5e9ba849e597570776d58a139537aad1b0dc30bb197 | /*
* Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved.
* Copyright (C) 2009 Jan Michael Alonzo
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the ab... | C++ | modules/web/src/main/native/Tools/DumpRenderTree/atk/AccessibilityControllerAtk.cpp | loveyoupeng/rt | gpl-2.0 | 4,399 | 146 | codeparrot/github-code |
bbd53492365401d797268e42e5a20891c733351b1951f71d5ee94132203c540f | /*
* Copyright 2005 Eric Anholt
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, mo... | C | lib/mesa/src/mesa/drivers/dri/sis/sis6326_state.c | ZHAW-INES/rioxo-uClinux-dist | gpl-2.0 | 19,463 | 736 | codeparrot/github-code |
8ef53637c68dd9ccde19719b9e6288dad43d0657f8fa61f215ff2176a2b3f2c4 | /**
Copyright (C) SYSTAP, LLC 2006-2012. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by a... | Java | bigdata-gas/src/test/java/com/bigdata/rdf/graph/analytics/TestCC.java | blazegraph/database | gpl-2.0 | 7,408 | 213 | codeparrot/github-code |
3743d28a72a30e30a4e37dc8964c4039d61447ec1660e37f7643ae81dbf17b67 | /*
* include/linux/dvs_suite.h
*
* Copyright (C) 2010 Sookyoung Kim <sookyoung.kim@lge.com>
*/
#ifndef _LINUX_DVS_SUITE_H
#define _LINUX_DVS_SUITE_H
/***************************************************************************
* Headers
***************************************************************************/... | C | include/linux/dvs_suite.h | playfulgod/Kernel_AS85-LG-Ignite | gpl-2.0 | 23,525 | 686 | codeparrot/github-code |
d698dc429da822e9bcd6ad4d2ce4d361ecf6f30f01ec597af1b38b2cf23ac8f4 | /*
* Copyright (C) 2016 robert
*
* 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 distributed... | Java | impl/bioc/src/pl/rcebula/code_generation/final_steps/AddInformationsAboutModules.java | bercik/BIO | gpl-2.0 | 1,972 | 62 | codeparrot/github-code |
dd89c6656cced84997284e150e469d228a2f826dc43d6c778135135e562210ea | /*****************************************************************************
Copyright (c) 1996, 2010, Innobase Oy. 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; version 2 o... | C | storage/innobase/dict/dict0load.c | cryptdb-org/mysql-5-5-14 | gpl-2.0 | 65,630 | 2,391 | codeparrot/github-code |
1e11d61fcea83d8769839164fce839158cb2d2fd59c11d1477b91062dbc6bad6 | <?php
/*
*
* Copyright 2001, 2010 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun, Gabriel Fischer, Didier Blanqui
*
* This file is part of GEPI.
*
* GEPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | PHP | mod_discipline/stats2/apps/vues/bilans.php | tbelliard/gepi | gpl-2.0 | 21,046 | 269 | codeparrot/github-code |
d9982467a522a24483e8cb73b1370907fda8893f5d9c90d13f899092fb4c8d53 | /* -*- compile-command: "cd ../../../../../; ant debug install"; -*- */
/*
* Copyright 2010 by Eric House (xwords@eehouse.org). 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 Softwar... | Java | src/main/java/com/oliversride/wordryo/XWActivity.java | oliversride/Wordryo | gpl-2.0 | 5,258 | 191 | codeparrot/github-code |
87250a87836d25657f0cc352a1aa09971e1bfe308a98fd101082acf8eec62701 | <?php
/**
* Twenty Fifteen Customizer functionality
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
/**
* Add postMessage support for site title and description for the Customizer.
*
* @since Twenty Fifteen 1.0
*
* @param WP_Customize_Manager $wp_customize
* ... | PHP | wp-content/themes/twentyfifteen/inc/customizer.php | AgnaldoJaws/On-The-Bass. | gpl-2.0 | 19,694 | 729 | codeparrot/github-code |
701dba9ad55a7de5113314bdb79d24476e44d37f65424ad416c79e463c4d3db1 | <?php //$Id: mod_form.php,v 1.2.2.3 2009/03/19 12:23:11 mudrd8mz Exp $
/**
* This file defines the main deva configuration form
* It uses the standard core Moodle (>1.8) formslib. For
* more info about them, please visit:
*
* http://docs.moodle.org/en/Development:lib/formslib.php
*
* The form must provide suppo... | PHP | mod/deva/mod_form.php | IT-Scholars/Moodle-ITScholars-LMS | gpl-2.0 | 3,290 | 74 | codeparrot/github-code |
924037d52fa67560e29c516fc82afd07ed366c1aa78fe8c34b227a6b17a57639 |
/* arch/arm/mach-rk29/vpu.c
*
* Copyright (C) 2010 ROCKCHIP, Inc.
* author: chenhengming chm@rock-chips.com
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under thos... | C | arch/arm/mach-rockchip/vcodec_service.c | crewrktablets/rk3x_kernel_3.10 | gpl-2.0 | 73,376 | 2,350 | codeparrot/github-code |
039ee98a13e9a9697d41dc770281fcd38d2c4c3e176c30c06b1adccc4c44ac8b | <?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<script language="javascript" type="text/javascript">
function tableOrdering( order, dir, task )
{
var form = document.adminForm;
form.filter_order.value = order;
form.filter_order_Dir.value = dir;
document.adminForm.submit( task )... | PHP | templates/jsn_dome_free/html/com_content2/category/default_items.php | w2/ctb | gpl-2.0 | 4,614 | 116 | codeparrot/github-code |
1f0c79067b40ac26a6846e4b83610fccf323ba93c2c50ef47d23c35d554ff1af | package kc.spark.pixels.android.ui.assets;
import static org.solemnsilence.util.Py.map;
import java.util.Map;
import android.content.Context;
import android.graphics.Typeface;
public class Typefaces {
// NOTE: this is tightly coupled to the filenames in assets/fonts
public static enum Style {
BOLD("Arial.ttf"... | Java | AndroidApp/SparkPixels/src/kc/spark/pixels/android/ui/assets/Typefaces.java | sparcules/Spark_Pixels | gpl-2.0 | 1,212 | 53 | codeparrot/github-code |
36f1f5c1f5b83674e50c995742cc2b9a4432d3869985854652b2cce2d6ec63c7 | /*
* Copyright (c) 2003, Oracle and/or its affiliates. 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 Softwa... | Java | jdk/test/sun/net/www/ParseUtil_4922813.java | openjdk/jdk8u | gpl-2.0 | 5,843 | 169 | codeparrot/github-code |
d957db4fb727a8165a53a8656719a0bbc5493dc1d34fcd8edd34096e08b7e075 | /*
* jMemorize - Learning made easy (and fun) - A Leitner flashcards tool
* Copyright(C) 2004-2006 Riad Djemili
*
* 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 1, or (at ... | Java | src/jmemorize/core/test/LessonProviderTest.java | riadd/jMemorize | gpl-2.0 | 4,360 | 144 | codeparrot/github-code |
8ed5b5253c57bbcc180962dd73319f06f7275ea7c66c5eecf09ac5c4f0dd5cdb | /*
* *************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | Java | esper/src/test/java/com/espertech/esper/multithread/TestMTStmtTwoPatternsStartStop.java | intelie/esper | gpl-2.0 | 3,675 | 80 | codeparrot/github-code |
80eb6751e46881c5157aef63d371cfb380528f68eafac821f9c81d13cdfcaac8 | VFS.Include("LuaRules/Utilities/numberfunctions.lua") -- math.triangulate
local GRP = Spring.GetGameRulesParam
local function GetRawBoxes()
local ret = {}
local boxCount = GRP("startbox_max_n")
if not boxCount then
return ret
end
for boxID = 0, boxCount do
local polies = {}
local polyCount = GRP("startbox... | Lua | LuaUI/Headers/startbox_utilities.lua | RyMarq/Zero-K | gpl-2.0 | 1,457 | 61 | codeparrot/github-code |
b5127e3d44d49f944dfeabe0fb55bcae518d9a1fe85c703250e930180c7fa4d6 | <?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/c... | PHP | administrator/components/com_phocagallery/models/phocagalleryra.php | renebentes/joomla-3.x | gpl-2.0 | 7,227 | 245 | codeparrot/github-code |
94fb42fb4f4f7e40f87a661f5fd25525d5d154921a7eb8c9972c28d30bde54ba | /**************************************************************************
Copyright (C) 2000 - 2010 Novell, 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; either version ... | C++ | src/YQZyppSolverDialogPluginStub.cc | gabi2/libyui-qt-pkg | gpl-2.0 | 2,581 | 95 | codeparrot/github-code |
0418750e591740d6049ddb2d7b10d9d41989b1919d2b5f9b85f44abcfdf1bb25 | <div class="container" id="mainContent">
<div id="topOfPage">
</div>
<h1>
Feedback Results - Student
</h1>
<br>
<div class="well well-plain">
<div class="panel-body">
<div class="form-horizontal">
<div class="panel-heading">
<div class="form-group">
<label class="... | HTML | src/test/resources/pages/newlyJoinedInstructorStudentFeedbackResultsPage.html | thenaesh/teammates | gpl-2.0 | 20,474 | 648 | codeparrot/github-code |
80e07c57672622352df0ae423b73efae74d1879f1a6baa564207ad77e185dc6c | /* cast5.c */
/*
This file is part of the AVR-Crypto-Lib.
Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.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 3 of the License, or... | C | cast5/cast5.c | nerilex/avr-crypto-lib | gpl-2.0 | 12,161 | 352 | codeparrot/github-code |
50f112d08649cec0bb92093d493c1e84eff8a5fb004e0f72a303f2f6361cbaa5 | package org.webbuilder.web.service.script;
import org.springframework.stereotype.Service;
import org.webbuilder.utils.script.engine.DynamicScriptEngine;
import org.webbuilder.utils.script.engine.DynamicScriptEngineFactory;
import org.webbuilder.utils.script.engine.ExecuteResult;
import org.webbuilder.web.po.script.Dyn... | Java | wb-core/src/main/java/org/webbuilder/web/service/script/DynamicScriptExecutor.java | wb-goup/webbuilder | gpl-2.0 | 1,077 | 33 | codeparrot/github-code |
20de37a1f516cead539ab2543ac0b342f129334e1d55a408af494771d8dbed7f | /*
* Copyright (C) 2013-2016 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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.
*
* If the program is linked with ... | Java | io/src/test/java/org/n52/io/measurement/img/ChartRendererTest.java | ridoo/timeseries-api | gpl-2.0 | 5,332 | 138 | codeparrot/github-code |
9e453e6a5de041f42a93b0422b00e98a519a8db3bba19557bad13e2401e69267 | <?php
class highlighter {
public function register_shortcode($shortcodeName) {
function shortcode_highlighter($atts, $content = null) {
extract( shortcode_atts( array(
'type' => 'colored'
), $atts ) );
return "<span class='highlighted_".$type."'>".$cont... | PHP | wp-content/plugins/gt3-pagebuilder-custom/core/shortcodes/highlighter.php | jasonglisson/susannerossi | gpl-2.0 | 1,874 | 68 | codeparrot/github-code |
bd3f0e86183bdcfde2c465886ad5084c3e4a8b5924c0303c4cdbcb8dcae0e0e7 | /*********************************************************************************************
* Fichero: Bmp.c
* Autor:
* Descrip: Funciones de control y visualizacion del LCD
* Version:
*********************************************************************************************/
/*--- Archivos cabecera ---... | C | PH_3/Bmp.c | UnizarCurryMicroSystems/ProyectoHardware | gpl-2.0 | 8,483 | 196 | codeparrot/github-code |
b46f526347f6cdb655ebee600787c10eb2ce4df8bdea56d8e7254b3115fe49d6 |
/*
* USI wm-bn-bm-01-5(bcm4329) sdio wifi power management API
* evb gpio define
* A10 gpio define:
* usi_bm01a_wl_pwr = port:PH12<1><default><default><0>
* usi_bm01a_wlbt_regon = port:PI11<1><default><default><0>
* usi_bm01a_wl_rst = port:PI10<1><default><default><0>
* usi_bm01a_wl_wake ... | C | drivers/mmc/mmc-pm/mmc_pm_usi_bm01a.c | sdugit/linux-3.0_7025 | gpl-2.0 | 5,469 | 183 | codeparrot/github-code |
f6c4773c52ecf0bf1ef63e88ebb197f8f64cd0eabfefa9e3359c7b1b583e6b37 | <?php
/**
* jsonRPCClient.php
*
* Written using the JSON RPC specification -
* http://json-rpc.org/wiki/specification
*
* @author Kacper Rowinski <krowinski@implix.com>
* http://implix.com
*/
class jsonRPCClient
{
protected $url = null, $is_debug = false, $parameters_structure = 'array';
/**
* Def... | PHP | wp-content/plugins/formcraft-add-on-pack/getresponse.php | mssdeepakkumar/keenlo | gpl-2.0 | 9,967 | 324 | codeparrot/github-code |
9682b785d9f2849f52f39306628394a41f0bb72be9a9e217e09c76dc22be3dc0 | /*
* board/omap3621_boxer/max17042.c
*
* Copyright (C) 2010 Barnes & Noble, Inc.
* Intrinsyc Software International, Inc. on behalf of Barnes & Noble, Inc.
*
* Max17042 Gas Gauge initialization for u-boot
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU G... | C | drivers/max17042.c | astarasikov/uboot-bn-nook-hd-fastboot | gpl-2.0 | 30,417 | 1,243 | codeparrot/github-code |
863428ca22037c3864628b6fc1f0cf09d51259d108a5a4f9d0191c87663bcd50 | /*
*
* This source code is released for free distribution under the terms of the
* GNU General Public License.
*
* This module contains functions for generating tags for Rust files.
*/
/*
* INCLUDE FILES
*/
#include "general.h" /* must always come first */
#include "main.h"
#include <string.h>
#include "keyw... | C | tagmanager/ctags/rust.c | TheGameCreators/AGKIDE | gpl-2.0 | 22,209 | 943 | codeparrot/github-code |
b8225b16e71dbdd371736b2dfbbf7ee296e55a1b44db5b727d2ef39b52868593 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | C | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/luni/src/main/native/luni/shared/dblparse.c | skyHALud/codenameone | gpl-2.0 | 28,372 | 872 | codeparrot/github-code |
af86906d2876744f2ac09d2742d328a04c512667d1997ebaa2b097532df97a47 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | Java | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/awt/src/main/java/common/org/apache/harmony/awt/text/TextFactory.java | skyHALud/codenameone | gpl-2.0 | 3,164 | 84 | codeparrot/github-code |
a9c76f9e98087b223ee5c4fb0294588cefc8c9f9458de27933712ea8db674c89 | /* MMIX-specific support for 64-bit ELF.
Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Contributed by Hans-Peter Nilsson <hp@bitrange.com>
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... | C | bfd/elf64-mmix.c | guoqingzhang/binutils-coffee | gpl-2.0 | 94,117 | 2,961 | codeparrot/github-code |
39cc9eb8f8916d94a64bbd2070d9bbfe691d2cb275413fd231678c725f46b409 | var hilbert = (function() {
// From Mike Bostock: http://bl.ocks.org/597287
// Adapted from Nick Johnson: http://bit.ly/biWkkq
var pairs = [
[[0, 3], [1, 0], [3, 1], [2, 0]],
[[2, 1], [1, 1], [3, 0], [0, 2]],
[[2, 2], [3, 3], [1, 2], [0, 1]],
[[0, 0], [3, 2], [1, 3], [2, 3]]
... | JavaScript | sites/all/modules/openlayers/modules/openlayers_library/src/Plugin/Component/Hilbert/js/hilbert_algo.js | eggla/LA-glazed | gpl-2.0 | 1,468 | 51 | codeparrot/github-code |
3165b790cc464cceb2ad38a6dfe09f8e9c1bf1858b62688b55e1585886442435 | /*
*************************************************************************************
* Linux
* USB Host Controller Driver
*
* (c) Copyright 2006-2012, SoftWinners Co,Ld.
* All Rights Reserved
*
* File Name : sw_hcd_virt_hub.c
*
* Author : ja... | C | drivers/usb/sun7i_usb/hcd/core/sw_hcd_virt_hub.c | mozilla-b2g/kernel_flatfish | gpl-2.0 | 15,762 | 650 | codeparrot/github-code |
8b8772f40127ef487328aa928203408fef232ff22f395ba1da1009691ce7d3bf | /*
* This file contains work-arounds for many known PCI hardware
* bugs. Devices present only on certain architectures (host
* bridges et cetera) should be handled in arch-specific code.
*
* Note: any quirks for hotpluggable devices must _NOT_ be declared __init.
*
* Copyright (c) 1999 Martin Mares <mj@ucw... | C | linux/linux-2.6.32.32/drivers/pci/quirks.c | uwehermann/easybox-904-lte-firmware | gpl-2.0 | 94,163 | 2,669 | codeparrot/github-code |
e5a866f796a6711c9c7c1793adc6eea1519462df111387cae192dc9d1259661a | /*
* drivers/media/video/omap/gfx_tiler.c
*
* Copyright (C) 2010 Texas Instruments.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*
*/
#include <linux/errno.h>
#include <l... | C | drivers/media/video/omapgfx/gfx_tiler.c | michaellass/lenovo_a1_07_kernel | gpl-2.0 | 4,322 | 163 | codeparrot/github-code |
ca76af0638950db1c94082f74aef80219cea4637cf6057e743fed02ba96eb618 | package STEDT::Table::Mesoroots;
use base STEDT::Table;
use strict;
sub new {
my ($self, $dbh, $privs, $uid) = @_;
my $t = $self->SUPER::new($dbh, 'mesoroots', 'mesoroots.id', $privs); # dbh, table, key, privs
$t->query_from(q|mesoroots LEFT JOIN `users` ON mesoroots.uid = users.uid LEFT JOIN languagegroups ON mesoro... | Perl | rootcanal/perl/STEDT/Table/Mesoroots.pm | dwbruhn/stedt | gpl-2.0 | 2,261 | 89 | codeparrot/github-code |
fa2e4bed678440e7bc54f5b6679b03a6821fe8358d2c67b8c643c97af53f18d4 | /* OtherwiseNode.java --
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your opti... | Java | libjava/gnu/xml/transform/OtherwiseNode.java | unofficial-opensource-apple/gcc_40 | gpl-2.0 | 3,110 | 94 | codeparrot/github-code |
8e9e9cfb1f1e0019011d0147553d705a48a76dd14207fdb14e0b77b6c6c107a9 | // StanfordLexicalizedParser -- a probabilistic lexicalized NL CFG parser
// Copyright (c) 2002, 2003, 2004, 2005 The Board of Trustees of
// The Leland Stanford Junior University. All Rights Reserved.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Pu... | Java | src/edu/stanford/nlp/parser/lexparser/FactoredParser.java | hbbpb/stanford-corenlp-gv | gpl-2.0 | 23,782 | 589 | codeparrot/github-code |
ac63b80efc9e834a2e9cced8ecc7a316e84529b6b4621d5a0cdf312c8996357d | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*
COPYING CONDITIONS NOTICE:
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by th... | C++ | storage/tokudb/hatoku_hton.cc | SunguckLee/MariaDB | gpl-2.0 | 90,471 | 2,497 | codeparrot/github-code |
b8b3611700d3e9a31c26f9620893108cc5b76e2c93439a623128a7e156915aaf | /*
* rbc.h
* ctc local
*
* Created by Dmitry Alexeev on Nov 3, 2014
* Copyright 2014 ETH Zurich. All rights reserved.
*
*/
#pragma once
#include <cuda_runtime.h>
using namespace std;
namespace CudaRBC
{
struct Params
{
float kbT, p, lmax, q, Cq, totArea0, totVolume0,
ka, kv, gamma... | C | cuda-rbc/rbc-cuda.h | aecon/uDeviceX | gpl-2.0 | 1,245 | 52 | codeparrot/github-code |
1bbc8fdddeb71b0de2df2318f235a428f869e2d1cb003ebf7d8064bfafd18d21 | // Copyright 2018 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <string>
// Refer to docs/autoupdate_overview.md for a detailed overview of the autoupdate process
// This class defines all the logic for Dolphin auto-update checking. UI-specific el... | C | Source/Core/UICommon/AutoUpdate.h | pierrewillenbrock/dolphin | gpl-2.0 | 1,391 | 48 | codeparrot/github-code |
71a8da1b9c43f972d78dea32f00c9dc1845dafc2150d54ab997648e64ac1759f | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.3 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+---------------------... | PHP | sites/all/modules/civicrm/CRM/Core/Page/AJAX/Location.php | TheCraftyCanvas/folkshuln | gpl-2.0 | 12,375 | 335 | codeparrot/github-code |
6a899f6c27947725c895ebb752f00ac49d5fa90e58b2d2901c5027d55e6e3b29 | // $Id$
// QtLobby released under the GPLv3, see COPYING for details.
#include "TLDList.h"
QMap<QString, QString>* TLDList::TLDMap;
TLDList::TLDList( QObject* parent) : QObject(parent){
if ( TLDMap == NULL ) {
TLDMap = new QMap<QString, QString>;
QString TLDString = tr("AC:Ascension Island\n"
... | C++ | src/TLDList.cpp | tizbac/qtlobby | gpl-2.0 | 9,013 | 266 | codeparrot/github-code |
ca187d639cc907b79a212129b9f3d289a5ad4a29fe1179a01a91859d3eff34e9 | // qtractorAtomic.h
//
/****************************************************************************
Copyright (C) 2005-2021, rncbc aka Rui Nuno Capela. 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 publishe... | C | src/qtractorAtomic.h | rncbc/qtractor | gpl-2.0 | 4,341 | 186 | codeparrot/github-code |
031dd2ffc581d90362384695c8b9a0e1f6966be4bb3a873ec1974106a9ec73fc | <?php
namespace Drupal\webform_node;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleUninstallValidatorInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\StringTranslation\TranslationInterface;
/**
* Prevents webform_node module from being uninsta... | PHP | web/modules/webform/modules/webform_node/src/WebformNodeUninstallValidator.php | YaManicKill/viewfield | gpl-2.0 | 1,995 | 68 | codeparrot/github-code |
2468d5a14da14d94b0923f929b01c20d8ed6525cdca58d78c4723c23e8b2f612 | <?php
/**
* Custom template tags for this theme.
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package testwp_ssass
*/
if ( ! function_exists( 'testwp_ssass_paging_nav' ) ) :
/**
* Display navigation to next/previous set of posts when applicable.
*/
function testwp_ssa... | PHP | wp-content/themes/testwp_ssass/inc/template-tags.php | stoicattempt/testwp_ssass | gpl-2.0 | 5,871 | 166 | codeparrot/github-code |
5d19f03a06139e083deebdaa1245d9b0cf35474f269adb5536e91019f81fab87 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_config
*
* @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Config\Administrator\View\Component;
\defined('_JEXEC')... | PHP | administrator/components/com_config/src/View/Component/HtmlView.php | bembelimen/joomla-cms | gpl-2.0 | 3,193 | 131 | codeparrot/github-code |
9c777bf3ed558b22406dab3eb786f94347ae5053ca885d52f26947ed2a993fe8 | #=====================================================================
# SQL-Ledger ERP
# Copyright (c) 2006
#
# Author: DWS Systems Inc.
# Web: http://www.sql-ledger.com
#
#======================================================================
#
# module for preparing Income Statement and Balance Sheet
#
#======... | Perl | bin/lynx/rp.pl | sweitmann/rma-community-version | gpl-2.0 | 89,744 | 3,130 | codeparrot/github-code |
212ab7db2f0216d2d781be91b3f73d98ac709bff4299b7271a81692dfc03be5d | package com.oinux.lanmitm.service;
import com.oinux.lanmitm.R;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
public class BaseService exte... | Java | src/com/oinux/lanmitm/service/BaseService.java | vaginessa/Lanmitm | gpl-2.0 | 1,380 | 43 | codeparrot/github-code |
f0fc147db9820d37f30b8b93e92f71829d7db5725be3512c7e6a5d413865eb74 | <?php
/**
* This is the model class for table "message".
*
* The followings are the available columns in table 'message':
* @property integer $msg_id
* @property string $subject
* @property string $msg_content
* @property string $msg_uploads
* @property integer $user_id
* @property string $msg_time
* @proper... | PHP | osv/protected/models/Message.php | napoleon789/qlkh | gpl-2.0 | 18,568 | 798 | codeparrot/github-code |
3816ec88ab1cc6c549deef8a28e65b935ce00e0f1ceb5aaf4f4c3037e63cef2b | <?php
class NFe_APIChildResource {
// @var string Parent Keys
private $_parentKeys;
// @var string Fabricator
private $_fabricator;
function __construct( $parentKeys = array(), $className ) {
$this->_fabricator = $className;
$this->_parentKeys = $parentKeys;
}
function mergeP... | PHP | li/client-php/lib/NFe/APIChildResource.php | nfe/woo-nfe | gpl-2.0 | 1,755 | 65 | codeparrot/github-code |
b1135c2a1acc08808c385af49657782b0617fabf67770c009ae260023a177d81 | /*
CMTP implementation for Linux Bluetooth stack (BlueZ).
Copyright (C) 2002-2003 Marcel Holtmann <marcel@holtmann.org>
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;
TH... | C | net/bluetooth/cmtp/sock.c | 12019/Dorimanx-SG2-I9100-Kernel | gpl-2.0 | 5,532 | 253 | codeparrot/github-code |
12dea20cf35515e38f1fa831888883f6b2b21783b4b21871d66cf9e74cd8f4ef | /*
*
* function: Á¬Ïß½Ó¿Ú
*
* Date:2015-12-05
*
* Author: Bill Wang
*/
#ifndef _LOGIC_WH_PORT_H_
#define _LOGIC_WH_PORT_H_
#include <assert.h>
typedef struct structPort
{
int moduleId;
int paraId;
bool operator < (const structPort &port) const
{
if( moduleId < port.moduleId ) { //СÓÚÖ±½Ó·µ»Øtrue
re... | C | logic/logic_whPort.h | billhhh/whBK | gpl-2.0 | 651 | 40 | codeparrot/github-code |
de30cb1738671db08b246033f7b1de4cb373b06aae15584de3844bc67afd7497 | /* NicEdit - Micro Inline WYSIWYG
* Copyright 2007-2008 Brian Kirchoff
*
* NicEdit is distributed under the terms of the MIT license
* For more information visit http://nicedit.com/
* Do not remove this copyright message
*/
var bkExtend = function(){
var args = arguments;
if (args.length == 1) args = [this, ar... | JavaScript | d7/sites/all/libraries/nicedit/nicEdit.js | drupaals/demo.com | gpl-2.0 | 50,796 | 1,732 | codeparrot/github-code |
1ca9433d830e26c2e6c9aed61bfc4a9f89b1da3e6343de3060c3d96b538322fe | /****************************************************************************
* Ralink Tech Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
* (c) Copyright 2002, Ralink Technology, Inc.
*
* All rights reserved. Ralink's source code is an unpublished work and the
* ... | C | drivers/net/wireless/DPA_RT3070_WiFiBTCombo/NETIF/os/linux/rt_profile.c | silver-alx/ac100_kernel | gpl-2.0 | 2,320 | 92 | codeparrot/github-code |
ef87afb10e214a62ba663beb4c889c79296bd567c03febfe46aed021b16269c4 | /*
* Copyright (C) 2013-2015 Kay Sievers
* Copyright (C) 2013-2015 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Copyright (C) 2013-2015 Daniel Mack <daniel@zonque.org>
* Copyright (C) 2013-2015 David Herrmann <dh.herrmann@gmail.com>
* Copyright (C) 2013-2015 Linux Foundation
* Copyright (C) 2014-2015 Djalal ... | C | ipc/kdbus/bus.c | TeamFahQ/kernel_linux_next | gpl-2.0 | 14,169 | 543 | codeparrot/github-code |
6c89d5688d3da30f31b0c6cf54825750a5702fd8965a51344b237bc1b76e3329 | /* ====================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | Java | jcc/java/org/apache/jcc/PythonVM.java | adamdoupe/enemy-of-the-state | gpl-2.0 | 1,466 | 56 | codeparrot/github-code |
fdb5f17bd514c3ab219b670b82fb862768d9de137d766667559f0b2d0ef4e4ca | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | examples/math_63/src/test/java/org/apache/commons/math/analysis/interpolation/LinearInterpolatorTest.java | SpoonLabs/astor | gpl-2.0 | 6,231 | 149 | codeparrot/github-code |
1577ec0ca5f1724be4d7eff1a5c6718a7b539732ea8a74889a74a38f60811320 | # -*- coding: utf-8 -*-
# Copyright (c) 2013-2014 CoNWeT Lab., Universidad Politécnica de Madrid
# This file is part of Wirecloud.
# Wirecloud is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either v... | Python | wirecloud-develop/src/wirecloud/oauth2provider/models.py | sixuanwang/SAMSaaS | gpl-2.0 | 2,918 | 76 | codeparrot/github-code |
c4feec66271127d0070cb8ccc66ab8fba4a4de89893d70a5d0247bebd4a06977 | /*
* CPUFreq sakuractive governor
*
* Copyright (C) 2011 sakuramilk <c.sakuramilk@gmail.com>
*
* Based on hotplug governor
* Copyright (C) 2010 Texas Instruments, Inc.
* Mike Turquette <mturquette@ti.com>
* Santosh Shilimkar <santosh.shilimkar@ti.com>
*
* Based on ondemand governor
* Copyright (C) 2001 ... | C | drivers/cpufreq/cpufreq_sakuractive.c | k2wl/kernel-gt-i9082-stock-based | gpl-2.0 | 22,646 | 817 | codeparrot/github-code |
7c2964bbc3dbee36d58963303a764e03a6f682e88ad8396472420991134fb4fc | /* SCTP kernel implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 2001 Intel Corp.
* Copyright (c) 2001 Nokia, Inc.
* Copyright (c) 2001 La Monte H.P. Yarroll
*
* These functions manipulate an sctp event. T... | C | net/sctp/ulpevent.c | jeffegg/beaglebone | gpl-2.0 | 32,388 | 1,100 | codeparrot/github-code |
b6d92e785a0d2332b4e7cf1cc702d48e0dc58e230ebd75dbd9c58565de1e0ae9 | /* Miscellaneous utilities for GIMPLE streaming. Things that are used
in both input and output are here.
Copyright (C) 2009-2015 Free Software Foundation, Inc.
Contributed by Doug Kwan <dougkwan@google.com>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the t... | C | gcc/lto-streamer.c | kito-cheng/gcc | gpl-2.0 | 11,719 | 427 | codeparrot/github-code |
1e898c10812ddfe3bd56d4356d8e7c95a8c7e044c978b6d2eea629d38120411d | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace TtNum1.team_buying
{
public partial class goods : System.Web.UI.Page
{
TtNum1.BLL.GoodsInfo bllgoodsinfo ... | C# | TtNum/TtNum/team_buying/goods.aspx.cs | JJDJJ/TtNum | gpl-2.0 | 5,297 | 125 | codeparrot/github-code |
f7ec80ae0ff39353d29d47b3c6d85f5db167a1da3aaec35a12d38e26844421bf | /*
* This file is part of NWFramework.
* Copyright (c) InCrew Software and Others.
* (See the AUTHORS file in the root of this distribution.)
*
* NWFramework is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... | C++ | Framework/NWStream/NWStreamBlockVideo.cpp | cryptonome/nwframework | gpl-2.0 | 3,001 | 94 | codeparrot/github-code |
d734222c9f96cc26ad88cf22eca765896c275e9eb023ccfa3976a6b9053a4f70 | package com.avrgaming.civcraft.structure;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.concurrent.locks.ReentrantLock;
import org.bukkit.Location;
import com.avrgaming.civcraft.config.CivSettings;
import com.avrgaming.civcraft.exception.CivException;
import com.avrgaming.civcraft.excepti... | Java | civcraft/src/com/avrgaming/civcraft/structure/MobGrinder.java | ataranlen/civcraft | gpl-2.0 | 2,644 | 97 | codeparrot/github-code |
2779e660fc375f6e1f9e95f160ccb69c23a46fb57b3695ca31452ab965fb56ad | /*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018.10.30 SummerGift first version
* 2019.03.05 whj4674672 add stm32h7
*/
#ifndef __DRV_USART_H__
#define __DRV_USART_H__
#include <rtthread.h>
... | C | bsp/stm32/libraries/HAL_Drivers/drv_usart.h | onelife/rt-thread | gpl-2.0 | 2,010 | 70 | codeparrot/github-code |
c90ca2703cef373a317fddfd3499be2d312063d5f67d98a66a4b72b2a587ad22 | class BitStruct
# Class for floats (single and double precision) in network order.
# Declared with BitStruct.float.
class FloatField < Field
# Used in describe.
def self.class_name
@class_name ||= "float"
end
def add_accessors_to(cl, attr = name) # :nodoc:
unless offset % 8 == 0
... | Ruby | scripts/pentbox/lib/bit-struct/bit-struct/float-field.rb | ausarbluhd/EternalLLC | gpl-2.0 | 1,559 | 62 | codeparrot/github-code |
7120230a74b667735cfb85d52bf309e6f4017df69ac37871fac2e64cf95f0b1e | <?php
/**
* Core Class to enable hooks and actions for Fonts
* @version 1.0
*/
if(!class_exists('IOAFont'))
{
class IOAFont
{
private $fonts;
function __construct()
{
$fonts = array( );
}
/**
* Retrives all registered fonts.
*/
public function getFonts()
{
return $this->fonts;
}
... | PHP | wp-content/themes/limitless/backend/classes/class_font_support.php | HSrcWrld/DKWP | gpl-2.0 | 936 | 56 | codeparrot/github-code |
17b412d023b02438a6b8f3e06b884f95d5e9cdf4d2dad5302b19506c833f9535 | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... | C | drivers/staging/rtl8812au/hal/phydm/phydm_acs.c | JideTechnology/remixos-kernel | gpl-2.0 | 41,700 | 1,306 | codeparrot/github-code |
ce9422353deebf72651188eb9c7923f9565017a560f19e4001c4dd967f65ff4d | <?php
/**
* @package sauto
* @subpackage Views
* @author Dacian Strain {@link http://shop.elbase.eu}
* @author Created on 17-Nov-2013
* @license GNU/GPL
*/
//-- No direct access
defined('_JEXEC') || die('=;)');
$time = time();
$app =& JFactory::getApplication();
$db = JFactory::getDbo();
$request... | PHP | components/com_sauto/views/adding/tmpl/default_8.php | grchis/android | gpl-2.0 | 6,604 | 181 | codeparrot/github-code |
cce9b7a7ad0aa1bf6771fa3826ed63f92be134ab39a591468549ad6a8d277c65 | #!/usr/bin/env python3
# This file is part of ipxact2systemverilog
# Copyright (C) 2013 Andreas Lindh
#
# 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... | Python | ipxact2systemverilog/ipxact2hdlCommon.py | vermaete/ipxact2systemverilog | gpl-2.0 | 46,497 | 1,049 | codeparrot/github-code |
3ffb4fc30c6efdac089e4e41698296c7b54308f087ee8b4468e7b138db7f2c0c | <?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| |... | PHP | lib/OA/Dal/PasswordRecovery.php | maestrano/openx | gpl-2.0 | 4,846 | 139 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.