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 |
|---|---|---|---|---|---|---|---|---|
c66a3d1fd6649e28569c8b854bcb2e7222f373d0ea500e596f231fc99a9b88a2 | package net.ripe.db.whois.common.support;
import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import java.util.Arrays;
public class ByteArrayContains extends BaseMatcher<byte[]> {
private byte[] needle;
public ByteArrayContains(byte[] needle) {
this.needle = needle;
}
public ... | Java | whois-commons/src/test/java/net/ripe/db/whois/common/support/ByteArrayContains.java | michelafrinic/WHOIS | bsd-3-clause | 2,539 | 89 | codeparrot/github-code |
55f7c829249488bd57fa6bcb10187d2801c81067c0578e2556df00d587da9df5 | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C | modules/video_coding/codec_database.h | aleonliao/webrtc-trunk | bsd-3-clause | 6,307 | 168 | codeparrot/github-code |
fd7ef5b3833f95f740adbe48354e3eab0423f5bf942ead05ad99a3392ff44f2c | function CanvasPattern(image, repetition) {
this._shader = null;
// image should be an SkImage returned from HTMLCanvas.decodeImage()
this._image = image;
this._transform = CanvasKit.SkMatrix.identity();
if (repetition === '') {
repetition = 'repeat';
}
switch(repetition) {
case 'repeat-x':
... | JavaScript | modules/canvaskit/htmlcanvas/pattern.js | Hikari-no-Tenshi/android_external_skia | bsd-3-clause | 1,962 | 69 | codeparrot/github-code |
88e3af937571a42ded9a126a5ad6af252468c371863f728fcf25567540f60c1f | <?php
namespace common\components;
use yii\web\AssetBundle as YiiBundle;
/**
* Class AssetBundle
* Добавлена возможность подключения минифицированного кода в зависимости от окружения
* @package common\components
* @author Churkin Anton <webadmin87@gmail.com>
*/
class AssetBundle extends YiiBundle
{
/**
... | PHP | common/components/AssetBundle.php | cangsalak/rzwebsys7 | bsd-3-clause | 795 | 45 | codeparrot/github-code |
d439d01c86324fb53454e46cf11043b26825e22d172a0e3f517d1466aac9c724 | /*
rojo #7E0E10
azul #052446
azul claro #055b8e
beige #cabe57
beige claro (letra) #c7c68d
*/
@font-face {
font-family: 'LullabyRegular';
src: url('fonts/lullaby-webfont.eot');
src: url('fonts/lullaby-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/lullaby-webfont.woff') fo... | CSS | static/static/style.css | bkahlerventer/web2congress | bsd-3-clause | 29,127 | 1,510 | codeparrot/github-code |
ac51ed79ad9325de507443202c9e22d51519ce1b35939f738c3ba8c1c1390be7 | module Spree
module UserMethods
extend ActiveSupport::Concern
include Spree::UserApiAuthentication
include Spree::UserReporting
include Spree::UserAddressBook
include Spree::UserPaymentSource
included do
extend Spree::DisplayMoney
has_many :role_users, foreign_key: "user_id", cl... | Ruby | core/app/models/concerns/spree/user_methods.rb | devilcoders/solidus | bsd-3-clause | 2,357 | 57 | codeparrot/github-code |
1c782f4ee1bdd1ee5efc8bdfa6b7c256fa57d59bdab1c5bb4409774ad61d8c11 | /*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... | C | lapack-netlib/LAPACKE/src/lapacke_dtgevc.c | xianyi/OpenBLAS | bsd-3-clause | 3,882 | 87 | codeparrot/github-code |
1802739a689dd40b555ae61385c75b165b3085c36fba7c3e555854c1d6bfa030 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web.Mvc;
using Orchard.DynamicForms.Elements;
using Orchard.Environment.Extensions;
using Orchard.Forms.Services;
using Orchard.Layouts.Framework.Display;
using Orchard.Layouts.Framework.Drivers;
using Orchard.T... | C# | src/Orchard.Web/Modules/Orchard.DynamicForms/Drivers/TaxonomyElementDriver.cs | smartnet-developers/Orchard | bsd-3-clause | 8,538 | 172 | codeparrot/github-code |
b66d5e29e5edb7a3499cc067ce47bd8b9945fe7afa239516dcbd0515e9424f24 | // 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.
// See http://dev.chromium.org/developers/design-documents/multi-process-resource-loading
#include "content/common/resource_dispatcher.h"
#include "... | C++ | content/common/resource_dispatcher.cc | gavinp/chromium | bsd-3-clause | 25,466 | 708 | codeparrot/github-code |
a423c2a61d4351086c9a93451f113d4195002bdefa9e8eefa40817f780fac6d9 | <!DOCTYPE html>
<!--
Copyright (c) 2015 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.
-->
<link rel="import" href="/tracing/ui/base/heading.html">
<link rel="import" href="/tracing/ui/base/ui.html">
<link rel="import" href="... | HTML | tracing/tracing/ui/tracks/chart_track.html | catapult-project/catapult | bsd-3-clause | 8,478 | 282 | codeparrot/github-code |
39ead8aabc3303c53ea0edadf180fecebf521e475712a2b1080c289a9b404cbe | ## @file
# This file is used to define common parsing related functions used in parsing
# Inf/Dsc/Makefile process
#
# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD Li... | Python | BaseTools/Source/Python/Eot/Parser.py | intel/ipmctl | bsd-3-clause | 33,751 | 850 | codeparrot/github-code |
1da81abc032ddbef31e674d7efbc899424f8893627ff45d79d953b9e809e742c | /*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... | C | lapack-netlib/LAPACKE/src/lapacke_ztgsja.c | xianyi/OpenBLAS | bsd-3-clause | 4,641 | 104 | codeparrot/github-code |
a9919fdc0ce93cc4157858b6440a29c668740681168f61198d7de25b417bb31a | /***************************************************************************/
/* */
/* t1gload.c */
/* */
/* Ty... | C | Utilities/vtkfreetype/src/type1/t1gload.c | jeffbaumes/jeffbaumes-vtk | bsd-3-clause | 17,439 | 498 | codeparrot/github-code |
d0f2344c242f20b2e9e12640c6332abffed3bdf8cf24cc26c309c892b76b203c | var cdb = require('cartodb.js-v3');
/**
* Time input for date field
*
* Place to change hours, minutes and seconds
* for the date field.
*
*/
module.exports = cdb.core.View.extend({
className: 'TimeInput',
events: {
'keydown .js-input': '_onKeyDown',
'keyup .js-input': '_onKeyUp'
},
ini... | JavaScript | lib/assets/javascripts/cartodb/common/edit_fields/date_field/time_input/time_input_view.js | bloomberg/cartodb | bsd-3-clause | 1,048 | 55 | codeparrot/github-code |
2578c254033cfb8c759b6ad1040fc42b39ea3ac8956f0963c303d451eb4b73c8 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Orchard.Localization;
using System.Web;
namespace Orchard.Utility.Extensions {
public static class StringExtensions {
public static strin... | C# | src/Orchard/Utility/Extensions/StringExtensions.cs | bigfont/orchard-cms-modules-and-themes | bsd-3-clause | 12,383 | 352 | codeparrot/github-code |
ca8d2d0356e8444b3c0875c2813ce20ec946b2f8b9265b1860de0a2036079b2d | /*
* Copyright (C) 2007, 2008 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | C++ | third_party/WebKit/Source/core/editing/PositionIterator.cpp | vadimtk/chrome4sdp | bsd-3-clause | 7,351 | 182 | codeparrot/github-code |
57b971a043cb5a4e447f1eff62d2840b3ed745c669ec15751c902c0d26e9a3d0 | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* 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 sou... | JavaScript | lib/ace/ext/whitespace.js | paladox/ace | bsd-3-clause | 8,000 | 244 | codeparrot/github-code |
c3575f466d95196bb24588d44fa555fd7d6eadb2d563ca56b06910ce42b3c426 | // Copyright 2019 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.directactions;
import android.annotation.TargetApi;
import android.os.Bundle;
import androidx.annotation.NonNull;
i... | Java | chromium/chrome/android/java/src/org/chromium/chrome/browser/directactions/DirectActionCoordinator.java | ric2b/Vivaldi-browser | bsd-3-clause | 3,087 | 89 | codeparrot/github-code |
839d245e870c833487cd768360976d3728eeb4f52a7a4f4a665b9d56a01536ed | // 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 "chrome/browser/extensions/webstore_install_helper.h"
#include <string>
#include "base/bind.h"
#include "base/values.h"
#include "chrome/co... | C++ | chrome/browser/extensions/webstore_install_helper.cc | junmin-zhu/chromium-rivertrail | bsd-3-clause | 6,514 | 202 | codeparrot/github-code |
2276ba8fb72311b91ce25302fbc9fae1849b6ae4a28485a9ce17a7f274ef348b | /*
* Created by Phil on 8/8/12
* Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#include "catch_assertionresult.h"
namespace Catch {
Assert... | C++ | worker/deps/catch/include/internal/catch_assertionresult.cpp | ibc/MediaSoup | isc | 3,313 | 105 | codeparrot/github-code |
3298dd858103fb48325514e48224ea86b63e0af367e3e7700e5d1548e03ce71c | namespace Oculus.Platform.Models
{
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Oculus.Platform.Models;
public class DeserializableList<T> : IList<T>
{
//IList
public int Count { get {return _Data.Count;} }
bool ICollection<T>.IsReadOnly { get {return ((... | C# | Oculus Demo/Assets/Oculus/Platform/Scripts/Models/DeserializeableList.cs | davidezordan/MixedRealitySamples | mit | 2,084 | 55 | codeparrot/github-code |
98f1bbd75e918fcd5bba1eab5268b82b02e7fdea1a0656a51d368f460aba9c68 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.apache.commons.math3.analysis.function (Commons Math 3.2 API)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/... | HTML | power-log-it/commons-math3-3.2/docs/apidocs/org/apache/commons/math3/analysis/function/package-summary.html | tektyte/Log4-Desktop-PC | mit | 21,861 | 412 | codeparrot/github-code |
ce36ec8c6560926a187132a2b63aac5f0cbd75916dea7cdd033394ba7b3005bf | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
//
// Bot Builder SDK Github:
// https://github.com/Microsoft/BotBuilder
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// MIT License:
/... | C# | CSharp/Library/Fibers/SetField.cs | mmatkow/BotBuilder | mit | 2,536 | 71 | codeparrot/github-code |
3cdb0cdb147052b383a10e50ac0dc38905e96a11c2097c88a0ef386018de090b | import os
from bcbio.utils import file_exists
import bcbio.pipeline.datadict as dd
from bcbio.ngsalign.postalign import dedup_bam
from bcbio.distributed.transaction import file_transaction
from bcbio import broad, bam
def rnaseq_gatk_variant_calling(data):
data = dd.set_deduped_bam(data, dedup_bam(dd.get_work_bam... | Python | bcbio/rnaseq/variation.py | hjanime/bcbio-nextgen | mit | 3,793 | 99 | codeparrot/github-code |
b1ed4c1ccb6fa743bb130a25eb0abb7a2202f42a9430356c6a9620dc4923c61d | from __future__ import unicode_literals, division, absolute_import
import logging
import sys
import os
from flexget import plugin
from flexget.event import event
log = logging.getLogger('change')
found_deprecated = False
class ChangeWarn(object):
"""
Gives warning if user has deprecated / changed config... | Python | flexget/plugins/plugin_change_warn.py | voriux/Flexget | mit | 3,389 | 107 | codeparrot/github-code |
07aaf27631f5bde85107f4462433a48c60161b4c02b733070da63fb2dd4ccffb | // 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.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.T... | C# | src/EditorFeatures/Core/LanguageServer/AbstractInProcLanguageClient.cs | bartdesmet/roslyn | mit | 10,721 | 228 | codeparrot/github-code |
a7b3c002b147bebbf65c28159d47b75252c155d0107fb8706048376c1127508a | /****************************************************************************
Copyright (c) 2010 cocos2d-x.org
http://www.cocos2d-x.org
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 res... | C++ | libs/cocos2dx/platform/android/CCAccelerometer_android.cpp | DmitriyKirakosyan/testNinjaX | mit | 3,151 | 88 | codeparrot/github-code |
361df52247d18aaa60fd6832857a4952970c4144b9efd0c5e2b3dd198f7c1f42 | /*
Gaussian Random Number Generator
Donald H. House July 1, 1982
conversion to C -- Nov. 30, 1989
This function takes as parameters real valued mean and standard-deviation,
and an integer valued seed. It returns a real number which may be
interpreted as a sample of a normally distribute... | C++ | src/util/mathtool/Gauss.cpp | yunhkim/dcshell | mit | 2,222 | 80 | codeparrot/github-code |
000953d72f6d0df430755af5c9c179b22c4d5e7ea4bded142a4d7af160e3495a | <!DOCTYPE html>
<!--html5-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<!-- Mirrored from arduino.cc/en/Reference/StringObject?from=Reference.StringClass by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 06 Feb 2015 20:16:... | HTML | reference/arduino.cc/en/Reference/StringObject2a47.html | chcbaram/CupDrone_IDE | mit | 24,742 | 559 | codeparrot/github-code |
2f7247a99f604961faa5528b2f84444e9f606684f6a2b537b6be547311cef552 | #include "miningpage.h"
#include "ui_miningpage.h"
MiningPage::MiningPage(QWidget *parent) :
QWidget(parent),
ui(new Ui::MiningPage)
{
ui->setupUi(this);
setFixedSize(400, 420);
minerActive = false;
minerProcess = new QProcess(this);
minerProcess->setProcessChannelMode(QProcess::MergedCh... | C++ | src/qt/miningpage.cpp | cryptogizmo/eschilling | mit | 11,537 | 387 | codeparrot/github-code |
c09131be69f0dcc439d65dd6b7526908ac0c0d96ef83fa4d3d1dc03b3d513aa8 | /// <reference path="../Game.ts" />
/// <reference path="../geom/Vector2.ts" />
/// <reference path="Particle.ts" />
/// <reference path="PinConstraint.ts" />
/**
* Phaser - Verlet - Composite
*
*
*/
module Phaser.Verlet {
export class Composite {
/**
* Creates a new Composite object.
*... | TypeScript | wip/verlet/Composite.ts | GoodBoyDigital/phaser | mit | 6,453 | 204 | codeparrot/github-code |
1aef714e023b622e78d167e5a4bf0906926072b9bac1143c92eff5b9f8f362ff | window.common = (function () {
var common = {};
common.getFragment = function getFragment() {
if (window.location.hash.indexOf("#") === 0) {
return parseQueryString(window.location.hash.substr(1));
} else {
return {};
}
};
function parseQueryString(quer... | JavaScript | src/VisitBee/wwwroot/scripts/authComplete.js | ibo549/calWebApp | mit | 1,303 | 52 | codeparrot/github-code |
f639cbd4c5d05cc63c4f940ee3caa9cc3bc9b9c94e4d150dc68bde75ab1a66ce | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_socket_streambuf</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../index.html" title="Asio">
<link rel... | HTML | src/libs/asio/doc/asio/reference/basic_socket_streambuf.html | peersio/peerconnect | mit | 35,690 | 1,021 | codeparrot/github-code |
826b999990ff3d70ef60f6f153be0ab6a3127734f58451eaac5a76a308531ac6 | using System;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using Owin;
using LikesDemo.Models;
namespace LikesDemo.Account
{
public partial class RegisterExternalLogin : System.Web.UI.Page
{
protected string ProviderName
... | C# | ASP.NET-Web-Forms/13. User-Controls/Demo/LikesDemo/Account/RegisterExternalLogin.aspx.cs | shopOFF/TelerikAcademyCourses | mit | 4,674 | 128 | codeparrot/github-code |
720203be523dc4f0509a88709f7fb531cacfe162f6ff9d6724ffeb26ecddb034 | import $ from 'jquery';
import Vue from 'vue';
import Translate from '~/vue_shared/translate';
import csrf from '~/lib/utils/csrf';
import deleteProjectModal from './components/delete_project_modal.vue';
document.addEventListener('DOMContentLoaded', () => {
Vue.use(Translate);
const deleteProjectModalEl = docum... | JavaScript | app/assets/javascripts/pages/admin/projects/index/index.js | mmkassem/gitlabhq | mit | 1,067 | 39 | codeparrot/github-code |
d59bb918c9b1965df09a59031ae54c8d836b4916815b8e44f88011de17281726 | <?php
/**
* @package Grav.Console
*
* @copyright Copyright (C) 2014 - 2016 RocketTheme, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
namespace Grav\Console\Gpm;
use Grav\Common\GPM\GPM;
use Grav\Common\Utils;
use Grav\Console\ConsoleCommand;
use League\CLImate\CLImate... | PHP | system/src/Grav/Console/Gpm/IndexCommand.php | billybobjobo/barefootfunk | mit | 8,370 | 262 | codeparrot/github-code |
934224489199d4a91179c011f94c8eff0d04aaec29015b7a1601b25793cb385f | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | src/vs/editor/contrib/message/messageController.ts | microlv/vscode | mit | 7,212 | 202 | codeparrot/github-code |
3fdc40b9c1d3b5a7efafdf7c2a31e7bfbaec954583afb6090ae7a0d1158621a7 | ########################################################################
# Bio::KBase::ObjectAPI::KBaseBiochem::ReactionSet - This is the moose object corresponding to the ReactionSet object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development location: Mathematic... | Perl | lib/Bio/KBase/ObjectAPI/KBaseBiochem/ReactionSet.pm | samseaver/KBaseFBAModeling | mit | 3,060 | 82 | codeparrot/github-code |
82013cb84f09eac5b5c70807dbaecb2c2f5f6e515e867312aef59cfe055a9db9 |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... | C++ | src/appleseed/renderer/modeling/object/meshobjectoperations.cpp | est77/appleseed | mit | 10,199 | 295 | codeparrot/github-code |
8cad073d53c94f21efde0a3ce9429507605b15af1d8b763e0812053b1b8a0c82 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
// NOTE: A vast majority of this code was copied from BCL in
// ndp\clr\src\BCL\Microsoft\Win32\RegistryKey.cs.
// Namespace: Microsoft.Win32
//
/*
Note on transaction support:
Eventually we will want to add support for NT's transactions... | C# | src/System.Management.Automation/namespaces/TransactedRegistryKey.cs | TravisEz13/PowerShell | mit | 90,633 | 2,092 | codeparrot/github-code |
3524aa431144afeeeede70785f9c104c30fd37a6eb081e0dff568a4285688692 | #ifndef org_apache_lucene_analysis_compound_HyphenationCompoundWordTokenFilter_H
#define org_apache_lucene_analysis_compound_HyphenationCompoundWordTokenFilter_H
#include "org/apache/lucene/analysis/compound/CompoundWordTokenFilterBase.h"
namespace org {
namespace apache {
namespace lucene {
namespace uti... | C | project/venv/lib/python2.7/site-packages/lucene-4.9.0-py2.7-linux-x86_64.egg/lucene/include/org/apache/lucene/analysis/compound/HyphenationCompoundWordTokenFilter.h | devs4v/devs4v-information-retrieval15 | mit | 4,035 | 107 | codeparrot/github-code |
3d8b552cb04e7ca07d3986b504dcbe9f45f7cf7741373734fafef9a09daaebcb | using System;
using System.Collections.Generic;
using System.Web;
using Cassette.HtmlTemplates;
using Cassette.Scripts;
using Cassette.Stylesheets;
namespace Cassette.Views
{
/// <summary>
/// Cassette API facade used by views to reference bundles and render the required HTML elements.
/// </su... | C# | src/Cassette.Views/Bundles.cs | BluewireTechnologies/cassette | mit | 16,886 | 354 | codeparrot/github-code |
3c33c96c8394e4f5ea20e2dc446675d7b8cb74203334298ccec57330ad3ac686 | /*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation 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, an... | Java | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/ui/preferences/CodeTemplatePreferencePage.java | brunyuriy/quick-fix-scout | mit | 5,862 | 180 | codeparrot/github-code |
b1a7da6276a4559ceb2966bbfbf2364e65e09b274e23463d7fd6fb40f0f27eb7 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.commons.math3.exception.MathIllegalStateException (Commons Math 3.2 API)
</TITLE>
<LI... | HTML | power-log-it/commons-math3-3.2/docs/apidocs/org/apache/commons/math3/exception/class-use/MathIllegalStateException.html | tektyte/Log4-Desktop-PC | mit | 58,472 | 854 | codeparrot/github-code |
f2024fa75bc7f4a42fd59fe3b16c3e913b26fb7edde70ce9e7447287ef3d1a7d | #ifndef org_apache_lucene_facet_taxonomy_writercache_NameIntCacheLRU_H
#define org_apache_lucene_facet_taxonomy_writercache_NameIntCacheLRU_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class Class;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace luc... | C | project/venv/lib/python2.7/site-packages/lucene-4.9.0-py2.7-linux-x86_64.egg/lucene/include/org/apache/lucene/facet/taxonomy/writercache/NameIntCacheLRU.h | devs4v/devs4v-information-retrieval15 | mit | 1,874 | 76 | codeparrot/github-code |
50551473b7f162c2a43e70294b17ee1c190c0c5cd7dde0694251f14532043dd9 | module Admin
class ApiContentsController < ActionController::Base
include Locomotive::Routing::SiteDispatcher
before_filter :require_site
before_filter :set_content_type
def create
@content = @content_type.contents.build(params[:content])
respond_to do |format|
if @content.sav... | Ruby | app/controllers/admin/api_contents_controller.rb | dickeyxxx/girltalk | mit | 1,166 | 40 | codeparrot/github-code |
c90fca0027aec213b9c1dd78b0aec15b0dfada4ae2ffffdd3da4cb2184d6bcb7 | (function() {
var sync = Backbone.sync;
var ajax = Backbone.ajax;
var history = window.history;
var pushState = history.pushState;
var replaceState = history.replaceState;
QUnit.testStart(function() {
var env = this.config.current.testEnvironment;
// We never want to actually call these during te... | JavaScript | test/environment.js | paulmillr/exoskeleton | mit | 957 | 40 | codeparrot/github-code |
7aa0751e071cdb4bfdf5d5e695ffc00f6f7427c974beac488a09415be6f664d8 | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('primeng/dom'), require('primeng/api')) :
typeof define === 'function' && define.amd ? define('primeng/blockui', ['exports', '@angular/core'... | JavaScript | ajax/libs/primeng/10.0.3/bundles/primeng-blockui.umd.js | cdnjs/cdnjs | mit | 5,172 | 114 | codeparrot/github-code |
b5e3f8c192121092cbccd61172c24105e97a03f0631b06a3bf8c300ebc93bce6 | $_L(["$wt.custom.StyledTextRenderer"],"$wt.custom.DisplayRenderer",["$wt.graphics.GC"],function(){
c$=$_C(function(){
this.parent=null;
this.topIndex=-1;
this.layouts=null;
$_Z(this,arguments);
},$wt.custom,"DisplayRenderer",$wt.custom.StyledTextRenderer);
$_K(c$,
function(device,regularFont,parent,tabLength){... | JavaScript | sources/net.sf.j2s.lib/j2slib/org/eclipse/swt/custom/DisplayRenderer.js | modulexcite/mayloon-portingtool | epl-1.0 | 5,249 | 162 | codeparrot/github-code |
d525fb245ef670bcfaa7e81a7b3c2e4c7b9e20ffd202fe62b877b9f407de951b | /**
* Code copied from org.eclipse.jdt.ui.
*/
package com.intel.ide.eclipse.mpt.ast;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.c... | Java | com.intel.ide.eclipse.mpt/src/com/intel/ide/eclipse/mpt/ast/QuickAssistProcessor.java | 01org/mayloon-portingtool | epl-1.0 | 5,686 | 139 | codeparrot/github-code |
3642b3bceb51ee75f5903fdfcd7df512f230025fe2ca03a3469d7e3478fe88ea | /**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on Jul 13, 2006
... | Java | src/org/python/pydev/shared_ui/proposals/PyCompletionPresentationUpdater.java | siddhika1889/Pydev-Dependencies_2 | epl-1.0 | 4,573 | 122 | codeparrot/github-code |
79754a16528730e612b89dc4672e853ff897554f06ff492b668e737d303d6eb6 | /**
* 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/binding/org.openhab.binding.astro/src/main/java/org/openhab/binding/astro/internal/model/SunZodiac.java | hubermi/openhab | epl-1.0 | 1,329 | 56 | codeparrot/github-code |
cc665f194a39412e5dc02a8ec350db53e8ef5638640671bdba17037b69892cae | /*
* xhci-plat.c - xHCI host controller driver platform Bus Glue.
*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com
* Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
*
* A lot of code borrowed from the Linux xHCI driver.
*
* This program is free software; you can redistribute i... | C | drivers/usb/host/xhci-plat.c | ziozzang/rhel6-kernel-src | gpl-2.0 | 6,010 | 254 | codeparrot/github-code |
bdae42ebc2cca82c4b3947a82d5580fc953acc943e1c0d60e85dc4479666e3b7 | /*
* Bridge netlink control interface
*
* Authors:
* Stephen Hemminger <shemminger@osdl.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... | C | net/bridge/br_netlink.c | gazoo74/linux | gpl-2.0 | 48,403 | 1,678 | codeparrot/github-code |
b4ffb6d941d0b6d12a3a057f67076130c4e176d098adea68eefa7a21db67bed9 | #include "util.h"
#include <QTime>
#include <QStringListIterator>
#include <QDir>
namespace Util {
bool IsValidUrl(QString url)
{
QRegExp rx("^[a-z]{2,}://", Qt::CaseInsensitive); // url
return (rx.indexIn(url) != -1);
}
QString FormatTime(int _time, int _totalTime)
{
QTime time = QTime::fromMSecsSince... | C++ | src/util.cpp | baifenbenniao/Baka-MPlayer | gpl-2.0 | 4,380 | 185 | codeparrot/github-code |
ad027d598f0a49bfbd4bb9dea280b19ea1edbc44b9c79ea53b2b9fd69cbca294 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C | engines/mohawk/cstime.h | blorente/scummvm | gpl-2.0 | 5,126 | 189 | codeparrot/github-code |
627997814059a13c51cf4c07993478083f0232758be0b4614968db805cc097ae | /* linux/arch/arm/plat-s5p/bootmem.c
*
* Copyright (c) 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Bootmem helper functions
*
* 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 ... | C | arch/arm/plat-s5p/bootmem.c | sktjdgns1189/android_kernel_samsung_SHW-M190S | gpl-2.0 | 3,268 | 141 | codeparrot/github-code |
351bc8557bc34146c2487190d07eb4b798eeb1074997323a4710f35babe17227 | // SPDX-License-Identifier: Apache-2.0
/*
* Copyright (C) 2014 Intel Corporation
*
*/
#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include <cutils/properties.h>
#include "hal-log.h"
#include "hal.h"
#include "hal-msg.h"
#include "ipc-common.h"
#include "hal-ipc.h"
static cons... | C | android/hal-handsfree-client.c | cktakahasi/bluez | gpl-2.0 | 15,501 | 643 | codeparrot/github-code |
2830c5a2576966eebebfa0e1615e88ddb5d5f31cbb2b401be8359e7c527661b6 | #include <rsf.h>
#include "cemdutil2.h"
#define DEFAULT_THRESHOLD 0.05
#define DEFAULT_TOLERANCE 0.05
#define DEFAULT_NBPHASES 4
#define MAX_ITERATIONS 1000
#define LIM_GMP 30000
#define NBSYM 2
#define SQUARE(A) (A*A)
#define CUBE(A) (A*A*A)
#define GREATER(A,B) ((A) >= (B) ? (A) : (B))
#define SMALLER(A,B) ((A) < (... | C | user/chenyk/cemdutil2.c | zxtstarry/src | gpl-2.0 | 21,471 | 661 | codeparrot/github-code |
7883be31e2ffa278371a22093d3d4cc13cd7deaa224e7e072debdccecb5a006d | <?php
// $HeadURL: https://joomgallery.org/svn/joomgallery/JG-2.0/JG/trunk/administrator/components/com_joomgallery/models/fields/cbcategory.php $
// $Id: cbcategory.php 4006 2012-12-03 18:40:40Z erftralle $
/****************************************************************************************\
** JoomGallery 2 ... | PHP | administrator/components/com_joomgallery/models/fields/cbcategory.php | finchiefin/olympian | gpl-2.0 | 2,727 | 71 | codeparrot/github-code |
8573690955f52d72806febdfcaf0eacd8d5db80f18b6d1a295bcc516c83e6919 | /*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.4.1
*/
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
*/
/**
* The animation modul... | JavaScript | plugins/Ajax/htdocs/images/yui/animation.js | scc/slash | gpl-2.0 | 48,334 | 1,378 | codeparrot/github-code |
bbe8541ab1d550ee96ab801482afa02299d81d41b2df6c7c4159664e4f0934fe | /*
* NET3: A (fairly minimal) implementation of synchronous PPP for Linux
* as well as a CISCO HDLC implementation. See the copyright
* message below for the original source.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as pu... | C | drivers/net/wan/syncppp.c | alexbousso/kernel_2.4.18-14 | gpl-2.0 | 38,256 | 1,425 | codeparrot/github-code |
383c20d0194028c300e394ec79f67ddfa84b1d5de615b6bf8e1c8c7ffd518388 | /*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2010 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/collision/Management/VMapManager2.cpp | Riztazz/trinitycore-m4a | gpl-2.0 | 10,914 | 298 | codeparrot/github-code |
029885753ab7cbcc735548fc1dff84bf84dc2fef11293c6c6124a85ecad7d3c4 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/)
See the file 'doc/COPYING' for copying permission
"""
import logging
import os
import re
import shlex
import sqlite3
import sys
import tempfile
import time
import urllib2
from lib.core.common import dataT... | Python | NoobSecToolkit /tools/inject/lib/utils/api.py | krintoxi/NoobSec-Toolkit | gpl-2.0 | 26,576 | 786 | codeparrot/github-code |
073b5e1822176843b9920e33bbbb686304e2862869d5650dd16e4bc1036f4576 | /*
* Copyright (C) 2008-2013 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/Guilds/Guild.cpp | buttlerkid/255 | gpl-2.0 | 97,038 | 2,898 | codeparrot/github-code |
2c2058555de70948a723cc16243851667bb8c1a033ac4da2eb7df9196ebdb8c7 | /*
* drivers/cpufreq/cpufreq_smartass2.c
*
* Copyright (C) 2010 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distribut... | C | drivers/cpufreq/cpufreq_smartass2.c | Evervolv/android_kernel_htc_msm7x30 | gpl-2.0 | 26,354 | 869 | codeparrot/github-code |
8987774776496c1984a9bfeeb5aba6bea6f76a5f952469c512a7d78a938d9937 | //# EarthMagneticEngine.cc: Engine for TaQL UDF EarthMagnetic conversions
//# Copyright (C) 2016
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Fre... | C++ | meas/MeasUDF/EarthMagneticEngine.cc | bmerry/casacore | gpl-2.0 | 15,136 | 444 | codeparrot/github-code |
e4691182742a3690e3b6f6d70db0ec37037896843d9cc9e9065a8c4c4b330b9d | <div class="clearfix">
<h2>Section 1</h2>
<h3><?php echo $helper->get ('field1') ?></h3>
<p><?php echo $helper->get ('list') ?></p>
<p><?php echo $helper->get ('table') ?></p>
</div>
<div class="clearfix">
<h2>Table Data</h2>
<?php
$rows = $helper->getRows('table.name');
$cols = $helper->getCols('table... | PHP | modules/mod_ja_acm/acm/sample/tmpl/style-1.php | ForAEdesWeb/AEW22 | gpl-2.0 | 1,544 | 52 | codeparrot/github-code |
177361282634ecdeb48f8cb02f41206f883715b7eea3e396dfe95febce240cf4 | /*
* Copyright (C) 2008-2011 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/VioletHold/boss_erekem.cpp | wonopon/chupalaquecuelga | gpl-2.0 | 11,826 | 341 | codeparrot/github-code |
94b045b73bf75bfa9bb0a1445c842b9314d290000c5434e252e93b4420161dfe | <html lang="en">
<head>
<title>MCore Options - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#T... | HTML | release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/share/doc/arm-arm-none-eabi/html/gcc/MCore-Options.html | hajuuk/asuswrt | gpl-2.0 | 5,202 | 95 | codeparrot/github-code |
2db0c4a310c5d7ccaa13c2cc264510b0785f292c7f1b734bac57ccd0453a5654 | /*
* Copyright (C) 2010 Google 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 | jdk11/src/libcore/benchmarks/src/benchmarks/regression/CharsetBenchmark.java | google/desugar_jdk_libs | gpl-2.0 | 2,936 | 85 | codeparrot/github-code |
c7a04e46657c92c931b114bc0191bb9f86d117f191d92f6aa708aa06473b68cc |
#include "Os.h"
#include "application.h"
#include "internal.h"
#include "task_i.h"
#include "sys.h"
#include <assert.h>
#include <string.h>
/**
* Will sleep for sleep ticks. This works only for extended
* tasks. If sleep is 0 it will just call the dispatcher to
* see if there is anything with higher or... | C | autosar/src/core/system/kernel/sleep.c | sics-sse/moped | gpl-2.0 | 1,658 | 72 | codeparrot/github-code |
31dce6bbf10373ea824ddb987a7cd144311fc4603ec2f9dfeaba2a2fc9e545b0 | <?php
/**
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to firmasite_comment() which is
* located in the functions.php file.
*
* @package firmasite
* @since firmasite 1.0
*/... | PHP | wp-content/themes/firmasite/comments.php | trujunzhang/wordpress_byethost | gpl-2.0 | 2,817 | 77 | codeparrot/github-code |
416dfadbd026cc0a447a4597a8fdef5b818aeab0b6ca5a0fa761705e9f915868 | /*! Hammer.JS - v1.0.5 - 2013-04-07
* http://eightmedia.github.com/hammer.js
*
* Copyright (c) 2013 Jorik Tangelder <j.tangelder@gmail.com>;
* Licensed under the MIT license */
(function(window, undefined) {
'use strict';
/**
* Hammer
* use this to create instances
* @param {HTMLElement} element
* @pa... | JavaScript | js/jquery.hammer.js | luanrafael/Projeto-IHC | gpl-2.0 | 48,721 | 1,529 | codeparrot/github-code |
c966080e5725ebb1d82bcc0d9439c30c77e5cda6dadfc57a4a0661c72f3eb1de | <html lang="en">
<head>
<title>Global Reg Vars - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html... | HTML | release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/share/doc/arm-arm-none-eabi/html/gcc/Global-Reg-Vars.html | hajuuk/asuswrt | gpl-2.0 | 7,584 | 142 | codeparrot/github-code |
1e24b16f46091a6d448c4516b7fc3596b05003c435ca2046d38549d89f53a4ec | /*
* NET3 IP device support routines.
*
* 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.
*
* Derived from the... | C | net/ipv4/devinet.c | tank0412/android_kernel_xiaomi_latte | gpl-2.0 | 59,117 | 2,344 | codeparrot/github-code |
9abba73cbbb148bb61ee1be76638bbe1d2d93f7fbc85693924dec52305319b80 | <?php
class NextendSmartsliderAdminControllerSettings extends NextendSmartsliderAdminController {
function NextendSmartsliderAdminControllerSettings($key) {
parent::NextendSmartsliderAdminController($key);
}
function defaultAction($form = 'default') {
if ($this->canDo('core.adm... | PHP | wp-content/plugins/smart-slider-2/library/smartslider/admin/controllers/settings.php | lspfeiffer/wordpress | gpl-2.0 | 1,707 | 55 | codeparrot/github-code |
5ad8a8e23c2170b32da1ae95121f9822572b499540bb4fefcec4cf51ebf378f1 | /* export_object.c
* Common routines for tracking & saving objects found in streams of data
* Copyright 2007, Stephen Fisher (see AUTHORS file)
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute ... | C | ui/gtk/export_object_dlg.c | ryandoyle/wireshark | gpl-2.0 | 15,647 | 519 | codeparrot/github-code |
64c7cc3fee3cad2788c4e4b83dbe19179b7401dcc7e913d0e3c59fa42a98a7ec | /*****************************************************************************
* Controller_widget.cpp : Controller Widget for the controllers
****************************************************************************
* Copyright (C) 2006-2008 the VideoLAN team
* $Id: 5b5e62bf5631b94da26aaa11c53c075501892192 $
*... | C++ | modules/gui/qt4/components/controller_widget.cpp | hustcalm/vlc-player | gpl-2.0 | 9,644 | 305 | codeparrot/github-code |
852fff8d136b2f3a4e588d51e8da47dc969fa2ca3e7a0326e799b3703f3a106d | /* zutil.c -- target dependent utility functions for the compression library
* Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: zutil.c 5666 2007-02-06 22:02:28Z mike $ */
#include "zutil.h"
#ifndef NO_DUMMY_DECL
struct internal_sta... | C | user/microwin/nxlib/fltk-1.1.8rc3/zlib/zutil.c | ZHAW-INES/rioxo-uClinux-dist | gpl-2.0 | 7,177 | 319 | codeparrot/github-code |
7c18e02bf17604c5068315701e974d5a260223f9caf2c82c931a5c132afe1099 | // SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2009
* Marvell Semiconductor <www.marvell.com>
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
*/
#include <common.h>
#include <command.h>
#include <cpu_func.h>
#include <env.h>
#include <init.h>
#include <log.h>
#include <net.h>
#include <netdev.h>
#i... | C | arch/arm/mach-kirkwood/cpu.c | CTSRD-CHERI/u-boot | gpl-2.0 | 7,314 | 289 | codeparrot/github-code |
086ff007db823efd9bd6b1b98aaa1d98730770ba3e03bd21ab4ed682b719798f | // { dg-options "-std=gnu++11" }
template<typename T> struct add_pointer;
template<typename T> struct add_reference;
template<template<class T> class... Metafunctions>
struct metatuple {
static const int value = 0;
};
template<>
struct metatuple<add_pointer> {
static const int value = 1;
};
template<template<cla... | C++ | gcc/testsuite/g++.dg/cpp0x/variadic20.C | albertghtoun/gcc-libitm | gpl-2.0 | 1,661 | 48 | codeparrot/github-code |
d1d83fa5c167baf8aa87c052f895e6a34060d99fe16fd3f43005bb8e4e3e5472 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The migrate command-line tool."""
import sys
import inspect
import logging
from optparse import OptionParser, BadOptionError
from migrate.versioning import api, exceptions
from migrate.versioning.config import *
from migrate.versioning.util import asbool
alias = dic... | Python | lib/python2.7/site-packages/sqlalchemy_migrate-0.6-py2.6.egg/migrate/versioning/shell.py | evensonbryan/yocto-autobuilder | gpl-2.0 | 6,390 | 211 | codeparrot/github-code |
a66e670033cc7aae5a6addf9155641cf2cec301a828b28e5eec159d6b55edb73 | /* Enqueue and list of read or write requests, 64bit offset version.
Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it under... | C | sysdeps/pthread/lio_listio64.c | Chilledheart/glibc | gpl-2.0 | 1,247 | 34 | codeparrot/github-code |
bf8a94c20598fa89cebde7b341f2005f823be47c1a9f4da6423bbbdd2f96713b | !
! Copyright (C) 2010 PWSCF group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
!-----------------------------------------------------------------------
SUBROUTIN... | FORTRAN | PHonon/D3/d3ionq.f90 | maxhutch/quantum-espresso | gpl-2.0 | 17,665 | 479 | codeparrot/github-code |
6fd8c07bb56b144bf85b4f04e1032ba060fb07e8e3d5f72cd5f94a22c0cc2945 | /**************************************************************************/
/* */
/* Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/. */
/* */
/* NXCOMP, N... | C++ | nxcomp/Alpha.cpp | fcarvajaldev/nx-libs | gpl-2.0 | 3,789 | 127 | codeparrot/github-code |
7d23b0aacb072f5aab0b02e18f8b74db884a66195d81dad3932feb021d969277 | /* Definitions and declarations required to compile autopilot code on a
i386 architecture. Bindings for OCaml. */
#define MODULES_C
#include <stdio.h>
#include <assert.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <time.h>
#include <string.h>
#include "std.h"
#include "inter_mcu.h"
#include "autopilot.h"... | C | sw/airborne/arch/sim/sim_ap.c | arbuzarbuz/paparazzi | gpl-2.0 | 2,935 | 140 | codeparrot/github-code |
a72abda0f768bb38471f99872e3f65e3fdea773b4d79cfefe7b2a6e53a5b872f | <?php
global $wpsc_query, $wpdb;
?>
<div id='products_page_container' class="wrap wpsc_container">
<?php if(wpsc_has_breadcrumbs()) : ?>
<div class='breadcrumb'>
<a href='<?php echo get_option('product_list_url'); ?>'><?php echo get_option('blogname'); ?></a> »
<?php while (wpsc_have_breadcrumbs()) : wps... | PHP | wp-content/uploads/wpsc/themes/marketplace/list_view.php | nurbsurf/downtoearth-tx | gpl-2.0 | 9,266 | 208 | codeparrot/github-code |
640cccd36da2ea40d2e8c834df09fc5530efd0a77ecb212644043c077d5273bb | /*
* drivers/gpu/ion/ion_cp_heap.c
*
* Copyright (C) 2011 Google, Inc.
* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed... | C | drivers/gpu/ion/ion_cp_heap.c | nyterage/S4_Mini_CM10.1 | gpl-2.0 | 34,489 | 1,294 | codeparrot/github-code |
3ff5edfc3c067169d1dbac433c5a765064c9ee4d6bbce20531f95868c15a6214 | /*____________________________________________________________________________
FreeAmp - The Free MP3 Player
MP3 Decoder originally Copyright (C) 1996-1997 Xing Technology
Corp. http://www.xingtech.com
Portions Copyright (C) 1998-1999 Emusic.com
This program is free software; you can redistribu... | C | code/mp3code/l3.h | TheSil/WhoracleMod | gpl-2.0 | 3,952 | 167 | codeparrot/github-code |
acf9e3cb9fe4ae1c831d0db99a375e52c40d4dc0bef2126adfdd6da09730c948 | <?php
/**
* HUBzero CMS
*
* Copyright 2005-2011 Purdue University. All rights reserved.
*
* This file is part of: The HUBzero(R) Platform for Scientific Collaboration
*
* The HUBzero(R) Platform for Scientific Collaboration (HUBzero) is free
* software: you can redistribute it and/or modify it under the terms o... | PHP | core/components/com_cart/admin/views/orders/tmpl/downloadorders.php | kevinwojo/hubzero-cms | gpl-2.0 | 5,235 | 158 | codeparrot/github-code |
bd5736497e4b9e14267972d76efd9d7ab5c01b2107ec31bc034472d11be56af7 | /**************************************************************************
* Copyright (c) 2007, Intel Corporation.
* All Rights Reserved.
* Copyright (c) 2008, Tungsten Graphics, Inc. Cedar Park, TX., USA.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* unde... | C | drivers/video/adf/intel/core/common/hdmi/hdmi_hdcp.c | CM-CHT/android_kernel_intel_cherrytrail | gpl-2.0 | 35,733 | 1,408 | codeparrot/github-code |
27b13a92ced02fedc1883649f9accbc42f82a77334f7b1072f474f3e2d58a0a3 | /*
* Copyright (c) 2007, 2012, 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 | graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/bytecode/BC_lcmp.java | lewurm/graal | gpl-2.0 | 2,045 | 73 | codeparrot/github-code |
6aaee2bf2312069101de9a6bbb3ba2496d77f0a1b256b05e5a77fe391e363a18 | /* $Id$ */
/** @file
* VBox Qt GUI - UIToolBar class implementation.
*/
/*
* Copyright (C) 2006-2014 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the t... | C++ | src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp | mirror/vbox | gpl-2.0 | 2,989 | 106 | codeparrot/github-code |
d4df02da278f9ff24fa1cb2fdf937a792fd18d64d5a6effa2b04ea2022f302f6 | /* Copyright (C) 2007-2016 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 published by the Free Software Foundation; either
version 2.1 of the ... | C | sysdeps/unix/sysv/linux/wordsize-64/fallocate.c | Chilledheart/glibc | gpl-2.0 | 1,160 | 35 | codeparrot/github-code |
e746355d731654e95b718236669e0255eec81d8a9e7229584cef6a67299c9f15 | /*
* libvirt-stream.c: entry points for virStreamPtr APIs
*
* Copyright (C) 2006-2014 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the L... | C | src/libvirt-stream.c | jfehlig/libvirt | gpl-2.0 | 18,065 | 706 | codeparrot/github-code |
b5d4142ae00e739a198d23d5a106bf3ce0d8e46e653f0efab95e86ae6e1f0362 | #include "platform.h"
#include "lolevel.h"
void shutdown()
{
volatile long *p = (void*)0xc022002c;
asm(
"MRS R1, CPSR\n"
"AND R0, R1, #0x80\n"
"ORR R1, R1, #0x80\n"
"MSR CPSR_cf, R1\n"
:::"r1","r0");
*p = 0x46;
while(1);
}
... | C | platform/s2is/lib.c | arne182/chdk-eyefi | gpl-2.0 | 1,420 | 76 | codeparrot/github-code |
bc7109b9c7917bd9e5746f0b2d8ff22fe162c1a23f48e94718490797bda8a26a | /*
* OpenRPT report writer and rendering engine
* Copyright (C) 2001-2011 by OpenMFG, LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or ... | C++ | src/plugins/openrptplugin/openrpt/common/parameterproperties.cpp | deavid/alepherp | gpl-2.0 | 8,131 | 317 | codeparrot/github-code |
8ecf1ea6135edb39681a5bd2d76c92ad488d0b0f697556ae843ed0d5176b75f8 | # 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 u... | Python | scripts/vm/network/vnet/cloudstack_pluginlib.py | ikoula/cloudstack | gpl-2.0 | 17,502 | 446 | codeparrot/github-code |
f3e24ead3a93aee1e75b5867cc2e619d9b0cb5999397bd407c869ee140c21e9b | /* Copyright (C) 2003-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Carlos O'Donell <carlos@baldric.uwo.ca>, 2005.
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 publish... | C | sysdeps/unix/sysv/linux/hppa/atomic-machine.h | Chilledheart/glibc | gpl-2.0 | 3,472 | 104 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.