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 |
|---|---|---|---|---|---|---|---|---|
4163399c6d11efda33555cfa3a2e178d750f7204c25cbdf8f9f0d307adadd123 | /*
* File: pn_dev.c
*
* Phonet network device
*
* Copyright (C) 2008 Nokia Corporation.
*
* Contact: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
* Original author: Sakari Ailus <sakari.ailus@nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of th... | C | net/phonet/pn_dev.c | Core2idiot/Kernel-Samsung-3.0...- | gpl-2.0 | 11,320 | 486 | codeparrot/github-code |
f82db5097aa2dbce30a608f5ac6ac57cce22dfb9561cab57344e7b5ef873da9e | /*
This file is part of Akregator.
Copyright (C) 2008 Didier Hoarau <did.hoarau@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
... | C++ | akregator/plugins/onlinesync/ui/configurationwidget.cpp | kolab-groupware/kdepim | gpl-2.0 | 4,723 | 149 | codeparrot/github-code |
b30840aa23d8de08730c9994a0e45b87b1f2293a42027ef56887af94ee0e0b32 | # -*- coding: utf-8 -*-
# This file is part of Invenio.
# Copyright (C) 2014, 2015 CERN.
#
# Invenio 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 l... | Python | invenio/modules/pages/admin.py | zenodo/invenio | gpl-2.0 | 3,432 | 113 | codeparrot/github-code |
785dfa035d067797d99a5801954df2d73da3e87f79618ca43d7a915da3102fc6 | package org.telegram.Fele.Theme;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import org.telegram.Fele.Utils.FeleUtils;
import org.telegram.messenger.ApplicationLoader;
import org.telegram.messenger.LocaleController;
import org.telegram.messenger.R;
public class Theme_pomegranate impleme... | Java | TMessagesProj/src/main/java/org/telegram/Fele/Theme/Theme_pomegranate.java | light-rain/fele | gpl-2.0 | 951 | 36 | codeparrot/github-code |
bf3b0d750b90f30942e406d7095357ac5ea42fd925eadb2d62542d8f7482d68a | {namespace n=GeorgRinger\News\ViewHelpers}
<f:layout name="Backend/Default" />
<f:section name="categoryTree">
<ul class="{class}">
<f:for each="{categories}" as="category">
<li>
<f:form.checkbox id="category-{category.item.uid}" property="selectedCategories" value="{category.item.uid}" />
<label for="c... | HTML | Resources/Private/Templates/Extensions/News/Templates/Administration/Index.html | vijayrami/fluidfluxtemplate | gpl-2.0 | 8,080 | 197 | codeparrot/github-code |
37ff70598d323534cbe2974ff92ccd6a494681cb9a108fe867e74eaafc9a4f82 | /*
* This file is part of Gnome Subtitles.
* Copyright (C) 2008-2009 Pedro Castro
*
* Gnome Subtitles is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your optio... | C# | src/GnomeSubtitles/Core/SpellLanguage.cs | liaoyupeng/gnome-subtitles | gpl-2.0 | 2,994 | 116 | codeparrot/github-code |
85a32e9a39bfd845a5129804edc8b4309b4b5b4f4fc9a1ec5aa10ac5ceb6027d | <?php
add_action('widgets_init', 'zo_tweets_load_widgets');
function zo_tweets_load_widgets()
{
register_widget('ZO_Tweets_Widget');
}
class ZO_Tweets_Widget extends WP_Widget {
function ZO_Tweets_Widget()
{
parent::__construct(
'zo-tweets-widget',
__('ZO Twitter','fptcity... | PHP | wp-content/themes/fptcity/inc/widgets/tweets.php | jesusone/fptcity | gpl-2.0 | 12,226 | 236 | codeparrot/github-code |
93ad98f88e8af439dfe4e47d42af1801836f3a41a8f9da77ffcc820b35a46a63 | <?php
namespace Drupal\loremipsum\Plugin\Block;
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Block\BlockBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Provides a Lorem ipsum block with which you can generate dummy text anywhere
*
* @Block(
* id = "loremip... | PHP | sites/all/modules/custom/loremipsum/src/Plugin/Block/LoremIpsumBlock.php | euibinyou/d8-testing | gpl-2.0 | 1,266 | 56 | codeparrot/github-code |
04538215a16f08bfc9807fc270b257c17c073ee19c070e051f805ab81d664309 | #include "stdafx.h"
#include "CWin32App.h"
#include "CD3D11Driver.h"
#include "CSceneManager.h"
#include "CWin32Timer.h"
#include "CDInput8Driver.h"
#include "CThreadPool.h"
#include <iostream>
namespace gf
{
static CWin32App* g_pWin32Device = NULL;
CWin32App::CWin32App(const SAppSettings& params)
:IApplication... | C++ | GameFinal/CWin32App.cpp | woyaofacai/GameFinal | gpl-2.0 | 8,829 | 333 | codeparrot/github-code |
858cfef51ad94bf7d9574004f456308a250bb4f8e3690227d45a95f7f131e7e0 | <?php
// $Id$
// lic : GPL, v2
// modified by RPL RPL121@verizon.net 2005/08/05 and 2005/10/02
LoadObjectDependency('_FreeMED.EMRModule');
class LabvaluesModule extends EMRModule {
var $MODULE_NAME = "Lab Values";
var $MODULE_AUTHOR = "jeff b (jeff@ourexchange.net), modified RPL (rpl121@verizon.net)";
var $MO... | PHP | modules/labvalues.emr.module.php | freemed/freemed-0.8.x | gpl-2.0 | 2,873 | 106 | codeparrot/github-code |
db5a4a98243c0179b958bdfe71f1e45864bd3ba6ade748e46d207670551fd653 | #-------------------------------------------------------------------------------
# Name: ModSlaveSettingsRTU
# Purpose:
#
# Author: ElBar
#
# Created: 17/04/2012
# Copyright: (c) ElBar 2012
# Licence: <your licence>
#-------------------------------------------------------------------------------
#... | Python | ModSlaveSettingsRTU.py | zhanglongqi/pymodslave | gpl-2.0 | 2,993 | 83 | codeparrot/github-code |
8d64ab3ed96f4b2062da60bf30dfa584ed2a38aec2dfdfdecf71e26f9dbf7258 | /*******************************************************************************
*
* The content of this file or document is CONFIDENTIAL and PROPRIETARY
* to Maxim Integrated Products. It is subject to the terms of a
* License Agreement between Licensee and Maxim Integrated Products.
* restricting among other th... | C | gc6500/mxuvc_android_rk3288/src/common/qboxutil.h | xinpengliu/xinpengliu.github.io | gpl-2.0 | 2,991 | 83 | codeparrot/github-code |
f9be3ac2d66cd6db084371b1c4dd4fe8de2a5c937d29e60348685b2abbb5b577 | // gc-letter.js -- Peteramati JavaScript library
// Peteramati is Copyright (c) 2006-2021 Eddie Kohler
// See LICENSE for open-source distribution terms
import { GradeClass } from "./gc.js";
const lm = {
98: "A+", 95: "A", 92: "A-", 88: "B+", 85: "B", 82: "B-",
78: "C+", 75: "C", 72: "C-", 68: "D+", 65: "D",... | JavaScript | scriptsrc/gc-letter.js | kohler/peteramati | gpl-2.0 | 1,061 | 36 | codeparrot/github-code |
3cf8c036e7ec8dac03cb809946389c332cc355e1c91644672d428045ab32c4de | /*
* ip22-gio.c: Support for GIO64 bus (inspired by PCI code)
*
* Copyright (C) 2002 Ladislav Michl
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <asm/sgi/sgimc.h>
#include <asm/sgi/sgigio.h>
#define GIO_PIO_MAP_BASE 0x... | C | arch/mips/sgi-ip22/ip22-gio.c | bticino/linux-2.4.19-rmk7-pxa2-btweb | gpl-2.0 | 3,580 | 153 | codeparrot/github-code |
678cf8698c14ee49ec7766129c287c0e463bf74909d0e5a904cb9edc08491502 | /*
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | C++ | src/server/scripts/Outland/zone_netherstorm.cpp | M0ra/Core | gpl-2.0 | 53,629 | 1,509 | codeparrot/github-code |
52bf2bf3bf44c647a5c2e4af25d4c204a1d09314ee068510ad66d9606825e001 | /*
* Code taken from: http://mumble.sourceforge.net/Link
*
* All code listed below is in the public domain and can be used, shared or
* modified freely
*
* Copyright (C) 2011-2013 The ManaPlus Developers
*/
#ifndef MUMBLEMANAGER_H
#define MUMBLEMANAGER_H
#include "main.h"
#ifdef USE_MUMBLE
#include <str... | C | src/mumblemanager.h | koo5/manaplus | gpl-2.0 | 1,440 | 74 | codeparrot/github-code |
102b06379bb7342a738c9047a83a7c71d35d015e8cdaa3e410424744074e5fa0 | <?php
/**
* @package DigiCom
* @author ThemeXpert http://www.themexpert.com
* @copyright Copyright (c) 2010-2015 ThemeXpert. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
* @since 1.0.0
*/
defined('_JEXEC') or die;
/**
* Supports a modal article picker.
*... | PHP | administrator/components/com_digicom/models/fields/stateoption.php | shamsbd71/digicom | gpl-2.0 | 3,554 | 120 | codeparrot/github-code |
f251c92cf010e2c4bd739a983e7b730456d7d429e42a7f8c6b5e16ac52fb6a19 | /*****************************************************************************
* vda.c: VDA helpers for the libavcodec decoder
*****************************************************************************
* Copyright (C) 2012-2014 VLC authors VideoLAN
*
* Authors: Sebastien Zwickert <dilaroga@free.fr>
* ... | C | modules/codec/avcodec/vda.c | Rodeo314/tim-vlc | gpl-2.0 | 10,747 | 383 | codeparrot/github-code |
511424c4090ef87fd6adbe1e84296d1e29eb9403068b43f50186f3950f1dfaa6 | <?php
/**
* Created by PhpStorm.
* User: solomashenko
* Date: 01.08.17
* Time: 19:36
*/
namespace app\includes\widgets;
use app\includes\models\admin\menu\TPSearchFormsModel;
use WP_Widget;
class TPSearchFormWidget extends WP_Widget{
private $model;
public function __construct()
{
parent::... | PHP | src/wordpress/wp-content/plugins/travelpayouts/app/includes/widgets/TPSearchFormWidget.php | saintcode/cenotexplore | gpl-2.0 | 11,024 | 287 | codeparrot/github-code |
6a714d6acaf31f9d5096e68e42ae640eace8cca7294cdc32202ee50456cfc951 | #! /usr/bin/env python
# Filename: odroidw_meter.py
# -*- coding: utf-8 -*-
"""Smart meter application module for Odroid W.
Setup Description
#################
This application module utilizes the external 12-bit MCP3208 ADC connected
to the Odroid W via SPI to be used as a real-time smart-power-meter. Current
clamps i... | Python | odroidw_meter.py | vschw/smartmeter_release | gpl-2.0 | 10,958 | 347 | codeparrot/github-code |
bde8d7ca40519306046c594eb5bdeeca5918d5c8feb5d6ef2cd56202dcaadca7 | package org.wizindia.black.validation;
import junit.framework.TestCase;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.wizindia.black.common.Enums.Role;
import org.w... | Java | src/test/java/org/wizindia/black/validation/PolicyValidatorTest.java | nischalkumar/black | gpl-2.0 | 1,281 | 34 | codeparrot/github-code |
6e1dd3c5ed4b2c3520f80009ddeeb76e7c7e0f43ec95bbc09fadbbdd6be31b02 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | C | lustre/include/obd.h | pratikrupala/lustre-port-activity | gpl-2.0 | 46,606 | 1,319 | codeparrot/github-code |
c73ca95a7193172a0a8fd1de65e1fed0875df52e97135c4acae8c8ee906b8fa5 | /*
* $Id: rk_extvars.h,v 1.2 2001-06-14 18:16:09 ura Exp $
*/
/*
* FreeWnn is a network-extensible Kana-to-Kanji conversion system.
* This file is part of FreeWnn.
*
* Copyright Kyoto University Research Institute for Mathematical Sciences
* 1987, 1988, 1989, 1990, 1991, 1992
* Copyright OMRON... | C | Xwnmo/romkan_m/rk_extvars.h | MItsutoshiNAKANO/FreeWnn | gpl-2.0 | 3,548 | 181 | codeparrot/github-code |
de3bef45996fdd87bd04f18657b0a53696c075e80b1ee94c4b2117d15eb06343 | <!-- Blue -->
<tr>
<td bgcolor="#54c2e4" align="center" style="padding: 70px 15px 70px 15px;" class="section-padding">
<!--[if (gte mso 9)|(IE)]>
<table align="center" border="0" cellspacing="0" cellpadding="0" width="500">
<tr>
<td align="center" valign="t... | HTML | mail/_old.html | baem1000/fredagskul | gpl-2.0 | 24,158 | 361 | codeparrot/github-code |
752c3468ebba1f76e66969559c9b61482588aa39105dc916933477687fb9a6ac | // Interpreter.h
#ifndef __INTERPRETER__
#define __INTERPRETER__
#define ICARUS_VERSION 1.33
#define MAX_STRING_SIZE 256
#define MAX_VAR_NAME 64
typedef float vector_t[3];
//If you modify this, you MUST modify in g_ICARUScb.c as well.
//Token defines
enum
{
TK_BLOCK_START = TK_USERDEF,
TK_BLOCK_END,
TK_VECTOR_... | C | codemp/icarus/interpreter.h | ioquake/jedi-academy | gpl-2.0 | 5,573 | 225 | codeparrot/github-code |
855c3c2433fbbb06587dac6056bc9c3b9e5b205441f676c41c0af494ddcc63da | /*
* Human Monitor Interface
*
* Copyright IBM, Corp. 2011
*
* Authors:
* Anthony Liguori <aliguori@us.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
*/
#ifndef HMP_H
#define HMP_H
#include "qemu-common.h"
#include "qap... | C | hmp.h | tony0924/itriqemu | gpl-2.0 | 4,651 | 98 | codeparrot/github-code |
5fbb4d49766eda16fa3dafd30d113a8764dbdfb9f34428da12c83cd7e0698b06 | /*
* runqueue-example.c
*
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWA... | C | package/libs/libubox/src/examples/runqueue-example.c | zhaoxin54430/zhaoxin_test | gpl-2.0 | 2,770 | 113 | codeparrot/github-code |
ddb32026265a986678d57541676ae83f6a261b0a0fffe40fa097fbab04cb081e | <?php
namespace Aliyun\Api\Sms\Request\V20170525;
use Aliyun\Core\RpcAcsRequest;
class QueryInterSmsIsoInfoRequest extends RpcAcsRequest
{
function __construct()
{
parent::__construct("Dysmsapi", "2017-05-25", "QueryInterSmsIsoInfo");
$this->setMethod("POST");
}
private $resourceOwnerAccount... | PHP | extend/message/api_sdk/lib/Api/Sms/Request/V20170525/QueryInterSmsIsoInfoRequest.php | RenHung/njzs | gpl-2.0 | 1,364 | 59 | codeparrot/github-code |
60d1c6b1dc190a9e4ac3d2ebc3d0f59a9d17f798be88642a3dd892f972413422 | <?php
/**
* @package modx
* @subpackage sqlsrv
*/
require_once (dirname(dirname(__FILE__)) . '/modcontext.class.php');
/**
* @package modx
* @subpackage sqlsrv
*/
class modContext_sqlsrv extends modContext {
public static function getResourceCacheMapStmt(&$context) {
$stmt = false;
if ($contex... | PHP | php/core/model/modx/sqlsrv/modcontext.class.php | wshearn/openshift-quickstart-modx | gpl-2.0 | 2,458 | 46 | codeparrot/github-code |
0547629315e1c9eaa0e9e9885d3435e1de7c9ea748d9bc95efee557f0d10633a |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Mirrored from www.w3school.com.cn/wmlscript/lang_isint.asp by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Dec 2015 03:03:14 GMT -->
<head>
<meta http-equi... | HTML | Coding/W3School/W3CN/www.w3school.com.cn/wmlscript/lang_isint.html | platinhom/ManualHom | gpl-2.0 | 5,822 | 189 | codeparrot/github-code |
48ebec3a597f0525f9546de3e277315bac005176d33ae76f41019f96e71217c4 | /*
* This file is part of the ZoRa project: http://www.photozora.org.
*
* ZoRa 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.
*... | Java | com.bdaum.zoom.ai.msVision/src/com/bdaum/zoom/ai/msvision/internal/MsVisionActivator.java | bdaum/zoraPD | gpl-2.0 | 3,148 | 103 | codeparrot/github-code |
1433d1dd676904a574293d35452cef5e5d81610342cf8ec81c6a2a7b28d4b432 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* go-image.c: Image formats
*
* Copyright (C) 2004, 2005 Jody Goldberg (jody@gnome.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public... | C | goffice/utils/go-image.c | arcean/goffice | gpl-2.0 | 20,703 | 763 | codeparrot/github-code |
f8d3f42e3f13cbc222851c40d615b66319c30badd143f8d478bebaf7ebb8d64f | # encoding: utf-8
# File:
# AddOnProduct.ycp
#
# Module:
# AddOnProduct
#
# Summary:
# This module provides integration of the add-on products
#
# Authors:
# Jiri Srain <jsrain@suse.de>
# Lukas Ocilka <locilka@suse.cz>
require "yast"
require "packager/product_patterns"
module Yast
class AddOnProductClass < Module
... | Ruby | src/modules/AddOnProduct.rb | ancorgs/yast-packager | gpl-2.0 | 73,776 | 2,271 | codeparrot/github-code |
405d268e12144831e6120aa1718d1a23541a5454f219c7063dd600cca77437be | /*
* fs/f2fs/inode.c
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <... | C | fs/f2fs/inode.c | Split-Screen/android_kernel_sony_msm8974 | gpl-2.0 | 8,485 | 305 | codeparrot/github-code |
3a2e3ad7acf63d3bb8122b8aaad259ce9cdaa7cd732787eab3d1f66c05c1edec | <?php
/**
* zcAjaxPayment
*
* @copyright Copyright 2003-2021 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Modified in v1.5.8 $
*/
class zcAjaxPayment extends base
{
/**
* Test whether the selected payment module "does" the "CollectsCard... | PHP | includes/classes/ajax/zcAjaxPayment.php | zencart/zencart | gpl-2.0 | 8,276 | 199 | codeparrot/github-code |
601cd6cc974c0177ba7f5eb2931f60391c4b525c54622da1038d8b469e7d01c9 | <<<<<<< HEAD
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Template Parser Class — Code... | HTML | user_guide/libraries/parser.html | maellakhua/museum_guide_server | gpl-2.0 | 60,500 | 890 | codeparrot/github-code |
ff0c230c99c7d75eb87a8e8a3c12f612a6203643dee99af552db1ccc1072f2d2 | #ifndef _NET_EVENT_H
#define _NET_EVENT_H
/*
* Generic netevent notifiers
*
* Authors:
* Tom Tucker <tom@opengridcomputing.com>
* Steve Wise <swise@opengridcomputing.com>
*
* Changes:
*/
struct dst_entry;
struct netevent_redirect {
struct dst_entry *old;
struct dst_entr... | C | include/net/netevent.h | tcreech/tilegx-linux-3.4.68-politestackrehome | gpl-2.0 | 916 | 36 | codeparrot/github-code |
042631d6e52f90729ea5e03be649d743920272d8051a7111b663be407d4b61be | <?php
/**
* The dashboard-specific functionality of the plugin.
*
* @link http://example.com
* @since 1.0.0
*
* @package HBI_SoundCloud_Podcasts
* @subpackage HBI_SoundCloud_Podcasts/admin
*/
/**
* The dashboard-specific functionality of the plugin.
*
* Defines the plugin name, version, and t... | PHP | admin/class-hbi-soundcloud-podcasts-admin.php | palmermarc/hbi-soundcloud-podcasts | gpl-2.0 | 14,374 | 398 | codeparrot/github-code |
f689d5b36237c183306d3c71071766ef8b77ca41f5357fb148012d3bfec7dd80 | /* ------------------------------------------------------------------------ *\
**
** This file is part of the Chaos Kernel, and is made available under
** the terms of the GNU General Public License version 2.
**
** Copyright (C) 2017 - Benjamin Grange <benjamin.grange@epitech.eu>
**
\* -----------------------------... | C | kernel/scheduler.c | Arignir/chaos | gpl-2.0 | 1,943 | 103 | codeparrot/github-code |
3accbce23193b51248c05c31e5b5c45e58233348311c1df8d6f4103b78672e89 | using UnityEngine;
using System.Collections;
[System.Serializable]
public class RecursionSpawn : MonoBehaviour
{
public int depth = 4;
// Use this for initialization
void Start()
{
if (depth > 0)
{
for (int i = 0; i < 2; i++)
{
for ... | C# | app/static/scripts/RecursionSpawn.cs | Zulban/stuart-spence-website | gpl-2.0 | 1,338 | 42 | codeparrot/github-code |
86d15b784286c67ac477d7ee8422b7fd5f38808b76913ecbf16b7853ee74c09d | /*
* Universal Host Controller Interface driver for USB (take II).
*
* (c) 1999-2001 Georg Acher, acher@in.tum.de (executive slave) (base guitar)
* Deti Fliegl, deti@fliegl.de (executive slave) (lead voice)
* Thomas Sailer, sailer@ife.ee.ethz.ch (chief consultant) (cheer leader)
* ... | C | drivers/usb/usb-uhci.c | rickgaiser/linux-2.4.17-ps2 | gpl-2.0 | 85,813 | 3,139 | codeparrot/github-code |
f512ad854777f6db45481ba76228e12d4e8d04881243c2f608dfb7092fbea728 | /*
* linux/arch/arm/mm/mmu.c
*
* Copyright (C) 1995-2005 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <linux/kernel.h>... | C | arch/arm/mm/mmu.c | OPTICM/android_kernel_samsung_msm8660-common | gpl-2.0 | 34,411 | 1,234 | codeparrot/github-code |
ae8ee7daa41e760ff5eecbfaa22754c368831585a29c283419d1feedc71da127 | /* The dates-to-query routine is is lifted quasi-verbatim but
* modified from xapian-omega:date.cc. Copyright info:
*
* Copyright 1999,2000,2001 BrightStation PLC
* Copyright 2001 James Aylett
* Copyright 2001,2002 Ananova Ltd
* Copyright 2002 Intercede 1749 Ltd
* Copyright 2002,2003,2006 Olly Betts
*
* This ... | C++ | rcldb/daterange.cpp | norandom/recoll | gpl-2.0 | 3,315 | 127 | codeparrot/github-code |
85dba596d614d34d239ecb0b3433d3407a74fabae1a67e123a0766fe5ccc52fe | <?php
/*****************************************************************************/
/* m_building.php */
/*****************************************************************************/
/* Iw DB: Icewars geoscan and sitter database ... | PHP | modules/m_building.php | balouh/iwdb | gpl-2.0 | 21,070 | 647 | codeparrot/github-code |
440bfbd1b2dcabdd63d19ae6ce3fd83365cdc988db9c10c6a4a7e1a27e0eb819 | /********************************************************************************
* *
* GNORASI - The Knowlegde-Based Remote Sensing Engine *
* *
* Language: C++ *
* *
* Copyright (c) Ange... | C++ | Gnorasi/modules/otb/processors/BasicFilters/otbgrayscaleopeningfilterprocessor.cpp | gnorasi/gnorasi | gpl-2.0 | 4,147 | 116 | codeparrot/github-code |
952fa0f3590716c5308aa63971908159f57c83cfecce1620af34fdae46cb6229 | /*
* Copyright (C) 2013 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#ifndef __DEVICE_THERMAL_H__
#define __DEVICE_THERMAL_H__
#include... | C | include/linux/device_cooling.h | RockchipOpensourceCommunity/popmetal-kernel-3.14 | gpl-2.0 | 1,150 | 48 | codeparrot/github-code |
fec86a9747d029e29655120a1e3c4a3895a2212e90de896acdbf88acebee5914 | /*
* Rem - Requirements and Entity Modeler = UML + AOP + Open Source + Cross Platform
* Copyright (C) 2008 Adrian Kosmaczewski - http://remproject.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 Softwa... | C | src/utility/Property.h | akosma/remproject | gpl-2.0 | 6,855 | 262 | codeparrot/github-code |
ee23a436f7481b8ae849fc9d12c49fa286fd739a6a26422dc5b4bbb63ec14e0e | #include "aview.h"
AView::AView(AInputDevice *device, QWidget *parent, APlotType type)
: QGraphicsView(new QGraphicsScene(), parent)
, m_inputDevice{device}
{
//#ifndef DESKTOP
// setTransformationAnchor(QGraphicsView::NoAnchor);
// setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
// setVertical... | C++ | source/graphics/aview.cpp | BasovMaxim/SpectrumAnalyser | gpl-2.0 | 4,201 | 199 | codeparrot/github-code |
bafb0c6c364f068969b88984325ebe0674581b8eaf995405632ab99d8e059bc9 | /* 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"
#ifdef LTC_CHA... | C | dep/tomlib/Crypt/src/stream/chacha/chacha_memory.c | mangosthree/server | gpl-2.0 | 1,681 | 52 | codeparrot/github-code |
3e8f1a1d6808ec869c66917b8d9705d940faa35c0a8c3c7534fed8454843c013 | /*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
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 ... | C | include/net/bluetooth/bluetooth.h | jthatch12/SKJT | gpl-2.0 | 6,016 | 256 | codeparrot/github-code |
8b19c13d8ec3ada7e2adb888725e9c029b3cb197a47f683b75a44a728f7e4b89 | /*
* Implementation of the policy database.
*
* Author : Stephen Smalley, <sds@epoch.ncsc.mil>
*/
/*
* Updated: Trusted Computer Solutions, Inc. <dgoeddel@trustedcs.com>
*
* Support for enhanced MLS infrastructure.
*
* Updated: Frank Mayer <mayerf@tresys.com> and Karl MacMillan <kmacmillan@tresys.com>
*
* A... | C | security/selinux/ss/policydb.c | Core2idiot/Kernel-Samsung-3.0...- | gpl-2.0 | 98,467 | 4,642 | codeparrot/github-code |
6233a8f3f9b897c68a1aed850e148cd34a93a21a9178268fc497965c9cb422bc | #!/usr/bin/perl
#
# **** License ****
# 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
# WITHOUT ANY WARRANTY; wi... | Perl | scripts/vyatta-bonding.pl | cyclops8456/vyatta-cfg-system | gpl-2.0 | 8,013 | 289 | codeparrot/github-code |
c422c2975f917293759353bf6e2d57da3ce0478ecf00f7f5cb80190ffe90fe03 | $(document).ready(function () {
$.ajax({
url: "output.txt",
async: false,
success: function(data) {
//alert(data)
drawMap(JSON.parse(data))
}
});
});
function drawMap(houseData) {
alert("Inside function.");
//Get the dimensions of the house and c... | JavaScript | drawhouse.js | jdpepperman/houseSimulation | gpl-2.0 | 3,641 | 97 | codeparrot/github-code |
7895d08d1c593fab2337ab86ff455811adc3a11ac87f912adbd412dcfa783e8d | /*
* @(#)$Id: Localizer.java,v 1.6 2001/05/01 18:13:26 Bear Exp $
*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
package com.sun.msv.relaxns.verifier;
/**
* format... | Java | libs/msv/com/sun/msv/relaxns/verifier/Localizer.java | league/rngzip | gpl-2.0 | 894 | 32 | codeparrot/github-code |
f80d2a36bae553a2c92587bec43ba6e2d5d4f354240bbdd6acf95181dcd513ed | package parser;
import parser.exceptions.*;
/** Parser will evaluate a String (as a char[]) as a math expression.
* <br>Uses recursive descent parsing.
* <br><br><b>Grammar:</b>
* <code><pre>
* <br> expr ::= term | expr + term | expr - term
* <br> term1 ::= factor | term * factor | term / fac... | Java | calculator/src/parser/Parser.java | mfacelle/projects | gpl-2.0 | 22,707 | 565 | codeparrot/github-code |
af9b0ceeb3bcdd8c197cfab770a6f2c3403c54ca099bc749ca834eabf32765ab | #include <iostream>
#include "listfile.h"
using namespace std;
// Compile with:
// g++ -pedantic -Wextra -Wall -o listfileedit listfile.cpp listfileedit.cpp
int main()
{
bool quit = false;
while(!quit)
{
int choice;
cout << "\n== ListfileEdit 0.9 ==\nby Ojan. Written 2009-05-10\n\n";
... | C++ | listfileedit.cpp | sjoblomj/ListfileEdit | gpl-2.0 | 14,428 | 373 | codeparrot/github-code |
55167b43c1e28c48ebbc1b2053445baf4c80e8566bb6ebf4c721e46cc1c12d40 | /***************************************************************************
SimpleMail - Copyright (C) 2000 Hynek Schlawack and Sebastian Bauer
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; ei... | C | amiga-mui/iconclass.c | sba1/simplemail | gpl-2.0 | 17,327 | 687 | codeparrot/github-code |
3c7e8557c304ad61c70aa99d999cc5761fc3dce2d04506c77f2f648b48afb3f8 | #include "include/r_local.h"
#include "include/r_vr.h"
#ifndef NO_STEAM
#include "include/r_vr_svr.h"
#include "../vr/include/vr_svr.h"
#include "../vr/include/vr_steamvr.h"
//static fbo_t world;
static fbo_t left, right, offscreen;
static vr_rect_t renderTargetRect, origTargetRect;
static vr_rect_t leftRenderRect,... | C | client/renderer/r_vr_svr.c | Nephatrine/nephq2 | gpl-2.0 | 8,225 | 286 | codeparrot/github-code |
ff7c22aa3035af04d789c0655ad794aa49f359cc9de799dabecc8166d54f6749 | class StatusHistoryRescaler
# this is called from a delayed job triggered by clockwork
def rescale
maxtime = StatusHistory.maximum(:time)
if maxtime
StatusHistory.where("time < ?", maxtime - 365 * 24 * 3600).delete_all
end
keys = StatusHistory.pluck('DISTINCT `key`')
keys.each do |key|
... | Ruby | src/api/app/models/status_history_rescaler.rb | kulmesa/open-build-service | gpl-2.0 | 1,819 | 60 | codeparrot/github-code |
5d9da82eb789ebedee914994c06f849916f49b8601bb794291912290126b86df | package it.bncf.magazziniDigitali.businessLogic.oggettoDigitale.solr.objectFileAnalyze;
import java.util.List;
import org.apache.log4j.Logger;
import info.lc.xmlns.premis_v2.CHECKSUMTYPEDefinition;
import info.lc.xmlns.premis_v2.ContentLocationComplexType;
import info.lc.xmlns.premis_v2.File;
import info.lc.xmlns.pr... | Java | MagazziniDigitali/MagazziniDigitaliBusinessLogicSolr/src/main/java/it/bncf/magazziniDigitali/businessLogic/oggettoDigitale/solr/objectFileAnalyze/SolrObjectFileAnalyze2_2.java | MagazziniDigitali/Magazzini-Digitali-WebServices | gpl-2.0 | 11,405 | 329 | codeparrot/github-code |
852c6856c845f9c7655997b51be3cceddaa65a74c2e1a7133d428ea8fa4f3762 | /*
* Proof of Concept JPEG decoder using Allwinners CedarX
*
* WARNING: Don't use on "production systems". This was made by reverse
* engineering and might crash your system or destroy data!
* It was made only for my personal use of testing the reverse engineered
* things, so don't expect good code quality. It's ... | C | src/main.c | mosterta/libcedarjpeg | gpl-2.0 | 18,846 | 690 | codeparrot/github-code |
8f8c5b6872f6d2ad73b1a3979ca26660a3b87fc5cfd83f55485fe6cfa476fbb7 | import Record from './models/record';
if (!window.jQuery) {
console.error('Geoip-detect: window.jQuery is missing!');
}
const $ = window.jQuery;
if (!window.geoip_detect) {
console.error('Geoip-detect: window.geoip_detect')
}
const options = window.geoip_detect.options || {};
let ajaxPromise = null;
functi... | JavaScript | wp-content/plugins/geoip-detect/js/frontend.js | Ilya-d/htdocs | gpl-2.0 | 2,085 | 83 | codeparrot/github-code |
570bc601668cfa6a22286422b4cc3355c03761a99c2d003141e979d4523d6040 | #include <filezilla.h>
#include "aboutdialog.h"
#include "buildinfo.h"
#include <misc.h>
#include <wx/hyperlink.h>
#include <wx/clipbrd.h>
BEGIN_EVENT_TABLE(CAboutDialog, wxDialogEx)
EVT_BUTTON(XRCID("wxID_OK"), CAboutDialog::OnOK)
EVT_BUTTON(XRCID("ID_COPY"), CAboutDialog::OnCopy)
END_EVENT_TABLE()
bool CAboutDia... | C++ | src/interface/aboutdialog.cpp | bartojak/osp-filezilla | gpl-2.0 | 6,599 | 250 | codeparrot/github-code |
a65b7187f64f750e3598b670de3e82ef17a6ca643f7bf5f8fb02ef396603a9a0 | package net.hydromon.core.dto;
import java.util.List;
public class SensorDTO extends BaseResponseDTO {
/**
*
*/
private static final long serialVersionUID = -1533476250234929346L;
private Long id;
private String description;
private String name;
private String location;
private String type;
private S... | Java | src/main/java/net/hydromon/core/dto/SensorDTO.java | markosa/hydromon | gpl-2.0 | 1,918 | 96 | codeparrot/github-code |
92f4aa9510f2dba2fe04a4706b5b41e446af8bebad4da98a3c8f618f8ac9ed62 | /* Rewritten by Rusty Russell, on the backs of many others...
Copyright (C) 2002 Richard Henderson
Copyright (C) 2001 Rusty Russell, 2002 Rusty Russell IBM.
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 Fr... | C | kernel/module.c | Pating/linux.old | gpl-2.0 | 54,218 | 2,115 | codeparrot/github-code |
5cfa1b27eecc2fa16c45a16d1ec70a82a6c5295075ccc0b8105d204130f7b72d | // Copyright 2017 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <cstring>
#include <cryptopp/osrng.h>
#include "common/assert.h"
#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/scm_rev.h"
#ifdef ARCHITECTURE_x86_6... | C++ | src/core/telemetry_session.cpp | makotech222/citra | gpl-2.0 | 9,282 | 216 | codeparrot/github-code |
3cc17ca82e4c010965f0fa440839445f4966b9e3e6037eb9ab05def42590fbae | /* $Id$ */
/*
Copyright (C) 2006 - 2013 by Joerg Hinrichs <joerg.hinrichs@alice-dsl.de>
wesnoth playlevel Copyright (C) 2003 by David White <dave@whitevine.net>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under th... | C++ | src/playmp_controller.hpp | battle-for-wesnoth/svn | gpl-2.0 | 2,304 | 75 | codeparrot/github-code |
937aa96fd8f3eade63ebee6d6fe8c126d304ca5251485620490b9170c4e76a21 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/Android/TextUtil.hpp | fb/XCSoar | gpl-2.0 | 2,365 | 91 | codeparrot/github-code |
67f936d07b103250c3dac1ffe2f2bfc9473d7be2000889187ba681725ad82adc | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Wind... | C# | Apps/WinPhone/MainPage.xaml.cs | karnauhov/Navkolo | gpl-2.0 | 1,555 | 49 | codeparrot/github-code |
08ac512841b8d0e515736a1adbadd8996a68af91a8b2337376343f4d479aecd5 | package Data::Fetch;
# Author Nigel Horne: njh@bandsman.co.uk
# Copyright (C) 2016-2020, Nigel Horne
# Usage is subject to licence terms.
# The licence terms of this software are as follows:
# Personal single user, single computer use: GPL2
# All other users (including Commercial, Charity, Educational, Government)
# ... | Perl | lib/Data/Fetch.pm | nigelhorne/Data-Fetch | gpl-2.0 | 7,860 | 310 | codeparrot/github-code |
1647687100bd4ca7ddd432f10d7fe431f4a3042250ca2b86d7f2df2da7b5d1fa | <?php
namespace SFCSReports\Providers;
use Illuminate\Routing\Router;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to the controller routes in your routes file.
*
* In addit... | PHP | source/app/Providers/RouteServiceProvider.php | julioalpa/SFCSReports | gpl-2.0 | 1,056 | 45 | codeparrot/github-code |
0d1219cc4b75bf754c68d888d8b1189f393510965d6d361732f6bc8682a0d2a3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/**
* 2) Faça um programa que exiba todos os números múltiplos de 5, entre 1000 e 2000
*/
namespace Lista4_Questao2
{
class Program
{
static void Main(string[] args)
{
... | C# | Lista4/Lista4-Questao2/Lista4-Questao2/Lista4-Questao2.cs | alexjosesilva/CursoHelloworld | gpl-2.0 | 1,257 | 59 | codeparrot/github-code |
c9a92578a1cf3648f947427fe175407f3cb2773ffa97d693e49e58179c35d794 | /*
* Kexi Report Plugin
* 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 published by the Free Software Foundation; either
* version 2.1 of the License, or (at your... | C++ | kexi/plugins/reportspgz/backend/common/krlabeldata.cpp | JeremiasE/KFormula | gpl-2.0 | 6,782 | 202 | codeparrot/github-code |
63102069b16002097d700a5c18a9e024b9df90de7413abe7fcf7fa8fb7c69bea | #include "../game/q_shared.h"
#include "../renderer/tr_local.h"
#ifndef _WIN32
typedef unsigned int GLenum;
#endif
#ifdef _WIN32
#include <windows.h>
BOOL (WINAPI * qwglSwapIntervalEXT)( int interval );
//void (APIENTRY * qglMultiTexCoord2fARB )( GLenum texture, float s, float t );
//void (APIENTRY * qglActiveTextureA... | C++ | codemp/null/null_glimp.cpp | ioquake/jedi-academy | gpl-2.0 | 1,410 | 75 | codeparrot/github-code |
9874fdc509defe257d98dfff16c6befd44baeae7e865a2c5d877d86187889dce | /* SDL compatibility layer for Windows
* original code by Davor Cihlar
* Adapted for SDL use by Ivan Vucica
* Licensed under GNU General Public License
*
* This file should only be used on Windows.
* It's here since -lmingw32 -lSDLmain method didn't produce
* any output in the console (for me) when building with... | C | tools/sprtool/winmain.c | opentibia/yatc | gpl-2.0 | 1,730 | 81 | codeparrot/github-code |
7f79d4972e0ed4d4f3df7ae59beb722d9ec5cf2e2920d8c9814fd77db23cb9d9 | /*
* Copyright (C) 2005-2008 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | C++ | xbmc/network/libscrobbler/scrobbler.cpp | robclark/xbmc | gpl-2.0 | 20,484 | 695 | codeparrot/github-code |
438e233c280ed9eb58353fc34710d6369b357dbfc56f55088732602479c29bab | package org.flowpaint.input
import java.awt.event._
import java.lang.reflect.InvocationTargetException
import java.util.ArrayList
import java.util.concurrent.{ArrayBlockingQueue, BlockingQueue}
import jpen._
import jpen.event.PenListener
import org.flowpaint.util.DataSample
import org.flowpaint.util.PerformanceTester.... | Scala | src/main/scala/org/flowpaint/input/InputHandler.scala | zzorn/flowpaint | gpl-2.0 | 8,402 | 295 | codeparrot/github-code |
beedae28de0d990e4bbd09ec3b7fe063398c98fe776d7ddc82dd50eb6a632c6d | /*
* This file is part of GPSLogger for Android.
*
* GPSLogger for Android 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 versio... | Java | gpslogger/src/main/java/com/umaps/gpslogger/StartupReceiver.java | duvu/gpslogger | gpl-2.0 | 1,931 | 53 | codeparrot/github-code |
775bfb1e1b8b23af2934f9d503dde29ca04f5e755ea16a15013c6b3db0a0924c | var PreloadImage = (function () { var file, folder; try { file = (function () { var scr = document.getElementsByTagName('script'); var file = scr[scr.length - 1].getAttribute("src"); return file; })(); folder = file.substring(0, file.lastIndexOf('/') + 1); } catch (ex) { file = location.pathname; folder = file.substrin... | JavaScript | js/preload-image/jquery.preload-image.js | RenatoPacheco/jQuery-Preload-Image | gpl-2.0 | 4,948 | 113 | codeparrot/github-code |
813979efc1e85090eb0970188d73769ff8aa631fb0e5faf6dc652e63d840523a | /*
* HID support for Linux
*
* Copyright (c) 1999 Andreas Gal
* Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
* Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
* Copyright (c) 2006-2012 Jiri Kosina
*/
/*
* This program is free software; you can redistribute it and/or... | C | drivers/hid/hid-core.c | arter97/android_kernel_nvidia_shieldtablet | gpl-2.0 | 88,813 | 2,576 | codeparrot/github-code |
5cfbaeea0862178e1a0f41ca469b3543b355b38c28a20aee54d88a96cba28180 | /*
* 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 b... | C | libsqueeze/command-queue.h | Desuneko/squeeze | gpl-2.0 | 2,237 | 75 | codeparrot/github-code |
0aa5884d40d344e51d28aa7f76aa31b3c0e3b221f4268d690aa975c82d1cd80b | #include <algorithm>
#include <stdexcept>
#include <iomanip>
#include <tnt/ecpp.h>
#include <tnt/htmlescostream.h>
#include <tnt/httprequest.h>
#include <tnt/httpreply.h>
#include <vdr/recording.h>
#include "exception.h"
#include "live.h"
#include "setup.h"
#include "tools.h"
#include "md5.h"
using namespace std;
usi... | C++ | tools.cpp | kersten/vdr-plugin-live | gpl-2.0 | 14,676 | 499 | codeparrot/github-code |
a14de0775d3736c8467c28f46783bf820a1b85e0a9764f89c4fbc90cbfb23131 | # Copyright (C) 2008-2011 Dejan Muhamedagic <dmuhamedagic@suse.de>
# Copyright (C) 2013 Kristoffer Gronlund <kgronlund@suse.com>
# See COPYING for license information.
import os
import sys
import time
import re
import bz2
from . import config
from . import command
from . import completers as compl
from . import utils
... | Python | modules/ui_history.py | ingted/crmsh | gpl-2.0 | 23,658 | 672 | codeparrot/github-code |
d5ca758a7fa34cd581cb31ecb13a5ac1a5d42ec551911b46450c23b9a191a209 | <?php
/**
* Metabox Functions
*
* @package Captain Slider
* @subpackage Metabox Functions
* @copyright Copyright (c) 2012, Bryce Adams
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.0.0
*/
/**
* Setup Metabox
*
* Creates the array to setup the metabox a... | PHP | includes/admin/meta-box.php | bryceadams/Captain-Slider | gpl-2.0 | 6,146 | 191 | codeparrot/github-code |
d3ccafe3e8d352052644d106bdec285bc3a15d7dec526955c526f4337f397cb1 | <?php
/*
* Copyright 2006, 2007, 2008, 2009 by Jason Coward <xpdo@opengeek.com>
*
* This file is part of xPDO.
*
* xPDO 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, ... | PHP | transport/xpdovehicle.class.php | Kleist/xPDO | gpl-2.0 | 24,138 | 473 | codeparrot/github-code |
11d6f672b7b0c0c3a91ac377cf90d1e1cd4c02230f64500eb3d44a4206d17f55 | #ifndef PPACKAGE_HPP
#define PPACKAGE_HPP
#include <QString>
#include <QByteArray>
#include <QDataStream>
#include <QVector>
#include <Units/ppackagechunk.hpp>
class PPackage
{
public:
PPackage();
friend QDataStream & operator <<(QDataStream &stream, const PPackage &sC){
stream << sC.name;
s... | C++ | Units/ppackage.hpp | TheNetos/HLPacker | gpl-2.0 | 1,591 | 70 | codeparrot/github-code |
55189ca9d00450ee119138d1d8ec17edcca47f9ded1525fb5ada5ddf09c91d39 | #!/usr/bin/env python
import sys
import os
sdir = sys.argv[1]
def file_includes(path):
incs = filter(lambda x: x.startswith('#include'), open(path))
if not incs:
return None
incs = map(lambda x: x.strip().split()[1], incs)
incs = filter(lambda x: x.startswith('"') and x.endswith('"'), incs)
if not incs:
r... | Python | hdr-scan.py | xemul/criu-scripts | gpl-2.0 | 1,679 | 82 | codeparrot/github-code |
e44dbf39401d30fdd8f06208819557c57df25fb3c65372e11037db8b98f4706c | /******************************************************************************
* $Id$
*
* Copyright (c) Transmission authors and contributors
*
* 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 ... | C | cli/cli.c | Distrotech/Transmission | gpl-2.0 | 14,761 | 503 | codeparrot/github-code |
3d07f7e8231d71e5b432e2f4f3741fdab51a7685ab7dfba3bf7fe48420a9805d | #include "quest.hpp"
#include "matmul.hpp"
#include "calcapp/system.hpp"
#include <cassert>
using std::string;
namespace Calc {
QuestAppOptions::QuestAppOptions():
CliAppOptions(string(APP_NAME),string(APP_VERSION))
{
m_input.filetype = _input_opt_names[0].type; m_input.filename_A = "data1"; m_input.f... | C++ | apps/quest01-1/quest.cpp | uquendo/calc | gpl-2.0 | 15,326 | 458 | codeparrot/github-code |
3b4e881a43508c463abe02666653da1f72c63846b395db3f83781e8b0b0b6788 | /*
* Copyright (c) 2002, Intel Corporation. All rights reserved.
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
*
* The mmap( ) function shall fail if:
* [ENOMEM] MAP_FIXED was specified, and the range [addr... | C | conformance/interfaces/mmap/24-1.c | crystax/android-vendor-openpts | gpl-2.0 | 2,526 | 104 | codeparrot/github-code |
a1dd21329d15d57b7b8559fa2fda9ef04cfeb68be0c67e2c04a060bfacb1d1e4 | <?php
/**
* CKEditor - The text editor for the Internet - http://ckeditor.com
* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses of your
* choice:
*
* - GNU General Public License Versi... | PHP | sites/all/modules/contrib/ckeditor/includes/filemanager.config.php | phpbutcher/drupal-7.26 | gpl-2.0 | 3,587 | 99 | codeparrot/github-code |
e9367cfbe396af0d86bf42ea037c0ede7ebb288ec877ea1b351104ec678a4689 |
\sloppy
\title{\healpix Fortran Subroutines Overview}
\docid{generate\_beam} \section[generate\_beam]{ }
\label{sub:generate_beam}
\docrv{Version 2.0}
\author{Eric Hivon}
\abstract{This document describes the \healpix Fortran90 subroutine GENERATE\_BEAM.}
\begin{facility}
{This routine generates the beam window fun... | TeX | doc/TeX/generate_beam.tex | dagss/healpix | gpl-2.0 | 3,748 | 103 | codeparrot/github-code |
6752e90db1ab95a661ef491ac09c8ac6742810fb68f385ef91e5fdda0690927e | /***************************************************************************
qgsdlgvectorlayerproperties.cpp
Unified property dialog for vector layers
-------------------
begin : 2004-01-28
copyright : (C) 2004 b... | C++ | src/gui/vector/qgsvectorlayerproperties.cpp | DelazJ/QGIS | gpl-2.0 | 77,911 | 2,115 | codeparrot/github-code |
942bf4fb2f57f57eabd544a42c55cf9102d4a0bac5b70e4690c1c3fd364ca523 | package C4::Heading;
# Copyright (C) 2008 LibLime
#
# This file is part of Koha.
#
# Koha 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
# vers... | Perl | C4/Heading.pm | buitenzorg812/Koha-PTFS | gpl-2.0 | 4,749 | 199 | codeparrot/github-code |
dd03b3b93056b26e0bd90fe0db8dc54caaefe6e22209e8e9e0dbeef730b80983 | <?php
if ( ! defined( 'MEDIAWIKI' ) )
die( -1 );
/**
* A basic extension that's used by the parser tests to test whether input and
* arguments are passed to extensions properly.
*
* @addtogroup Maintenance
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, 2006 Ævar Arnfjörð B... | PHP | maintenance/parserTestsParserHook.php | legoktm/wikihow-src | gpl-2.0 | 767 | 34 | codeparrot/github-code |
56956d843c3c35fb38fcda1aef981b2d4ba1aa467f9f660ebb7bd76192376e53 | /*
* Author: Dennis Ji
* Template: Metro Admin Template - Bootstrap Theme
* Version: 1.0.0
* Bootstrap version: 2.3.1
* Copyright 2013 Bootstrap Metro Dashboard
* www: http://clabs.co
* mail: lukasz@clabs.co
* You can buy this theme on WrapBootstrap: https://wrapbootstrap.com/user/Bootstrap Metro Dashboard
*/
/* Impor... | CSS | erp/assets/css/metro/style.css | gundambison/si-ksc | gpl-2.0 | 65,050 | 2,991 | codeparrot/github-code |
18d6a7e5a6a9088977170a905cdcacc4f99b484b3592f0235e44279aa535709b | /***************************************************************************
qgsbilinearrasterresampler.h
----------------------------
begin : December 2011
copyright : (C) 2011 by Marco Hugentobler
email : marco at s... | C | src/core/raster/qgsbilinearrasterresampler.h | myarjunar/QGIS | gpl-2.0 | 1,600 | 40 | codeparrot/github-code |
225d129875f16225383514981c0ab3ab56ec6b05c6b5f6f3e721e02c809ee436 | /**
* Copyright (C) 2012-2014 52°North Initiative for Geospatial Open Source
* Software 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... | Java | core/api/src/main/java/org/n52/sos/service/profile/Profile.java | USGS-CIDA/SOS | gpl-2.0 | 2,426 | 80 | codeparrot/github-code |
c167798773cdd77da88d91f63cbbdb7a6c230cd2333f81c966d9e4f20931b05d | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ÍøÂçÆåÅÆÊÒÓÎÏ·ÖÐÐÄ</title>
<meta name="keywords" content="ÍøÂçÆåÅÆÊÒÓÎÏ·ÖÐÐÄ" />
<meta name="description" ... | HTML | wulu/2015.11.23/qipai/qipaiyouxipingtai/1072.html | bylu/Test | gpl-2.0 | 13,316 | 254 | codeparrot/github-code |
5c6b150a6fb6374c4ed13c689c037d4f77052173a4c75ec90728113a521c2e73 | <?php
include_once('../inc/config.inc.php');
if ($_GET['del'])
{
$sql="delete from gplat_logistics where logisticsid=".$_GET['del'];
$result=mysql_query($sql);
}
if ($_POST['up_name'])
{
$note=$_POST['note'];
$up_name=$_POST['up_name'];
$sql="update gplat_logistics set logistics_name='$up_name',note='$no... | PHP | dmooo/logistics/logistics.php | jarkey/daojiaweb | gpl-2.0 | 2,603 | 78 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.