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
fc88ef3df66df9ffd108a99230c54093734379da9a3e93a9b629a3f3581a310b
/* * ======== imports ======== */ /* * ======== forward declarations for intrinsics ======== */ void localhost_Lifecycle_pollen__reset__E(); void localhost_Lifecycle_pollen__ready__E(); void localhost_Lifecycle_pollen__shutdown__E(uint8 i); /* * ======== extern definition ======== */ extern struct pollen_pa...
C
test90_out/pollen.parts/Led2/Led2.h
amaret/pollen.test
gpl-2.0
1,030
53
codeparrot/github-code
814a4b0216a903d50ce8d4313b2228bbf76a50b5da44c58d6f99e8a689520177
// // This file is part of the CAMGEN library. // Copyright (C) 2013 Gijs van den Oord. // CAMGEN is licensed under the GNU GPL, version 2, // see COPYING for details. // #ifndef CAMGEN_FF_CONTR_HELPER_H_ #define CAMGEN_FF_CONTR_HELPER_H_ #include <Camgen/eval.h> #include <Camgen/group.h> /* * * * * * * * * * * * * ...
C
include/Camgen/ff_contr_helper.h
goord/Camgen
gpl-2.0
4,787
161
codeparrot/github-code
22e03b6be4c27dbc4d98a1515618cc40f606b0be4b9060b16646e4fc5609cbcc
package ca.ubc.cs.beta.aeatk.targetalgorithmevaluator.base.cli.algorithmrunner; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map.Entry; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentHashMap; import ...
Java
smac/src/aeatk/ca/ubc/cs/beta/aeatk/targetalgorithmevaluator/base/cli/algorithmrunner/ConcurrentAlgorithmRunner.java
fredizzimo/keyboardlayout
gpl-2.0
9,977
315
codeparrot/github-code
80c6b878d9ee188d0496126a8dd7e98a3f42ed96e4b37ae641dda63481438b14
/* packet-card_app_toolkit * Routines for packet dissection of * ETSI TS 102 223 v10.0.0 (Release 10 / 2010-10) * 3GPP TS 11.14 v8.17.0 (Release 1999 / 2004-09) * 3GPP TS 31.111 v9.7.0 (Release 9 / 2012-03) * Copyright 2010-2011 by Harald Welte <laforge@gnumonks.org> * * $Id$ * * Wireshark - Network traffic a...
C
epan/dissectors/packet-etsi_card_app_toolkit.c
boundary/wireshark
gpl-2.0
58,397
1,680
codeparrot/github-code
78849f3dd33ff2c6b41c4f2b5b4dfb63336c839456d6f20b98212e16c80dd875
<?php /** * @copyright Copyright (C) 2011-2012 Michael De Wildt. All rights reserved. * @author Michael De Wildt (http://www.mikeyd.com.au/) * @license 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...
PHP
wp-content/plugins/wordpress-backup-to-dropbox/Classes/class-wp-backup-database-plugins.php
triumphpc/ladiesandlife.ru
gpl-2.0
1,714
47
codeparrot/github-code
955fb3cbcd4164f609b33a1d978f11fe7adb9dde53fb3989b3db782a2fde2858
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Xml; using System.Xml.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using Sy...
C#
Creatalk/Search.xaml.cs
hsynlms/Creatalk
gpl-2.0
9,244
219
codeparrot/github-code
667ea8118be20e64c730a116e03b16dd2c18a420b23f858a379773f19d747702
/*! * Moving Boxes v2.3.4 * by Chris Coyier * http://css-tricks.com/moving-boxes/ */ /*jshint browser:true, jquery:true */ ;(function($){ "use strict"; $.movingBoxes = function(el, options){ // To avoid scope issues, use 'base' instead of 'this' // to reference this class from internal events and functions. ...
JavaScript
modules/mod_tz_multi_slideshow/js/jquery.movingboxes.js
alexrah/eighteen
gpl-2.0
21,297
553
codeparrot/github-code
b835bd2214962b4842405b4bd817a423d760b04f4f92d95f0387f4668174fd51
/* This file is part of the KDE libraries Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.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...
C++
kde3support/kdeui/k3textedit.cpp
vasi/kdelibs
gpl-2.0
11,590
415
codeparrot/github-code
c52353bf0c9ac3bac0d3b6eb2722d1cbeb7c9fafbe456dc5cbd01c903ba62ef9
/* $Id: once.cpp $ */ /** @file * IPRT - Execute Once. */ /* * Copyright (C) 2007 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * ...
C++
src/VBox/Runtime/common/misc/once.cpp
JSansalone/VirtualBox4.1.18
gpl-2.0
10,058
265
codeparrot/github-code
e0fd6f369e73454eee568647ad4eeb235bc2ea852031a2bfe6cbbc6d1a4283c8
<!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <head> <title>Portfolio 4 Columns Fullwidth Text | Unify - Responsive Website Template</title> <!-- Meta --> <meta charset="...
HTML
Unify-v1.8/HTML/portfolio_4_columns_fullwidth_text.html
neeravbm/unify
gpl-2.0
79,473
1,192
codeparrot/github-code
6317818e2f8c268050d390ac6bf2a15e8ead1907f5fd6b431456ba566d579549
/* * This file is part of the OpenKinect Project. http://www.openkinect.org * * Copyright (c) 2014 individual OpenKinect contributors. See the CONTRIB file * for details. * * This code is licensed to you under the terms of the Apache License, version * 2.0, or, at your option, the terms of the GNU General Public...
C++
src/lib/libfreenect2/turbo_jpeg_rgb_packet_processor.cpp
ethz-asl/libfreenect2
gpl-2.0
3,523
134
codeparrot/github-code
3f4b538850135e97ae960c3fad8c527f5fe48dcf5274f0028a4bd086a49374b0
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sonic Visualiser An audio file viewer and annotation editor. Centre for Digital Music, Queen Mary, University of London. This file copyright 2006 Chris Cannam. This program is free software; you can redistribute ...
C
data/model/SparseModel.h
danstowell/Sonic-Visualiser
gpl-2.0
23,756
872
codeparrot/github-code
482827fc10991bbc7e29ef8acefb5017b320cfc557e66dc5fe6221633a290726
/* packet-cfm.c * Routines for CFM EOAM (IEEE 802.1ag) dissection * Copyright 2007, Keith Mercer <keith.mercer@alcatel-lucent.com> * Copyright 2011, Peter Nahas <pnahas@mrv.com> * Copyright 2012, Wim Leflere <wim.leflere-ext@oneaccess-net.com> * Copyright 2013, Andreas Urke <arurke@gmail.com> * * Wireshark - Net...
C
epan/dissectors/packet-cfm.c
weizhenwei/wireshark
gpl-2.0
74,001
2,178
codeparrot/github-code
125af90b36d725639685810a2dc99f2a85d1410e0e2bec84b352ab6ccf1a7072
<?php class ControllerModuleSpecial extends Controller { protected function index($setting) { $this->language->load('module/special'); $this->data['heading_title'] = $this->language->get('heading_title'); $this->data['button_cart'] = $this->language->get('button_cart'); $this->load->model('...
PHP
catalog/controller/module/special.php
ankitgadgil/geans.io
gpl-2.0
2,366
72
codeparrot/github-code
76bbb1c599cb31a8f2a807fe612b3703922c3873f8ca5c4444b446d27b0055b6
#!/usr/bin/perl # # Description: # looks for mountable volumes and 'rips' (copy) the "wanted" files (to a custom subdir in $baseTargetPath) # "wanted" files are defined by filename based regexes (per fstype a different set of regexes can be defined) # => see __DATA__ (at the bottom of the script) # # note: # * ...
Perl
srm/07_forensics/contents/root/bin/fileripper.pl
ademol/custom-systemrescuecd
gpl-2.0
6,110
256
codeparrot/github-code
a9c244b2c0f3d128aa706036c7f39889eed9355c522f098fa24aa2b1463de327
VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 35 EXTRAVERSION = .14 NAME = Yokohama # *DOCUMENTATION* # To see a list of typical targets execute "make help" # More info can be located in ./README # Comments in this file are targeted only to the developer, do not # expect to learn how to build the kernel reading this file. # ...
Makefile
Makefile
pershoot/vision-2635
gpl-2.0
51,673
1,513
codeparrot/github-code
043e4f055e54852de34ad3780eafa2a7c6f5c4ae1e5a7f4d59a709eedfb19008
/* * (C) Copyright 2015 * Emcraft Systems, <www.emcraft.com> * Alexander Potashev <aspotashev@emcraft.com> * * STM32F4x9 LTDC Frame Buffer device driver * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it und...
C
drivers/video/stm32f4_lcdfb.c
EmcraftSystems/linux-emcraft
gpl-2.0
18,093
777
codeparrot/github-code
05b526f0941fa9a304959eb03aa4888efc8206cd148722bfdf87a5b6944d42bf
<?php /* Template Name: Project Page */ get_header(); ?> <script src="<?php echo get_stylesheet_directory_uri(); ?>/js/picturefill.min.js"></script> <section id="content" role="main"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <secti...
PHP
wp-content/themes/roundhex/page-project.php
jessemartin89/roundex-redesign
gpl-2.0
8,805
236
codeparrot/github-code
fd1c7f0e9264edc7eb890cffa0d61527dde3ea7ef886b3a9ca92c0f22ca23d0e
using System; using System.Collections.Generic; using System.Text; using BusinessObjects.FormDSTableAdapters; using System.Web.Security; using System.Data; using System.Collections; using System.Data.SqlClient; using lib.wf; namespace BusinessObjects { public class PersonalReimburseApplyBLL { #region 属性 ...
C#
BusinessObjects/PersonalReimburseApplyBLL.cs
hijoy/VSL_ERS
gpl-2.0
22,149
451
codeparrot/github-code
f567d25b73a53baa3da875a7c33a03212dacf0c58c78828e22f299284344617f
#ifndef Q3BSP__VECTOR4_H #define Q3BSP__VECTOR4_H #include <cmath> template <class T> class Vector3; template <class T> class Matrix4; template <class T> class Vector4 { public: T x, y, z, w; explicit Vector4(const T px = T(0), const T py = T(0), const T pz = T(0), const T pw = ...
C
src/math/vector4.h
dprien/q3bsp
gpl-2.0
3,087
136
codeparrot/github-code
e002a2d38b266bdccf094ab50da10f0361383520da7900e5ae9a14d3d67de1f5
#include "evaluator.h" Evaluator::Evaluator(uint16_t label_cnt): _report(label_cnt, tuple<int,int,int>(0,0,0)), _tp(0), _fn(0), _fp(0) { } void Evaluator::Eval(const vector<Query>& references, const vector<vector<uint16_t>> predicted_results) { for (auto i = 0; i < references.size(); i++) ...
C++
lccrf/evaluator.cpp
yelu/LCCRF
gpl-2.0
1,844
76
codeparrot/github-code
fd1ef9afd4f6aeb140c21ab6534f01022a79dfe0c53d1baac6408a54723c81ab
package es.shared.domain.googledrive; import java.io.Serializable; import org.codehaus.jackson.annotate.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown=true) public class Labels implements Serializable{ /** * */ private static final long serialVersionUID = 5588599886876287343L; priva...
Java
PhotoLoad/src/es/shared/domain/googledrive/Labels.java
ManuelLR/PhotoLoad
gpl-2.0
1,143
50
codeparrot/github-code
ab705464532de983dec19e8de62539706e8d27eb9acbe6b7ef638081b3a98ce5
/* JPC: A x86 PC Hardware Emulator for a pure Java Virtual Machine Release Version 2.0 A project from the Physics Dept, The University of Oxford Copyright (C) 2007-2009 Isis Innovation Limited This program is free software; you can redistribute it and/or modify it under the terms of the GNU G...
Java
org/jpc/classfile/attribute/LineNumberTableAttribute.java
tristaoeast/JPC
gpl-2.0
2,377
76
codeparrot/github-code
b1cab357edcef22e3dcacd1ee2d022b53f7fc3a5bad5cfe8071e27ba29059f1d
/* Copyright 2006 Jerry Huxtable 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 d...
Java
app/src/main/java/com/jhlabs/map/proj/TransverseMercatorProjection.java
GeoTechSystems/GeoTechMobile
gpl-2.0
5,853
201
codeparrot/github-code
5909caa301de2f2171807cfea963b5eec83ffbac8a4ada02c8a15205b568999a
<?php /* Smarty version 2.6.14, created on 2010-01-04 11:18:26 compiled from CRM/common/CMSUser.tpl */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('block', 'ts', 'CRM/common/CMSUser.tpl', 7, false),)), $this); ?> <?php if ($this->_tp...
PHP
files/civicrm/templates_c/en_US/%%98^98F^98F6DF1D%%CMSUser.tpl.php
zakiya/Peoples-History
gpl-2.0
5,328
76
codeparrot/github-code
1471b8528f4a2250f70f09402068a09b7cb3114ca797a31cce97a91a71bd9ff9
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2009-2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
Java
opennms-provision/opennms-provision-persistence/src/main/java/org/opennms/netmgt/provision/persist/AbstractForeignSourceRepository.java
vishwaAbhinav/OpenNMS
gpl-2.0
5,341
131
codeparrot/github-code
72e687ebf1c6565c3672425d4b938184027f12b0e2e79345a5535ca315602f43
/* * TIFF image decoder * Copyright (c) 2006 Konstantin Shishkov * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License,...
C
libavcodec/tiff.c
loongson-community/mplayer
gpl-2.0
12,426
433
codeparrot/github-code
41c5d689207eb4152f22f9dd2f149c4f2a66324201a7a735943fd2dca270927a
/////////////////////////////////////////////////////////////////////////////// // For information as to what this class does, see the Javadoc, below. // // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, // // 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph...
Java
tetrad-gui/src/main/java/edu/cmu/tetradapp/model/datamanip/CovMatrixWrapper.java
jmogarrio/tetrad
gpl-2.0
5,264
132
codeparrot/github-code
8e12c6ab629ca117bafd55a5570cfb802e25660c989875b08cbd4e18c8617779
/* smplayer2, GUI front-end for mplayer2. Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.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 Lic...
C
src/logwindow.h
rossy/SMPlayer2
gpl-2.0
1,454
58
codeparrot/github-code
0956fdc9220d4ec530179495194679b5a91f46e3b67462ae64b055bf8c266c49
/****************************************************************************** * Project: wxGIS (GIS Catalog) * Purpose: local db (sqlite, gdab, mdb) classes. * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru ****************************************************************************** * Copyright ...
C
include/wxgis/catalog/gxlocaldb.h
nextgis/nextgismanager
gpl-2.0
3,894
107
codeparrot/github-code
bc91e198adcccebd24b0eada40014dc4b8ddc8e9986784dd7e0c8c655222bfcb
<?php if(is_user_logged_in()) wp_redirect(site_url()."/profile/"); /** Template Name: Home Page */ get_header(); ?> <script type="text/javascript"> jQuery(document).ready(function($) { $('#powtoon-frame').load(function(){ $(this).show(); }); $('#click1').on('...
PHP
wp-content/themes/minyawns/home.php
ajency/minyawns
gpl-2.0
38,337
984
codeparrot/github-code
e7d741f3e4af3f80e588f5922d2a2cc4aebc557dd8cf8583494bd046fe69e7b6
#include <chrono> #include <iostream> #include <string> #include <vector> using namespace std; using namespace chrono; using namespace literals; class MyClass { private: vector<string> m_String{ "This is a pretty long string that" " must be copy constructed into" " copyConstructed!"s }; ...
C++
Recipe2-8/Listing2-31/main.cpp
BruceSutherland/C-Recipes
gpl-2.0
1,612
72
codeparrot/github-code
530985e7fe9653456ac091b2ffd2e7584c33f92321bcce5fc86e18add12d692c
/* * image-converter.c * * Copyright (C) 2004-2005 Jürg Billeter * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later...
C
src/image-converter.c
mate-desktop/mate-file-manager-image-converter
gpl-2.0
1,721
65
codeparrot/github-code
9ea279b901dd7f076b9f47c0f24ffdf1f6dd0944de18edb4226be23a86ca54c5
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="Javadoc API documentation for ShinobiCharts For Android API." /> <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.i...
HTML
Documents/Uni/Bakk.-Arbeit/Abgabestruktur/src/shinobicharts-android-library/assets/docs/reference/com/shinobicontrols/charts/OHLCSeriesStyle.html
osse68/bakk_coseb
gpl-2.0
51,004
1,613
codeparrot/github-code
c040046d7558c8bca4adaaf3218bc71da8ed9c5c336c9c97e96728902a4cca8a
/**************************************************************************** Copyright (c) 2018 GeometryFactory Sarl (France). Copyright (C) 2002-2014 Gilles Debunne. All rights reserved. This file is part of a fork of the QGLViewer library version 2.7.0. http://www.libqglviewer.com - contact@libqglviewer.com ...
C
cgal/include/CGAL/Qt/constraint.h
wschreyer/PENTrack
gpl-2.0
14,830
369
codeparrot/github-code
7812240f38de02cc4d1e9075c734d13fa85a6e26b44d155ce2a9a1e61e10eaa3
<?php /** * Abstract PAPI Class * Version 1.0.0 * * @Author Matt Kent * License: QPL */ abstract class AbstractPAPI { /** * Property: method * The HTTP method the request was made in, either GET, POST, PUT or DELETE */ protected $method = ''; /** * Property: endpoint * The Model requested in the URI. ...
PHP
PAPI/core/abstract_papi.php
TranxCraft/TranxCraft-Web
gpl-2.0
3,256
125
codeparrot/github-code
d3f6b2bfbeac91e8c5bd992d6ed7bc11ed01d75c3795fddcac278230975a9c47
#include<stdio.h> void main() { long tam,ta=0,pos=0; unsigned char far *tela; int ch=0,ct=0; union { int cha; unsigned char po[2]; }te; FILE *s,*p; if ((s=fopen("c:\\lixo\\imagem.bmp","rb"))==NULL) { printf("\nArquivo nao pode ser aberto."); return; } if (...
C++
TELAVIDE.C
acassis/langc
gpl-2.0
822
41
codeparrot/github-code
e95f65dddcc9065c9b22a05ead78c6e1982612cbcdcb30f7279ed0c815ec8ff1
/* * Copyright (C) 2005-2011 MaNGOS <http://getmangos.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. * ...
C++
src/game/RandomMovementGenerator.cpp
kero99/Stable
gpl-2.0
6,311
183
codeparrot/github-code
bf9d6ed7946689ad33e4bbb1fd775750c771980f41b7b5df65a38e68fbec4053
// libTorrent - BitTorrent library // Copyright (C) 2005-2011, Jari Sundell // // 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++
src/torrent/chunk_manager.cc
Distrotech/libtorrent
gpl-2.0
6,339
227
codeparrot/github-code
822fc4bdebed8f0e65ca14ec645dd67bc21a4823eb772bd7bbcbdef407677845
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc., 2017 Google Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public ...
C
engine/code/qcommon/cvar.c
deepmind/lab
gpl-2.0
29,704
1,473
codeparrot/github-code
681ce76ebd50cdff5eeb2aa921f03e78e0a4e9ce86a5247d3a714d081e510b8e
<?php /** * ------------------------------------------------------------------------ * JA T3 System plugin for Joomla 1.7 * ------------------------------------------------------------------------ * Copyright (C) 2004-2011 JoomlArt.com. All Rights Reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gp...
PHP
tmp/install_4f20924cbb0a1/plugins/system/jat3/jat3/base-themes/default/blocks/ie6/ie6warning.php
heqiaoliu/Viral-Dark-Matter
gpl-2.0
3,293
75
codeparrot/github-code
a865790174b07299d61bb1962b09a76487f9d0066616f843aaeeeed8515db488
# Copyright © 2010 Raphaël Hertzog <hertzog@debian.org> # Copyright © 2010-2013 Guillem Jover <guillem@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 # the Free Software Foundation; either version 2 of the Licen...
Perl
scripts/Dpkg/Compression.pm
mwhudson/dpkg
gpl-2.0
6,366
256
codeparrot/github-code
5e2b357ba819615afd3d3b3da124e925a23c248e4b3b84e12cc16d2830ff44fc
/*************************************************************************** qgsrelationreferencewidgetwrapper.cpp -------------------------------------- Date : 20.4.2013 Copyright : (C) 2013 Matthias Kuhn Email : matthias at opengis dot ch ***************...
C++
src/gui/editorwidgets/qgsrelationreferencewidgetwrapper.cpp
t-hey/QGIS-Original
gpl-2.0
5,694
178
codeparrot/github-code
9e74e3c2f318c7ea11d6c8d17950eceb31065b8faea72a71e766caa9fd045243
/* * $Id: NclTypelist.h,v 1.1 1999-11-12 18:36:42 ethan Exp $ */ /************************************************************************ * * * Copyright (C) 1995 * * University Corporation for Atmospheric Research * * All Rights Reserved * * * *************************...
C
ncl_ncarg_src/ni/src/ncl/NclTypelist.h
likev/ncl
gpl-2.0
1,424
65
codeparrot/github-code
ca7127a2e47d4a2b3be6019440866238fad350a00cdc8477775b9e008cfa33c1
/* * Copyright 2002-2005, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU...
C
net/mac80211/tx.c
joka90/compat-wireless-2.6
gpl-2.0
72,898
2,577
codeparrot/github-code
b2e1436fe92184f86d8c3a03dd90bd06d94e19ae2963f4fe4840b8a14e66e585
/* mpz_mod_2exp -- divide a MP_INT by 2**n and produce a remainder. Copyright (C) 1991 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
C
Luther/gmp/mpz_mod_2exp.c
thomasl/reform-prolog
gpl-2.0
2,159
83
codeparrot/github-code
ee4abd1c6576230d350f6bc4e82b3734a710d655193a8014d0d18f51cd4f3a74
#include "stdafx.h" #include "Emu/SysCalls/SysCalls.h" #include "Emu/SysCalls/SC_FUNC.h" #include "cellRtc.h" void cellRtc_init(); Module cellRtc(0x0009, cellRtc_init); long convertToUNIXTime(u16 seconds, u16 minutes, u16 hours, u16 days, int years) { return (seconds + minutes*60 + hours*3600 + days*8640...
C++
rpcs3/Emu/SysCalls/Modules/cellRtc.cpp
unknownbrackets/rpcs3
gpl-2.0
21,361
581
codeparrot/github-code
a696ea12f83e503771d5db22938db6ec4594a72f145315ca7b959a073d6fc0f0
<?php defined('WYSIJA') or die('Restricted access'); class WYSIJA_view_front_widget_nl extends WYSIJA_view_front { function WYSIJA_view_front_widget_nl(){ $this->model=&WYSIJA::get("user","model"); } function wrap($content){ $html='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/...
PHP
wp-content/plugins/wysija-newsletters/views/front/widget_nl.php
fwelections/fwelections
gpl-2.0
10,627
220
codeparrot/github-code
f6dfeb8f1ccba9e4d40d5c2f8cb8d292ce835d1d3ca0de5561c256b400b6c17e
/* * $Id$ * * This file is part of the OpenLink Software Virtuoso Open-Source (VOS) * project. * * Copyright (C) 1998-2014 OpenLink Software * * This project is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Softwar...
JavaScript
appsrc/ODS-Gallery/www-root/js/gallery.js
v7fasttrack/virtuoso-opensource
gpl-2.0
86,725
2,784
codeparrot/github-code
3dc643be5a33102d38a51749d5fece184ea79a42ee69aea1cc6e9101cbca5675
package com.dtr.oas.controller; import java.io.Serializable; import java.util.List; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import org.hibernate.validator.constraints.NotEmpty; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.base.Objec...
Java
SpringSecurityCRUD-dtrtrading/src/main/java/com/dtr/oas/controller/PermissionDTO.java
auntaru/rokya-spring
gpl-2.0
2,080
81
codeparrot/github-code
f3f5b2615e00a625cca902ae7b169c0b7dd41ff7620db0496e867354e7296cde
/* sd2iec - SD/MMC to Commodore serial bus interface/controller Copyright (C) 2007-2016 Ingo Korb <ingo@akana.de> Inspired by MMC2IEC by Lars Pontoppidan et al. FAT filesystem access based on code from ChaN and Jim Brain, see ff.c|h. This program is free software; you can redistribute it and/or modify ...
C
src/lpc17xx/llfl-n0sdos.c
sans-ltd/iec
gpl-2.0
1,830
64
codeparrot/github-code
b4ada6914be10baeda904d47ed134845e476ef047366abc987f063ac443e2f97
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Search\Request\Aggregation; use Magento\Framework\Search\Request\BucketInterface; /** * Range Buckets */ class RangeBucket implements BucketInterface { /** * @var string ...
PHP
lib/internal/Magento/Framework/Search/Request/Aggregation/RangeBucket.php
kunj1988/Magento2
gpl-2.0
1,575
95
codeparrot/github-code
cda7119e86a048398b76067a6e78ebb27231089b9e8cf17c3ea8c9ba6814443b
/* Copyright (c) 2000, 2003-2007 MySQL AB, 2009 Sun Microsystems, Inc. Copyright (c) 2009-2011, Monty Program Ab 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 Fo...
C
strings/ctype-latin1.c
iangilfillan/MariaDBserver
gpl-2.0
31,500
839
codeparrot/github-code
cc3cf3fc4bac2307db83a6988a3e29e01018946d3db2cfd7805ff2d6e79a548e
#include <linux/kernel.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/mtd/mtd.h> #include <linux/mtd/map.h> #include <linux/mtd/cfi.h> #include <linux/mtd/gen_probe.h> static struct mtd_info *check_cmd_set(struct map_info *, int); static struct cfi_private *genprobe_ident_chips(struct map_info ...
C
kernel/drivers/mtd/chips/gen_probe.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
6,885
263
codeparrot/github-code
be7f9ca5571c1a22ab7f1ce77d91ce614aef31d8737fe4319431d1580e4aca36
# # Copyright 1995-2009 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 Foundation...
Makefile
openjdk/Makefile
TheTypoMaster/Scaper
gpl-2.0
16,371
581
codeparrot/github-code
dab93b398a70b39f9ccaf42f38fcfe0efe017d3d77561e67224655d6bbe7a1ef
/* libthread_db assisted debugging support, generic parts. Copyright (C) 1999-2014 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Founda...
C
gdb/linux-thread-db.c
bluecmd/binutils-gdb
gpl-2.0
62,844
2,157
codeparrot/github-code
76876c56aeec2f5f99f01f2805b0bea00cb034fcb585a661c0f38930b93ef1f1
<?php /** * Custom logger for counting certain events. * * (c) Wikimedia Foundation 2015, GPL * * 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 ...
PHP
includes/AuthManagerStatsdHandler.php
wikimedia/mediawiki-extensions-WikimediaEvents
gpl-2.0
4,550
135
codeparrot/github-code
4c426761be206b6ba0404544a6e5e0804f2d8c294deed9c67f626cbc05f2dae3
/* Copyright (C) 2007-2010 Open Information Security Foundation * * You can copy, redistribute or modify this Program 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 useful, * but WITHOUT ANY...
C
src/detect-engine-payload.c
decanio/suricata
gpl-2.0
29,241
1,041
codeparrot/github-code
01d6958c2b6ab9ff7ede310c4b4979fc999ccb7da63b2245de75494260977621
/* * Copyright (C) 2014 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 conditions a...
C
modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Cache.h
teamfx/openjfx-9-dev-rt
gpl-2.0
3,545
109
codeparrot/github-code
49905038cd85bafee7ad67b0ea8ee41d32d7c24f92dabc1f7ec31df1ed564328
#pragma once /* * Copyright (C) 2005-2011 Team XBMC * http://www.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, or (at your option) * any later...
C
xbmc/cores/dvdplayer/DVDCodecs/Video/GstDecoder.h
aviksil/xbmc-eden-flattened-linaro
gpl-2.0
2,693
88
codeparrot/github-code
fe4cf8b13dbd17dbd2e02fec4f9d983cbc3f20fdfb7f815c88e73127ec552915
<? /************************************************************************************************** * ------------------------------- ARCHIVO GENERADO AUTOMATICAMENTE ------------------------------- * Archivo: FormularioMaestroWS.php * ------------------------------------------------------------------------------...
PHP
src/base/servidor/Sysgran/Aplicacion/WS/Desarrollo/FormularioMaestroWS.php
marcelinoar/FrameworkWeb
gpl-2.0
3,431
116
codeparrot/github-code
849e1385da5b842f13097cd8c767d8df8d0025a388b92dc39c4c0f0bcf4d82fe
<?php /** * @package com_zoo * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl.html GNU/GPL */ /** * Import helper class. * * @package Component.Helpers * @since 2.0 */ class ImportHelper extends AppHelper { /** * I...
PHP
administrator/components/com_zoo/helpers/import.php
xmarlem/BM_stage
gpl-2.0
24,754
779
codeparrot/github-code
dd06fc06f71cd08024c36fd0521ff38cd237feedd05ca8bb2a14550f4fe5516b
/* The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-) Copyright (C) 2001,2002,2003,2004,2005 Aymeric MOIZARD jack@atosc.org 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 Sof...
C
src/libuolfone/wengophone-ng/current/wifo/libosip2/src/osipparser2/osip_allow.c
gabrieldelsaint/uol-messenger
gpl-2.0
1,803
63
codeparrot/github-code
7cf1e2ad6d577412891585baa486ae0ceaf36817f639f6270feb4215c0f76871
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * Copyright (C) 2011 Sony Ericsson Mobile Communications AB. * Copyright (C) 2012 Sony Mobile Communications AB. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versio...
C
drivers/power/pm8921-bms.c
gokhanmoral/siyah-xt
gpl-2.0
82,025
3,136
codeparrot/github-code
382e08a97baecb2a22d710735294f14d23d40ddeebf434b28fee3ab8bf58fad6
using Caliburn.Micro; using GMap.NET; using GMap.NET.MapProviders; using GMap.NET.WindowsPresentation; using RED.Addons.Navigation; using RED.Models.Navigation; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Windows; using System.Windows.Media; namespace RED.Vi...
C#
RED/ViewModels/Navigation/MapViewModel.cs
joshreed13/Rover-Engagement-Display
gpl-2.0
5,824
194
codeparrot/github-code
2193c1086161c48ccfe3e5d8aabb050df0cdbeb3f50e701a797e05f771a09067
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Web; using System.Web.Http; using demo_site.Models; namespace demo_site.Controllers { public class SimController : ApiController { [DllImport("sentence-similarity.dll", EntryPoint = "compute_s...
C#
demo-site/Controllers/SimController.cs
xxinl/semantic-similarity
gpl-2.0
3,421
102
codeparrot/github-code
0293ea0f82c91fb2738b31595d90ce261659db95783bf31267035a8b9ae67678
--- layout: api title: "v1.6.3 API: L.mapbox.geocoder(id|url)" categories: api version: v1.6.3 permalink: /api/v1.6.3/l-mapbox-geocoder --- {% raw %}<h2 id="section-l-mapbox-geocoder">L.mapbox.geocoder(id|url)</h2> <p>A low-level interface to geocoding, useful for more complex uses and reverse-geocoding.</p> <table> <t...
HTML
sites/all/libraries/mapboxGIT/docs/_posts/api/v1.6.3/0200-01-01-l-mapbox-geocoder.html
xs2maverick/c44d734
gpl-2.0
2,983
88
codeparrot/github-code
310a50a28b5938d6427d3f1425890447b8a62c7b2a790213d8f280f5281e508f
/* * AppArmor security module * * This file contains AppArmor mediation of files * * Copyright (C) 1998-2008 Novell/SUSE * Copyright 2009-2010 Canonical Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published...
C
security/apparmor/file.c
Jackeagle/android_kernel_sony_c2305
gpl-2.0
13,456
457
codeparrot/github-code
08088cd6c1e9bc1ef47ef237a94c22710389be8af48278c1f785ab04138c002f
package ca.ubc.cs.beta.aeatk.targetalgorithmevaluator.base.blackhole; import java.util.List; import net.jcip.annotations.ThreadSafe; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ca.ubc.cs.beta.aeatk.algorithmrunconfiguration.AlgorithmRunConfiguration; import ca.ubc.cs.beta.aeatk.targetalgorithmev...
Java
smac/src/aeatk/ca/ubc/cs/beta/aeatk/targetalgorithmevaluator/base/blackhole/BlackHoleTargetAlgorithmEvaluator.java
fredizzimo/keyboardlayout
gpl-2.0
1,977
77
codeparrot/github-code
864f34f5413d5f963070911f4f3e1e52d833cd381283f6e41eb645ac3438d76d
# StationPlaylist Track Tool # An app module for NVDA # Copyright 2014-2021 Joseph Lee, released under gPL. # Functionality is based on JFW scripts for SPL Track Tool by Brian Hartgen. # Track Tool allows a broadcaster to manage track intros, cues and so forth. # Each track is a list item with descriptions such as tit...
Python
addon/appModules/tracktool.py
josephsl/stationPlaylist
gpl-2.0
3,301
88
codeparrot/github-code
a99a6b8bf6163fda0609e6e61bf4b4c61aa7f8f934e77297c00783415b9d5f71
//Copyright Notice /* eXintegrator integrated expression analysis system Copyright (C) 2004 Martin Jakt & Okada Mitsuhiro This file is part of the eXintegrator integrated expression analysis system. eXintegrator is free software; you can redistribute it and/or modify it under the terms of the G...
C
chips/chipSelection.h
lmjakt/exint_client
gpl-2.0
2,012
58
codeparrot/github-code
da7948e92ee57167312a0de67593c317ab59301ad8ff7f910cf85235c04eaf21
<?php declare(strict_types=1); namespace PoPCMSSchema\UserMetaWP; use PoP\Root\Component\AbstractComponent; /** * Initialize component */ class Component extends AbstractComponent { /** * Classes from PoP components that must be initialized before this component * * @return string[] */ ...
PHP
layers/CMSSchema/packages/usermeta-wp/src/Component.php
leoloso/PoP
gpl-2.0
867
40
codeparrot/github-code
47425b92ba9e403c5a5f7dd5f264a04c31ca8ae9e97be6c5ac271530aaad9a08
/* * Copyright (C) 2009 Red Hat, Inc. * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. */ #include <linux/mm.h> #include <linux/sched.h> #include <linux/highmem.h> #include <linux/hugetlb.h> #include <linux/mmu_notifier.h> #include <linux/...
C
mm/huge_memory.c
VanirAOSP/kernel_htc_msm8974
gpl-2.0
64,605
2,439
codeparrot/github-code
13bf8e1bdfb83ba19dc831c14af20c511401ec339fecc9d62446b05a922e812c
#!/usr/bin/env python #Demo code # # simple demonstration script showing real-time thermal Imaging # using the MLX90620 16x4 thermopile array and the mlxd daemon # # Copyright (C) 2015 Chuck Werbick # # # # This program is free software; you can redistribute it and/or modify # it under the terms of the G...
Python
mlxview.py
alphacharlie/mlxd
gpl-2.0
3,859
119
codeparrot/github-code
9592d5d9893fbf906d901193644a1da7394f1a47032ed951c033353f40f8a0a3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="../../../feed.xml" /> <title>The Stanford Review - May 11,...
HTML
old_archives/Archive/Volume_XXXVIII/Issue_6/index.html
stanfordreview/site
gpl-2.0
23,581
401
codeparrot/github-code
848fa417de2da8ce3795c538ffc5eb5dbc9af00b44bfc708cf3ff4455b452ae7
# Copyright (c) 2008,2011 Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013, Monty Program Ab. # Copyright (c) 2014, SkySQL Ab # 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 publi...
Perl
lib/GenTest/Validator/TransformerNoComparator.pm
elenst/rqg
gpl-2.0
3,094
99
codeparrot/github-code
b7849d8f7d287a6a0ac2433ee12489ae1639948be81e30018a1615bbf7d95b68
/* kernel_mem2.c */ #include "kernel/kernel_int.h" #include "kernel_cfg.h" #if TKERNEL_PRID != 0x06u #error "The kernel does not match this configuration file." #endif /* * Include Directives (#include) */ #include "app.h" #include "csl.h" #include "chip_timer.h" #include "syssvc/syslog.h" #include "syssvc/banner...
C
base-workspace/OBJ/kernel_mem2.c
Zimoy/Metronome
gpl-2.0
13,761
613
codeparrot/github-code
e1d3b2acc8d8fc717e55a228474ba42ce7e733d65c824d900e326e0d31ef79ee
/* Copyright (c) 2013, 2014 Montel Laurent <montel@kde.org> 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 useful, but ...
C
contactthemeeditor/contactconfigurationdialog.h
kolab-groupware/kdepim
gpl-2.0
1,440
56
codeparrot/github-code
b344d455a7c6ff121cf01c48f1fc547a18f54a4e07c78b6689df3527c5e2d453
#ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef FS_EMU_DRIVERS #define FS_EMU_INTERNAL #include <fs/emu/video.h> #include <fs/emu/input.h> #include <fs/emu/buffer.h> #include <fs/emu/options.h> #include <fs/conf.h> #include <fs/log.h> #include <string.h> #include "SDL.h" // FIXME: move #include <fs/emu/bench...
C
libfsemu/src/video/video-common-sdl.c
cnvogelg/fs-uae
gpl-2.0
2,236
85
codeparrot/github-code
9c0993e50e3a43476350f0d661f5c8359353f3daa2e76cb80f580c4e1bc0425e
/* * Copyright (C) 2013-2016 JadeCore <https://www.jadecore.tk/> * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2011-2016 Project SkyFire <http://www.projectskyfire.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU G...
C++
src/server/scripts/EasternKingdoms/Deadmines/deadmines.cpp
cooler-SAI/JadeCore
gpl-2.0
1,669
52
codeparrot/github-code
32d9c1e701ef2b77365042ad7ae27a1ac6f0d0afb4834dbadad6522fbae82ec0
/* * -------------------------------------------------------- * script * name: jquery.table_multi_row_selectable_drag_drop.js * summary: jQuery plugin that can be used to enhance HTML <table> elements. * - multiple rows may be selected. * - selected rows may be dragged. *...
JavaScript
jquery.table_multi_row_selectable_drag_drop.js
warren-bank/jquery-table-multi-row-selectable-drag-drop
gpl-2.0
28,165
744
codeparrot/github-code
1aaeea4a32a0bf148ebdae4bd348a0fd4e4e60324f62cbcbcfef9901d59a3b6d
<?php /** Utilita pro stránkování. */ class Paginator { const PAGINATOR_KEY = "_page"; private $count; private $itemsPerPage; public function __construct($itemsPerPage = 20) { $this->itemsPerPage = $itemsPerPage; } public function getCurrentPage() { $pag...
PHP
lib/Paginator.php
martinmajer/phpcms
gpl-2.0
858
38
codeparrot/github-code
87a513ec517bac98914bedb9a68d32414262fa203955efb2c45b4f2d5222daf9
package eu.janinko.botninko; import org.apache.log4j.Logger; import org.jivesoftware.smack.Chat; import org.jivesoftware.smack.packet.Message; import eu.janinko.botninko.api.Message.Type; class MessageImpl implements eu.janinko.botninko.api.Message{ protected Message message; protected Commands commands; private ...
Java
core/src/main/java/eu/janinko/botninko/MessageImpl.java
janinko-org/botninko
gpl-2.0
1,472
52
codeparrot/github-code
8798e58bc862f819b1862d6a3671de19a6cc11f6ff429a61b89b10eef5e25925
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.1 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2011 | +--------------------...
PHP
sites/all/modules/civicrm/CRM/Mailing/Form/Test.php
jblanford/Uber-Web-Site
gpl-2.0
16,501
371
codeparrot/github-code
1a5cac34804f48e72c34ae7111d9c6ca9dcf971e77f1af7d7dd501755d157b3e
package com.Bill_shuai.guessmusic.model; public class Song { //¸èÇúÃû³Æ private String mSongName; //¸èÇúÎļþÃû³Æ private String mSongFileName; //¸èÇúÎļþ³¤¶È private int mSongLength; public char[] getNameCharacters(){ return mSongName.toCharArray(); } public String getSongName() { ...
Java
src/com/Bill_shuai/guessmusic/model/Song.java
Billshuai/GuessMusic
gpl-2.0
675
36
codeparrot/github-code
91fbc77742c81e1f037edf1f465f8583c3f4f6ba47ff84f3251583b5b0c6d627
/* test/sam.c -- SAM/BAM/CRAM API test cases. Copyright (C) 2014 Genome Research Ltd. Author: John Marshall <jm18@sanger.ac.uk> 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 r...
C
htslib/test/sam.c
ckockan/tardis_core
gpl-2.0
4,681
143
codeparrot/github-code
eb5ebf4f015ae9eadac852019c0241edb31bb612160cbaf53d63d9f169c7b028
/* Copyright (C) 1998-99 Paul Barton-Davis 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 progr...
C
libs/pbd/pbd/pool.h
agomusic/ardour3
gpl-2.0
1,801
75
codeparrot/github-code
4c6af8c93f9e6ae0c0aebb1599cda62c7242f242b33c9bfe04c9a0fb669f7565
/* * drivers/base/power/wakeup.c - System wakeup events framework * * Copyright (c) 2010 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. * * This file is released under the GPLv2. */ #include <linux/device.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/capability.h> #include <linux/export.h> #i...
C
drivers/base/power/wakeup.c
acuicultor/android_kernel_oneplus_msm8974-1
gpl-2.0
25,057
915
codeparrot/github-code
3cd99f05ca54d5d01f91fac5348b16552b55f5f96f74ab6b509c9acb895331aa
include("js/html5.js"); include("js/jquery.animate-colors-min.js"); include("js/jquery.backgroundpos.min.js"); include("js/jquery.easing.js"); include("js/superfish.js"); include("js/switcher.js"); include("js/bgStretch.js"); include("js/sImg.js"); include("js/forms.js"); include("js/jquery.tinyscrollbar.min.js"); incl...
JavaScript
nodeCMS1/public/js/scripts.js
sallymi/myRep
gpl-2.0
8,256
264
codeparrot/github-code
f8719582798f25a20f884f3fc4727a5e3fc1fd6069dc5bd01707f2fe9c273016
/* * Copyright (c) 2009-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in ...
C
include/soc/qcom/socinfo.h
Rashed97/caf-kernel-msm-3.14
gpl-2.0
14,176
641
codeparrot/github-code
c3d0ca807b73095e643c400a5d675e2c752c6c59253a4ac44065b418f872b3dd
<?php class Recipe { /** @var int */ protected $idRecipe; /** @var int */ protected $itemId; /** @var string */ protected $recipeTemplateId; /** * @param int $idRecipe * @param int $itemId * @param string $type */ function __construct($idRecipe, $itemId, $r...
PHP
Model/Entity/Recipe.php
Zuziiik/industrial
gpl-2.0
1,221
68
codeparrot/github-code
91b9c9252adbd5f9e61827491082e4be76040cc413dbb6d6eb4a18bc1e41e56b
/* * Flo's Open libRary (floor) * Copyright (C) 2004 - 2022 Florian Ziesche * * 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 only. * * This program is...
C++
compute/host/elf_binary.hpp
a2flo/floor
gpl-2.0
5,071
149
codeparrot/github-code
ca6843c87efc087d8ca80877c30de32113e216d35e3e98bd422d3864e72e86e9
/* * Copyright (c) 2015, 张涛. * * 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
MVPFrameStudy/src/main/java/com/cheng/mvpframestudy/themvp/frame/presenter/FragmentPresenter.java
DIY-green/AndroidStudyDemo
gpl-2.0
2,650
86
codeparrot/github-code
1f63a0809b91cc8c61fbfc385b1edbe645a10fd49ee5f25bcc1c714dd9da1a33
package org.opennms.features.topology.app.internal.operations; import java.util.List; import org.opennms.features.topology.api.CheckedOperation; import org.opennms.features.topology.api.DisplayState; import org.opennms.features.topology.api.OperationContext; import org.opennms.features.topology.app.internal.jung.KKLa...
Java
features/topology-map/org.opennms.features.topology.app/src/main/java/org/opennms/features/topology/app/internal/operations/KKLayoutOperation.java
bugcy013/opennms-tmp-tools
gpl-2.0
1,284
44
codeparrot/github-code
e22fd9dc474a89301b8af4deb5859593c49b65690e82f2256ebf55fad8896d78
<?php // Copyright SQCRM. For licensing, reuse, modification and distribution see license.txt /** * Create report step2 view * @author Abhik Chakraborty */ $do_report_module_rel = new ReportModuleRel(); $primary_modules = $do_report_module_rel->get_primary_modules(); $selected_primary_module = 0 ; if (isset($edit) &...
PHP
view/create_report_step2_view.php
sQcrm/sqcrm
gpl-2.0
2,562
64
codeparrot/github-code
d612542075cd2b0e8a13e695efe5458228529af05b29b5d6d6b3d5937db868b0
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* * Copyright (C) 2014 Red Hat * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or ...
C
src/backends/x11/meta-cursor-renderer-x11.c
wolfv/mutter
gpl-2.0
3,090
100
codeparrot/github-code
98e79ea6a200e45b829ad6673931f7aa406dc6fa31d1412de3f78e24518d7086
<?php namespace Swoole; /** * 附加工具集合 * @author Tianfeng.Han * @package SwooleSystem * @subpackage tools */ class Tool { static public $url_key_join = '='; static public $url_param_join = '&'; static public $url_prefix = ''; static public $url_add_end = ''; const DATE_FORMAT_HTTP = 'D, d-M-Y H...
PHP
libs/Swoole/Tool.php
tanaer/swoole-rest
gpl-2.0
9,287
324
codeparrot/github-code
8c4abeb404cecd7b0cb92587c02775529a610b369a23e13b333aabea41270f48
/* Copyright (C) 2006 - 2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * 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...
C++
src/bindings/scripts/scripts/kalimdor/ungoro_crater.cpp
artas/quademu
gpl-2.0
10,691
356
codeparrot/github-code
a3c7bf451d1770016c12b643aa59f5affd83334cb7834e139b399cc94dbb3cf7
<?php defined('ABSPATH') or die("No script kiddies please!"); function field_to_ignore() { $options = get_option('nkweb_ignore'); $field_value = isset( $options['ignore_admin_area'] ) ? $options['ignore_admin_area'] : ''; global $wp_roles; foreach( $wp_roles->roles as $role => $role_info ) {...
PHP
wp-content/plugins/nk-google-analytics/options.php
kuryerov/portfolio
gpl-2.0
10,934
248
codeparrot/github-code
b75148b407761a315d8f18dbdd58b406172c89691ad3091068589b76778b6401
using System; using System.Collections.Generic; using System.Data.SQLite; using System.Linq; using System.Text; using System.ComponentModel; using System.Xml.Linq; using System.IO; using System.Net; using System.Windows; using VidCoder.Model; using System.Diagnostics; using ReactiveUI; namespace VidCode...
C#
VidCoder/Services/Updater.cs
RandomEngy/VidCoderReleaserTest
gpl-2.0
13,178
485
codeparrot/github-code