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
ba1d51ef7d456f56f4b342e77a456e81b3c998deb09267b852e1c2f0e8f67a1a
<?php /** * @package SP Page Builder * @author JoomShaper http://www.joomshaper.com * @copyright Copyright (c) 2010 - 2016 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ //no direct accees defined ('_JEXEC') or die ('restricted aceess'); class SppagebuilderAddonVideo extends S...
PHP
components/com_sppagebuilder/addons/video/site.php
lyrasoft/lyrasoft.github.io
gpl-2.0
3,478
113
codeparrot/github-code
a69226b54e6ee9a2849d15db87eef13e9f0c6b01da80f59ad89b325a51992ad1
/* * Based on arch/arm/kernel/ptrace.c * * By Ross Biro 1/23/92 * edited by Linus Torvalds * ARM modifications Copyright (C) 2000 Russell King * Copyright (C) 2012 ARM Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 ...
C
arch/arm64/kernel/ptrace.c
XePeleato/ALE-L21_ESAL
gpl-2.0
26,115
1,147
codeparrot/github-code
e753d1c4157cfffc4bb1c96e50459ad012cecb43277c23c6459318b5ba4a0090
/* Internal interfaces for the GNU/Linux specific target code for gdbserver. Copyright (C) 2002-2015 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
C
gdb/gdbserver/linux-low.h
optimsoc/gzll-binutils
gpl-2.0
12,970
373
codeparrot/github-code
f4cad16127357896f056af53884db02412c06c844da892c78f71e612e2167313
/* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * * Floating-point emulation code * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.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 * ...
C
arch/parisc/math-emu/sfcmp.c
nslu2/linux-2.4.x
gpl-2.0
4,502
156
codeparrot/github-code
326bd527dda75f501ae9ee912d21a82eef11f3c835fe602a61e780ddf35b111d
/* HeuristicCommitException.java -- Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 ver...
Java
libjava/javax/transaction/HeuristicCommitException.java
unofficial-opensource-apple/gcc_40
gpl-2.0
2,050
58
codeparrot/github-code
6da570ad7b1717623bcbb62e2ad198b2b7d99deeae4454a50fde136bea5ed696
/** Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved. Contact: SYSTAP, LLC 2501 Calvert ST NW #106 Washington, DC 20008 licenses@systap.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 S...
Java
bigdata/src/java/com/bigdata/journal/JournalDelegate.java
rac021/blazegraph_1_5_3_cluster_2_nodes
gpl-2.0
8,494
378
codeparrot/github-code
28ad5803e8f82cba404b294e95aad25a0f19fe7839770ce911bf05499162637d
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2013 - 2015, OpenJK contributors This file is part of the OpenJK source code. OpenJK is ...
C
code/game/g_local.h
welaughindoors/OpenJK
gpl-2.0
21,691
616
codeparrot/github-code
720d05e7ff6ccfd050f668a0d20bb55af78ce683e4d6dc7dfbb06ba2396d45ca
/****************************************************************************** * Warmux is a convivial mass murder game. * Copyright (C) 2001-2010 Warmux Team. * * 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 * th...
C++
old/warmux-10.12/src/game/game_mode.cpp
yeKcim/warmux
gpl-2.0
11,344
371
codeparrot/github-code
259d19bb0ac67eda28005bb6a5066f617aa492778a8dd5b490e67d5a1b9b22bc
/* * Copyright (c) 2007, 2012, 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
maxine/com.oracle.max.vm/src/com/sun/max/vm/type/Kind.java
arodchen/MaxSim
gpl-2.0
37,235
1,035
codeparrot/github-code
d77eb39ef42922a93c4a5379da6bf0fdd2ba7dc626f66f339e8433c951c9b8a9
<div class="wrap"> <div class="postbox-container" style="width:73%;margin-right:2%;"> <h1><?php printf(__("Manage Grading for Quiz '%s'", 'watu'), $quiz->name); ?></h1> <p><a href="admin.php?page=watu_exams"><?php _e('Back to quizzes list', 'watu')?></a> | <a href="admin.php?page=watu_questions&quiz=<?php ec...
PHP
wp-content/plugins/watu/views/grades.html.php
Mashpy/foraminul
gpl-2.0
3,199
68
codeparrot/github-code
4320df3495083984db0c532cb8e8d4c03a97c946b274de9b09eedaaed428c89f
/* * Kernel Panic LED Trigger * * Copyright 2016 Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> * * 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/kernel...
C
drivers/leds/trigger/ledtrig-panic.c
ephox-gcc-plugins/gcc-plugins_linux-next
gpl-2.0
698
31
codeparrot/github-code
ec71e70bcb6edc73759cc2d593d65ebfb57106b0eece787f90f887c414845324
/* * StatusWidget.cpp * * Created by Camden Lopez on 11/10/10 * Copyright © 2010-2011 Oregon State University Robotics Club */ #include "VirtualRover/RobotController.h" #include "Wireless/WirelessPacket.h" #include "StatusWidget.h" #include "Common/AltitudeCalculator.h" #include <QDebug> #include "math.h" Statu...
C++
Software/Interface/GUI/StatusWidget.cpp
OregonStateMarsRover/2011
gpl-2.0
5,173
147
codeparrot/github-code
75bad356f7aa84d44def5c789400357ac4f2aa731e8a8f1e0794d0328fd5c2fb
/* * Copyright (C) 2013 Samsung Electronics. 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 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be u...
C
drivers/sensors/bma255.c
xDARKMATT3Rx/xDARKMATT3Rx_Kernel_BPH1
gpl-2.0
36,700
1,380
codeparrot/github-code
2423346b6fa330e37520c4c8e146e91e5d902335e920357f5952d02a56469923
/* Aseprite * Copyright (C) 2001-2013 David Capello * * 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. * * This ...
C
src/app/modules/gui.h
Nsheppard01/aseprite
gpl-2.0
2,157
75
codeparrot/github-code
96319927e9df3241b49f7c51d0ac1374978eb6e271e76c9ceb0c4658223b6dbc
/*************************************************************************** qgsauthpkipathsedit.h --------------------- begin : September 1, 2015 copyright : (C) 2015 by Boundless Spatial, Inc. USA author : Larry Shaffer email : lshaffer at...
C
src/auth/pkipaths/qgsauthpkipathsedit.h
gioman/QGIS
gpl-2.0
2,192
75
codeparrot/github-code
5e35ae8fdd8a3d07397ea0208b914931ad79e01ffa4fb17b997c4e147c763207
PROJ := 5 EMPTY := SPACE := $(EMPTY) $(EMPTY) SLASH := / V := @ # try to infer the correct GCCPREFX ifndef GCCPREFIX GCCPREFIX := $(shell if i386-ucore-elf-objdump -i 2>&1 | grep '^elf32-i386$$' >/dev/null 2>&1; \ then echo 'i386-ucore-elf-'; \ elif objdump -i 2>&1 | grep 'elf32-i386' >/dev/null 2>&1; \ then...
Makefile
labcodes/lab2/Makefile
petronny/ucore_lab
gpl-2.0
7,303
282
codeparrot/github-code
b045da40d709c1a66982e7e9344d7ed87cc840fcd2690d809ff5ae4394db56e6
/* ============================================================ * * This file is a part of digiKam project * http://www.digikam.org * * Date : 2008-11-28 * Description : PNG image Converter batch tool. * * Copyright (C) 2008-2012 by Gilles Caulier <caulier dot gilles at gmail dot com> * * This program ...
C++
core/utilities/queuemanager/basetools/convert/convert2png.cpp
centic9/digikam-ppa
gpl-2.0
2,740
111
codeparrot/github-code
e0d7bdefe96d2014e184e46a2d0b31d5cf565e62cedb46ea64e8324f514e1405
/* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* * Copyright (c) 2008 Ciaran McCreesh * * This file is part of the Paludis package manager. Paludis 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 Found...
C++
src/clients/cave/cmd_print_id_contents.hh
alip/paludis-alip
gpl-2.0
1,412
45
codeparrot/github-code
45ef381d46bfffdb7787c253b2d28a1abfbb2bae017147070ce4452bb0432394
# -*- coding: utf-8 -*- import logging from operator import methodcaller from typing import List from django.core.exceptions import ObjectDoesNotExist from kobo.django.xmlrpc.decorators import user_passes_test from tcms.issuetracker.models import Issue from tcms.management.models import TCMSEnvValue, TestTag from tc...
Python
src/tcms/xmlrpc/api/testrun.py
Nitrate/Nitrate
gpl-2.0
23,617
692
codeparrot/github-code
2b85aff148fd5a9bb5b44ec1a78058be52da6cadb3c3cc7bb7748462baadd326
/* * AtmoDefs.h: a lot of globals defines for the color computation - most of this file * is an one to one copy of "defs.h" from Atmo VDR Plugin * * See the README.txt file for copyright information and how to reach the author(s). * * $Id$ */ #ifndef _AtmoDefs_h_ #define _AtmoDefs_h_ #if defined(__LIBVLC__) ...
C
modules/video_filter/atmo/AtmoDefs.h
MessiahAndrw/Stereoscopic-VLC
gpl-2.0
6,132
242
codeparrot/github-code
96550027b269098cab3ad1ea4a4efc6fa2b9336b36d76924ed7fd61bd974e487
<?php /** * @file * Stub file for "page" theme hook [pre]process functions. */ /** * Pre-processes variables for the "page" theme hook. * * See template for list of available variables. * * @see page.tpl.php * * @ingroup theme_preprocess */ function bootstrap_preprocess_page(&$variables) { // Add informat...
PHP
sites/all/themes/bootstrap/templates/system/page.vars.php
vhinrich/vhinandrich2
gpl-2.0
2,882
104
codeparrot/github-code
5f31320d218ce21c18e4c0243e69b82d7b214f03b783fe8db9d724b13c3fa9df
package main; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JLabel; import javax.swing.JTextArea; import javax.swing.JScrollPane; import javax.swing.JButton; import javax.swing.JPasswordField; i...
Java
src/main/main.java
mannyrivera2010/encryption-bit
gpl-2.0
2,660
96
codeparrot/github-code
b8b0830ea6167a9b47f86b16672a97c7bc2541cab18a3a68bf086c4917a48f57
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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. * * This program is d...
C
blender/source/blender/python/intern/bpy_utils_units.c
pawkoz/dyplom
gpl-2.0
10,543
336
codeparrot/github-code
628c087513a9edad4a480cb0337de955a6fa31b71e0b2a6cc44b7df5ef99d586
/* * winsftp.c: the Windows-specific parts of PSFTP and PSCP. */ #include <winsock2.h> /* need to put this first, for winelib builds */ #include <assert.h> #define NEED_DECLARATION_OF_SELECT #include "putty.h" #include "psftp.h" #include "ssh.h" #include "int64.h" #include "winsecur.h" char *get_ttymode(void *fro...
C
src/putty/windows/winsftp.c
madnight/filezilla
gpl-2.0
17,741
832
codeparrot/github-code
b69e6a879b1a363aa36991696a83cd5970222d8294f066287beda28b1d110ece
package com.nightscout.android.settings; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.os.Bundle; import android.preference.EditTextPreference; import android.preference.ListPreference; import android.preference.MultiSelectListPrefer...
Java
src/com/nightscout/android/settings/SettingsFragment.java
sulkaharo/MedtronicUploader
gpl-2.0
6,963
157
codeparrot/github-code
6186aeb40b6e85f2653f2773ea42c6bf6c44ab442b54447afa0f837cf0c9497c
/* * Copyright (c) 2008 Intel Corporation * Author: Matthew Wilcox <willy@linux.intel.com> * * Distributed under the terms of the GNU GPL, version 2 * * Please see kernel/semaphore.c for documentation of these functions */ #ifndef __LINUX_SEMAPHORE_H #define __LINUX_SEMAPHORE_H #include <linux/list.h> #include ...
C
include/linux/semaphore.h
PyYoshi/ponyo_kernel
gpl-2.0
1,567
53
codeparrot/github-code
8231bd921fd818e7f3fe02d3511862c0e16da8c9d60b60dc696318670ce44331
# # Copyright 2013 Red Hat, Inc. # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # 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...
Python
virtconv/parsers/virtimage.py
giuseppe/virt-manager
gpl-2.0
8,776
321
codeparrot/github-code
df8b8c6bd7e2ae646a22cf8aba78648f74da7c4d5dcf508e78dcd79486d8e36a
/* * linux/arch/i386/kernel/signal.c * * Copyright (C) 1991, 1992 Linus Torvalds * * 1997-11-28 Modified for POSIX.1b signals by Richard Henderson * 2000-06-20 Pentium III FXSR, SSE support by Gareth Hughes */ #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/smp_lock....
C
arch/i386/kernel/signal.c
dduval/kernel-rhel5
gpl-2.0
17,148
647
codeparrot/github-code
8de5a2b0159e1312e8e65b8a00ca6029acefb66461064e6bc298ab5f432e2f7c
# -*- coding: utf-8 -*- # # This file is part of Zenodo. # Copyright (C) 2016 CERN. # # Zenodo 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 v...
Python
zenodo/modules/records/serializers/schemas/json.py
slint/zenodo
gpl-2.0
8,136
279
codeparrot/github-code
2eb7ecb5b3c36fddb572a696351fd5f32253442550ace23bbd61e061f85b9892
/* * Driver core for Samsung SoC onboard UARTs. * * Ben Dooks, Copyright (c) 2003-2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * * 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 ...
C
drivers/tty/serial/samsung.c
cm-3470/android_kernel_samsung_gardalte
gpl-2.0
58,308
2,275
codeparrot/github-code
421db1deeb414831ae04a89c08507303c8cbb5e1ac49d1ab54581095d4d8b3b3
/* Kopete Oscar Protocol userinfotask.h - Handle sending and receiving info requests for users Copyright (c) 2004-2005 Matt Rogers <mattr@kde.org> Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org> ************************************************************************* * ...
C++
kopete/protocols/oscar/liboscar/userinfotask.cpp
iegor/kdenetwork
gpl-2.0
4,317
157
codeparrot/github-code
db1de0825542f2e4d078b38e2d395cf2e593236b71302e4f1b1b5286e222951e
#ifndef BSWAP_H #define BSWAP_H #include "config-host.h" #include <inttypes.h> #include "fpu/softfloat.h" #ifdef CONFIG_MACHINE_BSWAP_H # include <sys/endian.h> # include <sys/types.h> # include <machine/bswap.h> #elif defined(CONFIG_BYTESWAP_H) # include <byteswap.h> static inline uint16_t bswap16(uint16_t x) { ...
C
include/qemu/bswap.h
nvgreensocs/qemu-arm-mmio
gpl-2.0
8,805
470
codeparrot/github-code
fa77a6401c8f69076c874ecd0734129fa320f6890ae2140cbedd162eb60c8a31
<?php /******************************/ /**** Side Tab Functions ****/ /******************************/ add_action( 'shoestrap_after_wrap', 'ac_sidetab_render' ); // Render the sidetab html function ac_sidetab_render() { $active = shoestrap_getVariable( 'side_tab_active' ); if ($active) { $text = shoestrap_getV...
PHP
wp-content/themes/saint/lib/modules/core.side-tab/functions.side-tab.php
rebloon/streambase.dev
gpl-2.0
949
32
codeparrot/github-code
f4062ddd844ca1b8b48a0653e71de3350e96dcf0eafca95cda947f04b6e3e852
/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. * Copyright (C) 2016 XiaoMi, 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 and * only version 2 as published by the Free Software Foundation. * *...
C
drivers/media/platform/msm/camera_v2/sensor/msm_sensor_driver.c
DreamStar001/Vegito_vibe_k5
gpl-2.0
38,469
1,404
codeparrot/github-code
64722f42a94c466112b6b06438421ba792a114d6f2b1f96cab63599bdb8eb1a3
import logging from django.core.management.base import BaseCommand from payment.postfinance_connector import ISO2022Parser log = logging.getLogger('tq') class Command(BaseCommand): help = '(re)parse ISO 20022 files, ignoring duplicates' def add_arguments(self, parser): parser.add_argument( ...
Python
payment/management/commands/parse_iso_20022_files.py
gitsimon/tq_website
gpl-2.0
967
34
codeparrot/github-code
2d3073578053d0f305cd23d92ab414d0cc1d73b4794406d59923bd5326a07464
<?php $options = get_option('greenchilli'); /*------------[ Meta ]-------------*/ if ( ! function_exists( 'mts_meta' ) ) { function mts_meta() { global $options ?> <?php if ($options['mts_favicon'] != '') { ?> <link rel="icon" href="<?php echo $options['mts_favicon']; ?>" type="image/x-icon" /> <?php } ?> <!--iOS/...
PHP
wp-content/themes/greenchilli/functions/theme-actions.php
frank0000/fc-wp-heroku
gpl-2.0
4,242
102
codeparrot/github-code
a6674fe483aabda8e229272d5d71de1f1691aa279eb563f87f9bb31131839ab4
/*--------------------------------------------------------------------*/ /*--- Process-related libc stuff. m_libcproc.c ---*/ /*--------------------------------------------------------------------*/ /* This file is part of Valgrind, a dynamic binary instrumentation framework. Copyright ...
C
external/valgrind/main/coregrind/m_libcproc.c
rex-xxx/mt6572_x201
gpl-2.0
21,785
748
codeparrot/github-code
822306257337028dfbd298c6fcfee2a70d136e009ccdc51065e91c2866bc7ee8
/* * libzvbi -- FreeBSD/OpenBSD bktr driver interface * * Copyright (C) 2002 Michael H. Schimek * * 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 ...
C
src/io-bktr.c
mwgoldsmith/zvbi
gpl-2.0
8,947
404
codeparrot/github-code
d8419e022d07151d4096686e2c26615dbc0f4adf17561807fddf456596a94274
/* ************************************************************************* * Ralink Tech Inc. * 5F., No.36, Taiyuan St., Jhubei City, * Hsinchu County 302, * Taiwan, R.O.C. * * (c) Copyright 2002-2010, Ralink Technology, Inc. * * This program is free software; you can redistribute it and/or modify * * it u...
C
drivers/net/wireless/rt5572/common/ps.c
uplusplus/ls300_smdkc110
gpl-2.0
13,768
452
codeparrot/github-code
084523a0fa4362b6a93a095afb3dc010736e05628b543f44c381fc050f39ad84
/* Copyright 2013 David Axmark Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
Java
runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/pim/PIMField.java
tybor/MoSync
gpl-2.0
12,737
527
codeparrot/github-code
dc9db85d20aa7e3c5c8999a8faa7638caa75dc154598198a27399f003e652877
/* Copyright (C) 2001-2003 KSVG Team This file is part of the KDE project 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 ...
C++
ksvg/impl/SVGPathSegLinetoHorizontalImpl.cc
iegor/kdegraphics
gpl-2.0
3,975
168
codeparrot/github-code
cf77c7f2a6953594c1f2e1485cd09cb7c3c9c7d71405bf9841841e62b408e2a4
/***************************************************************************** * * \file * * \brief 32-bit partial convolution function optimized for the AVR32 UC3 * * This file contains the code of the partial convolution. * * Copyright (c) 2009 Atmel Corporation. All rights reserved. * * \asf_license_start ...
C
xdk-asf-3.17.0/avr32/services/dsp/dsplib/at32uc/basic/vectors/vect_dsp32_convpart_at32uc.c
ngwese/mod
gpl-2.0
11,798
347
codeparrot/github-code
e0213129865ba6a35cb8a13a8371289dd74cbdf0dba413be6928cc383ffcfe78
{% extends "layout.html" %} {% block title %} {{title}} {% endblock %} {% block display_ %} {{display}} {% endblock %} {% block display_1 %} {{display1}} {% endblock %} {% block extra %} {{extra}} {% endblock %} {% block content %} <script> document.getElementById("uploadBtn").onchange = function () { document.ge...
HTML
app/templates/quick.html
Logic-gate/Simple-Inventory
gpl-2.0
1,927
83
codeparrot/github-code
5d2f78e94100eb7ac1cedcb701dc907a1e8f81b4140de59bf24a29fc67bcf6e8
/* Masquerade. Simple mapping which alters range to a local IP address (depending on route). */ /* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
C
net/ipv4/netfilter/ipt_MASQUERADE.c
RomzesRover/liquid-chocolate-beta4
gpl-2.0
4,749
184
codeparrot/github-code
63ac830a3e9aaece1308680f614df534d04d4e52748f7038cd474f2c5c1d219f
/* Copyright (C) 2007-2008 The Android Open Source Project ** ** 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 i...
C
android/skin/window.c
xuanhoa9985/EMULATOR
gpl-2.0
51,475
1,779
codeparrot/github-code
849f9039bdb9147c82edbd72cde2d874aded6df6a0b00cd8ba31bfd58217f82b
/* * error.c -- Error handling routines * * Copyright (C) 2010-2012, Computing Systems Laboratory (CSLab) * Copyright (C) 2010-2012, Vasileios Karakasis */ #include <errno.h> #include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include "error.h" #define ERRMSG_LEN 4096 char *pr...
C
ex2/error.c
VHarisop/Parallel
gpl-2.0
1,662
83
codeparrot/github-code
d24d22a8e199d9b400d66e71a7681ab3ae59363f6abcd232ed96cceb21d3a25e
/* * 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")...
Java
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/jdktools/modules/jdktools/src/main/java/org/apache/harmony/tools/javap/Clazz.java
skyHALud/codenameone
gpl-2.0
34,216
919
codeparrot/github-code
e517e891f49fb0dd91e14b94ac57274a6edf2ed6cdee3c8ef4b56bd27afaeb23
<?php /** * @package EasySocial * @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * EasySocial is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is...
PHP
media/com_easysocial/apps/user/notes/hooks/notification.comments.php
BetterBetterBetter/WheresWalden
gpl-2.0
3,278
101
codeparrot/github-code
380aba810e80471770319bdb5e3f61358b9d8a1929c8be6895ea3812ca316806
/* Copyright_License { Top Hat Soaring Glide Computer - http://www.tophatsoaring.org/ Copyright (C) 2000-2016 The Top Hat Soaring Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GN...
C++
src/Dialogs/Airspace/dlgAirspacePatterns.cpp
rdunning0823/tophat
gpl-2.0
2,235
72
codeparrot/github-code
2317c42fbf4575d71c67dc772499c26dc929363ff0534dd99f2f858cb0e38b4f
/* * Copyright (C) 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 * notice, this list of condi...
C
modules/web/src/main/native/Source/JavaScriptCore/jit/JITWriteBarrier.h
166MMX/openjdk.java.net-openjfx-8u40-rt
gpl-2.0
4,583
148
codeparrot/github-code
3e83798ad95d090ee32c9adeb6c9b3a4781a9295cfa25c1ef48090f4d5fcf913
// PART OF THE MACHINE SIMULATION. DO NOT CHANGE. package nachos.machine; import nachos.security.*; import java.io.EOFException; import java.util.Arrays; /** * A <tt>CoffSection</tt> manages a single section within a COFF executable. */ public class CoffSection { /** * Allocate a new COFF section with th...
Java
nachos/machine/CoffSection.java
VictoriaLacroix/operating-system
gpl-2.0
6,104
225
codeparrot/github-code
bf160fe5b5e03d10b032076a80e08d1dd58e49c830ea95317c4dec391345b4d1
package io.ph.bot.commands.fun; import io.ph.bot.commands.Command; import io.ph.bot.commands.CommandCategory; import io.ph.bot.commands.CommandData; import io.ph.bot.model.Permission; import io.ph.util.Util; import net.dv8tion.jda.core.entities.Message; /** * Make the bot say something * @author Paul *...
Java
src/io/ph/bot/commands/fun/Say.java
paul-io/momo-discord
gpl-2.0
781
32
codeparrot/github-code
5e32644c0407d1b882f9a86cf65ce78b14ee7172b63c3a2348a8acedab69525c
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/bladerunner/scene.cpp
bSr43/scummvm
gpl-2.0
9,709
359
codeparrot/github-code
2ec1d28c7fa01be51a6ad0270f316a2528fa8aa0667625efd58d778cf4cd6b55
from __future__ import division from __future__ import print_function from __future__ import absolute_import from __future__ import unicode_literals import os import xml.etree.ElementTree from xml.etree.cElementTree import ElementTree, Element, SubElement from xml.etree.cElementTree import fromstring, tostring import ...
Python
launcher/fs_uae_launcher/editor/XMLControl.py
cnvogelg/fs-uae-gles
gpl-2.0
2,828
96
codeparrot/github-code
5746ac7329cc089f6892de566a6c9a0a3315e072723614f4ff3308f34ba8e253
/* * linux/init/version.c * * Copyright (C) 1992 Theodore Ts'o * * May be freely distributed as part of Linux. */ #include <linux/compile.h> #include <linux/module.h> #include <linux/uts.h> #include <linux/utsname.h> #include <linux/utsrelease.h> #include <linux/version.h> #ifndef CONFIG_KALLSYMS #define ve...
C
init/version.c
drhonk/Bali_SK4G
gpl-2.0
1,107
48
codeparrot/github-code
941b1b531f5ee39f3830abb109f9a40a1eb9a23607c31f38040265335e8d71de
<html lang="en"> <head> <title>Output Section LMA - Untitled</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Untitled"> <meta name="generator" content="makeinfo 4.8"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Output-Section-Attributes.html#O...
HTML
toolchain/deprecated/arm_cm0_4.9/share/doc/gcc-arm-none-eabi/html/ld.html/Output-Section-LMA.html
jocelynmass/nrf51
gpl-2.0
6,035
124
codeparrot/github-code
b51b276c3b1ca1e53132cc12a1cc321adab4eacd4588d5ae65ecdb3879901fda
/* Copyright (C) 2007 Kai Sterker <kaisterker@linuxgames.com> Part of the Adonthell Project http://adonthell.linuxgames.com Adonthell 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 ...
C++
src/world/placeable_shape.cc
dreamsxin/adonthell
gpl-2.0
6,131
213
codeparrot/github-code
c7333222dfb1f6a428e8e307113c303dd83b02818592e47171db457b2ea22154
/////////////////////////////////////////////////////////////////////////////// // modep.C: project velocity data in a nominated Fourier mode onto a // spatial mode shape supplied in a file, return scalar value of integral. // // Copyright (c) 1999 <--> $Date: 2015/04/20 11:14:19 $, Hugh Blackburn // // USAGE // ----- ...
C++
utility/modep.cpp
hellabyte/semtex
gpl-2.0
9,339
284
codeparrot/github-code
1fe3a840d2963b7127e763d5681dc1853f60f8e86fe3b82b177f9210f768c0c9
<?php /** * Login Controller */ defined('BASEPATH') OR exit('No direct script access allowed'); class Login extends MY_Controller { function __construct() { parent::__construct(); $this->layout_view = "layout"; $this->data['title'] = "Stepmania Leaderboards"; $this->data['subtitle']...
PHP
application/controllers/Login.php
samoldenburg/SMLR2
gpl-2.0
1,412
47
codeparrot/github-code
ae4f8379b017445ab09aa3b8ad30a73d4fce1b6c7dfa13eb04b4662767555c78
#!/usr/bin/python from ABE_ADCDACPi import ADCDACPi import time import math """ ================================================ ABElectronics ADCDAC Pi 2-Channel ADC, 2-Channel DAC | DAC sine wave generator demo Version 1.0 Created 17/05/2014 Version 1.1 16/11/2014 updated code and functions to PEP8 format run with...
Python
ADCDACPi/demo-dacsinewave.py
moeskerv/ABElectronics_Python_Libraries
gpl-2.0
3,862
91
codeparrot/github-code
f1564f9aa0786aa0063f446e2612f099081a67389cb537a30ef19f26c6755072
# Redmine - project management software # Copyright (C) 2006-2011 Jean-Philippe Lang # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your optio...
Ruby
lib/redmine/syntax_highlighting.rb
veritazx/escience
gpl-2.0
1,986
57
codeparrot/github-code
251879d0918ef6b4b7036a2c0e7e9d444b62f133ac10bbca4bafff16d5b70909
/* https://github.com/crhallberg/autocomplete.js 0.16.3 */ (function autocomplete( $ ) { var cache = {}, element = false, options = { // default options ajaxDelay: 200, cache: true, hidingClass: 'hidden', highlight: true, loadingString: 'Loading...', maxResults: 20, m...
JavaScript
themes/bootstrap3/js/lib/autocomplete.js
CARLI/vufind
gpl-2.0
8,954
307
codeparrot/github-code
fb3fe5031ebc26477a1cabbabc4614ffd6fb168d8d09234f761e470a8e0fa366
/* * LispStackFrame.java * * Copyright (C) 2009 Mark Evenson * $Id: LispStackFrame.java 14572 2013-08-10 08:24:46Z mevenson $ * * 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 ver...
Java
TheRealDiffernce/lisp/LispStackFrame.java
logicmoo/jrelisp-abcl-ws
gpl-2.0
4,960
167
codeparrot/github-code
0b550303bad7ae15f434f0646763d6eeddafa434db39170b98bded57a22e74c6
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
PHP
library/Zend/Translate/Adapter.php
SpamExperts/plesk-windows-addon
gpl-2.0
34,163
983
codeparrot/github-code
0fdd384623d334b65e64015616d027488ef77953dfdcb97273692d94443eb4ae
/* * Copyright (c) 2008, 2018, 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
compiler/src/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/bytecode/BC_dcmp06.java
smarr/Truffle
gpl-2.0
1,725
55
codeparrot/github-code
1cb2d4507646796b5b5f622bc040f7e1b924a2ad62d42700d024424285dfd67d
<?php // Project: Web Reference Database (refbase) <http://www.refbase.net> // Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's // original author(s). // // This code is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY. Ple...
PHP
sitemap.php
mr-king/refbase
gpl-2.0
4,228
100
codeparrot/github-code
6ce56d21a53fa41b3bc3a574dce1e547e76eb6b9a4151a4d3123d1f84db4f748
/* * Copyright 2002-2006, project beam (http://sourceforge.net/projects/beam). * All rights reserved. Distributed under the terms of the GNU GPL v2. * * Authors: * Oliver Tappe <beam@hirschkaefer.de> */ #ifdef __HAIKU__ # include <ControlLook.h> #endif #include <MenuBar.h> #include <MenuField.h> #include <PopUp...
C++
src-bmGuiBase/BmTextControl.cpp
olta/beam
gpl-2.0
6,846
211
codeparrot/github-code
fb9289ba644a5b0296f0abf67803261d3960b67a274ab5ca1729f165fdf53851
/* $Id$ */ /* * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.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 your option) any late...
C
pjsip/src/pjsip/sip_transport_tls.c
xiejianying/pjsip
gpl-2.0
53,365
1,821
codeparrot/github-code
518063bccecea2e156a2bde4b24080422f2d6baf494050f39ad1bb4f8edc8b1d
/* time.h written by Marc Singer 26 Aug 2008 Copyright (C) 2008 Marc Singer ----------- DESCRIPTION ----------- */ #if !defined (__TIME_H__) # define __TIME_H__ /* ----- Includes */ #include <linux/types.h> /* ----- Types */ //typedef signed long time_t; struct tm { int tm_sec; ...
C
include/simple-time.h
beewoolie/apex
gpl-2.0
1,140
48
codeparrot/github-code
d5f7496d90ad4decbb81c5967b5d0fa111e6bea10d4caa261fb6022876a3b5a5
/* * Copyright 2001-2005 Sun Microsystems, 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 Fou...
Java
openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java
TheTypoMaster/Scaper
gpl-2.0
2,719
76
codeparrot/github-code
8ff32a59780f929ebe92cdacee876fb4e4bbdc6260a64ff34933a8eb4237049d
/* * Copyright (C) 2010-2013 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
drivers/gpu/arm/mali/common/mali_mmu.c
cottsay/linux
gpl-2.0
16,034
432
codeparrot/github-code
f79ccb9f0c150c5887dbce180edf20a216f7589694116b11a5da87c155ed9460
/* * * Copyright (C) 2006-2011 Anders Brander <anders@brander.dk>, * * Anders Kvist <akv@lnxbx.dk> and Klaus Post <klauspost@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; e...
C
src/gtk-interface.h
rawstudio/rawstudio
gpl-2.0
2,319
53
codeparrot/github-code
958120898e04e9ca5a4481d6fad16b35b0d975fa0875a8a2cab450d03fa00f87
/* * group_box.h - LMMS-groupbox * * Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net> * * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
C
include/group_box.h
psyomn/lmms
gpl-2.0
1,666
77
codeparrot/github-code
6b5dd7a9a3274f126eff913e633f578cc31fbb4789d8b45fad33aa9aa5dda30a
/* * rarp This file contains an implementation of the command * that maintains the kernel's RARP cache. It is derived * from Fred N. van Kempen's arp command. * * Version: $Id$ * * Usage: rarp -d hostname Delete entry * rarp -s hos...
C
user/net-tools/rarp.c
ipwndev/DSLinux-Mirror
gpl-2.0
7,621
313
codeparrot/github-code
39ad7c8f947eaca298b38fea69a8cbdc1913c07fcc6e96841571e02af36015c8
var http = require('http'); var querystring = require('querystring'); var multipart = require('multipart'); function writeResponse(res, data) { var total = 0; for (fruit in data) { total += Number(data[fruit]); } res.writeHead(200, "OK", { "Content-Type": "text/html", "Access-Control-Allow-Origin": "http://l...
JavaScript
ch33 - ajax/13 - xml.js
JedrzMar/avr
gpl-2.0
2,428
82
codeparrot/github-code
e81faa8af42d1c44810ff064b2a05fa739488cd62c6870e03e44cd6a137c620e
using System; using System.Collections.Generic; using Android.Runtime; namespace Com.Baidu.Mapapi.Search.Geocode { // Metadata.xml XPath class reference: path="/api/package[@name='com.baidu.mapapi.search.geocode']/class[@name='ReverseGeoCodeResult']" [global::Android.Runtime.Register ("com/baidu/mapapi/search/geoco...
C#
BaiduMapApiBindingLibrary/obj/Release/generated/src/Com.Baidu.Mapapi.Search.Geocode.ReverseGeoCodeResult.cs
lq-ever/EldYoungAndroidApp
gpl-2.0
16,434
366
codeparrot/github-code
3329a217d0f86f903d2ae4ab75537a0b732f30085f7e8b4009e86252023fe17a
/* 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. This program is distributed in the hope that it will be usefu...
C++
src/utils/stream.hpp
speidy/redemption
gpl-2.0
54,282
1,688
codeparrot/github-code
a1ef98b20ac0ec7533e47a15f6786bd3de68d9fd81c72ec35067869c283d59ae
/*************************************************************************** qgsrasteriterator.cpp --------------------- begin : July 2012 copyright : (C) 2012 by Marco Hugentobler email : marco dot hugentobler at sourcepole dot ch **************************...
C++
src/core/raster/qgsrasteriterator.cpp
gioman/QGIS
gpl-2.0
4,906
142
codeparrot/github-code
c10f1954b9e67f06ca55b2f6002d84b35c189730daae37e8fdd609f05e208448
/* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* * Copyright (c) 2009, 2010 Ciaran McCreesh * * This file is part of the Paludis package manager. Paludis 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...
C++
paludis/standard_output_manager.cc
alip/paludis-alip
gpl-2.0
2,054
90
codeparrot/github-code
e33d0443c166fd1f833ade8caa6d0ac17c1421848cbe095e90eea28c87aa833f
/** * Overscroll v1.6.3 * A jQuery Plugin that emulates the iPhone scrolling experience in a browser. * http://azoffdesign.com/overscroll * * Intended for use with the latest jQuery * http://code.jquery.com/jquery-latest.js * * Copyright 2012, Jonathan Azoff * Dual licensed under the MIT or GPL Version 2 li...
JavaScript
works/lincoln/themes/default/js/lib/jquery.overscroll.js
JoelPub/wordpress-amazon
gpl-2.0
24,796
730
codeparrot/github-code
a7f1cb81148fc4d8883e12961091ce587bcc0e349fdc3175409ec7fad9b66e72
#=============================================================================== # # Sanity.py # # This file is part of ANNarchy. # # Copyright (C) 2013-2016 Julien Vitay <julien.vitay@gmail.com>, # Helge Uelo Dinkelbach <helge.dinkelbach@gmail.com> # # This program is free software: you can redist...
Python
ANNarchy/generator/Sanity.py
vitay/ANNarchy
gpl-2.0
13,045
282
codeparrot/github-code
500d48c47a052071d2e125df5c61f22cd07a67948150677878ea1cc89c8a5930
/* * Freescale i.MX Frame Buffer device driver * * Copyright (C) 2004 Sascha Hauer, Pengutronix * Based on acornfb.c Copyright (C) Russell King. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * more de...
C
drivers/video/imxfb.c
gao-feng/net
gpl-2.0
23,613
985
codeparrot/github-code
ad7f589cdc55ae45f9387ec0436e80b9e18e7bd258fc927120c638c7f869be86
/* * This file is part of "SnipSnap Radeox Rendering Engine". * * Copyright (c) 2002 Stephan J. Schmidt, Matthias L. Jugel * All Rights Reserved. * * Please visit http://radeox.org/ for updates and contact. * * --LICENSE NOTICE-- * This library is free software; you can redistribute it and/or * modify it unde...
Java
src/org/snipsnap/test/render/macro/list/ExampleListFormatterTest.java
thinkberg/snipsnap
gpl-2.0
2,383
75
codeparrot/github-code
d3d47ad4113e06b6b52ef24414de2050d84adb00069b44a30f01606830cf1360
/* * Copyright (C) 2001-2004 by David Brownell * * 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. * * This progra...
C
drivers/usb/host/ehci-hub.c
nullie/ardrone-kernel
gpl-2.0
24,560
909
codeparrot/github-code
66f7e89677bc4fbf54c2f8dced5299ea0bab4e40e58840073a386a760d16509b
/* * Copyright (c) 2015 Cedric Hnyda <chnyda@suse.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 your option) any later version. * * Thi...
C
testcases/kernel/input/input06.c
liuwaylong/ltp
gpl-2.0
5,386
252
codeparrot/github-code
90ae27e71747dd21687def5cd8c0eefbe4a41674b8073c8110ec2284da0606f3
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJADHUSSIEN (@TH3_Evil) ▀▄ ▄▀ ▀▄ ▄ JUST WRITED BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ ban hammer : الطرد والحظر ▀▄ ▄▀ ...
Lua
plugins/banhammer.lua
blackops97/KING_TELE
gpl-2.0
13,087
359
codeparrot/github-code
8948eda7e64215f40254e1b897926623ee21830fa573b5a9586375992ec159c5
<?php /** * Contain things * @todo document * @package MediaWiki * @subpackage Parser */ /** */ define('DF_ALL', -1); define('DF_NONE', 0); define('DF_MDY', 1); define('DF_DMY', 2); define('DF_YMD', 3); define('DF_ISO1', 4); define('DF_LASTPREF', 4); define('DF_ISO2', 5); define('DF_YDM', 6); define('DF_DM', 7); ...
PHP
includes/DateFormatter.php
Devanshg/Mediawiki
gpl-2.0
7,249
289
codeparrot/github-code
5b2b230277557e9d1b178dd301371bc845bcfc0541c1455f119b8919030a40b5
// #ifndef jquery /* * Sizzle CSS Selector Engine * Copyright, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])...
JavaScript
ezpublish_legacy/extension/ezoe/design/standard/javascript/classes/dom/Sizzle.js
alafon/ezpublish-community-built
gpl-2.0
57,974
1,450
codeparrot/github-code
c984b092443efd494cf7b2ce3f4a9967e92660eef080112225ce4780bb736ee8
#!/usr/bin/env python """ Script to fetch test status info from sqlit data base. Before use this script, avocado We must be lanuch with '--journal' option. """ import os import sys import sqlite3 import argparse from avocado.core import data_dir from dateutil import parser as dateparser def colour_result(result): ...
Python
scripts/scan_results.py
CongLi/avocado-vt
gpl-2.0
4,423
130
codeparrot/github-code
b31237975c3e73b3ec7c2285acac591838dd9e17b4ab185e922f6520b9043f0a
/** * CHANFIXCommand.cc * * 01/01/2004 - Reed Loden <reed@reedloden.com> * Initial Version * * Manually fix a channel * * 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...
C++
mod.openchanfix/CHANFIXCommand.cc
Seven-7/gnuworld-enhanced
gpl-2.0
7,984
227
codeparrot/github-code
0da70cb8c2dbf95868d35cecb503eacd81b30d36edc643b040aee1d90d2c286e
/* * Wi-Fi Direct - P2P group operations * Copyright (c) 2009-2010, Atheros Communications * * 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. * * Alternatively, this software ma...
C
src/p2p/p2p_group.c
kelvincheung/lw_hostap
gpl-2.0
14,862
642
codeparrot/github-code
a4bb410e4bbb6006de2a25e6d6741139b51c5addf97c94fa2c08f304d8902365
/** @file mlan_11n.c * * @brief This file contains functions for 11n handling. * * Copyright (C) 2008-2010, Marvell International Ltd. * All Rights Reserved */ /******************************************************** Change log: 11/10/2008: initial version ***********************************************...
C
drivers/net/wireless/w8787/wlan_src/mlan/mlan_11n.c
uplusplus/ls300_smdkc110
gpl-2.0
49,979
1,523
codeparrot/github-code
e0c2cb69c70c016306d929176d9da55fa2b43e979c3d261b6c7a4c31d1b7cb49
'use strict'; module.exports = function (grunt) { // Time how long tasks take. Can help when optimizing build times require('time-grunt')(grunt); // Automatically load required grunt tasks require('jit-grunt')(grunt, { lockfile: 'grunt-lock' }); // Configurable paths var config = ...
JavaScript
Gruntfile.js
wizhippo/TagsBundle
gpl-2.0
2,579
97
codeparrot/github-code
9a37b856843b5cc95e9d772bbcf11456317f917b2dd25f22aff7a1829752c1c2
/* repdoc.c -- Program to strip doc-strings from C source Copyright (C) 1993, 1994 John Harper <john@dcs.warwick.ac.uk> $Id$ This file is part of Jade. Jade is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software ...
C
src/repdoc.c
OpenInkpot-archive/iplinux-librep
gpl-2.0
2,378
112
codeparrot/github-code
29fcf5a1d0626ac79abae7807df4bd36441b999654c4f333f1d6197483ea62f5
# Vend::Payment::BusinessOnlinePayment # Interchange wrapper for Business::OnlinePayment modules # # $Id: BusinessOnlinePayment.pm,v 1.2 2009-03-22 13:06:02 mheins Exp $ # # Copyright (C) 2004 Ivan Kohler. All rights reserved. # # This program is free software; you can redistribute it and/or modify it # under the same...
Perl
lib/Vend/Payment/BusinessOnlinePayment.pm
jdigory/interchange
gpl-2.0
10,566
368
codeparrot/github-code
5bf951cb9807a6452b317946925358f4e2b3e5834ac5d70c971bf6c96a43218e
// Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE) // // This file is part of Olena. // // Olena 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. // // Olena is d...
C++
scribo/demo/viewer/preferences_dialog.hh
codingforfun/Olena-Mirror
gpl-2.0
1,318
46
codeparrot/github-code
f3bc6fe6db491de156890e3cbf963e345816866cd138e524b67043f18d13970b
using System; using System.Collections.Generic; using System.Data; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; namespace Lfc.Comprobantes.Compra { public class Crear : Lui.Forms.DialogForm { public string TipoComprob = "FP"; #region Código generado por el Diseñador de Windows For...
C#
Lfc/Comprobantes/Compra/Crear.cs
lazarogestion/lazaro
gpl-2.0
11,790
253
codeparrot/github-code
ad0d636f579aea5665d3bdd29761c62a2a837578730c6975cca532d7f0436814
#include <errno.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "i2cbusses.h" #include "util.h" #include "i2c-dev.h" //I2C_SMBUS* Enums #include "i2c_set.h" #include <fcntl.h> #include <sys/ioctl.h> static int check_funcs(int file, int size, int pec) { unsigned long funcs; ...
C
Programmi_di_altri/1-C#-mono/Librerie/pi_sensors-master/Info/LinuxInterface/i2c_set.c
gamondue/GOR5F
gpl-2.0
3,556
160
codeparrot/github-code
a2a637cd14e376cb0d55f5f76378711a91f8cb267fde46c8b56ce33563dce2d8
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
persianmaterialdatetimepicker/src/main/java/com/mohamadamin/persianmaterialdatetimepicker/AccessibleLinearLayout.java
DigitalLabApp/Gramy
gpl-2.0
1,604
47
codeparrot/github-code
399e76490f08fe9860a5b750248c9ea2bc572556eea94e1bcaa62f5fca1c4f74
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC0...
C++
src/pair_lj_cubic.cpp
quang-ha/lammps
gpl-2.0
10,749
353
codeparrot/github-code