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 |
|---|---|---|---|---|---|---|---|---|
46b861905edc3c855ea0f367d4a67e11ccaff92fdbb3ac41883936d4507be35e | # Licensed under the MIT license
# http://opensource.org/licenses/mit-license.php
# Copyright 2008, Frank Scholz <coherence@beebits.net>
""" simple and hopefully reusable widgets to ease
the creation of UPnP UI applications
icons taken from the Tango Desktop Project
"""
import os.path
import urllib
import ... | Python | coherence/ui/av_widgets.py | sreichholf/python-coherence | mit | 32,894 | 807 | codeparrot/github-code |
8b3344dd84b87adbde7ca3064f8f310f2281b637f67c6de14631698494545d66 | /*************************************************************************/
/* variant.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | C++ | core/variant.cpp | rollenrolm/godot | mit | 58,182 | 3,129 | codeparrot/github-code |
3f746637e51c5ec1b8364ff4d49bfdc9717515e7b2780f7444d780cf99621410 | /*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. 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 v. 1.0
... | Java | jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/models/jpa/xml/relationships/Order.java | RallySoftware/eclipselink.runtime | epl-1.0 | 2,640 | 105 | codeparrot/github-code |
d9d8b65eaec780c17e30c8e6a06d97c412842a6d7482d43995c71f419fdde87d | /*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. 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 v. 1.0
... | Java | jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/models/jpa/inheritance/RockTireInfo.java | RallySoftware/eclipselink.runtime | epl-1.0 | 1,249 | 37 | codeparrot/github-code |
34bc89fb550b526f11f6f77418ac32174676a86413769a9bf5ebde2a5fec21b2 | /*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. 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 v. 1.0
... | Java | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/oxm/mappings/xmlfragmentcollection/XMLFragmentCollectionElementDiffPrefixTestCases.java | RallySoftware/eclipselink.runtime | epl-1.0 | 2,582 | 59 | codeparrot/github-code |
5acef805200a4afa60efb2772496f42563cc6fcf4526bb68ec311415e294ea59 | /*
Copyright (c) 2007 John Dyer (http://johndyer.name)
MIT style license
*/
if (!window.Refresh) Refresh = {};
if (!Refresh.Web) Refresh.Web = {};
Refresh.Web.ColorValuePicker = Class.create();
Refresh.Web.ColorValuePicker.prototype = {
initialize: function(id) {
this.id = id;
this.onValuesChange... | JavaScript | src/main/webapp/colorpicker/colorvaluepicker.js | williamgrosset/OSCAR-ConCert | gpl-2.0 | 5,774 | 176 | codeparrot/github-code |
28daee73359a343b914b9a34a3d0b7fa89f71a3390627010fabc9bb3b19d0a57 | /*
* BCM2708 DMA engine support
*
* This driver only supports cyclic DMA transfers
* as needed for the I2S module.
*
* Author: Florian Meier <florian.meier@koalo.de>
* Copyright 2013
*
* Based on
* OMAP DMAengine support by Russell King
*
* BCM2708 DMA Driver
* Copyright (C) 2010 Broadcom... | C | drivers/dma/bcm2708-dmaengine.c | archil-p/EZMotoLinux | gpl-2.0 | 14,148 | 589 | codeparrot/github-code |
65196dc0dc9bd05dc8dd5cbba83f743752a0e0182c114013ef60e504c9ba8733 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | Lua | game_scripts/scripts/entities/globecrab.lua | fgenesis/Aquaria_experimental | gpl-2.0 | 5,134 | 199 | codeparrot/github-code |
1f109323e7556ee7bc0da01810a6bd852af3f17fad8f8f724fc2263145cf6356 | /*
* Copyright (c) 2008-2009 Travis Geiselbrecht
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, m... | C | mediatek/platform/mt6589/lk/boot_mode.c | infraredbg/Lenovo_A820_kernel_kk | gpl-2.0 | 7,737 | 267 | codeparrot/github-code |
12a351fb74514e0098b1753f34da1add94994e2ed3342fcf5f8f820e7975ffd7 | <?php
/**
* @file
* Contains \Drupal\views\Plugin\views\wizard\WizardPluginBase.
*/
namespace Drupal\views\Plugin\views\wizard;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\Entity\View;
use Drupal\views\Views;
use Drupal\views_ui\ViewUI;
use Drupal\views\Plug... | PHP | core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php | binhdigipro/drupal8 | gpl-2.0 | 47,811 | 1,291 | codeparrot/github-code |
7250ce565fc538df060eb65bdd264fcd71fd00de4d79d7913061125c640eb36a | <?php
global $avia_config;
$blank = isset($avia_config['template']) ? $avia_config['template'] : "";
//reset wordpress query in case we modified it
wp_reset_query();
//get footer display settings
$the_id = avia_get_the_id(); //use avia get the id instead of default get id. prevents notice on 404 pa... | PHP | wp-content/themes/enfold/footer.php | xTesseracTx/WP-AromatikaWebsite | gpl-2.0 | 5,272 | 172 | codeparrot/github-code |
b0cc5e622a91be3dc11db81d24384aabc3c7db570dcd5fa2d518172c4d6917c2 | /* packet-rquota.c
* Routines for rquota dissection
* Copyright 2001, Mike Frisch <frisch@hummingbird.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* Copied from packet-ypxfr.c
*
* This program is free software; you can redistribute it a... | C | epan/dissectors/packet-rquota.c | MichaelQQ/Wireshark-PE | gpl-2.0 | 8,854 | 313 | codeparrot/github-code |
e6781f3a9fd5c920a97402c86e3c7cf7c902091debd106ef4946dbb497cd75ff | /*
* Copyright (C) ST-Ericsson SA 2011
*
* Author: BIBEK BASU <bibek.basu@stericsson.com>
* License terms: GNU General Public License (GPL) version 2
*
* 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 Fr... | C | drivers/gpio/gpio-ab8500.c | DevSwift/Kernel-3.4-NovaThor | gpl-2.0 | 18,128 | 692 | codeparrot/github-code |
b554487fcbb8c8b83d564603ba98ab91cef53551a173210f464783bbaefbdc31 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | C++ | xbmc/utils/FileOperationJob.cpp | gripped/xbmc | gpl-2.0 | 11,390 | 372 | codeparrot/github-code |
c82a439941587a8a1f8b36b753158064f0056a6b5b7c8cbfceb70325554d63bf | !=====================================================================
!
! S p e c f e m 3 D G l o b e V e r s i o n 7 . 0
! --------------------------------------------------
!
! Main historical authors: Dimitri Komatitsch and Jeroen Tromp
! Princeton University, USA
! ... | FORTRAN | src/specfem3D/read_topography_bathymetry.f90 | QuLogic/specfem3d_globe | gpl-2.0 | 3,428 | 110 | codeparrot/github-code |
93d503851baa49427f83e6745e1cc4e931b26fc47291efe6060146a72b41ea70 | /***************************************************************************
tag: Peter Soetens Thu Oct 22 11:59:08 CEST 2009 ConnFactory.cpp
ConnFactory.cpp - description
-------------------
begin : Thu October 22 2009
copyright ... | C++ | rtt/internal/ConnFactory.cpp | shyamalschandra/rtt | gpl-2.0 | 12,953 | 253 | codeparrot/github-code |
96951f500908a4840ede15360447af19d11aabe02d2491bb2fb7cd360991e0be | /*
* fs/nfs/nfs4state.c
*
* Client-side XDR for NFSv4.
*
* Copyright (c) 2002 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | C | linux-2.6.x/fs/nfs/nfs4state.c | ipwndev/DSLinux-Mirror | gpl-2.0 | 23,292 | 908 | codeparrot/github-code |
8d1dbb8d3886336e0de4926f0866fa57316f064680f1002dd0ce10cee1dd7e44 | package IO::Uncompress::AnyUncompress ;
use strict;
use warnings;
use bytes;
use IO::Compress::Base::Common 2.033 qw(createSelfTiedObject);
use IO::Uncompress::Base 2.033 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyUncompressError);
$VERSION = '2.033';
$AnyUncompressError = '';
@ISA ... | Perl | usr/share/perl/5.14.2/IO/Uncompress/AnyUncompress.pm | 2ndy/RaspIM | gpl-2.0 | 28,376 | 1,019 | codeparrot/github-code |
9edb0b6a9ec2305dbed223bbcca0bbd0ff222fa78f5674a086031838bea3f320 | /* Copyright (C) 2002-2017 Free Software Foundation, Inc.
Contributed by Zack Weinberg <zack@codesourcery.com>
This file is part of GCC.
GCC 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, o... | C | libgcc/config/vxlib.c | mickael-guene/gcc | gpl-2.0 | 2,745 | 96 | codeparrot/github-code |
e94db7c0c3902e15b693d43c66ab2dcdc8ab7e9902578cc8f4a6de3ff10dca89 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU... | C++ | engines/dm/detection.cpp | somaen/scummvm | gpl-2.0 | 3,619 | 109 | codeparrot/github-code |
0c450602fd03cb7ce9a18cec5730d027f500310fe9b3824ad07981e6cdba544c | /****************************************************************************
*
* Copyright (C) 2014-2015 Cisco and/or its affiliates. All rights reserved.
* Copyright (C) 2005-2013 Sourcefire, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... | C | src/dynamic-preprocessors/ftptelnet/hi_util_kmap.h | gruberasheridc/snort-2.9.8.0 | gpl-2.0 | 2,342 | 99 | codeparrot/github-code |
0190de754996aee963bbcdef746af256fc6dba558c6797b2f6f31eed523073ed | /*
FreeRTOS.org V4.1.3 - Copyright (C) 2003-2006 Richard Barry.
This file is part of the FreeRTOS.org distribution.
FreeRTOS.org 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 th... | C | FreeRTOS/Demo/PIC18_WizC/Demo7/interrupt.c | Paolo-Maffei/nxstack | gpl-2.0 | 3,660 | 119 | codeparrot/github-code |
ded1e1ed9173581f84ca6060d54110e348ca3a21b8478ad4e0012c6feb4980b1 | #!/bin/sh
# travelmate, a wlan connection manager for travel router
# written by Dirk Brenken (dev@brenken.org)
# This is free software, licensed under the GNU General Public License v3.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licen... | Shell | net/travelmate/files/travelmate.sh | val-kulkov/openwrt-packages | gpl-2.0 | 24,388 | 739 | codeparrot/github-code |
bbfc70ea112fb3671849c2774d1d02f823aaba45ed628e3d4759d691d5ea84e4 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 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/Formatter/UserUnits.hpp | Advi42/XCSoar | gpl-2.0 | 7,822 | 258 | codeparrot/github-code |
5f61b579f6eccad5565373762096ae9d246c8c8071ecbd427a83896d44199378 | /*
* Core Source for:
* Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.
* For use with Cypress Txx3xx parts.
* Supported parts include:
* CY8CTST341
* CY8CTMA340
*
* Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.
* Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>... | C | drivers/input/touchscreen/cyttsp_core.c | fizista/Dorimanx-SG2-I9100-Kernel | gpl-2.0 | 14,097 | 626 | codeparrot/github-code |
5e2d8a5b5c312b0c777aa925ce90bf884099b3a4efde89aa0572c436fe6eb076 | <?php
class adminmenuViewCsp extends viewCsp {
protected $_file = '';
/**
* Array for standart menu pages
* @see initMenu method
*/
protected $_mainSlug = 'ready-coming-soon-page';
public function init() {
$this->_file = __FILE__;
//
add_action('admin_menu', array($this,... | PHP | wp-content/plugins/coming-soon-maintenance-mode-ready/modules/adminmenu/views/adminmenu.php | nikakoss/arsenal-media.net | gpl-2.0 | 1,291 | 35 | codeparrot/github-code |
376b5cd222c7086053bf394f36e9391cae5a81f9200eacf03b6ea8583cb0917b | #ifndef CLICK_IP6ENCAP_HH
#define CLICK_IP6ENCAP_HH
#include <click/element.hh>
#include <click/glue.hh>
#include <click/atomic.hh>
#include <clicknet/ip6.h>
#include <click/ip6address.hh>
CLICK_DECLS
/*
=c
IP6Encap(PROTO, SRC, DST, I<KEYWORDS>)
=s ip
encapsulates packets in static IP6 header
=d
Encapsulates eac... | C++ | elements/ip6/ip6encap.hh | wbsun/snap | gpl-2.0 | 1,686 | 85 | codeparrot/github-code |
118cfe149910600103fc0254f4ef94f3b9841b7afdd09a52639b592337bb32a3 | /* Target-dependent code for PowerPC systems running FreeBSD.
Copyright (C) 2013-2017 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Fou... | C | gdb/ppc-fbsd-tdep.c | totalspectrum/binutils-propeller | gpl-2.0 | 9,858 | 353 | codeparrot/github-code |
c29bc5aaab2f2654587e1f6018a77cc05a5c0729e1ab9ef6a3a8c9bef8226547 | /*
* drivers/video/rockchip/rk_fb.c
*
* Copyright (C) 2012 ROCKCHIP, Inc.
*Author:yzq<yzq@rock-chips.com>
yxj<yxj@rock-chips.com>
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modifi... | C | drivers/video/rockchip/rk_fb.c | sztena/DG08_android4.1 | gpl-2.0 | 33,829 | 1,183 | codeparrot/github-code |
7f0ab807d4307400ade90cc284fe1d97df8cba13874bfdaa8f10ac5dd49503b2 | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2010 Lennart Poettering, Kay Sievers
Copyright 2015 Zbigniew Jędrzejewski-Szmek
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public Lice... | C | src/tmpfiles/tmpfiles.c | mcanthony/systemd | gpl-2.0 | 78,087 | 2,306 | codeparrot/github-code |
6903f5843ce75397c32042720901447c42d8369ec30d7b0a3c7aee030fd3b4ce | /*
* This file is part of the CMaNGOS 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 o... | C | src/game/GameObject.h | playerbot/mangos | gpl-2.0 | 37,204 | 819 | codeparrot/github-code |
9826b3c4a34d636a69f1149dd42be3aba31de106422450540ae4c0f805414772 |
#define _ASM_GENERIC_PCI_DMA_COMPAT_H
#include <linux/dma-mapping.h>
#define dma_map_single_attrs(dev, cpu_addr, size, dir, attrs) \
dma_map_single(dev, cpu_addr, size, dir)
#define dma_unmap_single_attrs(dev, dma_addr, size, dir, attrs) \
dma_unmap_single(dev, dma_addr, size, dir)
#define dma_map_sg_attrs(dev,... | C | include/asm-generic/pci-dma-compat.h | Team-SennyC2/android_kernel_htc_villec2 | gpl-2.0 | 3,749 | 127 | codeparrot/github-code |
c592735381cb0de004fd251a71caa066dc6b57d829c26b3d428fdabb722d2f7f | <?php
/**
* JEvents Component for Joomla 1.5.x
*
* @version $Id: view.html.php 3012 2011-11-16 10:29:35Z geraintedwards $
* @package JEvents
* @copyright Copyright (C) 2008-2009 GWE Systems Ltd
* @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html
* @link http://www.jevents.net
... | PHP | src/com_jevents/component/site/views/icalrepeat/view.html.php | jonge-democraten/jevents | gpl-2.0 | 9,223 | 328 | codeparrot/github-code |
fe84aee09594d8ba0ca16172f81d03488db49a5ac39c7152acac1016be6dccca | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C | engines/pink/objects/actions/action_play.h | alexbevi/scummvm | gpl-2.0 | 1,375 | 51 | codeparrot/github-code |
7fa7d456ff58d6bde43aa9e5762b6058594f2182b6149c8c1d37d6b849f97ecb | /******************************************************************************
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
* ... | C | drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | alfonsotames/linux | gpl-2.0 | 32,593 | 1,067 | codeparrot/github-code |
05baec330ca35e59fc00c7b3ea97e2956f96e8dee61770c374002a9bd17df900 | <?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import Joomla modelform library
jimport('joomla.application.component.modeladmin');
/**
* Cargo Model
*/
class AgendaDirigentesModelCargo extends JModelAdmin
{
/**
* Returns a reference to the a Table object,... | PHP | administrator/components/com_agendadirigentes/models/cargo.php | Thz069/SiteCemJoomla | gpl-2.0 | 4,832 | 142 | codeparrot/github-code |
860c87c2cbfc3e7f9a80b34a3ca792cea21b5c0379a649f652a9a3c7bfe89279 | /*
* Copyright 2005 Stephane Marchesin.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, ... | C | drivers/gpu/drm/nouveau/nouveau_drv.c | bossino/panda_es_kernel | gpl-2.0 | 14,257 | 504 | codeparrot/github-code |
0e66fda35921be77ffb7daa6062a188c5c922b9f7d4d16acd0620a0561e0dd64 | OSM.Note = function (map) {
var content = $("#sidebar_content"),
page = {},
halo, currentNote;
var noteIcons = {
"new": L.icon({
iconUrl: OSM.NEW_NOTE_MARKER,
iconSize: [25, 40],
iconAnchor: [12, 40]
}),
"open": L.icon({
iconUrl: OSM.OPEN_NOTE_MARKER,
iconSize:... | JavaScript | app/assets/javascripts/index/note.js | tomhughes/openstreetmap-website | gpl-2.0 | 2,943 | 116 | codeparrot/github-code |
9cbc7b0519fc48a5e36748546ca0d11f4fe2090d69ce50578a62db5b5c203a80 | /*
This file is part of ALIZE which is an open-source tool for
speaker recognition.
ALIZE 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 any later ... | C++ | src/DistribRefVector.cpp | guker/ALIZE | gpl-3.0 | 6,637 | 187 | codeparrot/github-code |
406b11d4290783e6f4fc482d64c1026dd8f53c3c6ac6222914a515a55585a936 | /***************************************************************************
can_setup.c - description
-------------------
begin : 24.12.2011
copyright : Copyright (c) 2011, Robert Bosch Engineering and
Business Solutions. ... | C++ | Sources/MHS_CNFG/src/can_setup.C | uincore/busmaster | gpl-3.0 | 7,258 | 235 | codeparrot/github-code |
a762815c86d8a3894629ef40ae8e50f1ca74f5462740ec86d0b64af737819b34 | // Copyright (C) 2002 RealVNC Ltd. All Rights Reserved.
// Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
//
// This file is part of the VNC system.
//
// The VNC system is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as pu... | C | src/winvnc/winvnc/vncencodehext.h | runsoftdev/ultravnc | gpl-3.0 | 2,180 | 73 | codeparrot/github-code |
058c981c03573ae769dae33fc02304184d6e1ecd826034a2d6766342b13e428b | /* xoreos - A reimplementation of BioWare's Aurora engine
*
* xoreos is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | C++ | src/engines/nwn2/probes.cpp | mirv-sillyfish/xoreos | gpl-3.0 | 2,224 | 88 | codeparrot/github-code |
8291fc5bf2c862705cdd704422c6df9c1a37e7e93d1f0936a2fa878bd622be82 | <?php
/**
* This file is part of OXID eSales PayPal module.
*
* OXID eSales Mobile Theme 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 v... | PHP | application/views/mobile/en/lang.php | Jochen1980/OxidDemo | gpl-3.0 | 13,310 | 154 | codeparrot/github-code |
c4df8f1c8aa3d31badeb44eb81118fb378b9a67a06684782961c2533e7b24f0e | /*
* This file is part of Cleanflight.
*
* Cleanflight is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Cleanflight is distr... | C++ | src/test/unit/maths_unittest.cc | AndersHoglund/betaflight | gpl-3.0 | 7,608 | 253 | codeparrot/github-code |
a0a555f5e125b70d63d4e4b9885d228a598a27384b5fa8332132d1aa394db1a2 | /*
+---------------------------------------------------------------------+
Copyright 2009, Aaron LeMasters and Michael Davis
This file is part of Codeword.
Codeword is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public L... | C# | CwHandler/CwProgressWindow.cs | breezechen/codeword | gpl-3.0 | 7,281 | 196 | codeparrot/github-code |
fbd59fec8d91fe0c3df9b6a01f9785c976c39fc0754b63e30a8fb1269c9b563e | <?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2014 *
* ... | PHP | ecrire/auth/ldap.php | imagesdesmaths/spip | gpl-3.0 | 9,847 | 295 | codeparrot/github-code |
ae32ffe78b3ae4eb64f88829e993dd1ee63b691072ac2ddcad9caaac8fd324f8 | /* Event loop machinery for the remote server for GDB.
Copyright (C) 1999-2016 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation;... | C | gdb/gdbserver/event-loop.c | ccilab/binutils | gpl-3.0 | 16,067 | 578 | codeparrot/github-code |
da1e2975026b3edb7430b5ede540fbbe9da93fbcde5800b80642c7e8f9d1c726 | '''
Created on Jun 11, 2011
@author: mkiyer
'''
class Breakpoint(object):
def __init__(self):
self.name = None
self.seq5p = None
self.seq3p = None
self.chimera_names = []
@property
def pos(self):
"""
return position of break along sequence measured fr... | Python | chimerascan/deprecated/breakpoint.py | madhavsuresh/chimerascan | gpl-3.0 | 751 | 35 | codeparrot/github-code |
18fbc569567ab86574b7e442429826b989e96736f725a371d3a48d4d88f821da | <html lang="en">
<head>
<title>PowerPC64 ELF64 - Untitled</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Untitled">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Machine-Dependent.html#Machine-Dep... | HTML | buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/share/doc/gcc-arm-none-eabi/html/ld.html/PowerPC64-ELF64.html | FabianKnapp/nexmon | gpl-3.0 | 13,372 | 175 | codeparrot/github-code |
f60bd0ad12717f3cc48279e4420afe022990cda4155510d9f83c4ac930dc813f | package org.tasks.scheduling;
import android.content.Context;
import com.todoroo.astrid.backup.TasksXmlExporter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.tasks.preferences.Preferences;
import java.io.File;
import java.io.FileFilter;
import java.util.Arrays;
import java.util.Comparator;
i... | Java | src/main/java/org/tasks/scheduling/BackupIntentService.java | Jenyay/tasks | gpl-3.0 | 2,846 | 102 | codeparrot/github-code |
51ae99bf898f018d15f2120f1b4d46c0ff0c8e12c08fd67e198e0efc677633fe | #!/usr/bin/python
#
# Copyright (c) 2017 Bruno Medina Bolanos Cacho <bruno.medina@microsoft.com>
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version':... | Python | lib/ansible/modules/cloud/azure/azure_rm_managed_disk.py | EvanK/ansible | gpl-3.0 | 14,499 | 416 | codeparrot/github-code |
75d385d6702f7f45142178dfbb90c27c61f13fa1bf51b843010d9a974536b9c8 | /*=============================================================================
Copyright (c) 2001-2006 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
===================================... | C++ | win32/library3rd/boost_1_47/boost/fusion/view/reverse_view/reverse_view.hpp | beiko-lab/gengis | gpl-3.0 | 2,693 | 69 | codeparrot/github-code |
b7eb37d391f4b598d608c74c889882dc94bec398a87edc75d96463d39c8251ea | #ifndef ___typedef_import_h__
#define ___typedef_import_h__
#ifdef SWIG
%module template_typedef_cplx2;
#endif
#include <complex>
typedef std::complex<double> Complex;
namespace vfncs {
struct UnaryFunctionBase
{
int get_base_value()
{
return 0;
}
};
template <class ArgType, class... | C | deps/swig-3.0.7/Examples/test-suite/template_typedef_cplx2.h | DGA-MI-SSI/YaCo | gpl-3.0 | 4,628 | 176 | codeparrot/github-code |
d30c559baf0b70e53377c7679c5efd355a844d1b23c18eac57b30b1dfa3e1fa9 | /*
Copyright © 2015 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.
qTox is libre software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 ... | C++ | src/widget/gui.cpp | mpxc/qTox | gpl-3.0 | 15,782 | 447 | codeparrot/github-code |
5e8bee3218700f921f053e713a43b1f5d3e74463fbf4c824a74874f27375da9d | /* libstdbuf -- a shared lib to preload to setup stdio buffering for a command
Copyright (C) 2009-2013 Free Software Foundation, 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
the Free Software Foundation, eithe... | C | src/libstdbuf.c | optionalg/coreutils | gpl-3.0 | 4,723 | 143 | codeparrot/github-code |
b5043dc75e3f3e33bd8d77a8e277d4dbb255bd68cdf509a86203b7183f1f8216 | /*
Unix SMB/CIFS implementation.
Wrap VxFS xattr calls.
Copyright (C) Veritas Technologies LLC <www.veritas.com> 2016
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the Li... | C | source3/modules/lib_vxfs.c | urisimchoni/samba | gpl-3.0 | 5,182 | 245 | codeparrot/github-code |
85028760edef9f2a25929f578fc6c6e0cc70273a5aaec4fc343dc096ba4dea83 | /*
* This file is part of EasyRPG Player.
*
* EasyRPG Player 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.
*
* EasyRPG Player... | C++ | src/window_actorstatus.cpp | Zegeri/Player | gpl-3.0 | 2,182 | 75 | codeparrot/github-code |
d93a990ff1b583d18d4f7bc02dc458dda09930b48403195bbe2b94959c1db3d7 | /* This file is part of Jellyfish.
Jellyfish 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.
Jellyfish is distributed ... | C++ | include/jellyfish/bloom_filter.hpp | COMBINE-lab/Jellyfish | gpl-3.0 | 5,906 | 166 | codeparrot/github-code |
4ef225291580a10dc88b070d6270f787a1259a54e80af00d4f83089ff3890a5b | #!/usr/bin/python
# James Laska (jlaska@redhat.com)
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['prev... | Python | lib/ansible/modules/packaging/os/redhat_subscription.py | bregman-arie/ansible | gpl-3.0 | 28,269 | 755 | codeparrot/github-code |
1c457323ba36cfa566fc070e66ae9a7cdfb295f364dd182c40da9530aac1028f | #region Copyright & License Information
/*
* Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Licen... | C# | OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs | Mistranger/OpenRA | gpl-3.0 | 1,438 | 45 | codeparrot/github-code |
6012d9ce84f69e42e9b6a1ae853e32927b794baf080f5608474e0d377dd29484 | /*
* libgen.h - defined by XPG4
*/
#ifndef _LIBGEN_H_
#define _LIBGEN_H_
#include "_ansi.h"
#include <sys/reent.h>
#ifdef __cplusplus
extern "C" {
#endif
/* There are two common basename variants. If you do NOT #include <libgen.h>
and you do
#define _GNU_SOURCE
#include <string.h>
you get the G... | C | newlib/newlib/libc/include/libgen.h | Vild/PowerNex-old | mpl-2.0 | 820 | 37 | codeparrot/github-code |
26b9b81166df4ccebe5ae26085e790948d7dbdb71b95449b8fe3ec6315abc1ad | # -*- coding: utf-8 -*-
# This file is part of Shoop.
#
# Copyright (c) 2012-2015, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
import six
from django.utils.transl... | Python | shoop/admin/modules/methods/views/edit_detail.py | lawzou/shoop | agpl-3.0 | 1,471 | 43 | codeparrot/github-code |
92c46714bc0614c1ba10fb56fe938b227f9abfd0158f000812d4c8bb13ea2ab6 | package com.griddynamics.jagger.dbapi.dto;
import java.io.Serializable;
/**
* @author "Artem Kirillov" (akirillov@griddynamics.com)
* @since 5/30/12
*/
public class PointDto implements Serializable {
private double x;
private double y;
public PointDto() {
}
public PointDto(double x, double y)... | Java | dbapi/src/main/java/com/griddynamics/jagger/dbapi/dto/PointDto.java | vladimir-bukhtoyarov/jagger | lgpl-2.1 | 1,093 | 55 | codeparrot/github-code |
763535f3e9d835c3c7aeb298372c0904eb2f4de828fdce84142ba16dc43bd99d | /*
* Event Tracing for Windows PMDA
*
* Copyright (c) 2011 Nathan Scott. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at y... | C | src/pmdas/etw/pmda.c | adfernandes/pcp | lgpl-2.1 | 21,007 | 513 | codeparrot/github-code |
2a79009fbaeebeb91237c4ff5a82745893d9d5b2ed68e54627c2e16dae5c2e97 | /*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* info@exist-db.org
* http://www.exist-db.org
*
* 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 Foun... | Java | exist-core/src/test/java/org/exist/numbering/DLNTest.java | wolfgangmm/exist | lgpl-2.1 | 8,703 | 276 | codeparrot/github-code |
cd38de961a8e0404b458c98c6fd48bfb2adb82ccab0a2a6d473db187bf5f7202 | //==- DeadStoresChecker.cpp - Check for stores to dead variables -*- C++ -*-==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | interpreter/llvm/src/tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp | bbockelm/root-historical | lgpl-2.1 | 12,973 | 387 | codeparrot/github-code |
c3121c9d5aa4523779c3a771be2852f28ff1938180062277b4543bb643b54156 | /**
*
* Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
*
* 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) ... | Java | lucee-java/lucee-core/src/lucee/transformer/bytecode/visitor/ParseBodyVisitor.java | paulklinkenberg/Lucee4 | lgpl-2.1 | 1,975 | 62 | codeparrot/github-code |
6b708694af8af3ac2bcdc476f4064236ac8f1102a7b5f17b093a78f1b38c72c9 | package org.intermine.webservice.server.core;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyl... | Java | intermine/web/main/src/org/intermine/webservice/server/core/WebServiceServlet.java | elsiklab/intermine | lgpl-2.1 | 4,673 | 142 | codeparrot/github-code |
cbaaa193797a596652640d367b994d36d2f4ec35cf443efb24d199c2fd3dad0d | <?php
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: IncludeProfile.php 47202 2013-08-22 10:29:57Z changi67... | PHP | lib/core/Tiki/Command/ProfileExport/IncludeProfile.php | shailendrairis/tikiwiki | lgpl-2.1 | 1,822 | 64 | codeparrot/github-code |
1d8b97165f8c07306d00d198d2067311190a2c8d63b7858b69cdecae8dfae4a7 | package org.intermine.modelproduction;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/les... | Java | intermine/objectstore/test/src/org/intermine/modelproduction/MetadataManagerTest.java | elsiklab/intermine | lgpl-2.1 | 2,328 | 72 | codeparrot/github-code |
71d62feaa8c2ebfe1662cb8b0e37a26cc89b0139ee5ae077145f80d9176c4c4e | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class Amrvis(MakefilePackage):
"""Amrvis is a visualization package specifically designed to
read and display ... | Python | var/spack/repos/builtin/packages/amrvis/package.py | LLNL/spack | lgpl-2.1 | 6,541 | 199 | codeparrot/github-code |
67ec6f16ed77a98f0681aaf67347fb458ba42a7553885dedd65d5ec0eabd5eb3 | <?php if (!defined('FLUX_ROOT')) exit; ?>
<h2><?php echo htmlspecialchars(Flux::message('BranchLogHeading')) ?></h2>
<?php if ($branchs): ?>
<?php echo $paginator->infoText() ?>
<table class="horizontal-table">
<tr>
<th><?php echo $paginator->sortableColumn('branch_date', Flux::message('BranchLogDateLabel')) ?></th>... | PHP | themes/default/logdata/branch.php | reyborn0814/rathena-FluxCP | lgpl-3.0 | 2,421 | 55 | codeparrot/github-code |
68fb8431b013a615af3dd4bc3b8b01cc6586c6b39319fa9aa2e3bcc47afc1434 | /*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... | C | thirdparty/leptonica/src/morphdwa.c | DocCreator/DocCreator | lgpl-3.0 | 63,132 | 1,591 | codeparrot/github-code |
65664c715eb745853966725a476a154590bd7959a916622025beb89f3c78cbcf | /**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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... | Java | src/main/java/org/fenixedu/academic/dto/accounting/sibsPaymentFileProcessReport/SibsPaymentFileProcessReportDTO.java | jcarvalho/fenixedu-academic | lgpl-3.0 | 19,009 | 449 | codeparrot/github-code |
f47819bcfd0371338b5b1853ff9a1f9c20384e238a75e09a8a1f175ff4111749 | import re
from .common import InfoExtractor
class TrailerAddictIE(InfoExtractor):
_VALID_URL = r'(?:http://)?(?:www\.)?traileraddict\.com/(?:trailer|clip)/(?P<movie>.+?)/(?P<trailer_name>.+)'
_TEST = {
u'url': u'http://www.traileraddict.com/trailer/prince-avalanche/trailer',
u'file': u'76184.... | Python | youtube_dl/extractor/traileraddict.py | ashutosh-mishra/youtube-dl | unlicense | 2,278 | 53 | codeparrot/github-code |
a9f6caef683c21d8bc766287ef95dfe3bd09420ef3f304db389176741cc3a13a | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | C# | OpenSim/Server/Handlers/Authentication/AuthenticationServerConnector.cs | justasabc/opensim76 | apache-2.0 | 3,068 | 65 | codeparrot/github-code |
ccd2f3b655c2f5114d1405631058c9366bdb09e60cf8bfde7f9cef871a5adaa8 | /**
* Project: simple-image-1.0 File Created at 2010-7-9 $Id$ Copyright 2008 Alibaba.com Croporation Limited. All rights
* reserved. This software is the confidential and proprietary information of Alibaba Company.
* ("Confidential Information"). You shall not disclose such Confidential Information and shall use it ... | Java | simpleimage.core/src/test/java/com/alibaba/simpleimage/ColorConvertTest.java | yangcwGIT/simpleimage | apache-2.0 | 2,269 | 58 | codeparrot/github-code |
b086a4c8421717e1f10e0e69331828998f70bd592a7d383421b8cbceb3c949aa | package com.google.bitcoin.bouncycastle.math.ec;
import java.math.BigInteger;
/**
* Class representing a simple version of a big decimal. A
* <code>SimpleBigDecimal</code> is basically a
* {@link java.math.BigInteger BigInteger} with a few digits on the right of
* the decimal point. The number of (binary) digits ... | Java | src/com/google/bitcoin/bouncycastle/math/ec/SimpleBigDecimal.java | barmstrong/bitcoin-android | apache-2.0 | 6,890 | 254 | codeparrot/github-code |
671f53ce6430222f7b782a44c62cad6fe69e2c97822ec317bf239570d912a29f | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | docs/user-manual/modules/ROOT/examples/core/camel-core/src/test/java/org/apache/camel/processor/TransformTest.java | objectiser/camel | apache-2.0 | 2,205 | 64 | codeparrot/github-code |
e0a8b663fdb84e0770b65c626fcdc3373ec5fb55b7600b817a327a50990a2014 | # PyKinect
# Copyright(c) Microsoft Corporation
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the License); you may not use
# this file except in compliance with the License. You may obtain a copy of the
# License at http://www.apache.org/licenses/LICENSE-2.0
#
# THIS CODE IS PROVIDED ON ... | Python | Python/Product/PyKinect/PyKinect/winspeech/recognition.py | DinoV/PTVS | apache-2.0 | 8,335 | 240 | codeparrot/github-code |
04ea58e31d00d3284ef56381f169eec3b0d8098abc258566c85e0ae7745e4bf1 | /*
* Legal Notice
*
* This document and associated source code (the "Work") is a part of a
* benchmark specification maintained by the TPC.
*
* The TPC reserves all right, title, and interest to the Work as provided
* under U.S. and international laws, including without limitation all patent
* and trade... | C | tpcds/tpcds_tools/tools/s_promotion.c | vitesse-ftian/dgtools | apache-2.0 | 4,805 | 192 | codeparrot/github-code |
49adbe9126f9457b9f74999180866e78855b49c48a9b4a83f8bef8598a3aefde | //===--- ArrayBoundsCheckOpts.cpp - Bounds check elim ---------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C++ | lib/SILOptimizer/LoopTransforms/ArrayBoundsCheckOpts.cpp | zisko/swift | apache-2.0 | 50,246 | 1,401 | codeparrot/github-code |
cd55da7f64e7fdd05f2dd6302c058b0f602ab96cc36b0677e73439a2abb41909 | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | C | Modules/Core/Common/include/itkSingletonMacro.h | BRAINSia/ITK | apache-2.0 | 4,037 | 67 | codeparrot/github-code |
12042693f111acf895bc098303f3c3f513a24d0bce1ed4b5fedfd173db2ae47f |
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrResourceKey_DEFINED
#define GrResourceKey_DEFINED
#include "GrTypes.h"
#include "SkOnce.h"
#include "SkTemplates.h"
uint32_t GrResourceKeyHash(const uint32_t* dat... | C | third_party/skia/include/gpu/GrResourceKey.h | zero-rp/miniblink49 | apache-2.0 | 11,099 | 309 | codeparrot/github-code |
f7225602f3450560e91a685a408927912ba4ba85276325df6da90be2f9467931 | /*
* Copyright 2015 The Netty Project
*
* The Netty Project licenses this file to you 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 ... | Java | transport/src/test/java/io/netty/channel/pool/FixedChannelPoolTest.java | Apache9/netty | apache-2.0 | 12,947 | 348 | codeparrot/github-code |
afd80602f53e5557a1567b42f091e68c6503dcdd057c72a984514d06dd957563 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryTableSourceDef.java | lukecwik/incubator-beam | apache-2.0 | 4,796 | 118 | codeparrot/github-code |
469d3476815f66937aa463b08cc0fcd24455272dcd759b7870f43143149daaf5 | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.volatility.cube.rest;
import java.net.URI;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.QueryParam;
import javax.ws... | Java | projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/volatility/cube/rest/DataVolatilityCubeSpecificationSourceResource.java | DevStreet/FinanceAnalytics | apache-2.0 | 3,146 | 97 | codeparrot/github-code |
e6373950636d2efb1a2691bb0f8bc925073fb64fdc6ce52bca09263be545545e | //===--- CallerAnalysis.cpp - Determine callsites to a function ----------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C++ | lib/SILOptimizer/Analysis/CallerAnalysis.cpp | rudkx/swift | apache-2.0 | 17,945 | 493 | codeparrot/github-code |
8cc7b9731f8ef26e54fe80ce686d4ae15872acc08fec512faa0306e2a99b5f24 | package io.dropwizard.jersey.gzip;
import java.io.IOException;
import java.util.zip.GZIPOutputStream;
import javax.annotation.Priority;
import javax.ws.rs.Priorities;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.client.ClientRequestContext;
import javax.ws.rs.client.ClientRequestFilter;
import javax... | Java | dropwizard-jersey/src/main/java/io/dropwizard/jersey/gzip/ConfiguredGZipEncoder.java | AnuchitPrasertsang/dropwizard | apache-2.0 | 1,983 | 53 | codeparrot/github-code |
af78c3538c4698890c080294cc048c4f2ac0fb271c70292e2db7cd738e5b87aa | /*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); ... | Java | modules/debugger/src/java/flash/tools/debugger/threadsafe/ThreadSafeValueExp.java | shyamalschandra/flex-sdk | apache-2.0 | 2,232 | 73 | codeparrot/github-code |
3c310457b66fcbc65a76c86583c7f97a18616ba86bb5a07abad8a1a1ad869c36 | // <copyright file="Cookie.cs" company="WebDriver Committers">
// Copyright 2007-2011 WebDriver committers
// Copyright 2007-2011 Google Inc.
// Portions copyright 2011 Software Freedom Conservancy
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complia... | C# | dotnet/src/WebDriver/Cookie.cs | jmt4/Selenium2 | apache-2.0 | 9,090 | 236 | codeparrot/github-code |
e8e7fcab1909577919126034900f561aaa926ef56f31f31feb356edb88b6e4fd | #include "indexer/feature_impl.hpp"
#include "base/string_utils.hpp"
#include "base/logging.hpp"
#include "base/math.hpp"
#include <algorithm>
using namespace std;
namespace feature
{
bool IsDigit(int c)
{
return (int('0') <= c && c <= int('9'));
}
bool IsNumber(strings::UniString const & s)
{
for (size_t i =... | C++ | indexer/feature_impl.cpp | darina/omim | apache-2.0 | 1,457 | 77 | codeparrot/github-code |
44453ccafa1191ae095e089004d1634353d9dad3fd9eac3da573fb5256f498e6 | 'use strict';
import { Class, Instance, isInstanceOf } from 'immutable-class';
export interface MarinParameters {
left?: number;
right?: number;
top?: number;
bottom?: number;
}
export interface StageValue {
x: number;
y: number;
width: number;
height: number;
}
// ToDo: make this a higher object
ex... | TypeScript | src/common/models/stage/stage.ts | jyt109/pivot | apache-2.0 | 1,795 | 103 | codeparrot/github-code |
c38894bff1159b153af2eec6d3603a245fe0a926fcfc12780a2663b0b9a087ef | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | presto-main/src/test/java/com/facebook/presto/sql/planner/optimizations/TestSetFlatteningOptimizer.java | RobinUS2/presto | apache-2.0 | 5,541 | 136 | codeparrot/github-code |
904066614963cef538a0fd99a47b421ddbca8f90e142ba5a3a715319e6531be1 | <?php
/**
* This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
/**
* A generator for DOT graph information.
*
* @author Mark Kimsal
* @author Toni Ueberni... | PHP | vendors/propel/generator/lib/util/PropelDotGenerator.php | juancruznavarro/propel-bootemp | apache-2.0 | 2,010 | 65 | codeparrot/github-code |
1a1bbabea732327a8a8535bf6238d28c57208746dd91f7b44020190e9005bb3a | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | Java | components/data-bridge/org.wso2.carbon.databridge.core/src/main/java/org/wso2/carbon/databridge/core/internal/queue/EventBlockingQueue.java | lgobinath/carbon-analytics-common | apache-2.0 | 3,653 | 94 | codeparrot/github-code |
acfbde408ece1a0c68060490cbdd69c73e9bcd79182e52c6b5442c4be4b48428 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | Java | wave/src/test/java/org/waveprotocol/wave/model/document/util/XmlStringBuilderTest.java | vega113/incubator-wave | apache-2.0 | 6,201 | 192 | codeparrot/github-code |
01c5053290bbf12c2ecb56a59b64feca984cc34b6020bb4bccc5ff72a7e8530d | package org.apache.lucene.codecs.simpletext;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache Lic... | Java | lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsWriter.java | q474818917/solr-5.2.0 | apache-2.0 | 5,785 | 186 | codeparrot/github-code |
d7b1ba12043f5a13b3ac20e208550f46dcee28356c7f8a5b7fbff615b0c87218 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/indexing/src/test/java/org/apache/ignite/internal/metric/SqlStatisticsUserQueriesFastTest.java | NSAmelchev/ignite | apache-2.0 | 10,960 | 310 | codeparrot/github-code |
7ab9bca32fb36b09f36a29fddc4031660ef6e09ab5165d171f5804aaf2c45ba4 | package org.apache.lucene.store;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Versio... | Java | solr-4.9.0/lucene/core/src/java/org/apache/lucene/store/RateLimiter.java | williamchengit/TestRepo | apache-2.0 | 4,851 | 154 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.