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 |
|---|---|---|---|---|---|---|---|---|
7de6d16eedd9c472cf834e9c7be5017703802c393bdca8c555379931cadf2cc6 | <?php
namespace Drupal\Component\Utility;
/**
* Provides helper to filter for cross-site scripting.
*
* @ingroup utility
*/
class Xss {
/**
* The list of HTML tags allowed by filterAdmin().
*
* @var array
*
* @see \Drupal\Component\Utility\Xss::filterAdmin()
*/
protected static $adminTags =... | PHP | web/core/lib/Drupal/Component/Utility/Xss.php | maskedjellybean/tee-prop | gpl-2.0 | 12,249 | 359 | codeparrot/github-code |
fd1fabcb4d8e907eb6898daa7d231e664b1b12714e1198f7405e29d12da1a96d | /* QQ: TODO - allocate everything from dynarrays !!! (benchmark) */
/* QQ: TODO instant duration locks */
/* QQ: #warning automatically place S instead of LS if possible */
/* Copyright (C) 2006 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General P... | C | storage/maria/lockman.c | MariaDB/server | gpl-2.0 | 26,546 | 777 | codeparrot/github-code |
62f643079354c44714f42c75510fb50907684654bee0d8ca17a9506af26b3c4b | /*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
... | C | src/server/game/Chat/Channels/Channel.h | Exitare/TrinityCore | gpl-2.0 | 12,873 | 259 | codeparrot/github-code |
fc9c1241edc622c82b752f405ef0a22e4feebc00ef372bbb2843fdfd1391a979 | /***********************************************************************
QuadSetNode - Class for sets of quadrilaterals as renderable
geometry.
Copyright (c) 2011 Oliver Kreylos
This file is part of the Simple Scene Graph Renderer (SceneGraph).
The Simple Scene Graph Renderer is free software; you can redistribute
it... | C | SceneGraph/QuadSetNode.h | olearypatrick/Vrui-2.4-003 | gpl-2.0 | 2,141 | 69 | codeparrot/github-code |
3cfc0119b412b693936bd5bc8edaff6d5a6569c59bd6a98e8396d8c37bc9c862 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is... | Java | opennms-config-model/src/main/java/org/opennms/netmgt/config/collector/ServiceParameters.java | RangerRick/opennms | gpl-2.0 | 8,571 | 249 | codeparrot/github-code |
9fe0fd63e7caad17557f7f24ea0e7c7db3e367b9ef2754cc8fa8d2338cd4adbf | # -*- coding: utf-8 -*-
"""
***************************************************************************
lasinfoPro.py
---------------------
Date : October 2014 and May 2016
Copyright : (C) 2014 by Martin Isenburg
Email : martin near rapidlasso point com
***... | Python | python/plugins/processing/algs/lidar/lastools/lasinfoPro.py | AsgerPetersen/QGIS | gpl-2.0 | 5,416 | 111 | codeparrot/github-code |
558fe8e7b8f1b48b32fbf2f1afac815d3fc3abe180a3e470ed4e6845e9f24e62 | ## feature detection
find_package(Threads)
find_package(ZLIB REQUIRED)
option(USE_VALGRIND "Build to run safely under valgrind (often slower)." ON)
if(USE_VALGRIND)
find_package(Valgrind REQUIRED)
endif()
option(TOKU_DEBUG_PARANOID "Enable paranoid asserts." ON)
include(CheckIncludeFiles)
## check for some includ... | CMake | storage/tokudb/PerconaFT/cmake_modules/TokuFeatureDetection.cmake | cvicentiu/mariadb-10.0 | gpl-2.0 | 5,546 | 138 | codeparrot/github-code |
31b9acc89d618105c59a13c57b04ae28e656e460e65b8b7cdd074bf7a2c9aaad | /*
* Copyright (C) 2013-2020 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 | spi/src/main/java/org/n52/io/response/dataset/profile/VerticalExtentOutput.java | CarstenHollmann/timeseries-api | gpl-2.0 | 2,688 | 97 | codeparrot/github-code |
9aa62b0e5d058dd82f26e09f371c39c8b43e890c6ea70f5db6df43c887b8f305 | #!/bin/bash
# shellcheck disable=SC2034
TEST_DESCRIPTION="root filesystem on an encrypted LVM PV on a degraded RAID-5"
KVERSION=${KVERSION-$(uname -r)}
# Uncomment this to debug failures
#DEBUGFAIL="rd.shell rd.break rd.debug"
#DEBUGFAIL="rd.shell rd.break=pre-mount udev.log-priority=debug"
#DEBUGFAIL="rd.shell rd.ud... | Shell | test/TEST-12-RAID-DEG/test.sh | FGrose/dracut | gpl-2.0 | 7,342 | 173 | codeparrot/github-code |
0a71ca99f6eb1ff32189058238a214e340ccc7b5bbc4eea5d9ff57f2eaebfc75 | /*
* *************************************************************************************
* Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | Java | esper/src/main/java/com/espertech/esper/epl/enummethod/eval/EnumEvalMostLeastFrequentScalar.java | b-cuts/esper | gpl-2.0 | 1,858 | 48 | codeparrot/github-code |
d0ee22343748e07556659ccb7592ddd18394709ea6bbd1cf178d6dcbe0bc0481 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
#include "commons/commons.h"
#include "commons/log.h"
#include "commons/system_utils.h"
#include "containers/list.h"
#include "fastq_batch_reader_omp.h"
#include "fastq_batch.h"
#include "fastq_file.h"
/* *************... | C | lib/c/src/bioformats/fastq/old/fastq_batch_reader_omp.c | grev-uv/hpg-methyl | gpl-2.0 | 3,706 | 106 | codeparrot/github-code |
fd8581992588f75f1fe14f92738a8e9119efbccd334e1dfd01c038e8e3ad547c |
<?php $format = get_post_format(); ?>
<span class="post_type_label <?php echo esc_attr( $format ); ?>"></span>
<?php if ( 'false' != of_get_option('post_meta')) { ?>
<span class="post_date"><time datetime="<?php the_time('Y-m-d\TH:i:s'); ?>"><?php the_time( get_option( 'date_format' ) ); ?></time></span>
<!-- Post Me... | PHP | wp-content/themes/duena/post-formats/post-meta.php | mattforsyth-west/commons-unionranch | gpl-2.0 | 3,912 | 71 | codeparrot/github-code |
d6220c09b138e44093623b78f280059920107b6bf56fb1c66b442a0b909c026a | /* Solving nonlinear equation by Newton's method. */
/*
Copyright (C) 2009 University of Texas at Austin
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 ... | C | user/zone/newton.c | TobbeTripitaka/src | gpl-2.0 | 3,560 | 116 | codeparrot/github-code |
c177906dec3c1d7afa5c259579cc866ba67f15b8437a8057678589be4ed474d6 | #ifndef _LIST_H_
#define _LIST_H_
/*typedef struct _list_ List;*/
typedef struct Element
{
void *value;
struct Element *next;
struct Element *prev;
} Element;
typedef struct List
{
Element *first;
Element *last;
Element *current;
} List;
#define foreach(value,list) for(value=lst_first(list);\
... | C | wt2d/lisst.h | TheTypoMaster/xsmurf | gpl-2.0 | 807 | 41 | codeparrot/github-code |
d16e38d209363d417cf981763e7032ae489ac391e5da0d3b145dac29f626dd4d | /* Print National Semiconductor 32000 instructions.
Copyright (C) 1986-2017 Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Sof... | C | opcodes/ns32k-dis.c | nadeaud/binutils-gdb | gpl-2.0 | 21,866 | 867 | codeparrot/github-code |
a401716a71dee22497d6c140c13ba062e66428fe6e3f063a9964294693684eef | /* include/asm/mach-msm/htc_pwrsink.h
*
* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
* Copyright (C) 2008 HTC Corporation.
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2011 Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* Lic... | C | arch/arm/mach-msm/msm_vibrator.c | fdroid/gp-peak-kernel | gpl-2.0 | 4,610 | 202 | codeparrot/github-code |
03670b3d20c891a6009d37ba9e8c3897e5d6dbcbeab77a3708238ef5a28d62ef | /******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
*
* File Name : l3g4200d.c
* Authors : MH - C&I BU - Application Team
* : Carmine Iascone (carmine.iascone@st.com)
* : Matteo Dameno (matteo.dameno@st.com)
* Version : V 0.2
* Date :... | C | drivers/i2c/chips/l3g4200d.c | Pivosgroup/buildroot-linux-kernel | gpl-2.0 | 14,049 | 607 | codeparrot/github-code |
2cacb9033628e9eaa4da2d6a75f17f74b127cf39d0f639ecbc2e4a95369b35f7 | /*
* frontend.h
*
* Copyright (C) 2000 Marcus Metzler <marcus@convergence.de>
* Ralph Metzler <ralph@convergence.de>
* Holger Waechtler <holger@convergence.de>
* Andre Draszik <ad@convergence.de>
* for convergence integrated media GmbH
*
* This program is free software; you can redistribut... | C | include/linux/dvb/frontend.h | dancefire/hd806-kernel-android | gpl-2.0 | 10,787 | 416 | codeparrot/github-code |
f2a0feb000d8bdbb02b5bbb87b4e960e7abfc4c59e9222decc97733ff3751873 | /**
* Implementation of Drupal behavior.
*/
Drupal.behaviors.openlayers_plus_behavior_blocktoggle = function(context) {
Drupal.OpenLayersPlusBlocktoggle.attach(context);
};
/**
* Blocktoggle is **NOT** an OpenLayers control.
*/
Drupal.OpenLayersPlusBlocktoggle = {};
Drupal.OpenLayersPlusBlocktoggle.layerStates =... | JavaScript | sites/default/modules/openlayers_plus/behaviors/openlayers_plus_behavior_blocktoggle.js | unicefuganda/devtrac | gpl-2.0 | 3,664 | 108 | codeparrot/github-code |
a3364d5fd8fbcd7f2e6dbc0e8cb93d9b5382cb655889ded31a67a9817250051e | /*
* Copyright © 2004 David Reveman
*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby granted without
* fee, provided that the above copyright notice appear in all copies
* and that both that copyright notice and this permission notice
* app... | C | xorg-server/hw/xgl/xglgc.c | mcr/xorg-xvnc4 | gpl-2.0 | 14,760 | 646 | codeparrot/github-code |
650700136fe6595d2db41529ee149cba30f8aa33a0d14cfe717d7fa35cc0154b | /*
* runtime-wrappers.c - Runtime Services function call wrappers
*
* Implementation summary:
* -----------------------
* 1. When user/kernel thread requests to execute efi_runtime_service(),
* enqueue work to efi_rts_wq.
* 2. Caller thread waits for completion until the work is finished
* because it's dependen... | C | drivers/firmware/efi/runtime-wrappers.c | Fe-Pi/linux | gpl-2.0 | 14,821 | 494 | codeparrot/github-code |
b224a1307ddb3b6e01094de99a2ab981c2afb76216f9479b5178820bf84d835e | // -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
//
// is_na.h: Rcpp R/C++ interface class library -- vector operators
//
// Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
//
// This file is part of ... | C | rcpp/Rcpp/inst/include/Rcpp/traits/is_na.h | experimentalDataAesthetics/smallOFmodules | gpl-2.0 | 2,036 | 65 | codeparrot/github-code |
792c3e06f98d0a7bd4d66a62dc9cafab8a97175900920db5b7c94b1236e097d0 | /*
* This file implements the DMA operations for NVLink devices. The NPU
* devices all point to the same iommu table as the parent PCI device.
*
* Copyright Alistair Popple, IBM Corporation 2015.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU... | C | arch/powerpc/platforms/powernv/npu-dma.c | pratyushanand/linux | gpl-2.0 | 20,958 | 850 | codeparrot/github-code |
9de6cd1277660d8174e69201382c208e7d01f65af4c55497d8ef658cd8c8b0e1 | /*******************************************************************************************
Copyright 2010 Broadcom Corporation. All rights reserved.
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 G... | C | modules/drivers/char/brcm/fuse_ril/CAPI2_CIB/modem/capi/public/stk.h | WinKarbik/android_kernel_samsung_amazing | gpl-2.0 | 27,065 | 832 | codeparrot/github-code |
a46b58ed68f0bd931605bde356e8be167b10225341accc86b8b6e5a5e2997ed6 | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 AMD
* Written by Yinghai Lu <yinghailu@amd.com> for AMD.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either v... | C | src/mainboard/supermicro/h8qme_fam10/romstage.c | michaelforney/coreboot | gpl-2.0 | 10,701 | 331 | codeparrot/github-code |
973a404a015639bb1acdd1431f13f8fb77d479e7413d98697ede99ad76b58ab4 | #ifndef __LINUX_IF_ADDR_H
#define __LINUX_IF_ADDR_H
#include <linux/types.h>
#include <linux/netlink.h>
struct ifaddrmsg
{
__u8 ifa_family;
__u8 ifa_prefixlen; /* The prefix length */
__u8 ifa_flags; /* Flags */
__u8 ifa_scope; /* Address scope */
__u32 ifa_index; /* Link index */
};
/*
* Important ... | C | include/linux/if_addr.h | kjmkznr/iproute2 | gpl-2.0 | 1,426 | 62 | codeparrot/github-code |
79dc6c547e77046251fd29005884cb354d934df5b67c775a6fce3efb0acfa4ff | <?php
/**
* WPBakery Visual Composer Media tab for adding media content to visual composer
*
* @package WPBakeryVisualComposer
*
*/
require_once(ABSPATH . '/wp-includes/script-loader.php');
class WPBakeryMediaTab extends WPBakeryVisualComposerAbstract implements WPBakeryVisualComposerTemplateInterface {
pub... | PHP | wp-content/themes/Magazinlya/wpbakery/js_composer/composer/lib/media_tab.php | iqbaljayadi/bloggoodco | gpl-2.0 | 19,414 | 399 | codeparrot/github-code |
a9b4c9fa503f150b238d654ad5817e427d40b2008d7ad66ab9dc0b5c8e803611 | #
# * This SQL script upgrades the core Zen Cart database structure from v1.3.7 to v1.3.8
# *
# * @package Installer
# * @access private
# * @copyright Copyright 2003-2007 Zen Cart Development Team
# * @copyright Portions Copyright 2003 osCommerce
# * @license http://www.zen-cart.com/license/2_0.txt GNU Public License ... | SQL | zc_install/sql/mysql_upgrade_zencart_137_to_138.sql | cpowersoft/zencart-1.5.4 | gpl-2.0 | 11,792 | 149 | codeparrot/github-code |
181d814d5ab65225390c31749a854d60600b8aa66d671a944e78a4051c3666f5 | /*
* Copyright (C) 2009. SUSE Linux Products GmbH. All rights reserved.
*
* Authors:
* Alexander Graf <agraf@suse.de>
* Kevin Wolf <mail@kevin-wolf.de>
* Paul Mackerras <paulus@samba.org>
*
* Description:
* Functions relating to running KVM on Book 3S processors where
* we don't have access to hyperv... | C | arch/powerpc/kvm/book3s_pr.c | govindraj-raja/linux-omap | gpl-2.0 | 30,374 | 1,176 | codeparrot/github-code |
19d83f144fdd1008c6c43822414358be9f8e5798fcb4051dbc3e90a3da6cfaab | #pragma once
/* greebo: This file contains the manipulator classes like
*
* - Translate Maniplator
* - Rotate Manipulator
* - Scale Manipulator
* - Drag Manipulator
* - Clip Manipulator
*
* that derive from the abstract base class Manipulator
*
* A Manipulator consists of several Manipulatables (e.g. a circl... | C | src/tools/radiant/radiant/selection/Manipulators.h | DarkRainX/ufoai | gpl-2.0 | 10,384 | 364 | codeparrot/github-code |
42fcbcfef33bfce02353b0d83dfd4208ed36a1b41a3baca6b392ea277e7801fa | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2010, 2011 Ferdinando Ametrano
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistrib... | C++ | Quantum Trading Platforms/QuantLib-1.4/ql/instruments/bonds/btp.hpp | EuroPlusFinance/Software | gpl-2.0 | 9,800 | 294 | codeparrot/github-code |
6669725fb21423e09850b43ef81d9623b286648a2e1c944df6d38dd06bcf9041 | <?php
/**
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2012.8
* @package kernel
*/
function validate( $fields, $type, $spacesAllowed = true )
{
$validationMessage = '';
$fieldContaining... | PHP | kernel/settings/validation.php | ymc-elst/playground-ez48 | gpl-2.0 | 2,710 | 83 | codeparrot/github-code |
f37ec483d70681825e84b2e51e022798b5c7f666a8812c6f3efc45cb609bc4f0 | /*
* fs/cifs/cifs_unicode.c
*
* Copyright (c) International Business Machines Corp., 2000,2009
* Modified by Steve French (sfrench@us.ibm.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 ... | C | fs/cifs/cifs_unicode.c | MattCrystal/Tempest | gpl-2.0 | 5,692 | 261 | codeparrot/github-code |
1fc4569e7cfc9e9f427cebb68d2ee51ba7ce198c49941ddcba0f5a8670f99094 | #! /usr/bin/env python
# Change the #! line occurring in Python scripts. The new interpreter
# pathname must be given with a -i option.
#
# Command line arguments are files or directories to be processed.
# Directories are searched recursively for files whose name looks
# like a python module.
# Symbolic links are al... | Python | user/python/Tools/scripts/pathfix.py | sensysnetworks/uClinux | gpl-2.0 | 3,851 | 150 | codeparrot/github-code |
545d58b8064cb96cc3d986fd0c9a4f35b4c0e447012783be4c46244b91c60dbf | /* Copyright (c) 2004, 2005 MySQL AB
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 of the License.
This program is distributed in the hope that it will be useful,
but WITH... | C# | storage/ndb/src/cw/cpcc-win32/csharp/Database.cs | charliesome/mysql-5.5.36 | gpl-2.0 | 3,511 | 178 | codeparrot/github-code |
6d3d8c54672309b0d36a4eb1bd55a19aa4dea5d9b96bac96c1a1ec97373bcad7 |
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
};
};
class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_postInit));
};
};
class Extended_Killed_EventHandlers {
class CAManBase {
class... | C++ | addons/goggles/CfgEventHandlers.hpp | BullHorn7/ACE3 | gpl-2.0 | 835 | 37 | codeparrot/github-code |
5a7d04620a006c06096564bd7cd0530735e615892daaf5fc9a49d86d1c04912a | /***
This file is part of systemd.
Copyright 2013 Lennart Poettering
Copyright 2013 Kay Sievers
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
... | C | src/test/test-boot-timestamps.c | msekletar/systemd-fedora | gpl-2.0 | 3,430 | 97 | codeparrot/github-code |
9ffa41bfa6c2d6d615e2423d388141dae69dfb978fc76d1f797ebdfbf62ec44c | /*
Copyright (c) 2005, 2010, Oracle and/or its affiliates.
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 of the License.
This program is distributed in the hope that it wi... | C++ | sql/my_decimal.cc | iangilfillan/MariaDBserver | gpl-2.0 | 12,119 | 437 | codeparrot/github-code |
88e890080b923400299d5954d278f22f988353670bab305e288e3f56d0250ba3 | /*
* Copyright (C) 2016 Robin Gareus <robin@gareus.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* Th... | C | gtk2_ardour/plugin_pin_dialog.h | mojofunk/ardour | gpl-2.0 | 7,688 | 244 | codeparrot/github-code |
23f24d1a8583219ce7f3fadac81c0207895a547f9e586ca628d721e1b4c857f1 | /***************************************************************************
Copyright 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
***************************************************************************/
/***************************************************************************
* ... | C | keduvocdocument/keduvocpersonalpronoun.h | AjayS91/libkdeedu | gpl-2.0 | 1,888 | 62 | codeparrot/github-code |
036bd97f76626b8220f1c255f9e29953d095118e8b5d74669797699512643fea | /*
* str_rchr.c: This file is part of the `djbdns' project, originally written
* by Dr. D J Bernstein and later released under public-domain since late
* December 2007 (http://cr.yp.to/distributors.html).
*
* Copyright (C) 2009 - 2012 Prasad J Pandit
*
* This program is a free software; you can redistribute it a... | C | str_rchr.c | pjps/ndjbdns | gpl-2.0 | 1,515 | 55 | codeparrot/github-code |
02af77143db1d3bf3d860547680ad984a92f537b0ca186c35014a24645a1066d | #!/bin/sh
set -e
set -x
info()
{
local green="\033[1;32m"
local normal="\033[0m"
echo "[${green}build${normal}] $1"
}
ARCH="x86_64"
MINIMAL_OSX_VERSION="10.6"
OSX_VERSION="10.8"
SDKROOT=`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OSX_VERSION.sdk
usage()
{
cat << EOF
usage: ... | Shell | extras/package/macosx/build.sh | bgarrels/vlc-2.1 | gpl-2.0 | 2,379 | 159 | codeparrot/github-code |
16ca89d5ae13576a1048faa5842a442ebaeaf032c29c6f47f99aec4dca44e140 | <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\XML_Sitemaps
*/
/**
* Class WPSEO_Sitemaps.
*
* @todo This class could use a general description with some explanation on sitemaps. OR.
*/
class WPSEO_Sitemaps {
/**
* Sitemap index identifier.
*
* @var string
*/
const SITEMAP_INDEX_TYPE = '1';
/**
... | PHP | wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps.php | kirsley/repobase | gpl-2.0 | 16,059 | 646 | codeparrot/github-code |
7526a44166d05c4061cefe7ea5d1eb328f485d25b3ca521ab09bef4fedacfaf6 | /*
*
* bluez-tools - a set of tools to manage bluetooth devices for linux
*
* Copyright (C) 2010 Alexander Orlenko <zxteam@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 Found... | C | src/lib/bluez/media_player.c | embedian/blues-tools | gpl-2.0 | 13,408 | 418 | codeparrot/github-code |
651fec608e1a8d803b8279e6777254288afe1ee61ec82de3560fa09ab76071b3 | //========================================================================
//
// SplashPattern.h
//
//========================================================================
//========================================================================
//
// Modified under the Poppler project - http://poppler.freedesktop... | C | src/poppler/splash/SplashPattern.h | kenjiuno/ThumbGensPack | gpl-2.0 | 3,154 | 108 | codeparrot/github-code |
01d2cdbc2a57f917c88a281af0118630e0dd8c778e58baf68b01b22795fbd7dd | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The VFLib Graph Matching Library, version 2.0: Using VFLib: a quick tour : Building a graph</TITLE>
<LINK HREF="vflib-7.html" REL=next>
<LINK HREF="vflib-5.html" REL=previous>
<LINK HREF=... | HTML | src-graphmatch/vflib-2.0/doc/vflib-6.html | aspick/gboost-0.1.1 | gpl-2.0 | 3,248 | 88 | codeparrot/github-code |
9bf0001bfcf49353bac9fe8b70cc5e16105743486abb8333820b015da958478f | /* Copyright (c) 2003, 2005 MySQL AB
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 of the License.
This program is distributed in the hope that it will be useful,
but WITH... | C++ | storage/ndb/test/odbc/client/SQLGetEnvAttrTest.cpp | SunguckLee/MariaDB | gpl-2.0 | 3,699 | 110 | codeparrot/github-code |
83363b60af254bbccd8b4088db177c4e3d83ab9141e2d925121a9b53e710e069 | // -*- C++ -*-
// Copyright (C) 2005 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or ... | C++ | tools-gcc-4.1/mips64-octeon-linux-gnu/sys-root/usr/include/c++/4.1.2/ext/pb_assoc/detail/gp_ht_map_/erase_no_store_hash_fn_imps.hpp | odit/rv042 | gpl-2.0 | 3,309 | 105 | codeparrot/github-code |
d4f93199ec32a8dd1c620bd4c13ff7e3718184e98b88e5d7c943b3ce99cf216a | import inspect
import pytest
def parametrize(tests, arity=None):
'''Helper for parametrizing pytest tests.
Expects a list of lambdas, one per test. Each lambda must return
the parameters for its respective test.
Test identifiers will be automatically generated, from the test
number and its lamb... | Python | plover_build_utils/testing/parametrize.py | stanographer/plover | gpl-2.0 | 1,189 | 39 | codeparrot/github-code |
f3c4335f90d4caa3c0e3ec4a0836da9fdc8d0bafb7c338e056bf1f281d43953d | /*
* linux/drivers/net/wireless/libertas/if_sdio.c
*
* Copyright 2007-2008 Pierre Ossman
*
* Inspired by if_cs.c, Copyright 2007 Holger Schurig
*
* 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 F... | C | drivers/net/wireless/libertas/if_sdio.c | TI-OpenLink/wl12xx_soldel_maintenance | gpl-2.0 | 29,298 | 1,304 | codeparrot/github-code |
a890e1242d180a6e1f9a58a737ed9e5382e4da0debb5a8bf7b0112470c3ce73b | # Copyright 2008,2009 Marcus Huewe <suse-tux@gmx.de>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 2
# as published by the Free Software Foundation;
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT... | Python | osc/OscConfigParser.py | OlegGirko/osc | gpl-2.0 | 13,677 | 367 | codeparrot/github-code |
19b5928f5be61b32db18ae397a77b5af031cde383088da43b8f4a02625b22799 | import WFA.Matrix
import WFA.Type
import WFA.RGB
import WFA.Write
import Data.Map ( Map )
import qualified Data.Map as M
import Data.Set ( Set )
import qualified Data.Set as S
main :: IO ()
main = writePBM "bild-b.pbm" Main.b 9
a :: WFA Quad Int RGB
a = let s = WFA.RGB.maxplus
in WFA
{ WFA.... | Haskell | src/WFA/Main.hs | florianpilz/autotool | gpl-2.0 | 1,547 | 54 | codeparrot/github-code |
6c4fe9147453662bc6b3294d7c8b0e8e85ff23ef5be5aa835ed52ae37d2649ca | /* clock.c
*
* This routine initializes the interval timer on the
* PowerPC 405 CPU. The tick frequency is specified by the bsp.
*
* Author: Andrew Bray <andy@i-cubed.co.uk>
*
* COPYRIGHT (c) 1995 by i-cubed ltd.
*
* To anyone who acknowledges that this file is provided "AS IS"
* without any express o... | C | c/src/lib/libcpu/powerpc/ppc403/clock/clock_4xx.c | eugmes/rtems | gpl-2.0 | 6,032 | 226 | codeparrot/github-code |
f1ffab296fde40c462258450468c8e737f2282502921c502ef25cdcda2e9324b | <?php
elgg_load_js('lightbox');
elgg_load_css('lightbox');
$context = $vars["context"];
if($md_guid = get_input("multi_dashboard_guid")){
$params = array(
'name' => 'widget_context',
'value' => $context . "_" . $md_guid
);
} else {
$params = array(
'name' => 'widget_context',
'value' => $context
);
... | PHP | mod/widget_manager/views/default/page/layouts/widgets/add_panel.php | nachopavon/redprofesional | gpl-2.0 | 4,287 | 138 | codeparrot/github-code |
d440fd16f92d447339d72d11bdd68cbc1739d06cd9ac583b71f9ff925cb75d2b | <?php
/**
* @package FrameworkOnFramework
* @copyright Copyright (C) 2010 - 2012 Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// Protect from unauthorized access
defined('_JEXEC') or die();
if (!class_exists('JFormFieldAccessLevel'))
{
requir... | PHP | libraries/fof/form/field/accesslevel.php | vivianacerrutti/joomla | gpl-2.0 | 2,781 | 122 | codeparrot/github-code |
85d284cb5587bfb6084ad687c031cf4b396efe8beaaffa6a5a30e34289ddb5ef | """
:class:`PyBusyInfo` constructs a busy info window and displays a message in it.
Description
===========
:class:`PyBusyInfo` constructs a busy info window and displays a message in it.
This class makes it easy to tell your user that the program is temporarily busy.
Just create a :class:`PyBusyInfo` object, and w... | Python | wx/lib/agw/pybusyinfo.py | garrettcap/Bulletproof-Backup | gpl-2.0 | 9,862 | 332 | codeparrot/github-code |
f24da1994bb8efa4caf2de3743fc330d50a8a8d875faba5475536db3e0b20975 | /*
* SegmentTracker.hpp
*****************************************************************************
* Copyright (C) 2014 - VideoLAN and VLC authors
*
* 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 S... | C++ | modules/demux/adaptive/SegmentTracker.hpp | DaemonSnake/vlc | gpl-2.0 | 3,708 | 122 | codeparrot/github-code |
a2d67c88c8c44e826ef5dee2b97e9d6c96df50812a9ec1a666d427c342f4b288 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_menus
*
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Menus\Administrator\View\Items;
\defined('_JEXEC') or di... | PHP | administrator/components/com_menus/src/View/Items/HtmlView.php | drmenzelit/joomla-cms | gpl-2.0 | 11,482 | 418 | codeparrot/github-code |
157df60a87a63ebe28f690aeffaa401d25ca59b27d14304ced1bf2db542e75b1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
* Copyright (C) 2008 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | C | gui/simple-greeter/mdm-clock-widget.c | gfunkmonk2/mate-display-manager | gpl-2.0 | 9,416 | 288 | codeparrot/github-code |
838959115805373608833e842a5b477d16adb74e7a2ca594351ab8d66d6b757e | #!/usr/bin/env python
import unicornhat as unicorn
from graphics import Drawing, Color
import time, signal, threading
class UnicornDrawing(Drawing):
def __init__(self):
Drawing.__init__(self,8,8)
'''
All drawing operations use the pixel method
so we override it for UnicornHat
'''
def pixel(self, x, y... | Python | python/examples/clock.py | quincerly/unicorn-hat | gpl-2.0 | 1,580 | 68 | codeparrot/github-code |
7469dfc5a13929cbdf69f9e1dbb158dac1ba6145f69811416cca2606b05cadd5 | <?php
abstract class BaseFordefest extends BaseObject implements Persistent {
protected static $peer;
protected $codest;
protected $desest;
protected $id;
protected $alreadyInSave = false;
protected $alreadyInValidation = false;
public function getCodest()
{
return trim($this... | PHP | lib/model/om/BaseFordefest.php | cidesa/roraima | gpl-2.0 | 6,721 | 367 | codeparrot/github-code |
b0503047cf91c494b2fe87639d71aa78da1e70ec9c56b9e4e3c085da4a3d14aa | /***************************************************************************
qgsgraduatedsymbolrendererv2.h
---------------------
begin : November 2009
copyright : (C) 2009 by Martin Dobias
email : wonder dot sk at gmail dot com
*****************************... | C | src/core/symbology-ng/qgsgraduatedsymbolrendererv2.h | dracos/QGIS | gpl-2.0 | 13,120 | 356 | codeparrot/github-code |
6521664a0c8dfbb29e5fb2ad765e1d6893aa16c8d6efaf448b21da60708bcccd | /*******************************************************************************
* Copyright (c) 2013, 2014 Lectorius, Inc.
* Authors:
* Vijay Pandurangan (vijayp@mitro.co)
* Evan Jones (ej@mitro.co)
* Adam Hilss (ahilss@mitro.co)
*
*
* This program is free software: you can redistribute it and/or modify
*... | Java | mitro-core/java/server/src/co/mitro/core/server/ManagerFactory.java | glenux/contrib-mitro | gpl-3.0 | 7,938 | 223 | codeparrot/github-code |
0b9eff267a23327ece9bef80869d81295ef8ac90c90aa8dbbb257ce16fd63ecf | require 'pathname'
Puppet::Type.newtype(:dsc_xvmprocessor) do
require Pathname.new(__FILE__).dirname + '../../' + 'puppet/type/base_dsc'
require Pathname.new(__FILE__).dirname + '../../puppet_x/puppetlabs/dsc_type_helpers'
@doc = %q{
The DSC xVMProcessor resource type.
Automatically generated from
... | Ruby | windowsia/puppet/modules/dsc/lib/puppet/type/dsc_xvmprocessor.rb | nauskis/Puppet-for-dummies | gpl-3.0 | 9,669 | 289 | codeparrot/github-code |
c58e8ab4e463b4b905a3800338ead8049624426143b149eb2e903f7d4afeae83 | #include "Copter.h"
/*
* This event will be called when the failsafe changes
* boolean failsafe reflects the current state
*/
bool Copter::failsafe_option(FailsafeOption opt) const
{
return (g2.fs_options & (uint32_t)opt);
}
void Copter::failsafe_radio_on_event()
{
AP::logger().Write_Error(Log... | C++ | ArduCopter/events.cpp | R-Lefebvre/ardupilot | gpl-3.0 | 15,937 | 388 | codeparrot/github-code |
7f9c7598f157282a08f72d68ac6d5863a5128a0625f2e646e4ad4f8967de4318 | import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.swing.Action;
import javax.swing.Icon;
import org.junit.Assert;
import org.junit.Test;
import org.openpnp.CameraListener;
import org.openpnp.gui.support.Wizard;
import org.openpnp.model.LengthUnit;
import org.openpnp.model.Location;
import ... | Java | src/test/java/VisionUtilsTest.java | richard-sim/openpnp | gpl-3.0 | 4,503 | 193 | codeparrot/github-code |
a1c931184488ef9c8d3aa2accc65445b9ddbf36c44619cadf8ddc03b278f35a6 | <?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="g... | HTML | boost_1_42_0/libs/mpl/doc/refmanual/size.html | kelvindk/Video-Stabilization | gpl-3.0 | 9,308 | 124 | codeparrot/github-code |
c84d1767c5bcd0ae3981764d0837a9dcd2678461f752c4633767abda2dada935 | /*
* Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008-2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010-2011 Project SkyFire <http://www.projectskyfire.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU ... | C | src/server/game/Tools/CharacterDatabaseCleaner.h | BuloZB/SkyFireEMU | gpl-3.0 | 1,710 | 52 | codeparrot/github-code |
bf33c5f773429a829041af4bbcc952e161a3852d5673053d42748076426c8730 | /*
* This file is part of the SSH Library
*
* Copyright (c) 2003-2009 by Aris Adamantiadis
*
* The SSH 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, o... | C | include/libssh/priv.h | icewwn/fbbs | gpl-3.0 | 8,154 | 294 | codeparrot/github-code |
6158f1c6e35ded10eea93067e9bc00a8a15a242a5838b07ec11667c9fbb38032 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>strategy::side::spherical_side_formula</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/libs/geometry/doc/html/geometry/reference/strategies/strategy_side_spherical_side_formula.html | gwq5210/litlib | gpl-3.0 | 9,716 | 179 | codeparrot/github-code |
a8dd94787255e383d675d47dd5c844ccc7fd5006b051ba97bc31569d63f643db | using System;
using System.Collections.Specialized;
using System.IO;
using System.Web.UI.WebControls;
using BaiRong.Core;
using BaiRong.Core.Model.Enumerations;
using SiteServer.CMS.Core;
namespace SiteServer.BackgroundPages.Cms
{
public class ModalFileView : BasePageCms
{
public Literal ltlFileName;
... | C# | source/SiteServer.BackgroundPages/Cms/ModalFileView.cs | ColgateKas/cms | gpl-3.0 | 7,843 | 189 | codeparrot/github-code |
0ae3a35f2980f5283129fa95e5644c53ab02b6750970b91735b0b1ca79623016 | # Copyright 2008-2016 Free Software Foundation, Inc.
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
from . import _virtual_connections
from .. import Constants
from ..base import Element
from ..utils.descriptors import (
EvaluatedFlag, EvaluatedEnum, EvaluatedPInt,
setup_nam... | Python | grc/core/ports/port.py | dl1ksv/gnuradio | gpl-3.0 | 9,414 | 256 | codeparrot/github-code |
0a10091a24827a58c62caca18b0d75c3c5e7a9a3b5f8025afcafa63b29b13f1b | /*****************************************************************************
* Copyright (c) 2014-2018 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... | C++ | src/openrct2-ui/CursorData.cpp | blackhand1001/OpenRCT2 | gpl-3.0 | 47,249 | 663 | codeparrot/github-code |
02835bee278b1e8bfe49a7cb8bf10fa9394e56f663e6ab2093bd27a159deebf2 | /* librsgt.c - rsyslog's guardtime support library
*
* Regarding the online algorithm for Merkle tree signing. Expected
* calling sequence is:
*
* sigblkConstruct
* for each signature block:
* sigblkInit
* for each record:
* sigblkAddRecord
* sigblkFinish
* sigblkDestruct
*
* Obviously, the... | C | runtime/librsgt.c | kelledge/rsyslog | gpl-3.0 | 19,845 | 851 | codeparrot/github-code |
e85a4a9771366c2244a6d0dd1f2bea1685a041feda63650ba0dfa682a19950b3 | class Graph:
"""
* Creates a adjaceny list for a graph
* Implements a function for topological sorting
"""
def __init__(self, no_vertices):
"""
Initialises an empty adjaceny list (list of lists)
"""
self.vertices = no_vertices
self.adjlist = [[] for i in xra... | Python | Topological_Sort/Topological_Sort.py | algobook/Algo_Ds_Notes | gpl-3.0 | 1,538 | 66 | codeparrot/github-code |
d95c1baa90bfe9970c73bf1ccdd4a4b371fb1314f188dc6c956493a9faf3e845 | /*
* This file is part of AtlasMapper server and clients.
*
* Copyright (C) 2011 Australian Institute of Marine Science
*
* Contact: Gael Lafond <g.lafond@aims.org.au>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | Java | src/main/java/au/gov/aims/atlasmapperserver/layerGenerator/AbstractLayerGenerator.java | windrobin/atlasmapper | gpl-3.0 | 3,803 | 85 | codeparrot/github-code |
fe375b7c7ab0fed02c36b9fe0637a1a944315b3c7a63749c75496fcec4f8c00d | ---------------------------------------------
-- Binary Tap
-- Attempts to absorb two buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buffs
---... | Lua | scripts/globals/mobskills/binary_tap.lua | Arcscion/Shadowlyre | gpl-3.0 | 1,720 | 55 | codeparrot/github-code |
0a66aff5fa08a386b7a2c294c2ad31266e10df253f99b5ec7f6db48365b95c28 | #include <Xively.h>
#include <HttpClient.h>
#include <CountingStream.h>
XivelyClient::XivelyClient(Client& aClient)
: _client(aClient)
{
}
int XivelyClient::put(XivelyFeed& aFeed, const char* aApiKey)
{
HttpClient http(_client);
char path[30];
buildPath(path, aFeed.id(), "json");
http.beginRequest();
int ... | C++ | libraries/Xively/XivelyClient.cpp | tkerstan/Aquaduino | gpl-3.0 | 4,973 | 173 | codeparrot/github-code |
f313755e6dc7a4410f6d9665453193c72547d39300f150ffedd3f3c1c9b6a7a1 | <?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* 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 req... | PHP | library/source/Services/PreApproval/Notification.php | pagseguro/woocommerce | gpl-3.0 | 2,643 | 83 | codeparrot/github-code |
eacfdd492c20e1cc022e854b60fcc9b23ae77a6dd74dbd6fe85927664448c618 | package com.pahimar.ee3.client.renderer.item;
import com.pahimar.ee3.client.renderer.model.ModelGlassBell;
import com.pahimar.ee3.reference.Textures;
import cpw.mods.fml.client.FMLClientHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.item.ItemStack;
import ne... | Java | src/main/java/com/pahimar/ee3/client/renderer/item/ItemRendererGlassBell.java | aanthony3/Equivalent-Exchange-3 | gpl-3.0 | 2,212 | 86 | codeparrot/github-code |
d9f6aebcf27e0a6ef8248b483f1e29afd8692d369c421cf80d82644ea8e2c7e3 | /*
* 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-ui/src/main/java/com/bc/swing/dock/FloatingDialog.java | lveci/nest | gpl-3.0 | 3,764 | 138 | codeparrot/github-code |
860a6a3cde405040db61acd196d692f52154e838338adfb9f07c49873063f65c | /*
Copyright (C) 2004, 2005, 2008 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2014 Robert Kausch <robert.kausch@freac.org>
Copyright (C) by Monty (xiphmont@mit.edu)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
th... | C | lib/paranoia/p_block.h | mwgoldsmith/cdio-paranoia | gpl-3.0 | 5,832 | 216 | codeparrot/github-code |
d5a713009e7c3e8556773b994b114cc4c4f125180afc60b1ada796d3b67402ba | #ifndef ASSERT_HELPERS_H_
#define ASSERT_HELPERS_H_
#include <stdexcept>
#include <string>
#include <cassert>
#include <iostream>
/**
* Assertion for release-enabled assertions
*/
class ReleaseAssertException : public std::runtime_error {
public:
ReleaseAssertException(const std::string& msg = "") : std::runtime_e... | C | tophat2/src/assert_helpers.h | dnanexus/tophat_cufflinks_rnaseq | gpl-3.0 | 7,754 | 225 | codeparrot/github-code |
c1ef9c3b9af7d79b30d39ddd87af1a8bd087f1ca1113a08811e8a2039320c2af | #include "expression_value.hpp"
#include "type.hpp"
namespace semantic
{
ExpressionValue::ExpressionValue ()
: expression_kind (UnknownExpressionKind)
, type (NULL)
, receiver_access (AccessNone)
, receiver_state (false)
{ }
bool ExpressionValue::is_unknown () const
{
return expression_kind == UnknownExpr... | C++ | src/expression_value.cpp | jrw972/fbu | gpl-3.0 | 1,244 | 57 | codeparrot/github-code |
d003cbca7ab3cd51c8efd5a794a60e8eaf380ce55496bc55c97718edc3433581 | package C4::HoldsQueue;
# Copyright 2011 Catalyst IT
#
# This file is part of Koha.
#
# Koha 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 ve... | Perl | C4/HoldsQueue.pm | PTFS-Europe/koha | gpl-3.0 | 31,844 | 860 | codeparrot/github-code |
91b783bb94957d544e0722f091c68ec59786e211c6ac6aba97b348c1eac4b882 | /*
* Copyright (c) 2014 Reed A. Cartwright
* Authors: Reed A. Cartwright <reed@cartwrig.ht>
*
* This file is part of DeNovoGear.
*
* DeNovoGear is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either v... | C | src/include/dng/vcfpileup.h | rachelss/denovogear | gpl-3.0 | 2,641 | 100 | codeparrot/github-code |
fc64164832ab883125a34d7fb80aabe171f9de72db497dd57ea749005c7276ed | /*
This file is part of TinyGarble. It is modified version of JustGarble
under GNU license.
TinyGarble 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) an... | C | scd/parse_netlist.h | esonghori/TinyGarbled | gpl-3.0 | 1,356 | 36 | codeparrot/github-code |
c269cdf7488e135cf77f70f1c4af8f9a6b5910b4ecd97d5b2cc8228e235e33b4 | //---------------------------------------------------------------------------------
//
// Little Color Management System
// Copyright (c) 1998-2020 Marti Maria Saguer
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the "Softwar... | C | src/ThirdParty/LittleCMS2/lcms2-2.12/src/cmsintrp.c | AlienCowEatCake/ImageViewer | gpl-3.0 | 40,050 | 1,317 | codeparrot/github-code |
6dd29cb8c8939bf142271567266811caa03bc131838a864886abf2d8aab4b1f5 | /*
JJSP - Java and Javascript Server Pages
Copyright (C) 2016 Global Travel Ventures 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, or
(at your option) any l... | Java | src/jjsp/jde/JSEditor.java | GlobalTravelVentures/JJSP | gpl-3.0 | 3,915 | 148 | codeparrot/github-code |
978de080019dbd594759355c5738e37844ec4af70c5c3d8dc3fbca6a26f83610 | using LKCamelot.library;
using LKCamelot.model;
namespace LKCamelot.script.item
{
public class Hatchet : BaseWeapon
{
public override string Name { get { return "Hatchet"; } }
public override int DamBase { get { return 13; } }
public override int ACBase { get { return 0; } }
public override int StrReq { ge... | C# | script/item/weapons/axe/Hatchet.cs | sepharoph/LK2 | gpl-3.0 | 885 | 33 | codeparrot/github-code |
549d84c8cdafd3c69e1aff0e24e344bd4cc1a889f5827fcc5a28c1552530a92a | /* CPP Library. (Directive handling.)
Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Contributed by Per Bothner, 1994-95.
Based on CCCP program by Paul Rubin, June 1986
Adapted to ANSI C, Richard Stallman, ... | C | osprey-gcc-4.2.0/libcpp/directives.c | pumpkin83/OpenUH-OpenACC | gpl-3.0 | 64,620 | 2,226 | codeparrot/github-code |
2c3b8f3048c6c5876a923f88e15c11833a01694ce1c0fb3f284fbd28e2d5fbc5 | # encoding: utf-8
class Sys::ObjectPrivilege < ActiveRecord::Base
include Sys::Model::Base
include Sys::Model::Base::Config
include Sys::Model::Auth::Manager
belongs_to :unid_original, :foreign_key => 'item_unid', :class_name => 'Sys::Unid'
#belongs_to :concept, :foreign_key => 'item_unid', :primary_key => '... | Ruby | app/models/sys/object_privilege.rb | joruri/joruri-plus | gpl-3.0 | 2,504 | 106 | codeparrot/github-code |
f08e56b4a3bbc5ca426f993d43f714e5939be39d57ba8f96f4110e3c2e058ee5 | package com.github.bordertech.wcomponents;
import com.github.bordertech.wcomponents.util.mock.MockRequest;
import org.junit.Assert;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Test;
/**
* A simple example of how you can apply unit tests to a WComponent.
*
*... | Java | wcomponents-core/src/test/java/com/github/bordertech/wcomponents/SimpleWComponentTest.java | ricksbrown/wcomponents | gpl-3.0 | 1,477 | 51 | codeparrot/github-code |
fcbf2b14e0bfe3c786fa03308edc673e2c36e3e9ad87eca92c25a934cec11be4 | <!DOCTYPE html>
<html><head>
<title>eric6.DataViews.PyProfileDialog</title>
<meta charset="UTF-8">
<style>
body {
background: #EDECE6;
margin: 0em 1em 10em 1em;
color: black;
}
h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 {... | HTML | Documentation/Source/eric6.DataViews.PyProfileDialog.html | davy39/eric | gpl-3.0 | 9,661 | 312 | codeparrot/github-code |
7080af053dd8bd4995408234b8d7f5366547b5d02974594ca6eded2e55f90efb | /*
* Basic Open API - Open Link Interface
* Version 1.3
*
* Copyright (c) ETAS GmbH. All rights reserved.
*
* $Revision: 4806 $
*/
/**
* @file
* @brief Proxy classes for @ref IError objects.
*
* This file declares proxy classes, each of which wraps a
* heap-allocated error object created... | C | Sources/CAN_ETAS_BOA/EXTERNAL_INCLUDE/OLI/Common/ErrorProxies.h | Mariale13/UDS_Protocol | gpl-3.0 | 45,271 | 1,260 | codeparrot/github-code |
b1277b6fd40a8eaa2c5b69a2fb1b887d03a807975b6ef93ae4f58f48b195ba90 | package org.sufficientlysecure.keychain.ui.linked;
import android.graphics.PorterDuff;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.Vie... | Java | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/linked/LinkedIdCreateFinalFragment.java | rohands/open-keychain | gpl-3.0 | 7,823 | 220 | codeparrot/github-code |
69f310b2e5a9759edf57a2731037ad22c0f1815301105a014a4c0c284364bc3d | /*
Copyright (C) 2010, Hewlett-Packard Development Company, L.P.
All Rights Reserved.
Open64 is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later ve... | C | osprey/be/com/constraint_graph_solve.h | uhhpctools/openuh-openacc | gpl-3.0 | 3,237 | 107 | codeparrot/github-code |
95fbbc16067db7415fe2f2c6708e94a07e59ed737cf459ba71e2359bbb30466f | #!/usr/bin/perl
# This file is part of Koha.
#
# Copyright 2013 BibLibre
#
# Koha 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.
#
# ... | Perl | tools/batch_delete_records.pl | bywatersolutions/bywater-koha-devel | gpl-3.0 | 7,904 | 234 | codeparrot/github-code |
da1df7306b4e1e317207b5f000b8ad50118f696dc9bd1fde18b6eb49da4576e1 | /*******************************************************************************
* Copyright (c) 2009, 2014 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany ... | Java | src/opt/boilercontrol/libs/org.eclipse.paho.client.mqttv3.test/src/test/java/org/eclipse/paho/client/mqttv3/test/LiveTakeOverTest.java | gulliverrr/hestia-engine-dev | gpl-3.0 | 10,387 | 293 | codeparrot/github-code |
295f8c5abd0663e756d95d0009e47fe7887e51d023f604639d1a6cc1917dd4ad | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../ext4/resources/css/ext-all.css"/>
<script type="text/javascript" src="../../ext4/ext-all-debug.js"></script>
<script type="text/javascript" src="datastores.js"... | HTML | examples/ch08/8.9_to_8.10_Editable_Gridpanel.html | ModusCreateOrg/extjs-in-action-examples | gpl-3.0 | 4,795 | 154 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.