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
7149e27c6ed1b08984a9868fca63b1c1156e1453433a410e11ca3465335b76ea
#! /usr/bin/env python2.5 ## PyRT: Python Routeing Toolkit ## OSPF module: provides the OSPF listener and OSPF PDU parsers ## Copyright (C) 2010 Richard Mortier <mort@cantab.net> ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Publ...
Python
ospf.py
mor1/pyrt
gpl-2.0
26,560
827
codeparrot/github-code
4f111568201961c6a36d4ed1baea00472a1393e798594d4ee84d7bde3106d8c5
<?php /** * ticketList.php * * List of active tickets * * TCenter 3 - Ticket Management * Copyright (C) 2007-2008 Rochester Institute of Technology * * 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 F...
PHP
admin/ticketList.php
bp1222/tcenter3
gpl-2.0
3,683
115
codeparrot/github-code
eece48da61645c8f7f35f4675f4237512a24ab02e8939c1ceead3a48370fa0cf
<?php function lcr5bbdeb9bae48bifvar($cx, $v, $zero) { return ($v !== null) && ($v !== false) && ($zero || ($v !== 0) && ($v !== 0.0)) && ($v !== '') && (is_array($v) ? (count($v) > 0) : true); } function lcr5bbdeb9bae48bencq($cx, $var) { if ($var instanceof LS) { return (string)$var; } ...
PHP
layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-mastercollection-webplatform/php-templates/compiled/layoutuser-typeahead-component.php
leoloso/PoP
gpl-2.0
5,908
179
codeparrot/github-code
29090b7603048713d86a6939baa660463879ba3b4affd4206f4edde739180c4f
/* * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later ve...
C
src/server/database/Database/DatabaseLoader.h
MitchesD/TrinityCore
gpl-2.0
2,272
76
codeparrot/github-code
8504b0ac2a242c95e4360ef8630f26191e15c9339e201de50592d156bfda734e
# # Copyright (C) 2020 Red Hat, Inc. # # 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 License v.2, or (at your option) any later version. # This program is distributed in the hope that it will be ...
Python
pyanaconda/modules/payloads/source/hmc/initialization.py
atodorov/anaconda
gpl-2.0
2,546
69
codeparrot/github-code
d4b59702609eb6051dbe67dd6226ca3e0e190bcebac0deb6a4bf16e101ab958b
<?php /** * @package Easy Mentions * @subpackage Public Section * @author Gautam Gupta (www.gaut.am) * @link http://gaut.am/bbpress/plugins/easy-mentions/ */ /** * Links the users & tags in posts * * @see bp_activity_at_name_filter() BuddyPress Function * * @param $content The content to be p...
PHP
my-plugins/easy-mentions/includes/public.php
clioweb/DH-Answers
gpl-2.0
2,975
83
codeparrot/github-code
1842517242a4602edcf70bd9075d6ec4ec91b2cbc743fcf9dfe5f42ad86a5ce6
<?php /** 20161106, getLftglyPostmeta.php, this function is called from applyAdvancedSettings function in lftgly-map.js and is passed an argument for the PostID or PageID, snippet of syntax example: var postID_from_URL = jQuery.getUrlVar("p"); var data = []; jsonUrl = wp_plugin_url.concat("lftgly/admin/getL...
PHP
admin/getLftglyPostmeta.php
lftgly/lftgly
gpl-2.0
10,664
233
codeparrot/github-code
ca8fff2d88d083ccb860ffb11ea4cedbacdbb35a406b8a30368de7fe69ae6fb8
<?php /** * Plugin Name: Popup Maker * Plugin URI: https://wppopupmaker.com/ * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more. * Author: WP Popup Maker * Version: 1.4.17 * Author URI: https://wppopupmaker.com/ * ...
PHP
wp-content/plugins/popup-maker/popup-maker.php
EducationNC/EdNC
gpl-2.0
13,659
429
codeparrot/github-code
bf0dbd9690a8d3e43230cdba641a7fe854e7beca9303ba6e9e87d8b2c3fded66
package interview.google; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; /* * Given some words, ...
Java
companies/google/FindLongestMatch.java
sindhujapr/ms_prep
gpl-2.0
10,730
345
codeparrot/github-code
7c93d5509bf8bec4e781725a9a88040d82f3e11d688dd75e43a0f2b6a6345725
// $Id: ToDoTreeRenderer.java 8854 2005-09-11 12:12:25Z mkl $ // Copyright (c) 1996-2005 The Regents of the University of California. All // Rights Reserved. Permission to use, copy, modify, and distribute this // software and its documentation without fee, and without a written // agreement is hereby granted, provided...
Java
sample/argouml/argouml/org/argouml/cognitive/ui/ToDoTreeRenderer.java
carvalhomb/tsmells
gpl-2.0
7,281
172
codeparrot/github-code
27093517e98ddf5cf7eb8396b9b2b8574759449ed2bd540284d01524154426a4
<?php /** * The User Interface "Skins" for the WordPress File Upgrader * * @package WordPress * @subpackage Upgrader * @since 2.8.0 */ /** * Generic Skin for the WordPress Upgrader classes. This skin is designed to be extended for specific purposes. * * @package WordPress * @subpackage Upgrader * @since 2.8...
PHP
wp-admin/includes/class-wp-upgrader-skins.php
sean-yb/ybTheme-test
gpl-2.0
27,046
736
codeparrot/github-code
96d41c61ea163849b7688620355f07ce7ea6ad70aaeb0bd21c57e60402286281
/* * RapidMiner * * Copyright (C) 2001-2008 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
Java
src/com/rapidminer/gui/look/fc/Tools.java
ntj/ComplexRapidMiner
gpl-2.0
6,406
212
codeparrot/github-code
5cf4596711450c90f31e20d99b332d5ae2f870ff01e9f520722f2894b87af00f
using System; using Server.Engines.Craft; using Server.Mobiles; using Server.Regions; namespace Server.Items { public enum RepairSkillType { Smithing, Tailoring, Tinkering, Carpentry, Fletching, Masonry, Glassblowing } public class RepairDeed : I...
C#
Scripts/Items/Consumables/RepairDeed.cs
A2152225/ServUO
gpl-2.0
9,079
310
codeparrot/github-code
61f233aeb6912a6582611f9af5567a3fd685e931912f8fd618f31fcf08713cdd
<?php /** * JBZoo App is universal Joomla CCK, application for YooTheme Zoo component * * @package jbzoo * @version 2.x Pro * @author JBZoo App http://jbzoo.com * @copyright Copyright (C) JBZoo.com, All rights reserved. * @license http://jbzoo.com/license-pro.php JBZoo Licence * @co...
PHP
media/zoo/applications/jbuniversal/framework/render/compare.php
alexmixaylov/real
gpl-2.0
5,364
194
codeparrot/github-code
2a0f55d27c7cf56a47b19e6173db2bf69092e62acdd973c333803d03cca5f015
/* * Copyright 2015 by Kappich Systemberatung Aachen * * This file is part of de.bsvrz.puk.config. * * de.bsvrz.puk.config 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 th...
Java
src/main/java/de/bsvrz/puk/config/configFile/fileaccess/BinaryConfigObject.java
datenverteiler/de.bsvrz.puk.config
gpl-2.0
2,998
101
codeparrot/github-code
8f3bba0f843ea7ae47d5d00b122ecbc74a770a3ab79ab6c9fdd128b4d0f482a2
// Copyright (C) 2000 Tridia Corporation. All Rights Reserved. // Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. // // This file is part of the VNC system. // // The VNC system is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public Licens...
C++
srcacic/VNCViewer/ClientConnectionUltra.cpp
lightbase/agente-windows
gpl-2.0
4,271
113
codeparrot/github-code
472beb200d3db206d6df1cf9350e561c19a845449197a04e31a94be48b1b9370
#-- # $Id: eBayAPI.rb,v 1.31 2006/10/10 08:04:52 garrydolley Exp $ # # Copyright (c) 2005,2006 Garry C. Dolley # # This file is part of eBay4R. # # eBay4R 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...
Ruby
lib/eBayAPI.rb
crystalcommerce/ebay4r
gpl-2.0
6,860
234
codeparrot/github-code
6df841d11aeeeac225a77d81ef62fbffa874de4e8fa935b2a948681507c11899
<?php /** * Custom template tags for Twenty Fifteen * * Eventually, some of the functionality here could be replaced by core features. * * @package Goatpress * @subpackage Twenty_Fifteen * @since Twenty Fifteen 1.0 */ if ( ! function_exists( 'twentyfifteen_comment_nav' ) ) : /** * Display navigation to next/p...
PHP
gp-content/themes/twentyfifteen/inc/template-tags.php
NikV/GoatpressCMS
gpl-2.0
7,947
243
codeparrot/github-code
d1aaf7fe153dea8afdf5a31c9289d459288cd4444ea91102b91ba079d68ebdfd
/** * \file lstrings.cpp * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Lars Gullik Bjønnes * \author Jean-Marc Lasgouttes * \author Dekel Tsur * * Full author contact details are available in file CREDITS. */ #include <config.h> #include ...
C++
src/support/lstrings.cpp
kristi/Lyx
gpl-2.0
27,279
1,268
codeparrot/github-code
8d65e556fed101e8251529dab710e0ca48c9eeb8d900d597d9525b5b479191d5
/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
arch/arm/mach-msm/bam_dmux.c
robcore/S4-AEL-Kernel-Lollipop
gpl-2.0
71,225
2,633
codeparrot/github-code
a3fba8ba67694d7127c22d520083940da880904d80672fb79cfb1332b93fc3c3
package com.ezest.javafx.demogallery.internet; import javafx.application.Application; import javafx.beans.value.*; import javafx.concurrent.Worker; import javafx.event.*; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.effect.BoxBlur; import javafx.scene.layout...
Java
src/main/java/com/ezest/javafx/demogallery/internet/ModalConfirmExample.java
SaiPradeepDandem/javafx-demos
gpl-2.0
3,067
72
codeparrot/github-code
187181abd5a4eecbbf2be784c6c5f1c7d6215bdf61c394633387ae49373de01a
/* * File: player/timed.c * Purpose: Timed effects handling * * Copyright (c) 1997 Ben Harrison * Copyright (c) 2007 A Sidwell <andi@takkaria.org>, Jeff Greene, Diego Gonzalez * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public Li...
C
src/timed.c
antoine-from-rgrd/Minimal
gpl-2.0
18,037
875
codeparrot/github-code
23cc54fd5b40259be188a6cfdf48c7c9db863144222191a4acecb380a434d58f
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
contrib/webrtc/src/webrtc/modules/audio_coding/neteq/dsp_helper.cc
dengxiayehu/orps
gpl-2.0
11,742
354
codeparrot/github-code
52acf3c7b7465385ddd28d11907c4bc3d298a96cd5aaf3fad35bd23afb65b92b
<?php /* * Croma admin framework */ /********** Code Index * * -01- INITIALIZE ADMIN MENU * -02- REGISTER SCRIPTS * -03- ADMIN AJAX FUNCTION * -04- VALUES ARRAY * -05- SAVE THEME DEFAULT SETTINGS ON INITIALIZE * */ /** * -01- INITIALIZE ADMIN MENU */ add_action( 'admin_menu', 'cro_...
PHP
wp-content/themes/sport/inc/admin/admin-functions.php
quincyreid/fitnessbookkeeper
gpl-2.0
3,681
160
codeparrot/github-code
16ce970346df58622ff055ea157b5f88bf39f7662b414ac4099ed000ab2c67e4
<?php /** * @package WordPress * @subpackage TryMee * @since TryMee 1.0 */ define('DOING_AJAX', true); define('WP_ADMIN', true); require_once('../../../../../../../wp-load.php'); require_once('../../../../../../../wp-admin/includes/admin.php'); do_action('admin_init'); if (!is_user_logged_in()) { die(__('You...
PHP
wp-content/themes/trymee_9-2/theme/administrator/tinymce/box/editor_plugin.js.php
djj0s3/itstn
gpl-2.0
2,363
72
codeparrot/github-code
17f1393f85860942b3e0e0741c46fddcbf5bb865cb7412966fc7e0764cedd91a
<?php namespace ZFGuardSecurity\Authenticate\Model; use Zend\Db\Adapter\Adapter; use ZFGuardSecurity\Library\SecureUserInterface; /** * Description of User * * @author jesus */ class SecureUser implements SecureUserInterface{ protected $id; protected $password; protected $username; protected...
PHP
src/Authenticate/Model/SecureUser.php
goabargithub/ZFGuardSecurity
gpl-2.0
4,910
178
codeparrot/github-code
fbeabe28597ae658c47f257999195db0422aa185ab0d87bae3b1a43a077cb092
/* * 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 ...
Java
jdk/src/jdk.security.auth/share/classes/com/sun/security/auth/module/JndiLoginModule.java
shelan/jdk9-mirror
gpl-2.0
30,544
766
codeparrot/github-code
8259bd5da59adf0768bd5c33471c60ed1c770530af3bf6b26ba3ed0c05529251
# This code is a part of Slash, and is released under the GPL. # Copyright 1997-2005 by Open Source Technology Group. See README # and COPYING for more information, or see http://slashcode.com/. package Slash::Remarks; =head1 NAME Slash::Remarks - Perl extension for Remarks =head1 SYNOPSIS use Slash::Remarks; ...
Perl
plugins/Remarks/Remarks.pm
scc/slash
gpl-2.0
4,222
174
codeparrot/github-code
3a60b895e3d28b03c9eefa3a41bca4a6b0904dcd5a0a5fee53697df22bed29ee
# -*- coding: utf-8 -*- # # Copyright 2008 Zuza Software Foundation # # This file is part of translate. # # translate is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at y...
Python
search/indexing/PyLuceneIndexer1.py
rdio/translate-toolkit
gpl-2.0
7,865
210
codeparrot/github-code
d730a68cb2e497f107dc20fac84ff0f3a5aeb0040f8ce1aee5f7b3ce6ad627af
/* * Copyright (C) 2010, Emergya (http://www.emergya.es) * * @author <a href="mailto:jlrodriguez@emergya.es">Juan Luís Rodríguez</a> * @author <a href="mailto:marias@emergya.es">María Arias</a> * * This file is part of GoFleet * * This software is free software; you can redistribute it and/or modify * it under...
Java
map_core/src/main/java/es/emergya/ui/plugins/LayerSelectionDialog.java
Emergya/gofleet
gpl-2.0
8,739
312
codeparrot/github-code
aa69fad48b63c82ddf9cde1db462210e39838adf0d31d9d2ee36d1b3afbadf88
package org.emergencywise.android.app.util; public class Geo { private Geo() {} public static final double LAT_DIVISOR = 1e7; public static final double LNG_DIVISOR = 1e7; private static double deg2rad( double deg ) { double conv_factor = (2.0 * Math.PI) / 360.0; return deg * conv_factor; } public stat...
Java
app/src/main/java/org/emergencywise/android/app/util/Geo.java
emergencywise/android-app
gpl-2.0
1,705
57
codeparrot/github-code
0d12500e7f0614e8f496a4b7f91fb3ea398f3b102b55780f5631e94cea6ccbee
# -*- coding: utf-8 -*- ######################################################################## # # # python-OBD: A python OBD-II serial module derived from pyobd # # # # C...
Python
obd/utils.py
brendan-w/python-OBD
gpl-2.0
6,075
193
codeparrot/github-code
565e3c36b804678195eec0a454e77a85a3ed4a668286a32cdfaf0aff23576dea
<?php /* * Define class WooZoneLightStatsProd * Make sure you skip down to the end of this file, as there are a few * lines of code that are very important. */ !defined('ABSPATH') and exit; if (class_exists('WooZoneLightStatsProd') != true) { class WooZoneLightStatsProd { /* * Some requir...
PHP
wp-content/plugins/woocommerce-amazon-affiliates-light-version/modules/stats_prod/init.php
Abh430/roostash-wp
gpl-2.0
8,230
266
codeparrot/github-code
6721b9852917ff08a6b089bdab6d862b34acee961d0229bc034102400b00d701
#ifndef __LINUX_SEQLOCK_H #define __LINUX_SEQLOCK_H /* * Reader/writer consistent mechanism without starving writers. This type of * lock for data where the reader wants a consistent set of information * and is willing to retry if the information changes. There are two types * of readers: * 1. Sequence readers whi...
C
include/linux/seqlock.h
lookfiresu123/my_linux-3.13.0
gpl-2.0
11,889
442
codeparrot/github-code
98c94e6e8ca3e2beac3eeea3cd4eeaad653665ae720837f4c226e354246fd293
/* * IS-IS Rout(e)ing protocol - isis_tlv.h * IS-IS TLV related routines * * Copyright (C) 2001,2002 Sampo Saaristo * Tampere University of Technology * Institute of Communications Engineering * * This program is free softwa...
C
isisd/isis_tlv.h
MichaelQQ/Quagga-PE
gpl-2.0
21,993
639
codeparrot/github-code
a40b69eacf47a9f46e0010f289c8ad8ee80fd695285bf9a9a863c9ab9ffdb6a6
/* * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. All Rights Reserved. */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option...
C
arch/arm/mach-mx5/mx50_rdp.c
giorgio130/linux-2.6.35-kobo-multitouch
gpl-2.0
83,472
3,230
codeparrot/github-code
b727581c05c128e6152385d9060c9ef58ed4baf0a85722d6969385af7687d699
/* * Privacy Enhanced Mail (PEM) decoding * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by *...
C
src/pem.c
guiquanz/rouge
gpl-2.0
12,566
445
codeparrot/github-code
b1f98ed02df89346364f39899ea16d4227ab14a66aefbc48457e5b7397e48246
module TreasureData class Model def initialize(client) @client = client end attr_reader :client end class Account < Model def initialize(client, account_id, plan, storage_size=nil, guaranteed_cores=nil, maximum_cores=nil, created_at=nil) super(client) @account_id = account_id @plan = plan ...
Ruby
user/td-client-ruby/lib/td/client/model.rb
atmark-techno/atmark-dist
gpl-2.0
11,904
537
codeparrot/github-code
722e897cbf5e618e1afb793ed78b13443ba88af6fd4de0da7dc806b31d18c347
using System; using System.ComponentModel; using System.Data.Linq.Mapping; namespace CmsData.View { [Table(Name = "PrevOrganizationsByPerson")] public partial class PrevOrganizationsByPerson { private static PropertyChangingEventArgs emptyChangingEventArgs => new PropertyChangingEventArgs(""); ...
C#
CmsData/Generated/Functions/PrevOrganizationsByPerson.cs
bvcms/bvcms
gpl-2.0
3,064
129
codeparrot/github-code
ad4e51c1a872837b6b79349cdc90b92a13dda65577815960bd9ce25096f3984b
/* ResidualVM - A 3D game interpreter * * ResidualVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This library is free software; you can redistribute it and/or * modify it under the terms ...
C
engines/grim/font.h
clone2727/residual
gpl-2.0
3,112
95
codeparrot/github-code
cc532818dd650fa08bcf4ea3fd72df6b333b62eb95951b249f5179901bd05fb5
/* 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
noteshared/akonadi/notesakonaditreemodel.h
kolab-groupware/kdepim
gpl-2.0
1,134
34
codeparrot/github-code
4f780b59d82f518d403e11134d92a5a155573576057d48b4e64dd01a71a8f71d
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dal; import com.Negocio.TipoDireccion; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; /** * * @author Julen */ public class TipoDireccionDAL { Conexion conexio...
Java
src/java/com/dal/TipoDireccionDAL.java
Esleelkartea/gestion-de-licencias
gpl-2.0
5,166
187
codeparrot/github-code
f4659ff80905219359a8e095d1233277cd0d90683696dc0a32768beb7952ff9d
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2013 Tatsuhiro Tsujikawa * * 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 Lice...
C++
src/LibgnutlsTLSSession.cc
dzw/as3croelib
gpl-2.0
9,528
306
codeparrot/github-code
c550a0ac40381ae638b51fac8616bdf2b2073bd39a6e1e43ae9cf14aa5bf0503
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Config\Model\Config\Processor; use Magento\Config\Model\Placeholder\PlaceholderFactory; use Magento\Config\Model\Placeholder\PlaceholderInterface; use Magento\Framework\App\Config\Spi\PreProcessorI...
PHP
app/code/Magento/Config/Model/Config/Processor/EnvironmentPlaceholder.php
kunj1988/Magento2
gpl-2.0
1,870
74
codeparrot/github-code
e0613d75c1a41f26d6c71f8b9d8a2e5796a0c0c5095ef2efcea2f989566bf9b7
package org.telegram.ui.Components; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.graphics.*; import android.graphics.Rect;...
Java
TMessagesProj/src/main/java/org/telegram/ui/Components/PhotoPaintView.java
Jamesits/Moegram
gpl-2.0
53,170
1,327
codeparrot/github-code
5db3fb66858f7e047dd1ab7fbaca90f60712d8c20535b7150fd6da7540c30c12
<?php // Functions function text_handleInput($Field, $Input, $FieldType, $Config, $Default){ if($FieldType == 'presettext'){ return $Config['Content']['_Preset'][$Field]; } if($FieldType == 'sanitized'){ return sanitize_title($Default[$Config['Content']['_sanitizeField'][$Field]]); ...
PHP
wp-content/plugins/db-toolkit/data_form/fieldtypes/text/functions.php
ssnukala/SNWordpress
gpl-2.0
12,627
339
codeparrot/github-code
055f251a4d5bba8caefc121a91eb7a45d454d4f88ffdfe7ed0e156b4f603831f
{%- extends 'base.html' -%} {%- block content -%} <div id="homepage" class="row"> <div class="col-md-7 col-lg-8"> <img src="{{ get_static_path('images/logo_big.svg') }}" id="big-logo" /> <h2 class="page-title">Welcome to AcousticBrainz!</h2> <p> The AcousticBrainz project aims to crowd ...
HTML
webserver/templates/index/index.html
metabrainz/acousticbrainz-server
gpl-2.0
5,164
103
codeparrot/github-code
745cc92a0a766f657d2ded534dae9a26d1f832ee181bb14e44aeec4624d74b71
/* Copyright (C) 2001 Tensilica, Inc. All Rights Reserved. Revised to support Tensilica processors and to improve overall performance */ /* Read and manage MIPS symbol tables from object modules. Copyright (C) 1991, 1994, 1995, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. Contribut...
C
gccfe/gnu/mips-tdump.c
qiyao/xcc
gpl-2.0
44,135
1,586
codeparrot/github-code
daafaf5468f5d47371d93fe23e7611c8f584d64a9eebcbad5919f60136514345
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ if (!defined('IN_PHPBB')) { ex...
PHP
language/en/common.php
phpbb-extensions/phpbb-ext-skeleton
gpl-2.0
11,674
161
codeparrot/github-code
a3166cb2fca2b39f95fa5b319247b9ad961bc292ac342facd52daa8a402c2fcd
using System.Collections.Specialized; using System.Linq; using log4net; namespace Terradue.OpenSearch.Model.GeoTime { class ExtensionMetadataExtractor : IMetadataExtractor { private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); NameValueColl...
C#
Terradue.OpenSearch.Model.Base/Terradue/OpenSearch/Model/GeoTime/ExtensionMetadataExtractor.cs
Terradue/DotNetOpenSearchClient
gpl-2.0
1,005
45
codeparrot/github-code
86dba52c5230fbd97597edf9d1151cfdb8fcf7b20f53fe67216a4d5a7fa39ea6
<?php /** * Plugins administration panel. * * @package WordPress * @subpackage Administration */ /** WordPress Administration Bootstrap */ require_once('./admin.php'); if ( ! current_user_can( 'activate_plugins' ) ) wp_die( __( 'You do not have sufficient permissions to manage plugins for this site.' ) ); if (...
PHP
wp-admin/plugins.php
beaucollins/wp
gpl-2.0
34,301
781
codeparrot/github-code
be0df8444f19626c11cde1bc11d5f596aec2471ffdd1f1f31065bda8331c02c2
#region MIT License /* * Copyright (c) 2005-2007 Jonathan Mark Porter. http://physics2d.googlepages.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, i...
C#
Old/First prototype/PhysicsEngine/AdvanceMath/PrimeNumberGenerator.cs
nesherhh/MultiTouchVista
gpl-2.0
2,975
91
codeparrot/github-code
f88f79a0cb49c56f998a6fb84854f1718235d56fb9d6b0d4180fea3629c5dc3f
#include "StdAfx.h" #include "¶ÎDesktop.h" #include <ShlObj.h> #include <atlconv.h> //https://www.cnblogs.com/new0801/archive/2012/08/15/6177723.html Desktop::Desktop(void) { Init(); } Desktop::~Desktop(void) { } void Desktop::Init() { m_pIShellFolder=NULL; m_pIEnumFolder=NULL; m_pAppData=NULL; m_pIE...
C++
Source/W201621/GetDeskTopico/段Desktop.cpp
doublesword/commuse
gpl-2.0
6,567
262
codeparrot/github-code
ba12f1b7a31d6d2a74be29e71db5b80eec203522ee809b923b73c13323ed886d
#include <linux/module.h> #include <linux/moduleparam.h> #include <linux/init.h> #include <linux/delay.h> #include <asm/io.h> #include "cx23885.h" #include <media/v4l2-common.h> static unsigned int i2c_debug; module_param(i2c_debug, int, 0644); MODULE_PARM_DESC(i2c_debug, "enable debug messages [i2c]"); static un...
C
drivers/media/video/cx23885/cx23885-i2c.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
8,459
387
codeparrot/github-code
9069736a1963846f7103c7d7b8efa523f850eff31be9f5b6fc3f19903ffc15b8
/* * Copyright (C) 2012-2022 52°North Spatial Information Research GmbH * * 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. * * If the program is linked with libraries which are l...
Java
extensions/inspire/code/src/main/java/org/n52/sos/inspire/capabilities/InspireExtendedCapabilitiesProvider.java
52North/SOS
gpl-2.0
13,546
328
codeparrot/github-code
8b8948e25ee5ce00af330b9d64f78b583efb4f1eb8d86540bc1dd0d5481e45d3
/*************************************************************************** * Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, * * Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. * * * * Merc Dik...
C
src/tables.c
syn2083/BrokenDreams-RoT-2014
gpl-2.0
32,131
1,013
codeparrot/github-code
3567c5274b83476ff42cff8df76cb71f877ca48ff5f16fea7e8ae7e4c2e67ef2
using UnityEngine; using System.Collections; [RequireComponent(typeof(AudioSource))] public class RayPlane : MonoBehaviour { public float minDistance = 0; [SerializeField] private Collider RaycastBackPlane; [SerializeField] private Collider CollisionPlane; [SerializeField] private GameObject cursor; ...
C#
Istiamurai/Assets/RayPlane/RayPlane.cs
Kiruchi/Istiamurai
gpl-2.0
2,591
77
codeparrot/github-code
a79300bad446603fccc49dff2231c657be0568c9053fbf71d76d48ba551a36ed
/* This file is part of Jedi Academy. Jedi Academy 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. Jedi Academy is dist...
C++
code/rd-vanilla/tr_draw.cpp
Razish/OpenJK-Speed
gpl-2.0
32,244
1,067
codeparrot/github-code
37e15fbe619ebf27325babc9c0535566406b002efc701f60852255f01f7a2419
// Copyright (C) 2001-2002 Raven Software // // bg_weapons.h - weapons data loading #ifndef __BG_WEAPONS_H__ #define __BG_WEAPONS_H__ // means of death typedef enum { MOD_UNKNOWN, // Knife MOD_KNIFE, // Pistols MOD_M1911A1_PISTOL, MOD_USSOCOM_PISTOL, MOD_SILVER_TALON, // Secondarys ...
C
code/game/bg_weapons.h
sof2plus/sof2plus-engine
gpl-2.0
11,255
383
codeparrot/github-code
6da5a3ae71e56f3f119d34c977106284aeb8ed907e450cc56f71121ca83403ae
/* * Copyright (C) 2005-2013 Team XBMC * http://kodi.tv * * 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 version. * * T...
C
xbmc/guilib/GUITextureGL.h
MaxKellermann/xbmc
gpl-2.0
1,552
56
codeparrot/github-code
bf0907a6f5583d8e9a576200450075d533afbec8837e2cd596c505bdf287bfc7
/**************************************************************************** ** ** This file is part of the Qtopia Opensource Edition Package. ** ** Copyright (C) 2008 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public Licen...
C++
src/plugins/inputmethods/pinyin/pinyinimpl.cpp
muromec/qtopia-ezx
gpl-2.0
3,438
156
codeparrot/github-code
fcab3d9807c0397687a6ef80df386bf14ba94c0c2ae89ca30c77da5a82422859
package com.satansin.android.compath.socket; import com.satansin.android.compath.logic.NetworkTimeoutException; import com.satansin.android.compath.logic.NotLoginException; import com.satansin.android.compath.logic.UnknownErrorException; import com.satansin.android.compath.logic.UploadService; public class Upl...
Java
client_android/Compath/src/com/satansin/android/compath/socket/UploadServiceSocketImpl.java
satansin/compath
gpl-2.0
3,610
111
codeparrot/github-code
d1f4b0baa65dbc307392c1e3f608024ab62e2a4e7ea8d9ef6c2a8770e5eb0c53
<?php // prevent direct access if ( preg_match( '#' . basename(__FILE__) . '#', $_SERVER[ 'PHP_SELF' ] ) ) die( "Direct access to this script is forbidden!" ); // front end class class fpwCategoryThumbnails { public $fctOptions; public $fctPath; public $fctUrl; public $fctVersion; public $fctPage; public $wpV...
PHP
wp-content/plugins/fpw-category-thumbnails/classes/fpw-category-thumbnails-front-class.php
stevebutton/www.maps.ponabana.dev
gpl-2.0
5,185
149
codeparrot/github-code
893a94e2db4d9453701ea188e84ba07579e1e90280af21ab5108ab7618975636
package Math::Calc::Units::Convert::Multi; use base 'Exporter'; use vars qw(@EXPORT_OK); BEGIN { @EXPORT_OK = qw(to_canonical simple_convert singular variants major_variants major_pref range_score pref_score get_class construct); }; require Math::Calc::Units::Convert::Time; require Math::Calc::Uni...
Perl
Units/Convert/Multi.pm
gitpan/Math-Calc-Units
gpl-2.0
3,359
144
codeparrot/github-code
2bf111544a6cb46faff46a61697a92a4379671e471cea724d168e7196b0d29f2
<?php /* * @file comment.php * @package Busiprof * @author Priyanshu Mittal * @copyright 2013 Webrit * @license license.txt * @filesource wp-content/themes/Busiprof/comment.php */ ?> <?php if ( post_password_required() ) : ?> <p class="nopassword"...
PHP
wp-content/themes/busiprof/comments.php
toyo213/linehair
gpl-2.0
3,538
66
codeparrot/github-code
47b36bad57bfbb9a42bde5167f14a03a3967d5f3769531481865e7700af231a7
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions for the TCP module. * * Version: @(#)tcp.h 1.0.5 05/23/93 * * Authors: Ross Biro * Fred N. v...
C
include/net/tcp.h
CyanogenMod/android_kernel_motorola_msm8960-common
gpl-2.0
47,305
1,541
codeparrot/github-code
9f738a870ab829dec22b356e25e5bf308bc904c54705bec5efbd102c87e499e8
/** * Obtiene el tipo y nombre de un selector * * @type {RegExp} */ const SELECTOR_REGEX = /^([#.]?)(\*|[\w-]+)$/ /** * Tipos de selector como clave, y métodos de consulta como valor * * @enum {string} */ const queryMethods = { '#': 'getElementById', '': 'getElementsByTagName', '.': 'getElementsByClassNa...
JavaScript
src/dom/query.js
escueladigital/EDdom
gpl-2.0
980
48
codeparrot/github-code
9b5cdea338145998a57166e7d4700ce8e6f1b4fc36028171e847e6faecf78ac9
/* * Copyright Captainsoft 2010 - 2015. * All rights reserved. */ package com.captainsoft.tools; import java.io.IOException; import java.util.Map; import java.util.SortedSet; import java.util.TreeSet; import com.captainsoft.TADr.loader.vb.VbPuzzleLoader; import com.captainsoft.TADr.model.puzzle.talk.TalkPage; impo...
Java
src/com/captainsoft/tools/TalkPatcher.java
captainsoft/terminal-angel-disease
gpl-2.0
3,381
114
codeparrot/github-code
addef7b14e0f6a7d5d8a082a3ff0413a357dafe5f19da20ae9ca6dc1d98af736
#region License /* * Copyright (C) 1999-2021 John Källén. * * 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 version. * * This program i...
C#
src/Arch/Arc/ARCompactState.cs
nemerle/reko
gpl-2.0
2,412
80
codeparrot/github-code
10f71f9c7839d0471a32ade7d9d357f2c8556dae989e6acf226c2fb2ac786801
/** * */ package ubu.gii.dass.test.c01; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author alumno * */ public class ReusablePoolTest { /** * @throws java.lang.Exception */ @Before public void setUp() throws Exception { } /** * @t...
Java
src/test/ubu/gii/dass/test/c01/ReusablePoolTest.java
clopezno/poolobject
gpl-2.0
923
57
codeparrot/github-code
e05d39288bfbaac55ff7352548f24c2d7e053e1c0ef4dadcfa793dee856d8668
from django.db import models as dbmodels, connection from django.utils import datastructures from autotest.frontend.afe import model_logic, readonly_connection _quote_name = connection.ops.quote_name class TempManager(model_logic.ExtendedManager): _GROUP_COUNT_NAME = 'group_count' def _get_key_unless_is_func...
Python
frontend/tko/models.py
yangdongsheng/autotest
gpl-2.0
30,170
742
codeparrot/github-code
e4f1952077568eb88283c766c33e0b8b872152234461737d1a00a6a1b945e8ac
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * 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 ...
C
src/server/game/AI/SmartScripts/SmartScript.h
Nalliestrasza/LegionHearth
gpl-2.0
6,941
151
codeparrot/github-code
11edd76d4f14c8c0fc95ed1e5c63d5955dfc652522def3b40322fa980ae6e517
import { bumpStat } from '../../../rest-client/bump-stat'; import { markReadStatus, markPostAsSeen } from '../../../rest-client/wpcom'; import * as types from '../../action-types'; import getIsNoteRead from '../../selectors/get-is-note-read'; import getNote from '../../selectors/get-note'; const clearLocalReadCache = ...
JavaScript
apps/notifications/src/panel/state/action-middleware/notes/read-status.js
Automattic/wp-calypso
gpl-2.0
1,860
61
codeparrot/github-code
aef6f2e0c5af80217bee72340612e7b13b3ad854aa8e0d77e0401db012116b9d
<?php /** * Generic class to handle caching * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Chris Smith <chris@jalakai.co.uk> */ if(!defined('DOKU_INC')) die('meh.'); class cache { var $key = ''; // primary identifier for this item var $ext = ''; // file ext f...
PHP
inc/cache.php
anthonywei/duku_wiki
gpl-2.0
8,821
269
codeparrot/github-code
30bace43292cc31892550b0164e24b80705912bd961e5ae527aca47353b23afa
<?php class A_Ecommerce_Ajax extends Mixin { /** * Read an image file into memory and display it * * This is necessary for htaccess or server-side protection that blocks access to filenames ending with "_backup" * At the moment it only supports the backup or full size image. */ functio...
PHP
wp-content/plugins/nextgen-gallery-pro/modules/ecommerce/adapter.ecommerce_ajax.php
glazerscunning/King-Pools
gpl-2.0
5,042
136
codeparrot/github-code
90dc895d04bc37749fac227494ec863275cb8d49d9432cd140847ee6953f9532
/* * Copyright (C) 2004-2016 Michael Medin * * This file is part of NSClient++ - https://nsclient.org * * NSClient++ 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 L...
C++
include/EnumNtSrv.cpp
mickem/nscp
gpl-2.0
19,615
554
codeparrot/github-code
e7aa96b4a5badaf39f55b2eea417748d662f7f6159b49afb589f252d778d7900
/* * USE - UML based specification environment * Copyright (C) 1999-2010 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/behavior/sequencediagram/AssLifeline.java
classicwuhao/maxuse
gpl-2.0
10,709
308
codeparrot/github-code
9a3ff8b81a8b572d81ce4fe9b46a48bbffc99db3e6f80a3caad0b5c2c540eafc
/******************************** -*- C -*- **************************** * * Asynchronous events from the VM - POSIX version * * ***********************************************************************/ /*********************************************************************** * * Copyright 2003, 2006, 2008, 2009 ...
C
libgst/sysdep/posix/events.c
bonzini/smalltalk
gpl-2.0
10,929
469
codeparrot/github-code
115349317fa392a0aed0270300997f967a0059a4bf988a7ff859c09d6dc3670a
/*************************************************************************** oss.c - description ------------------- begin : Wed May 15 2002 copyright : (C) 2002 by Pete Bernert email : BlackDove@addcom.de *...
C++
plugins/src/oss.cpp
Ced2911/cloaked-ninja
gpl-2.0
4,947
187
codeparrot/github-code
16ba3c26df9de277fdd9ff6d6b8462850712b7d9b6a3a1fb0961839502bf1a3a
<?php /** * Twenty Twelve functions and definitions. * * Sets up the theme and provides some helper functions, which are used * in the theme as custom template tags. Others are attached to action and * filter hooks in WordPress to change core functionality. * * When using a child theme (see http://codex.wordpres...
PHP
wp-content/themes/twentytwelve/functions.php
Poly92/wordpress
gpl-2.0
17,529
483
codeparrot/github-code
73b20e034446c12aa16b35cba0ab3060c8658f273490e8862d70c9008a1d9107
#ifndef __RATELIMITER_H__ #define __RATELIMITER_H__ class COptionsBase; class CRateLimiterObject; // This class implements a simple rate limiter based on the Token Bucket algorithm. class CRateLimiter final : protected CEventHandler { public: CRateLimiter(CEventLoop& loop, COptionsBase& options); ~CRateLimiter(); ...
C
src/engine/ratelimiter.h
botg/FileZilla3
gpl-2.0
1,466
67
codeparrot/github-code
24a602c0aefef365e217488f20a87744cf91d3431c311ffbc0846be4f4861032
<section id="page"> <header class="clearfix page-container"> <div class="container"> <?php if ($main_menu): ?> <nav> <?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'inline', 'clearfix')))...
PHP
sites/all/themes/pfo/tpl/page--front.tpl.php
fourkitchens/pressflow.org
gpl-2.0
4,282
96
codeparrot/github-code
85e66bd33f69e8674106272fa489a79af4bdb5898d390c1f8fb7f2819a502405
// slavi16Dlg.h : header file // #if !defined(AFX_SLAVI16DLG_H__8B19EF4B_D2E7_4AEB_AB05_873C5850D2C8__INCLUDED_) #define AFX_SLAVI16DLG_H__8B19EF4B_D2E7_4AEB_AB05_873C5850D2C8__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 /////////////////////////////////////////////////////////////...
C
CAndCpp/VisualCpp/slavi16/slavi16Dlg.h
slavidlancer/AdditionalTrainingInProgramming
gpl-2.0
1,358
52
codeparrot/github-code
7dd8b53901a1b9fa65a0ecd03a2c675be9ad3d13478dc938017a79759227fbfb
/* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information * 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 opti...
C++
src/game/AI/ScriptDevAI/scripts/northrend/nexus/oculus/boss_varos.cpp
blueboy/portal
gpl-2.0
12,331
390
codeparrot/github-code
fdd4ca711948d5af6dbd2b92d5b14474213dcfb6cd36fbb6c88fb02bb4c90fa1
#ifndef WACOM_H #define WACOM_H #include <linux/kernel.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/init.h> #include <linux/usb/input.h> #include <asm/unaligned.h> #define DRIVER_VERSION "v1.51" #define DRIVER_AUTHOR "Vojtech Pavlik <vojtech@ucw.cz>" #define DRIVER_DESC "USB Wacom Graphire ...
C
drivers/input/tablet/wacom.h
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
2,530
66
codeparrot/github-code
0742d8bd7ca1dd4c26162b64741946e3814af4d700a35240eb6f45d1385ed10b
/* * Copyright Siemens AG, 2013-2015. Part of the SW360 Portal Project. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License Version 2.0 as published by the * Free Software Foundation with classpath exception. * * This program is distribu...
Java
libraries/importers/component-importer/src/main/java/com/siemens/sw360/importer/ReleaseImporter.java
heydenreich/sw360portal
gpl-2.0
2,979
75
codeparrot/github-code
4b3220c36605ad9d835306044465a69150b06a2896e39047769d6a7a8233a673
<?php /** * Base class for Shells * * PHP 5 * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistribution...
PHP
lib/Cake/Console/Shell.php
joniborda/cav
gpl-2.0
23,248
849
codeparrot/github-code
152bff56b9dad31dd1b80fb9d35d96621c11e1d8561d2cfcf2c77901f11296a2
// vim:set noet cinoptions= sw=4 ts=4: // This file is part of the eix project and distributed under the // terms of the GNU General Public License v2. // // Copyright (c) // Wolfgang Frisch <xororand@users.sourceforge.net> // Emil Beinroth <emilbeinroth@gmx.net> // Martin Väth <martin@mvath.de> #ifndef SRC_CACH...
C
src/cache/metadata/metadata.h
vaeth/eix
gpl-2.0
2,174
81
codeparrot/github-code
3a18bdd111772b451cea516175c529e8c98813e1f91ad9840b102d488c31fd9c
PROGRAM ANRTST C------------------------------------------------------------------ C FORTRAN 77 program to test ANORM, the normal probability integral. C C Method: C C Accuracy test compares function values against local Taylor's C series expansions. Derivatives for anorm(x) are expressed as C repea...
FORTRAN
clocc/src/f2cl/packages/toms/715/anrtst.f
aarestad/gradschool-stuff
gpl-2.0
11,920
319
codeparrot/github-code
e3216056f4fd37ffe9e311ac7c67b9743fa0080af74dd5ff464dd9d47cfeed65
#ifndef TABLEMODEL_HPP #define TABLEMODEL_HPP /* Copyright (c) 2009-10 Qtrac Ltd. All rights reserved. This program or module 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 ...
C++
CPP/full_examples/aqp-qt5/zipcodes2/tablemodel.hpp
paradiseOffice/Bash_and_Cplus-plus
gpl-2.0
2,019
56
codeparrot/github-code
2143768fb06582b498d04d971e0b2b5fa6bd7655d3887120f2c6d8133e42086d
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/video/msm/mdss/mdss_mdp_intf_writeback.c
sailwang94/android_kernel_samsung_ks01lte
gpl-2.0
15,289
617
codeparrot/github-code
142de8b97647e9d8976627ad8eb4e50c69dd32f2aa9ac7b3d897f93155903cca
/*************************************************************************** * Copyright (C) 2008 by Volker Lanz <vl@fidra.de> * * * * This program is free software; you can redistribute it and/or modify * * it unde...
C
util/globallog.h
Nolaan/Companion
gpl-2.0
2,546
93
codeparrot/github-code
dc0cb161ba93dbaf4353dec9bc58b0f19e4929a37f1c6ba83f2d6bb712c0fce8
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but W...
C++
src/Utils.cpp
HollowerMan/macdylibbundler
gpl-2.0
4,896
170
codeparrot/github-code
566f6ba5fe60fba70342a14a1d1c1e3fbe61bf9111c4daa0b555f7a002909888
var PrimeTower = function (overrides) { if(!overrides) overrides = {}; var DEBUGMODE = DEBUGMODE ? overrides.DEBUGMODE : false; filamentDiameter = 1.75, nozzleDiameter = overrides.nozzleDiameter > 0 ? nozzleDiameter : 0.4; linewidth = nozzleDiameter * 1.2, flowMultipler = 1.2, extrusionMultipler = 1, ...
JavaScript
primetower.js
megablue/MegaYSplitterGodePostProcessor
gpl-2.0
11,821
347
codeparrot/github-code
72e0c99ee9f55059cde8c1b484a4dcdc20c61932285229775aba5ad44f43e8bc
<?php /** * Part of the Joomla Framework Twitter Package * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ namespace Joomla\Twitter; /** * Twitter API Friends class for the Joomla Framework. * * ...
PHP
src/Friends.php
joomla-framework/twitter-api
gpl-2.0
13,241
463
codeparrot/github-code
0ba89100d5a6e5cbafa22106c41b10a1898bcdbc3f915db39c3f316aec0b9535
<html> <head> <title>House Coupon Explanations</title> <style type='text/css'> span.b { font-weight:bold; } span.i { font-style:italic; } span.u { text-decoration:underscore; } </style> </head> <body> <h1 style="font-size:1.4em; text-align...
HTML
fannie/modules/plugins2.0/HouseCoupon/explainify.html
hayes042/IS4C
gpl-2.0
6,869
125
codeparrot/github-code
24fa348f661f5f46fb110a582a0394d8706a36bc0e61c6e44cc8441b7c5d0407
/* * linux/fs/fat/dir.c * * directory handling functions for fat-based filesystems * * Written 1992,1993 by Werner Almesberger * * Hidden files 1995 by Albert Cahalan <albert@ccs.neu.edu> <adc@coe.neu.edu> * * VFAT extensions by Gordon Chaffee <chaffee@plateau.cs.berkeley.edu> * Merged with msdos fs by ...
C
fs/fat/dir.c
ryncsn/jordan-kernel
gpl-2.0
34,766
1,370
codeparrot/github-code
02482264e0628ed095fc8e1935720192c48d9fa3ec3c2981c3098919415d9601
/* * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
C++
src/cpu/x86/vm/c1_LIRGenerator_x86.cpp
mohlerm/hotspot_cached_profiles
gpl-2.0
54,648
1,586
codeparrot/github-code
ec07c26bbcd24b8b47294061b0081daf64bb23997ee9a8b8c35e7b03bc58fb7f
require "rjava" # Copyright 2000-2001 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 Sof...
Ruby
jre4ruby/lib/share/sun/nio/cs/Surrogate.rb
neelance/jre4ruby
gpl-2.0
14,058
402
codeparrot/github-code
da284be7a04d3f0ee7b33cca39ea6aa0d7e4b0c595f01c027aaf57c6e5d3a56e
package edu.neu.coe.csye._7200.ga /** * @author scalaprof */ trait Gene[+A] extends Seq[Allele[A]] with Identifier trait Allele[+A] extends (() => A) trait Locus[+A] extends Seq[Gene[A]] trait Chromosome[+A] extends Seq[Locus[A]] { def isSex: Boolean def loci: Int } trait Genotype[+A,-B] extends Seq[Chromoso...
Scala
FunctionalProgramming/src/main/scala/edu/neu/coe/csye/_7200/ga/Genomic.scala
rchillyard/Scalaprof
gpl-2.0
874
46
codeparrot/github-code