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
843fc661ec8f01437b37c790af9028ab8c972c83b84157cad1c1b63c403d2e3c
<?php abstract class PhabricatorMailOutboundRoutingHeraldAction extends HeraldAction { const DO_ROUTE = 'do.route'; public function supportsObject($object) { return ($object instanceof PhabricatorMetaMTAMail); } public function getActionGroupKey() { return HeraldApplicationActionGroup::ACTIONGROUP...
PHP
src/applications/metamta/herald/PhabricatorMailOutboundRoutingHeraldAction.php
phacility/phabricator
apache-2.0
1,042
47
codeparrot/github-code
5f46c148ebfeb5edf7ec2796af0e66cf62dc7646fdb868240b33bc93353853fa
/* * 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
jps/jps-builders/src/org/jetbrains/jps/javac/OutputFileObject.java
caot/intellij-community
apache-2.0
4,868
163
codeparrot/github-code
80dd34e12a336f80d64aa3c7d10ea4eb664217b434eae20b0f05d51c84416b0c
/* * Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
C
src/windows/native/sun/windows/awt_Object.h
stain/jdk8u
gpl-2.0
4,688
143
codeparrot/github-code
a34663804006757eea38f317c67612bbeb4297dbc9bcafed6972ecf288fff724
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* Copyright(c) 2018-2019 Realtek Corporation */ #include <linux/bcd.h> #include "main.h" #include "reg.h" #include "fw.h" #include "phy.h" #include "debug.h" #include "regd.h" struct phy_cfg_pair { u32 addr; u32 data; }; union phy_table_tile { struct rtw_phy...
C
drivers/net/wireless/realtek/rtw88/phy.c
rperier/linux
gpl-2.0
63,855
2,516
codeparrot/github-code
8add06bd19325555777da493417efd85496f4c42ffa621fdea5b7416ea1b4af6
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
core/src/test/scala/org/apache/spark/scheduler/OutputCommitCoordinatorIntegrationSuite.scala
someorz/spark
apache-2.0
2,438
68
codeparrot/github-code
6c2131c95252308c5271d5f49105079c52f38b2077f5972bfb599e1943579993
/* * Copyright 2000-2013 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
src/main/java/com/intellij/ui/components/OnOffButton.java
scenerygraphics/SciView
bsd-2-clause
4,310
136
codeparrot/github-code
89d73c421ce1b6072a7fe2fa0ca090cb26e142ec687032d47ccf8d423c8ab819
angular.module('ngTranslate').directive('translate', [ '$filter', '$interpolate', function ($filter, $interpolate) { var translate = $filter('translate'); return { restrict: 'A', scope: true, link: function linkFn(scope, element, attr) { attr.$observe('translate', function (trans...
JavaScript
ajax/libs/angular-translate/2.4.0/angular-translate-0.5.2.js
pvnr0082t/cdnjs
mit
7,305
239
codeparrot/github-code
828b431e5b94fe00e7ddfd1035eee6fed1d0ac2887d075ceef24efd390bae7e2
// TTTAttributedLabel.h // // Copyright (c) 2011 Mattt Thompson (http://mattt.me) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the ...
C
百思不得姐/百思不得姐——框架完成/Class/Essence-精华/View/TTTAttributedLabel.h
sunhaichao-SY/SY-BS-NEWS
apache-2.0
30,188
682
codeparrot/github-code
e52727d66d9e19a8c22d92d4a6c34f38ef56d281961e10ec55be9fe10520f17c
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck %s -check-prefix=X64 // RUN: %clang_cc1 -fblocks -triple i686-apple-darwin9 %s -emit-llvm -o - | FileCheck %s -check-prefix=X32 // RUN: %clang_cc1 -fblocks -triple arm64-apple-darwin %s -emit-llvm -o - | FileCheck %s -check-prefix=A...
C
tools/clang/test/CodeGen/blockstret.c
cd80/UtilizedLLVM
unlicense
3,642
114
codeparrot/github-code
db49f56610e7dd8b956974327ed4229a038818559727e1d7eead14330cb73786
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
src/main/scala/org/apache/spark/examples/pythonconverters/AvroConverters.scala
mrchristine/spark-examples-dbc
apache-2.0
5,217
149
codeparrot/github-code
5826feb6cadabf77db6d1c69769090c99ccba4e114f7865b18abe21148f2bf35
/* * 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/struct/attr/StructSourceFileAttribute.java
idea4bsd/idea4bsd
apache-2.0
1,098
36
codeparrot/github-code
54e1b843a02e17f3edc3cb57583bcec17c94e3e0afa0bd9fe1834a8acc65ef8e
<?php /* Plugin Name: Contact Form 7 Plugin URI: http://contactform7.com/ Description: Just another contact form plugin. Simple but flexible. Author: Takayuki Miyoshi Author URI: http://ideasilo.wordpress.com/ Text Domain: contact-form-7 Domain Path: /languages/ Version: 4.2 */ /* Copyright 2007-2015 Takayuki Miyoshi...
PHP
wp-content/plugins/contact-form-7/wp-contact-form-7.php
jamesfrazier81/natureskloth
gpl-2.0
2,327
76
codeparrot/github-code
908899ec1f29ce2ae7c123e1fc3ac82f7f0eaa5dc64fbea0eb0c101d7f85bf1d
#include <sys/types.h> #include <sys/socket.h> #ifndef SOCK_DCCP # define SOCK_DCCP 6 #endif #ifndef SOCK_CLOEXEC # define SOCK_CLOEXEC 02000000 #endif #ifndef SOCK_NONBLOCK # define SOCK_NONBLOCK 00004000 #endif #ifndef SOCK_TYPE_MASK #define SOCK_TYPE_MASK 0xf #endif static size_t syscall_arg__scnprintf_socke...
C
tools/perf/trace/beauty/socket_type.c
axxia/axxia_yocto_linux_4.1_pull
gpl-2.0
1,218
61
codeparrot/github-code
22d74ae01f955e41e12db0862f22b31f118ed7227dde61a48607186d11bb0850
// 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. #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ #define CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ #include "base/memory...
C
src/content/public/browser/android/layer_tree_build_helper.h
thlorenz/debugium-take1
mit
824
32
codeparrot/github-code
e7d4932d19a4fcfb7028e3fb8c7761960d5730fc1a4b0ab675c19304cb1668b3
/* Support for 32-bit i386 NLM (NetWare Loadable Module) Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
C
source/binutils-latest/bfd/nlm32-i386.c
selmentdev/selment-toolchain
gpl-3.0
12,878
430
codeparrot/github-code
2b62573fde096be62afbc532312991b7d3d1c7d3bee2a7a8983d6f53720c21e1
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
src/test/org/apache/hadoop/mapred/TestQueueManagerForJobKillAndJobPriority.java
gndpig/hadoop
apache-2.0
13,637
321
codeparrot/github-code
0df34b480e8bd8baa17ce56d338785ac3f1a1a99a0e80466c2860e16cca243e8
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Java
example/src/main/java/io/netty/example/http2/helloworld/server/Http2ServerInitializer.java
MediumOne/netty
apache-2.0
4,734
119
codeparrot/github-code
fcdee2d049aabe355f1b181b4abd9e3bde3ac61d0d6ca30a3d972510f6f0a502
// SPDX-License-Identifier: GPL-2.0 // // ASoC machine driver for Snow boards #include <linux/clk.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/of.h> #include <linux/of_device.h> #include <sound/pcm_params.h> #include <sound/soc.h> #include "i2s.h" #define FIN_PLL_RATE 24000000 SN...
C
sound/soc/samsung/snow.c
skalk/linux
gpl-2.0
6,169
264
codeparrot/github-code
7bc01ac95399821ceef97948d590c9382e3921b253caeb085c913447a55ca1a2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <link rel="stylesheet" type="text/css" href="../../boost.css"> <title>Writing Documentation for Boost - Intr...
HTML
venv/bin/more/writingdoc/introduction.html
NixaSoftware/CVis
apache-2.0
2,887
69
codeparrot/github-code
f3115c29bdef669da53e2d0e6cd49373ca076b27f1476051729d889a54293f4f
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
thirdparty/google-guava/src/main/java/com/google/common/collect/ConcurrentHashMultiset.java
tsyma/pinpoint
apache-2.0
21,405
604
codeparrot/github-code
d31f49e2633bf2de5da58421084dd59a438e94635ef326000c7f3f7aad398b75
/* * AD5624R, AD5644R, AD5664R Digital to analog convertors spi driver * * Copyright 2010-2011 Analog Devices Inc. * * Licensed under the GPL-2. */ #include <linux/interrupt.h> #include <linux/fs.h> #include <linux/device.h> #include <linux/kernel.h> #include <linux/spi/spi.h> #include <linux/slab.h> #include <l...
C
virt/drivers/iio/dac/ad5624r_spi.c
AiJiaZone/linux-4.0
gpl-2.0
7,527
319
codeparrot/github-code
19ecaa0ef6b6b0a7ec3b797c8c8e4f3d7c5056b0094af70a443349885b6230bd
/** * Test dependencies */ var assert = require('assert'); var httpHelper = require('./helpers/httpHelper.js'); var appHelper = require('./helpers/appHelper'); var util = require('util'); var wrench = require('wrench'); var path = require('path'); var fs = require('fs-extra'); describe('hooks :: ', function() { v...
JavaScript
test/integration/hook.3rdparty.test.js
erkstruwe/sails
mit
8,156
291
codeparrot/github-code
6d654a72e891984050ed0990319226d0d7565afbe4ff6fc2a53b4b358a2fc140
/* * QLogic qlcnic NIC Driver * Copyright (c) 2009-2013 QLogic Corporation * * See LICENSE.qlcnic for copyright and licensing details. */ #include "qlcnic.h" #include "qlcnic_hdr.h" #include "qlcnic_83xx_hw.h" #include "qlcnic_hw.h" #include <net/ip.h> #define QLC_83XX_MINIDUMP_FLASH 0x520000 #define QLC_83XX_...
C
kernel/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c
cybernet/rhel7-kernel
gpl-2.0
30,768
1,237
codeparrot/github-code
230e55e7095e6e98af10be20ba19ab8029a30011781f411eb69fbafc19001308
/* * WM8505/WM8650 SD/MMC Host Controller * * Copyright (C) 2010 Tony Prisk * Copyright (C) 2008 WonderMedia Technologies, 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 Foun...
C
drivers/mmc/host/wmt-sdmmc.c
pombredanne/bcm11351
gpl-2.0
25,481
1,030
codeparrot/github-code
b0ba6a4ad6fdf6ee081ab1e114365b21895673ad3c2668588c47877a5f5e3930
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
Java
dcm4che14/tags/DCM4CHE_2_14_22_TAGA/src/java/org/dcm4che/client/PrintSCUDataSource.java
medicayun/medicayundicom
apache-2.0
32,291
737
codeparrot/github-code
8fc92b07b2c1c536d55bfbfff91fcd89c0c92bbaccc02e9bc9e319bd67066a87
// SPDX-License-Identifier: GPL-2.0-or-later /* * Sunplus spca561 subdriver * * Copyright (C) 2004 Michel Xhaard mxhaard@magic.fr * * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define MODULE_NAME "spca561" #include <linux/input.h> #include "gspca.h" MO...
C
linux-5.8/drivers/media/usb/gspca/spca561.c
CSE3320/kernel-code
gpl-2.0
25,213
912
codeparrot/github-code
9ad5f281d2b1a9ddf7dd57e80cd4c5e406311331415d5a9aa4b7b5ee5e3ab21d
Events = new Mongo.Collection('events'); Events.schema = new SimpleSchema({ createdAt: { type: Date }, name: { type: String }, description: { type: String, optional: true }, unique: { type: Boolean, optional: true }, important: { // marking an event as important means it shoul...
JavaScript
packages/telescope-events/lib/events.js
IQ2022/Telescope
mit
1,453
65
codeparrot/github-code
308ec42f8c44cc26403a390c829ec5c3b6ced8b6cbb5896d6ff21f0d3292e47b
/* * Machine driver for AMD ACP Audio engine using Realtek RT5645 codec * * Copyright 2017 Advanced Micro Devices, Inc. * * This file is modified from rt288 machine driver * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the ...
C
sound/soc/amd/acp-rt5645.c
rperier/linux
gpl-2.0
5,819
207
codeparrot/github-code
b098a2c74f3bc6e0e51326467c42039ea11afe878a4938e1b3ec590a41fbdc09
<?php /** * @package Joomla.Platform * @subpackage Event * * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * Class to handle dispatching of events. * ...
PHP
sites/ranjeesh/libraries/joomla/event/dispatcher.php
vyelamanchili/v4ecc
gpl-2.0
5,869
279
codeparrot/github-code
7d37084d93910501a802ba9d881ea990d8b0c468b1264295598e498f4c2f1608
#!/usr/bin/env python # # Copyright 2004,2005,2007,2012 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio 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, or (at ...
Python
gr-audio/examples/python/dial_tone.py
jarn0ld/gnuradio
gpl-3.0
2,150
63
codeparrot/github-code
2085cd498f6efddae042d1ce26492e22a707f210d3ebe60001f47ac885de7620
/*************************************************************************** * Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> * * * * This file is part of the FreeCAD CAx development system. * * ...
C
src/App/Annotation.h
bblacey/FreeCAD-MacOS-CI
lgpl-2.1
2,762
76
codeparrot/github-code
082c17da343e6731c356d2f886ae4387bf42f5b6c2927062f57b1df4cc027d02
/* * linux/kernel/panic.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * This function is used through-out the kernel (including mm and fs) * to indicate a major problem. */ #include <linux/debug_locks.h> #include <linux/interrupt.h> #include <linux/kmsg_dump.h> #include <linux/kallsyms.h> #include <lin...
C
linux-3.16.7-ckt9/kernel/panic.c
brammittendorff/PF_RING
lgpl-2.1
12,272
503
codeparrot/github-code
89c5af8063817166643b117e52f0d898824c77fdec94b4aa6d5f66214c2d97a2
#include <muduo/net/EventLoop.h> #include <muduo/net/TcpServer.h> #include <map> using namespace muduo; using namespace muduo::net; typedef std::map<string, string> UserMap; UserMap users; string getUser(const string& user) { string result = "No such user"; UserMap::iterator it = users.find(user); if (it != u...
C++
examples/twisted/finger/finger07.cc
DongweiLee/muduo
bsd-3-clause
890
46
codeparrot/github-code
ef66b63edcbed815fbe1d69fb9b27cf668135bdd6da674db5a518031c05fb0e4
/** * Globalize v1.1.0-rc.7 * * http://github.com/jquery/globalize * * Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-12-01T17:27Z */ /*! * Globalize v1.1.0-rc.7 2015-12-01T17:27Z Released under the MIT license ...
JavaScript
ajax/libs/globalize/1.1.0-rc.7/globalize/relative-time.js
joeyparrish/cdnjs
mit
5,104
202
codeparrot/github-code
30733901b6d71f8624fcd6435586882ec51e4af82e6e654b9f919ff0dd997907
/* * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. ...
C++
webkit/Source/WebCore/platform/graphics/filters/SourceGraphic.cpp
danialbehzadi/Nokia-RM-1013-2.0.0.11
gpl-3.0
2,232
80
codeparrot/github-code
d324e9d58f461ebc76a1a6e5f23e99edd5013c801ac80d4053dfbf7680ba75f3
/* * Copyright © 2010-2013 Team XBMC * http://xbmc.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. *...
C
xbmc/visualizations/Vortex/VortexVis/Core/Preset.h
firstblade/xbmc
gpl-2.0
1,200
47
codeparrot/github-code
19f20ad121e10b93730090be60b5fb7b0528e59763eca89124c5537bfb0aa04d
/* * Copyright(c) 2012, LG Electronics Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope...
C
kernel/drivers/misc/slimport_anx7808/slimport.c
keeeener/nicki
gpl-2.0
12,836
561
codeparrot/github-code
be4f03c79668b95504c898924abffee25c2b07b3b5762561a22ff45a6be0dde5
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkOSWindow_SDL.h" #include "SkCanvas.h" #include "SkColorPriv.h" #include "SkGLCanvas.h" #include "SkOSMenu.h" #include "SkTime.h" static void post_SkEvent_event() ...
C++
third_party/skia/src/views/sdl/SkOSWindow_SDL.cpp
JoKaWare/GViews
bsd-3-clause
6,087
227
codeparrot/github-code
c4648da2bbdd8e268813beb66d4b403a206d2a32e5cd6e2b99c5790779bddc0a
/* * Copyright (c) 1997, 1998, 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/src/share/classes/com/sun/java/swing/plaf/windows/WindowsCheckBoxUI.java
rokn/Count_Words_2015
mit
3,366
96
codeparrot/github-code
0575d44a3cfb4163eac2822d51ec314fcb7f731f70d2b1c1d4c9d8b7a134d04a
<?php /** * @package Joomla.Platform * @subpackage FileSystem * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; jimport('joomla.filesystem.file'); /** * ...
PHP
web2/libraries/joomla/filesystem/patcher.php
yaelduckwen/lo_imaginario
mit
11,400
533
codeparrot/github-code
fc36fe450809ccb904411b2cef34fcf1b5c876b71d84761d6c2dc0767ed4a1b5
// SPDX-License-Identifier: GPL-2.0 /* * ipl/reipl/dump support for Linux on s390. * * Copyright IBM Corp. 2005, 2012 * Author(s): Michael Holzheu <holzheu@de.ibm.com> * Heiko Carstens <heiko.carstens@de.ibm.com> * Volker Sameske <sameske@de.ibm.com> */ #include <linux/types.h> #include <linux/expo...
C
linux-5.4/arch/s390/kernel/ipl.c
BPI-SINOVOIP/BPI-Mainline-kernel
gpl-2.0
47,278
1,845
codeparrot/github-code
a53349b066c600a203a992065fb44b0cd2fd70dd223fdfed18b66a614fe605cc
/* Copyright (c) 2013-2014, 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
drivers/video/msm/mdss/mdss_dsi_status.c
SOKP/kernel_moto_shamu
gpl-2.0
6,992
253
codeparrot/github-code
edc3a34ef425cfff92da1b5363fed84a0827450d9550025e3690d7e55c07a0b0
/* 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/reil/translators/x86/LoopTranslator.java
oouyang/binnavi
apache-2.0
3,255
80
codeparrot/github-code
3f35e18baa4a866f1880eee3192f9aa2fddd78d4301c0519f7583d6625675f2d
/** @file moal_proc.c * * @brief This file contains functions for proc file. * * Copyright (C) 2008-2010, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"...
C
drivers/net/wireless/sd8897/mlinux/moal_proc.c
BENETNATH/kernel_hp_maya
gpl-2.0
18,198
667
codeparrot/github-code
04bcade626b68854560d01cd64595ba67176f7610804416b5c54c613b3678d54
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace Microsoft.HDInsight.Net.Http.Formatting.Formatting { using System.Net.Http.Headers; /// <summary> /// Constants related to media types. /// </summary> int...
C#
src/ServiceManagement/HDInsight/Microsoft.HDInsight.Net.Http.Formatting/Formatting/MediaTypeConstants.cs
oaastest/azure-sdk-for-net
apache-2.0
4,658
102
codeparrot/github-code
f1d3d9f3f3b549388b77be8fd4c15b87fcff5b1093450e2c0ad6994d931276d3
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/debugger/devtools_remote_listen_socket_unittest.h" #include <fcntl.h> #if defined(OS_POSIX) #include <netinet/in.h> #endif ...
C++
external/chromium/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc
xdajog/samsung_sources_i927
gpl-2.0
12,256
384
codeparrot/github-code
2e5fd87cc23639f450fe617aab10dbfdc6ccf4129a808b728e286c742946a4f3
// 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. #include "chrome/browser/search_engines/search_provider_install_state_message_filter.h" #include "base/logging.h" #include "chrome/browser/profiles/p...
C++
external/chromium/chrome/browser/search_engines/search_provider_install_state_message_filter.cc
xdajog/samsung_sources_i927
gpl-2.0
4,100
109
codeparrot/github-code
6aaafe9a45fb5c40db2b44a6764783f00eb0aefe3ac37e79396c8103f3223fad
/* * Copyright (c) 2005, 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 Softwa...
Java
testing/openjdk2/jdk/test/java/util/TreeMap/NullAtEnd.java
rokn/Count_Words_2015
mit
3,509
110
codeparrot/github-code
c627bf9ba32f67d1f4ed89aad58882969ec59c2995106b00ef58df2fbd431171
require_dependency 'distributed_memoizer' require_dependency 'file_helper' class StaticController < ApplicationController skip_before_filter :check_xhr, :redirect_to_login_if_required skip_before_filter :verify_authenticity_token, only: [:cdn_asset, :enter, :favicon] def show return redirect_to(path '/') i...
Ruby
app/controllers/static_controller.rb
cynhard/discourse
gpl-2.0
4,822
149
codeparrot/github-code
17074093a30576325e7dc1da0031e265b23d665f29055633bf6c860def48ec89
/* * Copyright (C) 2009 Samsung Electronics Ltd. * Jaswinder Singh <jassi.brar@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at you...
C
drivers/spi/spi-s3c64xx.c
stefanstrogin/linux
gpl-2.0
38,552
1,411
codeparrot/github-code
2e91a4d7bb7b32a83e7f854d6957c8a4a52456c3aede904e9f1fafce68ce2c8b
$(document).ready(function () { //Get the URI decoded SharePoint site url from the SPHostUrl parameter. var spHostUrl = decodeURIComponent(getQueryStringParameter('SPHostUrl')); var appWebUrl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl')); //Build absolute path to the layouts root with t...
JavaScript
Solutions/Core.ConnectedAngularAppsV2/Core.ConnectedAngularAppsV2Web/Scripts/app.js
brennaman/PnP
apache-2.0
1,247
36
codeparrot/github-code
0feeab6c6d9e38a1ff2237f9ee76086431b7353fc64450436f9eb24ebb606aac
package rx.internal.operators; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import org.junit.Test; import rx.Observable; import rx.Subscriber; impo...
Java
src/test/java/rx/internal/operators/OperatorDoOnRequestTest.java
Shedings/RxJava
apache-2.0
2,128
81
codeparrot/github-code
fa918e2a903c6ca298f35176cb54d594c88069e242e84b2ffc3c31344ac747e3
/* * File: socket.c * * Phonet sockets * * Copyright (C) 2008 Nokia Corporation. * * Contact: Remi Denis-Courmont <remi.denis-courmont@nokia.com> * Original author: Sakari Ailus <sakari.ailus@nokia.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU G...
C
net/phonet/socket.c
showliu/android_kernel_xiaomi_aries-1
gpl-2.0
18,350
826
codeparrot/github-code
67440bc1136dafebb95c69ef3260d11988368cca5751d7e0dc170fb941fcfca2
<?php /* * Upgrade * * @description: All the functionality for upgrading ACF * @since 3.2.6 * @created: 23/06/12 */ class acf_upgrade { var $parent; /* * __construct * * @description: * @since 3.1.8 * @created: 23/06/12 */ function __construct($parent) { // vars $this->parent = $p...
PHP
wp-theme-development-stage-02/wordpress/wp-content/plugins/advanced-custom-fields/core/controllers/upgrade.php
adiakritos/allisongrayce.com
gpl-2.0
18,688
830
codeparrot/github-code
b5cb5ff7e635d02c5ce828c1efe90cd57ed99b6dafe69b4a9dfc442ab74f1237
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package gc import ( "cmd/internal/obj" "fmt" ) /* * portable half of code generator. * mainly statements and control flow. */ var labellist *Label var l...
GO
src/cmd/compile/internal/gc/gen.go
yeyuguo/go
bsd-3-clause
26,246
1,277
codeparrot/github-code
bfca3e6a12557ea47345c07add25793a4162f200a51c227bc0bac3b79e2e4983
/* * Copyright (C) 2005 Intel Corporation * Copyright (C) 2009 Hewlett-Packard Development Company, L.P. * * Alex Chiang <achiang@hp.com> * - Unified x86/ia64 implementations * * I/O APIC hotplug support * Yinghai Lu <yinghai@kernel.org> * Jiang Liu <jiang.liu@intel.com> */ #include <linux/export.h> #include ...
C
drivers/acpi/processor_core.c
boddob/linux
gpl-2.0
11,714
448
codeparrot/github-code
c61e78f421ed4be420d0a4026b9f43c27f83ea32f2876c353e4e8ad4fdab4bfc
/** * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Java
src/main/java/rx/internal/operators/OperatorOnErrorResumeNextViaObservable.java
pitatensai/RxJava
apache-2.0
3,753
105
codeparrot/github-code
9e435a37c51686e83d1b923d2695c39bb213ea9618c19b5c7214750fdcf9a5d8
/* * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Java
zxing/core/src/com/google/zxing/qrcode/decoder/Version.java
kerwinxu/barcodeManager
bsd-2-clause
21,878
579
codeparrot/github-code
a6490c7adfc1ca354241d3c10bc1712d4f542ebbd81e5fded2f934ae249df60e
/* * Synopsys DesignWare Multimedia Card Interface driver * (Based on NXP driver for lpc 31xx) * * Copyright (C) 2009 NXP Semiconductors * Copyright (C) 2009, 2010 Imagination Technologies Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publ...
C
include/linux/mmc/dw_mmc.h
vfalico/hydra-rpmsg
gpl-2.0
8,467
264
codeparrot/github-code
ecba8d4e837d3cc78d5e766a957c799bd3cd2bae2ac14b200f39677d53c8622c
# mssql/mxodbc.py # Copyright (C) 2005-2014 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 """ .. dialect:: mssql+mxodbc :name: mxODBC :dbapi: mxodbc :connectstring:...
Python
venv/lib/python2.7/site-packages/sqlalchemy/dialects/mssql/mxodbc.py
jessekl/flixr
mit
3,902
112
codeparrot/github-code
fcd6d025fdc73869315922d4aa6a0b02cc4deeba610ced05514f2ebc06605134
var higher = require('../higher') , assert = require ('assert') , render = require('render') exports ['apply an assertion'] = function () { var called = 0 // assert.doesNotThrow(function () { higher.apply(true, function (actual) { assert.equal(actual, true) called ++ }) //}) assert.equa...
JavaScript
test/higher.synct.js
dominictarr/assertions
mit
4,275
179
codeparrot/github-code
4edffbf112139cae5e0520619df8445659bdcbc2eec45c665b84715a42bfc6b2
/* * #%L * OAuth Tool * %% * Copyright (C) 2009 - 2013 The Sakai Foundation * %% * Licensed under the Educational Community 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://opensource.org/...
Java
tool/src/main/java/org/sakaiproject/oauth/servlet/RequestTokenServlet.java
ox-it/wl-oauth
apache-2.0
1,855
56
codeparrot/github-code
734d5825b9ed359eeed28fb7df9e93e8e9194af20c5a7df1a647bc0fe0ac6d33
/* * linux/fs/hfs/dir.c * * Copyright (C) 1995-1997 Paul H. Hargrove * (C) 2003 Ardis Technologies <roman@ardistech.com> * This file may be distributed under the terms of the GNU General Public License. * * This file contains directory-related functions independent of which * scheme is being used to represent...
C
source/kernel/fs/hfs/dir.c
mikedlowis-prototypes/albase
bsd-2-clause
7,822
320
codeparrot/github-code
96f17f712e967a7409e473ab623623fe45e519fe472c0ea72f82199ddb8db12d
/* * Copyright (c) 2014 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
JavaScript
src/search/SearchModel.js
ecwebservices/brackets
mit
10,382
275
codeparrot/github-code
901c9772a73f58c1cc9a9f11869be4e7bdf4aae567bf7fc5fea894b308f9d097
/* * Copyright (C) 2016 Netronome Systems, Inc. * * This software is dual licensed under the GNU General License Version 2, * June 1991 as shown in the file COPYING in the top-level directory of this * source tree or the BSD 2-Clause License provided below. You have the * option to license this software under th...
C
drivers/net/ethernet/netronome/nfp/nfp_bpf.h
spoiledsport/linux
gpl-2.0
6,193
203
codeparrot/github-code
639cd7b6cd0572533a9f8bda51528878b5612aa8464cdedfdfc200cec8af519a
/* * Copyright(c) 2015 - 2018 Intel Corporation. * * 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 * * This program is free software; you can redistribute it and/or modify * it under the terms of vers...
C
linux-5.8/drivers/infiniband/hw/hfi1/user_sdma.c
CSE3320/kernel-code
gpl-2.0
43,874
1,545
codeparrot/github-code
ac5cdf27333aeb9a09354d72d7e025ea94515c7d05746853c535ace822638216
/* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hop...
C
mysql/mysql-5.6.17/libmysql/authentication_win/common.h
pubsubsql/notification-services
gpl-3.0
6,967
325
codeparrot/github-code
b3ecf05ffc5741a5629c4a4e17436a63c214f317091707e12da90f52649f79f3
'use strict'; ;(function (window, linkify) { var linkifyHtml = function (linkify) { 'use strict'; var HTML5NamedCharRefs = {}; function EntityParser(named) { this.named = named; } var HEXCHARCODE = /^#[xX]([A-Fa-f0-9]+)$/; var CHARCODE = /^#([0-9]+)$/; var NAMED = /^([A-Za-z0-9]+...
JavaScript
src/bower_components/linkifyjs/linkify-html.js
cawa-93/vknotice
mit
22,725
805
codeparrot/github-code
b0d178c49754e600d491d9616562e608e53421322dd7b720a595dc0d040df3a2
/* * Activiti Modeler component part of the Activiti project * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved. * * 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; ei...
JavaScript
webapp/widgets/modeler/editor-app/configuration/properties-event-listeners-controller.js
AWendy/lemon
apache-2.0
9,868
266
codeparrot/github-code
21492142375a4cc14caa9bc7d188620030f7c5ec6db23eb4cf9f1396ee5e3a16
/* * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> * (C) 2011 Thomas Renninger <trenn@novell.com> Novell Inc. * * Licensed under the terms of the GNU GPL License version 2. */ #include <stdio.h> #include <errno.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys...
C
tools/power/cpupower/utils/helpers/sysfs.c
yaymalaga/hellsPrime_kernel
gpl-2.0
8,168
378
codeparrot/github-code
3f7d566bff21ca41ec076c80e4084334f4631a9e39a32a86a875dc744672870e
/**************************************************************************** Copyright (c) 2013 Zynga Inc. Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f...
C++
src/cocos2d-js/frameworks/js-bindings/cocos2d-x/cocos/2d/CCFontCharMap.cpp
NatWeiss/RGP
mit
4,975
163
codeparrot/github-code
1d20f9ea7b02629b0fe46a2d4a2cb7baa6b633ac68bcb37cd3df6eb19fac6064
#!/bin/sh # Check ncurses compatibility # What library to link ldflags() { for ext in so a dylib ; do for lib in ncursesw ncurses curses ; do $cc -print-file-name=lib${lib}.${ext} | grep -q / if [ $? -eq 0 ]; then echo "-l${lib}" exit fi done done exit 1 } # Where is ncurses.h? ccflags() { if...
Shell
user/busybox/busybox/scripts/kconfig/lxdialog/check-lxdialog.sh
ZHAW-INES/rioxo-uClinux-dist
gpl-2.0
1,635
83
codeparrot/github-code
4ee6be220fa0844ab74497470e52178627cda7325b54e98c3c9f111bf2f4c120
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2017 - 2019 Cambridge Greys Limited * Copyright (C) 2011 - 2014 Cisco Systems Inc * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Copyright (C) 2001 Lennert Buytenhek (buytenh@gnu.org) and * James Leu (jleu@mindspring.net). * Copyrig...
C
arch/um/drivers/vector_kern.c
rperier/linux
gpl-2.0
42,497
1,770
codeparrot/github-code
0aa1ec61cadcf16457a091e21e62f0b90680f039ab7f7d696005b7ef3bd5e213
<?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
admin/roles/classes/capability_table_base.php
michael-milette/moodle
gpl-3.0
7,385
196
codeparrot/github-code
56a4dffdb16498ef4916cde32c0400fd7e4f0aac1bf0cfa912292277e6ba140b
/* * trace-event-python. Feed trace events to an embedded Python interpreter. * * Copyright (C) 2010 Tom Zanussi <tzanussi@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation;...
C
tools/perf/util/scripting-engines/trace-event-python.c
FelipeEcker/XenGT-Preview-kernel
gpl-2.0
22,613
850
codeparrot/github-code
048f0e400c9d17832e6fc8ce2b8a5d9a6bbdd73c15e80192a83d29728008e879
/* * linux/include/linux/jbd2.h * * Written by Stephen C. Tweedie <sct@redhat.com> * * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved * * This file is part of the Linux kernel and is made available under * the terms of the GNU General Public License, version 2, or at your * option, any later version,...
C
linux/include/linux/jbd2.h
mkvdv/au-linux-kernel-autumn-2017
gpl-3.0
48,221
1,539
codeparrot/github-code
cbadd6e8466dc2312111479eab27229d1cda9ff4b012f09a04b7811e2c4b415e
/* * Copyright (c) 2004, 2005, 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/src/share/classes/sun/security/krb5/internal/crypto/Aes256.java
rokn/Count_Words_2015
mit
3,404
89
codeparrot/github-code
4e86af033b45d0a5c2a7f7cbc9f2df12316be6a87e6199a1b4eaff241785ddd1
/* Copyright (c) 2010-2011 mbed.org, MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, modify, merge, pu...
C++
motorboard/mbed firmware/USBDevice/targets/TARGET_NXP/USBHAL_LPC17.cpp
baranusluel/igvc-electrical
apache-2.0
17,674
624
codeparrot/github-code
e20922c18d49832dc3382e936b0260369db4ff584e9d79711a4b3b4d99cf9bd4
/* $Id: netjet.c,v 1.29.2.4 2004/02/11 13:21:34 keil Exp $ * * low level stuff for Traverse Technologie NETJet ISDN cards * * Author Karsten Keil * Copyright by Karsten Keil <keil@isdn4linux.de> * * This software may be used and distributed according to the terms * of the GNU General Public Licen...
C
src/drivers/isdn/hisax/netjet.c
felixhaedicke/nst-kernel
gpl-2.0
26,225
982
codeparrot/github-code
895637f80b91e69878aba1f15c5d9296a51b67f87f53458a2d5876a569d54da9
{% extends "admin/base_site.html" %} {% load i18n %} {% block coltype %}colSM{% endblock %} {% block breadcrumbs %} <div class="breadcrumbs"> <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> &rsaquo; <a href="{% url 'django-admindocs-docroot' %}">{% trans 'Documentation' %}</a> &rsaquo; {% trans 'Filters' %} <...
HTML
y/google-cloud-sdk/platform/google_appengine/lib/django-1.5/django/contrib/admindocs/templates/admin_doc/template_filter_index.html
ychen820/microblog
bsd-3-clause
1,690
55
codeparrot/github-code
5bbd790dfb6994ba2406d5c62b7b444983a060d513f1ea478844c47d69c7f414
/* * SMP Support for A2 platforms * * Copyright 2007 Benjamin Herrenschmidt, IBM Corp. * * 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 y...
C
packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/arch/powerpc/platforms/wsp/smp.c
WhiteBearSolutions/WBSAirback
apache-2.0
2,021
89
codeparrot/github-code
1dd341db14bfee2bc536975ad419d9a767d5e6ec07841d11e884528102125005
/* * Copyright 2010 Google, Inc. 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 Software Foundation. * * ...
Java
testing/openjdk2/hotspot/test/compiler/6921969/TestMultiplyLongHiZero.java
rokn/Count_Words_2015
mit
5,986
139
codeparrot/github-code
76566ff9d0dbe5e82286fd5560520b9420cede4cc675ab35eec6e6b91bb1b35a
require_dependency 'queued_post_serializer' class QueuedPostsController < ApplicationController before_filter :ensure_staff def index state = QueuedPost.states[(params[:state] || 'new').to_sym] state ||= QueuedPost.states[:new] @queued_posts = QueuedPost.visible.where(state: state).includes(:topic, ...
Ruby
app/controllers/queued_posts_controller.rb
IQ2022/discourse
gpl-2.0
1,544
58
codeparrot/github-code
f92614873e2819dd9a632bd3f678ffd762081f1ce0faf210a5394765c614673b
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Java
components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjConvertersTest.java
davidwilliams1978/camel
apache-2.0
9,564
236
codeparrot/github-code
3bc537a700e4c6c7e3ee36b2d2401523bac7b35951fb752236f8397f1b61bde2
(function () { var lang = { months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturda...
JavaScript
ajax/libs/moment.js/1.2.0/lang/en-gb.js
janpaepke/cdnjs
mit
1,754
52
codeparrot/github-code
5655de02976a5a8a86c6ed4309df95abe79a35fdce687eeb2b781d221e4185d3
<?php class ControllerPaymentTwoCheckout extends Controller { private $error = array(); public function index() { $this->load->language('payment/twocheckout'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); if (($this->request->server['REQUEST_METH...
PHP
upload/aplogin/controller/payment/twocheckout.php
dhananjaypingale2112/vc_fitness
gpl-3.0
6,308
168
codeparrot/github-code
4848b8d15c63b281b048f7c26d7583929d39a485c78de370d26bffaa55d7c729
/* { dg-do run } */ /* { dg-options "-O2 -mavx512f" } */ /* { dg-require-effective-target avx512f } */ #define AVX512F #include "avx512f-helper.h" #define SIZE (AVX512F_LEN / 32) #include "avx512f-mask-type.h" static void CALC (int *r, int *s1, int *s2) { int i; for (i = 0; i < SIZE; i++) { r[i] = s2[...
C
source/gcc-latest/gcc/testsuite/gcc.target/i386/avx512f-vpsllvd-2.c
selmentdev/selment-toolchain
gpl-3.0
1,194
56
codeparrot/github-code
c42b1d12973ab34b6b3f0d63bd3cad36faf0b1d60d4c39deab644e2c8caa65a4
/* * Support for Medifield PNW Camera Imaging ISP subsystem. * * Copyright (c) 2010 Intel Corporation. All Rights Reserved. * * Copyright (c) 2010 Silicon Hive www.siliconhive.com. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License ver...
C
linux/drivers/staging/media/atomisp/pci/atomisp2/mmu/isp_mmu.c
mkvdv/au-linux-kernel-autumn-2017
gpl-3.0
14,439
598
codeparrot/github-code
d475022fcaf5bb232e314f4bda88b09db2dcd07b1616cce33e31bd7539f09d44
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
JavaScript
www/jslib/extjs/src/util/Offset.js
filippov70/map.org
lgpl-3.0
2,074
82
codeparrot/github-code
fce56d46d13a48d08b70e6d2985237b7f9344cee3c7a3c243d12fa13767742b9
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_TRANSACTIONFILTERPROXY_H #define BITCOIN_QT_TRANSACTIONFILTERPROXY_H #include "amount.h" #include <QDateT...
C
src/qt/transactionfilterproxy.h
outastracoin-project/outastracoin
mit
2,020
69
codeparrot/github-code
3449432dcad4267d0a683fc1671f671b752d58c99a37302545828a7c2c5d1b60
/* * X.509v3 certificate parsing and processing (RFC 3280 profile) * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi> * * 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. * * Alte...
C
modules/wifi/nano-c047.12/WiFiEngine/ewpa/src/x509v3.c
itead/ITEADSW_kernel
gpl-2.0
41,540
1,680
codeparrot/github-code
c8e769437e523d90324ee16d4b52f41d8e97c3a5c41c49ed08330f5909c95daf
<?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
moodle/mod/scorm/loadSCO.php
rafaelperazzo/ufca-web
gpl-3.0
6,544
168
codeparrot/github-code
a33497d042185bba2d916f71950744053ebacaa1871bd5248db258483cbaeaf2
#!/usr/bin/env perl # by David Conrad # This code is licensed under GPLv2 or later; go to gnu.org to read it # (not that it much matters for an asm preprocessor) # usage: set your assembler to be something like "perl gas-preprocessor.pl gcc" use strict; # Apple's gas is ancient and doesn't support modern preprocessin...
Perl
x264/x264/extras/gas-preprocessor.pl
cha007/obs_
gpl-2.0
8,161
254
codeparrot/github-code
6c45a261e64cb3d6d3c3618a61a49e04d6f433a1e292cd414459f07d48d9d692
/* * max31790.c - Part of lm_sensors, Linux kernel modules for hardware * monitoring. * * (C) 2015 by Il Han <corone.il.han@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
C
drivers/hwmon/max31790.c
boddob/linux
gpl-2.0
12,690
533
codeparrot/github-code
f1a7aece97805cce5eaec5447b9495584d66c16bfe1fcbc87387c4cacaa7edd3
/* * Copyright (c) 2005 Cisco Systems. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source tre...
C
drivers/infiniband/ulp/srp/ib_srp.h
jolicloud/jolicloud-robby-kernel
gpl-2.0
4,493
183
codeparrot/github-code
08c7c7d084c9852ada5c0f59fdd65e420857d004a6cd864500a008258fb4f2e8
# markdown is released under the BSD license # Copyright 2007, 2008 The Python Markdown Project (v. 1.7 and later) # Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b) # Copyright 2004 Manfred Stienstra (the original version) # # All rights reserved. # # Redistribution and use in source and binary forms, with or...
Python
third_party/webrtc/src/chromium/src/third_party/markdown/odict.py
Teamxrtc/webrtc-streaming-node
mit
7,934
227
codeparrot/github-code
de9fb2cee25f05c7d99fbbb89ca4c4f662dd8a410385cabf4dd4980d5d50dae7
// Copyright 2013 The Closure Library 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 requ...
JavaScript
trycljs/out/goog/async/run.js
arifian/myweb
epl-1.0
4,089
134
codeparrot/github-code
b3c0180222f091c88275600fee0e884f7eb8a309b69187a6e32c9185b05f5cc8
/* Copyright (C) 2009-2017 B.A.T.M.A.N. contributors: * * Marek Lindner * * 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 Free Software Foundation. * * This program is distributed in the hope that i...
C
net/batman-adv/gateway_common.c
heesub/linux
gpl-2.0
7,574
275
codeparrot/github-code
a9562d1fa1e6db05192718f2c3fed85a178b82c63f6d4e6b9a62e39098739350
/* Copyright (c) 2012-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 the...
C
kernel/drivers/video/msm/mdss/dsi_v2.h
danialbehzadi/Nokia-RM-1013-2.0.0.11
gpl-3.0
1,782
60
codeparrot/github-code
9f19063625cdc562f7a5693d0bcea0443c273f7e51253ddcdda22d3440595855
/****************************************************************************** * * Copyright(c) 2009-2010 Realtek Corporation. * * 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 Free Software Foundati...
C
net/compat-wireless/drivers/net/wireless/rtlwifi/rtl8192ce/rf.c
charles1018/android_kernel_bambook_u8500
gpl-2.0
14,502
524
codeparrot/github-code