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
f80b3e29bc1bbe45cca6f6f956703a31a5f1b1241b6b6e0c2a195cf21e6f0c1c
#include "qemu-common.h" #include "qemu-option.h" #include "qemu-config.h" #include "sysemu.h" QemuOptsList qemu_drive_opts = { .name = "drive", .head = QTAILQ_HEAD_INITIALIZER(qemu_drive_opts.head), .desc = { { .name = "bus", .type = QEMU_OPT_NUMBER, .help = "bu...
C
qemu-config.c
aidanshribman/qemu-kvm
gpl-2.0
6,005
234
codeparrot/github-code
4cf4550a9f93fe9b3617ab9dc6c6938b528f629bae52e8f7697e19bfea45f8f6
<?php /* * Pharinix Copyright (C) 2017 Pedro Pelaez <aaaaa976@gmail.com> * Sources https://github.com/PSF1/pharinix * * 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 versi...
PHP
bin/node_type/nodetypeGenerateDriver.php
PSF1/pharinix
gpl-2.0
2,853
79
codeparrot/github-code
531d5e328bc916aa9d90bac2e9f66aa544b13bb6e75231ed42180fcb5d0229bd
/* * In The Name Of God * ======================================== * [] File Name : beehive-hello.go * * [] Creation Date : 13-11-2015 * * [] Created By : Parham Alvani (parham.alvani@gmail.com) * ======================================= */ /* * Copyright (c) 2015 Parham Alvani. */ package main import ( "l...
GO
go/beehive-hello/beehive-hello.go
1995parham/Learning
gpl-2.0
2,717
116
codeparrot/github-code
fcc6bfdd4ff6d996f6f53280999af24ccfd407d6d541a239fb065cb94ff327c6
<?php /** * @package Joomla.Site * @subpackage Layout * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; extract($displayData); /** * Layout variables * * @v...
PHP
templates/hignew/html/layouts/com_content/article/image.php
media-line/hig
gpl-2.0
1,593
68
codeparrot/github-code
484c08c55fa1d5cc30b08588b737725deba26f39a041fe689097ade64467842f
/* * USE - UML based specification environment * Copyright (C) 1999-2004 Mark Richters, University of Bremen * * 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 * Li...
Java
src/gui/org/tzi/use/gui/views/diagrams/elements/DiamondNode.java
classicwuhao/maxuse
gpl-2.0
8,728
285
codeparrot/github-code
9928212b6ec2bdfec47a0240ccdf2386d5660dc4c6ef46c6193afa2a8014fc55
/* * Created on 9. September 2008, 01:08 * * Copyright 2008 Oliver Eichner <o.eichner@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; either versio...
C
src/DeviceTreeView.h
n0iz/gTableau
gpl-2.0
4,994
178
codeparrot/github-code
7ae6432ce27dc2f9c6b3f32fcd994a73fd185d4d03d0fc73ed8b03b177012b06
// pinout #define SCLK_PIN 13 #define SIN_PIN 14 #define PCLK_PIN 15 // only to selected board, others are high uint8_t update_required=0; uint16_t switches[48]; void setup() { pinMode(SCLK_PIN, OUTPUT); pinMode(SIN_PIN, OUTPUT); digitalWrite(PCLK_PIN, HIGH); pinMode(PCLK_PIN, OUTPUT); } void loop() { } //////...
C++
Ardu3/DraftDevt/Arduino/DorkboxCode.cpp
gratefulfrog/ArduGuitar
gpl-2.0
2,118
93
codeparrot/github-code
95f452b3c9561a82f3a80d81be8945eaf6e2149e3c2eba98282068e27627d94e
/* drivers/net/ethernet/freescale/dpa/dpaa_ptp.c * * DPAA Ethernet Driver -- PTP 1588 clock using the dTSEC * * Author: Yangbo Lu <yangbo.lu@freescale.com> * * Copyright 2014 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU G...
C
drivers/net/ethernet/freescale/dpa/dpaa_ptp.c
jwhitham/ppc_linux
gpl-2.0
8,266
289
codeparrot/github-code
50b76eb1649128fdb01140a7bcfc4a6acec755f1fcc1c4b45895100b0514ca48
<?php /** * MailChimp notifier notifications * * A set of functions to send notifications * * @author rtweedie * @package nth mailchimp * @since 1.2 * @version 1.5 */ include_once( NTHMAILCHIMPPATH . 'classes/nth-mailchimp-core.php' ); include_once( NTHMAILCHIMPPATH . 'vendor/mailchimp-api/src/Mailchimp.php'...
PHP
classes/nth-mailchimp-notification.php
digitales/nth-mailchimp-notifier
gpl-2.0
7,098
256
codeparrot/github-code
f8f9ce9e21b4efd8441b55572e9e330a5210654f68f56f9d839a7000be6d5880
function(debugmsg MSG) if(DEBUG_OUTPUT) message(STATUS "DEBUG: ${MSG}") endif() endfunction() macro(set_maxscale_version) # MaxScale version number set(MAXSCALE_VERSION_MAJOR "1") set(MAXSCALE_VERSION_MINOR "2") set(MAXSCALE_VERSION_PATCH "0") set(MAXSCALE_VERSION_NUMERIC "${MAXSCALE_VERSION_MAJOR}.${...
CMake
cmake/macros.cmake
zendesk/MaxScale
gpl-2.0
7,131
228
codeparrot/github-code
dfaeecf2d96b189ebc113dc74494856ac33a7c5deaeb61d925539e85991ae61b
<?php /** * Tests for the ConsoleUrl helper * * Copyright (C) 2011-2021 Holger Schletz <holger.schletz@web.de> * * 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 L...
PHP
module/Console/Test/View/Helper/ConsoleUrlTest.php
hschletz/Braintacle
gpl-2.0
4,074
124
codeparrot/github-code
acbfbd6709e368d80cd4744efff7cd1b9e2bbc52fa62d481b85bc69d659d7cb2
<?php namespace Icinga\Module\Director\Dashboard\Dashlet; use Exception; use Icinga\Module\Director\Objects\SyncRule; class SyncDashlet extends Dashlet { protected $icon = 'flapping'; public function getTitle() { return $this->translate('Synchronize'); } public function listCssClasses()...
PHP
library/Director/Dashboard/Dashlet/SyncDashlet.php
tobiasvdk/icingaweb2-module-director
gpl-2.0
1,395
66
codeparrot/github-code
ea361184deea6ecaf3968651204889996acca6fcc41eeb0b1b6282f6be5652e5
package android.os; import android.os.Looper; import android.os.Message; import android.os.SystemClock; import android.util.Log; import android.util.Printer; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.Date; import java.text.SimpleDateFormat; /** * @hide */ p...
Java
mediatek/frameworks-ext/base/core/java/android/os/MessageLogger.java
rex-xxx/mt6572_x201
gpl-2.0
10,671
257
codeparrot/github-code
76b7183e78c63810c3fa8bd9ccee2747e4711facf300feecc8d050f89a5c2c14
/***************************************************************************** * * 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 ...
C
common/libc/sincos.c
Erikhht/TCPMP
gpl-2.0
1,745
90
codeparrot/github-code
e911e453c5910b1a57c16edda5492e1acd17c02bca672fc78bd6577c3683be1f
<?php declare(strict_types=1); /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license information, ple...
PHP
typo3/sysext/backend/Classes/Controller/ContentElement/MoveElementController.php
stweil/TYPO3.CMS
gpl-2.0
11,199
232
codeparrot/github-code
1df394c7ebfd9ee49b91cb52da2c93c0f309c13e8f4de9ab0ae482a42c91e875
# coding=utf-8 # generate_completion_cache.py - generate cache for dnf bash completion # Copyright © 2013 Elad Alfassa <elad@fedoraproject.org> # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions of # the GNU General Public Lice...
Python
plugins/generate_completion_cache.py
rholy/dnf-plugins-core
gpl-2.0
2,728
65
codeparrot/github-code
8b528968ec76d494c1f921772cb0e0c4a06495e86fbb8535eb528bdf54008a8e
<?php /* core/themes/stable/templates/admin/status-report.html.twig */ class __TwigTemplate_e430300fd396a513b4bbea1ba72ba097b3368caf91f53bf7a42c6fc32f807ca4 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $...
PHP
sites/default/files/php/twig/355c3156_status-report.html.twig_3e03b167c95d4b6831b9342a307e4844d3c75df6ce65256942c4f44c1f2dbaaf/ae5a6275ec07e81ddc57afa9e680b5c8df13d88bfb4800dc1045d59d5da2b9a8.php
mikekeilty/seventen-marketing-website
gpl-2.0
7,075
161
codeparrot/github-code
6c71d3e8ecf37e4d0aa586b873d710a0101b62e426d40169d15a0404182928aa
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Author: Joseph Herlant <herlantj@gmail.com> # File name: hdfs_disk_usage_per_datanode.py # Creation date: 2014-10-08 # # Distributed under terms of the GNU GPLv3 license. """ This nagios active check parses the Hadoop HDFS web interface url: http://<namenode>:<port>/d...
Python
hdfs_disk_usage_per_datanode.py
aerostitch/nagios_checks
gpl-2.0
3,375
95
codeparrot/github-code
32072a6b92d63cc071654c721f89b7058d7156a67e9d7f97e0d2b611f55191cc
/* * Purple's oscar protocol plugin * This file is the legal property of its developers. * Please see the AUTHORS file distributed alongside this file. * * 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...
C
libpurple/protocols/oscar/family_icq.c
tdrhq/pidgin-clone
gpl-2.0
26,477
898
codeparrot/github-code
40b99ce02531ade7bbe80040122cb9d727c65ee8da20ede344d5d9ff816e104b
/* Copyright 2000 Kjetil S. Matheussen 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...
C
common/clipboard_tempos_copy_proc.h
kmatheussen/radium
gpl-2.0
1,567
48
codeparrot/github-code
238003e43dd0c4d0c8b395ffbfc881af74b5298298bc55318f28e1e76172c169
/* * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
C++
hotspot/src/share/vm/oops/methodData.hpp
karianna/jdk8_tl
gpl-2.0
46,319
1,513
codeparrot/github-code
9ff5d65b88df0b29327dd27334fff2e9c453a925c33e5b43abea1b45c76eca76
/** * @license BitSet.js v4.0.1 14/08/2015 * http://www.xarg.org/2014/03/javascript-bit-array/ * * Copyright (c) 2016, Robert Eisele (robert@xarg.org) * Dual licensed under the MIT or GPL Version 2 licenses. **/ (function(root) { 'use strict'; /** * The number of bits of a word * @const * @type num...
JavaScript
bitset.js
dashuo556/pkbitmap
gpl-2.0
19,561
937
codeparrot/github-code
2c24370864ee5af25e3be5d228d0bf933396d472fa8a449f805c00ec53558d3a
/* * Renjin : JVM-based interpreter for the R language for the statistical analysis * Copyright © 2010-2019 BeDataDriven Groep B.V. and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
Java
core/src/main/java/org/renjin/primitives/sequence/RepStringVector.java
bedatadriven/renjin
gpl-2.0
2,265
78
codeparrot/github-code
c71256f47efe1b50fa360a43b08aa51d6e03e96a206867cc93b5ed57a70cc3da
/* cddrevs.C: Reverse Search Procedures for cdd.C written by Komei Fukuda, fukuda@ifor.math.ethz.ch Version 0.77, August 19, 2003 */ /* cdd.C : C-Implementation of the double description method for computing all vertices and extreme rays of the polyhedron P= {x : b - A x >= 0}. Please read COPYING...
C++
cddrevs.C
bchretien/cddplus
gpl-2.0
15,666
565
codeparrot/github-code
c651572fe95a6347c9f8f5cf6100fb15fd74d34b63bd479aaa8e97b11d897f0f
<!doctype html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> <!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!...
HTML
_site/articles/sfml-pvz/index.html
Drusy/drusy.github.io
gpl-2.0
13,932
312
codeparrot/github-code
26eb8953ae446be7e910305c72122fc27e182cfa8766c3dc261cf627375ae09c
/** 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 ...
Java
bigdata-rdf/src/java/com/bigdata/rdf/sparql/ast/optimizers/ASTQueryHintOptimizer.java
rac021/blazegraph_1_5_3_cluster_2_nodes
gpl-2.0
28,914
873
codeparrot/github-code
5d289f5ef95bca91e61079117a852fa1c30b857b4b48bd10f33218b90093297a
<?php /** * The template for displaying posts in the Audio post format * * @package WordPress * @subpackage Shopera * @since Shopera 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <span class="post-format post-format-audio"> <a class="entr...
PHP
wp-content/themes/shopera/content-audio.php
sumeetbajra/jewelleryshop
gpl-2.0
2,237
56
codeparrot/github-code
ffcda4785a84890d8b25ae6e29e0f82bda722414208f29d54359b82581b44c4b
/* Copyright 2008 by Robert Knight <robertknight@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; either version 2 of the License, or (at your option) any later version....
C
src/WarningBox.h
spytheman/konsole
gpl-2.0
1,400
57
codeparrot/github-code
7cc686a24c39c9a5188781c065be23dab568da32acbdd2626511fda6fd7d79af
/* Postprocess module symbol versions * * Copyright 2003 Kai Germaschewski * Copyright 2002-2004 Rusty Russell, IBM Corporation * Copyright 2006-2008 Sam Ravnborg * Based in part on module-init-tools/depmod.c,file2alias * * This software may be used and distributed according to the terms * of the GNU Ge...
C
scripts/mod/modpost.c
AdiPat/i9003_Kernel
gpl-2.0
57,479
2,204
codeparrot/github-code
7032426221386b182399ae528940f9351c98223fd8aa9207441e7bc52eb226a8
// =================================================================================== // Microsoft Developer Guidance // Application Guidance for Windows Phone 7 // =================================================================================== // Copyright (c) Microsoft Corporation. All rights reserved....
C#
Fuel Recorder/FuelRecorder/Model/CarDataStore.cs
chahalarora/R.S.C-WindowsPhone
gpl-2.0
9,591
257
codeparrot/github-code
34b284547a2b2745f14fd159c3328598f1c31a45fae222babe2ef388f3b58e71
package com.serotonin.mango.util; import com.serotonin.mango.Common; import com.serotonin.mango.rt.dataImage.DataPointRT; import com.serotonin.mango.rt.event.EventInstance; import com.serotonin.mango.rt.event.handlers.EmailHandlerRT; import com.serotonin.mango.rt.event.handlers.EmailToSmsHandlerRT; import com.serotoni...
Java
src/com/serotonin/mango/util/SendMsgUtils.java
SCADA-LTS/Scada-LTS
gpl-2.0
11,593
252
codeparrot/github-code
0225aa2eaf15d707b1641cd9982894c4f51d053aee21b59886a5fafffa25fe03
package doser.webclassify.dpo; import java.util.Set; import doser.entitydisambiguation.table.logic.Type; import doser.webclassify.algorithm.PageSimilarity; public class WebSite implements Cloneable, Comparable<WebSite> { private String name; private String text; private int objectId; private Set<Type> types; p...
Java
doser-core/src/main/java/doser/webclassify/dpo/WebSite.java
quhfus/DoSeR
gpl-2.0
1,245
69
codeparrot/github-code
882a2e2a80de34f176a63862e1f3e4925cab39ec895359e2138b80c47e859e53
# -*- coding: utf-8 -*- # Asymmetric Base Framework - A collection of utilities for django frameworks # Copyright (C) 2013 Asymmetric Ventures Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free S...
Python
asymmetricbase/jinja/response.py
AsymmetricVentures/asymmetricbase
gpl-2.0
1,647
43
codeparrot/github-code
7a2c3b60c3a67eb7b46e9ba56160814e3b1b019e0e7a0990c3cebb1b950a552b
/* * dgMaster: A versatile, open source data generator. *(c) 2007 M. Michalakopoulos, mmichalak@gmail.com */ package generator.misc; import java.util.Vector; /** * * Represents the information used to create a new text output file. * It also holds a vector of DataFileItem which define what to outpu...
Java
src/main/java/generator/misc/DataFileDefinition.java
tspauld98/white-mercury-dg
gpl-2.0
1,890
96
codeparrot/github-code
4fc971b6f38620a93b2f00047682622a209ae9c6a55360ede53b0e00c00fe43d
<?php /** * DokuWiki Plugin yourip (Syntax Component) * * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html * @author Artem Sidorenko <artem@2realities.com> * 2019-09 target urls changed by Hella Breitkopf, https://www.unixwitch.de */ // must be run within Dokuwiki if (!defined('DOKU_INC')) die(); if (!d...
PHP
syntax.php
artem-sidorenko/dokuwiki-yourip
gpl-2.0
2,841
99
codeparrot/github-code
22d4ba7c14d5ed0e4f33603358a900bc22235994efb158bb1dca69f1c58919d6
//-----------------------------------------------------------------------------+ // | // DehnenMcLaughlin.cc | // ...
C++
usr/dehnen/falcON/src/public/acc/DehnenMcLaughlin.cc
jobovy/nemo
gpl-2.0
6,388
125
codeparrot/github-code
3eff1eae8ece933722b6cbd5ad89be276062adb19d0f90816778d27b12af9e9f
#!/usr/bin/env python3 """ * Copyright (c) 2015 BEEVC - Electronic Systems This file is part of BEESOFT * software: you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later...
Python
Loaders/PrinterInfoLoader.py
beeverycreative/beeconnect
gpl-2.0
5,218
185
codeparrot/github-code
8735ffc15138ebc5ebdb1d2fedba7ab56d49d7fea97d5a43859315c15c29af5d
/* * OpenRPT report writer and rendering engine * Copyright (C) 2001-2007 by OpenMFG, LLC (info@openmfg.com) * Copyright (C) 2007-2008 by Adam Pigg (adam@piggz.co.uk) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publis...
C++
libs/koreport/wrtembed/reportsectiondetail.cpp
donniexyz/calligra
gpl-2.0
6,405
214
codeparrot/github-code
6a15f1ca3450cff75a40ddc79a530529351c861adda19aef9d2b67ca87797d53
/* * main.c main loop of emulator. * * This file is part of the minicom communications package, * Copyright 1991-1995 Miquel van Smoorenburg. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software F...
C
src/main.c
Passw/minicom
gpl-2.0
22,164
953
codeparrot/github-code
a8f5bbdbaa1328d39c6c8e4ef2e01fa6b02bbc171862b4972d237138567f2d8d
/* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distribut...
C
source/client/cl_fx.c
vayerx/alienarena
gpl-2.0
85,573
4,056
codeparrot/github-code
8789372cac41feb093d034db46a37449a451d808f0768f970b93692b06627145
<?php /******************************************************************************* Copyright 2010 Whole Foods Co-op This file is part of CORE-POS. CORE-POS 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 Sof...
PHP
fannie/install/util.php
CORE-POS/Office
gpl-2.0
14,367
449
codeparrot/github-code
dc26733e3ecf6873124e1cadb0e5e56ca114870e6ca6d41f1c8e769007e9c264
<?php /** * WPBakery Visual Composer Shortcodes settings * * @package VPBakeryVisualComposer * */ WPBMap::map( 'vc_column_text', array( "name" => __("Text block", "js_composer"), "base" => "vc_column_text", "class" => "", "icon" => "icon-wpb-layer-shape-text", "wrapper_class" => "clearf...
PHP
wp-content/themes/flexform/includes/page-builder/config/map.php
coogie/incoaching
gpl-2.0
63,839
1,337
codeparrot/github-code
61b46e073801db7186844b6677dad2f375a35fc7071fca083eee6c045cbb310e
/* This file is part of the KDE project Copyright (C) 2009, 2011 Dag Andersen <danders@get2net.dk> 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, o...
C
plan/libs/ui/kpthtmlview.h
donniexyz/calligra
gpl-2.0
2,088
81
codeparrot/github-code
81794c28cb97511730541849c60d13c06d23359f15403081331b9eee70374d7a
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly function mc_select_category($category, $type='event', $group='events' ) { $category = urldecode($category); global $wpdb; $mcdb = $wpdb; if ( get_option( 'mc_remote' ) == 'true' && function_exists('mc_remote_db') ) { $mcdb = mc_remote_db(); } ...
PHP
wp-content/plugins/my-calendar/my-calendar-limits.php
swolverton/WEStoryEngine
gpl-2.0
8,900
275
codeparrot/github-code
a8af5d38aa338d57f96ca79dc2ec95704afbddce31df0b1986040268b034dcc1
/* break-align-interface.cc -- implement Break_alignment_interface source file of the GNU LilyPond music typesetter (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl> */ #include "break-align-interface.hh" #include "align-interface.hh" #include "axis-group-interface.hh" #include "dimensions.hh" #include "int...
C++
lily/break-alignment-interface.cc
drewm1980/lilypond-an
gpl-2.0
11,006
417
codeparrot/github-code
b309a7975441b39d6f957845e33cdd739d23b6b400e5402e4451127f251a526e
/* * Given an integer k and a string s, * find the length of the longest substring that contains at most k distinct characters. * * For example, given s = "abcba" and k = 2, * the longest substring with k distinct characters is "bcb". */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <str...
C
programs/subarrLongestDistinct.c
susingha/0x_tools
gpl-2.0
1,846
107
codeparrot/github-code
a82050250b153d8fb9dd61f5c4d54f0c6a4e015ea7306016f9f1aaca719d57f6
<?php namespace App\Model; abstract class Model { /** * Database connection * @var \DBConnection */ protected $db; /** * Table name * @var string */ protected $table; /** * ID field * @var string */ protected $idField = 'id'; ...
PHP
src/App/Model/Model.php
sahartak/v1poject
gpl-2.0
4,053
170
codeparrot/github-code
1a45f3a165f13fafd2f8a1e5046b65c27e2cbc40e45952fea9e6fab6a4bb9408
#ifndef _I386_PGTABLE_3LEVEL_H #define _I386_PGTABLE_3LEVEL_H /* * Intel Physical Address Extension (PAE) Mode - three-level page * tables on PPro+ CPUs. * * Copyright (C) 1999 Ingo Molnar <mingo@redhat.com> */ #define pte_ERROR(e) \ printk("%s:%d: bad pte %p(%08lx%08lx).\n", __FILE__, __LINE__, &(e), (e).pte_h...
C
include/asm-i386/mach-xen/asm/pgtable-3level.h
dduval/kernel-rhel4
gpl-2.0
5,316
186
codeparrot/github-code
4ee00fa365a8755274d65490546af09d5e18f9b252ec6e688f3e5d8256e044fe
/* * dell_rbu.c * Bios Update driver for Dell systems * Author: Dell Inc * Abhay Salunke <abhay_salunke@dell.com> * * Copyright (C) 2004 Dell Inc. * * Remote BIOS Update (rbu) driver is used for updating DELL BIOS by creating * entries in the /sys file systems on Linux 2.6 and higher kernels. * The driver...
C
drivers/firmware/dell_rbu.c
dduval/kernel-rhel4
gpl-2.0
26,200
935
codeparrot/github-code
a194087ac8bf6d3ebb14a907b07bcd4d637b0d235eaa9783a243e0d44625b690
/** * gholder.c -- data structure to hold raw data * Copyright (C) 2009-2014 by Gerardo Orellana <goaccess@prosoftcorp.com> * GoAccess - An Ncurses apache weblog analyzer & interactive viewer * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Li...
C
src/gholder.c
wodev/goaccess
gpl-2.0
14,445
555
codeparrot/github-code
c803ebbc7c6de8819b96f39725d4c4b4bdcd92e893a388c6603b43c5447f0914
/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright( c ) 2009-2012 Realtek Corporation.*/ #ifndef __RTL8723E_PWRSEQ_H__ #define __RTL8723E_PWRSEQ_H__ #include "../pwrseqcmd.h" /* * Check document WM-20110607-Paul-RTL8723A_Power_Architecture-R02.vsd * There are 6 HW Power States: * 0: POFF--Power Off * 1: PDN--Po...
C
rtl8723ae/pwrseq.h
FreedomBen/rtl8188ce-linux-driver
gpl-2.0
12,490
319
codeparrot/github-code
c39893435cb90bd552977fe531c00ec9c3ede6447ef3a266ddfce6cbce510e88
/***************************************************************************** * PreviewWidget: Main preview widget ***************************************************************************** * Copyright (C) 2008-2014 VideoLAN * * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr> * * This program is free softwar...
C
src/Gui/preview/PreviewWidget.h
UIKit0/VLMC
gpl-2.0
2,662
81
codeparrot/github-code
c5d8cb22c2d5df64e7a6d2dbdfe0ccabc733832f4c63a1cc9485c9507b6129a6
/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */ /* Copyright (C) 2005 Carlos Garnacho * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2 of the * License, or...
C
oobs/oobs-share-smb.c
GNOME/liboobs
gpl-2.0
8,313
333
codeparrot/github-code
110ce3db75bf206482023d3709827fd3371c3d22538b6a5c074708dbe15c35fa
// Copyright (c) 2000, Google 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: // // * Redistributions of source code must retain the above copyright // notice, this list of...
C
3rdparty/ctemplate/base/arena-inl.h
hpfem/agros2d
gpl-2.0
14,094
353
codeparrot/github-code
aecc4eea98038eefb2e5bfcb3435ac09393aab227e285408cba95f270493fa5e
<?php /** * The template for displaying product category thumbnails within loops. * * Override this template by copying it to yourtheme/woocommerce/content-product_cat.php * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if...
PHP
wp-content/themes/metric/woocommerce/content-product_cat.php
eddiewangmw/cff
gpl-2.0
2,502
80
codeparrot/github-code
400f5aa309891f5bbafd5a913eb3fcd50c2cfc40f214be9a5cdf316e44bbb828
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Internet Fossils | MS 190: Authorship</title...
HTML
190-2006/node/582/index.html
kfitz/machines
gpl-2.0
11,061
159
codeparrot/github-code
5610c595c12e8467e4606eb5f6fad7cee7df48daa585e9cf13671ed98aa16821
package org.mule.tooling.editor.model; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class Connector extends AbstractPaletteComponent { private ConnectivityTesting connectivityTesting; @XmlAttribute public ConnectivityTesting getCo...
Java
org.mule.tooling.incubator.editor.model/src/org/mule/tooling/editor/model/Connector.java
mulesoft/mule-tooling-incubator
gpl-2.0
1,265
47
codeparrot/github-code
3059f22c4fe77c33c5f7ca2ed0b9e2a4070851af5e62e2e5343b54c23ca842d9
module Handler.Servers where import Import import Control.Exception (IOException, try) import Default (server) import Service.Interface (get_task_types) import Types.TaskTree (TaskTree) getServersR :: Handler Html getServersR = postServersR postServersR :: Handler Html postServersR = do ((result, formWidget), for...
Haskell
yesod/Handler/Servers.hs
marcellussiegburg/autotool
gpl-2.0
1,098
33
codeparrot/github-code
a591f100ff4e9112c21fe99ceccee28b55eaa8a519e43b3a6ed6d90eaf23ed64
/* Copyright 2001 Jeff Dike and others * Licensed under the GPL */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <fcntl.h> #include <errno.h> #include <string.h> #include <net/if.h> #include <sys/un.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <sys/uio.h> #include <linux/if_tun.h> #...
C
uml_net/tuntap.c
xl0/uml-utilities
gpl-2.0
3,985
170
codeparrot/github-code
42ab20c8c12dfe53480aadfb8bd0bc3edd0573f676fabdd9c20933344eeb36a1
/* * Copyright (c) 2010, 2013, 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
modules/graphics/src/main/java/com/sun/glass/events/MouseEvent.java
lostdj/Jaklin-OpenJFX
gpl-2.0
2,312
64
codeparrot/github-code
28ab18c8ab4714b57cdf3310a4295adcb90db16007bf7eddb48f1e187a695d1b
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?><!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <...
PHP
wp-content/themes/twentytwelve/header_new.php
nayanjogi/sbi
gpl-2.0
2,613
58
codeparrot/github-code
9d9aa0cc930a7179dbf8a080f3c6d9837b583607bb62a91dd89aed8084905307
<?php /** * You are allowed to use this API in your web application. * * Copyright (C) 2013 by customweb GmbH * * This program is licenced under the customweb software licence. With the * purchase or the installation of the software in your application you * accept the licence agreement. The allowed usage is o...
PHP
wp-content/plugins/woocommerce_barclaycardcw/lib/Customweb/Core/Charset/WINDOWS860.php
luongtran/shop
gpl-2.0
4,698
186
codeparrot/github-code
4bfe8096de45bf3e86c6d68d3b73bb44feb087f2d39af3938ba7a7977c3b8c4d
/* SPDX-License-Identifier: GPL-2.0-only */ #include "pci_xhci.h" #include <acpi/acpigen.h> #include <acpi/acpigen_pci.h> #include <console/console.h> #include <device/pci.h> #include <device/pci_ids.h> #include <device/xhci.h> #include <stdlib.h> #define PCI_XHCI_CLASSCODE 0x0c0330 /* USB3.0 xHCI controller */ stat...
C
src/drivers/usb/pci_xhci/pci_xhci.c
coreboot/coreboot
gpl-2.0
6,792
268
codeparrot/github-code
56d0fa3aaacd0b0a40992b2db97569f1774ee219e443c39c2dd5ea40025ed087
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. */ #include "tomcrypt_private.h" /** @file oma...
C
dep/tomlib/Crypt/src/mac/omac/omac_done.c
mangosthree/server
gpl-2.0
2,142
85
codeparrot/github-code
1570b3d0c99e001f8780d111fc95dbc8b78edc437cf4f8b77129f477d1fadc6f
/* Spassus2 is a free game (and powerfull engine) for Casio calculators Copyright (C) 2016 Hugo KUENY 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 yo...
C
src/network/sockets/NetworkSocket.h
nessotrin/Spassus2
gpl-2.0
1,428
46
codeparrot/github-code
bc041228fdc672f4950cc5d849a4bd61e4b511f6c5569692b3db2a56c8ba876e
package org.egyptscholars.momken.text2phoneme; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import edu.stanford.nlp.international.a...
Java
src/main/java/org/egyptscholars/momken/text2phoneme/App.java
egyptscholarsinc/momken-text2phoneme
gpl-2.0
4,240
150
codeparrot/github-code
2249e7f207b7633f83a7cfc83737c9b34da3181d0e1a33aacf9e52a71002601b
<?php /** * @version $Id: behavior.php 918 2011-03-21 21:30:59Z stian $ * @category Nooku * @package Nooku_Components * @subpackage Default * @copyright Copyright (C) 2007 - 2010 Johan Janssens. All rights reserved. * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link http://...
PHP
administrator/components/com_default/templates/helpers/behavior.php
srajib/share2learn
gpl-2.0
1,871
73
codeparrot/github-code
9e14e5f5acc970e6ba376304627f89395f9f9e61994c2b541c78cb56eca3912d
/* Copyright (c) Mark J. Kilgard, 1994. */ /* This program is freely distributable without licensing fees and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ /* Exercise all the GLUT shapes. */ #include <stdio.h> #include <stdlib.h> #ifdef _WIN...
C
glut/glut-3.7/test/glut/test16.c
aapodoll/ARToolKit
gpl-2.0
2,863
137
codeparrot/github-code
37c7841fe89c79450dd799407e0d996d2d94f316a552b34a1716d35920a11e0f
<?php session_start(); header ("Content-Type: text/html; charset=UTF-8"); /* * srboard 40.60 * ------------------------------- * Developed By 사리 (sariputra3@naver.com) * License : GNU Public License (GPL) * Homepage : http://srboard.styx.kr */ //if($_SERVER['HTTP_REFERER'] == "http://{$_SERVER['HTTP_HO...
PHP
index.php
erial/srboard
gpl-2.0
66,596
1,449
codeparrot/github-code
cc99a6d4fa5beec7d93bdb88bafe15118237c929da597c059ac0dffedc6d7faa
// // -------------------------------------------------------------------------- // Gurux Ltd // // // // Filename: $HeadURL$ // // Version: $Revision$, // $Date$ // $Author$ // // Copyright (c) Gurux Ltd // //------------------------------------------------------------...
C
development/include/GXDLMSSettings.h
Gurux/Gurux.DLMS.cpp
gpl-2.0
15,289
585
codeparrot/github-code
2e41eb64b2d9e310ed9ec1f406c34c0fece89ddbaa13c81f19ddfae41fca4b49
<?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 th...
PHP
wp-content/themes/ecommerce/inc/Zend/Feed/Element.php
trungkienpvt/wordpress
gpl-2.0
12,600
438
codeparrot/github-code
b7eafde66463a8884235665d57906166bc11a7b677107218bf5858dc87aace63
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /home/test1/tmp/qtopia/qt//qtopia-core-opensource-src-4.3.6/tools/qdbus/src/qdbusextratypes.cpp --> <head> <title>Q...
HTML
qtopiacore/qt/doc/html/qdbusvariant-members.html
muromec/qtopia-ezx
gpl-2.0
6,910
81
codeparrot/github-code
197a596543f86c2a40d8f999dfb9c4e2c13186cd367d2b9f83dd27deb492eb80
# This file is part of the Hotwire Shell user interface. # # Copyright (C) 2007,2008 Colin Walters <walters@verbum.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 ...
Python
meld/ui/msgarea.py
pedrox/meld
gpl-2.0
8,901
260
codeparrot/github-code
e96da6fd0aa4f70e5150de598166bfda9a6bbfcffa6e0b39cf2e97843259ef2d
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command w...
Makefile
docs/Makefile
fallisd/validate
gpl-2.0
6,775
178
codeparrot/github-code
a1eb05c09ab8790730cb0122241c7354a4fb15251dd7944dd04339aa6adaf292
#include <iostream> #include <locale> #include <sstream> #include "hash.h" #include "bloomierHasher.h" using namespace std; namespace bloomier { void BloomierHasher::getNeighborhood(string key, unsigned char result[]) { Hash::getHash(key, hashSeed, m, k, result); // for (int i = 0; i < k; i++) // { /...
C++
ScanningEngine/Cpp/libs/bloomierFilter/core/bloomierHasher.cpp
CSNoyes/BitAV
gpl-2.0
677
30
codeparrot/github-code
0dbc7b09b05c820d1bc3f3dc2ab2ec0a615fc099abecd074bb7511c1d91d7fe0
import React from 'react' import { connect } from 'react-redux' import ItemSelectInput from './ItemSelectInput' import sectionsActions from '../../../actions/SectionsActions' class SectionSelectInputComponent extends React.Component { listSections(query) { let queryObj = {} if (query) { queryObj['q...
JavaScript
dispatch/static/manager/src/js/components/inputs/selects/SectionSelectInput.js
ubyssey/dispatch
gpl-2.0
1,402
63
codeparrot/github-code
3739e47e4ea9cf0d4b90047ade0d4d9206eabbbaab1422e2d79e536f06d7ba7c
/** * Channel.cpp * This file is part of the YATE Project http://YATE.null.ro * * Yet Another Telephony Engine - a fully featured software PBX and IVR * Copyright (C) 2004-2013 Null Team * * This software is distributed under multiple licenses; * see the COPYING file in the main directory for licensing * infor...
C++
engine/Channel.cpp
shimaore/yate
gpl-2.0
42,515
1,741
codeparrot/github-code
fdc359561d3f8a423c99a4ce6724a22105552b3baf7fa92bfc871dcc7f0394f7
/* * Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 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 ver...
C++
src/server/game/Grids/ObjectGridLoader.cpp
SeTM/MythCore
gpl-2.0
9,987
322
codeparrot/github-code
3833eb00be94971b8c742ca607e7405331e9b647112b6463685d997938bcba71
/** * Textarea Element * * @copyright: Copyright (C) 2005-2013, fabrikar.com - All rights reserved. * @license: GNU/GPL http://www.gnu.org/copyleft/gpl.html */ var FbTextarea = new Class({ Extends: FbElement, initialize: function (element, options) { this.plugin = 'fabriktextarea'; this.parent(element, o...
JavaScript
plugins/fabrik_element/textarea/textarea.js
raimov/broneering
gpl-2.0
9,888
369
codeparrot/github-code
6331601ca8ab1b56c3d880ccc5f9e8cb842129e5473fb702035ec19e02761a58
using System; using System.Collections.Generic; using System.Linq; using System.Web; using BaseCommon.Basic; using WebApp.BaseWeb.Common; using System.ComponentModel.DataAnnotations; using BaseCommon.Data; using BusinessLogic.AssetsBusiness; namespace WebApp.Areas.AssetsBusiness.Models.AssetsSplit { public class ...
C#
WebApp/Areas/AssetsBusiness/Models/AssetsSplit/EntryModel.cs
liubaozt/test
gpl-2.0
1,252
40
codeparrot/github-code
6a13c3f72dbed578dd119d6468d6b4622acfeba09499192c93f380929bc12426
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * Copyright (c) 2012, LGE 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. * * This ...
C
arch/arm/mach-msm/lge/j1/board-j1-pmic.c
tkawajir/android_kernel_lg_l04e
gpl-2.0
27,556
876
codeparrot/github-code
df77cbfd819f96cedf0440e1f0d1b2429ffd00ebc88de24c5a365a38fe888e1a
/*tslint:disable:no-bitwise*/ import {InjectedRouter} from 'react-router'; import * as store from 'store'; import {EcpState} from '../store/ecp.state'; import * as session from '../login/session.model'; import * as moment from 'moment'; export class Utility { // temporary functions (this function will only be us...
TypeScript
dev/ec_react/src/common/utility.ts
AlanWarren/dotfiles
gpl-2.0
1,872
61
codeparrot/github-code
f3e122b5d59266ad8223a6e29e8fcc8745d4971dc6ae49110a0e2ef735319929
/* * Device tables which are exported to userspace via * scripts/mod/file2alias.c. You must keep that file in sync with this * header. */ #ifndef LINUX_MOD_DEVICETABLE_H #define LINUX_MOD_DEVICETABLE_H #ifdef __KERNEL__ #include <linux/types.h> typedef unsigned long kernel_ulong_t; #endif #define PCI_ANY_ID ((_...
C
include/linux/mod_devicetable.h
tidatida/linux-stable-grsec
gpl-2.0
16,229
594
codeparrot/github-code
66a6af5fe27171abd1e65cb08f1226d4f712d8e7488223257b72062fb36f724a
/* * Block driver for media (i.e., flash cards) * * Copyright 2002 Hewlett-Packard Company * Copyright 2005-2008 Pierre Ossman * * Use consistent with the GNU GPL is permitted, * provided that this copyright notice is * preserved in its entirety in all copies and derived works. * * HEWLETT-PACKARD COMPANY MAK...
C
drivers/mmc/card/block.c
forfivo/v500_kernel_aosp
gpl-2.0
68,670
2,654
codeparrot/github-code
86c40a1d26dadb0d3f571328a8732d60ad0eab82222c13bb3e20bbb1272fcd56
c----------------------------------------------------------------------- c Demonstration program for the DLSODKR package. c This is the version of 15 June 2001. c c This version is in double precision. c c An ODE system is generated from the following 2-species diurnal c kinetics advection-diffusion PDE system in 2 spa...
FORTRAN
clocc/src/f2cl/packages/odepack/opkdemo6.f
aarestad/gradschool-stuff
gpl-2.0
12,933
364
codeparrot/github-code
8aa1d776276fd24f9ea96d1f402c563574e348f5f2c810e248cfe3ec8375f1b5
/*************************************************************************** * Copyright (C) 2008-2013 by Heiko Koehn - KoehnHeiko@googlemail.com * * Copyright (C) 2014 by Ahmed Charles - acharles@outlook.com * * Copyright (C) 2016 by Ian Adkins - ieadkins@gmail.com * * Copyrig...
C++
src/XMLexport.cpp
SecareLupus/Mudlet
gpl-2.0
42,927
1,165
codeparrot/github-code
492b05f799a6d278fac70c8549e11463ca42a0a26f858a3c332d98574ea66797
/* * This is the source code of Telegram for Android v. 2.0.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2016. */ package org.telegram.ui.Components; import android.content.Context; import an...
Java
TMessagesProj/src/main/java/org/telegram/ui/Components/PickerBottomLayout.java
shazangroup/Mobograph
gpl-2.0
4,787
100
codeparrot/github-code
3760bc6f2b5ac7c7229537ea6cb58c628506a93d9e4839a3449cf7c1610147d3
package com.djlead.leadmod.blocks; import com.djlead.leadmod.Reference; import com.djlead.leadmod.sys.LogOut; import com.djlead.leadmod.sys.MyBlocks; import com.djlead.leadmod.sys.MyTab; import com.sun.scenario.effect.Crop; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecr...
Java
src/java/com/djlead/leadmod/blocks/WhishSoil.java
djLead/modelead
gpl-2.0
7,746
214
codeparrot/github-code
83ee48d03485b425b737e3616943b5f7a3bcddc1efeb82393e134b72db911c75
/*************************************************************** * * (C) 2011-16 Nicola Bonelli <nicola@pfq.io> * * 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 Li...
C
kernel/pfq/percpu.c
pfq/PFQ
gpl-2.0
4,463
178
codeparrot/github-code
dfdf856650bd99b4e6ed1bd801bb3ab9e2addb9667a020c8a006f3617f462a15
/******************************************************************************* Intel PRO/1000 Linux driver Copyright(c) 1999 - 2006 Intel Corporation. This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU General Public License, version 2, as pub...
C
drivers/net/e1000/e1000.h
milaq/linux-hpc
gpl-2.0
10,035
354
codeparrot/github-code
a07f80088404d8cce242c6083a58962218e7188ecbe2f8f64fb52c4c1b312e3b
/****************************************************************************** errorhandler.c for Allmogetracker Allmogetracker receives data from a GPS receiver and transmits it over amature radio using the APRS protocol version 1.0. Copyright (C)2011, Andreas Kingbäck (andki234@gmail.com) This pro...
C
software/almtracker/helpmodules/errorhandler/errorhandler.c
flighttronics/almtracker1
gpl-2.0
4,245
160
codeparrot/github-code
4ba380cc88304a0c40a116abf176164aadbd24250128b0adf661b1b72efa3520
/*- * #%L * Fiji distribution of ImageJ for the life sciences. * %% * Copyright (C) 2007 - 2021 Fiji developers. * %% * 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 ...
Java
src/main/java/mpicbg/spim/fusion/MappingFusionParalellMaxWeight.java
fiji/SPIM_Registration
gpl-2.0
16,106
430
codeparrot/github-code
ad3469065bad76d3821677e7e412a72d261090b56a2da8a2ecae90a650bc66e0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Python logging: why printf-style string formatting may be better than f-strings</title> <!-- Mobile Specific Metas –––––––––––––––––––––––––––––––––––––––––––––––––– --> <meta name="viewport" content="width=device-width, initial-...
HTML
posts/2020/01/24/python-f-strings-in-logging/index.html
pilosus/pilosus.github.io
gpl-2.0
19,833
267
codeparrot/github-code
39521289206892b911d1ad2853157b2c7a3e67d57928fec9cc5a632faeb187af
/* * Copyright (C) 2008 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...
C++
Note2/samsung/t0lte/libsensors/PressureSensor.cpp
rogersb11/Samsung-Recoveries
gpl-2.0
3,977
153
codeparrot/github-code
d3c4ae426209b42e7a99fb4246d7932912bf29d113cf02d2df34c6976e2a9be6
// kX E-DSP Control utility // Copyright (c) Eugene Gavrilov, 2008-2014. // www.kxproject.com // All rights reserved /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2...
C++
edspctrl/edsplib.cpp
Earslicker/kx-audio-driver
gpl-2.0
20,423
646
codeparrot/github-code
63b074d02a107de06b1e72bec4c46e5638b9fe84921f7fa83d0d2ac878e9694e
package nobugs.team.shopping.mvp.interactor; import java.util.List; import nobugs.team.shopping.mvp.model.Product; import nobugs.team.shopping.mvp.model.ProductType; import nobugs.team.shopping.mvp.model.Shop; /** * Created by xiayong on 2015/8/31. */ public interface ProductInteractor { void getProducts(Stri...
Java
app/src/main/java/nobugs/team/shopping/mvp/interactor/ProductInteractor.java
10211509/maketaobao
gpl-2.0
689
33
codeparrot/github-code
641ac9c790f6d753d913f05c8ad91c75f14f4c20a82d34cae62809ecb95191f8
/* * drivers/media/platform/samsung/mfc5/s5p_mfc_opr_v5.c * * Samsung MFC (Multi Function Codec - FIMV) driver * This file contains hw related functions. * * Kamil Debski, Copyright (c) 2011 Samsung Electronics * http://www.samsung.com/ * * This program is free software; you can redistribute it and/or modify ...
C
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
abhijeet-dev/linux-samsung
gpl-2.0
54,280
1,734
codeparrot/github-code
4613ecb5d1c27d9bfb18472666b7362792ab9f1ee80995a2be020c72ad5c7d8c
Ext.define('Planche.lib.Query', { constructor : function(query){ Ext.apply(this, query); }, getPrevRecordSetSQL : function(){ this.start -= this.end; if(this.start < 0) this.start = 0; return this.getSQL(); }, getNextRecordSetSQL : function(){ this.start += this.end; return...
JavaScript
lib/Query.js
skyfly33/planche
gpl-2.0
1,386
96
codeparrot/github-code
3ef0a1fc12f2b7af685e24c5768099b26f1272c416c28b0a8ce7961cab4e98c1
<?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php...
PHP
wp-content/themes/biscayalite/index.php
mrkubek123/fizyka
gpl-2.0
5,736
154
codeparrot/github-code
9c2d69f2e8bd1ce7932fa8c9a4efb13549c8e375a3594d1109abd0780bd0eb35
-- Set the namespace according to the map name. local ns = {}; setmetatable(ns, {__index = _G}); layna_village_kalya_house_path_script = ns; setfenv(1, ns); -- The map name, subname and location image map_name = "Mountain Village of Layna" map_image_filename = "img/menus/locations/mountain_village.png" map_subname = "...
Lua
dat/maps/layna_village/layna_village_kalya_house_path_script.lua
codergreen/ValyriaTear
gpl-2.0
15,466
365
codeparrot/github-code