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
aa608c7d6f1b216118463be0f5aeec66811eee8246b92504c8d5cbf4260439cc
/************************************************************************************ Filename : Util_Render_Stereo.h Content : Sample stereo rendering configuration classes. Created : October 22, 2012 Authors : Michael Antonov, Tom Forsyth Copyright : Copyright 2014 Oculus VR, LLC All Righ...
C
third/LibOVR/Src/Util/Util_Render_Stereo.h
mplanck/ShaderToyVR
mit
24,042
501
codeparrot/github-code
690d3d7a359e01d89fd9df556467a91cd83aa8b2b1e824dd8e493fd718fc6612
import sys import os.path import re import time from docutils import io, nodes, statemachine, utils try: from docutils.utils.error_reporting import ErrorString # the new way except ImportError: from docutils.error_reporting import ErrorString # the old way from docutils.parsers.rst import Directive, con...
Python
docs/sphinxext/notebook_sphinxext.py
wbinventor/openmc
mit
3,717
118
codeparrot/github-code
1e4704739faf4f2cacde9a02c5af5b304dc2d5e4085c6f5ec13b08b2ff050be4
// This file is part of the uSTL library, an STL implementation. // // Copyright (c) 2005-2009 by Mike Sharov <msharov@users.sourceforge.net> // This file is free software, distributed under the MIT License. #ifndef UTUPLE_H_7324ADEC49B397CA74A56F6050FD5A6B #define UTUPLE_H_7324ADEC49B397CA74A56F6050FD5A6B #include "...
C
utuple.h
szastupov/ustl
mit
13,406
333
codeparrot/github-code
a2f7b70fbb414f02180e62a3a35c6fb9c3e227cc3eec8a3faf3a2fc601ae1eab
package org.droidplanner.android.dialogs; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v7.app.AlertDialog; import android.view.View; import a...
Java
Research/Tower-develop/Tower-develop/Android/src/org/droidplanner/android/dialogs/SupportYesNoDialog.java
vuyaniShabangu/now.next
mit
3,948
116
codeparrot/github-code
9cd8d0432a2c6db74030ede11087ba640f740a6a106e5504189e573704b2717e
/*------------------------------------------------------------------------ * (The MIT License) * * Copyright (c) 2008-2011 Rhomobile, Inc. * * 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 ...
C++
platform/wm/rhodes/Vibrate.cpp
louisatome/rhodes
mit
2,614
100
codeparrot/github-code
84bcd3cf6897d056a74418c3a5c21456e7cdda81c24ee300529e30e1747d5f7a
using System; using System.Linq; using System.Linq.Expressions; namespace LinqToDB.Linq.Builder { using LinqToDB.Expressions; using Extensions; using SqlQuery; class FirstSingleBuilder : MethodCallBuilder { public static string[] MethodNames = { "First", "FirstOrDefault", "Single", "SingleOrDefaul...
C#
Source/Linq/Builder/FirstSingleBuilder.cs
yonglehou/linq2db
mit
6,142
205
codeparrot/github-code
9ca6937c8e114f246cb65838ea397cc41593572f21193476da021e0360030014
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "utilstrencodings.h" #include "tinyformat.h" #include <cstdlib> #inclu...
C++
src/utilstrencodings.cpp
dperel/bitcoin
mit
20,568
661
codeparrot/github-code
1568b4081cb881f4baecad1b7fa53d1818156048f3139081a8966ff6f4b36299
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\SettingsBundle; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compil...
PHP
src/Sylius/Bundle/SettingsBundle/SyliusSettingsBundle.php
gonzalovilaseca/Sylius
mit
1,841
59
codeparrot/github-code
cd057285ef82909aba242a38aa5a4efaef7062edeede70a6a63ca2cc46c9e99e
//===--- Rewriter.h - Code rewriting interface ------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C
llvm-3.3/tools/clang/include/clang/Rewrite/Core/Rewriter.h
dbrumley/recfi
mit
12,318
300
codeparrot/github-code
a946bd56a66626501b544e84db32166dd5ee692bfd4dd3afe5608a1aae824839
/* Capstone Disassembly Engine */ /* M68K Backend by Daniel Collin <daniel@collin.com> 2015 */ #ifdef CAPSTONE_HAS_M68K #include "../../utils.h" #include "../../MCRegisterInfo.h" #include "M68KDisassembler.h" #include "M68KInstPrinter.h" static cs_err init(cs_struct *ud) { m68k_info *info; info = cs_mem_malloc(si...
C
src/native/external/capstone/arch/M68K/M68KModule.c
kondrak/ProDBG
mit
960
51
codeparrot/github-code
35c894d82c1de1bacbecc2de2d73e5de3a18b58b9506953b561d95457119816e
package sarama type PartitionMetadata struct { Err KError ID int32 Leader int32 Replicas []int32 Isr []int32 } func (pm *PartitionMetadata) decode(pd packetDecoder) (err error) { tmp, err := pd.getInt16() if err != nil { return err } pm.Err = KError(tmp) pm.ID, err = pd.getInt32() if e...
GO
metadata_response.go
thinkingphones/Shopify-sarama
mit
3,583
219
codeparrot/github-code
7a248cff506101680bf9911fa619366bed81665a3a63a566cbf704d87aa26ab0
#ifndef __DSENT_MODEL_ELECTRICAL_ROUTER_ROUTER_H__ #define __DSENT_MODEL_ELECTRICAL_ROUTER_ROUTER_H__ #include "util/CommonType.h" #include "model/ElectricalModel.h" namespace DSENT { /** \class Router * \param Input ports: In[0-9]* * \param Output ports: Out[0-9]* */ class Router : public Elec...
C
contrib/dsent/dsent-core/model/electrical/router/Router.h
8l/Graphite
mit
1,334
47
codeparrot/github-code
9eb8e8c9fd0246d8c47fd8a6ecb3e2ae3738af54898986f897b7ebf7cb247891
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - materials - cube reflection [balls]</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <link type="text/css" rel="stylesheet" href="main.css"> </head> <body>...
HTML
public/js/three.js/examples/webgl_materials_cubemap_balls_reflection.html
billroy/jchart
mit
3,297
136
codeparrot/github-code
bc77708892de9b4858ee613d63d0430798d0eb81f9581dfa6b43f43cc2bbabd5
/* * Copyright (c) 2012-2018 Red Hat, Inc. * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Red Hat, Inc. - initial API a...
Java
wsmaster/che-core-api-user-shared/src/main/java/org/eclipse/che/api/user/shared/dto/ProfileDto.java
akervern/che
epl-1.0
1,356
56
codeparrot/github-code
4f99045c1037835926abda0c369d29aa305e621e9bed7c046a0c01c0429ccca0
/* * 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/MapManager.h
playerbot/mangos
gpl-2.0
6,165
192
codeparrot/github-code
a09109e4aa6a4d8adf1272e9271f850f6ef471675931852581a2c177c3ecd80d
/* auditsc.c -- System-call auditing support * Handles all system-call specific auditing features. * * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina. * Copyright 2005 Hewlett-Packard Development Company, L.P. * Copyright (C) 2005, 2006 IBM Corporation * All Rights Reserved. * * This program is free s...
C
kernel/auditsc.c
davidmueller13/arter97_bb
gpl-2.0
73,435
2,747
codeparrot/github-code
0136c47b690d21334d6d919a3aafbef68a255ed15a27f0f9a269cf800a9fcb6c
<?php /* * Main class of User Role Editor WordPress plugin * Author: Vladimir Garagulya * Author email: support@role-editor.com * Author URI: https://www.role-editor.com * License: GPL v2+ * */ class User_Role_Editor { // plugin specific library object: common code stuff, including options data processor ...
PHP
wp-content/plugins/user-role-editor/includes/class-user-role-editor_1.php
konsultanblog/tagamon
gpl-2.0
31,949
833
codeparrot/github-code
49d0bba3609f9622abce86649b4093253c14fcd9e5e5fee7c76266d4c20d5adf
/* * fs/partitions/check.c * * Code extracted from drivers/block/genhd.c * Copyright (C) 1991-1998 Linus Torvalds * Re-organised Feb 1998 Russell King * * We now have independent partition support from the * block drivers, which allows all the partition code to * be grouped in one location, and it to b...
C
fs/partitions/check.c
nspierbundel/amlogic-common-3.0.8
gpl-2.0
18,000
735
codeparrot/github-code
03f4e63f3fb13a6e194129856d7e5fc6ca627d8e2ab5975ca70ce23d8e75e4d2
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +---------------------...
PHP
sites/all/modules/contrib/civicrm/CRM/Event/Form/Search.php
AlannaBurke/animalrescue
gpl-2.0
14,199
452
codeparrot/github-code
be86e75aeece66507ba765e9edf8f836f03a7b488c0bbaf9d7b061608c54cba8
<?php /* * This file is part of EC-CUBE * * Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * 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; ei...
PHP
data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_News.php
poego/eccube-2_13
gpl-2.0
5,906
195
codeparrot/github-code
3f83b6d0ba5b26f1ea30507ee1a968881326d2fb81465d2fd6a6e295369914cf
/** * \file drm_drv.c * Generic driver template * * \author Rickard E. (Rik) Faith <faith@valinux.com> * \author Gareth Hughes <gareth@valinux.com> * * To use this template, you must at least define the following (samples * given for the MGA driver): * * \code * #define DRIVER_AUTHOR "VA Linux Systems, Inc."...
C
drivers/gpu/drm/drm_drv.c
grate-driver/linux-2.6
gpl-2.0
17,899
544
codeparrot/github-code
507e476a649b6ae13697485a077bd2ac938fafc62a7539c233cada9653fc2989
<?php /** * Theme options page. * * @package P2 * @since unknown */ add_action( 'admin_menu', array( 'P2_Options', 'init' ) ); class P2_Options { function init() { global $plugin_page; add_theme_page( __( 'Theme Options', 'p2' ), __( 'Theme Options', 'p2' ), 'edit_theme_options', 'p2-options-page', array(...
PHP
wp-content/themes/p2/inc/options-page.php
smartysone/p2test
gpl-2.0
10,375
266
codeparrot/github-code
cd63e85d74b0b51255249aef4d20120bb480bb21290c4c2bd3f1b4b4e1c24d24
//////////////////////////////////////////////////////////////////////////////////////// // // Nestopia - NES/Famicom emulator written in C++ // // Copyright (C) 2003-2008 Martin Freij // // This file is part of Nestopia. // // Nestopia is free software; you can redistribute it and/or modify // it under the te...
C++
src/nes/core/NstProperties.hpp
hendersa/bes
gpl-2.0
2,604
127
codeparrot/github-code
a6ef2a0dcf470d4347b44879cf520054ead8ec0b82f5deeb9abafd9f32ae6e82
/* * linux/kernel/irq/spurious.c * * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar * * This file contains spurious interrupt handling. */ #include <linux/jiffies.h> #include <linux/irq.h> #include <linux/module.h> #include <linux/kallsyms.h> #include <linux/interrupt.h> #include <linux/moduleparam.h>...
C
kernel/irq/spurious.c
insofter/linux
gpl-2.0
8,739
363
codeparrot/github-code
04833162a77817091059c837faef24beb0124163c804302d2a36307103a137f1
<?php namespace TYPO3\CMS\Core\Collection; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license infor...
PHP
typo3/sysext/core/Classes/Collection/StaticRecordCollection.php
famelo/TYPO3-Base
gpl-2.0
4,682
183
codeparrot/github-code
298532160b424007b542b6b1b146cc25a92996b160eb2d0ae2cd0b5ae01a4dd3
/* * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
test/hotspot/jtreg/runtime/memory/ReadFromNoaccessArea.java
md-5/jdk10
gpl-2.0
3,547
88
codeparrot/github-code
ebe892733fe418c626c0ebdc5854fe93c7a396c4169f2101e88852b494c3d026
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
C
src/USER-MANIFOLD/manifold.h
quang-ha/lammps
gpl-2.0
3,039
101
codeparrot/github-code
24f3267c2d4b3011b4a5690b33c923f386ebb5c1e1f04240b2744d7cc97a8c4e
/* client.c: NFS client sharing and management code * * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.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/nfs/client.c
dcsommer/linux-kernel-cwnd-issues
gpl-2.0
54,276
2,101
codeparrot/github-code
0a8cbc127479eedfc0d21e9fba6883e100d30541ce7650b50e0e171359340066
/* FTP extension for TCP NAT alteration. */ /* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Softwa...
C
net/ipv4/netfilter/nf_nat_ftp.c
tmatsuya/milkymist-linux
gpl-2.0
4,604
166
codeparrot/github-code
8c92c0b0c4e7664b748316a762b63a76a45864122539376b3b9e6f8555fd4185
//===-- CompilerDecl.h ------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C
sdk/lldb/osx/include/lldb/Symbol/CompilerDecl.h
eranif/codelite
gpl-2.0
2,356
88
codeparrot/github-code
096701597731873da0a0ba8805041d5e3b7551de520fc638e79b4dcd0204e073
class AdaptReviewAndDuplicatedNotifications < ActiveRecord::Migration[6.0] def up transform_review_notifications remove_outdated_notifications end def down raise ActiveRecord::IrreversibleMigration end private # associate the review notifications to the corresponding bs_request, since # the...
Ruby
src/api/db/data/20200702145811_adapt_review_and_duplicated_notifications.rb
hennevogel/open-build-service
gpl-2.0
2,186
60
codeparrot/github-code
c259d0f21cdfb6a554d5cc47410460fe59104efe3a64c47c58efc8833e74c378
/***************************************************************************** * access.c: DVB card input v4l2 only ***************************************************************************** * Copyright (C) 1998-2010 VLC authors and VideoLAN * * Authors: Johan Bilien <jobi@via.ecp.fr> * Jean-Paul Sama...
C
modules/access/dvb/access.c
thoaionline/vlc
gpl-2.0
20,550
620
codeparrot/github-code
d529075a81512729508a2d7f7e4999a4fc729ac34e5e6b28e6adff658457998c
/* * Copyright 2018 Advanced Micro Devices, Inc. * * 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
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
kronat/linux
gpl-2.0
17,977
563
codeparrot/github-code
aa2ac77cbce9133eee05d361b19898cb3e1c6c351e090e3a4f0bc9fdd0bbb2d5
/* * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
test/compiler/floatingpoint/TestPow2.java
netroby/hotspot9
gpl-2.0
2,732
75
codeparrot/github-code
d8169c3162bdb8487068bacc0b38aa7f433dcdf659f370024b5b66bd40c8f027
/* * * Copyright 2009-2016, LabN Consulting, L.L.C. * * * 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
bgpd/rfapi/rfapi_vty.h
freerangerouting/frr
gpl-2.0
5,392
177
codeparrot/github-code
30c1edd425268baed5df47261c352d6341d2d726bb896bfe2c4daa7b37f86e87
<?php /** * File containing the eZVATManager class. * * @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.6 * @package kernel */ /*! \class eZVATManager ezvatmanager.php \brief The class eZ...
PHP
kernel/classes/ezvatmanager.php
crevillo/ezc
gpl-2.0
10,728
321
codeparrot/github-code
7a4931563dc4e19602136636de501a5b47ab3736727d1ceee85722d6ed54502a
/* drivers/atm/eni.c - Efficient Networks ENI155P device driver */ /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ #include <linux/module.h> #include <linux/config.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/pci.h> #include <linux/errno.h> #include <linux/atm.h> #include <linux/a...
C
drivers/atm/eni.c
jmesmon/linux-2.4.37.y
gpl-2.0
64,470
2,380
codeparrot/github-code
46b783834e3779f272010ba626cffa178fbce74e71d21513005722eeae942596
// // 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
core/test/org/apache/cloudstack/api/agent/test/AgentControlCommandTest.java
ikoula/cloudstack
gpl-2.0
1,199
37
codeparrot/github-code
a36b04d88042bc558c716507bf62aa4d5531273fec4558f94bb646985bee54ff
<?php /* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * \brief CKEditor class that can be used to create editor * instances in PHP pages on server side. * @see http://ckeditor.com * * Sample usage: ...
PHP
sites/all/libraries/ckeditor/ckeditor_php5.php
jkebertz/goodspeaks
gpl-2.0
16,038
587
codeparrot/github-code
ddecb301cdf8a93e410718ffbf721c6bc044c73f03c4b4120a4f29e3c253189f
$if (_NTIFS_) /* Common Cache Functions */ #define CcIsFileCached(FO) ( \ ((FO)->SectionObjectPointer != NULL) && \ (((PSECTION_OBJECT_POINTERS)(FO)->SectionObjectPointer)->SharedCacheMap != NULL) \ ) extern NTKER...
C
third-party/reactos/sdk/include/xdk/ccfuncs.h
GreenteaOS/Kernel
gpl-2.0
8,123
431
codeparrot/github-code
67f36fb91dee17354d415f90c455daf7858cdcc5f16edc3e148af04fc84ccfb5
#!/usr/bin/env ruby -wKU require 'base64' require 'iconv' raise "Pass toolbars-state data as argument." if ARGV.length != 1 data = Base64.decode64(ARGV[0]) $toolBarStateMarker = 0xfe $toolBarStateMarkerEx = 0xfc $dockWidgetStateMarker = 0xfd class MainWinState def initialize(data) @data = data @offset...
Ruby
tools/toolbars_state.rb
pontus/psilibnotify
gpl-2.0
3,167
136
codeparrot/github-code
8cc2629493d76bd2c929ccf369c107adf7ab9521fe8aaf9be6f18485a6a59cbb
/* * SGX display class driver platform resources * * Copyright (C) 2012 Texas Instruments * * 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
arch/arm/plat-omap/sgx_omaplfb.c
Pesach85/PH85-KERNEL
gpl-2.0
2,194
88
codeparrot/github-code
92551e2a8dc54f6d3af593aabfeaaef89ca91530472856a4ae8cf9519107f188
/*************************************************************** * Purpose: Freshclam configuration editor * * Copyright (C) 2010 Sourcefire, Inc. * * Authors: Török Edwin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versio...
C
win32/clamav-for-windows/sigui/SigUI/ConfigEditor.h
eqmcc/clamav_decode
gpl-2.0
2,228
63
codeparrot/github-code
c68df355e9d35cc44c53a4a1060c386136803a53c7d0d3fc3f30951c75df6715
<?php /** * @package Joomla.Administrator * @subpackage com_modules * * @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\Modules\Administrator\Model; \defined('_JEXEC') or die...
PHP
administrator/components/com_modules/src/Model/SelectModel.php
Llewellynvdm/joomla-cms
gpl-2.0
4,400
168
codeparrot/github-code
a7ff527982c9f327e7be93fda2ebfeb8080495c4582821db47157ffabc8d2b4f
// This contains the implementation of the PyQtProxy class. // // Copyright (c) 2012 Riverbank Computing Limited <info@riverbankcomputing.com> // // This file is part of PyQt. // // This file may be used under the terms of the GNU General Public // License versions 2.0 or 3.0 as published by the Free Software // Foun...
C++
cpp/lib/PyQt4/qpy/QtCore/qpycore_pyqtproxy.cpp
lordtangent/arsenalsuite
gpl-2.0
17,177
636
codeparrot/github-code
60b9d7da09a3a38e52cdb5d4a7cc1d7fd5315e32af07ea44d9567511e92690e5
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
JavaScript
work/install/node-v0.10.25/test/simple/test-child-process-kill-throw.js
teeple/pns_server
gpl-2.0
1,815
51
codeparrot/github-code
0ad3f98df0262d2ab4a7252ca5c98cb45c10d1dd58718583088c152fec31dc89
#ifndef MICROBLAZE_H #define MICROBLAZE_H /* Copyright 2009-2017 Free Software Foundation, Inc. This file is part of the Xilinx MicroBlaze simulator. 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...
C
sim/microblaze/microblaze.h
totalspectrum/binutils-propeller
gpl-2.0
3,119
103
codeparrot/github-code
7075434b7bc368de8bb0f45322cab3fe1a424f2514da7ad389429a134d0dd6b5
var error; var data; function my_init() { try { if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); } JSAN.errorLevel = "die"; // none, warn, or die JSAN.addRepository('/xul/server/'); JSAN.use('util.error'); error = new util.error(); error.sdump...
JavaScript
Open-ILS/xul/staff_client/server/admin/circ_age_to_lost.js
kidaa/Evergreen
gpl-2.0
4,626
121
codeparrot/github-code
7c7f8d77bfb8ec4fa3f9b4107f17569f4981138f350682b37b47836cddf3d208
/* This file is based on: $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $ Modified for readability by Nick Kurshev */ #if defined(Lynx) || defined(__OpenBSD__) static int pci_config_type( void ) { return 1; } static int pci_get_vendor( unsigned cha...
C
vidix/sysdep/pci_powerpc.c
Distrotech/MPlayer
gpl-2.0
727
31
codeparrot/github-code
4b07d5a19c350a3c444f22091b40dbca51f4411ca9ca438d93243cf296cde630
/*************************************************************************** qgswfsgecapabilities.cpp ------------------------- begin : December 20 , 2016 copyright : (C) 2007 by Marco Hugentobler (original code) ...
C++
src/server/services/wfs/qgswfsgetcapabilities.cpp
stevenmizuno/QGIS
gpl-2.0
28,817
602
codeparrot/github-code
989fdc4c40ded46577e92c8cedddf0767cda8d9580b452b6aa95128b44089326
/* * This file is part of Cleanflight. * * Cleanflight is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Cleanflight is distr...
C
src/main/blackbox/blackbox_fielddefs.h
onepiro/CleanFlightNRF
gpl-3.0
5,363
154
codeparrot/github-code
f3befe7856f8bb00d702a25267cf806c0f5d79fdfe66dc4b8a7af863970b76df
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
JavaScript
lib/form/amd/src/modalform.js
ewallah/moodle
gpl-3.0
15,795
419
codeparrot/github-code
b3ec0195a87bf3b1dac5e870530383957713bd1b17500e13f2d00483582da79c
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | \\ / A nd | For copyright notice see file Copyright \\/ M anipulation | ---------------------...
C++
src/thermophysicalModels/liquids/C8H18/C8H18.H
Unofficial-Extend-Project-Mirror/openfoam-extend-foam-extend-3.1
gpl-3.0
5,736
201
codeparrot/github-code
6a01264a46edd6c9fa97d34fdcb48713d300c0839675f7d13044c6a4c4e5c29f
// <copyright file="HttpRequest.cs" company="FC"> // Copyright (c) 2011 Fraser Chapman // </copyright> // <author>Fraser Chapman</author> // <email>fraser.chapman@gmail.com</email> // <date>2011-03-02</date> // <summary>This file is part of FC.GEPluginCtrls // FC.GEPluginCtrls is free software: you can redistri...
C#
HttpServer/HttpRequest.cs
zhaoweijing2003/winforms-geplugin-control-library
gpl-3.0
4,017
108
codeparrot/github-code
9d77fde03a038240ae8f0f09d018f0d2506ee459cf69cdb58d84f00efd95f1a4
<?php /** * @file * @ingroup SMWSpecialPage * @ingroup SpecialPage * * A special page to search for entities that have a certain property with * a certain value. * * @author Denny Vrandecic * @author Daniel Herzig * @author Markus Kroetzsch */ /** * This special page for Semantic MediaWiki implements a *...
PHP
wiki/extensions/SemanticMediaWiki/includes/specials/SMW_SpecialSearchByProperty.php
tectronics/bioladder
gpl-3.0
14,364
469
codeparrot/github-code
3a21ab931c2e9f25e9ced0bd4e58fe3fe3b20ed43490406b970118bc31429021
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Net; using System.Text; using System.Web; using System.Xml; using System.Xml.XPath; namespace Lpfm.LastFmScrobbler.Api { /// <summary> /// An implementation of <see cref="IRestApi"/...
C#
Libs/LastFmScrobbler/Api/WebRequestRestApi.cs
adammhaile/Elpis
gpl-3.0
6,561
185
codeparrot/github-code
7a433344eb47e977fea3030d9d757f54c36e253507d661e3c2b7a3e83039e928
/* sdiffd.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* $Procedure SDIFFD ( Symmetric difference of two double precision sets ) */ /* Subroutine */ int sdiffd_(doublereal *a, doublereal *b, doublereal *c__)...
C
src/third_party/cspice/sdiffd.c
krzysztof/pykep
gpl-3.0
7,885
273
codeparrot/github-code
85e1327b83a8f3ae0d1a6f78ed6fc04b81d5ba88d5777d37b2962f5e6e8a89b7
/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package org.fcrepo.common.xml.namespace; /** * The Fedora Audit XML namespace. * * <pre> * Namespa...
Java
shared/common/src/main/java/org/fcrepo/common/xml/namespace/FedoraAuditNamespace.java
ceskaexpedice/kramerius
gpl-3.0
2,448
98
codeparrot/github-code
7319795441dc06a3d8684371ec288ed5e5f26d055e7cb594d50531a7f51903b1
#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.Game/CVec.cs
Mistranger/OpenRA
gpl-3.0
4,192
129
codeparrot/github-code
905ab8e5866171162a5b5665a7585e53443f9848b7ad3db7a6e25080dcc598f4
#!/usr/bin/env python """ Copyright (c) 2006-2014 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import imp import logging import os import re import sys import warnings _sqlalchemy = None try: f, pathname, desc = imp.find_module("sqlalchemy", sys.path[1:]) _ = i...
Python
src/pentest/sqlmap/lib/utils/sqlalchemy.py
pwnieexpress/raspberry_pwn
gpl-3.0
2,985
87
codeparrot/github-code
117ecf72b99ab1e34b2b48a1fbba9587183010d33290100d0678eeae5bd7b888
-- This script is an example setting up a custom dynamic motor matrix -- allowing a vehicle to change geometry in flight -- this mixer is for a plus quad copter, the default SITL vehicle. -- Setup motor number (zero indexed) and testing order (1 indexed) Motors_dynamic:add_motor(0, 2) Motors_dynamic:add_motor(1, 4) Mo...
Lua
libraries/AP_Scripting/examples/Motor_mixer_dynamic_setup.lua
lthall/Leonard_ardupilot
gpl-3.0
1,294
50
codeparrot/github-code
c56371d356f4eec0138a1d6ae5584f435c8e4d57c91baa2df17d27de58cc4e54
/* * Copyright (C) 2016 foo86 * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
C
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/dca_lbr.c
geminy/aidear
gpl-3.0
56,691
1,820
codeparrot/github-code
ae2b91c8ba78eb918332ef0fdfc9f0e5c41aa5bb1f53ba773437e2482cc06a29
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | \\ / A nd | For copyright notice see file Copyright \\/ M anipulation | ---------------------...
C++
src/foam/fields/Fields/VectorNFields/DiagTensorNFields.H
Unofficial-Extend-Project-Mirror/openfoam-extend-foam-extend-3.1
gpl-3.0
5,274
105
codeparrot/github-code
b6d664e6489395868addc844091df4d921ec35e4bcc1aac9f79745d61f91d928
using System; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Crypto.Engines { /** * The specification for RC5 came from the <code>RC5 Encryption Algorithm</code> * publication in RSA CryptoBytes, Spring of 1995. * <em>http://www.rsasecurity.com/r...
C#
ExtLibs/BouncyCastle/src/crypto/engines/RC564Engine.cs
virtualrobotix/MissionPlanner
gpl-3.0
9,141
296
codeparrot/github-code
a54d504dedb67b3dd480e19e1a70a58f04fc2025ed4a93f13a7289202e9329f8
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
PHP
mod/survey/lib.php
wit-ctel/moodle-29
gpl-3.0
26,667
841
codeparrot/github-code
b59f4eb6f11f6501a5b672f96e413fb308d786a61ad818e4a0d17687c47700c3
package org.whispersystems.signalservice.api.messages; import org.signal.zkgroup.InvalidInputException; import org.signal.zkgroup.groups.GroupMasterKey; import org.whispersystems.signalservice.internal.push.SignalServiceProtos; /** * Group information to include in SignalServiceMessages destined to v2 groups. * <p>...
Java
service/src/main/java/org/whispersystems/signalservice/api/messages/SignalServiceGroupV2.java
Turasa/libsignal-service-java
gpl-3.0
2,704
94
codeparrot/github-code
2fc6ad66c35a8ee738c061923643f3593b7ef8a2ea420808ba444e6dd207c520
_kiwi.model.Gateway = function () { // Set to a reference to this object within initialize() var that = null; this.initialize = function () { that = this; // For ease of access. The socket.io object this.socket = this.get('socket'); this.applyEventHandlers(); ...
JavaScript
client/src/models/gateway.js
FroZnShiva/KiwiIRC
agpl-3.0
19,461
630
codeparrot/github-code
70999660a9b54dcdf7eae458acdb549b247c20f7e5699548643efd12e18f0539
/* * Copyright (C) 2005,2006,2007 MaNGOS <http://www.mangosproject.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...
C++
src/collision_tools/assembler/vmap/DebugCmdLogger.cpp
satanail/ArcTic-d
agpl-3.0
3,201
116
codeparrot/github-code
a06cee521d4bff34dcf312a4d690e0785d0ba81b32f71c925f44d7dde694b623
/* * PairedDataType.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modify *...
Java
src/dr/evolution/datatype/PairedDataType.java
armanbilge/BEAST_sandbox
lgpl-2.1
3,255
111
codeparrot/github-code
e87d1f8f601db825e17938272e09284bb263df075397c54c2d4ddd613b63638f
/*************************************************************************** * Copyright (c) 2006 Werner Mayer <wmayer[at]users.sourceforge.net> * * * * This file is part of the FreeCAD CAx development system. * * ...
C
src/Gui/ViewProviderGeometryObject.h
marcoitur/FreeCAD
lgpl-2.1
4,720
120
codeparrot/github-code
de0df5f2dea2f23de00e086499472a4e61fba9da9b363dcf1fe01ee749309b00
<?php namespace Rhymix\Framework\Filters; /** * The IP filter class. */ class IpFilter { /** * Check whether the given IP address belongs to a range. * * @param string $ip * @param string $range * @return bool */ public static function inRange($ip, $range) { // Determine the type of the IP address...
PHP
common/framework/filters/ipfilter.php
xetown/xe-core
lgpl-2.1
5,078
235
codeparrot/github-code
568eefef7dd02c14259cddbe71a2534a941b4c6eacd584a7851ec78c74f2f428
// @(#)root/smatrix:$Id$ // Authors: T. Glebe, L. Moneta 2005 #ifndef ROOT_Math_MatrixFunctions #define ROOT_Math_MatrixFunctions // ******************************************************************** // // source: // // type: source code // // created: 20. Mar 2001 // // author: Thorsten Glebe // ...
C
math/smatrix/inc/Math/MatrixFunctions.h
dawehner/root
lgpl-2.1
39,252
986
codeparrot/github-code
977e53a4087a37d4d9c62c345a483344a7f54841c1204c678ad609c7de2ee6b7
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */ /* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can ob...
C
avmplus/MMgc/GCStack-inlines.h
keyhom/avm2pluscc_avm2
unlicense
2,776
107
codeparrot/github-code
a5e4194d29ecbd8d5d17c5c363cfb5b9945f576067df9fdb677cff557e7504fa
// 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...
C++
src/zookeeper/zookeeper.cpp
craimbert/mesos
apache-2.0
17,320
711
codeparrot/github-code
79324e966e7b7359a1ae980b44919be9f1c0f6924c90a2f2bfc1fa2c84432ed8
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
GO
runtime/param.go
google/grumpy
apache-2.0
3,759
129
codeparrot/github-code
ef9b3fee62b53f16524554d7a824396848ad373b4ef2c2f3bc32eb72171cd0b2
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
Java
testing/src/main/java/io/crate/test/integration/NodeSettingsSource.java
sunny256/crate
apache-2.0
2,667
79
codeparrot/github-code
0f53532071fc3e2cfcb29db46914278ae7be9b5d03f04d225d446ddf5f38d532
/* * 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
dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HFaultData.java
Subasinghe/ode
apache-2.0
2,717
97
codeparrot/github-code
e7cd981963109220dab0bbd4f1af05e6d273931db47028adf3485e57deb3dcd8
/* $Id: tr.h,v 1.5 1997/07/21 17:34:07 brianp Exp $ */ /* * $Log: tr.h,v $ * Revision 1.5 1997/07/21 17:34:07 brianp * added tile borders, incremented version to 1.1 * * Revision 1.4 1997/07/21 15:47:35 brianp * renamed all "near" and "far" variables * * Revision 1.3 1997/04/26 21:23:25 brianp * adde...
C
tools/bonsaiRenderer/smoke/tr.h
treecode/Bonsai
apache-2.0
3,386
160
codeparrot/github-code
0c52996dc28bde48aa95fc6fedf5ceb21cfa860a1bc6a8d420801599497f9a86
/** * 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
kerby/kerby-download/kerby-all-1.0.0-RC1/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/Message.java
josegom/training
apache-2.0
1,385
44
codeparrot/github-code
cd3b1e1adfcaabcfe0d375ce52677ef9c4321007d8ff2b6571de2a1c4a196f72
/* * 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
nifi-nar-bundles/nifi-kudu-bundle/nifi-kudu-processors/src/test/java/org/apache/nifi/processors/kudu/ITPutKudu.java
trixpan/nifi
apache-2.0
9,373
210
codeparrot/github-code
24dba86c1b008a4b094526af2881e9cdd832648ee82173b87faa2b18751240ab
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
src/main/java/org/elasticsearch/search/fetch/source/FetchSourceContext.java
alexksikes/elasticsearch
apache-2.0
5,410
166
codeparrot/github-code
e471cde52333560c2849f7ccf649ae7309d9058871ae6b60312f661a2b10df74
=pod =head1 NAME SSL_SESSION_get0_ticket, SSL_SESSION_has_ticket, SSL_SESSION_get_ticket_lifetime_hint, - get details about the ticket associated with a session =head1 SYNOPSIS #include <openssl/ssl.h> int SSL_SESSION_has_ticket(const SSL_SESSION *s); unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL...
Perl
third_party/openssl/openssl/doc/ssl/SSL_SESSION_has_ticket.pod
openweave/openweave-core
apache-2.0
1,661
54
codeparrot/github-code
d0b7fac094d0576873feb0562b8eefba06fd407102767f89747b8372b8b0230b
/* 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 * distributed...
Java
modules/flowable-dmn-rest/src/main/java/org/flowable/rest/dmn/service/api/decision/DmnRuleServiceResponse.java
robsoncardosoti/flowable-engine
apache-2.0
1,389
48
codeparrot/github-code
a9ffbce299cb93cf0b11015f972ee46a81b2d4e9d3c79bc6bda785a733dcc192
/* * Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
Java
esb/org.wso2.developerstudio.eclipse.artifact.messagestore/src/org/wso2/developerstudio/eclipse/artifact/messagestore/provider/MessageStoreTypeList.java
splinter/developer-studio
apache-2.0
1,666
51
codeparrot/github-code
7444008d747e13e6f04d142136147dd75ac228694f4113c45d84e05e48bb93a8
/* * Copyright 2011 JBoss Inc * * 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 i...
Java
optaplanner-core/src/main/java/org/optaplanner/core/api/score/buildin/hardsoftlong/HardSoftLongScore.java
codeaudit/optaplanner
apache-2.0
6,071
164
codeparrot/github-code
26fa62cfac812aade72cb46383de20c022509963d4e66a90db66debdc7267b73
/** * 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
ru.vm.labs.mq/apache-activemq-5.12/examples/openwire/advanced-scenarios/jms-example-durable-sub/src/main/java/example/topic/durable/Subscriber.java
vmoshkov/labs
apache-2.0
3,455
97
codeparrot/github-code
66ca8f08060092fa360377c4a6ef84b1899db72a082d421225f0103b3a1fa388
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
Java
saml-core/src/main/java/org/keycloak/saml/common/util/StaxParserUtil.java
ppolavar/keycloak
apache-2.0
16,588
536
codeparrot/github-code
bb6d8608c2aba95f606f454642b13619d6dba3b14bf0c0b79be1728c5d2eb676
/* * Copyright 2004, 2005, 2006 Acegi Technology Pty Limited * * 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 b...
Java
ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsMapper.java
thomasdarimont/spring-security
apache-2.0
6,484
199
codeparrot/github-code
de8ab80e9a4a384ea5b13cdad7eb762f297eac5d4aa8dc13250a515354ab619b
######################################################################## # # Linux on Hyper-V and Azure Test Code, ver. 1.0.0 # 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 Licen...
PowerShell
WS2012R2/lisa/setupscripts/SR-IOV_Host_Disable.ps1
ilenghel/lis-test
apache-2.0
9,221
290
codeparrot/github-code
c3862c8aeed1726cfc11a1f318cb0ea671873b57a86447588f21a4eccc1b4606
/* * Copyright (c) 2012-2015 S-Core Co., Ltd. * * 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...
JavaScript
common/src/webida/plugins/git/gitview-log.js
leechwin/webida-client
apache-2.0
4,932
155
codeparrot/github-code
e823130ef06d977b4cae0667a62b0057b2eefa42adbe39bdc94202ad2f4ab5aa
/* * 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 ...
JavaScript
modules/web-console/backend/services/downloads.js
ilantukh/ignite
apache-2.0
3,894
94
codeparrot/github-code
cae30fdb66376374e72735b67cdbfbea03e4cffc238d85d24d8b3d22d715741f
/* * Copyright 2004,2005 The Apache Software Foundation. * * 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 ap...
Java
modules/rampart-policy/src/main/java/org/apache/ws/secpolicy/model/Token.java
wso2/wso2-rampart
apache-2.0
2,632
91
codeparrot/github-code
80c36ae0d30fbbbd224360daf2b0cf6c1dc4dc53feab7176ba403dc7d08963a5
/* * 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 * "Licen...
Java
phoenix-pherf/src/test/java/org/apache/phoenix/pherf/RuleGeneratorTest.java
shehzaadn/phoenix
apache-2.0
14,829
335
codeparrot/github-code
5f6a6c4aaecbb46563fed2f53aac6f054b5fcc26e9d0abbb299b733c4a38786f
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/main/java/org/elasticsearch/search/aggregations/metrics/cardinality/CardinalityAggregatorBuilder.java
jbertouch/elasticsearch
apache-2.0
5,016
124
codeparrot/github-code
9f069cc91b3689c0dbe6dde907c73179e8f1802764b541a261840554db6e22bc
/* * 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
components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaTransferExchangeOptionTest.java
tadayosi/camel
apache-2.0
6,076
140
codeparrot/github-code
6afac4e15b8c37fcdfced47c89fea3a2fb68a4bdbfca4e3369c98f776eaa7679
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; namespace CodeCracker.CSharp.Usage { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class RemoveRedundantElseClauseAna...
C#
src/CSharp/CodeCracker/Usage/RemoveRedundantElseClauseAnalyzer.cs
dmgandini/code-cracker
apache-2.0
2,002
44
codeparrot/github-code
f633d2a258178bef16b518ca04074e2ab494efe75fe3130a8b3d52988b6a16f2
/* Custom Google Test assertions. Copyright (c) 2012-2014, Victor Zverovich All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notic...
C
test/gtest-extra.h
lightslife/cppformat
bsd-2-clause
6,716
182
codeparrot/github-code
9149a40c43d9e6b8b576f50aaf398ff30644b8d905f6eba2431183f2968721ac
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="Asciidoctor 1.5.2"> <title>git-submodule(1)</title> <link rel="style...
HTML
assets/PortableGit/mingw32/share/doc/git-doc/git-submodule.html
jlord/git-it-electron
bsd-2-clause
52,752
904
codeparrot/github-code
caaeecaaf343c172aa6ef4f3bb4543a9657efe11bafec57ed9584627ca611000
/* ** Copyright 1998-2003 University of Illinois Board of Trustees ** Copyright 1998-2003 Mark D. Roth ** All rights reserved. ** ** output.c - libtar code to print out tar header blocks ** ** Mark D. Roth <roth@uiuc.edu> ** Campus Information Technologies and Educational Services ** University of Illinois at Ur...
C
tools/cmake/src/Utilities/cmtar/output.c
Multi2Sim/m2s-bench-parsec-3.0-src
bsd-3-clause
4,043
152
codeparrot/github-code
214737795a8a813a379669e89eba75957fa0d96018795eb41536a16749165cce
////////////////////////////////////////////////////////////////////////////// // // License Agreement: // // The following are Copyright © 2007, Casey Langen // // Sources and Binaries of: win32cpp // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modifi...
C++
src/win32cpp/Application.cpp
bianliu1013/musikcube
bsd-3-clause
8,318
281
codeparrot/github-code