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 |
|---|---|---|---|---|---|---|---|---|
e93a8f423f1a5de240b7be669f05c0896ee3243a543aae5580ef0ed6d7a5aed2 | /*
* linux/drivers/video/ti81xx/vpss/dctrl.c
*
* VPSS display controller driver for TI 81XX
*
* Copyright (C) 2009 TI
* Author: Yihe Hu <yihehu@ti.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 Sof... | C | drivers/video/ti81xx/vpss/dctrl.c | nazgee/igep-kernel | gpl-2.0 | 61,473 | 2,627 | codeparrot/github-code |
ba48f4d468a46a1b75168acb75bf422e01125fe695b08c183d9fb2ad3e1dcc3c | /*-------------------------------------------------------------------------
_fsreturnval.c - Floating point library in optimized assembly for 8051
Copyright (c) 2004, Paul Stoffregen, paul@pjrc.com
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU General P... | C | windows64/p8/share/sdcc/lib/src/_fsreturnval.c | PinguinoIDE/pinguino-compilers | gpl-2.0 | 2,557 | 116 | codeparrot/github-code |
e57b2b644e8774ae06672b1933bd51b5a3063a541cde7f0bd29726f0bd1af441 | // SPDX-License-Identifier: GPL-2.0-only
/*
* e750-wm9705.c -- SoC audio for e750
*
* Copyright 2007 (c) Ian Molton <spyro@f2s.com>
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/gpio.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <mach/audio.h>
#... | C | sound/soc/pxa/e750_wm9705.c | koct9i/linux | gpl-2.0 | 3,657 | 147 | codeparrot/github-code |
d6f3e9faf72831e3e707dda192ecd7979ee19a084c01b6758bac313c6470f406 | /* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | C | drivers/video/msm/mipi_tc358764_dsi2lvds.c | sgs3/SGH-T999V_Kernel | gpl-2.0 | 24,068 | 813 | codeparrot/github-code |
aee63f0442da8f0d66790cc4e964fcadea90f945c2e0e3dd8605fe840cfc1178 | <?php
// see : http://wordpress.org/support/topic/plugin-nextgen-gallery-ngg-and-featured-image-issue?replies=14
/**
* nggPostThumbnail - Class for adding the post thumbnail feature
*
* @package NextGEN Gallery
* @author Alex Rabe
*
* @version 1.0.2
* @access internal
*/
class nggPostThumbnail {
/**
* PH... | PHP | wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/post-thumbnail.php | rakeybulhasan/IAPP | gpl-2.0 | 11,431 | 366 | codeparrot/github-code |
8b928b9a49f9d9366d075c01d2eaae3f29a2fb10b6cd1eedd2731399055dba67 | <?php
/**
* @package AkeebaBackup
* @copyright Copyright (c)2009-2014 Nicholas K. Dionysopoulos
* @license GNU General Public License version 3, or later
*
* @since 1.3
*/
// Protect from unauthorized access
defined('_JEXEC') or die();
/**
* MVC View for Log
*
*/
class AkeebaViewLog extends FOFViewHtml
{
pu... | PHP | log/administrator/components/com_akeeba/views/log/view.html.php | apachish/tariin | gpl-2.0 | 1,128 | 54 | codeparrot/github-code |
e453c10c6dba12809c0274ea6b43fd6409b55ea10e85f45778a8e46d93ea9d50 | <?php
class Avada_Helper {
/**
* Return the value of an echo.
* example: Avada_Helper::get_echo( 'function' );
*/
public static function get_echo( $function, $args = '' ) {
// Early exit if function does not exist
if ( ! function_exists( $function ) ) {
return;
}
ob_... | PHP | wp-content/themes/pereira/includes/class-avada-helper.php | Skyrant/escortmissions.net | gpl-3.0 | 929 | 53 | codeparrot/github-code |
079dd62430ae6dc85d0179470ab6a88ba501b137cb48f6c999f91d3974ad8e6c | ---------------------------------------------------------------------------------------------------
-- func: animatenpc
-- desc: Changes the animation of the given npc. (For testing purposes.)
---------------------------------------------------------------------------------------------------
require("scripts/globals/s... | Lua | scripts/commands/animatenpc.lua | zynjec/darkstar | gpl-3.0 | 1,668 | 56 | codeparrot/github-code |
3ac3c710e72c8b383b88a1c9aab5b1e63c6a23b915812c892217a8024d2a24d4 | #
# Copyright (C) 2011 - 2015 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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 Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hop... | Ruby | app/controllers/oauth2_provider_controller.rb | Rvor/canvas-lms | agpl-3.0 | 3,946 | 98 | codeparrot/github-code |
7b32b4ab1fac676d2e4624cbf3337243751f32a3c684563d5c25fc64f070d1b3 | /*
* 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 | flink-runtime/src/test/java/org/apache/flink/runtime/operators/hash/HashTableTest.java | hongyuhong/flink | apache-2.0 | 12,009 | 416 | codeparrot/github-code |
883c27ab041d64a14523b5d507093bf7dce346e4ecf2f28366d010311c2ad49a | package com.avast.android.dialogs.core;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
/**
* Internal base builder that holds common values for all dialog fragment builders... | Java | library/src/main/java/com/avast/android/dialogs/core/BaseDialogBuilder.java | jaohoang/android-styled-dialogs | apache-2.0 | 3,904 | 121 | codeparrot/github-code |
d4d83d58c1a2808abea97a780abcfc9db8dfc01399c46dbffbbb2e5654d5d54e | /**
* 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... | Scala | frame/kafka-0.11.0/kafka-0.11.0.1-src/core/src/main/scala/kafka/javaapi/OffsetResponse.scala | wangcy6/storm_app | apache-2.0 | 1,617 | 46 | codeparrot/github-code |
cab996ff85d10493ba2578bd0396a50eac09740068c9d70f21a2391fba8b4600 | /****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) Microsoft Open Technologies, Inc.
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 ... | C | jni/CocosDenshion/include/Export.h | zjfandroid/TurboSnail | apache-2.0 | 1,965 | 51 | codeparrot/github-code |
399c577089313e4912c82cfb562a2fcfdddf4f304037e5fde851971e52ff86b8 | // 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 System.Linq;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.CodeAnalysis.CommandLine;
namespace Microsoft.... | C# | src/Compilers/Shared/Vbc.cs | ericfe-ms/roslyn | apache-2.0 | 2,287 | 45 | codeparrot/github-code |
cd487be86fd643b6eb256b3eb8a13949d005265a7e096551b3595c76e7bc079d | //===-- RuntimeDyldCOFF.cpp - Run-time dynamic linker for MC-JIT -*- C++ -*-==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C++ | third_party/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp | endlessm/chromium-browser | bsd-3-clause | 4,282 | 122 | codeparrot/github-code |
507ab72d3c455dabd59e20a95ce4a18186a7d8750769c32efe2ea94d5cfa03a5 | // 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 "webkit/browser/fileapi/obfuscated_file_util.h"
#include <queue>
#include <string>
#include <vector>
#include "base/file_util.h"
#include "... | C++ | webkit/browser/fileapi/obfuscated_file_util.cc | TeamEOS/external_chromium_org | bsd-3-clause | 47,936 | 1,424 | codeparrot/github-code |
1d30bf2fb0c1bf1fce29fb1ad789821a4a2f7ab5aa02a3e73c4a02dbcf4e4f68 | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export enum TagContentType {
RAW_TEXT,
ESCAPABLE_RAW_TEXT,
PARSABLE_DATA
}
export interface TagDefinition {
... | TypeScript | packages/compiler/src/ml_parser/tags.ts | Toxicable/angular | mit | 7,644 | 330 | codeparrot/github-code |
8af3a727cb2884c55784d410546273ba3ac1aa9f6a8736ce7f0d5fc59f9afd17 | //
// MLAnonymousUtils.h
// MaxLeap
//
#ifdef EXTENSION_IOS
#import <MaxLeapExt/MLConstants.h>
#else
#import <MaxLeap/MLConstants.h>
#endif
/*!
Methods for working with Anonymously logged-in users. Anonymous users have some unique characteristics:
<ul>
<li>Anonymous users don't need a user name or passw... | C | Frameworks/MaxLeap.framework/Headers/MLAnonymousUtils.h | LeapCloud/Sample-Todo-iOS | cc0-1.0 | 1,931 | 51 | codeparrot/github-code |
94a75601b5f60773d1a7b9a43f48a940c89a6a9473c54ac5f9f7da4d6883864e | #!/usr/bin/env python
# File created Sept 29, 2010
from __future__ import division
__author__ = "William Walters"
__copyright__ = "Copyright 2011, The QIIME Project"
__credits__ = ["William Walters", "Greg Caporaso"]
__license__ = "GPL"
__version__ = "1.9.1-dev"
__maintainer__ = "William Walters"
__email__ = "William.... | Python | qiime/truncate_fasta_qual_files.py | ssorgatem/qiime | gpl-2.0 | 6,323 | 195 | codeparrot/github-code |
aa2470d0b564d067b2abd96fe0c5058024f757474a57e87d262ffde46eb3cb77 | #ifndef __DE_CLOCK_H__
#define __DE_CLOCK_H__
#include "ebios_de.h"
typedef enum
{
CLK_NONE = 0,
SYS_CLK_PLL3 = 1,
SYS_CLK_PLL7 = 2,
SYS_CLK_PLL9 = 3,
SYS_CLK_PLL10 = 4,
SYS_CLK_PLL3X2 = 5,
SYS_CLK_PLL6 = 6,
SYS_CLK_PLL6x2 = 7,
SYS_CLK_PLL7X2 = 8,
SYS_CLK_MIPIPLL = 9,
MOD_CLK_DEBE0 = 16,
MOD_CLK_DEBE1... | C | drivers/video/sunxi/disp/de/lowlevel_sun8iw5/de_clock.h | willemwouters/orangepi_kernel | gpl-2.0 | 1,114 | 59 | codeparrot/github-code |
c10952b9ef52ccda748009224ddbe3e2d049b07ad99276cb1c7b9fc4e0913ca0 | /*
Copyright (c) 1990-2003 Info-ZIP. All rights reserved.
See the accompanying file LICENSE, version 2000-Apr-09 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.or... | C | zipunzip_src/unzip/windll/windll.h | HippoRemote/WinHippoVNC | gpl-2.0 | 915 | 35 | codeparrot/github-code |
fb889c1ae247e70a84ce9486f6d6270595a7ac9c75bfe8ebd37c9f808af38212 | /*
Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope ... | C++ | client/dump/abstract_crawler.cc | myblockchain/myblockchain | gpl-2.0 | 2,532 | 81 | codeparrot/github-code |
7293526141a03a21e1dfe6202a32487b5f5bd55e66b207e93a0b9524ce356b85 | using MixERP.Net.i18n.Resources;
using MixERP.Net.WebControls.StockAdjustmentFactory.Helpers;
using System.Web.UI.HtmlControls;
namespace MixERP.Net.WebControls.StockAdjustmentFactory
{
public partial class FormView
{
private void AddErrorLabelBottom()
{
using (HtmlGenericControl e... | C# | src/Libraries/Server Controls/Project/MixERP.Net.WebControls.StockAdjustmentFactory/FormView/BottomPanel.cs | mixerp6/mixerp | gpl-2.0 | 4,313 | 128 | codeparrot/github-code |
ba96ad33632f4331d19675d066e3d7eb51f5662feb12442935ff9c6069081836 | /* GStreamer base utils library missing plugins support
* Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
*
* 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 Free Software Foundation; either
* ver... | C | modules/media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/gst-libs/gst/pbutils/missing-plugins.c | 166MMX/openjdk.java.net-openjfx-8u40-rt | gpl-2.0 | 25,420 | 803 | codeparrot/github-code |
f99d09c0fefabc63af7c1859e6ff3878b971cd44e082d8e83ae7441a3737b9d1 | /******************************************************************************/
/* Copyright (c) Crackerjack Project., 2007 */
/* */
/* This program is free software; you can redistribute it and/or modify ... | C | testcases/kernel/syscalls/rt_sigaction/rt_sigaction02.c | itnihao/ltp | gpl-2.0 | 4,240 | 128 | codeparrot/github-code |
cca6b73b7aba82876ad36a6a69102268da2e177859bb3b87f45e61eb54622a91 | /*
* zsmalloc memory allocator
*
* Copyright (C) 2011 Nitin Gupta
* Copyright (C) 2012, 2013 Minchan Kim
*
* This code is released using a dual license strategy: BSD/GPL
* You can choose the license that better fits your requirements.
*
* Released under the terms of 3-clause BSD License
* Released under the ... | C | mm/zsmalloc.c | amarchandole/capprobe_mptcp | gpl-2.0 | 46,986 | 1,960 | codeparrot/github-code |
c2e616f57f1ff5d59f21c1772f47891c46e6b99dc2918ed0c205d231586c3e78 | /*
vfp/vfpsingle.c - ARM VFPv3 emulation unit - SoftFloat single instruction
Copyright (C) 2003 Skyeye Develop Group
for help please send mail to <skyeye-developer@lists.gro.clinux.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public... | C++ | src/core/arm/skyeye_common/vfp/vfpsingle.cpp | Kloen/citra | gpl-2.0 | 37,278 | 1,265 | codeparrot/github-code |
6c652325f60d5c83a7f62a06cc06cbde01f43903a93ce4861f4d7484391c701f | /*
* QEMU i8255x (PRO100) emulation
*
* Copyright (C) 2006-2011 Stefan Weil
*
* Portions of the code are copies from grub / etherboot eepro100.c
* and linux e100.c.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*... | C | tools/qemu-xen/hw/eepro100.c | piyushroshan/xen-4.3.2 | gpl-2.0 | 70,695 | 2,116 | codeparrot/github-code |
34faf3841c8ec35fafa39f9ce4612a703739cdb4cfa086db2fddf055c2637d71 | /***************************************************************
* Name: ThreadSearchLoggerTree
* Purpose: ThreadSearchLoggerTree implements the
* ThreadSearchLoggerBase interface with a wxTreeCtrl.
* Author: Jerome ANTOINE
* Created: 2007-07-28
* Copyright: Jerome ANTOINE
* License: GPL... | C | src/plugins/contrib/ThreadSearch/ThreadSearchLoggerTree.h | stahta01/codeblocks_msys2 | gpl-3.0 | 3,445 | 111 | codeparrot/github-code |
8d8cb217c7c52b6bead450bcfbc1a9041e3b8a1bcd42c19344bbd6cba7306ee5 | /*
* ELF constants and data structures
*
* Derived from:
* $FreeBSD: src/sys/sys/elf32.h,v 1.8.14.1 2005/12/30 22:13:58 marcel Exp $
* $FreeBSD: src/sys/sys/elf64.h,v 1.10.14.1 2005/12/30 22:13:58 marcel Exp $
* $FreeBSD: src/sys/sys/elf_common.h,v 1.15.8.1 2005/12/30 22:13:58 marcel Exp $
* $FreeBSD: src/sys/al... | GO | source/gcc-latest/libgo/go/debug/elf/elf.go | selmentdev/selment-toolchain | gpl-3.0 | 77,223 | 2,166 | codeparrot/github-code |
67165bea5bc20a15890cb0c208ab9cfbd869c3f6f02efe79793315ec426e8e15 | package info.ephyra.answerselection.filters;
import info.ephyra.io.Logger;
import info.ephyra.io.MsgPrinter;
import info.ephyra.nlp.NETagger;
import info.ephyra.nlp.OpenNLP;
import info.ephyra.nlp.SnowballStemmer;
import info.ephyra.nlp.StanfordNeTagger;
import info.ephyra.nlp.indices.WordFrequencies;
import ... | Java | src/info/ephyra/answerselection/filters/WebTermImportanceFilter.java | vishnujayvel/QAGenerator | gpl-3.0 | 30,379 | 866 | codeparrot/github-code |
8730d42caafbcd406c61c95269b87e844c75f4e1f318a9629928a62240c501f5 | /**
* 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 | hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/BackupStore.java | dennishuo/hadoop | apache-2.0 | 18,966 | 630 | codeparrot/github-code |
09bf3b23af1b397741b4f5efdc1ae10b61602f3f336930469fe32ff9bc0cb6e3 | //-----------------------------------------------------------------------
// <copyright file="SimpleJson.cs" company="The Outercurve Foundation">
// Copyright (c) 2011, The Outercurve Foundation.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the Li... | C# | targets/unity-v2/source/Shared/Internal/SimpleJson.cs | JoshuaStrunk/SDKGenerator | apache-2.0 | 83,283 | 2,080 | codeparrot/github-code |
493d44d369fdf08cf91381c9e6dc199c41180d04582abc95368d06397ef07f66 | package io.cattle.platform.networking.host.dao.impl;
import static io.cattle.platform.core.model.tables.HostTable.*;
import static io.cattle.platform.core.model.tables.HostVnetMapTable.*;
import static io.cattle.platform.core.model.tables.SubnetVnetMapTable.*;
import static io.cattle.platform.core.model.tables.VnetTab... | Java | code/implementation/host-only-network/src/main/java/io/cattle/platform/networking/host/dao/impl/HostOnlyDaoImpl.java | stresler/cattle | apache-2.0 | 3,937 | 111 | codeparrot/github-code |
5987582140d80dd59a3925ba73ebe5ec261c505b141c275bb58e7537cbf7d88e | //
// Copyright 2013 Uncodin, 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... | C++ | src/document.cpp | trello/bypass | apache-2.0 | 940 | 44 | codeparrot/github-code |
0bee423bb02d528b79d0f5a3dddcecfb322cffea46e33ca3e340d8678245ecfd | /*
* Copyright (C) 2015 Bilibili
* Copyright (C) 2015 Zhang Rui <bbcallen@gmail.com>
*
* 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.... | Java | ijkplayer-java/src/main/java/tv/danmaku/ijk/media/player/misc/IjkMediaFormat.java | Kerr1Gan/ShareBox | apache-2.0 | 10,341 | 260 | codeparrot/github-code |
db2b1deb0f80ac95eba62585d867d1ec45b076ff0d15554b946317bec94f990a | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | core/src/main/java/org/elasticsearch/search/suggest/DirectSpellcheckerSettings.java | camilojd/elasticsearch | apache-2.0 | 4,660 | 149 | codeparrot/github-code |
159316bf2e1ff971136910822983fadc8001e7e51bde4f1aca76064875428ab0 | //========================================================================
//
//File: $RCSfile: AddToLayerAction.java,v $
//Version: $Revision: 1.4 $
//Modified: $Date: 2013/01/10 23:05:58 $
//
//Copyright (c) 2005-2014 Mentor Graphics Corporation. All rights reserved.
//
//============================... | Java | src/org.xtuml.bp.ui.graphics/src/org/xtuml/bp/ui/graphics/actions/AddToLayerAction.java | lwriemen/bridgepoint | apache-2.0 | 5,561 | 157 | codeparrot/github-code |
a30f02c82b457b2140a3ece51f01e521db8a6f41151892d15f3581b3b3f6b683 | ' 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.
Imports System.Collections.ObjectModel
Imports Microsoft.CodeAnalysis.Editor.Implementation.InlineRename
Imports Micro... | Visual Basic | src/EditorFeatures/Test2/Rename/RenameTagProducerTests.vb | AmadeusW/roslyn | apache-2.0 | 73,737 | 1,705 | codeparrot/github-code |
5d7adc175b80a5ed9de42362874d3adca705417e84ac164a99f27bdaaf27ed27 | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | Java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsResult.java | sheofir/aws-sdk-java | apache-2.0 | 6,035 | 158 | codeparrot/github-code |
2fe57a16bd2c4dd40130bf482d3b78317bc15458e92c4653a17f71ed66d4a306 | package org.asteriskjava.manager.event;
public class DongleCENDEvent extends ManagerEvent
{
private static final long serialVersionUID = 3257845467831284784L;
private String device;
private String endstatus;
private String cccause;
private String duration;
private String callidx;
public DongleCEND... | Java | src/main/java/org/asteriskjava/manager/event/DongleCENDEvent.java | seanbright/asterisk-java | apache-2.0 | 1,118 | 63 | codeparrot/github-code |
06fcec0363b57098701097e1550d94979f4f71932cf83c25ad9402add3c6d952 | package org.apache.lucene.util.junitcompat;
/*
* 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 Lice... | Java | src/test/java/org/apache/lucene/util/junitcompat/TestSystemPropertiesInvariantRule.java | smartan/lucene | apache-2.0 | 4,895 | 159 | codeparrot/github-code |
bbe8d83d9f37e655f3e6c4a4df8c0982906a593559819901f3caf74925e94430 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Larry's favorite LaTeX macros for making technical books. These have
% been refined for years, starting with SIGGRAPH course notes in the
% '90's, further refined for _Advanced RenderMan_.
%
% Please use or modify this at will.
%%%%%%%%%%%%%%... | TeX | src/doc/macros.tex | mcanthony/OpenShadingLanguage | bsd-3-clause | 5,201 | 128 | codeparrot/github-code |
ff44a0027ca9d155a6423a7bd2c6ddc135700fc9eb64e881404fae09017b97da | # 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.
import shutil
import tempfile
from telemetry import decorators
from telemetry.testing import options_for_unittests
from telemetry.testing import page_test_t... | Python | tools/perf/measurements/skpicture_printer_unittest.py | axinging/chromium-crosswalk | bsd-3-clause | 1,305 | 39 | codeparrot/github-code |
9f0ea203a79ceb241bb8f38a5da212e16329a9fba3e45aec1acd7bd5dc2e5a2a | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | JavaScript | third_party/WebKit/Source/devtools/front_end/ui/Dialog.js | CTSRD-SOAAP/chromium-42.0.2311.135 | bsd-3-clause | 6,428 | 216 | codeparrot/github-code |
752153a10d6b4e41a520d9384b7bcccc4a0a0a680cd6716647a07344ad849088 | //===- ModuleFile.cpp - Module description --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C++ | third_party/llvm/clang/lib/Serialization/ModuleFile.cpp | endlessm/chromium-browser | bsd-3-clause | 3,727 | 95 | codeparrot/github-code |
48d3389b30366d90c4b57ba9c0438fcfc87d6f92ac79e5a9945068406537c028 | /*
* (C) Copyright David Brownell 2000-2002
* Copyright (c) 2005 MontaVista Software
*
* 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
* optio... | C | linux-2.6.22.6/drivers/usb/host/ehci-fsl.c | ut-osa/laminar | bsd-3-clause | 9,011 | 351 | codeparrot/github-code |
2abf8d4fca39952064bb4e1b1afa85502c3671fbe216fc074aa351bdc110368e | // Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !go1.5
// Package oracle contains the implementation of the oracle tool whose
// command-line is provided by golang.org/x/tools/cmd/oracle.
//
// htt... | GO | x/tools/oracle/oracle14.go | muzining/net | bsd-3-clause | 11,129 | 368 | codeparrot/github-code |
8d35a34fa72dbd14283fa9a1ade8fbace78797dd21a2edcd0ab1bd8164c87d2c | var fs = require('fs')
, child_process = require('child_process')
, _glob = require('glob')
, bunch = require('./bunch')
;
exports.loadEnv = function loadEnv(env, cb) {
var loaders = []
function load(name, cb) {
fs.readFile(env[name], function(error, data) {
env[name] = env[name].match(/.*\.json$... | JavaScript | utils/lib/actors.js | KhaosT/node_mdns | mit | 1,375 | 64 | codeparrot/github-code |
a23187d73a069b0301d1a078282b82f8a98ea9d0af2214a77368aa5056b8a115 | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if NET45
using System;
using System.Runtime.InteropServices;
namespace Microsoft.DotNet.PlatformAbstractions.Native
{
internal static par... | C# | src/managed/Microsoft.DotNet.PlatformAbstractions/Native/NativeMethods.Unix.cs | gkhanna79/core-setup | mit | 1,171 | 39 | codeparrot/github-code |
c6cf3ae16172a70fa3630ec60102d10f06567964f7b1578b7527788135523268 | // DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.oPaginate" );
/* Note that the paging language information only has relevence in full numbers */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData,
"sPaginationType": "full_numbers"
} ... | JavaScript | web/js/DataTables-1.9.4/media/unit_testing/tests_onhold/2_js/oLanguage.oPaginate.js | desarrollotissat/web-interface | mit | 2,212 | 84 | codeparrot/github-code |
05fdea5624d6887ce5c72974fec7c46bf9f37cc3d38cfe1ff2cefdf0e2125e51 | {% include vars.html %}
<nav class="navbar navbar-full navbar-fixed-top navbar-dark">
<div class="container">
<a class="navbar-brand" href="{{url_base}}/">
{% include svg/logo-flow-nav.svg %}
<span class="sr-only">Flow</span>
</a>
<div class="clearfix hidden-lg-up">
<button class="navb... | HTML | website/_includes/navbar.html | JonathanUsername/flow | mit | 3,153 | 78 | codeparrot/github-code |
c2889709628d60a14114b003b182e49341e6c3c32b51a84195bee546bae816d2 | namespace Simple.Data.UnitTest
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class AdapterFactoryTest
{
private static AdapterFactory CreateTarget()
{
return new CachingAdapterFactory(new StubComposer());
... | C# | Simple.Data.UnitTest/AdapterFactoryTest.cs | ronnyek/Simple.Data | mit | 3,056 | 101 | codeparrot/github-code |
763e257bcdc5aea37f9af77a640ead3dcdc8f75458357e3aa4b58bdf3edb51eb | /*
* pci_irq.c - ACPI PCI Interrupt Routing ($Revision: 11 $)
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2002 Dominik Brodowski <devel@brodo.de>
* (c) Copyright 2008 Hewlett-Packard Develo... | C | drivers/acpi/pci_irq.c | Fe-Pi/linux | gpl-2.0 | 14,413 | 542 | codeparrot/github-code |
49a4a2212908171072ee400b46eb7b5644ef464fb29bbbfd9f232f3e9e95e61f | // This file is part of par2cmdline (a PAR 2.0 compatible file verification and
// repair tool). See http://parchive.sourceforge.net for details of PAR 2.0.
//
// Copyright (c) 2003 Peter Brian Clements
//
// par2cmdline is free software; you can redistribute it and/or modify
// it under the terms of the GNU Gener... | C | src/par1repairersourcefile.h | BlackIkeEagle/par2cmdline | gpl-2.0 | 2,641 | 75 | codeparrot/github-code |
e2860e1301819283efaa1a1904f7dc9b01a5b2df71b2da7b3b69e5316bb5da76 | /* Copyright (C) 2003-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
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 t... | C | sysdeps/s390/jmpbuf-unwind.h | rbheromax/src_glibc | gpl-2.0 | 1,928 | 55 | codeparrot/github-code |
9356cfde0c3ce86d9e8d0c30b776e2781b98c10e04a3af782223061e2886752a | /**
* Notification.js
*
* Released under LGPL License.
* Copyright (c) 1999-2015 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* Creates a notification instance.
*
* @-x-less Notification.less
* @class tinymce.ui.Notif... | JavaScript | views/tinymce/js/tinymce/classes/ui/Notification.js | luis-knd/technoMvc | gpl-2.0 | 3,429 | 157 | codeparrot/github-code |
03228e6aaedbbbfd612fd201ad2e58824e1a67e9e7e835892818efae2ae85a7c | <?php
/**
* Generic Slider super class. Extended by library specific classes.
*/
class MetaImageSlide extends MetaSlide {
/**
* Register slide type
*/
public function __construct() {
add_filter( 'metaslider_get_image_slide', array( $this, 'get_slide' ), 10, 2 );
add_action( 'metasli... | PHP | wp-content/plugins/ml-slider/inc/slide/metaslide.image.class.php | jackcommon/vnusa | gpl-2.0 | 16,682 | 391 | codeparrot/github-code |
3a4583594d82f7a45961b781ac1b3165b0bd738810a7c037297c9cb9d413fbc5 | /*
* Copyright (c) 2002, 2011, 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 ... | C++ | src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp | ikeji/openjdk7-hotspot | gpl-2.0 | 30,816 | 825 | codeparrot/github-code |
b491474c2c8d74a386f433fac54ebdb384c136694da9623e5920b009651c2a38 | <?PHP
// THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
//
// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
function wiki_upgrade($oldversion) {
/// This function does anything necessary to upgrade
/// older versions to match current... | PHP | mod/wiki/db/mysql.php | xavilal/moodle | gpl-3.0 | 8,723 | 190 | codeparrot/github-code |
04e57a91a597097d7e283ff83179d0ab0cd31a1890539189e8b7da47d84049b4 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>com.qualcomm.robotcore.util</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"... | HTML | ftc_app-master/doc/javadoc/com/qualcomm/robotcore/util/package-summary.html | lasarobotics/FTC5998-2016 | gpl-3.0 | 6,375 | 167 | codeparrot/github-code |
73084dfc11e817f60c12b464147a51143729c8a0212fae28707f0429aa12af57 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/AbstractRollingTestCase.java | gfyoung/elasticsearch | apache-2.0 | 2,348 | 67 | codeparrot/github-code |
1fcb93353f538c34cec44ad5cbb2e59dc659e3f615e78336de28767233200ab0 | /*
* Copyright (C) 2010-2101 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | Java | node/etl/src/main/java/com/alibaba/otter/node/etl/common/task/GlobalTask.java | alibaba/otter | apache-2.0 | 6,213 | 174 | codeparrot/github-code |
edf72fe5054ad400ad46334f8c1c50a544667fc54ea005414d26c4494f93e1ce | package com.thinkaurelius.titan.hadoop.compat.h1;
import com.thinkaurelius.titan.graphdb.configuration.TitanConstants;
import com.thinkaurelius.titan.hadoop.config.job.JobClasspathConfigurer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.JobContext;
import org.apache.hadoop.mapreduce.... | Java | titan-hadoop-parent/titan-hadoop-1/src/main/java/com/thinkaurelius/titan/hadoop/compat/h1/Hadoop1Compat.java | evanv/titan | apache-2.0 | 2,628 | 82 | codeparrot/github-code |
6f73036cdee9e357d482152ee7b550872d2c4abc099c58fe7c8e9ec3e0752d58 | const path = require('path');
const fs = require('fs');
const EventEmitter = require('events').EventEmitter;
const Shard = require('./Shard');
const Collection = require('../util/Collection');
const Util = require('../util/Util');
/**
* This is a utility class that can be used to help you spawn shards of your client.... | JavaScript | sharding/ShardingManager.js | willkiller13/RivoBot | apache-2.0 | 6,803 | 195 | codeparrot/github-code |
098555e4831149f7f57928802a59eab4826264a0659eb8ed2a8be827b0ebc8bb | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Elasticsearch.Net;
namespace Nest
{
public partial class ElasticClient
{
/// <inheritdoc />
public ISearchResponse<T> MoreLikeThis<T>(Func<MoreLikeThisDescriptor<T>, MoreLikeThisDescriptor<T>> mltSelector)
where T : class
{... | C# | src/Nest/ElasticClient-MoreLikeThis.cs | joehmchan/elasticsearch-net | apache-2.0 | 2,226 | 75 | codeparrot/github-code |
1034420da7b71a54a69f032ca7f4757ccbfec96ac745d9af0ba656f72fa1ad8c | /*
* 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 | flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraphException.java | tillrohrmann/flink | apache-2.0 | 1,338 | 38 | codeparrot/github-code |
bf51049426004b98f2952b17a46f8f89119badd07eb369c89d88c71bf7e8e4d4 | /*
* 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 | flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/metrics/AggregatedJobMetricsHeaders.java | apache/flink | apache-2.0 | 1,648 | 48 | codeparrot/github-code |
5f68bcc93f5590daaeaf0914a2953a62fbdcb0b244e9878171b4035ec9834729 | /*
* Copyright (C) 2010-2101 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | Java | node/etl/src/main/java/com/alibaba/otter/node/etl/conflict/exception/ConflictException.java | wangcan2014/otter | apache-2.0 | 1,781 | 66 | codeparrot/github-code |
34527c93b125dee7fe718100e302f6a1821e5086ab8c5ef6733be738f029501a | package org.csstudio.swt.xygraph.util;
import org.csstudio.swt.xygraph.figures.XYGraph;
import org.eclipse.draw2d.FigureUtilities;
import org.eclipse.draw2d.SWTGraphics;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.swt.SWT;
import org.eclipse.sw... | Java | scouter.client/src/org/csstudio/swt/xygraph/util/SingleSourceHelperImpl.java | jhshin9/scouter | apache-2.0 | 3,045 | 92 | codeparrot/github-code |
0d67ee47e6896e81bd7b72e11f628ad4e3cfd55ef28982766234ce494edc9eab | <?php if (!defined('APPLICATION')) exit();
$Alt = FALSE;
$Session = Gdn::Session();
$EditUser = $Session->CheckPermission('Garden.Users.Edit');
$DeleteUser = $Session->CheckPermission('Garden.Users.Delete');
foreach ($this->UserData->Result() as $User) {
$Alt = $Alt ? FALSE : TRUE;
?>
<tr id="<?php echo "UserI... | PHP | forum/applications/dashboard/views/user/users.php | ppazos/cabolabs-web-old | apache-2.0 | 2,182 | 54 | codeparrot/github-code |
16c53c730d08033694cb88eeacd93d8add998637c700a4abc7ae08054b604e25 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>The Epytext Markup Language</title>
<link rel="stylesheet" href="epydoc.css" type="text/css"/>
</head>
<!-- $Id: epytext.html 1211 2006-04-10 19:38:37Z edloper $ -->
<body>
<div class="body">
<h1>The Epytext Markup Language</h1>
<a name="overview"/>
... | HTML | tools/epydoc/doc/epytext.html | regular/pyglet-avbin-optimizations | bsd-3-clause | 40,057 | 1,077 | codeparrot/github-code |
07e2ed5ed81807cdd8fef02e9cfa76cb6db25f35b7e671415ea9ea6afe2e46bd | ! This file is all about BACKSPACE
! { dg-do run }
integer i, n, nr
real x(10), y(10)
! PR libfortran/20068
open (20, status='scratch')
write (20,*) 1
write (20,*) 2
write (20,*) 3
rewind (20)
read (20,*) i
if (i .ne. 1) call abort
write (*,*) ' '
back... | FORTRAN | tools/source/gcc-4.2.4/gcc/testsuite/gfortran.dg/backspace.f | shaotuanchen/sunflower_exp | bsd-3-clause | 1,676 | 83 | codeparrot/github-code |
36bc691748372979195fcac3005cd960eaadb3cc42253fb6cf56c5e2fa82b059 | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use stric... | JavaScript | src/lib/getAssetDataFromName.js | facebook/node-haste | bsd-3-clause | 1,418 | 56 | codeparrot/github-code |
7b7ca0ecf6c4b3472e39c33f867e8d38e3a1ad2b99bba99b79e2887e1dc3ec21 | var utils = require('../../lib/utils');
// if they agree to the ULA, notify hubspot, create a trial and send verification link
module.exports = function trialSignup(request, reply) {
var postToHubspot = request.server.methods.npme.sendData,
getCustomer = request.server.methods.npme.getCustomer;
var opts = {}... | JavaScript | facets/enterprise/show-trial-signup.js | AgtLucas/newww | isc | 2,680 | 94 | codeparrot/github-code |
c27d6ae71c58f1cb577f504acce699885e6e3282b298ab28c40822ed58bd549c | using System;
using System.Collections.Generic;
using UIKit;
using Foundation;
using System.Reflection;
namespace FontList.Code {
/// <summary>
/// Combined DataSource and Delegate for our UITableView
/// </summary>
public class NavItemTableSource : UITableViewSource
{
protected List<NavItemGroup> navItems;
s... | C# | FontList/Code/NavItemTableSource.cs | davidrynn/monotouch-samples | mit | 4,333 | 138 | codeparrot/github-code |
c496a39852367c13c64c1e2326e1745d15d6de29eec2bdd8d302fc9e83e66ea6 | var insert = require('./insert')
var concat = require('concat-stream')
insert('aggregate', [{
name: 'Squirtle', type: 'water'
}, {
name: 'Starmie', type: 'water'
}, {
name: 'Charmander', type: 'fire'
}, {
name: 'Lapras', type: 'water'
}], function (db, t, done) {
db.a.aggregate([{$group: {_id: '$type'}}, {$p... | JavaScript | test/test-aggregate-pipeline.js | AMKohn/mongojs | mit | 1,310 | 42 | codeparrot/github-code |
a1ab4c55b249d582854eb710fa1e62ed85db33c8d515019e959405f2f44b5e3b |
import {addClass, hasClass, empty} from './../helpers/dom/element';
import {eventManager as eventManagerObject} from './../eventManager';
import {getRenderer, registerRenderer} from './../renderers';
import {WalkontableCellCoords} from './../3rdparty/walkontable/src/cell/coords';
var clonableWRAPPER = document.create... | JavaScript | src/renderers/autocompleteRenderer.js | pingyuanChen/handsontable | mit | 2,882 | 72 | codeparrot/github-code |
77ee068e6aaf1b80b2a67101ff0690bffdacc212695660cc08a6dda4a1af2dd7 | //----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------------
namespace System.ServiceModel.Channels
{
using System.Collections.Generic;
using System.Runt... | C# | System.ServiceModel/System/ServiceModel/Channels/TransactionChannelFactory.cs | sekcheong/referencesource | mit | 13,242 | 343 | codeparrot/github-code |
dc706dd0cff9265f4492c27ff2a261a8a06f62b975726e5b59b53da514e9daa0 |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
typedef struct {
uint32_t percent;
ngx_http_variable_value_t value;
} ngx_http_split_clients_part_t;
typedef struct {
ngx_http_complex_value_t v... | C | src/http/modules/ngx_http_split_clients_module.c | huangjilaiqin/nginx | mit | 6,443 | 243 | codeparrot/github-code |
40d77b1d8df2a0fca2fb638852ec3fb5e715781acffdcb5ce1017ce4c8f0b3b8 | module Jekyll
class TagIndex < Page
def initialize(site, base, dir, tag)
@site = site
@base = base
@dir = dir
@name = 'index.html'
self.process(@name)
self.read_yaml(File.join(base, '_layouts'), 'tag_index.html')
self.data['tag'] = tag
self.data['title'] = "Po... | Ruby | _plugins/tag_gen.rb | johnDorian/johnDorian.github.io | mit | 853 | 37 | codeparrot/github-code |
b16c2ad9d5dc198283e7ad27dfd4627d4c8dd537d7608d0157c55ee942685f14 | // The MIT License (MIT)
// Copyright (c) 2013-2016 Rapptz, ThePhD and contributors
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the... | C++ | src/ThirdParty/sol/sol/demangle.hpp | devxkh/FrankE | mit | 5,420 | 159 | codeparrot/github-code |
c1da0d94336f2601d3eee631add9024b2ba9fbbf09faab021a7e7c785727fd23 | /*
* Copyright (c) 2003, 2008, 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 | testing/openjdk/jdk/src/share/classes/sun/java2d/opengl/OGLSurfaceData.java | rokn/Count_Words_2015 | mit | 24,976 | 654 | codeparrot/github-code |
b3280b2517546939ee6f383928c7831429e511c59f47639a906a7e29a8c7a573 | /*
* Ioctl handler
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek <buytenh@gnu.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 (... | C | net/bridge/br_ioctl.c | getitnowmarketing/archos_kernel_27 | gpl-2.0 | 9,288 | 417 | codeparrot/github-code |
0d63071a6a66597c7a62bfb1d1bf65aab96ef09ba55dd0a0aca2ec048e7eea66 | /*
* Copyright (C) 2008-2012 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/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.cpp | pablo93/TrinityCore | gpl-2.0 | 18,304 | 508 | codeparrot/github-code |
768147cfa20d7ec11dc82ca3fcd5afe81705c4e48063dc216632312e41449a9b | // Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <functional>
#include <utility>
#include <variant>
namespace Common
{
// A Lazy object holds a value. If a Lazy object is constructed using
// a function as an argument, that function ... | C | Source/Core/Common/Lazy.h | degasus/dolphin | gpl-2.0 | 1,340 | 50 | codeparrot/github-code |
93f3d5df7b3247d814cdbb717bc9b20d45a271eb759f326dc4acc687cd490b66 | /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#ifndef __CINNAMON_GENERIC_CONTAINER_H__
#define __CINNAMON_GENERIC_CONTAINER_H__
#include "st.h"
#define CINNAMON_TYPE_GENERIC_CONTAINER (cinnamon_generic_container_get_type ())
#define CINNAMON_GENERIC_CONTAINER(obj) ... | C | src/cinnamon-generic-container.h | Kulmerov/Cinnamon | gpl-2.0 | 2,327 | 53 | codeparrot/github-code |
2033f350a49801aa40a1286c443da13a842d8a94f667f7a07eb3518636ade708 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | src/public/lib/Zend/Service/DeveloperGarden/LocalSearch/SearchParameters.php | chemissi/P2 | gpl-2.0 | 14,766 | 537 | codeparrot/github-code |
a0daed449e6b24e564f1cdd7878cf2e93ee5d1fc2286d8962b8ebf76854f3198 | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | C++ | src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp | AriDEV/TrinityCore | gpl-2.0 | 10,108 | 298 | codeparrot/github-code |
4a6daf2653b3394af2a6b32cc3a452d22185aa7ce810f0b8c4bec86ad4074145 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/Widget/FixedWindowWidget.hpp | Exadios/XCSoar-the-library | gpl-2.0 | 1,282 | 41 | codeparrot/github-code |
bb7b50e02474fa80aaabc9fd6d8cc9ea352223385fb57f9b966748998584556f | /////////////////////////////////////////////////////////////////////////////
// Name: src/msw/mediactrl_qt.cpp
// Purpose: QuickTime Media Backend for Windows
// Author: Ryan Norton <wxprojects@comcast.net>
// Modified by: Robin Dunn (moved QT code from mediactrl.cpp)
//
// Created: 11/07/04
// RCS... | C++ | libs/wxWidgets/src/msw/mediactrl_qt.cpp | radiaku/decoda | gpl-3.0 | 45,849 | 1,313 | codeparrot/github-code |
2366bacc6d62ad8e148a029137c706d32537d485c7f11e756b95934b6ec24156 | /////////////////////////////////////////////////////////////////////////////
// Name: src/msw/gdiobj.cpp
// Purpose: wxGDIObject class
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id: gdiobj.cpp 40626 2006-08-16 14:53:49Z VS $
// Copyright: (c) Julian Smart
// Lic... | C++ | libs/wxWidgets/src/msw/gdiobj.cpp | radiaku/decoda | gpl-3.0 | 1,489 | 61 | codeparrot/github-code |
ca2956481e716433386249c8318be7eeb0ef0bdf4175c109929ddd1aa7a7fe0c | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | server/src/main/java/org/elasticsearch/search/fetch/subphase/ScriptFieldsFetchSubPhase.java | coding0011/elasticsearch | apache-2.0 | 4,508 | 107 | codeparrot/github-code |
4f128e4bd9836ef397d8d1f6ffcf89122559f73baf3a5ab516167736466214af | /*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | GO | cmd/kubeadm/app/phases/upgrade/postupgrade.go | abgworrall/kubernetes | apache-2.0 | 13,010 | 310 | codeparrot/github-code |
001a1d49d06caed7e52103f477c0e05481ca8e209918e87a3bdcb5f9ecf0d536 | /*
* Copyright 2000-2017 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/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/ast/builder/strategy/DefaultBuilderStrategySupport.java | goodwinnk/intellij-community | apache-2.0 | 8,689 | 189 | codeparrot/github-code |
6a29022f4ce9eb09afbeda08320926a86ed36d86e29f6a93656a61c0d67a686a | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | components/registry/org.wso2.carbon.registry.ws.client/src/main/ws-test/org/wso2/carbon/registry/ws/client/test/security/ContinuousOperations.java | thusithathilina/carbon-registry | apache-2.0 | 3,380 | 101 | codeparrot/github-code |
5406ccb047cbbf27a7cc554bc9ddf21074c99f5f358488bfa022dea84dbc1136 | /*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java | bbrouwer/spring-boot | apache-2.0 | 2,080 | 94 | codeparrot/github-code |
28a09ad1c483eefe4758efc113b95a15d550810bb899faf4e4215424bc26dc05 | require "formula"
class Xplanetfx < Formula
desc "Configure, run or daemonize xplanet for HQ Earth wallpapers"
homepage "http://mein-neues-blog.de/xplanetFX/"
url "http://repository.mein-neues-blog.de:9000/archive/xplanetfx-2.6.6_all.tar.gz"
sha256 "59c49af68b6cafcbe4ebfd65979181a7f1e4416e024505b5b0d46f1cc04b0... | Ruby | Library/Formula/xplanetfx.rb | karlhigley/homebrew | bsd-2-clause | 2,068 | 55 | codeparrot/github-code |
0da300ca7b2cf5a054bd88c19995c19f2b68fd339245152388fa5d17f97c2d4a | // Copyright 2013 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 <map>
#include <string>
#include "base/memory/scoped_ptr.h"
#include "chrome/renderer/extensions/extension_localization_peer.h"
#include "extens... | C++ | chrome/renderer/extensions/extension_localization_peer_unittest.cc | mohamed--abdel-maksoud/chromium.src | bsd-3-clause | 8,756 | 250 | codeparrot/github-code |
b9c65755a10632c62a0172d9b6f41880fab93ceb591900d2d04b7c40ed584a29 | // 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.
#ifndef PPAPI_PROXY_PLUGIN_RESOURCE_H_
#define PPAPI_PROXY_PLUGIN_RESOURCE_H_
#include <map>
#include "base/basictypes.h"
#include "base/compiler_sp... | C | ppapi/proxy/plugin_resource.h | Chilledheart/chromium | bsd-3-clause | 11,487 | 288 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.