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 |
|---|---|---|---|---|---|---|---|---|
a12a66dc96d663253d2d9049fa5720a7446eb93a1d449046eef3883f2b95f994 | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CMDIdRelStats.h
//
// @doc:
// Class for representing mdids for relation statistics
//---------------------------------------------------------------------------
#... | C | src/backend/gporca/libnaucrates/include/naucrates/md/CMDIdRelStats.h | 50wu/gpdb | apache-2.0 | 2,826 | 139 | codeparrot/github-code |
436804afad995ff27088d2356001601ab99c9b51263693cbb81ec50641dcb1c8 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_POINTER_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_POINTER_HANDLER_H_
#... | C | third_party/webrtc/include/chromium/src/chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.h | ssaroha/node-webrtc | bsd-2-clause | 1,528 | 52 | codeparrot/github-code |
0106d464e08a72183ee3a2335cc2fe6f4eaddbb56c4eb6fc933b0c2839a65ce9 | var __extends = this.__extends || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var observable = require("data/observable");
var types = require("utils/types");
var propertyFromKey =... | JavaScript | tns_modules/ui/core/dependency-observable.js | gdi2290/sample-Angular2 | bsd-2-clause | 14,146 | 403 | codeparrot/github-code |
a649c350279fca6371a103da1e818b27479d464d8405ae38d76009931acac758 | package tr.xip.wanikani.app.fragment;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.ActionBarActivity;
impo... | Java | WaniKani/src/tr/xip/wanikani/app/fragment/RadicalsFragment.java | Gustorn/WaniKani-for-Android | bsd-2-clause | 8,463 | 253 | codeparrot/github-code |
d678f0004e3951ce9a671fdff2845702270e20fe0653ce957b12e5474a70ea08 | /*===================================================================
BlueBerry Platform
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS... | C | Plugins/org.blueberry.ui.qt/src/internal/berryQtStyleManager.h | NifTK/MITK | bsd-3-clause | 2,258 | 92 | codeparrot/github-code |
64af967731b65f581f8d5312aed96516da70693a53a34fd87ba61d5c45846a02 | /* The contents of this file are subject to the Netscape Public License
* Version 1.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.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
*... | JavaScript | core/standards/scripts/jstest-futhark/es-regression/imported-netscape/js1_2/Objects/toString-001.js | frivoal/presto-testo | bsd-3-clause | 3,588 | 115 | codeparrot/github-code |
47e568211abf3e9e919244420165c505b456c07a0001774a6ff5a28fc09f2f4f | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_OBSERVER_H_
#define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_OBSERVER_H_
#import <se... | C | ios/chrome/browser/reading_list/reading_list_model_observer.h | axinging/chromium-crosswalk | bsd-3-clause | 2,904 | 67 | codeparrot/github-code |
f366514f27e071ce17e7c2a82c22f41f09c0826d8a23ba3f4422e57abb4a3bfe | /* The contents of this file are subject to the Netscape Public License
* Version 1.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.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
*... | JavaScript | core/standards/scripts/jstest-futhark/es-regression/imported-netscape/js1_3/regress/in-001.js | frivoal/presto-testo | bsd-3-clause | 1,861 | 64 | codeparrot/github-code |
82f9b2eba604c27d42c12a4c769457f2af79d9828c1a0e37f1b0ecad79d84f49 | /*
* freeglut_internal.h
*
* The freeglut library private include file.
*
* Copyright (c) 1999-2000 Pawel W. Olszta. All Rights Reserved.
* Written by Pawel W. Olszta, <olszta@sourceforge.net>
* Creation date: Thu Dec 2 1999
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of... | C | libs/opengl/src/freeglut-2.4.0/freeglut_internal.h | bigjun/mrpt | bsd-3-clause | 30,245 | 847 | codeparrot/github-code |
b8eac6144596d3fdb723204ecc8250df94fedf9e1ed0a8bd9bae13669ddbd808 | """
==============================================================
Compute seed-based time-frequency connectivity in sensor space
==============================================================
Computes the connectivity between a seed-gradiometer close to the visual cortex
and all other gradiometers. The connectivity i... | Python | examples/connectivity/plot_cwt_sensor_connectivity.py | teonlamont/mne-python | bsd-3-clause | 2,921 | 82 | codeparrot/github-code |
069638926fb2fe33c646e1a88220cf56824ea597bcf380895014b1db7ada105b | /*
* Copyright (c) 2011 The Regents of The University of Michigan
* 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++ | src/cpu/inorder/resources/fetch_unit.cc | silkyar/570_Big_Little | bsd-3-clause | 20,199 | 593 | codeparrot/github-code |
48aca314ac50be62d62da45bcddff662c5d0745db98045156734a828b65ed1cf | /* Driver template for the LEMON parser generator.
** The author disclaims copyright to this source code.
*/
/* First off, code is included that follows the "include" declaration
** in the input grammar file. */
#include <stdio.h>
#line 30 "NCDConfigParser_parse.y"
#include <string.h>
#include <stddef.h>
#include <m... | C | generated/NCDConfigParser_parse.c | binondord/badvpn | bsd-3-clause | 69,151 | 2,168 | codeparrot/github-code |
b4dd0651ef4284a2209a2f2c0285c626b10fd1a4e1693760bb0a0ef5bf7692fc | // Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_
#define CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_
#include "build/build_config.h"
#include "con... | C | content/common/content_switches_internal.h | chromium/chromium | bsd-3-clause | 1,052 | 34 | codeparrot/github-code |
f899cd705ac0e7e3431a6b0cf8c1835e6a76d1d4c85fe4e60077c8add72d5754 | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_APP_RESTORE_WINDOW_INFO_H_
#define COMPONENTS_APP_RESTORE_WINDOW_INFO_H_
#include "chromeos/ui/base/window_state_type.h"
#include "thi... | C | components/app_restore/window_info.h | scheib/chromium | bsd-3-clause | 2,179 | 72 | codeparrot/github-code |
9d040a67b359a85a7c22a707ba6b90677be6b1ec0c73a71ed5afd743335337c3 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/components/multidevice/expiring_remote_device_cache.h"
#include "base/containers/contains.h"
#include "chromeos/components/multidevice... | C++ | chromium/chromeos/components/multidevice/expiring_remote_device_cache.cc | ric2b/Vivaldi-browser | bsd-3-clause | 2,413 | 71 | codeparrot/github-code |
1712792e784a4e0b4e4199e4b441aaf19ca2b02434b79353216907073ed54152 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SYNC_BOOKMARK_SYNC_SERVICE_FACTORY_H_
#define CHROME_BROWSER_SYNC_BOOKMARK_SYNC_SERVICE_FACTORY_H_
#include "base/memory/singleton... | C | chromium/chrome/browser/sync/bookmark_sync_service_factory.h | ric2b/Vivaldi-browser | bsd-3-clause | 1,589 | 45 | codeparrot/github-code |
e37b99ed18458a5321d246b9062210bd7ce94d78d6f00befe44bac1ded40bdb8 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <pwd.h>
#include <stddef.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <vector>
#include "chrome/browser/polic... | C++ | chromium/chrome/browser/policy/policy_path_parser_linux.cc | ric2b/Vivaldi-browser | bsd-3-clause | 2,265 | 67 | codeparrot/github-code |
3e9a769339be48a3484cb54b91a22417ea177dd78df6e0d4c2ebbe266aef555e | /*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.scriptLoader} object, used to load scripts
* asynchronously.
*/
/**
* Load scripts asynchronously.
* @namespace
* @ex... | JavaScript | www/sites/all/modules/contrib/ckeditor/ckeditor/_source/core/scriptloader.js | nattyseydi/nattyseydi.com | gpl-2.0 | 4,861 | 181 | codeparrot/github-code |
5b679d98a293ee0f05da007f91b9706cc7177e02c7964efb52657b4e66f4cbc6 | define('summernote/module/Dialog', function () {
/**
* Dialog
*
* @class
*/
var Dialog = function () {
/**
* toggle button status
*
* @param {jQuery} $btn
* @param {Boolean} isEnable
*/
var toggleBtn = function ($btn, isEnable) {
$btn.toggleClass('disabled', !isE... | JavaScript | src/Sheikhu/LibraryBundle/Resources/public/vendors/summernote/src/js/module/Dialog.js | sheikhu/Library | mit | 5,779 | 195 | codeparrot/github-code |
003f1c31a8e1cee0f8a97027964bc48b937fd8b7b0029de8ba13a83fc25287d3 | import re
import pytest, py
from _pytest import python as funcargs
class TestMetafunc:
def Metafunc(self, func):
# the unit tests of this class check if things work correctly
# on the funcarg level, so we don't need a full blown
# initiliazation
class FixtureInfo:
name2... | Python | testing/python/metafunc.py | mhils/pytest | mit | 36,868 | 1,048 | codeparrot/github-code |
31c187ffc2c69862fc0750eb8e22e2bcdf73027587e588e85862cfff908ee056 | <?php
namespace Concrete\Core\Export\Item;
use Concrete\Core\Page\Exporter;
use Concrete\Core\Page\PageList;
use Concrete\Core\Page\Stack\StackList;
use Concrete\Core\Page\Template;
use Concrete\Core\Page\Theme\Theme;
use Concrete\Core\Attribute\Category\SiteTypeCategory;
use Concrete\Core\Entity\Site\Skeleton;
use Co... | PHP | concrete/src/Export/Item/SiteType.php | biplobice/concrete5 | mit | 4,328 | 131 | codeparrot/github-code |
4e4be134cf6323907a302251623523c7f9c4fe1e9f0a11278d1da677c7ee7ebd | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using Roslyn.Utilitie... | C# | src/Tools/BuildValidator/IldasmUtilities.cs | sharwell/roslyn | mit | 1,414 | 43 | codeparrot/github-code |
aa58b36cb7cdcc5db4303cb1ac581220338a34cb8a5961a3a2c46e7db8de6ffc | using System;
using System.Collections;
using System.Diagnostics;
using System.Linq;
using Xunit;
using System.Collections.Generic;
using System.Reflection;
namespace Octokit.Tests.Conventions
{
public class ModelTests
{
[Theory]
[MemberData("ModelTypes")]
public void AllModelsHaveDebu... | C# | Octokit.Tests.Conventions/ModelTests.cs | SmithAndr/octokit.net | mit | 7,128 | 220 | codeparrot/github-code |
3b9358a49b3172a1135ded3e4aa5d44990e33b532ccb3f20e5884ba29c75d01f | package msgio
import (
"errors"
"io"
"sync"
mpool "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-msgio/mpool"
)
// ErrMsgTooLarge is returned when the message length is exessive
var ErrMsgTooLarge = errors.New("message too large")
const (
lengthSize = 4
defaultMaxSize = 8 * 1024 * 10... | GO | Godeps/_workspace/src/github.com/jbenet/go-msgio/msgio.go | miolini/go-ipfs | mit | 6,179 | 285 | codeparrot/github-code |
02e2c4091aa7e1e70126718af5b92120b93d3205be8de453a042feafc4313f17 | 'use strict';
var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, ... | JavaScript | ajax/libs/slim.js/3.2.5/Slim.js | seogi1004/cdnjs | mit | 39,767 | 1,159 | codeparrot/github-code |
d80bf770c10011eae4354493b5c8afc0d7fd2807e7c0112e0637386727409098 | /*
* Copyright (c) 1999-2006 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use th... | C | macos-10124/esdarwin-destroot-b1/usr/include/libkern/i386/OSByteOrder.h | e-t-h-a-n/esdarwin | mit | 2,923 | 113 | codeparrot/github-code |
9c5ac38d675c12d19fb05caf3997a596448909ff498c4a063e29c57679268430 | /**
* Copyright (c) 2010-2014, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Java | bundles/io/org.openhab.io.transport.cul/src/main/java/org/openhab/io/transport/cul/CULCommunicationException.java | gregfinley/openhab | epl-1.0 | 923 | 42 | codeparrot/github-code |
6e9f6ad9b5ee4aaed0135d003986df0cce797a8e703abac1680cd351adb4720d | <?php // encoding: utf-8
/* Copyright 2008 Qian Qin (email : mail@qianqin.de)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later ve... | PHP | wp-content/plugins/mqtranslate/mqtranslate_wphacks.php | stripjenga/wnpr | gpl-2.0 | 15,369 | 433 | codeparrot/github-code |
754985b27e7a64aceb5eb649db9b425cef5ca19b90530d1e541a272cb77b8fcd | /* Copyright (C) 2004 - 2008 Versant Inc. http://www.db4o.com
This file is part of the sharpen open source java to c# translator.
sharpen is free software; you can redistribute it and/or modify it under
the terms of version 2 of the GNU General Public License as published
by the Free Software Foundation and as clar... | Java | src/main/sharpen/core/NullDocumentationOverlay.java | moljac/sharpen | gpl-2.0 | 1,340 | 37 | codeparrot/github-code |
5fc0b521e250ec4863324ad9f370fcd5bd9ae9a9324401e4f775283c8df64d4e | <?php
/**
* The template for displaying all pages.
*
Template name:Portfolio
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package web2feel
*/
get... | PHP | wp-content/themes/revara/portfolio-page.php | naaatasha/pr-bny-projekt | gpl-2.0 | 1,742 | 75 | codeparrot/github-code |
e24786119ef76be468a69309a5bb81b5cce84bbcd56a85dd2227539564ec24c2 | <?php
/**
* @package Joomla.Legacy
* @subpackage Base
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Abstract observable class to implement the ob... | PHP | libraries/legacy/base/observable.php | puneet0191/gsoc16_browser-automated-tests | gpl-2.0 | 3,636 | 196 | codeparrot/github-code |
16b52184d6592b6f988193df30a41afac347e7cae195660995abd1e2d187519e | /******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representatio... | C | src/translator_hr.h | hansec/doxygen | gpl-2.0 | 51,452 | 1,577 | codeparrot/github-code |
8d77e5360a4e28281ba869920d2b4fd185d1c4979c44df20de224e6ea16a2758 | class SingleSignOn
ACCESSORS = [:nonce, :name, :username, :email, :avatar_url, :avatar_force_update, :require_activation,
:bio, :external_id, :return_sso_url, :admin, :moderator, :suppress_welcome_message,
:add_groups, :remove_groups]
FIXNUMS = []
BOOLS = [:avatar_force_update, :admi... | Ruby | lib/single_sign_on.rb | nickychow/discourse | gpl-2.0 | 2,865 | 111 | codeparrot/github-code |
00da93b395521d648deebf29ba917590f368402195010bad5866c084a130c31d | <!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
<head>
<!-... | HTML | sites/all/libraries/fontawesome/src/3.2.1/icon/plus-sign/index.html | ehazell/AWBA | gpl-2.0 | 10,303 | 209 | codeparrot/github-code |
b07572688ee35aa29f5f76efcc07a1216cbbb299b938c9493cc85accd21dd232 | /*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 So... | C++ | src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_majordomo_executus.cpp | ironhead123/DeathCore_3.3.5 | gpl-2.0 | 7,676 | 217 | codeparrot/github-code |
a191200b49d90524ef63fd396248000148f2071e27fdd7165704c5f252afca5f | using Server;
using System;
namespace Server.Items
{
public class ObiBearingTheCrestOfBlackthorn1 : Obi
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public ObiBearingTheCrestOfBlackthorn1()
: base()
{
ReforgedSuffix ... | C# | Scripts/Services/Revamped Dungeons/BlackthornDungeon/Items/TangleBase/ObiBearingTheCrestOfBlackthorn.cs | cmileto/neverybody | gpl-2.0 | 966 | 39 | codeparrot/github-code |
2e415d6d754674f478a300d39a910ed021e11f93d893da275dd07bd34fe63e22 | /*
em28xx-video.c - driver for Empia EM2800/EM2820/2840 USB
video capture devices
Copyright (C) 2005 Ludovico Cavedon <cavedon@sssup.it>
Markus Rechberger <mrechberger@gmail.com>
Mauro Carvalho Chehab <mchehab@infradead.org>
Sascha Sommer <saschasommer@freenet.de>
Some parts based... | C | drivers/media/video/em28xx/em28xx-video.c | coldnew-gp-revolution/gp-revolution-kernel | gpl-2.0 | 64,749 | 2,610 | codeparrot/github-code |
02bb571b5d92879c5e606e0643c9b1f451e8c9d031823e4f1391af625a5890af | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2015 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/FLARM/NameFile.cpp | M-Scholli/XCSoar | gpl-2.0 | 1,769 | 62 | codeparrot/github-code |
3212ba03a0d09b50aa67161610670eb8570cb7918067e511a030294765a04762 | /* The industrial I/O core
*
* Copyright (c) 2008 Jonathan Cameron
*
* 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.
*
* Handling of buffer allocation / resizing.
*
*
* Thin... | C | drivers/iio/industrialio-buffer.c | Taeung/tip | gpl-2.0 | 37,507 | 1,479 | codeparrot/github-code |
db8ea71bfbd437b6b77e7e8d1a2807eec860fe6142463f5fb0d9bd00210608ea | // SPDX-License-Identifier: GPL-2.0+
/*
* linux/fs/jbd2/journal.c
*
* Written by Stephen C. Tweedie <sct@redhat.com>, 1998
*
* Copyright 1998 Red Hat corp --- All Rights Reserved
*
* Generic filesystem journal-writing code; part of the ext2fs
* journaling system.
*
* This file manages journals: areas of disk ... | C | fs/jbd2/journal.c | Pingmin/linux | gpl-2.0 | 79,043 | 2,775 | codeparrot/github-code |
2b711e63df5be95155b5a5bdafa12139f1c943223bfad243460a65b070b8f95b | /* Copyright (C) 2004 - 2008 Versant Inc. http://www.db4o.com
This file is part of the sharpen open source java to c# translator.
sharpen is free software; you can redistribute it and/or modify it under
the terms of version 2 of the GNU General Public License as published
by the Free Software Foundation and as clar... | Java | src/main/sharpen/core/csharp/ast/CSIfStatement.java | moljac/sharpen | gpl-2.0 | 1,581 | 54 | codeparrot/github-code |
a64f8208b6be0d11f134f3fc8e52d53cd7208a7691741ba7ac92d6aba7280faf | <?php
/**
* File containing the Content Id matcher class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\Id;
use eZ\Publish\Co... | PHP | eZ/Publish/Core/MVC/Symfony/Matcher/ContentBased/Id/Content.php | alongosz/ezpublish-kernel | gpl-2.0 | 1,470 | 52 | codeparrot/github-code |
ee5f5c99e184fab4fdd2082d98e27aeb050e2d907f47e0778e011334de97a461 | /* Test for access to file, relative to open directory. Hurd version.
Copyright (C) 2006-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as p... | C | uefi/userspace/glibc/sysdeps/mach/hurd/faccessat.c | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 1,938 | 70 | codeparrot/github-code |
78900e11a874c86d7621bf5c184ba7333c7137e49a2b08cfcf404e3aa4ddb6a6 | /* Language-independent diagnostic subroutines for the GNU Compiler Collection
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
This file is part of GCC.
GCC is free software; you can redistribute it... | C | gcc/diagnostic.c | kevina/zl-gcc | gpl-2.0 | 22,314 | 724 | codeparrot/github-code |
1ed3440ba5b25332a5f56a6c110cf027d519a293f3bf74b32b5358034e18c24d | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | Java | src/main/java/com/caucho/quercus/lib/file/FileValue.java | dwango/quercus | gpl-2.0 | 2,743 | 131 | codeparrot/github-code |
c821579b15ffc5215403ad35f8080e8d064613ee6d57887feccad67fdf9ebcaa | /* **************************************************************************
qgscontrastenhancementfunction.h - description
-------------------
begin : Fri Nov 16 2007
copyright : (C) 2007 by Peter J. Ersts
email : ersts@amnh.org
*********... | C | src/core/raster/qgscontrastenhancementfunction.h | stevenmizuno/QGIS | gpl-2.0 | 2,514 | 67 | codeparrot/github-code |
73aa6c40fd458db36bc36b694fb7794a96158eb0a57c613c16bd32e27a883836 | /* Exception handling and frame unwind runtime interface routines.
Copyright (C) 2001, 2003 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 Foundat... | C | osprey/kgccfe/gnu/unwind.h | uhhpctools/openuh-openacc | gpl-3.0 | 8,797 | 228 | codeparrot/github-code |
e7d715c577386ced1153d852f1919a0e37157ff4f20a9308d11910d5b34559d0 | ###########################################################################################
# $HeadURL$
###########################################################################################
"""Collection of DIRAC useful list related modules.
By default on Error they return None.
"""
__RCSID__ = "$Id$"
from t... | Python | Core/Utilities/List.py | calancha/DIRAC | gpl-3.0 | 3,974 | 128 | codeparrot/github-code |
06ea8efcb186c9acfc1dc16ff41cc60f5632eb9851fb0dad5c3288fcf714cff1 | package org.ovirt.engine.core.bll.attestationbroker;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.ovirt.engine.core.bll.Backend;
import org.ovirt.engine.core.bll.job.ExecutionHandler;
import org.ovirt.engine.... | Java | ovirt/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/attestationbroker/AttestThread.java | jtux270/translate | gpl-3.0 | 3,806 | 85 | codeparrot/github-code |
0edc738eff2d1734c0470c0e4d5dc012ee9f5e92ce695d008c5905bfef819fcc | # -*- coding: utf-8 -*-
from __future__ import (unicode_literals, division, absolute_import, print_function)
__license__ = 'GPL 3'
__copyright__ = '2011, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
import re
from PyQt4.Qt import (QDialog, QDialogButtonBox)
from calibre.gui2.store.st... | Python | src/calibre/gui2/store/stores/mobileread/adv_search_builder.py | Eksmo/calibre | gpl-3.0 | 3,934 | 120 | codeparrot/github-code |
5723feb67c456ca20e68350bd4c794de99aef17075408f51d76e153176f1ab7b | /*
* FreeModbus Libary: NuttX Port
* Based on the FreeModbus Linux port by:
*
* Copyright (C) 2006 Christian Walter <wolti@sil.at>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundati... | C | modules/PX4NuttX/apps/modbus/nuttx/porttimer.c | evancich/apm_motor | gpl-3.0 | 2,792 | 103 | codeparrot/github-code |
5136007c126ce1e998318a3e83b6e26ea45a2fa24a707751b5ddb66a79b4b254 | # Dependencies are calculated from the .ios file that lists which libraries and frameworks to link
# against.
if [ "$LIVECODE_DEP_FILE" == "" ]; then
LIVECODE_DEP_FILE="$SRCROOT/$PRODUCT_NAME.ios"
fi
DEPS=`cat "$LIVECODE_DEP_FILE"`
DEPS=${DEPS//library /-l}
DEPS=${DEPS//weak-framework /-weak }
DEPS=${DEPS//framework ... | Shell | lcidlc/lclink.sh | livecodesebastien/livecode | gpl-3.0 | 3,411 | 79 | codeparrot/github-code |
51962d507fc62c731d1283f49f2f219be245b69a08d065b889e05c5feee4950e | /* Copyright (C) 2003-2013 Runtime Revolution Ltd.
This file is part of LiveCode.
LiveCode is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License v3 as published by the Free
Software Foundation.
LiveCode is distributed in the hope that it will be useful, but WITH... | C++ | engine/src/deploy_capsule.cpp | livecodesebastien/livecode | gpl-3.0 | 17,066 | 607 | codeparrot/github-code |
c34b260092ec466e1b040b794e4aa7a9285a9062b2b0f7bb7325f8297d639f28 | /**
* Copyright (C) 2015 Open Whisper Systems
*
* 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... | Java | src/org/thoughtcrime/securesms/util/ViewUtil.java | patcon/TextSecure | gpl-3.0 | 4,830 | 130 | codeparrot/github-code |
1bd8f71c7aee0be59bbd36e2e091db2d0632a47db1d86ecaede8dc346a3dd4c4 | Imports System
Imports System.IO
Imports System.Collections.Generic
Imports MalVal = Mal.types.MalVal
Imports MalConstant = Mal.types.MalConstant
Imports MalInt = Mal.types.MalInt
Imports MalSymbol = Mal.types.MalSymbol
Imports MalString = Mal.types.MalString
Imports MalList = Mal.types.MalList
Imports MalVector = Mal.... | Visual Basic | vb/core.vb | hterkelsen/mal | mpl-2.0 | 18,829 | 512 | codeparrot/github-code |
e5cfeca69e462e8c2d535ca85553a35f233e57a47adf15455b3bde3325c0b6e0 | <?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility L... | PHP | include/InlineEditing/InlineEditing.php | ByersHouse/crmwork | agpl-3.0 | 21,375 | 547 | codeparrot/github-code |
42b294662a5c50c18588a97f5dc58b9c19825022466b02d49d546d9f712f8983 | # -*- coding: utf-8 -*-
##############################################################################
#
# Author: Guewen Baconnier
# Copyright 2013 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# pu... | Python | stock_reserve/model/stock_reserve.py | StefanRijnhart/stock-logistics-warehouse | agpl-3.0 | 6,546 | 197 | codeparrot/github-code |
36061c69b92249748803fd92f8e1f6b17516bf700ef8f5994d62e0fea708c556 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Fre... | Java | test/unit/src/org/kuali/kfs/gl/batch/service/impl/CollectorReportServiceImplTest.java | ua-eas/ua-kfs-5.3 | agpl-3.0 | 4,828 | 95 | codeparrot/github-code |
3ce240bd6e457d12bc527a21ce6b016c093667cd62c7e551ce5746a85c51f410 | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | C | src/gui/painting/qpainterpath.h | kobolabs/qt-everywhere-opensource-src-4.6.2 | lgpl-2.1 | 14,101 | 429 | codeparrot/github-code |
0b4802d1b9b1dcdad3e11b18332cf0577406124b37c0321f120374009dc7c475 | /*
* Copyright 2015 NAVER Corp.
*
* 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 a... | Java | agent/src/test/java/com/navercorp/pinpoint/plugin/mybatis/SqlSessionTemplateIT.java | coupang/pinpoint | apache-2.0 | 4,079 | 121 | codeparrot/github-code |
a21cdb1645e79a493c80150b62fa5f07dba5c0521c06bccee26db828a10b4a64 | using System;
using System.Diagnostics;
using System.Resources;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using ButtonGlide.WinPhone.Resources;
namespace ButtonGlide.WinPhone
{
public partial class App : Applica... | C# | Chapter21/ButtonGlide/ButtonGlide/ButtonGlide.WinPhone/App.xaml.cs | weima-sage/xamarin-forms-book-preview-2 | apache-2.0 | 9,050 | 224 | codeparrot/github-code |
98c3770dd44730e71f7b4db8ecd6755bb8a4f7faa1cb20d917f9b65b6e6c4f4e | <?php
/*
* @version $Id$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development Team.... | PHP | front/softwareversion.form.php | ojedawinder/glpi_seducla | apache-2.0 | 2,897 | 86 | codeparrot/github-code |
a9ed44782f295d893e81d48658c8d4c8853eac317c8303619292804bf3bbf590 | /*
* Copyright 2020 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License, version 2.0 (the
* "License"); you may not use this file except in compliance with the License. You may obtain a
* copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | Java | buffer/src/main/java/io/netty/buffer/search/AhoCorasicSearchProcessorFactory.java | doom369/netty | apache-2.0 | 6,201 | 192 | codeparrot/github-code |
1a44508063508a23d7d047c346069efa4d52124555909f49b9793e82351ee976 | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>keyczar.keyczar.GenericKeyczar</title>
<link rel="stylesheet" href="epydoc.css" type="text/... | HTML | site/site/webpage/pydocs/keyczar.keyczar.GenericKeyczar-class.html | jbtule/keyczar-dev | apache-2.0 | 22,969 | 555 | codeparrot/github-code |
01f36425938d8609ca206fa015b9159be6aa156c64072a38c3fb20a76c99fcb0 | /**
* 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 | serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyString.java | WANdisco/amplab-hive | apache-2.0 | 1,739 | 52 | codeparrot/github-code |
4963e7845ac507369d7d7662d0312486f3d0422a307bd02ed9e95dc151117493 | /*
* 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/io/prestosql/sql/planner/plan/UnionNode.java | smartnews/presto | apache-2.0 | 1,624 | 51 | codeparrot/github-code |
e328e74bf1b8afeafc53e4651484c2c01063a186271dd0886ef835d708126a44 | /*
* 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 | bpel-epr/src/main/java/org/apache/ode/bpel/epr/WSDL20Endpoint.java | thiliA/wso2-ode | apache-2.0 | 6,170 | 156 | codeparrot/github-code |
157d682ccb841e32b439ee6ce852b382607fec3f9b9fcc9fbebb83b9cf07ce26 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.VisualStudio.Shell;
namespace Roslyn.VisualStudio.Setup
{
/// <summary>
/// A <see cref="Registration... | C# | src/VisualStudio/Setup.Dependencies/ProvideRoslynBindingRedirection.cs | bbarry/roslyn | apache-2.0 | 2,088 | 45 | codeparrot/github-code |
07e3eb1203f54b984da591dd917db8ea4c97adbec7d5d6000c205a32beca1a03 | /*
* 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 | wsf_c/axis2c/neethi/src/exactlyone.c | krugerke/ext-wsf | apache-2.0 | 6,018 | 189 | codeparrot/github-code |
b3bbcdb732905833de448625c40492c1f9446aeca7b8cabe852bbdfa12a77b62 | /*
* 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-orc/src/main/java/io/prestosql/orc/stream/OrcDataOutput.java | miniway/presto | apache-2.0 | 1,429 | 53 | codeparrot/github-code |
d834de359863053493b865931d58a8b1db2b0bc241e6bb4116ef2dd7dfcb8a5f | /*
* Copyright 2013 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-examples/src/test/java/org/optaplanner/examples/nurserostering/app/NurseRosteringSolveAllTurtleTest.java | DieterDePaepe/optaplanner | apache-2.0 | 1,590 | 49 | codeparrot/github-code |
4501be4652e6a5857f82dc289a6fdfd0d28db750df89ae213801f8deb7cf432e | """
Simple iOS WebView tests.
"""
import unittest
import os
from random import randint
from appium import webdriver
from time import sleep
from selenium.webdriver.common.keys import Keys
class WebViewIOSTests(unittest.TestCase):
def setUp(self):
# set up appium
app = os.path.join(os.path.dirname(... | Python | src/python/ios_webview.py | mindnuts/proventeq-test-repo | apache-2.0 | 1,607 | 55 | codeparrot/github-code |
e991309182a486d78eb7e14581b85ee4fbbda488a1defc146df25baa9010bf89 | /*
* 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 | oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/permission/ReadStatus.java | trekawek/jackrabbit-oak | apache-2.0 | 3,767 | 83 | codeparrot/github-code |
2095d84a73b66d4fd070c06139178184e14f6f931cecb5b30649c01991450c6b | /**
* Copyright 2019 The AMP HTML Authors. 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 require... | JavaScript | extensions/amp-smartlinks/0.1/test/test-amp-smartlinks.js | dotandads/amphtml | apache-2.0 | 8,215 | 252 | codeparrot/github-code |
e33473c2bf58f484d49637ce1c0d9491c484892374b1423531e8b713ede960d6 | /*
* Copyright 2000-2015 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 | plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/library/remote/MavenRemoteManager.java | MichaelNedzelsky/intellij-community | apache-2.0 | 6,047 | 180 | codeparrot/github-code |
4467c20ca0de1b1667f59f62782cf15c6266795b14c9206342e6760e8fa9f3d0 | package org.teachingkidsprogramming.section07objects;
import org.teachingextensions.WindowUtils.MultiTurtleWindow;
import org.teachingextensions.logo.Turtle;
public class SuperTurtles
{
public MultiTurtleWindow mtw = new MultiTurtleWindow();
public SuperTurtles()
{
showSomeTurtles();
}
public static voi... | Java | src/org/teachingkidsprogramming/section07objects/SuperTurtles.java | 91096008/TeachingKidsProgramming | apache-2.0 | 979 | 43 | codeparrot/github-code |
ad20352e75c685f16c6a260a9748859307f1c13585c993b63728f1f39079f09c | package com.linkedin.databus.client;
/*
*
* Copyright 2013 LinkedIn Corp. 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/LICE... | Java | databus-client/databus-client-common/src/main/java/com/linkedin/databus/client/ClientFileBasedMetadataTrackingCallback.java | tinkujohn/databus | apache-2.0 | 1,370 | 50 | codeparrot/github-code |
c15e01f9dec04b396f1ac960aa14a8a338281bd613209a8bb9511d08c372220d | package com.silverforge.controls.calculators;
import com.silverforge.controls.model.ItemCoordinate;
import lombok.Getter;
public class InfiniteLoadCalculator extends LoadCalculator {
private final static int INITIAL_INNER_POINT_ANGLE = 270;
@Getter
private ItemCoordinate[] outerItems;
@Getter
... | Java | busyindicator/src/main/java/com/silverforge/controls/calculators/InfiniteLoadCalculator.java | lyxwll/BusyIndicator | apache-2.0 | 1,931 | 52 | codeparrot/github-code |
75fa1d6de211fbda946af5b5500200e4f614d2f1cc1e9e5d59b150c1f067cf32 | /*
* Copyright 2015 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | Java | codec-http/src/main/java/io/netty/handler/codec/http/EmptyHttpHeaders.java | doom369/netty | apache-2.0 | 5,146 | 189 | codeparrot/github-code |
75ea0a5aa9f00c25ae296ae0c796534e34950d34dfcd770edaa73cd42088db0e | 'use strict';
var app = angular.module('AngularCRM');
app.controller('homeController',
function ($scope) {
}
);
app.controller('newController',
function ($scope) {
}
);
app.controller('viewController',
function ($scope) {
}
);
app.controller('editController',
function ($scope) {
}
... | JavaScript | O3657/O3657-1 Deep dive into building standalone AngularJS web applications with Bootstrap for Office 365/Completed Projects/AngularCRM_Exercise2Complete/AngularCRM/App/controllers.js | William-Wen/TrainingContent | apache-2.0 | 550 | 30 | codeparrot/github-code |
2278b4f9d21edea037ace5b6b2c2d35fdb17ab31922dfdd72087765099bd1a31 | /*
* 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 | solr-4.9.0/lucene/classification/src/test/org/apache/lucene/classification/SimpleNaiveBayesClassifierTest.java | williamchengit/TestRepo | apache-2.0 | 3,188 | 69 | codeparrot/github-code |
2bb949434d422af696676fc7c78c70e11237896fd6863c39af88e5e2a371cf76 | /* ====================================================================
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 Y... | C# | testcases/main/HSSF/UserModel/TestFormulaEvaluatorBugs.cs | stuartwmurray/npoi | apache-2.0 | 17,228 | 444 | codeparrot/github-code |
c5940bbdbce7da7c99c6de79f5b5f162209769a809efeeed19fc4359d85e1bd2 | /*
* 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 | exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/project/TestProjectEmitOutcome.java | vdiravka/drill | apache-2.0 | 11,021 | 232 | codeparrot/github-code |
aae4b04e178ba7e57e22ed50e47309d1ed4faa3b52d27c9ea9d633208c2f5011 | package test.thread;
import org.testng.Assert;
import org.testng.TestNG;
import org.testng.annotations.Test;
import org.testng.collections.Lists;
import org.testng.xml.XmlClass;
import org.testng.xml.XmlSuite;
import org.testng.xml.XmlTest;
import test.BaseTest;
import java.util.Arrays;
import java.util.HashMap;
imp... | Java | src/test/java/test/thread/ParallelTestTest.java | jaypal/testng | apache-2.0 | 2,615 | 101 | codeparrot/github-code |
4e61f042bb464d6add881d518b4c162d8c25411467826d9ea67cbba5a223e3ee | /*
* 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 | extensions-core/parquet-extensions/src/test/java/org/apache/druid/data/input/parquet/BaseParquetReaderTest.java | nishantmonu51/druid | apache-2.0 | 2,763 | 77 | codeparrot/github-code |
17b2546e9ab265bb2419d95b661e459b09db7aa8e0ffed91de711840a018aca8 | /*
* 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 | llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/ConsumerStripeMetadata.java | vineetgarg02/hive | apache-2.0 | 1,337 | 36 | codeparrot/github-code |
4d7fa534a8571e58b904ee705f51daa8c997fe59accd25d58d39ff6949affab7 | /*
* Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.util.regex;
/**
* Utility class that implements the standard C ctype functionality.
*
... | Java | src_en/java/util/regex/ASCII.java | shun634501730/java_source_cn | apache-2.0 | 8,728 | 275 | codeparrot/github-code |
d6d3564e0df793be479201a5e4555acacea67cc4ec929a9e95703acf01eed55e | /**
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* 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 a... | Java | jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/xml/UserTaskHandler.java | ibek/jbpm | apache-2.0 | 8,296 | 172 | codeparrot/github-code |
513d5fa3b654aeee64614f7a6969dd41bd5f4856068f9fdff34e532e2878b95c | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Modern Business - Start Bootstr... | HTML | templates/startbootstrap/templates/modern-business/404.html | highway7/py_1 | apache-2.0 | 9,399 | 238 | codeparrot/github-code |
026799bc39e5a9986575102ecc172cc0d0d321437b11dd5ab1a15c3068aa5c9f | /*
* 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 SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may... | Java | bundles/extensions/healthcheck/core/src/test/java/org/apache/sling/hc/core/impl/executor/HealthCheckExecutorImplTest.java | plutext/sling | apache-2.0 | 4,523 | 130 | codeparrot/github-code |
89eb4389331254da64aab0415665fd57ede5cddb77d289cd26acdc64c0926149 | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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 a... | Java | kie-wb-common-screens/kie-wb-common-library/kie-wb-common-library-client/src/main/java/org/kie/workbench/common/screens/library/client/screens/importrepository/ImportProjectsScreen.java | romartin/kie-wb-common | apache-2.0 | 2,123 | 62 | codeparrot/github-code |
675c027b4f5a8b04b1553c99c359e093889466b1cb48f3d4aa411f8b3e25d911 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.CodeAnalysis.Diagnostics
{
/// <summary>
/// Options to configure analyzer execution within <see cref="Compilation... | C# | src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzersOptions.cs | VPashkov/roslyn | apache-2.0 | 3,988 | 73 | codeparrot/github-code |
8a575a3eed080370d577d3808e6f3bc980bca23413438df343760c9e00cd471b | /* 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 | modules/flowable5-test/src/test/java/org/activiti/standalone/idgenerator/UuidGeneratorTest.java | dbmalkovsky/flowable-engine | apache-2.0 | 2,955 | 89 | codeparrot/github-code |
d973faddeb83ce4a8896d8a80a3b260f7947d4f8b5fbca50a8b48d28c7adbe9d | package com.dropbox.djinni.test;
import junit.framework.TestCase;
import java.util.Date;
public class RecordWithDerivingsTest extends TestCase {
private final RecordWithDerivings record1 = new RecordWithDerivings((byte)1, (short)2, 3, 4, 5.0f, 6.0,
new Date(7), "String8");
private final RecordWi... | Java | test-suite/handwritten-src/java/com/dropbox/djinni/test/RecordWithDerivingsTest.java | happybits/djinni | apache-2.0 | 2,629 | 62 | codeparrot/github-code |
4fa44e6003aeb6fa75bb0e2fb48a260e0289b58b23f9a892cc0d51323296fffc | """Module containing a preprocessor that converts outputs in the notebook from
one format to another.
"""
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
from .base import Preprocessor
from traitlets import Unicode
class ConvertFiguresPreprocessor(Preprocessor)... | Python | venv/lib/python3.5/site-packages/nbconvert/preprocessors/convertfigures.py | unnikrishnankgs/va | bsd-2-clause | 1,450 | 49 | codeparrot/github-code |
5c899ae27e22064e45b5637146cfc575c8512d52c242bcd5e1c8afc896ba136b | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_
#define COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_
#include <map>
#include <string>
#include <vector>
#include "bas... | C | components/gcm_driver/gcm_client.h | boundarydevices/android_external_chromium_org | bsd-3-clause | 8,582 | 273 | codeparrot/github-code |
d951099ed29e8b66e1601b113df7299c8f4174a9e26272aeb400a69b70780170 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_PROTOCOL_SECURE_CHANNEL_FACTORY_H_
#define REMOTING_PROTOCOL_SECURE_CHANNEL_FACTORY_H_
#include <map>
#include "base/macros.h"
#include... | C | remoting/protocol/secure_channel_factory.h | js0701/chromium-crosswalk | bsd-3-clause | 2,073 | 61 | codeparrot/github-code |
bb45c75b5225e6861e95a35003e596ceaf3240614ae2fce3904c7c556d22463a | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.tabmodel;
import org.chromium.base.ObserverList;
import org.chromium.base.TraceEvent;
import org.chromium.chrome.brow... | Java | chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelBase.java | mohamed--abdel-maksoud/chromium.src | bsd-3-clause | 22,937 | 631 | codeparrot/github-code |
aea3196bb54c7496aaa3a5d5bb448ac2f80e850f3d7d9e44a3c12986811b1b32 | #ifndef ALITPCQADATAMAKERREC_H
#define ALITPCQADATAMAKERREC_H
/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/// \class AliTPCQADataMakerRec
/// \brief Based on AliPHOSQADataMaker: produces the data needed to calc... | C | TPC/TPCbase/AliTPCQADataMakerRec.h | miranov25/AliRoot | bsd-3-clause | 2,497 | 77 | codeparrot/github-code |
8dc561abf6070d624e86387a8deeb27c3adf199a236941a9f43ee873b920fead | /**
* \file luashim.c
* \brief Lua shim for premake binary modules.
* \author Copyright (c) 2017 Tom van Dijck and the Premake project
*/
#include "luashim.h"
#include <assert.h>
#include "lstate.h"
static const LuaFunctionTable_t* g_shimTable;
void luaL_register(lua_State *L, const char *libname, const luaL_Reg *... | C | contrib/luashim/luashim.c | mandersan/premake-core | bsd-3-clause | 19,016 | 862 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.