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 |
|---|---|---|---|---|---|---|---|---|
fea082fcfa639c2d627428ed6afbe156595803d7bb22c8be3a7fdbe6bde63104 | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | C | Modules/DiffusionImaging/Quantification/IODataStructures/TbssImages/mitkTbssImageSource.h | NifTK/MITK | bsd-3-clause | 2,421 | 95 | codeparrot/github-code |
4742de0093da3caa2e681de464caa289f0fbc171af40d6ded326dea01e8a744e | // 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 REMOTING_HOST_NATIVE_MESSAGIN_LOG_HANDLER_H_
#define REMOTING_HOST_NATIVE_MESSAGIN_LOG_HANDLER_H_
#include "base/callback.h"
#include "base/memor... | C | remoting/host/native_messaging/log_message_handler.h | Chilledheart/chromium | bsd-3-clause | 1,505 | 47 | codeparrot/github-code |
39ddad7db58018cb487e12490e459be62f7c44be2ed4bdbab2beae33159a3719 | // 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.
#ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
#define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
#include <string>
#include "... | C | content/shell/browser/shell_content_browser_client.h | 7kbird/chrome | bsd-3-clause | 4,575 | 116 | codeparrot/github-code |
4528655982e3839bcf064e3d14000759db46cdb45f1a0cded378023eb70236d9 | /*
Copyright (c) 2012, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License. See the accompanying LICENSE
file for terms.
*/
// [AUTO_HEADER]
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Globalization;
namespace TakaoPreference
{
partial class... | C# | YahooKeyKey-Source-1.1.2528/PreferenceApplications/Windows/PanelPhonetic.cs | wtlin2015/git-test | bsd-3-clause | 17,683 | 461 | codeparrot/github-code |
b1375900bb8046a4091da25a6b95f850d218a284eca1b37f793de31f99b91089 | /****************************************************************************
* VCGLib o o *
* Visual and Computer Graphics Library o o *
* _ O _ *
* Copyri... | C | third_party/vcglib/wrap/io_trimesh/export_obj.h | 0x0AF/lamure | bsd-3-clause | 13,661 | 408 | codeparrot/github-code |
a79483cb8e18f71d753a61120396cfd68eb3d8ef5b3367c27d600669060bfedd | // Copyright (c) 2015, Outercurve Foundation.
// 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
// ... | C# | WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/DiskspaceReportPackageDetails.ascx.cs | simonegli8/Websitepanel | bsd-3-clause | 4,071 | 109 | codeparrot/github-code |
3078aef1a1401c9c71cdf7cff9b5b1fd57b6f9ea5b4f25251150964297d22cdc | // 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.
#include "cc/playback/display_item_list.h"
#include <stddef.h>
#include <string>
#include "base/numerics/safe_conversions.h"
#include "base/strings/str... | C++ | cc/playback/display_item_list.cc | hujiajie/chromium-crosswalk | bsd-3-clause | 10,773 | 313 | codeparrot/github-code |
ef30ce615ec9699eab6e8d232371a1b6b07ec48dd668210afacd8511b0aedae4 | #!/usr/bin/env python
#
# Copyright 2007 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 o... | Python | y/google-cloud-sdk/platform/google_appengine/google/appengine/api/mail_service_pb.py | ychen820/microblog | bsd-3-clause | 25,492 | 916 | codeparrot/github-code |
3eaf6d1783d9859fe90b442f34f3cca5a6e5078505b45b56ff56d0d715c4bc77 | // -*- 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/libcxx/test/std/experimental/memory/memory.resource.aliases/header_set_synop.pass.cpp | endlessm/chromium-browser | bsd-3-clause | 2,087 | 70 | codeparrot/github-code |
6b45eedd840e638781dbaabd89ba26e278be254834e7329b74a3003f7dcd4e99 | // 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 CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_QUOTA_HELPER_H_
#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_QUOTA_HELPER_H_
#include <stdin... | C | chromium/chrome/browser/browsing_data/browsing_data_quota_helper.h | ric2b/Vivaldi-browser | bsd-3-clause | 2,818 | 82 | codeparrot/github-code |
4f1b9ab638dfb1c8ab01666052faac142b6956efccc13b9ce4237025d544d1ff | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2010, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | C | raw/workshop12/workshop2012-data-20120906/trunk/core/include/seqan/sequence/segment_infix.h | bkahlert/seqan-research | mit | 27,279 | 917 | codeparrot/github-code |
95ea1f2fc7e13ebab152c5000326656b365a276afb76f39613439a3a6e076c9a | <!DOCTYPE html >
<html>
<head>
<title>implOpSolveUpperTriPartitionedMatrixByMatrix - io.github.mandar2812.dynaml.algebra.PartitionedMatrixSolvers.implOpSolveUpperTriPartitionedMatrixByMatrix</title>
<meta name="description" content="implOpSolveUpperTriPartitionedMatrixByMatrix - io.github.ma... | HTML | api_docs/DynaML/v1.5/dynaml-core/io/github/mandar2812/dynaml/algebra/PartitionedMatrixSolvers$$implOpSolveUpperTriPartitionedMatrixByMatrix$.html | transcendent-ai-labs/transcendent-ai-labs.github.io | mit | 31,614 | 506 | codeparrot/github-code |
c379526084f758d5b6e16c44c3a5dd7f17dccefc995beb9dec84b71325f00338 | # Shorter routing method for project and project items
# Since update to rails 4.1.9 we are now allowed to use `/` in project routing
# so we use nested routing for project resources which include project and
# project namespace. To avoid writing long methods every time we define shortcuts for
# some of routing.
#
# Fo... | Ruby | app/helpers/gitlab_routing_helper.rb | sonalkr132/gitlabhq | mit | 2,899 | 88 | codeparrot/github-code |
05916bac0cd620c83704d4b3fe9d53e73f2ed46a210aa8475f9c4c8b4b5e56ab | <?php
/**
* Pure-PHP implementation of RC2.
*
* Uses mcrypt, if available, and an internal implementation, otherwise.
*
* PHP versions 4 and 5
*
* Useful resources are as follows:
*
* - {@link http://tools.ietf.org/html/rfc2268}
*
* Here's a short example of how to use this library:
* <code>
* <?php
* ... | PHP | src/phpseclib/Crypt/RC2.php | marank/SC-API | mit | 25,023 | 763 | codeparrot/github-code |
e8a0309a000fc28e7e8c42ce990f6e1add5582446d0855d3a724e6938a12ae4c | /*
FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... | C | firmware/freertos/semaphore/lib/FreeRTOSV8.2.3/FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC/RunTimeStatsTimer.c | PUCSIE-embedded-course/stm32f4-examples | mit | 6,247 | 141 | codeparrot/github-code |
266f8c324792bd9875d37b545a9d23123cbe8c40decdbec4a25f210412a83277 | /**
* @package PickMeUp
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @author Stefan Petre <www.eyecon.ro>
* @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi
* @copyright Copyright (c) 2008-2009, Stefan Petre
* @license MIT License, see license.txt
*/
(function (root, factory) {
if (typeof ... | JavaScript | ajax/libs/PickMeUp/3.0.8/js/pickmeup.js | joeyparrish/cdnjs | mit | 40,019 | 1,375 | codeparrot/github-code |
f8786ea2aa8bcc516a4a47aead747567c67e532523a87211ff1b1ce752d0e9d5 | on("ready", function () {
let lastTime = Date.now();
let lastSecond = Math.floor(lastTime / 1000) * 1000;
let rotPerSec = 360 / 60;
const updateSpeed = 250;
let bar2Splitor = /^(\w|)(\w|)(\w|)(\w|)([.]|)(\w+|)/i;
let bar2numSplitor = [/[-][-](\d+)/i];
let bar2num2Splitor = /[.](\d+)/i;
l... | JavaScript | Game Timer/timer.js | shdwjk/roll20-api-scripts | mit | 6,499 | 149 | codeparrot/github-code |
2c0a24f8847e8f906a93b28d1857217474052c927b4969c047057e4679c9a6ae | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import HiddenJs from './HiddenJs';
import HiddenCss from './HiddenCss';
/**
* Responsively ... | JavaScript | ajax/libs/material-ui/5.0.0-alpha.9/es/Hidden/Hidden.js | cdnjs/cdnjs | mit | 3,967 | 152 | codeparrot/github-code |
45aaacc1b7381352ac26f264cb3724be598b47006aa7d5c67bce7b6362a45c3a | /*******************************************************************************
* Copyright (c) 2014 Bruno Medeiros and other Contributors.
* 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 distrib... | Java | plugin_ide.core/src/melnorme/lang/ide/core/project_model/view/DependenciesContainer.java | fredyw/goclipse | epl-1.0 | 1,467 | 38 | codeparrot/github-code |
9147e04ec2ccb5e6fe42c7eb11e55bb849af0b2ae3447bc75ad419814a60d518 | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/org.openhab.binding.onewire/src/main/java/org/openhab/binding/onewire/internal/owserver/OwserverConnection.java | clinique/openhab2 | epl-1.0 | 16,709 | 468 | codeparrot/github-code |
d6191c112fa4c7f8bb147947648db0103568e538ebc4420fab2ac5ee8f9e280d | /*
* Copyright (c) 2001, 2016, 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 | jdk9/jdk/src/java.base/macosx/native/libnet/bsd_close.c | YouDiSN/OpenJDK-Research | gpl-2.0 | 15,063 | 502 | codeparrot/github-code |
0895a7356453803a2c482745c461d6f53ff471e0bc6d33d0c3e9f03a18e0443d | /*
* drivers/net/wireless/bcmdhd/dhd_custom_sysfs_tegra_scan.c
*
* NVIDIA Tegra Sysfs for BCMDHD driver
*
* Copyright (C) 2014-2015 NVIDIA Corporation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, ... | C | drivers/net/wireless/bcmdhd_88/dhd_custom_sysfs_tegra_scan.c | arter97/android_kernel_nvidia_shieldtablet | gpl-2.0 | 43,547 | 1,627 | codeparrot/github-code |
31ad1c2d6f54203217e18cd5999d701e67abd05915cdf8a01a26080cfe4b352f | /*
* Copyright (C) 2017 Team XBMC
* http://kodi.tv
*
* 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, or (at your option)
* any later version.
*
* This P... | C++ | xbmc/windowing/wayland/Util.cpp | ironman771/xbmc | gpl-2.0 | 3,462 | 110 | codeparrot/github-code |
7d21fa2f73f7b3d7d20869a8afbc531d8fa157df7a2e1f83f824fad66a4e01ac | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>QMailAccountId Class Reference</title>
<link href="classic.css" rel="stylesheet" type="text/css" />
</he... | HTML | doc/html/qmailaccountid.html | rk34cj/qt-extend-4.4.3 | gpl-2.0 | 5,678 | 70 | codeparrot/github-code |
2e96bb8c6ee90a5f16f96e697a4645fc93e70864454f050984cbbd62e11948b4 | /* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2015 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/Logger/MD5.cpp | ahsparrow/xcsoar_orig | gpl-2.0 | 6,180 | 243 | codeparrot/github-code |
7e11364c08d4e1b6371ca14ede94db1d4844a040c36cc0e86589e8c204403836 | /*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2012 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
ver... | C | drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | holyangel/LGE_G3 | gpl-2.0 | 25,770 | 940 | codeparrot/github-code |
468245c07ea5b04fe7a2e0d5cdd196a8c8c339f64c053696603591483ae30ca1 | // license:BSD-3-Clause
// copyright-holders:Wilbert Pol
/**********************************************************************************
When backing up the SRAM from an FM-PAC the file seems to be prefixed
with: PAC2 BACKUP DATA. We only store the raw sram contents.
**********************************************... | C++ | src/devices/bus/msx_cart/fmpac.cpp | RJRetro/mame | gpl-2.0 | 3,554 | 174 | codeparrot/github-code |
e3a04279cad00e61217808a958c56c626ecb2274e6e7854c39bd3be038c25488 | #!/bin/bash
#
#
# note: script requires executable 'mesh2vtu'
##############################################
# USER PARAMETERS
# partitions
numCPUs=24
# kernel directory
dir=DATABASES_MPI/
# low (0) / high (1) resolution
res=$1
# colorbar maximum value
maxcolor=2e-07
# combines all partitions
do_all=0
###########... | Shell | EXAMPLES/global_PREM_kernels/traveltime/xcombine_vol_data.sh | komatits/specfem3d_globe | gpl-2.0 | 2,365 | 95 | codeparrot/github-code |
5b47dc1e87e4b95f576c008b0d8d72a59d3deb6d1377017c482018f4cfe5bcf1 | /*
* Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
*/
/*
* 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 licen... | Java | jdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java | YouDiSN/OpenJDK-Research | gpl-2.0 | 60,809 | 1,692 | codeparrot/github-code |
87e64b963569919b346629781de89ae9a1e44c5bfda7b5d107d314b4e938251c | /* Copyright (C) 2003-2011 DataPark Ltd. All rights reserved.
Copyright (C) 2000-2002 Lavtech.com corp. 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; either version... | C | src/dpguesser.c | Letractively/dataparksearch | gpl-2.0 | 6,157 | 231 | codeparrot/github-code |
7c6e8c9c6e65ad421c267739f6d3105521491f969e72ede04be52fbe68ad9e5c | // license:BSD-3-Clause
// copyright-holders:smf
/*
* PlayStation DMA emulator
*
* Copyright 2003-2011 smf
*
*/
#pragma once
#ifndef __PSXMDEC_H__
#define __PSXMDEC_H__
#include "emu.h"
extern const device_type PSX_MDEC;
#define DCTSIZE ( 8 )
#define DCTSIZE2 ( DCTSIZE * DCTSIZE )
#define MDEC_COS_PRECALC_BI... | C | src/devices/cpu/psx/mdec.h | h0tw1r3/mame | gpl-2.0 | 1,871 | 77 | codeparrot/github-code |
fe0839f5401ad8811acc5edb446bc5f0a51557f88ddd806ddb1831fcf97aff45 | /*
* Copyright (C) 2008-2009 ST-Ericsson AB
* License terms: GNU General Public License (GPL) version 2
* TCM memory handling for ARM systems
*
* Author: Linus Walleij <linus.walleij@stericsson.com>
* Author: Rickard Andersson <rickard.andersson@stericsson.com>
*/
#include <linux/init.h>
#include <linux/kernel.h... | C | arch/arm/kernel/tcm.c | holyangel/LGE_G3 | gpl-2.0 | 8,280 | 338 | codeparrot/github-code |
10ac42ff183d55333d393bb712cb0ca49d440dbd86a4dd74d4c32dca88b733cb | /* MN10300 GDB stub
*
* Originally written by Glenn Engel, Lake Stevens Instrument Division
*
* Contributed by HP Systems
*
* Modified for SPARC by Stu Grossman, Cygnus Support.
*
* Modified for Linux/MIPS (and MIPS in general) by Andreas Busse
* Send complaints, suggestions etc. to <andy@waldorf-gmbh.de>
*
... | C | arch/mn10300/kernel/gdb-stub.c | ypresto/linux-2.6 | gpl-2.0 | 45,175 | 1,907 | codeparrot/github-code |
94a8779cd8862bf3932e526f5863f67288ade0ae22bacf9093f29adb9fe50aa0 | // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
//
// This program 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 of the License, or (at your option) any
// later ver... | JavaScript | examples/modem-watcher-javascript/modemWatcher.js | mkotsbak/modemmanager-debian | gpl-2.0 | 3,400 | 90 | codeparrot/github-code |
98bb06c61590216a15782c771f45e16b7bf8fa9629e6734eb01f96f31013321e | var GKNSPPortfolio = function(module) {
var filter = module.find('.gk-portfolio-categories');
if(filter.length || module.attr('data-popup') === 'on') {
var images = module.find('.gk-images-wrapper a');
if(filter.length) {
var btns = filter.find('li');
btns.each(function(i, btn) {
btn = jQuery(btn);
... | JavaScript | wp-content/plugins/gk-nsp/article_wrappers/portfolio/portfolio.js | borigue/ekanisport | gpl-2.0 | 5,047 | 167 | codeparrot/github-code |
498bafd563f96f0c6dd66ee28ae1b9e3c97488bb2258c4464a02d5eef040c32c | #include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/pagemap.h>
#include <linux/pagevec.h>
/* These functions compensate for nice features, which are present
* in new kernels and absent in 2.6.18.
*/
static int _add_to_page_cache_l... | C | drivers/block/ploop/compat.c | zoobab/vzkernel | gpl-2.0 | 2,585 | 112 | codeparrot/github-code |
abaf71af9f848211e19fd4cbc5d973d9f822a035e4ec4ae2ce75abbbbcf61e64 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Qt 4.4: QTextInlineObject Class Reference</title>
<link href="classic.css" rel="stylesheet" type="text/c... | HTML | doc/html/qtextinlineobject.html | liuyanghejerry/qtextended | gpl-2.0 | 9,171 | 90 | codeparrot/github-code |
705ef0999ad33d4ab57e4b5716501d2bfa2b4e82cb27ba3b11b4a9ca3e38d592 | /* block.js is part of Aloha Editor project http://aloha-editor.org
*
* Aloha Editor is a WYSIWYG HTML5 inline editing library and editor.
* Copyright (c) 2010-2014 Gentics Software GmbH, Vienna, Austria.
* Contributors http://aloha-editor.org/contribution.php
*
* Aloha Editor is free software; you can redistribu... | JavaScript | src/plugins/extra/videoblock/lib/block.js | yrucrem/Aloha-Editor | gpl-2.0 | 3,911 | 127 | codeparrot/github-code |
d7092339e70d48e3dab04c600268392178076994bdd13965de70baf83e947a67 | /* Procedure definition for FE_NOMASK_ENV.
Copyright (C) 1997, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | C | sysdeps/powerpc/fpu/fe_nomask.c | stephenR/glibc-fpp | gpl-2.0 | 1,209 | 34 | codeparrot/github-code |
266bb6f712dacd41171cdfddd7940bb489fafa782d62e92a68bd746c1c47b3e0 | /******************************************************************************
*
* Module Name: bmrequest.c
* $Revision: 16 $
*
*****************************************************************************/
/*
* Copyright (C) 2000, 2001 Andrew Grover
*
* This program is free software; you can redistribute... | C | drivers/acpi/ospm/busmgr/bmrequest.c | alexbousso/kernel_2.4.18-14 | gpl-2.0 | 3,952 | 165 | codeparrot/github-code |
d1d548c4cd242bb15851b22aeeeb523bace46bdf15035f4644335b1e27a40a81 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Banner Slider Demo - Jssor Slider, Slideshow with Javascript Source Code</title>
</head>
<body style="background:#fff;">
<!-- Caption Style -->
<style>
.captionOrange, .captionBl... | HTML | wp-content/themes/twentythirteen/Jssor.Slider.FullPack/demos-jquery/banner-slider.source.html | waikitlin/wordpress | gpl-2.0 | 14,669 | 255 | codeparrot/github-code |
edf5bb84de4f8bdfc11c31f8616a5e98c67884a72071d61b1a8b7e0dda3a4a17 | <!DOCTYPE html>
<html>
<head>
<title>MiniMap Demo</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="./fullscreen.css" />
<!-- Leaflet -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js" type="text/jav... | HTML | nave/search/static/geoviewer/bower_components/Leaflet-MiniMap/example/example_larger.html | delving/nave | gpl-2.0 | 1,250 | 40 | codeparrot/github-code |
f54e7a4a5e0a6a31f14c45ae46325540f5f9e95ad29ce861ad72a30797853051 | /* SPDX-License-Identifier: LGPL-2.1+ */
#include <endian.h>
#include <inttypes.h>
#include <net/if.h>
#include <net/if_arp.h>
#include "alloc-util.h"
#include "env-file.h"
#include "fd-util.h"
#include "hostname-util.h"
#include "missing_network.h"
#include "networkd-link.h"
#include "networkd-lldp-tx.h"
#include "n... | C | src/network/networkd-lldp-tx.c | heftig/systemd | gpl-2.0 | 13,230 | 417 | codeparrot/github-code |
210238d1f44524c23fbd6ce6c668709b71d156abef77c68d1f1f309346bb59d7 | /*
* IBM eServer eHCA Infiniband device driver for Linux on POWER
*
* Function definitions for internal functions
*
* Authors: Heiko J Schick <schickhj@de.ibm.com>
* Dietmar Decker <ddecker@de.ibm.com>
*
* Copyright (c) 2005 IBM Corporation
*
* All rights reserved.
*
* This source code is di... | C | drivers/infiniband/hw/ehca/ehca_iverbs.h | curbthepain/revkernel_us990 | gpl-2.0 | 7,036 | 213 | codeparrot/github-code |
280daddb9e01136ba9f73e8b8f0060c10385b57953200c9530440cd1e120f1bf | /*
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | jdk9/jdk/src/java.desktop/share/classes/javax/swing/table/JTableHeader.java | YouDiSN/OpenJDK-Research | gpl-2.0 | 53,547 | 1,499 | codeparrot/github-code |
1bbfd5d75c484167322e2a9fabb0d329de600d51357558dc69e9f1a5aab51d05 | // SPDX-License-Identifier: GPL-2.0
/*
* ioctl32.c: Conversion between 32bit and 64bit native ioctls.
*
* Copyright (C) 1997-2000 Jakub Jelinek (jakub@redhat.com)
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
* Copyright (C) 2001,2002 Andi Kleen, SuSE Labs
* Copyright (C) 2003 Pavel Machek (pavel... | C | fs/compat_ioctl.c | Pingmin/linux | gpl-2.0 | 6,569 | 262 | codeparrot/github-code |
22edfbebf4a8331fc450d73dac4280822d1d550f85006ff6129874e6440bedfa | /*
* Copyright (C) 2011 matt mooney <mfm@muteddisk.com>
* 2005-2007 Takahiro Hirofuchi
*
* 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 | drivers/staging/usbip/userspace/src/usbip_bind.c | holyangel/LGE_G3 | gpl-2.0 | 6,837 | 278 | codeparrot/github-code |
b56f0397eff697da25630ecbd56356a615f391812217be5e7222c48f06c0a73a | /*
* PTP 1588 clock support - user space interface
*
* Copyright (C) 2010 OMICRON electronics GmbH
*
* 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 | include/linux/ptp_clock.h | holyangel/LGE_G3 | gpl-2.0 | 2,985 | 85 | codeparrot/github-code |
b36c8bbdf51d7e1d9f41e616fd4dc6349698b7a4c72ed960ac6cbf15289b1e09 | <?php
// Disallow direct access to this file
defined('_JEXEC') or die('Restricted access');
/*
* This is a PHP library that handles calling reCAPTCHA.
* - Documentation and latest version
* http://recaptcha.net/plugins/php/
* - Get a reCAPTCHA API Key
* http://recaptcha.net/api/getkey
* ... | PHP | components/com_community/helpers/recaptcha.php | mi-martinez/redPlaneta | gpl-2.0 | 10,874 | 310 | codeparrot/github-code |
2b020ecd3e1cf5c91e734da73c76a8be3076b0a13fb2c585d13f4b7135e01f14 | /****************************************************************************
**
** This file is part of the Qt Extended Opensource Package.
**
** Copyright (C) 2009 Trolltech ASA.
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public License
... | C++ | src/server/core_server/devicebuttontask.cpp | liuyanghejerry/qtextended | gpl-2.0 | 4,464 | 143 | codeparrot/github-code |
3a405e7dfcb2f841339897dc3c32728b1cc8c37bff447a0aa6b78e2e13f5d9ab | package com.fastaccess.data.dao;
import android.os.Parcel;
import android.os.Parcelable;
import com.fastaccess.data.dao.model.Comment;
import com.fastaccess.data.dao.model.Commit;
import com.fastaccess.data.dao.model.Gist;
import com.fastaccess.data.dao.model.Issue;
import com.fastaccess.data.dao.model.PullRequest;
i... | Java | app/src/main/java/com/fastaccess/data/dao/PayloadModel.java | k0shk0sh/FastHub | gpl-3.0 | 4,488 | 117 | codeparrot/github-code |
21285d0fa0f9098cd8f84897febe8252cfed46cee027f6c9ba68b6e1d9c167ee | /*
libparted
Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at yo... | C | libparted/fs/r/fat/calc.h | slattarini/parted-am-ng | gpl-3.0 | 2,528 | 77 | codeparrot/github-code |
63bf33ad60f4daf7acee4da62bc1746618fb1b494b962ebe065ad4e62562070e | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MissionPlanner.Controls;
using System.Collections;
namespace MissionPlanner.GCSViews.ConfigurationView
{
public... | C# | GCSViews/ConfigurationView/ConfigHWParachute.cs | malrpy/MissionPlanner | gpl-3.0 | 2,978 | 82 | codeparrot/github-code |
7d0319e88f392cf82c980f17e41a91fa9acbf9aef809df62740decdbf64877e3 | <?php
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Eric Seigne <erics@rycks.com>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2011 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C)... | PHP | htdocs/core/boxes/box_external_rss.php | Franck-MOREAU/dolibarr | gpl-3.0 | 7,200 | 197 | codeparrot/github-code |
99e2b7bc615cab80948821e4ef9758ea1d2c33415abce344e49aeef098ac2802 | /*
* Copyright (C) 2009 Niek Linnenbank
*
* 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 d... | C++ | kernel/API/VMCtl.cpp | ImmortalBen/FreeNOS | gpl-3.0 | 4,758 | 143 | codeparrot/github-code |
ff55b05b67e1b7920a9bc1b07fb05ca3a265440ea2770f0e0f12bf09334be7e1 | /* Copyright 2011 Google Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is dist... | Java | dependencyLibs/usb-serial-for-android/UsbSerialLibrary/src/com/hoho/android/usbserial/driver/UsbSerialProber.java | forgodsake/TowerPlus | gpl-3.0 | 11,287 | 306 | codeparrot/github-code |
4111ac78f9bcb29a0c6b71ca57d9711a880e0250020afd46b3be139a3e9e3dc9 | /* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferab... | C | targetlibs/nrf5x/nrf5_sdk/components/drivers_nrf/gpiote/nrf_drv_gpiote.c | muet/Espruino | mpl-2.0 | 18,149 | 581 | codeparrot/github-code |
b67c6fb340113729fb1b1ff07edd8b9250f0828f5c06d5eb3573f9b3880c4bb3 | # coding: utf-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/.
from operator import itemgetter
import re
from datetime import datetime
from random import randrange
f... | Python | bedrock/mozorg/forms.py | SujaySKumar/bedrock | mpl-2.0 | 30,627 | 894 | codeparrot/github-code |
1c36c6131709bc3b64d468416d9d0bc25aaf67cfb89b0383388f77ee544a25a4 | (function( $, app, i18n ) {
var ui = app.ns("ui");
ui.Header = ui.AbstractWidget.extend({
defaults: {
cluster: null,
clusterState: null
},
_baseCls: "uiHeader",
init: function() {
this._clusterConnect = new ui.ClusterConnect({
cluster: this.config.cluster
});
var quicks = [
{ text: i1... | JavaScript | systems/elasticsearch/dev-resources/plugins/head/_site/src/app/ui/header/header.js | containium/containium | mpl-2.0 | 2,576 | 74 | codeparrot/github-code |
ffc90ae9e00a5bee5f06cb83c1e81b1e1ec7172118bf8bb11dc4fe927fe3055f | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2017 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | Java | src/main/java/com/puppycrawl/tools/checkstyle/api/FullIdent.java | sharang108/checkstyle | lgpl-2.1 | 4,491 | 150 | codeparrot/github-code |
46b8c35b91cc8c7cbb9b30c0262e6ac977af4a8abcf31baa7d4ded1850e0bcb5 | /*
* Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup driver_periph
* @{
*
* @file uart.c
... | C | cpu/atmega2560/periph/uart.c | herrfz/RIOT-old | lgpl-2.1 | 6,429 | 320 | codeparrot/github-code |
2c521b3867f850cf74a10a1fdc88281924d27d22e8ec8df3c7755c7b860b7a6e | // Safe iterator implementation -*- C++ -*-
// Copyright (C) 2011-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Softwar... | C | libstdc++_trace/libstdc++-v3/include/debug/safe_local_iterator.h | Tingzhe/Test | lgpl-3.0 | 12,271 | 363 | codeparrot/github-code |
95b532b20c2c530be643dac498854a781155f4eaf6a0ce2e4f636e018cc8d027 | # Copyright 2013 Hewlett-Packard Development Company, L.P.
#
# 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 requir... | Python | openstack_dashboard/dashboards/identity/groups/tables.py | zouyapeng/horizon-newtouch | apache-2.0 | 7,450 | 217 | codeparrot/github-code |
8c510eb248b7cdd745cad4178c2353fd072f9b19cf8051209c1c08b3e285d798 |
package master.flame.danmaku.danmaku.model.android;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import master.flame.danmaku.controller.DanmakuFilters;
import master.flame.danmaku.controller.DanmakuFilters.IDanmakuFilter;
import master.flame.danmaku.danmaku.model.AlphaValue;
impor... | Java | libs/DanmakuFlameMaster/java/master/flame/danmaku/danmaku/model/android/DanmakuGlobalConfig.java | SteamedBunZL/PlayerTest | apache-2.0 | 17,943 | 559 | codeparrot/github-code |
e18a09352a50c75d2d303cd98c83291775cef08272cc38fbec72376597e83825 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | C | third_party/openssl/openssl/test/md4test.c | openweave/openweave-core | apache-2.0 | 2,071 | 88 | codeparrot/github-code |
9da464fa701f5664cf52eb408b5cd586510f22ac12bc62f3f0b1433334f28eb8 | /*
* Copyright 2015, The Querydsl Team (http://www.querydsl.com/team)
*
* 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 | querydsl-collections/src/test/java/com/querydsl/collections/PatternsTest.java | gordski/querydsl | apache-2.0 | 1,092 | 33 | codeparrot/github-code |
e63688fb843ec050fa3793acd208e13723ce55df13d96d171d76cec951d15dee | /* 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 applicable law or a... | C++ | tensorflow/core/kernels/remote_fused_graph_execute_utils.cc | seaotterman/tensorflow | apache-2.0 | 37,910 | 1,023 | codeparrot/github-code |
94c715b1247ada737d84b3cdea8c0493fed5306dc5bd33df6584bb2f4501a3c4 | #!/usr/bin/env python
# Licensed to Cloudera, Inc. under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. Cloudera, Inc. licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you ma... | Python | apps/filebrowser/src/filebrowser/lib/archives.py | jayceyxc/hue | apache-2.0 | 7,361 | 239 | codeparrot/github-code |
a3c6d2354a01bf30eb253141bf3c31914b29a71389825f8f4d4298d7dad8626c | /*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Vers... | Java | container/spi/src/main/java/org/jboss/arquillian/container/spi/client/deployment/Deployment.java | andreiserea/arquillian-core | apache-2.0 | 1,917 | 74 | codeparrot/github-code |
852837e7ee3fad7e131ca44595ecd4cd01dbc179dc18e9d17aaad10aabd730a8 | /*******************************************************************************
* 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... | Java | sources/framework/widget/src/org/ofbiz/widget/screen/MacroScreenViewHandler.java | nomakaFr/ofbiz_ynh | apache-2.0 | 6,432 | 121 | codeparrot/github-code |
bb4c73e664671fd9f4dc78af236f1e2c3fe8a130673a59778d0878637d78648a | /*
* 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 | modules/lang-painless/src/main/java/org/elasticsearch/painless/node/SSubEachArray.java | gmarz/elasticsearch | apache-2.0 | 4,194 | 111 | codeparrot/github-code |
15b0e4516da80b9e50cba6d5950606f573686841304b0ba46bc2e3045fcff9f4 | package bndtools.editor.common;
import org.eclipse.jface.viewers.CellEditor;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.T... | Java | bndtools.core/src/bndtools/editor/common/TableViewerKeyBoardSupporter.java | psoreide/bnd | apache-2.0 | 7,603 | 277 | codeparrot/github-code |
203bc806e33ae49c3e05410c527a0e38d392d7fe05a00f211002abc5ce24bb67 | // 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.history.core;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.util.text.StringUtil;
i... | Java | platform/lvcs-impl/src/com/intellij/history/core/Paths.java | siosio/intellij-community | apache-2.0 | 3,347 | 111 | codeparrot/github-code |
cefcf9d989ef6497bfb92a95a917a8565259b694de373a28384053101bf0a1ff | /*
* ModeShape (http://www.modeshape.org)
*
* 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 o... | Java | modeshape-jdbc-local/src/main/java/org/modeshape/jdbc/JcrResultSet.java | phantomjinx/modeshape | apache-2.0 | 76,008 | 2,523 | codeparrot/github-code |
30adbe21d70cb1504e951d6d515b649da5e9d9eb0fc5ca5357f339fce320fae5 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2013, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | Java | graalvm/transactions/fork/narayana/ArjunaJTA/cdi/classes/com/arjuna/ats/jta/cdi/transactional/TransactionalInterceptorNotSupported.java | nmcl/scratch | apache-2.0 | 2,202 | 64 | codeparrot/github-code |
def60bad84bf383c694a81bda9316cbb9dba1248d2ebb80a8ee13602f1008125 | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
// Copyright (c) 2013-2014 Adam Wulkiewicz, Lodz, Poland.
// Use, modifica... | C++ | libs/boost/boost/geometry/algorithms/remove_spikes.hpp | flingone/frameworks_base_cmds_remoted | apache-2.0 | 7,745 | 281 | codeparrot/github-code |
ae966be24f316924c8e1c777f5f60e5c27a4adb21c4f3f9bb4233079f595b2ea | // Copyright 2013 Beego Authors
// Copyright 2014 Unknwon
//
// Licensed under the Apache License, Version 2.0 (the "License"): you may
// not use this file except in compliance with the License. You may obtain
// a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | GO | memcache/memcache.go | macaron-contrib/session | apache-2.0 | 4,739 | 200 | codeparrot/github-code |
0db4d3ff823fc2dfbc458d5a542af3c787dedc2ca02313756ecbddcf7c99fa88 | /*
* 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 | test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSendLocalGossipState.java | belliottsmith/cassandra | apache-2.0 | 2,203 | 52 | codeparrot/github-code |
ccd7e1638e9ba147247784d12a161efabbbcd5ee83ba4c3ce5c3a89f57a9073a | package com.querydsl.jpa.domain11;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import org.hibernate.cfg.Configuration;
import org.junit.Test;
import com.google.common.base.Charsets;
import com.google.common.io.Files;
import com.querydsl.core.util.FileUtils;
import com... | Java | querydsl-jpa-codegen/src/test/java/com/querydsl/jpa/domain11/DomainExporter11Test.java | kevinleturc/querydsl | apache-2.0 | 1,428 | 41 | codeparrot/github-code |
361670d54c0b1a18d11b1fa13f4a3674acd15e8cb75805c045d815e8e76bc34b | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2017 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | Java | addOns/scripts/src/main/java/org/zaproxy/zap/extension/scripts/ExtenderScriptHelper.java | veggiespam/zap-extensions | apache-2.0 | 1,185 | 44 | codeparrot/github-code |
29afedb2f1ec4ebc63bbe3cc6b11444846e55bb6940ad665c222711b5e08ddb4 | /*
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/cmd/phases/markmaster.go | jiulongzaitian/kubernetes | apache-2.0 | 3,421 | 89 | codeparrot/github-code |
e1142677689f9ccb942bad5461fa56b17c7d696d23c57ec46f44488daa88e797 | /**
* 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 | ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/IfExprStringScalarStringScalar.java | WANdisco/amplab-hive | apache-2.0 | 5,000 | 151 | codeparrot/github-code |
5b19b339a15ce3f9892dc1c555f116a555141bc43bf70115f141f044c408361c | /*
* 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 n... | Java | clients/src/main/java/org/apache/kafka/common/security/token/delegation/TokenInformation.java | KevinLiLu/kafka | apache-2.0 | 4,153 | 134 | codeparrot/github-code |
4cf9f39c4725a35f8e5c9edc6201555b2f4e07a10c0df0839a236ab505ededd0 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | C# | src/StackAdmin/Network/Commands.Network/VirtualNetworkGateway/GetAzureVirtualNetworkGatewayBgpPeerStatus.cs | AzureAutomationTeam/azure-powershell | apache-2.0 | 2,746 | 66 | codeparrot/github-code |
dc6b1a7939b783d6a0ebcb54ff835d5377414bdcf7e506046ced594a1c4bbd14 | /*
* Copyright 2017 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/transaction/TransactionMetricSnapshot.java | barneykim/pinpoint | apache-2.0 | 2,286 | 68 | codeparrot/github-code |
8b8c9c5c6fb4f3266cadf0f9e37694aca4d44f1cc564f0af386467d5452a9236 | /**
* 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 | library/src/main/java/org/apache/apex/malhar/lib/util/ActiveMQMultiTypeMessageListener.java | tweise/apex-malhar | apache-2.0 | 3,251 | 99 | codeparrot/github-code |
90848d3defb79adad248e84cf3d2d5ce2fd89973c8a93344bd6f38842df66611 | /*-------------------------------------------------------------------------
*
* mcv.c
* POSTGRES multivariate MCV lists
*
*
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/backend/statis... | C | src/backend/statistics/mcv.c | 50wu/gpdb | apache-2.0 | 51,580 | 1,747 | codeparrot/github-code |
3da0dce44b302d087104c15bb8a6c9d1fad96cc34aa1c980f0e1aa2164fef446 | from __future__ import absolute_import
import logging
from collections import OrderedDict
from pip._internal.exceptions import InstallationError
from pip._internal.utils.logging import indent_log
from pip._internal.utils.typing import MYPY_CHECK_RUNNING
from pip._internal.wheel import Wheel
if MYPY_CHECK_RUNNING:
... | Python | python3.8.2/Lib/site-packages/pip/_internal/req/req_set.py | xyuanmu/XX-Net | bsd-2-clause | 7,860 | 194 | codeparrot/github-code |
7b8d60c2f7ad081939313ba74f93af3be7ad79e489f8a691c643aec25eb5e773 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | C++ | third_party/llvm-project/libcxx/test/std/containers/sequences/vector/vector.cons/construct_size.pass.cpp | youtube/cobalt | bsd-3-clause | 2,009 | 76 | codeparrot/github-code |
dacf44bffadbd1ac24abb8214397a37bc9c0cf1479d8fee8e2de928dc6b1b842 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_ANDROID_RENDER_WIDGET_HOST_CONNECTOR_H_
#define CONTENT_BROWSER_ANDROID_RENDER_WIDGET_HOST_CONNECTOR_H_
#include "base/gtest_prod... | C | content/browser/android/render_widget_host_connector.h | scheib/chromium | bsd-3-clause | 2,308 | 66 | codeparrot/github-code |
b184fe11138554239c5a1fd24f83acd6ecc98e035189d086eb2a86273c0d8543 | /*
* Copyright (c) 2003-2011, Simon Brown
* 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 ... | Java | src/main/java/net/sourceforge/pebble/web/action/ResponseFeedAction.java | arshadalisoomro/pebble | bsd-3-clause | 4,083 | 109 | codeparrot/github-code |
502f2cfe36797e841661036736b490a46f33196d7174c0b8218156dcf12c2c8b | /*
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | C | vp8/encoder/temporal_filter.c | wikimedia/operations-debs-libvpx | bsd-3-clause | 16,199 | 534 | codeparrot/github-code |
12151f1d68b128ff6075a233b4410ec5c12ea61762bd192bfdd2065dc15c06ff | from __future__ import print_function, division
from sympy.concrete.expr_with_limits import AddWithLimits
from sympy.concrete.expr_with_intlimits import ExprWithIntLimits
from sympy.core.function import Derivative
from sympy.core.relational import Eq
from sympy.core.singleton import S
from sympy.core.symbol import (Du... | Python | sympy/concrete/summations.py | grevutiu-gabriel/sympy | bsd-3-clause | 24,412 | 781 | codeparrot/github-code |
0c71eb81c8110b4075556e56870b5db4be09cb189a482907a8e59bf30b0b1904 | // 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 WebTaskRunner_h
#define WebTaskRunner_h
#include "WebCommon.h"
#ifdef INSIDE_BLINK
#include "wtf/Functional.h"
#endif
namespace blink {
class ... | C | third_party/WebKit/public/platform/WebTaskRunner.h | js0701/chromium-crosswalk | bsd-3-clause | 1,697 | 59 | codeparrot/github-code |
4b17578f543f7659eed2b2820d97604c4c5ade7fd5a9d901d09360a80aa36983 | # sql/util.py
# Copyright (C) 2005-2011 the SQLAlchemy authors and contributors <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
from sqlalchemy import exc, schema, util, sql, types as sqltypes
from sqlalchemy.util impo... | Python | third_party/sqlalchemy_0_7_1/sqlalchemy/sql/util.py | eunchong/build | bsd-3-clause | 24,702 | 718 | codeparrot/github-code |
7714d881bd1b66495670d92a37b9d856be30676b682aa6f4efa4bde699249d96 | /********************************************************************
* Copyright (c) 1997-2013, International Business Machines
* Corporation and others. All Rights Reserved.
********************************************************************/
/**********************************************************************... | C | third_party/icu/source/test/cintltst/capitst.c | mxOBS/deb-pkg_trusty_chromium-browser | bsd-3-clause | 99,678 | 2,513 | codeparrot/github-code |
b81cd4a12aa9b4ae5cdde52560780e2c3742ab01e61175d5c3563c84f827ffc6 | <?php
/**
* LeftAndMain is the parent class of all the two-pane views in the CMS.
* If you are wanting to add more areas to the CMS, you can do it by subclassing LeftAndMain.
*
* This is essentially an abstract class which should be subclassed.
* See {@link CMSMain} for a good example.
*
* @package cms
* @sub... | PHP | preview/cms/code/LeftAndMain.php | mattclegg/silverstripe-doc-restructuring | bsd-3-clause | 41,650 | 1,291 | codeparrot/github-code |
c67f43aa528daa39291ea2dd158b4ddca685368d5e5168b5ccb9422254eb87a6 | <html>
<script>
function success_() {
domAutomationController.send(true);
}
function failure_() {
domAutomationController.send(false);
}
function isHttps_() {
return location.protocol === 'https:';
}
function setCookie() {
const samesite_none_secure = '; SameSite=None; Secure';
doc... | HTML | content/test/data/browsing_data/site_data.html | scheib/chromium | bsd-3-clause | 7,743 | 306 | codeparrot/github-code |
5d950d53f9bd6e2ff0d755d485835ea6814af47e855f2023e9e3db79d1ac84b9 | /*
* atomic.h
*
* Created on: Jan 10, 2014
* Author: wangqiying
*/
#ifndef ATOMIC_H_
#define ATOMIC_H_
#include "config.h"
#include <stdint.h>
namespace ardb
{
uint64_t atomic_add_uint64(volatile uint64_t *p, uint64_t v);
uint64_t atomic_sub_uint64(volatile uint64_t *p, uint64_t v);
int atomic... | C++ | src/common/util/atomic.hpp | lsm/ardb | bsd-3-clause | 3,445 | 124 | codeparrot/github-code |
e90d4d973b5f94b48435b2e0931faaa9e295d37ccb46530b1523e5221b668dff | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax
// Test Array call with known Boolean.
(() => {
function foo(x) { return Array(!!x); }
%PrepareFunctionForOptimiz... | JavaScript | third_party/v8/test/mjsunit/compiler/array-constructor.js | youtube/cobalt | bsd-3-clause | 5,900 | 190 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.