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 |
|---|---|---|---|---|---|---|---|---|
e22b84a58fa8fe58cc4ac86db3f47301407f24544925c9ce99d8e9d399608121 | +function (global, $) {
'use strict';
var position = 0, zIndex = 0;
var SlidePanel = function(element, options) {
this.init(element, options);
};
SlidePanel.DEFAULTS = {
overlayClass: 'overlay',
bodyClass: 'body',
dirClass: 'left-panel',
wrapperClass: 'wrapper',
slideInClass: 'slide... | JavaScript | src/js/slidepanel.js | KirubanP/paper | mit | 2,369 | 92 | codeparrot/github-code |
68e7394af2a834a53c437224c5ae9c3d9df72bc3df4cb6490d8b73bef8883c12 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
(function(global) {
global... | JavaScript | packages/common/locales/global/pt-PT.js | wKoza/angular | mit | 2,520 | 83 | codeparrot/github-code |
84b8cf4c830bc650d55555cf50f2a09de2a6e3442d1e3a83bb002f9b87aeee7a | # -*- coding: ibm850 -*-
template_typed = """
#ifdef TYPED_METHOD_BIND
template<class T $ifret ,class R$ $ifargs ,$ $arg, class P@$>
class MethodBind$argc$$ifret R$$ifconst C$ : public MethodBind {
public:
$ifret R$ $ifnoret void$ (T::*method)($arg, P@$) $ifconst const$;
#ifdef DEBUG_METHODS_ENABLED
virtual Variant... | Python | core/make_binders.py | Paulloz/godot | mit | 12,675 | 391 | codeparrot/github-code |
9dc761e171b230355cf37de46141009be5f9d8cf2f4d2757df737481de3d3956 | <!DOCTYPE html>
<html>
<head>
<title>Javascript Tetris</title>
<style>
body { font-family: Helvetica, sans-serif; }
#tetris { margin: 1em auto; padding: 1em; border: 4px solid black; border-radius: 10px; background-color: #F8F8F8; }
#stats { display: inline-block; vertical-align: top; }
#c... | HTML | index.html | prd409/github-games | mit | 17,884 | 450 | codeparrot/github-code |
5139b6f2c354dc91e238b5d0dca858f8999ea652da0f423b77d42f04358d71f2 | # Copyright (c) 2010 RightScale 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, merge, publish,
# di... | PowerShell | cookbooks/db_sqlserver/powershell_providers/database/restore.ps1 | rightscale/cookbooks_public_windows | mit | 5,646 | 150 | codeparrot/github-code |
65c92010fd90726c4bc5687e6ec56bf24c16a58198f2e48a27a2d097385f730b | /*++
/* NAME
/* postmulti 1
/* SUMMARY
/* Postfix multi-instance manager
/* SYNOPSIS
/* .fi
/* \fBENABLING MULTI-INSTANCE MANAGEMENT:\fR
/*
/* \fBpostmulti\fR \fB-e init\fR [\fB-v\fR]
/*
/* \fBITERATOR MODE:\fR
/*
/* \fBpostmulti\fR \fB-l\fR [\fB-aRv\fR] [\fB-g \fIgroup\fR]
/* [\fB-i \fIname\fR]
/*
/* \fBpostmulti\fR \... | C | src/postmulti/postmulti.c | xushiwei/postfix | epl-1.0 | 58,166 | 1,807 | codeparrot/github-code |
95b20472f1946f47ebc96770d442a16324f548cc98f3c8bbf688a49cfdc1fefd | package junit.samples;
import java.util.ArrayList;
import java.util.List;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* A sample test case, testing {@link java.util.ArrayList}.
*/
public class ListTest extends TestCase {
private List<Integer> emptyList;
... | Java | src/test/java/junit/samples/ListTest.java | junit-team/junit | epl-1.0 | 1,625 | 67 | codeparrot/github-code |
64c41509cd8c83f2604b824fc0b63404da11a5047a2461ec86def2b8129e69d7 | // license:BSD-3-Clause
// copyright-holders:Curt Coder
/***************************************************************************
Zilog Z80 Parallel Input/Output Controller implementation
***************************************************************************/
/*
TODO:
- if port A is bidirection... | C++ | src/devices/machine/z80pio.cpp | h0tw1r3/mame | gpl-2.0 | 18,465 | 810 | codeparrot/github-code |
4ef9aed5477a05dc0b51293f42d92b7d1d2986ccf2e9a93f4805c67abd8fe3e7 | /**
* Copyright (C) 2012-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | Java | core/api/src/main/java/org/n52/sos/encode/XmlEncoderKey.java | impulze/newSOS | gpl-2.0 | 3,008 | 92 | codeparrot/github-code |
1a9c4903198b0c69947f5848cd72aaaa4c6ac215aec1f467c414d16637550d27 | <?php
/**
* File containing the eZNotificationCollection 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 eZNotificationCollection eznotification... | PHP | kernel/classes/notification/eznotificationcollection.php | crevillo/ezc | gpl-2.0 | 8,092 | 168 | codeparrot/github-code |
53f2f6e263441999bcd367433858c4d4bd4abfecd30c748f66ec412c3de185f4 | <?php
namespace PayPal\Api;
use PayPal\Core\PayPalConstants;
use PayPal\Rest\ApiContext;
class OpenIdSession
{
/**
* Returns the PayPal URL to which the user must be redirected to
* start the authentication / authorization process.
*
* @param string $redirectUri Uri on merchant website... | PHP | wp-content/plugins/realia/libraries/PayPal-PHP-SDK/lib/PayPal/Api/OpenIdSession.php | jhonrsalcedo/sitio | gpl-2.0 | 3,740 | 106 | codeparrot/github-code |
6eefef5e332346e5228469f0baf3ac2fc2a00384bdaeafd5e7d85a44268e9f9e | /*
* max77xxx.h - Voltage regulator driver for the Maxim 77686
*
* Copyright (C) 2012 Samsung Electrnoics
* Chiwoong Byun <woong.byun@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software... | C | include/linux/mfd/max77xxx-private.h | exynos-reference/kernel | gpl-2.0 | 12,052 | 431 | codeparrot/github-code |
d9fe570ed8affbe0475caaeaf90918e50f6423a2a493775fd280151415a04367 | /*
linear.c : Multiple Devices driver for Linux
Copyright (C) 1994-96 Marc ZYNGIER
<zyngier@ufr-info-p7.ibp.fr> or
<maz@gloups.fdn.fr>
Linear mode management functions.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Li... | C | drivers/md/linear.c | katuma/openvz-kernel | gpl-2.0 | 9,677 | 389 | codeparrot/github-code |
6d43a547d28fe460b103c06b76533c65322f5166742259f35242b0f3119a7f00 | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.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 ve... | C++ | src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp | timothystewart6/BotsPlusPlus | gpl-2.0 | 28,060 | 780 | codeparrot/github-code |
cd83b6578d8284dd42af0099cebf173bc2d278b93155cbbed52317e67a97acc4 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | C++ | src/server/game/Server/Protocol/Handlers/GroupHandler.cpp | Laniax/Project-Extinct | gpl-2.0 | 30,936 | 999 | codeparrot/github-code |
9cab6ee529f10a59ec6a516170910f43daf230beff0819721140d59967ed906e | /* Copyright (c) 2009-2011, Code Aurora Forum. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | arch/arm/mach-msm/socinfo.c | hroark13/WARP_KERNEL_26357 | gpl-2.0 | 13,398 | 594 | codeparrot/github-code |
9eacbd76bedfb964d1e92a3a9f150730eef8bd8ce9bf4b19126b142a786fd436 | /*
* DEBUG: section 47 Store COSS Directory Routines
* AUTHOR: Eric Stern
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
* Squid is the result of efforts by numerous individuals from
* the Internet community; see the CONTRIBUTOR... | C++ | src/fs/coss/store_dir_coss.cc | dellelce/squid | gpl-2.0 | 33,092 | 1,204 | codeparrot/github-code |
3d551fcddab4e1738ecf33b4b6100d43fd4494eeda2ac278ed0691c7059ba9e5 | using Twitterizer;
using NUnit.Framework;
namespace Twitterizer2.TestCases
{
[TestFixture]
public class TwitterFriendshipTests
{
[Ignore("Tests that POST or DELETE should be tested one at a time.")]
[Category("Read-Write")]
[Category("Friendship")]
[Test]
... | C# | lib/Twitterizer/Twitterizer2.TestCases/TwitterFriendshipTests.cs | meebey/smuxi-head-mirror | gpl-2.0 | 2,068 | 60 | codeparrot/github-code |
393978b7262f45ef40d195dd659b22fe7296de8bcf6aa26937c2f386068709a3 | /*
* PE file resources
*
* Copyright 1995 Thomas Sandford
* Copyright 1996 Martin von Loewis
* Copyright 2003 Alexandre Julliard
* Copyright 1993 Robert J. Amstadt
* Copyright 1997 Marcus Meissner
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser G... | C | third-party/reactos/sdk/lib/rtl/res.c | GreenteaOS/Kernel | gpl-2.0 | 16,923 | 502 | codeparrot/github-code |
a4be1b9c20fa8daf1f32403396319eb2c14c1391dc00bba45197a3df7ee5fa95 | <?php
/*
Plugin Name: All in One SEO Pack
Plugin URI: http://semperfiwebdesign.com
Description: Out-of-the-box SEO for your WordPress blog. <a href="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version">... | PHP | wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php | StarGroup/lauletta | gpl-2.0 | 5,200 | 121 | codeparrot/github-code |
3d29ff8bf779c177775abb5a3ed92116f8bcf7f4a31679b2a5733f7d5b5a77ad | #include <string>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "clang_output_parser_api.h"
char *loadFile(const char *fileName)
{
FILE *fp;
long len;
char *buf = NULL;
fp = fopen(fileName, "rb");
if (!fp) {
printf("failed to open file 'test.txt': %s\n", strerror(errno));
return NULL;
... | C++ | ClangOutputParser/main.cpp | eranif/codelite | gpl-2.0 | 1,287 | 60 | codeparrot/github-code |
df36f05b0b044525e387e0f2d290a98b8195fa09a4eaa6cbc7d5a8b9843ae4c2 | <html lang="en">
<head>
<title>Insn Splitting - GNU Compiler Collection (GCC) Internals</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Compiler Collection (GCC) Internals">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#T... | HTML | toolchain/arm_cm0_deprecated/share/doc/gcc-arm-none-eabi/html/gccint/Insn-Splitting.html | jocelynmass/nrf51 | gpl-2.0 | 13,610 | 272 | codeparrot/github-code |
9b9826061827a3290c5938305ab25b179612f7a76018a3f97f5fdd5714f6a76a | /* main.c --- main function for stand-alone RL78 simulator.
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of the GNU simulators.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | C | sim/rl78/main.c | totalspectrum/binutils-propeller | gpl-2.0 | 3,908 | 191 | codeparrot/github-code |
2d5e740db5562432fd6112e8f6f2b26fd21a70ca6fb4e3ee0f7a4bfa5bbdf8f8 | /*
* Copyright (c) 2011, 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 | jdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/calc/IntegerBelowNode.java | YouDiSN/OpenJDK-Research | gpl-2.0 | 8,477 | 194 | codeparrot/github-code |
1eb3c648d31d88997a04ec13bb2c1be8e10545776b25c0f4092b505f7c3fd8b1 | /*
Copyright (C) 2012 ABRT team
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.
This program is distributed in th... | C | src/dbus/abrt-polkit.h | martinky82/abrt | gpl-2.0 | 1,382 | 40 | codeparrot/github-code |
9940bafce6a51ffe1e98b90cb933858aaa8a302896918339f64ea302f8fb9ec6 | /*============================================================================
CMake - Cross Platform Makefile Generator
Copyright 2000-2009 Kitware, Inc.
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This software is distributed WITHOUT ANY... | C | vlc/extras/tools/cmake/Source/CPack/cmCPackTGZGenerator.h | DDTChen/CookieVLC | gpl-2.0 | 1,034 | 36 | codeparrot/github-code |
a6f93c697d987707029571e32bfa3cacfb0a8e5ed627de8af17758b959d1a15d | /*
* Copyright (C) 2011,2012 by Jonathan Naylor G4KLX
*
* 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 ver... | C++ | Digital Voice/Common/DVRPTRControllerV1.cpp | hgraves/My_DVMega | gpl-2.0 | 19,820 | 876 | codeparrot/github-code |
7c95c6e8dc68b8148be90aafb5e70e94fff281b5740ddc8a2abb846a5d2688a5 | #ifndef __MEDIA_INFO_H__
#define __MEDIA_INFO_H__
#ifndef MSM_MEDIA_ALIGN
#define MSM_MEDIA_ALIGN(__sz, __align) (((__sz) + (__align-1)) & (~(__align-1)))
#endif
enum color_fmts {
/* Venus NV12:
* YUV 4:2:0 image with a plane of 8 bit Y samples followed
* by an interleaved U/V plane containing 8 bit 2x2 subsampl... | C | kernel/user/usr/include/media/msm_media_info.h | worksnk/android_device_xiaomi_cancro | gpl-2.0 | 5,277 | 189 | codeparrot/github-code |
b1513b6499687c59406adac6292f9462ea744566958158236f775d514348ec72 | /* 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++ | backends/graphics/gph/gph-graphics.cpp | mikeconley/emscripten-scummvm | gpl-2.0 | 15,271 | 563 | codeparrot/github-code |
6e027118b87adbb949d7aa1f20a5ebac30f2761767737847e570d6eccfdc6d96 | // Debugging support -*- C++ -*-
// Copyright (C) 2013-2017 Free Software Foundation, Inc.
//
// 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, or (at ... | C++ | libstdc++-v3/src/c++11/snprintf_lite.cc | krichter722/gcc | gpl-2.0 | 4,772 | 160 | codeparrot/github-code |
a7443135fb7fb8bde57f7cb5a07bc4d16d6577f922c3b0c441f7c35ab5a92485 | <?php
// File Security Check
if ( ! defined( 'ABSPATH' ) ) { exit; }
class DT_Shortcode_Fancy_Title extends DT_Shortcode {
static protected $instance;
static protected $num = 0;
protected $plugin_name = 'dt_mce_plugin_dt_fancy_title';
public static function get_instance() {
if ( !self::$instance ) {
self:... | PHP | wp-content/themes/publioriente/inc/shortcodes/includes/fancy-titles-vc/functions.php | dacunaco/publioriente | gpl-2.0 | 4,732 | 163 | codeparrot/github-code |
1311fea9b7577bca0da4ed1de1f99579d848f855d110f9de03a81a39b14606d5 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Universal Resource Locator (URL).
"""
__license__ = """
GoLismero 2.0 - The web knife - Copyright (C) 2011-2014
Golismero project site: https://github.com/golismero
Golismero project mail: contact@golismero-project.com
This program is free software; you can redistri... | Python | golismero/api/data/resource/url.py | golismero/golismero | gpl-2.0 | 15,148 | 518 | codeparrot/github-code |
dae349cffabfaf04c07cbee0145aa50f38ee0817fa8ba5ebc334b9c6948d1e50 | /* TUI display source/assembly window.
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2007, 2008
Free Software Foundation, Inc.
Contributed by Hewlett-Packard Company.
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 Ge... | C | user/gdb/gdb/tui/tui-winsource.h | rhuitl/uClinux | gpl-2.0 | 3,038 | 81 | codeparrot/github-code |
72c9cacc6034dcf7cc30b78eac4a318fa454db309958dc02db4af3eb4d9119b1 | //____________________________________________________________________________
/*!
\namespace genie::utils::gui
\brief Simple utilities for GENIE Graphical User Interface widgets
\author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
University of Liverpool & STFC Rutherford Appleton ... | C | src/Utils/GUIUtils.h | rishimouland/GENIE_NCGamma | gpl-3.0 | 1,754 | 56 | codeparrot/github-code |
e802f539447ca9408b6d102e58bb23b7482eba1f420b4e0481e7a2e3c91a61dc | /* packet-opsi.c
* Routines for OPSI protocol dissection
* Copyright 2004, Laurent Rabret (France Telecom R&D) <laurent.rabret@i.hate.spams.org>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute... | C | utilities/wireshark/epan/dissectors/packet-opsi.c | FabianKnapp/nexmon | gpl-3.0 | 32,629 | 900 | codeparrot/github-code |
847b8e5ddc2fa4bf24b346a640779ca28f91bb36f015848e2f65a86663fc643e | // /***************************************************************************
// * WaveFile.cs
// * Copyright (c) 2015 the authors.
// *
// * All rights reserved. This program and the accompanying materials
// * are made available under the terms of the GNU Lesser General Public License
// * (LGPL) version 3 w... | C# | dev/Core/Audio/MP3Sharp/IO/WaveFile.cs | HankTheDrunk/UltimaXNA | gpl-3.0 | 10,288 | 300 | codeparrot/github-code |
9952331f1c01f5354e5193fc2bf0b45857468a8c954f9a48557dee4932c1e861 | #pragma once
#ifndef BUFFEREDASYNCSERIAL_H
#define BUFFEREDASYNCSERIAL_H
#include "ASyncSerial.h"
#include "RFXBase.h"
#include "serial/serial.h"
class RFXComSerial: public CRFXBase, AsyncSerial
{
public:
RFXComSerial(const int ID, const std::string& devname, unsigned int baud_rate, const _eRFXAsyncType AsyncType);
... | C | hardware/RFXComSerial.h | jjalling/domoticz | gpl-3.0 | 1,491 | 47 | codeparrot/github-code |
d34f773b37a422bb27e3943f45ce90cd957c87a888bd814dbb83132fa99a87ff | <?php
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC 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 ... | PHP | html/user/am_get_info.php | maexlich/boinc-igemathome | gpl-3.0 | 2,073 | 76 | codeparrot/github-code |
0a7c9c27b87bd7dbf96c2d3c93021e49cf286866655566c0ba5d24b7fd64e740 | /*
* DXA demuxer
* Copyright (c) 2007 Konstantin Shishkov
*
* 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... | C | server/ffmpeg/linux/libavformat/dxa.c | OshinKaramian/jsmc | gpl-3.0 | 7,375 | 237 | codeparrot/github-code |
baedb8abd385b3f0bb5d5bea805f962f32dcc30db8eb575d20f83824588f265d | /*
Copyright (C) 2010,2011,2012,2013,2014,2015,2016 The ESPResSo project
Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
Max-Planck-Institute for Polymer Research, Theory Group
This file is part of ESPResSo.
ESPResSo is free software: you can redistribute it and/or modify
it under the te... | C++ | src/core/statistics_fluid.cpp | dschwoerer/espresso | gpl-3.0 | 9,314 | 320 | codeparrot/github-code |
5ffff2b6279dc3f0cbfe5b591a161ebd211b2111311ed71888bd33ab4fda8938 | /*
* Copyright (C) 2006 The Android Open Source Project
*
* 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 app... | Java | android-2.3.4_r1/tags/1.32/frameworks/base/media/java/android/media/Ringtone.java | mateor/pdroid | gpl-3.0 | 7,775 | 252 | codeparrot/github-code |
76631ea0fbaf6a4a8bf09a0e9ae8b80672fb528257a29750fdd9e0bcc7f2f19e | package org.whispersystems.signalservice.api.storage;
import org.whispersystems.libsignal.InvalidKeyException;
import org.whispersystems.signalservice.internal.util.Util;
import java.security.InvalidAlgorithmParameterException;
import java.security.NoSuchAlgorithmException;
import javax.crypto.BadPaddingException;
i... | Java | service/src/main/java/org/whispersystems/signalservice/api/storage/SignalStorageCipher.java | Turasa/libsignal-service-java | gpl-3.0 | 2,085 | 53 | codeparrot/github-code |
231773406d27a2c41104fbbd869b688c6424fd9198b87e122ba4e90647ca8932 | /* Test whether a file has a nontrivial ACL. -*- coding: utf-8 -*-
Copyright (C) 2002-2003, 2005-2017 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; eith... | C | lib/acl-internal.c | ljos/remacs | gpl-3.0 | 15,393 | 508 | codeparrot/github-code |
7b693173d4e1072cf68ba46fdb075e138139879147000786a1f7cf63f93033e3 | /*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be usefu... | C++ | libraries/AP_HAL_FLYMAPLE/HAL_FLYMAPLE_Class.cpp | guludo/ardupilot-1 | gpl-3.0 | 3,154 | 105 | codeparrot/github-code |
f6435d1e1c07a8dbeb1508d7feec8a42678ce73b8a8d621a62f857b7de62485b | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
\\/ M anipulation |
-------------... | C++ | src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/ArrheniusViscosity/ArrheniusViscosity.C | OpenFOAM/OpenFOAM-3.0.x | gpl-3.0 | 2,751 | 94 | codeparrot/github-code |
b3cf6360c69fd7f3c5029d71b31dbf411a69b16bc73a64388a966d7a13dade2d | #!powershell
# Copyright: (c) 2017, Dag Wieers (dagwieers) <dag@wieers.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#AnsibleRequires -CSharpUtil Ansible.Basic
# This modules does not accept any options
$spec = @{
supports_check_mode = $true
}
$module = [Ansib... | PowerShell | lib/ansible/modules/windows/win_product_facts.ps1 | veger/ansible | gpl-3.0 | 1,902 | 66 | codeparrot/github-code |
677ecfd19986b8e49b2559011df19a0efb6f63102fa43f90f871a26297e10260 | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe, erpnext
from frappe.utils import cint, formatdate, flt, getdate
from frappe import _, throw
import frappe.defaults
from erpnext.controll... | Python | erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py | emakis/erpnext | gpl-3.0 | 26,853 | 688 | codeparrot/github-code |
739bec6f55eed4a3395e7eb9af96541747e58532b9f678f8a9e319eb12ac8b74 | import bunyan from 'bunyan';
/**
* @param {Object} config Logger configuration
*/
export default function logger (config) {
const bunyanConfig = [];
for (const level in config.levels) {
const bunyanLevel = config.levels[level];
if (!bunyanLevel) continue;
if (level === 'debug' && config.level !== '... | JavaScript | swagger-codegen/api-gen/search/src/lib/logger.js | ArmRay/Arm_Ray_App | gpl-3.0 | 736 | 32 | codeparrot/github-code |
d86308452d7825bd0a2ac52339a11d6cf4d07a999abca8e11e779ea6c8421fea | /*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 app... | C | external/neven/Embedded/common/src/b_TensorEm/Flt16Vec.c | s20121035/rk3288_android5.1_repo | gpl-3.0 | 15,138 | 487 | codeparrot/github-code |
f385f043e1ed3c52e4de0de818ec0e897fd69c8220cac672660a7d178ece7dcb | #include "genericsettings.h"
#include <QCheckBox>
#include <QComboBox>
#include <QEvent>
#include <QSpinBox>
/**
* @class GenericForm
*
* This is abstract class used as superclass for all settings forms.
* It provides correct behaviour of controls for settings forms.
*/
GenericForm::GenericForm(const QPixmap &i... | C++ | src/widget/form/settings/genericsettings.cpp | ovalseven8/qTox | gpl-3.0 | 1,739 | 70 | codeparrot/github-code |
f15c66a48a94d191271c3da57722ea29d1954fa0e6677af815cee86e65485111 | /*
Copyright © 2014-2016 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 versi... | C++ | src/widget/form/settings/userinterfaceform.cpp | Grokafar/qTox | gpl-3.0 | 11,676 | 352 | codeparrot/github-code |
ced76f6630c15beb9f4cf596659c8787443bf5bba84096d8256257164653dffa | <?php
/**
* Shopware 4
* Copyright © shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permis... | PHP | engine/Shopware/Controllers/Backend/Widgets.php | buddhaCode/shopware | agpl-3.0 | 25,314 | 725 | codeparrot/github-code |
11b4117c1c42e7ee7d1b051b532a84bce577f35414e9bb27a423c4a681a8033f | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2012 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | Java | src/Extensions/org/objectweb/proactive/extensions/pnp/PNPRemoteObject.java | jrochas/scale-proactive | agpl-3.0 | 4,156 | 111 | codeparrot/github-code |
f2cc5d7baed4fe7ebe83bbdd0ba59cba297d4d8afc45df25ccc6d11e3bd05582 | /***************************************************************************
* Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2002 *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | C++ | src/Mod/Raytracing/App/RayFeature.cpp | bblacey/FreeCAD-MacOS-CI | lgpl-2.1 | 3,927 | 92 | codeparrot/github-code |
4df5bb031da589f56c02b5856a3eb5f5eed26d20e583dc6d863fb8f8f3b1ae45 | /* -*- C++ -*- */
/*************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
#include <list>
template<class T> ... | C | cint/test/t995.h | krafczyk/root-5.34.09-ams | lgpl-2.1 | 746 | 33 | codeparrot/github-code |
65003ea0867f8036d50db01cb2b3c71834c7fce7e7e2740112b550b79a019fb4 | /* Copyright (C) 2006 Imperial College London and others.
Please see the AUTHORS file in the main source directory for a full list
of copyright holders.
Prof. C Pain
Applied Modelling and Computation Group
Department of Earth Science and Engineering
Imperial College London
amcgsoftwa... | C | include/Node_Owner_Finder.h | rjferrier/fluidity | lgpl-2.1 | 3,637 | 109 | codeparrot/github-code |
5f8ea7fdf63ecba388088ad496d98b0ca49ce1f7fdfc5949f6f635566e54a022 | #include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "stats.h"
#include "collect.h"
#include "trace.h"
#define KEYS \
X(dentry_use, "", "number of directory entries in use"), \
X(file_use, "", "number of file handles in use"), \
X(inode_use, "", "number of inodes in use")
stat... | C | tacc_stats/src/monitor/vfs.c | aaichsmn/tacc_stats | lgpl-2.1 | 2,678 | 81 | codeparrot/github-code |
721c11763841b218d62c347c63d6d04b9a15968f2e05fb168fbcd575941d00d1 | #!/usr/bin/env python
import traceback
import os
import re
import sys
if __name__ != "__main__": # we're imported as a module
_registered = []
_tests = 0
_fails = 0
def wvtest(func):
""" Use this decorator (@wvtest) in front of any function you want to run
as part of the unit tes... | Python | wvtest.py | Zearin/git-bup | lgpl-2.1 | 5,331 | 155 | codeparrot/github-code |
3ad6ee12dec70f04b0c44d4940955b11a5197a6c8ec4d362d3eac12b7ac39b5a | /* -*- C++ -*- */
/************************************************************************
*
* Copyright(c) 1995~2006 Masaharu Goto (root-cint@cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
/*
*
* Copyright (c) 1994
* He... | C | cint/cint/stl/tree.h | strykejern/TTreeReader | lgpl-2.1 | 32,236 | 925 | codeparrot/github-code |
568a708f44a497947de9de2c036d2a3343563a43869f218a56c3b166af9c2f00 | /**
*
* Phantom OS
*
* Copyright (C) 2005-2011 Dmitry Zavalishin, dz@dz.ru
*
* Arm PL031 RTC driver.
*
**/
#define DEBUG_MSG_PREFIX "pl031.rtc"
#include <debug_ext.h>
#define debug_level_flow 10
#define debug_level_error 10
#define debug_level_info 10
#include <kernel/driver.h>
#include <k... | C | phantom/dev/arm/mem_pl031_rtc.c | eimrine/phantomuserland | lgpl-3.0 | 3,060 | 173 | codeparrot/github-code |
a2384e41eee399af980948e2aeb5316324a4407ea3149eab3ef7d8460d72a2be | /**
* 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/domain/Teacher.java | jcarvalho/fenixedu-academic | lgpl-3.0 | 17,291 | 430 | codeparrot/github-code |
7e446f8044fbaf25a8230e3fc296b2f5ab5dc565b99cceaee22c126bfec67c33 | /*
* Copyright 2015 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 ... | Java | jbpm-test-coverage/src/main/java/org/jbpm/test/wih/InformWorkItemHandler.java | Salaboy/jbpm | apache-2.0 | 2,264 | 73 | codeparrot/github-code |
eab77618644463392a09af1b99332409de7fe05ea4871e9ae2e224f757ea884b | /**
* MVEL 2.0
* Copyright (C) 2007 The Codehaus
* Mike Brock, Dhanji Prasanna, John Graham, Mark Proctor
*
* 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... | Java | src/main/java/org/mvel2/compiler/ExecutableAccessorSafe.java | Fantast/mvel | apache-2.0 | 2,536 | 100 | codeparrot/github-code |
6dc0c9626a2ef0422934d6cf12a741bee1e51b79cf691576b8b9c4785427d863 | //========================================================================
//
// File: MCNature.java
//
// Copyright 2005-2014 Mentor Graphics Corporation. All rights reserved.
//
//========================================================================
//
package org.xtuml.bp.mc.none;
import org.eclipse.co... | Java | src/org.xtuml.bp.mc.none/src/org/xtuml/bp/mc/none/MCNature.java | jason-rhodes/bridgepoint | apache-2.0 | 1,758 | 64 | codeparrot/github-code |
7ae65934bcf89c9253a7aa7f8dcee7572106f63ddfb73e84f19630622113d254 | /*
* 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/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsFragmentizerManager.java | leveyj/ignite | apache-2.0 | 30,979 | 803 | codeparrot/github-code |
044044c3c89cb1ef8f3160dcc253acdea189d2e4a59833fb53209aa41ab4c955 | /*
* 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 | plugins/lang-plan-a/src/test/java/org/elasticsearch/plan/a/NoSemiColonTest.java | martinstuga/elasticsearch | apache-2.0 | 8,579 | 179 | codeparrot/github-code |
c155c974b111126534af2457b156d5c358c50e43c5207583178150e4cbc79808 | /*
* Copyright 2012-2016 the original author or authors.
*
* 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 | web/src/main/java/org/springframework/security/web/csrf/LazyCsrfTokenRepository.java | ollie314/spring-security | apache-2.0 | 5,264 | 187 | codeparrot/github-code |
83fa82b8828703107022ce6aec67d72feddaaeeadf1bf3b20d5edc741fa004a5 | /*
Copyright 2014 The Kubernetes Authors.
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, ... | GO | pkg/kubectl/cmd/run/run.go | mattjmcnaughton/kubernetes | apache-2.0 | 24,952 | 699 | codeparrot/github-code |
d8c2f4141801a3520d729ad738505c01fea79cbd946463842e208287b9c10f15 | /*
* 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 not ... | Java | geode-core/src/distributedTest/java/org/apache/geode/distributed/MyAuthenticator.java | masaki-yamakawa/geode | apache-2.0 | 1,820 | 53 | codeparrot/github-code |
e1f881b4868066228870565974f4fe28ab34cf743d2cbaab5e7c58efd901c8f7 | /* Copyright 2007-2016 QReal Research Group
*
* 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... | C | qrgui/plugins/pluginManager/sdfRenderer.h | RomanBelkov/qreal | apache-2.0 | 4,510 | 160 | codeparrot/github-code |
696a165327738357c30d77a57a5c1e571734e107aa2144460412b3f66110c28f | /*
* 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 | gobblin-core/src/main/java/gobblin/source/extractor/utils/InputStreamCSVReader.java | ydai1124/gobblin-1 | apache-2.0 | 8,059 | 263 | codeparrot/github-code |
98f8cda65265bb265732bb91321a7a763a2c877dee8da94ca9519df00aadeb03 | #
# 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 not us... | Python | sdks/python/apache_beam/utils/annotations.py | lukecwik/incubator-beam | apache-2.0 | 5,756 | 165 | codeparrot/github-code |
33ee8fedb2dd00777e869267e5dbcf9ea4028fea2e5d9b2ec2bbecf7dfaed506 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.idp.saml.sp;
import org.elasticse... | Java | x-pack/plugin/identity-provider/src/main/java/org/elasticsearch/xpack/idp/saml/sp/WildcardServiceProvider.java | robin13/elasticsearch | apache-2.0 | 8,396 | 200 | codeparrot/github-code |
b3297c0bfafbacd033905689629835842d0d51e30760262f4be97498378b5e03 | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* 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 agre... | Java | platform/lang-impl/src/com/intellij/ide/fileTemplates/impl/FileTemplateTabAsList.java | android-ia/platform_tools_idea | apache-2.0 | 4,993 | 166 | codeparrot/github-code |
e6a7d042bba6435b5bf3a8668501a10c1e9a474ef57dfb3fe9a6fc3056811816 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | Java | server/src/test/java/org/elasticsearch/index/mapper/PathMatchDynamicTemplateTests.java | robin13/elasticsearch | apache-2.0 | 2,477 | 55 | codeparrot/github-code |
eeed82452f7703df07aeae1763cd5ae5c2643d287aa17b4105954d871f4ab75b | #include "track_analyzing/track.hpp"
#include "track_analyzing/utils.hpp"
#include "storage/routing_helpers.hpp"
#include "storage/storage.hpp"
using namespace routing;
using namespace std;
namespace track_analyzing
{
void CmdCppTrack(string const & trackFile, string const & mwmName, string const & user,
... | C++ | track_analyzing/track_analyzer/cmd_cpp_track.cpp | rokuz/omim | apache-2.0 | 959 | 33 | codeparrot/github-code |
9ad61b3e4a701b2f4ea665689da8889ae76938341f7c8ad22cbb5aa2028acaea | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | Java | engine/test-src/org/pentaho/di/trans/TransMetaTest.java | mattyb149/pentaho-kettle | apache-2.0 | 7,231 | 198 | codeparrot/github-code |
f492e535f77d328ccccb91d0956d4880d0e3fad9158074b8289c1f5adfceaa71 | /*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 app... | Java | src/com/android/systemui/statusbar/phone/QuickSettingsScrollView.java | JSDemos/android-sdk-20 | apache-2.0 | 1,771 | 60 | codeparrot/github-code |
50e7bb9aabec81497e7b05a0d027ef2bac486284d90ef37a59d8e6cea4f140d5 | /*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms of... | Java | src/main/java/io/mycat/server/config/node/TableConfig.java | RiverWeng/Mycat-Server | apache-2.0 | 6,325 | 240 | codeparrot/github-code |
1d1b58960b0993ed2a0c957ac5af58c5e67cfa840586d294636998a65ef11382 | /*
* 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 | core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/ManagedProcessorMBean.java | Fabryprog/camel | apache-2.0 | 2,046 | 57 | codeparrot/github-code |
2ba3b5c124613167ff5909ea2a10885dbfa6bf3926b8966be99e38ef760c0845 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.jarRepository;
import com.intellij.codeInspection.IntentionAndQuickFixAction;
import com.intellij.ide.JavaUiBundle;
import com.intellij.jarRepository.setting... | Java | java/idea-ui/src/com/intellij/jarRepository/RepositoryAddLibraryAction.java | GunoH/intellij-community | apache-2.0 | 3,160 | 78 | codeparrot/github-code |
720bb74264827a74731783c23731cb7d7c3225dcd549506863a129b50279f41c | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.commands;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.util.ThrowableConsumer;
import org.jetbr... | Java | plugins/git4idea/src/git4idea/commands/GitHandlerInputProcessorUtil.java | goodwinnk/intellij-community | apache-2.0 | 2,124 | 63 | codeparrot/github-code |
681b086e6ba251db55c2743a71dc904dcfc6ec69ec80234fcbac0e41dc5175cb | /*
* This file is a part of Pocket Heroes Game project
* http://www.pocketheroes.net
* https://code.google.com/p/pocketheroes/
*
* Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | C | iolib/Pa/pa.xml.builder.h | catmanjan/pocketheroes | apache-2.0 | 2,055 | 84 | codeparrot/github-code |
c4d7b10190c63a3fb84bb1e31b93704fe30e24f03d1f673076215275cf4e4044 | /**************************************************************************//**
* @file i2c.c
* @version V3.00
* $Revision: 2 $
* $Date: 16/08/02 6:02p $
* @brief M2355 series I2C Serial Interface Controller(I2C) driver source file
*
* @note
* @copyright SPDX-License-Identifier: Apache-2.0
* Copyright ... | C | targets/TARGET_NUVOTON/TARGET_M2354/device/StdDriver/src/m2354_i2c.c | adfernandes/mbed | apache-2.0 | 51,055 | 1,445 | codeparrot/github-code |
2d02e76a26928fa7f351008a3b115fa45c47c79d29a52da7ea6e77021aee6b51 | /*
* Copyright 2012-2017 the original author or authors.
*
* 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 | spring-boot/src/test/java/org/springframework/boot/web/servlet/FilterRegistrationBeanTests.java | yhj630520/spring-boot | apache-2.0 | 2,481 | 79 | codeparrot/github-code |
fbc968370fb09f5a7be91439ec2ba090453dc0a1006ec5b51f740652ac2ace18 | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | Java | rice-middleware/ksb/client-impl/src/main/java/org/kuali/rice/ksb/messaging/serviceconnectors/AbstractServiceConnector.java | ricepanda/rice-git3 | apache-2.0 | 2,928 | 86 | codeparrot/github-code |
b7f0137380e7d81b609ddca43873658ebee5b44b2fd7b603d2979a9d8809944c | package io.lumify.core.ingest.graphProperty;
import io.lumify.core.model.properties.LumifyProperties;
import io.lumify.core.security.VisibilityTranslator;
import io.lumify.web.clientapi.model.VisibilityJson;
import org.securegraph.*;
import java.io.File;
public class GraphPropertyWorkData {
private final Visibil... | Java | core/core/src/main/java/io/lumify/core/ingest/graphProperty/GraphPropertyWorkData.java | j-bernardo/lumify | apache-2.0 | 3,197 | 96 | codeparrot/github-code |
925f70157001c8e06c8d5cd9a9ce4f3b61f29611ee1776f78eda760c7aeec3cb | /*
* Copyright 2019 ThoughtWorks, 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 agr... | Java | api/api-roles-config-v2/src/main/java/com/thoughtworks/go/apiv2/rolesconfig/representers/PluginRoleConfigRepresenter.java | varshavaradarajan/gocd | apache-2.0 | 1,686 | 43 | codeparrot/github-code |
a18395adaa044476c21db37d4ee652bb0771722a82dc37db3fb31d63f3b78126 | /* /////////////////////////////////////////////////////////////////////////
* File: acestl/reactor/custom_event_handler.hpp
*
* Purpose: Event handler class for custom event notifications.
*
* Created: 1st October 2004
* Updated: 12th January 2010
*
* Home: http://stlsoft.org/
*
* C... | C++ | libs/stlsoft/include/acestl/reactor/custom_event_handler.hpp | RichieSams/thehalflingproject | apache-2.0 | 31,504 | 967 | codeparrot/github-code |
75e51b16b2a7674689ebf58538309eb31794ab5b3601186616e31046eae7b8c6 | /*
* 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/main/java/com/facebook/presto/operator/LookupSource.java | stewartpark/presto | apache-2.0 | 1,531 | 50 | codeparrot/github-code |
96abacd158b74f9b06cd49c000a3551f75b8ddd9dbade090d4cfd2ffb6a9656f | /*
* Copyright 2015-present Facebook, 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... | Java | src/com/facebook/buck/jvm/java/intellij/AndroidResourceFolder.java | daedric/buck | apache-2.0 | 1,255 | 44 | codeparrot/github-code |
e7ec7a767b38471ec99ef6f1a37e31797269de55368f4a108849d3cf0c569038 | /* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* 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 retain the above
* copyright notice... | C# | XenAdmin/Controls/DateTimeMinutes15.cs | huizh/xenadmin | bsd-2-clause | 4,125 | 127 | codeparrot/github-code |
173864f77e559d8b49480e7ac5a18598389e371c32060feecf57d0c03fcd3426 | class Daq < Formula
desc "Network intrusion prevention and detection system"
homepage "https://www.snort.org/"
url "https://www.mirrorservice.org/sites/distfiles.macports.org/daq/daq-2.0.6.tar.gz"
mirror "https://fossies.org/linux/misc/daq-2.0.6.tar.gz"
sha256 "b40e1d1273e08aaeaa86e69d4f28d535b7e53bdb3898adf5... | Ruby | Formula/daq.rb | moderndeveloperllc/homebrew-core | bsd-2-clause | 1,872 | 51 | codeparrot/github-code |
a4559954995010eb94ac832dcb14de6beba9e281e0ddf90537087a0b479f5030 | /*
* Copyright (c) 2006 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement
* retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | C | Utilities/vtkexodus2/expcab.c | b3c/VTK-5.8 | bsd-3-clause | 28,037 | 564 | codeparrot/github-code |
9a2a936d2e4698c6105d7507b3ba83895b1c24594232c43137fef17859bc483a | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
// $Id$
// $MpId: AliMpVPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
/// \ingroup mpgraphics
/// \class AliMpVPainter
/// \brief Abstract base class for drawing o... | C | MUON/MUONmpgraphics/AliMpVPainter.h | ecalvovi/AliRoot | bsd-3-clause | 2,734 | 89 | codeparrot/github-code |
be06bafb41bc034ff9922150661a9e5e2505189c9d5b0964b852acb87de9d880 | {-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE Trustworthy #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Fun... | Haskell | libraries/base/Data/Functor/Identity.hs | olsner/ghc | bsd-3-clause | 3,919 | 118 | codeparrot/github-code |
4ef9d2f6ba38eeddb7ac46b425ab60832e76c84876afee27bdb16e8dce57dd8c | /*
*
* Copyright 2016 gRPC authors.
*
* 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 agree... | C++ | third_party/grpc/src/test/core/util/debugger_macros.cc | endlessm/chromium-browser | bsd-3-clause | 1,967 | 58 | codeparrot/github-code |
93875c41d6f351d631db273365c82ef8c57f633852b9d015f356a5f9a4621dbe | //////////////////////////////////////////////////////////////////////////////
//
// License Agreement:
//
// The following are Copyright © 2008, Daniel Önnerby
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | C | src/core/xml/Node.h | bianliu1013/musikcube | bsd-3-clause | 3,285 | 99 | codeparrot/github-code |
70decd8e90bd6e562eb335a85e22b9e1a1df4775a665a95e6f416a6257427999 | #=========================================================================
# visitors.py
#=========================================================================
from __future__ import print_function
import ast, _ast
import re
import warnings
from ..ast_helpers import get_closure_dict, print_simple_ast
fro... | Python | pymtl/tools/translation/visitors.py | Abhinav117/pymtl | bsd-3-clause | 29,868 | 871 | codeparrot/github-code |
b20879e378ae53972bd63d8c90b1a0bd0dc7af9648c7961eed7212204f1dfc1f | /*
* Copyright (C) 2004, 2005, 2006 Joe Walnes.
* Copyright (C) 2006, 2007, 2009, 2011, 2014 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
... | Java | xstream/src/java/com/thoughtworks/xstream/io/xml/XppDomReader.java | vkscool/xstream | bsd-3-clause | 2,758 | 112 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.