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 |
|---|---|---|---|---|---|---|---|---|
360eda39303cb633a3b11f40bf268c3e3383da737aa7b7af108e40eec5fd90a5 | // Copyright 2011 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <string>
#include <vector>
#include "Common/ChunkFile.h"
#include "VideoCommon/PerfQueryBase.h"
namespace MMIO { class Mapping; }
enum FieldType
{
FIELD_PROGRESSIVE = 0,
FIELD_UPP... | C | Source/Core/VideoCommon/VideoBackendBase.h | NanoByte011/dolphin | gpl-2.0 | 4,551 | 169 | codeparrot/github-code |
3362963c6bbdd5174149d535d153034615e0cf3ba92211055d71c08a3fd92c99 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
<link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
<link ... | HTML | docs/wiki/gsoc2010_projects.html | sksavant/geda-gaf | gpl-2.0 | 3,380 | 86 | codeparrot/github-code |
de45c7c95c7e7a4360f7bc48ef8e7c6559ebfb1261f855c2f5ccf39d85882475 | #ifndef _ASM_M32R_IO_H
#define _ASM_M32R_IO_H
#include <linux/string.h>
#include <linux/compiler.h>
#include <asm/page.h> /* __va */
#ifdef __KERNEL__
#define IO_SPACE_LIMIT 0xFFFFFFFF
/**
* virt_to_phys - map virtual addresses to physical
* @address: address to remap
*
* The returned physical address is the ... | C | include/asm-m32r/io.h | tianya3796/linux2.6.9 | gpl-2.0 | 5,982 | 217 | codeparrot/github-code |
cd1389695c75dc001601b0c97faa471788c7ae513ad458ad84c41b1375a89b70 | <?php
/**
* @package AcyMailing for Joomla!
* @version 4.8.0
* @author acyba.com
* @copyright (C) 2009-2014 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
JHTML::_('behavior.modal','a.modal');
if(!include_... | PHP | components/com_acymailing/params/help.php | tpiechota/gmusicireland | gpl-2.0 | 1,549 | 42 | codeparrot/github-code |
29d5144df8ec924a45fa8f6165585470cdeff88120fb8afd273cecc4c22d61fb | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2013 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/MapWindow/MapCanvas.cpp | onkelhotte/XCSoar | gpl-2.0 | 3,870 | 138 | codeparrot/github-code |
aa3a3e31d723d90939f554bd49d448c9c3a85268fe4a0b95515487877d7d4c65 | #pragma once
namespace ai
{
class CastComboAction : public CastMeleeSpellAction
{
public:
CastComboAction(PlayerbotAI* ai, string name) : CastMeleeSpellAction(ai, name) {}
virtual bool isUseful()
{
return CastMeleeSpellAction::isUseful() && AI_VALUE2(uint8, "combo", "se... | C | src/modules/Bots/playerbot/strategy/rogue/RogueComboActions.h | mangosone/server | gpl-2.0 | 1,168 | 46 | codeparrot/github-code |
77da71d9ea848b213f82a191b5d736a129cd3c7719d3990ec947dcf2be731449 | /*
* linux/fs/nfs/inode.c
*
* Copyright (C) 1992 Rick Sladkey
*
* nfs inode and superblock handling functions
*
* Modularised by Alan Cox <alan@lxorguk.ukuu.org.uk>, while hacking some
* experimental NFS changes. Modularisation taken straight from SYS5 fs.
*
* Change to nfs_read_super() to permit NFS m... | C | fs/nfs/inode.c | lexmar93/Siyah-i777 | gpl-2.0 | 47,078 | 1,656 | codeparrot/github-code |
d59ff0b88e785926abc9a207fe3076e09e6e4262ce02a612dfc0e71f8e97d179 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="generator" content="hevea 2.06">
<link rel="stylesheet" type="text/css" href="omake-doc.css">
<title>Synopsis</title>
</head>
<body>
<img src="../images/omake-manual.gif" border="0" align="top" alt=""><br>
... | HTML | doc/webpage/manual/omake-options.html | xmeta/omake | gpl-2.0 | 26,054 | 291 | codeparrot/github-code |
444ee6d97bf8edca3abb0917a3ef8924b393a1878a4396f99e15b4d3c8d40b17 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C | src/REPLICA/fix_event_prd.h | browndeer/lammps-ocl | gpl-2.0 | 1,472 | 54 | codeparrot/github-code |
752e9d38d4b0875b84ef1509a81a4bc132555ce8d09e790e6f875c0c5a7d5598 | /*
* Copyright (C) 2005 Mike McCormack
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This libra... | C | third-party/reactos/sdk/include/psdk/msidefs.h | GreenteaOS/Kernel | gpl-2.0 | 9,252 | 287 | codeparrot/github-code |
838fcbaf759e4089c8fabbe217e50c09c1a019d10a32f8783db25ea8ea5f88e3 | #pragma once
#include <vector>
#include "samplers/sampler.h"
class PCTransitionSampler : public Sampler{
public:
PCTransitionSampler(double* _P, uint _S);
~PCTransitionSampler();
uint getNextStateSample();
protected:
double* P;
uint S;
};
//-----------------------------------------------------
class P... | C | src/DDS/src/Agent/Guez/PCTransitionSampler.h | mcastron/BBRL | gpl-2.0 | 1,030 | 60 | codeparrot/github-code |
8ead2192ceb7d3c55c567fe8f88b9bcb2d8acd1ee58998b4bbdb3c9b47d9d93e | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | Java | base/src/org/compiere/model/X_M_SerNoCtlExclude.java | sumairsh/adempiere | gpl-2.0 | 5,333 | 177 | codeparrot/github-code |
4cd2246562e2f9f006b07f866fe4ec4703599206edcc3713148ef23759d86520 | /*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008 Collabora, Ltd. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code ... | C | external/webkit/WebCore/plugins/PluginStream.h | cattleprod/samsung-kernel-gt-i9100 | gpl-2.0 | 4,657 | 126 | codeparrot/github-code |
4876e771df0417c05e6f395c29a362a38347032675bb018cfc742ff14d851a9a | /* Copyright (C) 2006 Christian Schneider
*
* This file is part of Nomad.
*
* Nomad 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... | Java | nomad/nomad-source/plugins/net.sf.nmedit.nomad.core/src/net/sf/nmedit/nomad/core/swing/explorer/EventDispatcher.java | wesen/nmedit | gpl-2.0 | 1,574 | 51 | codeparrot/github-code |
4f0af23f2e809f7e997e3aa12e3432da1355f25f2e741c779aa1ce5165e5152e | /*
This file is part of kdepim.
Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
Copyright (c) 2004 Till Adam <adam@kde.org>
Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the... | C | kresources/lib/groupwareresourcejob.h | luke-jr/kdepim-noakonadi | gpl-2.0 | 1,916 | 69 | codeparrot/github-code |
da74a464aa14050294ce6aa3e4b8f5e067e0751283388ad03c80264839fedd6e | <?php
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... | PHP | webclient/include/hprose/HproseUnserialize.php | nsnake/IRISCC | gpl-2.0 | 14,726 | 452 | codeparrot/github-code |
810ded367315885a843cc40b70786f25b75c90a285144dadf7a3148a460175b2 | /* Copyright (C) 2013-2016, The Regents of The University of Michigan.
All rights reserved.
This software was developed in the APRIL Robotics Lab under the
direction of Edwin Olson, ebolson@umich.edu. This software may be
available under alternative licensing terms; contact the address above.
This library is free sof... | C | 3rdparty/apriltag/common/pjpeg.h | MarcPouliquenInria/visp | gpl-2.0 | 3,311 | 101 | codeparrot/github-code |
1ad6a2e033cf8bee55956e865397326dfc668ffb5c4439312d98548c164c2442 | /* Extended regular expression matching and search library.
Copyright (C) 2002-2006, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
The GNU C Library is free software; you can redistribute it and/or
modify it under the te... | C | compat/regex/regex_internal.c | ardumont/git | gpl-2.0 | 47,677 | 1,745 | codeparrot/github-code |
6307d0ba59711abc7a48bb5047d9d9f17111909cebe3137b0dceb75885a86e45 | /*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
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 progra... | Java | src/org/jpc/emulator/execution/opcodes/rm/jg_Jb.java | ianopolous/JPC | gpl-2.0 | 2,152 | 75 | codeparrot/github-code |
18416bcb9a050219735bd90311a413e92a582faf35682f3ec65789ace7fcdc78 | <?php
class OcdefempMapBuilder {
const CLASS_NAME = 'lib.model.map.OcdefempMapBuilder';
private $dbMap;
public function isBuilt()
{
return ($this->dbMap !== null);
}
public function getDatabaseMap()
{
return $this->dbMap;
}
public function doBuild()
{
$this->dbMap = Propel::getDatabase... | PHP | lib/model/map/OcdefempMapBuilder.php | cidesa/roraima | gpl-2.0 | 3,682 | 110 | codeparrot/github-code |
3f270b4f85d541c551f70c360ae056d2ec191ee5b706defe1e6656f87ff7a67a | <?php
class AW_Blog_Model_Mysql4_Blog_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
{
public function _construct()
{
parent::_construct();
$this->_init('blog/blog');
}
public function addEnableFilter($status)
{
$this->getSelect()->where('main_table.status = ... | PHP | app/code/community/AW/Blog/Model/Mysql4/Blog/Collection.php | novayadi85/navicet | gpl-2.0 | 3,336 | 113 | codeparrot/github-code |
32ef0f57e7d5f7e6f9256859ecafa0d3d7f9b9bc5b26877f5c22a54189e9556d | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C++ | TMessagesProj/jni/voip/webrtc/audio/channel_send.cc | tkpb/Telegram | gpl-2.0 | 36,606 | 960 | codeparrot/github-code |
69d4c1b9377c4c1e91e840df465ca92438995f3fcc0280901aba00542bf14b78 | <?php
// $Id: edit_entry.php 2824 2014-03-08 09:09:44Z cimorrison $
// If you want to add some extra columns to the entry and repeat tables to
// record extra details about bookings then you can do so and this page should
// automatically recognise them and handle them. NOTE: if you add a column to
// the entry tab... | PHP | web/edit_entry.php | john-cai/reservations | gpl-2.0 | 47,938 | 1,412 | codeparrot/github-code |
f96cf21f481095467496169d79eefe2497f831378ece70f19198ae894f68a0f7 | #include <linux/proc_fs.h>
#if defined(CONFIG_TOUCHSCREEN_SYNAPTICS_RMI4_PANTECH)
#define TOUCH_E001 1160785969
#define TOUCH_E002 1160785970
#define TOUCH_E003 1160785971
#define TOUCH_E004 1160785972
#define TOUCH_E005 1160785973
#define TOUCH_E006 1160785974
#define TOUCH_E007 1160785975
#define TOUCH_E008 11607859... | C | drivers/input/touchscreen/rmi4/touch_log.c | cherojeong/vega-iron_kernel | gpl-2.0 | 6,490 | 248 | codeparrot/github-code |
1f97c533de991c130290d47f1e99a72645179895eaa16f4d75f43b513f8e5e3d | <?php
class Contaba1MapBuilder {
const CLASS_NAME = 'lib.model.contabilidad.map.Contaba1MapBuilder';
private $dbMap;
public function isBuilt()
{
return ($this->dbMap !== null);
}
public function getDatabaseMap()
{
return $this->dbMap;
}
public function doBuild()
{
$this->dbMap = Propel... | PHP | lib/model/contabilidad/map/Contaba1MapBuilder.php | cidesa/roraima | gpl-2.0 | 1,086 | 52 | codeparrot/github-code |
6a62979c5abfcf9b5fa242e647dd0b304ab15c46b9f41a097265351525229453 | /*
* Copyright (c) 2009, 2015, 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 ... | Java | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/LogicConstantNode.java | rschatz/graal-core | gpl-2.0 | 3,183 | 103 | codeparrot/github-code |
ff1b707d092b27d6a62086166ae24a5716e098da7dd64735385bf72ebbd269e3 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
ponysay - Ponysay, cowsay reimplementation for ponies
Copyright (C) 2012, 2013, 2014 Erkin Batu Altunbaş et al.
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 Softw... | Python | src/balloon.py | tdsmith/ponysay | gpl-3.0 | 8,006 | 183 | codeparrot/github-code |
e086e477f17b8580df560ca22c24731bc4264f505990c5901520ad509979a4db | package de.metas.ui.web.pickingV2.productsToPick.process;
import de.metas.process.ProcessPreconditionsResolution;
import de.metas.ui.web.globalaction.GlobalActionEvent;
import de.metas.ui.web.globalaction.GlobalActionEvents;
import de.metas.ui.web.pickingV2.PickingConstantsV2;
import de.metas.ui.web.pickingV2.products... | Java | src/main/java/de/metas/ui/web/pickingV2/productsToPick/process/ProductsToPick_Request4EyesReview.java | metasfresh/metasfresh-webui | gpl-3.0 | 2,036 | 63 | codeparrot/github-code |
28de9dc15d89e04fdc28a68952e845706f586541905ab66682c489b613f68e0f | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace distribution_explorer
{
/// <summary>
/// Main d... | C# | boost_1_42_0/libs/math/dot_net_example/distribution_explorer/DistexForm.cs | kelvindk/Video-Stabilization | gpl-3.0 | 23,064 | 612 | codeparrot/github-code |
99f629adebe1624b93a266a9125fd6290ee9c868fcead195f184b6abc17e01f7 | /*
Copyright (c) 2006-2016 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distr... | C | src/sha.h | vanklompf/gloox | gpl-3.0 | 2,155 | 99 | codeparrot/github-code |
f4e8618ea1969f5396f3ffb782022c3f4e18fd4b037cf62d722a8c4ec09a3825 | /*
* This program 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
* (at your option) any later version.
*
* This program is distributed in the hope that i... | C | Sources/Application/IdlStructure.h | Mariale13/UDS_Protocol | gpl-3.0 | 5,938 | 159 | codeparrot/github-code |
e20ad3f1d0db382b9c93127b43f2e32c7676dc78d3bb44d2d612286f9fc9f73a | /*********************************************************************/
/* */
/* Optimized BLAS libraries */
/* By Kazushige Goto <kgoto@tacc.utexas.edu> */
/* ... | C | unsupported/plugins_unsupported/external/GotoBLAS2/driver/level2/ztrsv_U.c | cnr-isti-vclab/meshlab | gpl-3.0 | 4,386 | 152 | codeparrot/github-code |
db016d439e6fecc05cf5631c79d979e7ef0daa2733bbbc99f333673ff875174b | /*
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/dnd/Mover",["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","... | JavaScript | rowing/dojo-release-1.13.0/dojo/dnd/Mover.js | AnthonyARM/javascript | gpl-3.0 | 2,073 | 71 | codeparrot/github-code |
193d357aa5a3d3a1b1a9ca8b2774d83296d5816c4c3daace1e62e7ad2cc5c463 | /* ===========================================================
* GTNA : Graph-Theoretic Network Analyzer
* ===========================================================
*
* (C) Copyright 2009-2011, by Benjamin Schiller (P2P, TU Darmstadt)
* and Contributors
*
* Project Info: http://www.p2p.tu-darmstadt.de/researc... | Java | src/gtna/transformation/sampling/sample/NetworkSampleFast.java | timgrube/GTNA | gpl-3.0 | 9,622 | 423 | codeparrot/github-code |
8467a9b2c10b4a490af5c1819aa35d992954bcec5bf3a1d35ed5ba8ce21b78b5 | <?php
/*
* This file is part of Totara LMS
*
* Copyright (C) 2010 onwards Totara Learning Solutions LTD
*
* 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, ... | PHP | mod/facetoface/attendees_message_form.php | totara/seedlings | gpl-3.0 | 4,451 | 107 | codeparrot/github-code |
3e9f740b51658858d2ec01433fc686544687dcbbcb6d3b4984540ab8bde0f61e | # encoding: UTF-8
=begin
BETTERCAP
Author : Simone 'evilsocket' Margaritelli
Email : evilsocket@gmail.com
Blog : http://www.evilsocket.net/
This project is released under the GPL 3 license.
=end
# PacketFu::Utils.ifconfig is broken under OS X, it does
# not correctly parse the netmask field due to a wrong
# reg... | Ruby | tools/bettercap/lib/bettercap/monkey/packetfu/utils.rb | carkas/exrosploit | gpl-3.0 | 6,236 | 211 | codeparrot/github-code |
60e7e4c0c455838a306ddecdce8390ed373f2c59f8c2800aed5758693f569daf | /*=========================================================================*\
* Common option interface
* LuaSocket toolkit
\*=========================================================================*/
#include <string.h>
#include "lauxlib.h"
#include "auxiliar.h"
#include "options.h"
#include "inet.h"
/*========... | C | LunaDll/libs/luasocket/options.c | WohlSoft/LunaLUA | gpl-3.0 | 11,430 | 365 | codeparrot/github-code |
7bc0752101e05772eb8a7a50cd9058a934d818f36ef290048c4b3c32bbaa077d | /*
* Copyright (c) 2010 LinogistiX GmbH
*
* www.linogistix.com
*
* Project myWMS-LOS
*/
package de.linogistix.mobile.processes.info;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import de.linogistix.los.location.model.LOSUnitLoad;
/**
* @author krane
*
*/
public class... | Java | server.app/los.mobile/srcServer/de/linogistix/mobile/processes/info/InfoUnitLoadTO.java | tedvals/mywms | gpl-3.0 | 2,303 | 115 | codeparrot/github-code |
f0747350c0a5d7bdcd616df5d95010fa39069a5758191ffe142092afd6a5a717 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commerci... | C | deploy/Frameworks/QtGui.framework/Versions/5/Headers/qvector3d.h | michaelgeschwill/DependencyChaos | gpl-3.0 | 10,282 | 313 | codeparrot/github-code |
2f75e9ad2e9ec303c4fee337f5a6ba9f88fee5ef9a23c6865f793d7b211ed002 | /*
* Copyright 2010-2016 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom 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 ... | C++ | src/Geoscape/ItemsArrivingState.cpp | ohartenstein23/OpenXcom | gpl-3.0 | 4,895 | 169 | codeparrot/github-code |
f25339b5f2a63c5647dddb4cafb5d597d0d2808ad572706695daf6b1d60ec619 | // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef UTILS_HPP
#define UTILS_HPP
#include <stdio.h> // FILE*
#include "cbasetypes.hpp"
// generate a hex dump of the first 'length' bytes of 'buffer'
void WriteDump(FILE* fp, const void* buffer, si... | C++ | src/common/utils.hpp | hurtsky/rathena | gpl-3.0 | 1,992 | 51 | codeparrot/github-code |
e9d34758fd5404c0a437a2d3d4505db062b8f7009c281f0304cc26cf3ca1d6dc | define(['./../module', 'underscore'], function (module, _) {
module.controller('WelcomeSettingsController', function ($scope, $routeParams, $location, localStorageService, Rest, Spinner, SkinManager) {
$scope.skin_id = $routeParams.skin_id;
$scope.category = 'welcome';
$scope.settings = { ... | JavaScript | upload/admin/view/journal2/js/controllers/settings/welcome.js | zilgrg/opencart | gpl-3.0 | 4,691 | 132 | codeparrot/github-code |
65184cc2bcc599b09927b84349be72b549057a6f436dd830d1bfcc5499c582e9 | #include "stdafx.h"
#include "DomoticzTCP.h"
#include "../main/Logger.h"
#include "../main/Helper.h"
#include "../main/localtime_r.h"
#include "../main/mainworker.h"
#include "../main/WebServerHelper.h"
#include "../webserver/proxyclient.h"
#define RETRY_DELAY 30
extern http::server::CWebServerHelper m_webservers;
D... | C++ | hardware/DomoticzTCP.cpp | gordonb3/domoticz | gpl-3.0 | 6,388 | 287 | codeparrot/github-code |
8f97ceea6c61902de034a6e3c7f73213987333ecef3ff2ef8592847ddc15d854 | #
# This code is part of Ansible, but is an independent component.
#
# This particular file snippet, and this file snippet only, is BSD licensed.
# Modules you write using this snippet, which is embedded dynamically by Ansible
# still belong to the author of the module, and may assign their own license
# to the complet... | Python | lib/ansible/module_utils/network/nxos/nxos.py | kbrebanov/ansible | gpl-3.0 | 14,622 | 439 | codeparrot/github-code |
152c9eec0b58563eae379ff30838856e6caba5802ad80f3943d9f9dc6da8a96f | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft... | C# | Src/Compilers/Core/Source/Syntax/SyntaxNodeOrTokenList.cs | BlastarIndia/roslyn | gpl-3.0 | 21,072 | 598 | codeparrot/github-code |
c16f00d9af3d52efcac7d9704567aec262042f28fc5ee3f2311d86d9d9d2e68d | /*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.de)
*
* 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 late... | Java | beam/beam-envisat-reader/src/test/java/org/esa/beam/dataio/envisat/PointingTest.java | lveci/nest | gpl-3.0 | 10,466 | 176 | codeparrot/github-code |
e33b04d2f3861a3361622614708d38cdf28265e3661e89b88210f969e9cc8dfa | /*
* Symphony - A modern community (forum/SNS/blog) platform written in Java.
* Copyright (C) 2012-2017, b3log.org & hacpai.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 ve... | Java | src/main/java/org/b3log/symphony/processor/advice/CSRFCheck.java | sky54521/symphony | gpl-3.0 | 2,847 | 82 | codeparrot/github-code |
4b56be38ba39d66ac303f19b73522ef3f0defed10b7c813315102e9c21d26ca5 | // This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle is dis... | JavaScript | question/qengine.js | micaherne/moodle | gpl-3.0 | 6,887 | 183 | codeparrot/github-code |
5240bcdb0edc2026483d7634465c9a16e953448572ef022d28ef4dacf28b1148 | /*
* Source.h
*
* Copyright (C) 2012 Simon Lehmann
*
* This file is part of Actracktive.
*
* Actracktive 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... | C | src/actracktive/processing/nodes/Source.h | lagerkoller/actracktive | gpl-3.0 | 2,396 | 150 | codeparrot/github-code |
0bf3ced633669d1e0fd4afb6ddb040afca608a801843e434bcd14daa5f8f6568 | /**
* Caption: Zaval Java Resource Editor
* $Revision$
* $Date$
*
* @author: Victor Krapivin
* @version: 1.3
*
* Zaval JRC Editor is a visual editor which allows you to manipulate
* localization strings for all Java based software with appropriate
* support embedded.
*
* For mo... | Java | l10n-tool/src/org/zaval/awt/image/BmpFileDecoder.java | superzadeh/processdash | gpl-3.0 | 10,528 | 295 | codeparrot/github-code |
af875ac877816f295142e8a19f8e97f07fdf5ed162195805cc87a5ad5c8cabf4 | /*
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*
* $Revision$
* $Id$
* $HeadURL$
*/
#include "ProjectOptionsManipulatorResultDlg.h"
//(*InternalHeaders(ProjectOptionsManipulatorResultDlg)
#include <wx/sizer.... | C++ | src/plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulatorResultDlg.cpp | EnterTheNameHere/codeblocks_enth | gpl-3.0 | 2,312 | 69 | codeparrot/github-code |
4e78d31d757d3ed15bbb48afd9c554a32cd88e27d1fa35967b9ee8a484152cae | /* OctoWS2811 - High Performance WS2811 LED Display Library
http://www.pjrc.com/teensy/td_libs_OctoWS2811.html
Copyright (c) 2013 Paul Stoffregen, PJRC.COM, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Softwa... | C++ | teensyFirmware/testing_firmware/paletteViewer/OctoSK6812.cpp | cassm/will-o-the-wisp | gpl-3.0 | 12,223 | 368 | codeparrot/github-code |
6afdf228ca447eed692440d4a87c45e9ac61b646b87a32febd6dc652a4b229ef | // Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
let search_fields_datatypes = ['Data', 'Link', 'Dynamic Link', 'Long Text', 'Select', 'Small Text', 'Text', 'Text Editor'];
let do_not_include_fields = ["naming_series", "item_code", "item_name", "s... | JavaScript | erpnext/accounts/doctype/pos_settings/pos_settings.js | mhbu50/erpnext | gpl-3.0 | 2,690 | 82 | codeparrot/github-code |
5d64cab3e729002800f01318540ea3b82bfa1a3bfc85d5edb0b4acdbb22c1c66 | /*
* =======================================================================================
*
* Filename: memsweep.c
*
* Description: Implementation of sweeper module.
*
* Version: <VERSION>
* Released: <DATE>
*
* Author: Jan Treibig (jt), jan.treibig@gmail.com
* Project... | C | src/memsweep.c | RRZE-HPC/likwid | gpl-3.0 | 4,236 | 163 | codeparrot/github-code |
ed246fabeed5a61853cfb5632f952559be15c59c77a46a416f66ae1e6062019b | /*******************************************************************************
* Copyright 2008(c) The OBiBa Consortium. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU Gene... | Java | onyx-webapp/src/main/java/org/obiba/onyx/webapp/administration/panel/PurgeDetailsPanel.java | apruden/onyx | gpl-3.0 | 2,485 | 63 | codeparrot/github-code |
f69e3680f3bafc0940bd5b1b6f5a7cb4b3266d59b5c97878b4f282c08b96d77d | package eu.siacs.conversations.services;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bi... | Java | src/main/java/eu/siacs/conversations/services/NotificationService.java | jianlinwei/Conversations | gpl-3.0 | 21,159 | 563 | codeparrot/github-code |
0c89e2aca6db878423c623ad20f1e74749932ca9ad7ffda82117bff4b2df56d2 |
#
# Copyright 2009 Eigenlabs Ltd. http://www.eigenlabs.com
#
# This file is part of EigenD.
#
# EigenD 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) a... | Python | lib_pico/preadtemp.py | Eigenlabs/EigenD | gpl-3.0 | 1,052 | 38 | codeparrot/github-code |
bc1b997cd5923f49e7507680eea40328ef5670f4b0d3342b62a5b6cf649cf01c | /* Capstone Disassembly Engine */
/* By Dang Hoang Vu <danghvu@gmail.com> 2013 */
#ifdef CAPSTONE_HAS_X86
#include "../../cs_priv.h"
#include "../../MCRegisterInfo.h"
#include "X86Disassembler.h"
#include "X86InstPrinter.h"
#include "X86Mapping.h"
static cs_err init(cs_struct *ud)
{
// verify if requested mode is v... | C | src/capstone/arch/X86/X86Module.c | cuckoobox/monitor | gpl-3.0 | 1,661 | 77 | codeparrot/github-code |
dc34bc3d0c1ee6b4f77e2c314abc6e09bd49d1138c0e9d186d5bc2dcf5720028 | /*
Copyright (c) 2008-2016 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distr... | C | src/jinglecontent.h | vanklompf/gloox | gpl-3.0 | 4,297 | 139 | codeparrot/github-code |
c6415ca149eb556163a31426910cd15818d463abe38a8cde4de3288dd44e3828 | /*
This file is part of Subsonic.
Subsonic 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.
Subsonic is distributed in the hop... | Java | madsonic-main/src/main/java/net/sourceforge/subsonic/service/NetworkService.java | MadMarty/madsonic-server-5.0 | gpl-3.0 | 13,563 | 338 | codeparrot/github-code |
aa5396a9fcc5896911835aceb84753a30e2a4cc8d00c95c9f9e7dbb5cb7bd280 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/tools/quic/quic_epoll_connection_helper.h"
#include <errno.h>
#include <sys/socket.h>
#include "base/logging.h"
#include "base/stl_uti... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/net/tools/quic/quic_epoll_connection_helper.cc | geminy/aidear | gpl-3.0 | 1,307 | 45 | codeparrot/github-code |
e662bb307661195a4fcd98db92290119504abd158e7a76693b472b79a015d9ce | # -*- coding: utf-8 -*-
##################################################################################################
import logging
import xbmc
import xbmcgui
import xbmcaddon
##################################################################################################
LOG = logging.getLogger("EMBY."+__... | Python | resources/lib/dialogs/resume.py | angelblue05/plugin.video.emby | gpl-3.0 | 1,522 | 59 | codeparrot/github-code |
e26434c999e0e78df91a7c3e990d9c6ddcce5bb8811f644f26dff6081cb08e7d | /* ctok_token - implements the token_t class.
*
* Module begun 2008-02-20 by Rainer Gerhards
*
* Copyright 2008 Rainer Gerhards and Adiscon GmbH.
*
* This file is part of the rsyslog runtime library.
*
* The rsyslog runtime library is free software: you can redistribute it and/or modify
* it under the terms of... | C | runtime/ctok_token.c | vpereira/rsyslogd-mongo | gpl-3.0 | 3,789 | 130 | codeparrot/github-code |
b8fea0a83149aa98d7c2fd07e87aba0962e8bd88a53a467c35a651216f874ced | /***************************************************************************
* HtmlDocument.cs
*
* 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,... | C# | dev/Core/UI/HTML/HtmlDocument.cs | gtozzi/UltimaXNA | gpl-3.0 | 31,392 | 712 | codeparrot/github-code |
6ee3dd4aa243c3b071f8a8986f94ee6d115bbc5e9a9872b0586cc42197abecfa | /*
YUI 3.12.0 (build 8655935)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('get', function (Y, NAME) {
/**
* NodeJS specific Get module used to load remote resources.
* It contains the same signature as the default Get module so ... | JavaScript | lib/yuilib/3.12.0/get-nodejs/get-nodejs-debug.js | damyon/moodle-pdf | gpl-3.0 | 6,198 | 206 | codeparrot/github-code |
4cf0250b63735c50c2941a378d5f12a4da006d9eb085039df44da9b325767b98 | <?php
class cfs_term extends cfs_field
{
function __construct() {
$this->name = 'term';
$this->label = __( 'Term', 'cfs' );
}
function html( $field ) {
global $wpdb;
$selected_posts = [];
$available_posts = [];
$taxonomies = [];
if ( ! empty( $fi... | PHP | includes/fields/term.php | mgibbs189/custom-field-suite | gpl-3.0 | 8,211 | 222 | codeparrot/github-code |
4cc24a75fd5ab1f316356933dad2517e42499c804c05ed763a490dd28d60ea76 | <?php
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use yii\helpers\Json;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $model yii\web\IdentityInterface */
/* @var $fullnameField string */
$userName = $model->{$usernameField};
if (!empty($fullnameField)) {
$userName .= ' (' . ArrayHelper::getVa... | PHP | views/assignment/view.php | liulipeng/Yii2-Admin | gpl-3.0 | 2,389 | 62 | codeparrot/github-code |
4d301b170278838b76fa4820676923daa11dfff49942af301e99612b7fb01f1b | /**
* License Agreement for OpenSearchServer
*
* Copyright (C) 2013-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 ... | Java | src/main/java/com/jaeksoft/searchlib/parser/ExternalParser.java | nvoron23/opensearchserver | gpl-3.0 | 9,145 | 268 | codeparrot/github-code |
a218665c4b032614a28cda7270de94867e21a554976babd55778d9275a28c6f8 |
// Game_Music_Emu 0.3.0
#ifndef VGM_EMU_IMPL_H
#define VGM_EMU_IMPL_H
#include "Dual_Resampler.h"
#include "Classic_Emu.h"
#include "Ym2413_Emu.h"
#include "Ym2612_Emu.h"
#include "Sms_Apu.h"
template<class Emu>
class Ym_Emu : public Emu {
protected:
int last_time;
short* out;
enum { disabled_time = -1 };
public... | C | include/gme/Vgm_Emu_Impl.h | gwx/ZeldaClassic | gpl-3.0 | 1,670 | 75 | codeparrot/github-code |
6f1ba70d3eecaaff771e9b813a142b9f887dd8abd8916ef65dd40ee4f70a846a | namespace SiteServer.CMS.Model
{
public class RelatedFieldInfo
{
private int relatedFieldID;
private string relatedFieldName;
private int publishmentSystemID;
private int totalLevel;
private string prefixes;
private string suffixes;
public RelatedFieldInfo()
{
... | C# | source/SiteServer.CMS/Model/RelatedFieldlInfo.cs | ColgateKas/cms | gpl-3.0 | 1,753 | 69 | codeparrot/github-code |
9150675b50ae29fb661df7bf7344fe99756e10fc8be57a69643ec650500feb7c | <?php
/**
* WPML compatibility class
*/
class RWMB_WPML {
/**
* Register hooks.
*/
public function __construct() {
add_filter( 'wpml_duplicate_generic_string', array( $this, 'wpml_translate_values' ), 10, 3 );
}
/**
* Translating IDs stored as field values upon WPML post/page... | PHP | wp-content/themes/eventum/lib/meta-box/inc/wpml.php | mahdCompany/fnl-website | gpl-3.0 | 1,751 | 51 | codeparrot/github-code |
835dc906747bc442dbaeda409c35b13602e19160f398ad7a2ef26259b5b74aeb | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>generic::seq_packet_protocol::endpoint</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../..... | HTML | thirdparty/sources/boost_1_60_0/doc/html/boost_asio/reference/generic__seq_packet_protocol/endpoint.html | gwq5210/litlib | gpl-3.0 | 14,147 | 346 | codeparrot/github-code |
fd39fba4a6614e02d0f4388804970740eb3e6332256e7217d05c4699e97a457c | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Set blocking/non-blocking mode on a stream</title>
</head>
<body><div class="manualnavbar" style="text-align: center;">
... | HTML | php/5.5/function.stream-set-blocking.html | rafaelgou/the-phpjs-local-docs-collection | gpl-3.0 | 5,231 | 142 | codeparrot/github-code |
9747460d4f734d7beedd353908a2bc9c6fbf97370211d6ba248869f1fe5c19b3 | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2.1 of the GNU Lesser General Public License
as published by the Free Software Foundation.
This program is distributed in the hope tha... | C | osprey/libfi/mpp_pre/preprod_js_4.c | uhhpctools/openuh-openacc | gpl-3.0 | 3,003 | 89 | codeparrot/github-code |
eb620fdb02bab10d02e14c65ae5908835ed123bc00b1f0146f0ac6bb75988880 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid comm... | C | include/QtWidgets/5.7.0/QtWidgets/private/qfilesystemmodel_p.h | hannin/what-the-map | gpl-3.0 | 13,119 | 327 | codeparrot/github-code |
e30f9f24c23e623f8b9af8f7579dca200a69f3278002392ab26f1fb89a150fcb | package net.osmand.plus.activities.actions;
import net.osmand.plus.OsmandApplication;
import net.osmand.plus.OsmandSettings;
import net.osmand.plus.activities.MapActivity;
import net.osmand.plus.views.OsmandMapTileView;
import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
public class Osm... | Java | OsmAnd/src/net/osmand/plus/activities/actions/OsmAndAction.java | FreeDao/getintouchmaps | gpl-3.0 | 1,231 | 59 | codeparrot/github-code |
ca47ec5caabc0fea639c66624b390c47934cc2f0505bb8812996efa4aca834af | /**
* This file is part of lavagna.
*
* lavagna 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.
*
* lavagna is distributed in t... | Java | src/main/java/io/lavagna/web/security/login/oauth/BitbucketHandler.java | KillerDesigner/lavagna | gpl-3.0 | 1,719 | 55 | codeparrot/github-code |
ec88958a0ea49862a79c28439ca6294e291b6eb597284bf2613e012b6035a221 | /* Part of Cosmos by OpenGenus Foundation */
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
// Struct to represent the boxes
struct Box {
int height, width, length;
// Initializer
Box() {}
Box(int h, int w, int l): height(h), width(w), length(l) {}
// Ret... | C++ | code/dynamic_programming/box_stacking/box_stacking.cpp | Walt280/cosmos | gpl-3.0 | 2,181 | 85 | codeparrot/github-code |
8efa56cf6f5983a3e3a603d5ff86463cf44bc3f1b462750c37b553792fc688df | /*
* Copyright (c) 2010 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/Charts/LTMTrend.cpp | dresco/GoldenCheetah | gpl-3.0 | 2,276 | 64 | codeparrot/github-code |
745eaab15de1a8e09c725c446b5978b044b01de0c18873fdc8024d2748ffa2c4 | <?php
namespace lib\util;
use Doctrine\ORM\EntityManager;
class Object {
public function save() {
/* @var $_EntityManager EntityManager */
global $_EntityManager;
$_EntityManager->beginTransaction();
$_EntityManager->persist($this);
$_EntityManager->commit();
$_En... | PHP | lib/util/Object.php | ifroariquemes/MyCookie | gpl-3.0 | 1,339 | 49 | codeparrot/github-code |
cdace12b5ab249cceab9b8048abf8c907a278b4a003887ae197b74e036e00bed | # Copyright (C) 2010-2014 GRNET S.A.
#
# 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 i... | Python | snf-cyclades-app/synnefo/volume/management/commands/snapshot-show.py | apyrgio/synnefo | gpl-3.0 | 2,301 | 65 | codeparrot/github-code |
97fb5ad282246bceb78041ced16a7d7f912960bf96823f5b300d32096cb16e88 | <?php
/*
Template Name: Blog Pinterest
*/
?>
<?php get_header(); ?>
<?php
global $wp_query;
global $qode_template_name;
global $qode_page_id;
$qode_page_id = $wp_query->get_queried_object_id();
$id = $wp_query->get_queried_object_id();
$qode_template_name = get_page_template_slug($id);
$category = get_post_meta($id... | PHP | wp-content/themes/bridge/blog-pinterest.php | matwaroff/Brandme-WP | gpl-3.0 | 5,149 | 154 | codeparrot/github-code |
d6ddf73d58c54286a03c6e561de80aca50c7e4bfc74590240d57a8e21dbbf390 | # coding=utf-8
# Author: medariox <dariox@gmx.com>
# based on Dustyn Gibson's <miigotu@gmail.com> work
# URL: https://sickrage.github.io
#
# This file is part of SickRage.
#
# SickRage is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Fr... | Python | sickbeard/providers/gftracker.py | andrewleech/SickRage | gpl-3.0 | 7,214 | 192 | codeparrot/github-code |
8adcdc18e2234f26846038ebe31dafeedd2d5308d3d7ab3dc5bee7c5b9b23c25 | <?php
use Dapphp\Radius\Radius;
use Phpass\PasswordHash;
$radius = new Radius($config['radius']['hostname'], $config['radius']['secret'], $config['radius']['suffix'], $config['radius']['timeout'], $config['radius']['port']);
function authenticate($username, $password)
{
global $config, $radius, $debug;
if (... | PHP | html/includes/authentication/radius.inc.php | kakopedreros/librenms | gpl-3.0 | 3,639 | 131 | codeparrot/github-code |
92f17b5146a1de35e0a21e4a328721961a9fa681b98a566dc4587be5e6b2c3e6 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::EventBinding;
use dom::bindings::codege... | Rust | components/script/dom/event.rs | srbhklkrn/SERVOENGINE | mpl-2.0 | 6,935 | 265 | codeparrot/github-code |
e68ef0702c61456d7974ebba9a49a6ecdf2c0a91065701b49d793b6d1cd6de3b | /**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import * as React from 'react';
import RoomId from './RoomId';
import { chatType } from './ChatMessage';
exp... | TypeScript | src/ts/content/chat/Room.tsx | saddieeiddas/cu-patcher-ui | mpl-2.0 | 1,825 | 63 | codeparrot/github-code |
9daf66d179f28607b3053ee6fd889651c9650a8b2b95cc2bdf227d590c4fa677 | const bunyan = require('bunyan');
const log = module.exports = bunyan.createLogger({
name: 'openbadger',
stream: process.stdout,
level: 'info',
serializers: {
req: bunyan.stdSerializers.req,
res: bunyan.stdSerializers.res,
program: function (p) {
return {
shortname: p.shortname,
... | JavaScript | lib/logger.js | mozilla/openbadger | mpl-2.0 | 1,033 | 40 | codeparrot/github-code |
bfb2dd0b3d32219a467be290279d7a2f2bd37fec3592b388ee75db373706e0d3 | #ifndef RBX_BUILTIN_SYMBOL_HPP
#define RBX_BUILTIN_SYMBOL_HPP
#include "class/object.hpp"
namespace rubinius {
class Encoding;
class String;
class Tuple;
/* Symbols are immediate types, but instances of a Symbol are created
* via SymbolTable::lookup, which is normally accessed through
* state->lookup.
... | C++ | machine/class/symbol.hpp | jsyeo/rubinius | mpl-2.0 | 1,984 | 79 | codeparrot/github-code |
467a6d27ce145b56618711d174b9f249f4701292fbfafc6eee84162a0eaa7a73 | ---
subcategory: "Cloud Key Management Service"
layout: "google"
page_title: "Google: google_kms_key_ring_iam"
sidebar_current: "docs-google-kms-key-ring-iam"
description: |-
Collection of resources to manage IAM policy for a Google Cloud KMS key ring.
---
# IAM policy for Google Cloud KMS key ring
Three different r... | Markdown | website/docs/r/google_kms_key_ring_iam.html.markdown | hashicorp/terraform-provider-google-beta | mpl-2.0 | 7,561 | 202 | codeparrot/github-code |
bab0f5fbdf4ec58d9f3c8376b92554c08c367fb496f705efde31346d9e8e5b0d | <?php
/**
* @package api
* @subpackage filters
*/
class KalturaServerNodeFilter extends KalturaServerNodeBaseFilter
{
/* (non-PHPdoc)
* @see KalturaFilter::getCoreFilter()
*/
protected function getCoreFilter()
{
return new ServerNodeFilter();
}
public function getTypeListResponse(KalturaFilterPager $pag... | PHP | api_v3/lib/types/serverNode/base/filters/KalturaServerNodeFilter.php | DBezemer/server | agpl-3.0 | 1,254 | 48 | codeparrot/github-code |
5734a5db94681ead2e7e12afe6e30ffc543017e5978893e35a15394911cae35f | /*
* opencog/cogserver/server/ServerSocket.cc
*
* Copyright (C) 2002-2007 Novamente LLC
* Copyright (C) 2010 Linas Vepstas <linasvepstas@gmail.com>
* All Rights Reserved
*
* Written by Welter Luigi <welter@vettalabs.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the t... | C++ | opencog/cogserver/server/ServerSocket.cc | ruiting/opencog | agpl-3.0 | 7,599 | 211 | codeparrot/github-code |
2d07f86bc242c1eb0050a99393765f046dc8483c351ed9706a5cd682b0a26a4e | <?php
/**
* Class CRM_CivirulesConditions_Contribution_RecurringEndDate
*
* This CiviRule condition will check if the end date of the recurring contribution is set or not set
*
* @author Erik Hommel (CiviCooP) <erik.hommel@civicoop.org>
* @link http://redmine.civicoop.org/projects/civirules/wiki/Tutorial_create_... | PHP | CRM/CivirulesConditions/Contribution/RecurringEndDate.php | JMAConsulting/org.civicoop.civirules | agpl-3.0 | 2,591 | 88 | codeparrot/github-code |
09a8bd4b193f7084be2c6c19da609dd2be1c59cdc94fb53275974fc2cc5cfcfa | /**
* Copyright (C) 2001-2015 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published b... | Java | src/main/java/com/rapidminer/operator/io/AbstractWriter.java | brtonnies/rapidminer-studio | agpl-3.0 | 3,116 | 88 | codeparrot/github-code |
a5a8d650b5a941d905e14061aa0cbf3499ba551500b1201cd3b3e4618bef8adc | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2014 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | PHP | app/protected/modules/jobsManager/views/QueueJobView.php | speixoto/zurmo-for-school | agpl-3.0 | 5,774 | 119 | codeparrot/github-code |
0893e4d5c245ff63c257f886d502e83825e17cb6d2ab83e98c7b295b22f4e2d5 | # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/
# Copyright (c) 2010, Eucalyptus Systems, Inc.
# 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 res... | Python | venv/lib/python2.7/site-packages/boto/regioninfo.py | GbalsaC/bitnamiP | agpl-3.0 | 6,214 | 188 | codeparrot/github-code |
c073ad27a38440f6c635d257982031cfe345caf855d26929ca3d84155d80d610 | """
Methods for exporting course data to XML
"""
import logging
import lxml.etree
from xblock.fields import Scope
from xmodule.contentstore.content import StaticContent
from xmodule.exceptions import NotFoundError
from xmodule.modulestore import Location
from xmodule.modulestore.inheritance import own_metadata
from fs... | Python | common/lib/xmodule/xmodule/modulestore/xml_exporter.py | morenopc/edx-platform | agpl-3.0 | 10,461 | 258 | codeparrot/github-code |
67e5f468875afd959cf2769b5a6f6c2ac9fa1726a62bcf66f7110f4011aaf929 | /*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General... | JavaScript | scripts/npc/1032004.js | patLgNova/XMS-v62 | agpl-3.0 | 1,586 | 59 | codeparrot/github-code |
6c33149f7ef3853e9fb825c28f15bcc809ab4143e0fdcd409776fa86e4e80daa | /*
* ----------------------------- JSTORAGE -------------------------------------
* Simple local storage wrapper to save data on the browser side, supporting
* all major browsers - IE6+, Firefox2+, Safari4+, Chrome4+ and Opera 10.5+
*
* Author: Andris Reinman, andris.reinman@gmail.com
* Project homepage: www.jsto... | JavaScript | js/jstorage.js | jzxpr/jzxpr | agpl-3.0 | 30,922 | 960 | codeparrot/github-code |
831af889c36dc630aba0e33b32298b658b84a9a15d658f8efbfe9080a5aaa92d | <?php namespace App\Providers;
use App\Services\LdapAd;
use Illuminate\Support\ServiceProvider;
use Illuminate\Contracts\Support\DeferrableProvider;
class LdapServiceProvider extends ServiceProvider implements DeferrableProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
... | PHP | app/Providers/LdapServiceProvider.php | snipe/snipe-it | agpl-3.0 | 731 | 41 | codeparrot/github-code |
8167ce28d7b7cb7d243bc0a481ad79554ea16c76b44f993cd98377ee59443dbe |
#include "variableswidget.h"
#include "ui_variableswidget.h"
#include "variablespage/variablestablemodel.h"
#include <QModelIndexList>
#include <boost/foreach.hpp>
#include <algorithm>
#include <QDebug>
VariablesWidget::VariablesWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::VariablesWidget)
{
ui->setupUi... | C++ | JASP-Desktop/variableswidget.cpp | dostodabsi/jasp-desktop | agpl-3.0 | 3,307 | 126 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.