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 |
|---|---|---|---|---|---|---|---|---|
64da5e8b887f1e91d788d63ffd668c175573dde8a19d727e851fbc11c5eae9b8 | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | C | third_party/protobuf/src/google/protobuf/stubs/statusor.h | scheib/chromium | bsd-3-clause | 8,558 | 273 | codeparrot/github-code |
ff1604eba94cdf17c11f479b7aedc6581e9717ad44ffece8614599cfe0d3f440 | #include "TFile.h"
#include "TList.h"
#include "TH1D.h"
#include "TH2D.h"
#include "THn.h"
#include "TCanvas.h"
#include "TSystem.h"
#include "TMath.h"
#include "TMatrixD.h"
#include "TVectorD.h"
#include "TGaxis.h"
#include "TGraph2D.h"
#include "TObjArray.h"
#include "TGFrame.h"
#include "TGFileBrowser.h"
#include... | C++ | PWGLF/SPECTRA/ChargedHadrons/dNdPt/BayesianUnfolding/meanPT/meanpt.C | sebaleh/AliPhysics | bsd-3-clause | 58,068 | 1,507 | codeparrot/github-code |
fae2b1a502928eb55a4dbdfe23893e898edf0c9bc39aaa193584ce7012d09ad9 | using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace RefactoringEssentials.CSharp.Diagnostics
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class RedundantAttr... | C# | RefactoringEssentials/CSharp/Diagnostics/Synced/RedundanciesInCode/RedundantAttributeParenthesesAnalyzer.cs | vcsjones/RefactoringEssentials | mit | 2,185 | 53 | codeparrot/github-code |
d3f963326c60bf89244eabf10e41fe7cc4a486f0f12d741559c9dcb54d64f839 | /*
* cocos2d-x http://www.cocos2d-x.org
*
* Copyright (c) 2010-2014 - cocos2d-x community
*
* Portions Copyright (c) Microsoft Open Technologies, Inc.
* All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may ob... | C++ | publibs/cocos2dx/templates/js-template-default/frameworks/runtime-src/proj.win8.1-universal/App.Shared/Cocos2dRenderer.cpp | tianxiawuzhei/cocos-quick-cpp | mit | 4,721 | 154 | codeparrot/github-code |
c3a70c93b3300363caef7e6c28febfdd7ee0c9820da6140e86248727cb64c678 | <?php
/**
* @file
* Contains \Drupal\comment\Plugin\migrate\source\d7\CommentType.
*/
namespace Drupal\comment\Plugin\migrate\source\d7;
use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
use Drupal\migrate\Row;
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
/**
* Drupal 7 comment t... | PHP | web/core/modules/comment/src/Plugin/migrate/source/d7/CommentType.php | komejo/d8demo-dev | mit | 2,995 | 103 | codeparrot/github-code |
6a413def7304b5a342c432aaee26541dbb962acbeefadf8b456a77ecc1ef6e27 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | C# | Microsoft.Research/Contracts/System/Sources/System.Net.Sockets.SocketInformation.cs | ndykman/CodeContracts | mit | 2,411 | 68 | codeparrot/github-code |
8e64715fd46fff71019f69553976371ebd27f2588fe208a4c9a56797b044b830 | /*
Copyright ©2014 Esri. All rights reserved.
TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
Unpublished material - all rights reserved under the
Copyright Laws of the United States and applicable international
laws, treaties, and conventions.
For additional information, contact:
Attn: Contracts and Legal Departmen... | JavaScript | wab/2.3/jimu.js/dijit/ItemSelector.js | cmccullough2/cmv-wab-widgets | mit | 21,078 | 632 | codeparrot/github-code |
2c3d6695b6a4c30f5b41a55472d90484f07452fb91846ef7687568c1cc921c91 | <?php
/********************************************************************************
* Action Functions
*
* Action functions are exactly the same as screen functions, however they do not
* have a template screen associated with them. Usually they will send the user
* back to the default screen after execution.
... | PHP | wp-content/plugins/buddypress/bp-groups/bp-groups-actions.php | LukeMichaels/NewGamePlus | mit | 14,079 | 318 | codeparrot/github-code |
9f5cc115cea8c94da0b26fb4872aafe573eb7939fdf87acb74d7da2a2c2cc8ca | <?php
namespace Concrete\Core\Localization;
use Config;
use Concrete\Core\Cache\Adapter\ZendCacheDriver;
use Core;
use Events;
use Zend\I18n\Translator\Translator;
use Punic\Data as PunicData;
class Localization
{
private static $loc = null;
/**
* @var ZendCacheDriver|null
*/
private static $cac... | PHP | docs/concrete5/updates/concrete5.7.5.1_remote_updater/concrete/src/Localization/Localization.php | LinkedOpenData/challenge2015 | mit | 6,843 | 206 | codeparrot/github-code |
464eceed7d862924e335aa6c1f06c6498938a0f850c4de0c5a92464bc9d82bd9 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | C# | Microsoft.Research/Analyzers/Additional Analyses/ExistentialAnalysis.cs | ndykman/CodeContracts | mit | 11,338 | 286 | codeparrot/github-code |
d9656eed56f6cc738d9f9f0ee5312ee67208772c6a34f691d544c53ed5928c99 | /// <reference path="./github-electron.d.ts" />
import {
app,
autoUpdater,
BrowserWindow,
contentTracing,
dialog,
globalShortcut,
ipcMain,
Menu,
MenuItem,
powerMonitor,
powerSaveBlocker,
protocol,
Tray,
clipboard,
crashReporter,
nativeImage,
screen,
shell,
session,
systemPreferences,
webContents
}... | TypeScript | electron/github-electron-main-tests.ts | yuit/DefinitelyTyped | mit | 27,352 | 1,067 | codeparrot/github-code |
48b8781adcabd467fa4ca8c6e6bfddc3d35474ea329e5710cb460636927e1052 | <html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - bound_function_pointer_kernel_abstract.h</title></head><body bgcolor='white'><pre>
<font color='#009900'>// Copyright (C) 2008 Davis E. King (davis@dlib.net)
</font><font colo... | HTML | include/dlib-18.9/docs/dlib/bound_function_pointer/bound_function_pointer_kernel_abstract.h.html | eldilibra/mudsling | mit | 29,003 | 459 | codeparrot/github-code |
75b6de730186819e769e3e84681b2470fd29ed7a0df389e3678447fb91c8c207 | <?php
/**
* Preview SlideDeck tempalte
*
* More information on this project:
* http://www.slidedeck.com/
*
* Full Usage Documentation: http://www.slidedeck.com/usage-documentation
*
* @package SlideDeck
* @subpackage SlideDeck 2 Pro for WordPress
* @author dtelepathy
*/
/*
Copyright 2012 digital-telepat... | PHP | wp-content/plugins/slidedeck2/views/preview.php | chodos/obar | gpl-2.0 | 4,275 | 89 | codeparrot/github-code |
c5248c02c5eb32421fe5616a45710e6a47559866fd02f7aa1658d7592b02e04f | define("dojox/editor/plugins/FindReplace", [
"dojo",
"dijit",
"dojox",
"dijit/_base/manager", // getUniqueId
"dijit/_base/popup",
"dijit/_Widget",
"dijit/_TemplatedMixin",
"dijit/_KeyNavContainer",
"dijit/_WidgetsInTemplateMixin",
"dijit/TooltipDialog",
"dijit/Toolbar",
"dijit/form/CheckBox",
"dijit/form/_... | JavaScript | web/public/libs/dojo/1.8.3/dojox/editor/plugins/FindReplace.js.uncompressed.js | ISTang/sitemap | gpl-2.0 | 26,511 | 857 | codeparrot/github-code |
6abfe926319ab78e0652f47b7b0507b0c7a78b9865ad3ba4513d107e3b0a3123 | <?php
/**
* Category Template Tags and API.
*
* @package WordPress
* @subpackage Template
*/
/**
* Retrieve category link URL.
*
* @since 1.0.0
* @uses apply_filters() Calls 'category_link' filter on category link and category ID.
*
* @param int $category_id Category ID.
* @return string
*/
function get_c... | PHP | wp-includes/category-template.php | alx/amandineleconte.fr | gpl-2.0 | 30,086 | 957 | codeparrot/github-code |
29878081227b64999df231d7ec69e2e9a829214afca35e4d8083d1580f976306 | #ifndef _ASM_HW_IRQ_H
#define _ASM_HW_IRQ_H
/* (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar */
#include <xen/config.h>
#include <asm/atomic.h>
#include <xen/cpumask.h>
#include <xen/smp.h>
#include <xen/hvm/irq.h>
#include <irq_vectors.h>
#include <asm/percpu.h>
extern unsigned int nr_irqs_gsi;
extern unsigne... | C | xen/include/asm-x86/irq.h | jonludlam/xen-arm | gpl-2.0 | 5,981 | 201 | codeparrot/github-code |
aa32aff5a250b29645602aa12301a050fa534f587d0b923363f9df5d403f7e79 | /*
* adding/removing headers or any other data chunk from a message
*
* Copyright (C) 2001-2003 FhG Fokus
*
* This file is part of Kamailio, a free SIP server.
*
* Kamailio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free ... | C | data_lump.h | vingarzan/kamailio | gpl-2.0 | 3,628 | 97 | codeparrot/github-code |
a39f86c69a58bb047e369c4fe02dba7662ce374488488ce621108e8478507c75 | /*
* Common function shared by Linux WEXT, cfg80211 and p2p drivers
*
* Copyright (C) 1999-2011, Broadcom Corporation
* Copyright(C) 2011-2012 Foxconn International Holdings, Ltd. All rights reserved.
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of th... | C | drivers/net/wireless/bcmdhd/wldev_common.h | lozohcum/android_kernel_sony_msm7x27a-legacy-TeamBlur | gpl-2.0 | 4,432 | 112 | codeparrot/github-code |
3860690a4f73e576d6dcd48704dc0bf8c2e58a384df9e807753c02b2c48b2c06 | /*
* phy-ti-pipe3 - PIPE3 PHY driver.
*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.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 Software Foundation; either version 2 of the Lice... | C | drivers/phy/ti/phy-ti-pipe3.c | Fe-Pi/linux | gpl-2.0 | 21,102 | 797 | codeparrot/github-code |
bb57362c81a21b21de58ecdecfcd333004d33b04580d56e127496fc910884484 | /*
* drivers/amlogic/uart/uart/meson_uart.c
*
* Copyright (C) 2013 AMLOGIC, INC.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option... | C | drivers/amlogic/uart/uart/meson_uart.c | maxnet/linux-amlogic | gpl-2.0 | 26,764 | 1,073 | codeparrot/github-code |
86978859c5b8907e27d30aa9145d39eca1a34e63fc9fa4ad088d88c6edf2503c | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2014 Google Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; version 2 of
* the License.
*
* This program is dis... | C | src/soc/intel/braswell/elog.c | NamanG/coreboot2.0 | gpl-2.0 | 2,889 | 122 | codeparrot/github-code |
d4ad4dd82cce840f82645bcead5e1992e6bab89ea77f82721fbf7418d0b34767 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml;
using Server;
using Server.Commands;
using Server.Mobiles;
using Server.Spells;
namespace Server.Regions
{
public class GuardedRegion : BaseRegion
{
private static object[] m_GuardParams = new object[1];
pri... | C# | Scripts/Regions/GuardedRegion.cs | Gr3enP0ison/runuo-ec | gpl-2.0 | 9,814 | 381 | codeparrot/github-code |
4192e8bb45403f42f18cf6462505536c9762d0c4cfceb3190dc23e30535f8375 | // Copyright 2009 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.
package tls
type clientHelloMsg struct {
raw []byte
vers uint16
random []byte
sessionId []byte
cipherSui... | GO | uefi/gcc/gcc-4.6.3/libgo/go/crypto/tls/handshake_messages.go | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 18,267 | 905 | codeparrot/github-code |
15ac2c99f7eb4852bf7838985daa504cd41409b7f8aeec2a515c01c33424ec95 | <?php
/**
* @package admin
* @copyright Copyright 2003-2016 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Author: DrByte Sat Oct 17 20:53:59 2015 -0400 Modified in v1.5.5 $
*/
if (!defined('IS_A... | PHP | snaiL-FlI-nevEr/includes/modules/product_music/collect_info_metatags.php | lysovannborey/Ecommerce | gpl-2.0 | 12,802 | 180 | codeparrot/github-code |
84006cbd35c7bfb4022f31b598e1ca7e0b0380d389a104c366ef301a0a41e65f | /*
*********************************************************************************************************
* uC/GUI
* Universal graphic software for embedded applications
*
* (c) Copyright 2002, Micrium Inc., Weston, FL
... | C | 3-野火ISO-系统进阶篇/uCGUI/竖屏GUI_DEMO/uCGUI/uCGUIDemo/GUIDEMO_FrameWin.c | WildfireTeamPRJ/wildfire_stm32_iso | gpl-2.0 | 3,880 | 129 | codeparrot/github-code |
95bb49f17693661db5cff666bf2323cd25350b3b20c7c69f8d81c0cf60bdec87 | <?php
/**
* Cart totals
*
* This template can be overridden by copying it to yourtheme/woocommerce/cart/cart-totals.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do ... | PHP | woocommerce/cart/cart-totals.php | oxosolutions/aione | gpl-2.0 | 4,474 | 113 | codeparrot/github-code |
e0a54dcbf60ef62bd8298a0be736323e2af5808a14140f6b51770fe1003110cf | -----------------------------------------
-- ID: 5686
-- Item: cheese_sandwich
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Agility 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | Lua | scripts/globals/items/cheese_sandwich.lua | UnknownX7/darkstar | gpl-3.0 | 1,191 | 49 | codeparrot/github-code |
05883a73b65280a22b12c12bc0933488cf0d06d1879b1e3e02096bcb09e9bfd6 | /* -*- Mode: C; tab-width: 8 -*-*/
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef _CRMFIT_H_
#define _CRMFIT_H_
struct CRMFCertReqMessagesStr {
CRMF... | C | security/nss/lib/crmf/crmfit.h | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 5,117 | 186 | codeparrot/github-code |
303124cf9b452b64c8cca08a4edcbec737bf9bc0a2177dd55f67227b9ace9682 | <?php
require_once(__DIR__ . '/GitHubUser.php');
class GitHubFullUser extends GitHubUser
{
/* (non-PHPdoc)
* @see GitHubObject::getAttributes()
*/
protected function getAttributes()
{
return array_merge(parent::getAttributes(), array(
'name' => 'string',
'company' => 'string',
'blog' => 'string',... | PHP | github-php-client/client/objects/GitHubFullUser.php | kaltura/github_hookies | agpl-3.0 | 2,556 | 216 | codeparrot/github-code |
356a571f0ad04158cb9f04123f09b0186648386809fee46c2febbfe0e702c4ac | /*
* Copyright (C) 2009 The Guava 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 agre... | Java | guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java | liyazhou/guava | apache-2.0 | 10,108 | 290 | codeparrot/github-code |
e04ae5c03a36cda254c03f9e9b819e7296263b9b285a35c7c05f20c0f6c085e3 | /*
* Copyright 2008 Google Inc.
* Copyright 2007 Nintendo Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | C | os/net/include/inet4reass.h | LambdaLord/es-operating-system | apache-2.0 | 2,021 | 81 | codeparrot/github-code |
2024b558628f1f5ada7b020fbabd20915bc9291db9b8c553d722ba459e37efce | /*===============================================================================
************ Accordion ************
===============================================================================*/
app.accordionToggle = function (item) {
item = $(item);
if (item.length === 0) return;
if (item.hasClass... | JavaScript | www/lib/framework7/src/js/framework7/accordion.js | kevinzhuwenyu/MUST_WAKE_UP | apache-2.0 | 2,371 | 60 | codeparrot/github-code |
8d56cbaba4e3853b9085027cc38fd62dee917c6cc505b90b3dcec106a04d8739 | package com.mapswithme.maps.editor;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.DrawableRes;
import android.support.annotation.Nullable;
import android.support.annotation.StringRes;
import android.support.v7.... | Java | android/src/com/mapswithme/maps/editor/ProfileFragment.java | goblinr/omim | apache-2.0 | 5,578 | 193 | codeparrot/github-code |
39ee11f3bbf2b20114d84b99a739579d99fc0eca0a6ee8ccc083209470239638 | /*
* 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 | src/java/org/apache/cassandra/io/util/DataOutputBuffer.java | carlyeks/cassandra | apache-2.0 | 6,614 | 243 | codeparrot/github-code |
feb8a626b493a665628d9d8d8516a677b12c8c5237ffeb70b0c5b291ca567bc4 | /**
* 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 | addons/hdfs-snapshot-mirroring/src/main/java/org/apache/falcon/snapshots/retention/HdfsSnapshotEvictor.java | sriksun/falcon | apache-2.0 | 9,978 | 211 | codeparrot/github-code |
01929178fcdc7f5e62227cd25ef5169eb1a85a3f5ab5793f58112a7a9c9da7a8 | /*
* Copyright 2014 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 applica... | Java | subprojects/language-java/src/main/java/org/gradle/api/tasks/javadoc/internal/JavadocSpec.java | gstevey/gradle | apache-2.0 | 1,894 | 71 | codeparrot/github-code |
d67dbcdffc18b704f4a4b5570f0cabc4466eb3c3bf126d93f13883ace78116e4 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/platform-api/src/com/intellij/util/ui/RangeBlinker.java | siosio/intellij-community | apache-2.0 | 3,253 | 98 | codeparrot/github-code |
ea98613e1143f2212fbd8c647a59539e093153855acfb741a9132c738267019b | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.highlighter.custom.tokens;
import com.intellij.psi.CustomHighlighterTokenType;
/**
* @author dsl
*/
public final class MultilineCommentParser extends... | Java | platform/core-impl/src/com/intellij/ide/highlighter/custom/tokens/MultilineCommentParser.java | siosio/intellij-community | apache-2.0 | 1,436 | 43 | codeparrot/github-code |
4f995943a3cf0f601cb7f32be9e9726162c1c62b1caac75b0dcf8b1031e98230 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.siyeh.ipp.vararg;
import com.siyeh.ipp.IPPTestCase;
/**
* @author Bas Leijdekkers
*/
public class WrapVarargArgumentsWithExplicitArrayIntentionTest extends IPPTest... | Java | plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/vararg/WrapVarargArgumentsWithExplicitArrayIntentionTest.java | jwren/intellij-community | apache-2.0 | 4,279 | 147 | codeparrot/github-code |
f6bdbb7c2fcfeeab24432a8a4fc4adca8b8880672513fe94c14a65c3e1b34df9 | /*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2010-2017. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | C | erts/lib_src/common/ethr_aux.c | aboroska/otp | apache-2.0 | 16,958 | 749 | codeparrot/github-code |
83491b170b4d085ab3a5fc08eea6f7d04ae218732b36e2e37a67331ab7e0b68e | /**
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Java | parquet-hadoop/src/main/java/parquet/hadoop/Footer.java | liancheng/parquet-mr | apache-2.0 | 1,262 | 55 | codeparrot/github-code |
e06083ca1bb1e16d41f7e7f534c5e020a32c73323b81c891c835b8e9d03dd625 | /*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | Java | esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/factory/LocalEntryFileCreator.java | chanakaudaya/developer-studio | apache-2.0 | 2,363 | 54 | codeparrot/github-code |
ffad5055d0de500019bcff7a3abd324a796c8ff8368bdae65e4076f9f871743a | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.protocol.xpack.graph;
import org.elastic... | Java | x-pack/plugin/core/src/main/java/org/elasticsearch/protocol/xpack/graph/VertexRequest.java | GlenRSmith/elasticsearch | apache-2.0 | 7,236 | 235 | codeparrot/github-code |
d13e678855c903c083ca2e0b61a1d8da52634da84bc8d1fb90134eb5afbb0874 | /*
* Copyright 2015 LG CNS.
*
* 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 t... | Scala | scouter.server/src/scouter/server/db/counter/DailyCounterIndex.scala | jahnaviancha/scouter | apache-2.0 | 2,673 | 88 | codeparrot/github-code |
599d81e91f7728d0bc35516a2f5f4048d70b5f6cb4c7c2823b0d107c1e78b996 | /*
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/DevToolsEmbeddedDataSourceAutoConfigurationTests.java | jbovet/spring-boot | apache-2.0 | 1,927 | 56 | codeparrot/github-code |
873e0525ce8c00761af08836bc189ceaeb93491f1a37ca150e3e729ff42bb46f | #include <ctti/nameof.hpp>
#include <ctti/type_id.hpp>
#include <iostream>
#include <unordered_map>
struct foo
{
int i=0;
};
int f(const std::string&, int)
{
return 42;
}
enum class bar_enum
{
FOO,
BAR,
QUUX
};
int main()
{
static_assert(ctti::type_id<int>()!=ctti::type_id<char>(), "what?");... | C++ | examples/ctti/main.cpp | xsacha/hunter | bsd-2-clause | 1,265 | 45 | codeparrot/github-code |
c1ccd8b3be98bca8a0707ef34dbd7f8aaec3beac53850cab53517bc12f7b7fda | /*
This file is part of the GhostDriver by Ivan De Marino <http://ivandemarino.me>.
Copyright (c) 2012-2014, Ivan De Marino <http://ivandemarino.me>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
... | Java | test/java/src/test/java/ghostdriver/FileUploadTest.java | amikey/ghostdriver | bsd-2-clause | 7,260 | 172 | codeparrot/github-code |
d5165a7da19a33e182cae24d53839239d135f2eda072d575b4060304bb231c2a | <?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 a... | PHP | src/frapi/library/Zend/Service/Delicious.php | nslod/frapi | bsd-2-clause | 18,185 | 617 | codeparrot/github-code |
4670e1fa8b4c01bc28df920183426c269e15b7f2fa66328110600d12e4c45f60 | // tinygettext - A gettext replacement that works directly on .po files
// Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either versi... | C++ | libs/tinygettext/iconv.cpp | DaemonDevelopers/Daemon | bsd-3-clause | 4,073 | 149 | codeparrot/github-code |
0ef85607998bd3704c2497e189e97ff5b6af23a894eec7cdd85346415b3691a3 | //===- IRObjectFile.cpp - IR object file implementation ---------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | riscv/llvm/3.5/llvm-3.5.0.src/lib/Object/IRObjectFile.cpp | dededong/goblin-core | bsd-3-clause | 7,857 | 280 | codeparrot/github-code |
ea0ea5612d8bdf3ff09fa22d03eae936c8a148124c3684a9c27544a287ad054d | <!DOCTYPE html>
<meta name="viewport" content="width=device-width, user-scalable=no">
<link rel="stylesheet" type="text/css" href="resources/tablet.css">
<script src="resources/perftesthelper.js"></script>
<script src="resources/web_animations_api_check.js"></script>
<style>
target {
position: absolute;
width: 0px;... | HTML | tools/perf/page_sets/tough_animation_cases/web_animations_many_keyframes.html | markYoungH/chromium.src | bsd-3-clause | 1,397 | 48 | codeparrot/github-code |
68dece3efb704025f68c653d8a324d17455a48be408d140974bd4a7c5e5521ae | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2009-2010, Image Engine Design 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:
//
// ... | C++ | src/IECoreMaya/DelightProceduralCacheCommand.cpp | lento/cortex | bsd-3-clause | 11,294 | 331 | codeparrot/github-code |
e89effa7f015ebfe018ce87061e49bff6fa1a1682de2139298440dfd46b6da65 | // Copyright 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.
#ifndef MOJO_SHELL_IDENTITY_H_
#define MOJO_SHELL_IDENTITY_H_
#include "url/gurl.h"
namespace mojo {
namespace shell {
/**
* Represents the identity o... | C | mojo/shell/identity.h | guorendong/iridium-browser-ubuntu | bsd-3-clause | 865 | 32 | codeparrot/github-code |
1f6a220a2192496ddc3589d345cf7146e1e9e8054be89210f4ebf802d28aac1b | /*
* Copyright (c) JForum Team
* 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 conditions an... | Java | src/net/jforum/context/web/WebSessionContext.java | rafaelsteil/jforum2 | bsd-3-clause | 2,594 | 94 | codeparrot/github-code |
9497e427eb89c65067f0db461e23f8091aedb0bf5207a02a0c4dd3e03bcf209c | /*
* 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 | elasticsearch-master/core/src/main/java/org/elasticsearch/search/aggregations/AggregatorFactory.java | strahanjen/strahanjen.github.io | bsd-3-clause | 8,905 | 249 | codeparrot/github-code |
842ee519693af6fb08cd5f3192d79de6cc5720e51e28fe08b877f82e824b483c | /**
* @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
*/
const parse5 = require('parse5');
import {ListWrapper} from '../src/facade/collection';
import {DomAdapter, setRoot... | TypeScript | modules/@angular/platform-server/src/parse5_adapter.ts | JSMike/angular | mit | 24,312 | 762 | codeparrot/github-code |
9b018a58e2c42167e534c17efc6decc812ba3a4fdac131473bbd7a729ac73ce7 | /*
Plugin Name: Cookie Bar
Plugin URL: http://cookie-bar.eu/
@author: Emanuele "ToX" Toscano
@description: Cookie Bar is a free & simple solution to the EU cookie law.
@version: 1.5.9
*/
/*
* Available languages array
*/
var CookieLanguages = [
'ca',
'de',
'en',
'es',
'fr',
'hu',
'it',
'nl'... | JavaScript | files/cookie-bar/1.5.11/cookiebar-latest.js | Asaf-S/jsdelivr | mit | 11,645 | 444 | codeparrot/github-code |
b364df13251eb2c4fb867ff239cebe37e9b2ad4744cb05c2fd6e6acaef2857c9 | //
// ____ _ __ _ _____
// / ___\ /_\ /\/\ /\ /\ /__\ /_\ \_ \
// \ \ //_\\ / \ / / \ \ / \// //_\\ / /\/
// /\_\ \ / _ \ / /\/\ \ \ \_/ / / _ \ / _ \ /\/ /_
// \____/ \_/ \_/ \/ \/ \___/ \/ \_/ \_/ \_/ \____/
//
// Copyright S... | C | samurai-webcore/modules/html-dom/Samurai_HtmlDomNode.h | KearLiao/samurai-native | mit | 5,342 | 181 | codeparrot/github-code |
0cba4a7e07d643eab59e9a664e310a026902944932a686f12c2b32bbbc36f01c | define("dojox/mobile/FixedSplitter", [
"dojo/_base/array",
"dojo/_base/declare",
"dojo/_base/window",
"dojo/dom-class",
"dojo/dom-geometry",
"dijit/_Contained",
"dijit/_Container",
"dijit/_WidgetBase"
], function(array, declare, win, domClass, domGeometry, Contained, Container, WidgetBase){
// module:
// do... | JavaScript | web/public/libs/dojo/1.8.3/dojox/mobile/FixedSplitter.js.uncompressed.js | ISTang/sitemap | gpl-2.0 | 5,069 | 160 | codeparrot/github-code |
387e50f6f9808b4a98b57bea6ab7254e346f25de1e3a2785bd278a531576027c | <?php
/**
* @version $Id: default_order.php 146 2013-10-07 09:02:25Z michal $
* @package DJ-Catalog2
* @copyright Copyright (C) 2012 DJ-Extensions.com LTD, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @deve... | PHP | components/com_djcatalog2/views/myitems/tmpl/default_order.php | toandevitviet/vpan | gpl-2.0 | 3,735 | 70 | codeparrot/github-code |
505fe16c3915fbfa89813008c69e54d777890ad610417146e8bac6a03b369876 | /* @(#)s_log1p.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided t... | C | sysdeps/ieee754/dbl-64/s_log1p.c | VincentS/glibc | gpl-2.0 | 5,899 | 196 | codeparrot/github-code |
172d3835690c219df04c04978088ea7b0e11f7c3c57847d9a79d994382f591f8 | #pragma once
/***
This file is part of systemd.
Copyright 2012 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option... | C | src/basic/calendarspec.h | petrosagg/systemd | gpl-2.0 | 1,683 | 59 | codeparrot/github-code |
3298b53f7ca909dbcfb0b556d526dcec760ff810d23190646ccfd02edc05a6c8 | /***************************************************************************
qgspostgresexpressioncompiler.h
----------------------------------------------------
date : 22.4.2015
copyright : (C) 2015 by Matthias Kuhn
email ... | C | src/providers/postgres/qgspostgresexpressioncompiler.h | AsgerPetersen/QGIS | gpl-2.0 | 1,544 | 36 | codeparrot/github-code |
c1492d14cb662ecd905d608cd0bc62519f64706842509a94f0b2108032ab88a8 | <?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| ... | PHP | lib/max/Admin_DA.php | Mordred/revive-adserver | gpl-2.0 | 54,702 | 1,534 | codeparrot/github-code |
0a837c431ed1bb3992b7d8459ff13c89758fcdef990632a56d7a0f845c3b024f | /*
* max8893.c -- Voltage and current regulation for the Maxim 8893
*
* Copyright (C) 2009 Samsung Electronics
* Inchul.Im <inchul.im@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software... | C | drivers/regulator/max8893.c | TeamRefuse/android_kernel_samsung_dempsey | gpl-2.0 | 20,825 | 811 | codeparrot/github-code |
befddb971415e414bb58dd8f63af5cd0e48c485cc6b5340e078417bea8816775 | #include <xen/errno.h>
#include <xen/init.h>
#include <xen/lib.h>
#include <xen/mm.h>
#define HEAPORDER 3
static unsigned char *__initdata window;
#define memptr long
static memptr __initdata free_mem_ptr;
static memptr __initdata free_mem_end_ptr;
#define WSIZE 0x80000000
static unsigned char *__initdata... | C | xen/common/gunzip.c | Chong-Li/RTDS-ToolStack-2 | gpl-2.0 | 3,011 | 138 | codeparrot/github-code |
4138d9063e436edbecbb5addbac10ee0f9dbbd87dabf6a626916de85c42be61c | // (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Convert)]
[Tooltip("Converts an Integer value to a String value with an optional format.")]
public class ConvertIntToString : FsmStateAction
{
[RequiredFi... | C# | unity3d/Assets/PlayMaker/Actions/ConvertIntToString.cs | ojh6t3k/UnityRobot | gpl-2.0 | 1,448 | 62 | codeparrot/github-code |
efc871f7b32973a120c6f3a5b77c46ed5eb1b8c7644b925ae543093cea0689c4 | /***************************************************************************
* Low Level MAD Library Implementation for the GameCube *
* By Daniel "nForce" Bloemendal *
* nForce@Sympatico.ca *
***********... | C | source/mp3player.c | blahblahblahblah831/cfg-loader-mod | gpl-2.0 | 10,779 | 486 | codeparrot/github-code |
89ad6b517bdf6b9154877157a0fafd3328fe2444dd75431c88643024a246a681 | <?php
/**
*
* $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields/skype.php $
* $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
* $LastChangedRevision: 1027712 $
* $LastChangedBy: iworks $
*
*/
/**
* Register data (called automatically).
*
* @return type
*... | PHP | wp-content/plugins/types/embedded/includes/fields/skype.php | cgb37/umlib-wp.local | gpl-2.0 | 16,894 | 500 | codeparrot/github-code |
747ee79cd171987bc6b1fbb8b7e79bfea42f6421798153f8437c82ba814173f6 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2006 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed... | C++ | utils/bench-simulator.cc | ciprian-radu/unimap.ns-3noc | gpl-2.0 | 5,235 | 212 | codeparrot/github-code |
45958cff2af7e9095cc0fa7ae9a36d323942e9fae6f59153e5836095229e35ca | /* Platform independent shared object routines for GDB.
Copyright (C) 2011-2016 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundatio... | C | gdb/gdb-dlfcn.c | swigger/gdb-ios | gpl-2.0 | 2,971 | 138 | codeparrot/github-code |
c9a281723265ad20789afc707f4d36b56d16327caae51e438f347e1656eb6b93 | /*
* Copyright (C) 2008-2017 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/common/Utilities/AsioHacksFwd.h | Vafanopoli/TrinityCore | gpl-2.0 | 1,916 | 69 | codeparrot/github-code |
84e586184c42add6f96a19487c30b05e20d201b3ff6fea378a0eb1b0e96d9cc4 | <?php
/**
* The template for displaying comments.
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package MDLWP
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the commen... | PHP | wp-content/themes/MDLWP-master/comments.php | zaiats85/skipass | gpl-2.0 | 3,959 | 99 | codeparrot/github-code |
aa5afd2dfc46fc7e8306bdb78e0bd71fb4d188294407105ac3be255b7e291225 | /*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be usefu... | C++ | libraries/SITL/SIM_Blimp.cpp | lthall/Leonard_ardupilot | gpl-3.0 | 5,030 | 155 | codeparrot/github-code |
592b6846d816c7af15d4a9deb5b34c515dd00dd7812bbaec90d18b2ef08747d3 | package com.dotmarketing.scripting.viewtool;
import com.dotmarketing.scripting.util.BSFUtil;
import com.dotmarketing.util.Logger;
public class PythonTool extends AbstractScriptingTool {
public String eval(String scriptletOrFile) {
if(!engineInited){
initEngine();
}
try{
if(!canUserEvalute()){
Logger... | Java | src/com/dotmarketing/scripting/viewtool/PythonTool.java | ggonzales/ksl | gpl-3.0 | 1,300 | 49 | codeparrot/github-code |
b49afb24b9f32952ed841ae367daa48d8c3455678a53373856beaf1f6ee26296 | // Copyright 2015 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package uniter
import (
"github.com/juju/errors"
"gopkg.in/juju/names.v2"
"github.com/juju/juju/apiserver/common"
"github.com/juju/juju/apiserver/common/storagecommon"
"github.com/juju/juju/apiserver/facade"
"github.co... | GO | apiserver/uniter/storage.go | perrito666/juju | agpl-3.0 | 12,519 | 401 | codeparrot/github-code |
b9c5c33406439979a0605167275b2f2dfcd47b93a88c54b2b08d1ea9e744af5f | /* Helper code for POSIX timer implementation on LinuxThreads.
Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Kaz Kylheku <kaz@ashi.footprints.net>.
The GNU C Library is free software; you can redistribute it and/or
modify it un... | C | libpthread/linuxthreads/sysdeps/pthread/timer_routines.c | waweber/uclibc-clang | lgpl-2.1 | 15,443 | 573 | codeparrot/github-code |
d3f6df98e3798501019ac542848c675b939811aaac57113da63b9de22e652854 | package Genome::Model::ReferenceAlignment::Command::BsmapMethCalcConversionRate;
use strict;
use warnings;
use Genome;
use Genome::Model::Tools::Bsmap::MethCalcConversionRate;
class Genome::Model::ReferenceAlignment::Command::BsmapMethCalcConversionRate {
is => 'Command::V2',
has => [
build => {
... | Perl | lib/perl/Genome/Model/ReferenceAlignment/Command/BsmapMethCalcConversionRate.pm | genome/genome | lgpl-3.0 | 3,355 | 101 | codeparrot/github-code |
1460ad96a09b23f486b6cc6d72335148a1b5ae97228b59e2b847595aefb5adfd | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | Python | tensorflow/python/grappler/model_analyzer.py | eadgarchen/tensorflow | apache-2.0 | 1,476 | 40 | codeparrot/github-code |
b5814ee1fa51f38abc3fb87167192ed8e860087e23231033b33e3ff07237da06 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceTransactedWithChoiceRedeliveryTest.java | adessaigne/camel | apache-2.0 | 2,718 | 63 | codeparrot/github-code |
9c4c36822e212e62ad1de553ceac57eb0a9d2ac6aa7914827204298d59bfe1d4 | /*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under t... | Java | drools-persistence-jpa/src/main/java/org/drools/persistence/TransactionManagerHelper.java | amckee23/drools | apache-2.0 | 2,666 | 66 | codeparrot/github-code |
040f969f5c0f4b1241de6ad5fc7c50b072adc5d2675c3b2b61be23c1cdf5229f | /*
* Copyright 2015 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Java | src-netty/io/netty/example/http2/tiles/Http2RequestHandler.java | cowthan/JavaAyo | apache-2.0 | 5,480 | 123 | codeparrot/github-code |
839ed6f5ae593cb25183beaa12b380979a100a43ee01acd907bf8c29459c80b2 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.security.action.user;
import org.elasti... | Java | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserResponse.java | nknize/elasticsearch | apache-2.0 | 1,483 | 50 | codeparrot/github-code |
7f01bf4614575ac8e985bb50520ee514901ef3358e19f9d8ca236c16066fda2e | /*******************************************************************************
* Copyright (c) 2000, 2008 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 | jaggery/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/includepath/NewVariableEntryDialog.java | nwnpallewela/developer-studio | apache-2.0 | 11,624 | 378 | codeparrot/github-code |
732be0e67f019000a1be17f6cd44387ca2170714fe22f2b2affaac1e5734f25a | /*
* 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 ... | Scala | flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/runtime/join/NonWindowLeftRightJoin.scala | bowenli86/flink | apache-2.0 | 3,490 | 94 | codeparrot/github-code |
f64e79edf6944d98dd48709de3a6a5fdecc331369fc9cb35a8453696e2bc1c25 | /*
* Copyright 2007 ZXing 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 ... | C# | zxing_lib/datamatrix/decoder/BitMatrixParser.cs | renyh1013/dp2 | apache-2.0 | 17,980 | 520 | codeparrot/github-code |
f997c7025e91d9a7832eb72e28e7560a71a6e1228906fa2378f1128544705771 | // +build linux darwin
/*
Copyright 2012 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... | GO | pkg/fs/at.go | ginabythebay/camlistore | apache-2.0 | 3,352 | 114 | codeparrot/github-code |
75978b241604890658ec29b0bc6b741faa5b37d866c0305fb88b35f4db321626 | /**************************************************************************//**
* @file rtc.c
* @version V3.00
* @brief M480 series RTC driver source file
*
* SPDX-License-Identifier: Apache-2.0
*
* @copyright (C) 2016 Nuvoton Technology Corp. All rights reserved.
****************************************... | C | targets/TARGET_NUVOTON/TARGET_M480/device/StdDriver/src/m480_rtc.c | mbedmicro/mbed | apache-2.0 | 41,988 | 1,097 | codeparrot/github-code |
b7000f736216ab18d00dde83eaa782c3a1a5441ed0de31acb3d06d39bd5415f3 | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.ui;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.DialogWrapper;
import com.intellij.openapi.vcs.VcsBundle;... | Java | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/NewChangelistDialog.java | smmribeiro/intellij-community | apache-2.0 | 2,002 | 80 | codeparrot/github-code |
799823bf7c84af092c2df76ce954ca67d77ff70c02d0d1b306c672c0cdd6df5f | /*******************************************************************************
* Copyright (c) 2009 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, and is a... | Java | jaggery/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/FunctionName.java | nwnpallewela/developer-studio | apache-2.0 | 4,710 | 172 | codeparrot/github-code |
af2f81db69021b8a146e5a5517faf561d5c94a96cf0b1052f1bfb3b1f077fce6 | /*
* Copyright 2003-2015 Dave Griffith, Bas Leijdekkers
*
* 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 applicab... | Java | plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/threading/NakedNotifyInspection.java | siosio/intellij-community | apache-2.0 | 2,993 | 89 | codeparrot/github-code |
1ef8d60e1c44a8008db9cf8aad2cb67ea700875b34241101f66da463374b9f07 | /*
Egothor Software License version 1.00
Copyright (C) 1997-2004 Leo Galambos.
Copyright (C) 2002-2004 "Egothor developers"
on behalf of the Egothor Project.
All rights reserved.
This software is copyright... | Java | src/main/java/org/egothor/stemmer/Diff.java | smartan/lucene | apache-2.0 | 8,899 | 296 | codeparrot/github-code |
e4438995baf03f137c0722ec028c2b04e023d03eee323c3167679bd770f18664 | /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
/*
Copyright (c) 2002-2012 ymnk, JCraft,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 retai... | Java | third-party/jsch-0.1.46/src/main/java/com/jcraft/jsch/Buffer.java | mattb243/AmazonEC2Matlab | bsd-3-clause | 6,579 | 255 | codeparrot/github-code |
ad5f0ff759ffbea830485f9fd9bf8329c9d60afa6a92e4790dffc7b3acce4725 | <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="AUTHOR" content="pme@gcc.gnu.org (Phil Edwa... | HTML | tools/source/gcc-4.2.4/libstdc++-v3/docs/html/configopts.html | shaotuanchen/sunflower_exp | bsd-3-clause | 14,529 | 342 | codeparrot/github-code |
a81e1cb5d93221b2e66004e87c0289639f3145ddc18294a972529b6a657a0cd4 | require 'digest/md5'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
# This gateway accepts the following arguments:
# :login => your PayJunction username
# :password => your PayJunction pass
# Example use:
#
# gateway = ActiveMerchant::Billing::Base.gateway(:pay_gate_xml).new... | Ruby | lib/active_merchant/billing/gateways/pay_gate_xml.rb | gregwinn/active_merchant | mit | 9,661 | 267 | codeparrot/github-code |
c8e2071022a6262c3429ee019fd4e637cc840f52e71f4dda4830bc1245973864 | <head>
<meta charset="utf-8">
<!-- (1) Optimize for mobile versions: http://goo.gl/EOpFl -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- (1) force latest IE rendering engine: bit.ly/1c8EiC9 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% if page.title %}{... | HTML | _includes/head.html | blendedshire/blendedshire.github.io | mit | 3,140 | 47 | codeparrot/github-code |
815ca5bcb6353f4828e2962df95d36a7681a7f31f0f4882e65696c2e8e50f104 | <!doctype html>
<html>
<head>
<title>Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>
<body>
<header>
<nav class="container">
<a href="index.html" class="logo"><span>○</span> Mithril</a>
<a href="getting-started.html">Gui... | HTML | todomvc/mithril/bower_components/mithril/archive/v0.1.16/index.html | ybybzj/m-react-todomvc-perf | mit | 10,793 | 263 | codeparrot/github-code |
2adf009653e10a4281997e94a239e315218fa4f1295416a00e65e23fb5e7b1f1 | /*
* Copyright (c) 2008-2009 Apple Inc. All rights reserved.
*
* @APPLE_APACHE_LICENSE_HEADER_START@
*
* 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/lic... | C | tools/deps/prebuilt/include/dispatch/queue_internal.h | nathpete-msft/WinObjC | mit | 4,515 | 122 | codeparrot/github-code |
1ec679fa6accb30519aa02b10a6177a23dccd0096fd08716d602d5ceb1bba7ad | /*
*
* device driver for Conexant 2388x based TV cards
* card-specific stuff.
*
* (c) 2003 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
*
* 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 Foundatio... | C | snapgear_linux/linux-2.6.21.1/drivers/media/video/cx88/cx88-cards.c | impedimentToProgress/UCI-BlueChip | mit | 50,588 | 1,940 | codeparrot/github-code |
fbf47063bcf1444e9881b2264a5a0887e9c067d42e4472d85a2b9c96f53ed49b | /*
* fw_emul.c:
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; wi... | C | xen/arch/ia64/xen/fw_emul.c | jamesbulpin/xcp-xen-4.1 | gpl-2.0 | 45,273 | 1,623 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.