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 |
|---|---|---|---|---|---|---|---|---|
4bec9120281d64f65105f6a735de29919ec693081e0f3c20f64d172987b2ec20 | /******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... | C | media/drivers/staging/rtl8723au/os_dep/osdep_service.c | iwinoto/v4l-media_build | gpl-2.0 | 3,648 | 176 | codeparrot/github-code |
554262ab4a4bf432d33cfe80f5ff8748b18548e82582647f19dd567e4e62b4dc | (function ($) {
$.fn.countTo = function (options) {
options = options || {};
return $(this).each(function () {
// set options for current element
var settings = $.extend({}, $.fn.countTo.defaults, {
from: $(this).data('from'),
to: $(this).data('to'),
speed: $(... | JavaScript | wp-content/themes/visia/js/jquery.countto.js | manuel-munoz-jd/studioawak | gpl-2.0 | 2,542 | 80 | codeparrot/github-code |
56a46a503b1b059883eeb14fb567a7c15580391c7a20cd2871d4da8837a93f9f | // SPDX-License-Identifier: GPL-2.0
/*
* Networking over Thunderbolt cable using Apple ThunderboltIP protocol
*
* Copyright (C) 2017, Intel Corporation
* Authors: Amir Levy <amir.jer.levy@intel.com>
* Michael Jamet <michael.jamet@intel.com>
* Mika Westerberg <mika.westerberg@linux.intel.com>
*/... | C | drivers/net/thunderbolt.c | GuillaumeSeren/linux | gpl-2.0 | 35,493 | 1,368 | codeparrot/github-code |
faa869295ddec58882bc47849a9db73a968d610e61a2bc05e6263329cc9afbdb | /*
* lib/fib_lookup/request.c FIB Lookup Request
*
* 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 version 2.1
* of the License.
*
* Copyright (c) 2003-2008 Thomas Graf <tgraf@suug... | C | utilities/libnl/lib/fib_lookup/request.c | FabianKnapp/nexmon | gpl-3.0 | 3,894 | 186 | codeparrot/github-code |
08b59655313c0d5fe741a02c38f247647be70c8b04f7ec2fd13180a9501f2785 | /*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in c... | Java | cas-server-webapp-support/src/test/java/org/jasig/cas/web/flow/ServiceAuthorizationCheckTests.java | lcssos/cas-server | apache-2.0 | 4,644 | 110 | codeparrot/github-code |
01f6089cd16f7ba75bf38af4d8e01f7d6ec9c685a056f3280e704efbec8edb14 | //===----------------------------------------------------------------------===//
//
// 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/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/copy.pass.cpp | youtube/cobalt | bsd-3-clause | 690 | 33 | codeparrot/github-code |
03d1c05266f0c1116de6e0bce46c87afa085c654546fa32a10fe93f22645a5ec | {% assign author = page.author | default: page.authors[0] | default: site.author %}
{% assign author = site.data.authors[author] | default: author %}
<div itemscope itemtype="https://schema.org/Person">
{% if author.avatar %}
<div class="author__avatar">
{% if author.home %}
<a href="{{ author.hom... | HTML | _includes/author-profile.html | phischroeder/phischroeder.github.io | mit | 9,981 | 253 | codeparrot/github-code |
4e83e1c3934ef80d16b97efb109e59a3d0743124e63c94cd545341a19fe5876a | /*************************GO-LICENSE-START*********************************
* Copyright 2014 ThoughtWorks, 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... | Java | config/config-api/src/com/thoughtworks/go/config/StageNotFoundException.java | tomwscott/GoCD | apache-2.0 | 1,760 | 47 | codeparrot/github-code |
ba8c12a5c6a442646577adada517583e29898399c68b76dfdf0f4cd5919511b4 | /* SPDX-License-Identifier: GPL-2.0+ */
/* Copyright (C) 2018 Microchip Technology Inc. */
#include <linux/netdevice.h>
#include <linux/net_tstamp.h>
#include <linux/pci.h>
#include <linux/phy.h>
#include "lan743x_main.h"
#include "lan743x_ethtool.h"
/* eeprom */
#define LAN743X_EEPROM_MAGIC (0x74A5)
#define LAN... | C | linux-5.8/drivers/net/ethernet/microchip/lan743x_ethtool.c | CSE3320/kernel-code | gpl-2.0 | 21,246 | 847 | codeparrot/github-code |
2646c9d2d52bfe89b3b336c7983b90febfbc76cb9213e888a322bb3465c3b70a | /*
* Copyright 2005 Sascha Weinreuter
*
* 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... | Java | plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/associations/impl/FileAssociationsManagerImpl.java | ivan-fedorov/intellij-community | apache-2.0 | 9,413 | 264 | codeparrot/github-code |
22f15a2979fa5a12cd06dee1f0f459d2d9872f3e36d3f54884169845f52c559e | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | Java | util/embedded-ldap/src/main/java/org/keycloak/util/ldap/KerberosKeytabCreator.java | keycloak/keycloak | apache-2.0 | 3,739 | 94 | codeparrot/github-code |
ad36b6f263f9b070efe40243f83e2d1620cab1019d440411b271feb20de9c1d7 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/diff-impl/src/com/intellij/diff/util/TextDiffType.java | idea4bsd/idea4bsd | apache-2.0 | 1,286 | 42 | codeparrot/github-code |
3aa4a3429fd24d00c2155c8cdc0dd7b92f403b1a679616188589d28b43817ac0 | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2004, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | C++ | third_party/freeimage/Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp | Ghosttje/VSMegaSDK | bsd-2-clause | 40,971 | 1,534 | codeparrot/github-code |
26f3f703ed256aa696320e539c2caad41c967b132e7759d4d8fa919db40f0f43 | // SPDX-License-Identifier: GPL-2.0-only
/*
* fs/dcache.c
*
* Complete reimplementation
* (C) 1997 Thomas Schoebel-Theuer,
* with heavy changes by Linus Torvalds
*/
/*
* Notes on the allocation strategy:
*
* The dcache is a master of the icache - whenever a dcache entry
* exists, the inode will always exist.... | C | fs/dcache.c | c0d3z3r0/linux-rockchip | gpl-2.0 | 86,015 | 3,219 | codeparrot/github-code |
7c562b7f2ad4ee60c58eec2119425f45e7a06ac94d71ef665ec05570b9f3a670 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* lm70.c
*
* The LM70 is a temperature sensor chip from National Semiconductor (NS).
* Copyright (C) 2006 Kaiwan N Billimoria <kaiwan@designergraphix.com>
*
* The LM70 communicates with a host processor via an SPI/Microwire Bus
* interface. The complete datasheet i... | C | drivers/hwmon/lm70.c | openwrt-es/linux | gpl-2.0 | 5,397 | 231 | codeparrot/github-code |
57ad0b7cf24a09b54a2685870bfbc524412ebd079e516a9669650676bbea2fd5 | /* Copyright 2016 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/cast_op_impl_bool.cc | thjashin/tensorflow | apache-2.0 | 1,493 | 48 | codeparrot/github-code |
b8b82d62b8f7a9a2f6ba2a9ded126b0b2670d1d2139ecb8e2a1bba1d02c48877 | /*
* 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.
*
* Copyright (C) 2010 John Crispin <blogic@openwrt.org>
*/
#include <linux/module.h>
#include <linux/clk.h>
#include <asm... | C | virt/arch/mips/lantiq/xway/prom-ase.c | JijonHyuni/HyperKernel-JB | gpl-2.0 | 877 | 40 | codeparrot/github-code |
552d9fd17c444c45ca53489ba4887086d27573f524f46e60702341898ed78dde | /*
* Copyright 2008 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 ... | Java | zxing-1.6/core/src/com/google/zxing/oned/UPCAReader.java | roadlabs/android | mit | 2,583 | 76 | codeparrot/github-code |
ba0b30766e3bfb899303caea495aac5f4c114fee3a7972f1ac816f58f335169a | /****************************************************************************
(c) SYSTEC electronic GmbH, D-07973 Greiz, August-Bebel-Str. 29
www.systec-electronic.com
Project: openPOWERLINK
Description: include file for NMT-Userspace-Module
License:
Redistribution and use in source and bin... | C | linux-2.6.31/drivers/staging/epl/user/EplNmtu.h | stevelord/PR30 | gpl-2.0 | 4,943 | 140 | codeparrot/github-code |
90fb1083ab1014b1d64ca1a125611bba1af13240245191657a74abdc2db9717a | # -*- coding: utf-8 -*-
# Copyright (C) 2011 Chris Dekter
#
# 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 pr... | Python | src/lib/gtkui/notifier.py | okroener/autokey | gpl-3.0 | 12,947 | 351 | codeparrot/github-code |
22df9fcce8a074f65869e5ca2da1c2be9d6dfbc2c949e71fc29cf1c131dee973 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | plugins/java-decompiler/engine/src/org/jetbrains/java/decompiler/modules/renamer/PoolInterceptor.java | akosyakov/intellij-community | apache-2.0 | 1,494 | 51 | codeparrot/github-code |
149411b1a23221d1fc01e49bc0c4d6f50da691f5482f34a5b4c298589b1837d7 | // Copyright 2011 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 CC_RESOURCES_LAYER_UPDATER_H_
#define CC_RESOURCES_LAYER_UPDATER_H_
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#inc... | C | cc/resources/layer_updater.h | DirtyUnicorns/android_external_chromium-org | bsd-3-clause | 2,323 | 74 | codeparrot/github-code |
6a91a4dd0cb7806fde5110495b01a4b496542bbb520de16bab238ca1883369ed | #ifndef foopulsefdsemhfoo
#define foopulsefdsemhfoo
/***
This file is part of PulseAudio.
Copyright 2004-2006 Lennart Poettering
PulseAudio 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; eithe... | C | pulse/pulsecore-9.0/fdsem.h | marmarek/qubes-gui-agent-linux | gpl-2.0 | 1,547 | 54 | codeparrot/github-code |
f5d2b281e928055bb71f27ac737cc925ce1770df31519ff28ef50d41b87f4acc | // Copyright 2010 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 smtp
import (
"crypto/hmac"
"crypto/md5"
"errors"
"fmt"
)
// Auth is implemented by an SMTP authentication mechanism.
type Auth interface {
// St... | GO | src/net/smtp/auth.go | Cofyc/go | bsd-3-clause | 3,843 | 111 | codeparrot/github-code |
5bd1b16f0ba8222c910e66723a025814bffb43b6d62f0df31a42583eacc3d481 | /*
* f_rndis.c -- RNDIS link function driver
*
* Copyright (C) 2003-2005,2008 David Brownell
* Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger
* Copyright (C) 2008 Nokia Corporation
* Copyright (C) 2009 Samsung Electronics
* Author: Michal Nazarewicz (mina86@mina86.com)
*
* This p... | C | drivers/usb/gadget/f_rndis.c | AOSP-JF/platform_kernel_samsung_jf | gpl-2.0 | 28,231 | 968 | codeparrot/github-code |
6eae555b104c7a50f8b1033e85b510cf3b001fa29683928cff7458dfe8726d50 | /*
* Register map access API internal header
*
* Copyright 2011 Wolfson Microelectronics plc
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* 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 t... | C | linux/linux-kernel/drivers/base/regmap/internal.h | kv193/buildroot | gpl-2.0 | 4,439 | 147 | codeparrot/github-code |
37e57dc50b857f63c17c020dcb2771ce3ab9d99317079aa13297091fec766eaf | # This code is part of Ansible, but is an independent component.
# This particular file snippet, and this file snippet only, is BSD licensed.
# Modules you write using this snippet, which is embedded dynamically by Ansible
# still belong to the author of the module, and may assign their own license
# to the complete wo... | Python | scripts/ansible-play/.venv/lib/python2.7/site-packages/ansible/module_utils/service.py | e-gob/plataforma-kioscos-autoatencion | bsd-3-clause | 7,923 | 233 | codeparrot/github-code |
0575e4f29aad6c624a3624b43d0399402d1f37b3f96b24b81ab89ef4d9e01dc1 | <?php
//
// Database Mapping Test
//
class WorldController extends AppController {
// Needed to enable JsonView
// http://book.cakephp.org/2.0/en/views/json-and-xml-views.html#enabling-data-views-in-your-application
public $components = array('RequestHandler');
public function index() {
// Read number of... | PHP | frameworks/PHP/cakephp/app/Controller/WorldController.php | thousandsofthem/FrameworkBenchmarks | bsd-3-clause | 1,944 | 63 | codeparrot/github-code |
56c62efcf92123b23c22b71d8b9b5c4c4ed98fa4f402bac1d7651c1baf19c494 | require 'digest/md5'
require 'rexml/document'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
class MerchantWarriorGateway < Gateway
TOKEN_TEST_URL = 'https://base.merchantwarrior.com/token/'
TOKEN_LIVE_URL = 'https://api.merchantwarrior.com/token/'
POST_TEST_URL = 'https://base.merchan... | Ruby | lib/active_merchant/billing/gateways/merchant_warrior.rb | juicedM3/active_merchant | mit | 5,487 | 191 | codeparrot/github-code |
2ed02dcda5adfe75a55a21e7e2cf78a14cfdbdb2b14b5e5d686876741799ff4d | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "common.h"
#include "disassembler.h"
#include "dllimport.h"
#if USE_DISASSEMBLER
// TODO: Which contract... | C++ | src/vm/disassembler.cpp | poizan42/coreclr | mit | 9,333 | 308 | codeparrot/github-code |
905ef793909cee41dfa1647f8913c051c063412cd55242fb1f016abd4f99d559 | /*
* Simple synchronous serial port driver for ETRAX FS and ARTPEC-3.
*
* Copyright (c) 2005, 2008 Axis Communications AB
* Author: Mikael Starvik
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/major.h>
#include <linux/sched.h>
#include ... | C | arch/cris/arch-v32/drivers/sync_serial.c | smksyj/linux_modified_mlock | gpl-2.0 | 48,885 | 1,710 | codeparrot/github-code |
623b2883876bf555ae29a217ef1f69d38b57a9954fa295c3467b167a443faac0 | /*
BCM2835 "GPU_FFT" release 2.0
Copyright (c) 2014, Andrew Holme.
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 | vc/sdk/opt/vc/src/hello_pi/hello_fft/hello_fft_2d.c | notro/rpi-firmware | gpl-2.0 | 4,475 | 136 | codeparrot/github-code |
7a0c946a4073ada5c252d3ec5170c5a31e66c7585820281e2ecd77bb1682f38e | /*
* Copyright 2000-2012 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-impl/src/com/intellij/util/ui/ValidatingTableEditor.java | caot/intellij-community | apache-2.0 | 12,809 | 424 | codeparrot/github-code |
14a51a63ac6afb731cc878bd76f6ee29a04a65d903a33317976f8c0649f995fe | /*
* Copyright (c) 2008-2009 Atheros Communications 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) any later version.
*
... | C | source/drivers/bluetooth/ath3k.c | ziqiaozhou/cachebar | gpl-2.0 | 13,428 | 518 | codeparrot/github-code |
4e6051152f1a909b263b889df6eb398dfd75bbf95ed04ae7cd3da0c8c2cc3386 | /*
* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... | C | arch/arm/mach-msm/acpuclock-krait.c | mdmower/android_kernel_htc_msm8960 | gpl-2.0 | 31,405 | 1,205 | codeparrot/github-code |
31c045dd4a0904a1aba781fc2ee8b996c43aa844f6bc3c938c6d05d3108c4a1f | /* vi: set sw=4 ts=4: */
/*
* inode_io.c --- This is allows an inode in an ext2 filesystem image
* to be accessed via the I/O manager interface.
*
* Copyright (C) 2002 Theodore Ts'o.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Public
* License.
* %End-Header%
*/
#include <s... | C | user/busybox/e2fsprogs/old_e2fsprogs/ext2fs/inode_io.c | rhuitl/uClinux | gpl-2.0 | 6,673 | 272 | codeparrot/github-code |
2ac747365f74d4f3cef8479d4e18a39e5b9a9fbda3ce85eb42365a883faf3b9c | /**
* Copyright (c) Nicolas Gallagher.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
import StyleSheet from '../StyleSheet';
import View from '../View';
import React, { crea... | JavaScript | ajax/libs/react-native-web/0.14.9/exports/AppRegistry/AppContainer.js | cdnjs/cdnjs | mit | 1,036 | 39 | codeparrot/github-code |
f6d7072af1991c03aa0621699e66f9ec9cc02eadac368eb5af5ed4a29c027de6 | /*
* firmware_class.c - Multi purpose firmware loading support
*
* Copyright (c) 2003 Manuel Estrada Sainz
*
* Please see Documentation/firmware_class/ for more information.
*
*/
#include <linux/capability.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/timer.h>
#i... | C | drivers/base/firmware_class.c | ninjablocks/VAR-SOM-AM33-SDK7-Kernel | gpl-2.0 | 38,230 | 1,616 | codeparrot/github-code |
34e3b92afef93620cc559030f53c8d885dde9597b6b27ed8063acd6ba72131ee | <?php
/**
* @package Joomla.Site
* @subpackage com_content
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* This models supports retrieving a category, ... | PHP | src/test/lib/joomla/3_1_5/components/com_content/models/category.php | RCBiczok/ArticleRefs | gpl-3.0 | 12,432 | 472 | codeparrot/github-code |
8c02d517225c8f1277ab23c62dbc136eabf98393b95d6f78d31a2a63c743a7bf | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--
* t
****************************************************************************
* Copyright (c) 1998-2007,2010 Free Software Foundation, Inc. *
* *
* Permission is he... | HTML | usr/share/doc/ncurses-5.9/html/man/form_field_new.3x.html | Iotlab-404/LFS | gpl-3.0 | 6,164 | 151 | codeparrot/github-code |
aead4240641b6cd680d8b70b95b41c2dd9d3458261c32ed6cc78f8b05271a81c | /*
* Copyright (c) 2014 Hugh Bailey <obs.jim@gmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND T... | C++ | source/CoTaskMemPtr.hpp | upsoft/libdshowcapture | lgpl-2.1 | 1,319 | 45 | codeparrot/github-code |
068bea5589b9faffc93971ecb303f15136d9035261d30e7879e1599bc7b77c27 | module Gitlab
class InlineDiff
class << self
START = "#!idiff-start!#"
FINISH = "#!idiff-finish!#"
def processing(diff_arr)
indexes = _indexes_of_changed_lines diff_arr
indexes.each do |index|
first_line = diff_arr[index+1]
second_line = diff_arr[index+2]
... | Ruby | lib/gitlab/inline_diff.rb | pjknkda/gitlabhq | mit | 2,709 | 82 | codeparrot/github-code |
a642e435d5fce36d432535c7bd4a0a71f1dc903ec4133a95bdfee9eed018d963 | /**
* ownCloud Android client application
*
* Copyright (C) 2015 ownCloud Inc.
*
* 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 i... | Java | src/com/owncloud/android/ui/activity/UploadPathActivity.java | kindras/OwnCloud-Android | gpl-2.0 | 2,639 | 80 | codeparrot/github-code |
92c596ee941d083ccac38d6d2cd375c1500f1092733cabedbd58ac1b4f510526 | /*
* Copyright (C) 2005-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#pragma once
#include <string>
#include <vector>
namespace MUSIC_INFO
{
class CMusicInfoTag;
}
class CFileItem; // forward... | C | xbmc/utils/LabelFormatter.h | anthonyryan1/xbmc | gpl-2.0 | 2,142 | 77 | codeparrot/github-code |
b606a417d5b49d82855864bc0dc8d3f78eb2e9638d801c6c52f08fc829596912 | /* Verify that IPA-CP can make edges direct based on aggregate contents. */
/* { dg-do compile } */
/* { dg-options "-O3 -fno-early-inlining -fdump-ipa-cp -fdump-ipa-inline" } */
struct S
{
int i;
void (*f)(struct S *);
unsigned u;
};
struct U
{
struct U *next;
struct S s;
short a[8];
};
extern void no... | C | source/gcc-latest/gcc/testsuite/gcc.dg/ipa/ipcp-agg-9.c | selmentdev/selment-toolchain | gpl-3.0 | 791 | 44 | codeparrot/github-code |
0f7053353171b167eaf4e67e9984b4995fc0cc518361518cca5a5cd5a51ad3af | /*
* Copyright (C) 2005 Anthony Liguori <anthony@codemonkey.ws>
*
* Network Block Device
*
* 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; under version 2 of the License.
*
* Thi... | C | third-party/qemu-orp/include/block/nbd.h | VishalRohra/orp | apache-2.0 | 3,639 | 108 | codeparrot/github-code |
082edbcf9ab4cba6673504c022080c17b5a58bb4d9d26c52db32cfd0757d3e17 | /*
** Copyright (c) 2011, Intel Corporation
**
** This software is licensed under the terms of the GNU General Public
** License version 2, as published by the Free Software Foundation, and
** may be copied, distributed, and modified under those terms.
**
** This program is distributed in the hope that it will be usefu... | C | target-i386/hax-darwin.c | 0xr0ot/NDroid | gpl-2.0 | 6,913 | 323 | codeparrot/github-code |
5a5e01c9b01c2ea3a5ff6e5374e7a5b0ad040585ce401ae037433ae8e762cf2f | /*
* Copyright 2000-2014 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/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemBeforeRunTask.java | caot/intellij-community | apache-2.0 | 3,393 | 89 | codeparrot/github-code |
b96d5609ace12b4f4dca946c23f8585bce4ebc523c2b381be00f6007f3574728 | //=======================================================================
// Copyright 2001 Jeremy G. Siek, Andrew Lumsdaine, Lie-Quan Lee,
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//==================... | C++ | venv/bin/libs/graph/example/cc-internet.cpp | NixaSoftware/CVis | apache-2.0 | 1,409 | 42 | codeparrot/github-code |
a1386ba026489adb76d546e81c093400ce1b1aa7775960a2c161391f15a16923 | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | PHP | web/zend/library/Zend/Feed/Reader/Extension/DublinCore/Feed.php | allengaller/a4c-nin-api | mit | 7,155 | 282 | codeparrot/github-code |
ccaac94983921d40db48619cacdf2d3adf8990e036eb4a7a14a4381bdbde4970 | /*
* NVEC: NVIDIA compliant embedded controller interface
*
* Copyright (C) 2011 The AC100 Kernel Team <ac100@lists.lauchpad.net>
*
* Authors: Pierre-Hugues Husson <phhusson@free.fr>
* Ilya Petrov <ilya.muromec@gmail.com>
* Marc Dietrich <marvin24@gmx.de>
* Julian Andres Klode <ja... | C | drivers/staging/nvec/nvec.c | virt2x/kernel2 | gpl-2.0 | 25,977 | 971 | codeparrot/github-code |
b311c39a2a4cf1e24e14610c6fb59c39f319caa7a859a972de2e452d92546176 | /* Copyright (C) 1991-1993, 1996-2006, 2009-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
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, o... | C | uefi/userspace/grub/grub-core/gnulib/fnmatch_loop.c | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 45,984 | 1,220 | codeparrot/github-code |
1ed4e315749c4463938a5622d65049f8978fd4b9f6ab090d522e1cddad923958 | /**
* Copyright 2009-2015 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
*
* Unle... | Java | src/test/java/org/apache/ibatis/submitted/call_setters_on_nulls/DoNotCallSettersOnNullsTest.java | liuqk/mybatis-3 | apache-2.0 | 2,902 | 90 | codeparrot/github-code |
c113f333e485b3de3fd34709fc0d02cd64b5eb207104901cb7519baa75e59468 | /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
/* Copyright (c) 2020 Mellanox Technologies. */
#ifndef __ML5_ESW_CHAINS_H__
#define __ML5_ESW_CHAINS_H__
#include "eswitch.h"
#if IS_ENABLED(CONFIG_MLX5_CLS_ACT)
bool
mlx5_esw_chains_prios_supported(struct mlx5_eswitch *esw);
bool
mlx5_esw_chains_backwards_sup... | C | linux-5.8/drivers/net/ethernet/mellanox/mlx5/core/esw/chains.h | CSE3320/kernel-code | gpl-2.0 | 2,074 | 69 | codeparrot/github-code |
660fec659fe15d024213874a8f3c8092e1f976d6cd52db883a0e5803af353dbb | /* SPDX-License-Identifier: GPL-2.0-only */
/*
* Atomic operations for the Hexagon architecture
*
* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
*/
#ifndef _ASM_ATOMIC_H
#define _ASM_ATOMIC_H
#include <linux/types.h>
#include <asm/cmpxchg.h>
#include <asm/barrier.h>
#define ATOMIC_INIT(i) ... | C | linux-5.4/arch/hexagon/include/asm/atomic.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 4,302 | 188 | codeparrot/github-code |
731736b289c3686fdbc2a891a3d7510cc9eab481de0ec3389ae3383d5efdabaf | /*
* Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* ... | C | webkit/Source/WebCore/accessibility/AXObjectCache.h | danialbehzadi/Nokia-RM-1013-2.0.0.11 | gpl-3.0 | 8,001 | 199 | codeparrot/github-code |
d88d48952be796f05793b2417063b08293f93821383e68d0d2e4a9648c1b57c0 | // This file is part of OpenTSDB.
// Copyright (C) 2010-2012 The OpenTSDB Authors.
//
// 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.1 of the License, or (at your
//... | Java | src/tsd/WordSplitter.java | tsuna/opentsdb | gpl-3.0 | 1,555 | 43 | codeparrot/github-code |
7ac50a3b186c12334bec62ddde5e41a5f7d5db04085a6fbcbe03793d7d8b9bef | // SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2020 Facebook */
#include <linux/init.h>
#include <linux/namei.h>
#include <linux/pid_namespace.h>
#include <linux/fs.h>
#include <linux/fdtable.h>
#include <linux/filter.h>
#include <linux/btf_ids.h>
struct bpf_iter_seq_task_common {
struct pid_namespace *ns... | C | kernel/bpf/task_iter.c | rperier/linux-rockchip | gpl-2.0 | 15,022 | 610 | codeparrot/github-code |
d163a7ddf6a5f3f87e955aac2e068bb02073868da58919a12771c835b562f9b7 | // SPDX-License-Identifier: GPL-2.0
/*
* The Kyber I/O scheduler. Controls latency by throttling queue depths using
* scalable techniques.
*
* Copyright (C) 2017 Facebook
*/
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/blk-mq.h>
#include <linux/module.h>
#include <linux/sbitmap.h>
#include... | C | block/kyber-iosched.c | mpe/powerpc | gpl-2.0 | 28,545 | 1,055 | codeparrot/github-code |
bd35aa81ccfdad78dc281ed8969f4a6cf5b3e8e171c40f44a0b42379cf8e3ce3 | # Copyright 2006 Georg Brandl.
# Licensed to PSF under a Contributor Agreement.
"""Fixer for intern().
intern(s) -> sys.intern(s)"""
# Local imports
from .. import pytree
from .. import fixer_base
from ..fixer_util import Name, Attr, touch_import
class FixIntern(fixer_base.BaseFix):
BM_compatible... | Python | win32/bin/Lib/lib2to3/fixes/fix_intern.py | nmercier/linux-cross-gcc | bsd-3-clause | 1,451 | 47 | codeparrot/github-code |
704c445bcb9625738d7901906c7c6d1646488392f9b3502c89e7f51b1d36e38f | /******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the F... | C | virt/drivers/net/wireless/rtlwifi/rtl8192cu/mac.h | mericon/Xp_Kernel_LGH850 | gpl-2.0 | 5,175 | 175 | codeparrot/github-code |
884d63583532b7d5a59090e81a334b002f2496401884468cc9cddfdff0b3f94a | /*
* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | testing/openjdk2/jdk/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java | rokn/Count_Words_2015 | mit | 3,610 | 108 | codeparrot/github-code |
50378b99e2c0c23d175c2b63c8df25016c8df31a4b9a1b8e61c8c4e2d45263e4 | /*
* ATSTK1000 board-specific setup code.
*
* Copyright (C) 2005-2006 Atmel Corporation
*
* 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.
*/
#include <linux/bootmem.h>
#include... | C | release/src-rt/linux/linux-2.6/arch/avr32/boards/atstk1000/setup.c | sigma-random/asuswrt-merlin | gpl-2.0 | 1,605 | 64 | codeparrot/github-code |
a1a38bccde8c5fe5eed6fe2329f4d12b9395d345698f7caab75e6412d83bcfff | /* Copyright (c) 2009-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | arch/arm/mach-msm/include/mach/camera.h | fear130986/GT-I9195_EUR_KK_Opensource_kernel | gpl-2.0 | 21,507 | 869 | codeparrot/github-code |
2c9eea8fa4ae08079d3efba2afc895084d9b7829f43c1e4458d6894249cccae5 | <?php
/**
* @package Joomla.Site
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$params = JFactory::getApplication()->getTemplate(true)->params;
$logo = $params->get('log... | PHP | templates/beez_20/error.php | plutoschi/project | gpl-2.0 | 8,878 | 239 | codeparrot/github-code |
0fb4b324035fbfdad03e6f89e1b0c124f29974c4cbeda78a8bb3f303ee5d4271 | // Support for atomic operations -*- C++ -*-
// Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010, 2011, 2012
// 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 Lic... | C | walrus_firmware/rosserial_teensyduino/teensyduino_sdk/arduino-1.0.6/hardware/tools/arm-none-eabi/arm-none-eabi/include/c++/4.7.2/ext/atomicity.h | RIVeR-Lab/walrus | bsd-3-clause | 3,506 | 117 | codeparrot/github-code |
929b2e32dc040cd540a2ca55c504e2b5f245b05dbf139cb135f19f446a05a937 | 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | JavaScript | xenon/xenon-files/angular/app/js/angular/i18n/angular-locale_en-vg.js | prostudy/kit | gpl-2.0 | 2,281 | 115 | codeparrot/github-code |
01b6d3bcc285d16551fbf683b17b92b2bb5c6bc2e5a9d3dbb3b5cfc4256afc93 | <dom-module id="x-child">
<template>
<div id="simple">simple</div>
<div id="complex1" class="scoped">complex1</div>
<div id="complex2" selected>complex2</div>
<div id="media">media</div>
<div id="shadow" class="shadowTarget">shadowTarget</div>
<div id="deep" class="deepTarget">deepTarget</div>... | HTML | www/bower_components/polymer/test/unit/styling-scoped-elements.html | soracoder/wallpapp | mit | 3,992 | 206 | codeparrot/github-code |
78b16c2366d53a22d7813bd5462239910ee83cb59d72ecbbace71d7404fb3501 | /*
* Glue code for the ISP1760 driver and bus
* Currently there is support for
* - OpenFirmware
* - PCI
* - PDEV (generic platform device centralized driver model)
*
* (c) 2007 Sebastian Siewior <bigeasy@linutronix.de>
*
*/
#include <linux/usb.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux... | C | drivers/usb/isp1760/isp1760-if.c | ljalves/linux_media | gpl-2.0 | 7,423 | 310 | codeparrot/github-code |
b8f92c872e4f64cf62a97fbaa9742b80ce62cc6f05b4a0bc6e7804af6fadd741 | // SPDX-License-Identifier: GPL-2.0-only
/*
* linux/arch/arm/mm/ioremap.c
*
* Re-map IO memory to kernel address space so that we can access it.
*
* (C) Copyright 1995 1996 Linus Torvalds
*
* Hacked for ARM by Phil Blundell <philb@gnu.org>
* Hacked to allow all architectures to build, and various cleanups
* b... | C | linux-5.4/arch/arm/mm/ioremap.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 12,632 | 501 | codeparrot/github-code |
c427548388536dc94f59979a713db985a6543d806dd6abdeb9283831951948aa | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | PHP | grade/classes/external/create_gradecategories.php | michael-milette/moodle | gpl-3.0 | 11,806 | 242 | codeparrot/github-code |
130b43e7e8d1e2767ee76827d2cd5355a8ebf4e0c6f5d21936a6514d09060dad | (function (root) {/*global exports, Intl*/
/**
* This script gives you the zone info key representing your device's time zone setting.
*
* @name jsTimezoneDetect
* @version 1.0.6
* @author Jon Nylander
* @license MIT License - https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt
*
* For usage... | JavaScript | web/files/static/3rd/jsTimezoneDetect/1.0.6/jstz.js | buro9/microcosm | agpl-3.0 | 43,349 | 1,433 | codeparrot/github-code |
6dec8e2cb90330b33c23d24fe8faebbadda2ae9a3dfdbfc3bef13155264b8881 | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | C++ | text/library/gpuimageplus/src/main/jni/opencv/opencv2/core/cuda/simd_functions.hpp | qwertyezi/Test | apache-2.0 | 31,100 | 870 | codeparrot/github-code |
7edea8e79cd3a7eb789770abd252855fa8cb7988c9b0441903692eea4d6304ca | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | plugins/gradle/src/org/jetbrains/plugins/gradle/service/notification/GradleNotificationExtension.java | ivan-fedorov/intellij-community | apache-2.0 | 3,485 | 78 | codeparrot/github-code |
9a50a3c12ac79dbf96de7b9702a31a4e155b5dd945b45dcb59c5e043271c3cec | <?php
/*
* This file is part of Twig.
*
* (c) 2009 Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Loads template from the filesystem.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class Twig_Loa... | PHP | www/lib/Twig/Loader/Filesystem.php | ChrisCummins/chriscummins.cc | mit | 5,975 | 227 | codeparrot/github-code |
853751a13b64f5eda4028f79fd6e8c0a0e7e2d16a18a68286b0d0737bceafa68 | # This code is part of Ansible, but is an independent component.
# This particular file snippet, and this file snippet only, is BSD licensed.
# Modules you write using this snippet, which is embedded dynamically by Ansible
# still belong to the author of the module, and may assign their own license
# to the complete wo... | Python | lib/ansible/module_utils/_text.py | Slezhuk/ansible | gpl-3.0 | 12,325 | 276 | codeparrot/github-code |
6824704efa81911259b2f811dd2e42d0c7cf977ee87bbef9fbd3f69718dd2727 | /*
* fs/nfs/nfs4session.c
*
* Copyright (c) 2012 Trond Myklebust <Trond.Myklebust@netapp.com>
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/printk.h>
#include <linux/slab.h>
#include <linux/sunrpc/sched.h>
#include <linux/sunrpc/bc_xprt.h>
#include <linux/nfs.h>
... | C | fs/nfs/nfs4session.c | Asus-T100/kernel | gpl-2.0 | 17,026 | 651 | codeparrot/github-code |
2cdf81e9db1de09a7ab19bee600e7f0c93ecab5f70429ea944dd84381b546637 | /* -*- linux-c -*- ------------------------------------------------------- *
*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright 2007 rPath, Inc. - All Rights Reserved
* Copyright 2009 Intel Corporation; author H. Peter Anvin
*
* This file is part of the Linux kernel, and is made available under
* ... | C | arch/x86/boot/video-vesa.c | codeaurora-unoffical/linux-msm | gpl-2.0 | 6,856 | 282 | codeparrot/github-code |
fef43ecb12fbdf1fed8655adbca45348cf5f1762182940dfd0c00fb19878d1a0 | /*
* Copyright (C) 2010-2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
* ... | C | linux/trunk/linux-4.0-adi/drivers/staging/mali/DX910-SW-99002-r5p2-00rel0/driver/src/devicedrv/mali/linux/mali_osk_notification.c | r2t2sdr/r2t2 | gpl-3.0 | 5,503 | 183 | codeparrot/github-code |
e258889fee6dc799c2d01c4bbbb33a2f00dfd27f84726724949e6b66c61f0790 | /****************************************************************************
Copyright (c) 2012-2013 cocos2d-x.org
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software... | C++ | tillmap/cocos2d/plugin/protocols/platform/android/ProtocolAds.cpp | cmdwin32/tileMapHomework | unlicense | 5,549 | 156 | codeparrot/github-code |
05c1b4f252b69a3c99801f2bff9b1588311cc032f5c92d2117cc90362165901c | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.S... | C# | src/Features/Core/Portable/Diagnostics/Analyzers/RemoveUnnecessaryImportsDiagnosticAnalyzerBase.cs | HellBrick/roslyn | apache-2.0 | 5,935 | 126 | codeparrot/github-code |
e35e8e76d895a45ff0425ff6b6ba27bdf4fd00b2b53d55a654cd03713ef5a376 | /***************************************************************************/
/* */
/* svpscmap.h */
/* */
/* Th... | C | vs2015/freetype/include/freetype/internal/services/svpscmap.h | joncampbell123/dosbox-rewrite | gpl-2.0 | 6,862 | 178 | codeparrot/github-code |
88ab300d7fd86232860a0ac56a773a3d7684c3107037f23a411b31094e734a9f | <?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
... | PHP | www/sugar/modules/ModuleBuilder/views/view.modulelabels.php | blackstark/site | gpl-2.0 | 4,654 | 105 | codeparrot/github-code |
89020ac3f8df0043ef91ebc67319e4e61b8266d54ed2ae78d99563068ff757ef | /*
Copyright 2015 Google 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 obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | Java | src/main/java/com/google/security/zynamics/binnavi/Startup/CommandlineParser.java | guiquanz/binnavi | apache-2.0 | 2,150 | 72 | codeparrot/github-code |
d182a050c39fcf444246d023fa817babbc27bbd8a71fca31cfd9520a7b51125b | /******************************************************************************
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2013 - 2014 Intel Corporation. All rights reserved.
* ... | C | drivers/net/wireless/iwlwifi/mvm/coex_legacy.c | vfalico/hydra-rpmsg | gpl-2.0 | 38,745 | 1,271 | codeparrot/github-code |
74e1405def620006dc84aeb9ef4aa6d1c813fe40e698e26f8196a43ed02e9770 | <!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!... | HTML | _layouts/post.html | vaquero-io/vaquero-io.github.io | mit | 2,673 | 75 | codeparrot/github-code |
4714ffe16a45c5792865e56fcf4f9b440240f3fa2f8b4e9b69827fe44517bd92 | // Copyright (c) 2011 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.
/**
* The global object.
* @type {!Object}
*/
const global = this;
// TODO(estade): This should be removed and calls replaced with cr.isMac
const ... | JavaScript | external/chromium/chrome/browser/resources/shared/js/util.js | xdajog/samsung_sources_i927 | gpl-2.0 | 3,899 | 140 | codeparrot/github-code |
f4534ad9a6899edc8be06c47b4ce3cd32983e512d6bb921fac0dcd91f9938e0c | /*
* snfc_hw_rev.c
*
*/
/*
* Include header files
*/
#include "snfc_gpio.h"
#include <mach/board_lge.h>
/*
* Defines
*/
/*
* Internal definition
*/
/*
* Internal variables
*/
static int isopen_snfchwrev = 0; // 0 : No open 1 : Open
/*
* Function prototypes
*/
/*
* Function definiti... | C | drivers/nfc/snfc_kddi/snfc_hw_rev.c | bruce2728/kernel_lge_d802 | gpl-2.0 | 3,856 | 201 | codeparrot/github-code |
0717d3aef62a932f407f43624d80d668271f38cc0f8185655e806dfb9ff17574 | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* SM2 asymmetric public-key algorithm
* as specified by OSCCA GM/T 0003.1-2012 -- 0003.5-2012 SM2 and
* described at https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
*
* Copyright (c) 2020, Alibaba Group.
* Authors: Tianjia Zhang <tianjia.zhang@linux.alibaba.c... | C | crypto/sm2.c | openwrt-es/linux | gpl-2.0 | 10,034 | 465 | codeparrot/github-code |
550b676777596a0e1407dd9054b4336800f9e44e0e755717eb4e39d5b41028c3 | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Common code for Routines, Triggers and Events.
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Include all other files that are common
* to routines, triggers and events.
*/
require_once './libraries/rte/rte_general.lib.php';
requ... | PHP | xamarin/reports/libraries/rte/rte_main.inc.php | dhootha/phpform | lgpl-2.1 | 2,199 | 95 | codeparrot/github-code |
de9b06a43126f7f46c40e1cbbb51bc11297cd06e9507686ffb2d913eeb3b63e1 | /*
* Copyright © 2006 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | C | linux/kernel/drivers/gpu/drm/i915/dvo_ch7017.c | shakalaca/ASUS_ZenFone_A400CG | gpl-2.0 | 12,699 | 415 | codeparrot/github-code |
82a77ba249f1e4a514476836d4688c0e320fced69192422d48a03a0d5194da6c | <!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-us">
<head>
<title>jCarousel Examples</title>
<link href="../style.css" rel="stylesheet" type="text/css" />
<!--
jQuery library
-->
<scri... | HTML | www/profiles/unimelb/libraries/jquery.jcarousel/examples/dynamic_flickr_api.html | marcom-unimelb/Unimelb-Web-Templates-Drupal | gpl-2.0 | 4,272 | 150 | codeparrot/github-code |
6ad6e85f694a2f0e4a7a38d654588dbec462eff146e1987bc331cf1b271ef085 | /*******************************************************************************
* Copyright (c) 2005, 2014 springside.github.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
*******************************************************************************/
package org.springside.examples.showca... | Java | springside4-master/examples/showcase/src/main/java/org/springside/examples/showcase/entity/Role.java | jxjjdccj/smile | apache-2.0 | 1,463 | 68 | codeparrot/github-code |
2d99d1fda01d37cb0a6b0e2617bd05fed4206200a4d1da9330dbaa590c7e12b0 | /* Copyright (c) 2008-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed ... | C | include/trace/mdss_millet_panel.h | Kiffmet/FireWork-Kernel-GT-i9506 | gpl-2.0 | 1,795 | 66 | codeparrot/github-code |
70e9921ba55de736a324e548c1adc6a4385a2bb7c9c3c4d6ffee54f6f3a67f3d | #ifndef __NVBIOS_RAMCFG_H__
#define __NVBIOS_RAMCFG_H__
struct nouveau_bios;
struct nvbios_ramcfg {
unsigned rammap_ver;
unsigned rammap_hdr;
unsigned rammap_min;
unsigned rammap_max;
union {
struct {
unsigned rammap_10_04_02:1;
unsigned rammap_10_04_08:1;
};
struct {
unsigned rammap_11_08_01:1;
... | C | virt/drivers/gpu/drm/nouveau/core/include/subdev/bios/ramcfg.h | mericon/Xp_Kernel_LGH850 | gpl-2.0 | 3,104 | 125 | codeparrot/github-code |
ff99fa60997ef85e3a0ce86a0efa8cad8aedd504fb891a2f3c42f0a4e8b473b1 | /* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | kernel/drivers/media/video/msm/eeprom/msm_camera_eeprom.c | Jarbu12/Xperia-M-Kernel | gpl-3.0 | 5,134 | 197 | codeparrot/github-code |
3dad956563c864dba81133e0c8364d26534af2464d64620b6c6c1e825959b6cf | <?php
/**
* @package Joomla.Installation
* @subpackage Controller
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Controller class to initialise the da... | PHP | installationxxxx/controller/install/database.php | hkhateeb/esshar | gpl-2.0 | 1,334 | 61 | codeparrot/github-code |
c2a51d95925cbfaa9ec60c072cce2fb215eedbef347e7923fc03c8b328ebcdc5 | #define pr_fmt(fmt) "IPsec: " fmt
#include <crypto/aead.h>
#include <crypto/authenc.h>
#include <linux/err.h>
#include <linux/module.h>
#include <net/ip.h>
#include <net/xfrm.h>
#include <net/esp.h>
#include <linux/scatterlist.h>
#include <linux/kernel.h>
#include <linux/pfkeyv2.h>
#include <linux/rtnetlink.h>
#includ... | C | net/ipv4/esp4.c | evilwombat/linux-hero4 | gpl-2.0 | 17,228 | 743 | codeparrot/github-code |
013cab9a0b17006eeaf920f7b995d9e51eddfb9c0c8ad3725bcfc4558d6df995 | #ifndef KISS_FTR_H
#define KISS_FTR_H
#include "kiss_fft.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
Real optimized version can save about 45% cpu time vs. complex fft of a real seq.
*/
typedef struct kiss_fftr_state *kiss_fftr_cfg;
kiss_fftr_cfg kiss_fftr_alloc(int nfft,int inverse_fft,void * mem,... | C | win-client/3rdParty/src/libspeex/libspeex/kiss_fftr.h | wendysuly/TeamTalk | apache-2.0 | 1,055 | 52 | codeparrot/github-code |
7a265b65d4e00d28c2d258d1d7b49a8fa5ad5dd90e0b1e9406c30553f466f2a0 | __all__ = ['Counter', 'deque', 'defaultdict', 'namedtuple', 'OrderedDict']
# For bootstrapping reasons, the collection ABCs are defined in _abcoll.py.
# They should however be considered an integral part of collections.py.
from _abcoll import *
import _abcoll
__all__ += _abcoll.__all__
from _collections import deque, ... | Python | usr/pkg/lib/python2.7/collections.py | Symmetry-Innovations-Pty-Ltd/Python-2.7-for-QNX6.5.0-x86 | mit | 25,363 | 668 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.