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 |
|---|---|---|---|---|---|---|---|---|
e67c4c6fb757a847a804d5f2e890c9834b097dac43758d74bbda4a6cc065cefc | /*
* Autshumato Terminology Management System (TMS)
* Free web application for the management of multilingual terminology databases (termbanks).
*
* Copyright (C) 2013 Centre for Text Technology (CTexT®), North-West University
* and Department of Arts and Culture, Government of South Africa
* Home page: http://ww... | Java | src/tms2/server/usercategory/UserCategoryManager.java | ismail-l/test-repo | gpl-2.0 | 5,586 | 165 | codeparrot/github-code |
dea97d8af58b1e0bbb4e4381415daa304e1cf3b7f8d09413a7745593628daa7d | /**
*
*/
package tuwien.dbai.wpps.core.wpmodel.physmodel.im.instadp;
import tuwien.dbai.wpps.core.wpmodel.IContainsRDFResource;
import tuwien.dbai.wpps.ontschema.InterfaceModelOnt;
import com.hp.hpl.jena.rdf.model.Resource;
/**
* @author Ruslan (ruslanrf@gmail.com)
* @created Jul 3, 2012 5:58:16 PM
*/
public e... | Java | wpps_plugins/tuwien.dbai.wpps.core/src/tuwien/dbai/wpps/core/wpmodel/physmodel/im/instadp/EFontStyle.java | ruslanrf/wpps | gpl-2.0 | 680 | 32 | codeparrot/github-code |
df04d844dcb71a8e7c452d9c451b7827cad9388bbfc01aeb7f2b9f12b3eff17d | #include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
#include <asm/arch/gpio.h>
#include <asm/arch/mux.h>
#include <asm/mach-types.h>
#include <asm/arch/board.h>
static struct gpio_keys_button g6_gpio_keys_buttons[] = {
[0] = {
... | C | arch/arm/mach-omap2/archosg6-keys.c | archos-sa/archos-gpl-gen6-kernel | gpl-2.0 | 1,995 | 85 | codeparrot/github-code |
dc1c1a5ff64c614683050a087a4beab64777fb6ce1951fc72cae62699e8b6769 | /*
* This file is part of the KDE wacomtablet project. For copyright
* information and license terms see the AUTHORS and COPYING files
* in the top-level directory of this distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License ... | C++ | src/tabletfinder/hwbuttondialog.cpp | KDE/wacomtablet | gpl-2.0 | 3,618 | 119 | codeparrot/github-code |
206bc91b398c1c6f727ecaea3ffb4abc57b6a56629b16be7d8deb9d4cd419ac1 | /*
* builtin-help.c
*
* Builtin help-related commands (help, usage, version)
*/
#include "cache.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "common-cmds.h"
#include "parse-options.h"
#include "run-command.h"
static struct man_viewer_list {
struct man_viewer_list *next;
char name[FLEX_ARRAY];
} *man_vi... | C | help.c | xlymian/git | gpl-2.0 | 15,727 | 681 | codeparrot/github-code |
d9cf55b60f338766bb72735ec458ea3eb020653556918773c905119abef9ac57 | /***************************************************************************
*
* Copyright (c) 2013 Baidu.com, Inc. All Rights Reserved
*
**************************************************************************/
/**
* @file monitor.c
* @author chendazhuang(com@baidu.com)
* @date 2013/03/12 17:00:29
* ... | C | monitor.c | lipeng-wei/storeMonitor | gpl-2.0 | 6,253 | 199 | codeparrot/github-code |
6e102a9922a0d03d8eebd69b8fcaa44c9e7a3201dd5631dc999a4c3b4f77ba30 | package org.nized.web.domain;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@JsonSerialize
@JsonDeserialize
public class Checkin {
private Person person; // Based on email stored in DB
private Da... | Java | src/main/java/org/nized/web/domain/Checkin.java | ryan-gyger/senior-web | gpl-2.0 | 1,597 | 75 | codeparrot/github-code |
40707c10e2d857c86a9e831989558f485caa57aa624a12e445a890a5c326a283 | /*
* Copyright (c) 2009-2014, Treehouse Networks Ltd. New Zealand
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
*... | C++ | helpers/basic_auth/fake/fake.cc | lgcosta/squid3 | gpl-2.0 | 3,267 | 113 | codeparrot/github-code |
3530763375f8ab065ba2f283b3c5213bbd615ab3fd7153535786a2fb8a7ad6f9 | /***************************************************************************
* 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 you... | C | umbrello/dialogs/settingsdlg.h | Elv13/Umbrello-ng2 | gpl-2.0 | 3,554 | 127 | codeparrot/github-code |
86788489e66809434288352545eafc4d765b8aaf3c8c229c8ae46e149934718f | /*
* @author Stéphane LaFlèche <stephane.l@vanillaforums.com>
* @copyright 2009-2021 Vanilla Forums Inc.
* @license GPL-2.0-only
*/
import { globalVariables } from "@library/styles/globalStyleVars";
import { useThemeCache } from "@library/styles/themeCache";
import { formElementsVariables } from "@library/forms/fo... | TypeScript | library/src/scripts/features/search/SearchBar.styles.ts | vanilla/vanilla | gpl-2.0 | 25,562 | 780 | codeparrot/github-code |
090eaf23704830346daf2a1cbbaeed02fb1ffc43019849ae5433d1cc68d5e6ce | /*
* File Name : driver/net/emev-rfkill.c
* Function : emev_board
* Release Version : Ver 1.07
* Release Date : 2010/10/29
*
* Copyright (C) 2010 Renesas Electronics Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | C | drivers/net/wireless/emev_wifi_rfkill.c | Renesas-EMEV2/Kernel | gpl-2.0 | 9,435 | 367 | codeparrot/github-code |
c8f8416f9cf3d5346d830edd4ee9131aff9f4cada224119968f0ad4c028aece8 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2013 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 Licens... | C++ | src/Engine/Task/Ordered/Points/StartPoint.hpp | DRNadler/DRN_TopHat | gpl-2.0 | 4,095 | 123 | codeparrot/github-code |
7a4cb6dbc85fbe1c004828335dc35ca970793ba7b53be3d61fbd011ff69bd699 | # -*- coding: utf-8 -*-
"""
Created on Wed Aug 19 17:08:36 2015
@author: jgimenez
"""
from PyQt4 import QtGui, QtCore
import os
import time
import subprocess
types = {}
types['p'] = 'scalar'
types['U'] = 'vector'
types['p_rgh'] = 'scalar'
types['k'] = 'scalar'
types['epsilon'] = 'scalar'
types['omega'] = 'scalar'
ty... | Python | petroSym/utils.py | jmarcelogimenez/petroSym | gpl-2.0 | 11,739 | 250 | codeparrot/github-code |
d1f8216fb10b9df4069a6a306709a30690057e0a5c8f5a47caeaee3c94126525 | #ifndef WRITEBACK_H
#define WRITEBACK_H
#include <linux/sched.h>
#include <linux/fs.h>
DECLARE_PER_CPU(int, dirty_throttle_leaks);
/*
* The 1/4 region under the global dirty thresh is for smooth dirty throttling:
*
* (thresh - thresh/DIRTY_FULL_SCOPE, thresh)
*
* Further beyond, all dirtier tasks will enter a l... | C | include/linux/writeback.h | poondog/kangaroo-m7-mkII | gpl-2.0 | 5,434 | 175 | codeparrot/github-code |
88ef7242137e8c8f6b9e33e34b1e8f57bd7cb1a2dd6c3d86d4ce26cd4700e3b9 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
This software is distributed under the GNU General Public License.
See t... | C++ | src/USER-OMP/pair_lj_cut_coul_cut_omp.cpp | milfeld/lammps | gpl-2.0 | 5,371 | 184 | codeparrot/github-code |
4fc88e9f5403a4079343d4195f5ccd5dcdfe34956a1d2c7113b70a66dfd17671 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../../../favicon.... | HTML | BeerDrop-android/libs/google_play_services/docs/reference/com/google/android/gms/gcm/package-summary.html | DarkoDanchev/BeerDrop-Game- | gpl-2.0 | 27,080 | 721 | codeparrot/github-code |
6ce46826f683706ffc7f3eb080ebb0a6c77cf588be629a3ea8f90fe2df0f5294 | /**
* cordova Web Intent plugin
* Copyright (c) Boris Smus 2010
*
*/
var WebIntent = function() {
};
WebIntent.prototype.ACTION_SEND = "android.intent.action.SEND";
WebIntent.prototype.ACTION_VIEW= "android.intent.action.VIEW";
WebIntent.prototype.EXTRA_TEXT = "android.intent.extra.TEXT";
... | JavaScript | js/libs/cordova/webintent.js | ComunidadeExpresso/expressomobile-www | gpl-2.0 | 3,059 | 97 | codeparrot/github-code |
b80255332fc85d669764b81fa04963862deee987696ffe56f50769398f73f8ac | /*
* Copyright (C) 2009 University of Southern California and
* Andrew D. Smith
*
* Authors: Andrew D. Smith
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... | C++ | smithlab_cpp/FileIterator.cpp | timydaley/dean_cylindrical_tranform | gpl-2.0 | 3,126 | 107 | codeparrot/github-code |
7f843d67a3dd0585b2ed64165b0d8a0f0744f445e1677c7edcf04502c88a8fb0 | /*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2011 David Nolden <david.nolden.kdevelop@art-master.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softwa... | C | project/projectutils.h | krf/kdevplatform | gpl-2.0 | 1,299 | 37 | codeparrot/github-code |
6a49736b7add8cd8bb4e7d49d704deda9c981534aea2ec9f99fc601a6c7f6ab0 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru" sourcelanguage="en">
<context>
<name>U2::LocalWorkflow::CallVariantsPrompter</name>
<message>
<location filename="../src/SamtoolMpileupWorker.cpp" line="690"/>
<source>unset</source>
<translation>не указ... | TypeScript | src/plugins_3rdparty/variants/transl/russian.ts | ggrekhov/ugene | gpl-2.0 | 40,304 | 699 | codeparrot/github-code |
a3d7c00d1546adc6c1d3ee8fc6ed22694230199047629652d62fc2edb46bcb6e | /***************************************************************************
Namco System 11 - Arcade PSX Hardware
=====================================
Driver by smf & Ryan Holtz
Board notes by The Guru
Sound and MCU hookup by R. Belmont
Thanks to the original Zinc Team.
Issues:
- Random d... | C | src/mame/drivers/namcos11.c | Luke-Nukem/mame-144-vector_mod | gpl-2.0 | 92,139 | 1,841 | codeparrot/github-code |
7699821f460d96f83581d70617beba4122e6d26559e08007200944e2db9d2f81 | /***************************************************************************
qgspropertyoverridebutton.h
---------------------------
Date : January 2017
Copyright : (C) 2017 by Nyall Dawson
Email : nyall dot dawson at gmail dot com
***********************... | C | src/gui/qgspropertyoverridebutton.h | nirvn/QGIS | gpl-2.0 | 10,741 | 309 | codeparrot/github-code |
1bc9452cb9ac61be3a85f059f4632fa544dbb47ccaf9d09622c9fbbe62e9ab3e | /*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.data.old.Item");
dojo.require("dojo... | JavaScript | ui/dojo/htdocs/dojo/src/data/old/Item.js | freemed/freemed | gpl-2.0 | 7,279 | 222 | codeparrot/github-code |
4eba2ebe33ed57e64ff47e9a71447a943c26b8bc5e74d2e6aef8ad14a5b6225d | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | C | src/gfx_type.h | oshepherd/openttd-progsigs | gpl-2.0 | 8,168 | 259 | codeparrot/github-code |
383971406d9c11cd299317bc9036f9757d48b2e08b35e7e6961757eda86588cc | import os
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import cm, colors
initDir = '../init/'
nlat = 31
nlon = 30
# Dimensions
L = 1.5e7
c0 = 2
timeDim = L / c0 / (60. * 60. * 24)
H = 200
tau_0 = 1.0922666667e-2
delta_T = 1.
sampFreq = 0.35 / 0.06 * 12 # (in year^-1)
# Case definition
muRng = n... | Python | plot/plot_index_loop_seasonal.py | atantet/transferCZ | gpl-2.0 | 5,743 | 165 | codeparrot/github-code |
02e67cf43bed395264f1c7d2ecb6ae485902c65770b999f00296f0212d6aab74 | <?php
/**
* @file
* Addon file to display help block on Admin UI.
*/
if(!defined('e107_INIT'))
{
exit;
}
// [PLUGINS]/voice/languages/[LANGUAGE]/[LANGUAGE]_admin.php
e107::lan('squadxml', true, true);
/**
* Class voice_help.
*/
class voice_help
{
private $action;
public function __construct()
{
$this... | PHP | squadxml/e_help.php | LaocheXe/SquadXML-PHP | gpl-2.0 | 2,652 | 107 | codeparrot/github-code |
6392cd253697662c9947b199e8c9afd8af7146832c9f0ba0ace2b1431343939b | /*
* USB Network driver infrastructure
* Copyright (C) 2000-2005 by David Brownell
* Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.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 Fo... | C | drivers/net/usb/usbnet.c | perkarom/Shark | gpl-2.0 | 44,573 | 1,644 | codeparrot/github-code |
6b44db1889298894194b02e3c306c211e6bd76c5dc7be675a3809eb068388169 | !
! $Id: param.f90,v 1.8 2001/09/30 10:07:20 jonas Exp $
!
!
! Global parameters and access methods
!
module param
implicit none
integer, parameter, public :: ACCU=selected_real_kind(12,30)
integer, parameter, public :: ALL_MF=42
real(ACCU), parameter, public :: MU_TOLERANCE=1.d-4
real(ACCU), parameter, public ... | FORTRAN | param.f90 | juselius/hindarot | gpl-2.0 | 1,259 | 70 | codeparrot/github-code |
9d6b42baaaca012a47965481b017fb0b6c6edc26532f8ada4a6e408179f3b73a | #include "lolevel.h"
#include "platform.h"
#include "keyboard.h"
#include "kbd_common.h"
long kbd_new_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
long kbd_prev_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
long kbd_mod_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
KeyMap keymap[] = {
/* tiny bug:... | C | platform/a640/kbd.c | c10ud/CHDK | gpl-2.0 | 2,669 | 119 | codeparrot/github-code |
ffa2373efeea2c16bf0f0821255898ce117c627bc219c3d6e94ecb52a77710b5 | /* ========================================================================== */
/* === Include/cholmod_cholesky.h =========================================== */
/* ========================================================================== */
/* -------------------------------------------------------------------------... | C | core/external/cholmod-4.0.0/include/cholmod_cholesky.h | wy113856/IRC_lab | gpl-2.0 | 19,340 | 499 | codeparrot/github-code |
586505c8f7a6ddf6d3bb963005f4dd6166c740107cde3f281cb23359c4f64452 |
# _dialogs.py
import wx
import _widgets as _wgt
from wx.lib.wordwrap import wordwrap
__version__ = '1.0.0'
import logging
log = logging.getLogger('root')
class CustomDialog(wx.Dialog):
def __init__(self, parent, *arg, **kw):
style = (wx.NO_BORDER | wx.CLIP_CHILDREN)
self.borderColour = wx.BLACK... | Python | _dialogs.py | Hakugin/TimeClock | gpl-2.0 | 19,476 | 545 | codeparrot/github-code |
0c5b796d26546d790dd5aeb6ad680584149d9e70187093b62842807fc0c5cf84 | ##############################################################################
##
## Decor application machinery core
## 2014-2017 (c) Vladi Belperchinov-Shabanski "Cade"
## <cade@bis.bg> <cade@biscom.net> <cade@cpan.org>
##
## LICENSE: GPLv2
##
######################################################################... | Perl | web/actions/commit.pm | cade-vs/perl-decor | gpl-2.0 | 4,831 | 169 | codeparrot/github-code |
33aaf62d215b6c738b0556c7239ac1942709ceaedfb02343cce8d52fb9ab88cd | import config from '@automattic/calypso-config';
import debugFactory from 'debug';
// Enable/disable ad-tracking
// These should not be put in the json config as they must not differ across environments
export const isGoogleAnalyticsEnabled = true;
export const isGoogleAnalyticsEnhancedEcommerceEnabled = true;
export ... | JavaScript | client/lib/analytics/ad-tracking/constants.js | Automattic/wp-calypso | gpl-2.0 | 4,877 | 93 | codeparrot/github-code |
475ccfc927cd2f008f982e59baf60abfadc7a68780f967ae4c1eb77b649046d4 | <?php
/**
* Generates the tabs that are used in the options menu
*/
function optionsframework_tabs() {
$counter = 0;
$optionsframework_settings = get_option('options_framework_theme');
$options = optionsframework_options();
$menu = '';
foreach ($options as $value) {
$counter++;
// Heading for Navigation
... | PHP | wp-content/themes/identiq/xt_framework/options/options-interface.php | javalidigital/javali | gpl-2.0 | 19,403 | 512 | codeparrot/github-code |
42bb396d718eef9c174b6bd21c767db68a2bc0d0f655cbfe05cca6a28201bec5 | // created on 29/11/2007
// Npgsql.NpgsqlConnectionStringBuilder.cs
//
// Author:
// Glen Parker (glenebob@nwlink.com)
// Ben Sagal (bensagal@gmail.com)
// Tao Wang (dancefire@gmail.com)
//
// Copyright (C) 2007 The Npgsql Development Team
// npgsql-general@gborg.postgresql.org
// http://gborg.postgresql.org/project/n... | C# | Common/NpgSQL.2.0.13.91-Fixbugs/Npgsql/Cache.cs | dvchinh/HTQLNHCS | gpl-2.0 | 3,188 | 124 | codeparrot/github-code |
427e87cce361d3c5f722a04218024e9dc17f36a5e96ee70eefce1d190b0cda44 | --[[
Title: base class of css style sheet
Author(s): LiXizhi
Date: 2015/5/4
Desc: css style contains a collection of StyleItem.
To change mcml default style, call mcml:SetStyle() before mcml page is loaded. We usually do this on startup.
use the lib:
------------------------------------------------------------
NPL.loa... | Lua | script/ide/System/Windows/mcml/Style.lua | NPLPackages/main | gpl-2.0 | 5,801 | 217 | codeparrot/github-code |
ec36a8c6f3875103bc12e0cb474b9161c1204800ea2217770bc2fce8fc6b4b58 | /*
Copyright (C) 2010-2014 Pivotal Software, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the under the Apache License,
Version 2.0 (the "License”); you may not use this file except in compliance
with the License. Y... | Java | src/main/java/com/springsource/hq/plugin/tcserver/plugin/appmgmt/ScriptingApplicationManager.java | pivotal/tcs-hq-product-plugin | gpl-2.0 | 1,759 | 46 | codeparrot/github-code |
e5e44bf5dcb3052cbed19a4f9159fe5560d52ab2348ddfced8814f748a27010f | <?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package Toolbox
* @since Toolbox 0.1
*/
?><!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html id="ie7" <?php language_attributes();... | PHP | header.php | mbeall/toolbox-lifepointe | gpl-2.0 | 2,564 | 76 | codeparrot/github-code |
340240168a4a9c709f3adb7b3e702530e9afb48998555d3c00c123eb59732643 | /*
* Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C)
* 2009 Royal Institute of Technology (KTH)
*
* GVoD 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
* ... | Java | bootstrap/server/caracal-client/src/main/java/se/sics/gvod/bootstrap/cclient/CaracalKeyFactory.java | o-alex/GVoD | gpl-2.0 | 3,205 | 98 | codeparrot/github-code |
1e884ac07b696a03004949f8648161038eff851d48b5516e22eef7d230a23de5 | <?php
/**
* Omni Inviter -- Offers multiple, extendable ways of inviting new users
*
* @package Omni Inviter
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Brett Profitt <brett.profitt@gmail.com>
*/
$blurb = <<<___END
OpenInviter Technology makes it easy t... | PHP | methods/openinviter/language.php | maschek/omni-inviter | gpl-2.0 | 3,578 | 59 | codeparrot/github-code |
e7563ac61d3872f82133634d69883aaff2505cf5e5157a9b112c2b4cdd20ea5d | /* $Id$ */
/***************************************************************************
* (C) Copyright 2003 - Marauroa *
***************************************************************************
***************************************************************************
... | Java | src/games/stendhal/client/gui/login/LoginDialog.java | dkfellows/stendhal | gpl-2.0 | 19,502 | 758 | codeparrot/github-code |
b681a226c9f38f464fc56133cc157839330fb1d9b6bc0459abc3155d6f2a61c5 | #ifndef _FDC_IO_H
#define _FDC_IO_H
/*
* Copyright (C) 1993-1996 Bas Laarhoven,
* (C) 1996-1997 Claus-Justus Heine.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either versio... | C | linux/kernel_2.6/linux/drivers/char/ftape/lowlevel/fdc-io.h | odit/rv042 | gpl-2.0 | 7,870 | 253 | codeparrot/github-code |
bae234935a7bfe3ace67ab14bcd77dfe0564eae6cbc834d5cfd50b36dc87e3c7 | /*****************************************************************************
* ugly.c : ugly resampler (changes pitch)
*****************************************************************************
* Copyright (C) 2002, 2006 the VideoLAN team
* $Id: ugly.c 14997 2006-03-31 15:15:07Z fkuehne $
*
* Authors: Samuel... | C | user/blkfin-apps/vlc/vlc-0.8.6b/modules/audio_filter/resampler/ugly.c | scs/uclinux | gpl-2.0 | 5,298 | 145 | codeparrot/github-code |
66e329b279ec1f7d797ddfc8e8e42a3d5d16adda415a270e8ff812b6fe70bb49 | /*
* Generic parts
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek <buytenh@gnu.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 (... | C | net/bridge/br.c | sqlfocus/linux | gpl-2.0 | 6,145 | 283 | codeparrot/github-code |
11d7a40265153388ffbceec38c68442e6c2ebeee6bdf7e874ea94ec6ecae5ce5 | #/*
# FreeRTOS V9.0.1 - Copyright (C) 2017 Real Time Engineers Ltd.
#
#
# ***************************************************************************
# * *
# * FreeRTOS tutorial books are available in pdf and paperback. ... | Makefile | FreeRTOS/Demo/WizNET_DEMO_GCC_ARM7/Makefile | robbie-cao/FreeRTOS | gpl-2.0 | 4,817 | 140 | codeparrot/github-code |
97d4eb64bbb349d3d9bd2c1e5f4a26b0df891e4394b211b74e51c11877d4767d | <!DOCTYPE html>
<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# fb: http://ogp.me/ns/fb# " lang="es">
<head>
<meta charset="utf-8">
<meta name="description" content="escritos">
<meta name="viewport" content="width=device-width">
<title>Archivo | Documentar documentando</title>... | HTML | archive.html | petrizzo/petrizzo.github.io | gpl-2.0 | 5,598 | 183 | codeparrot/github-code |
433aab52451c9d195f92dfa2de7dd55858bfe035ac492aae07b2ba774e5979a1 | /*
Copyright (C) 2003-2006 Andrey Nazarov
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 h... | C | src/gl_world.c | Bad-ptr/q2pro | gpl-2.0 | 13,736 | 524 | codeparrot/github-code |
a0d068fb01b3874fad315ed2202d92cc4527166cd024a671b14f369f4ecc912f | #include "plugin_renderer_gl/glutils.h"
#include "util/pstdint.h"
#include "framework/se_api.h"
struct glob_t;
typedef enum sprite_animation_e
{
SPRITE_ANIMATION_STOP,
SPRITE_ANIMATION_PLAY,
SPRITE_ANIMATION_LOOP
} sprite_animation_e;
struct sprite_animation_t
{
uint16_t current_frame;
uint16_t frame_a;
uint16... | C | plugins/core/renderer_gl/include/plugin_renderer_gl/sprite.h | Dar13/lightship | gpl-2.0 | 1,922 | 103 | codeparrot/github-code |
a9607fb058cb31e495f2715ee963c3f86e8fca70245917b7e54ce99e3f739d5d | /*
* copyright (C) 2013 Christian P Rasmussen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Java | src/cprasmu/rascam/camera/model/MeteringMode.java | cprasmu/RasCam-Server | gpl-2.0 | 1,840 | 82 | codeparrot/github-code |
5a7db1fa8cdff821a66f198065da92a4af18afc95015f7a5f44cbabbeeaa50f1 | $(document).ready(function(){
createCaroussel($('div[data-caroussel=caroussel]'));
setVisibleInCaroussel($('div[data-caroussel=caroussel]'), 0);
setAutoChange($('div[data-caroussel=caroussel]'));
});
function createCaroussel(carousselElement){
carousselElement.append('<div class="caroussel"></div>');
carousselEle... | JavaScript | caroussel.js | Remi-Laot-CreiZyz/caroussel-jquery | gpl-2.0 | 5,546 | 120 | codeparrot/github-code |
2b1c1a7627357283d0f4cb836591fa88f09c4dfa08285b7e1dfdc613ddb91a8d | <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style>
.KEYW {color: #933;}
.COMM {color: #bbb; font-style: italic;}
.NUMB {color: #393;}
.STRN {color: #393;}
.REGX {color: #339;}
.line {border-right: 1px dotted #666; color: #666; font-style: normal;}
</style></head><body><pre><s... | HTML | js/webodf/webodf.js-0.5.0/docs/symbols/src/lib_gui_TextController.js.html | wunderlins/learning | gpl-2.0 | 88,575 | 452 | codeparrot/github-code |
f27bd4922db330282a61d49e86c0446d353164067a6938966433b2e17bec7690 | --カバーカーニバル
function c18027138.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(c18027138.target)
e1:SetOperation(c18027138.activate)
c:RegisterEffe... | Lua | c18027138.lua | Fluorohydride/ygopro-scripts | gpl-2.0 | 2,300 | 64 | codeparrot/github-code |
0a81febc511fecb1ec7c909c0b181e8fb44095c0a0a5fc7a6ddb4c92cd01bc95 | /* vim: set sw=4 sts=4 et nofoldenable : */
/*
* Copyright (c) 2007, 2008 Danny van Dyk <danny.dyk@uni-dortmund.de>
* Copyright (c) 2007, 2008 Dirk Ribbrock <dirk.ribbrock@uni-dortmund.de>
*
* This file is part of the LA C++ library. LibLa is free software;
* you can redistribute it and/or modify it under the ter... | C++ | honei/la/algorithm.hh | dribbroc/HONEI | gpl-2.0 | 17,910 | 451 | codeparrot/github-code |
bf11692193a20471f490062ab017ea0194ab288d2694eba0bd4b21c0aca4c9cf | /**
* OWASP Benchmark Project v1.2beta
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The OWASP Benchmark is free software: you can redistribu... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest02153.java | ganncamp/Benchmark | gpl-2.0 | 3,459 | 84 | codeparrot/github-code |
1961ec22818c32461a357c0c2eadcc82c861d506a1eb7d1b8fde4988ae0596aa | /*
* Copyright (c) 2002-2003, Intel Corporation. All rights reserved.
* Created by: rusty.lynch REMOVE-THIS AT intel DOT com
* 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.
Test case for assertion #4 of the si... | C | testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-78.c | anthony-kolesov/arc_ltp | gpl-2.0 | 900 | 40 | codeparrot/github-code |
b9ee68d155f5bb62bc1fecaa24ad1a0f756bef39b48d515493050b639f0d04eb | /** @ingroup PN532
* @{
*/
#ifndef PN532_H
#define PN532_H
/*******************| Inclusions |*************************************/
#include <stdint.h>
/*******************| Macros |*****************************************/
//#define PN532_DEBUG
#define PN532_FRAME_PREAMBLE (uint8_t)0x00
#define P... | C | PN532.h | kein0r/NFCTool | gpl-2.0 | 3,561 | 105 | codeparrot/github-code |
08361cba289fa8965550d04380eab6fefcfff8ab2192a34f8a4b4fd6cb1d84d1 | /**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* 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 option)
* any later... | Java | portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/service/assessment_statusLocalServiceClp.java | iucn-whp/world-heritage-outlook | gpl-2.0 | 20,922 | 722 | codeparrot/github-code |
fe245803cf379dd70243120cc356c0c1069aad142faa248f314fcbf9626f737c | #include <algorithm>
#include "native/base/mutex.h"
#include "native/base/timeutil.h"
#include "GeDisasm.h"
#include "GPUCommon.h"
#include "GPUState.h"
#include "ChunkFile.h"
#include "Core/Config.h"
#include "Core/CoreTiming.h"
#include "Core/MemMap.h"
#include "Core/Host.h"
#include "Core/Reporting.h"
#include "Core... | C++ | GPU/GPUCommon.cpp | Ced2911/psychic-octo-wookie | gpl-2.0 | 25,531 | 918 | codeparrot/github-code |
7ef7bc4712e5307f8343fffe01173c59fead68d9df32f3c94920a534736519c5 | /*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file ... | JavaScript | typo3/sysext/backend/Resources/Public/JavaScript/Storage.js | dalder/TYPO3.CMS | gpl-2.0 | 5,501 | 182 | codeparrot/github-code |
90530c997c11cd2f40e5015fd60edcf101ccb1d0480c1949d0c77db65cf8f0b1 | package org.ecocean.servlet.export;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import org.ecocean.*;
import org.ecocean.servlet.ServletUtilities;
import java.lang.StringBuffer;
//adds spots to a new encounter
public class IndividualSearchExportCapture extends HttpSer... | Java | src/main/java/org/ecocean/servlet/export/IndividualSearchExportCapture.java | gforghetti/jenkins-tomcat-wildbook | gpl-2.0 | 5,158 | 158 | codeparrot/github-code |
cb45a36c1351a1fe878150ec80f44de3d9efccf8872a37025f6a6e696d0ab10f | package com.peiban.app.ui;
import java.util.List;
import java.util.Map;
import net.tsz.afinal.http.AjaxCallBack;
import android.content.Intent;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widge... | Java | src/com/peiban/app/ui/DetailActivity.java | sidney9111/Weixin_android | gpl-2.0 | 22,872 | 1,015 | codeparrot/github-code |
bc691601ffda1c9ebfc34b65702bbe4c2030812b81ff36a0bdfe99b3b4841a7b | /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
... | Java | base/src/org/adempierelbr/process/ProcAvgCostCreate.java | mgrigioni/oseb | gpl-2.0 | 13,740 | 338 | codeparrot/github-code |
e0af9c470bc13837e5180d69ad87b24d279ddda18e910523723180dcd87b314e | /**
* @file
* Cairo drawing context with Inkscape extensions.
*//*
* Authors:
* Krzysztof Kosiński <tweenk.pl@gmail.com>
*
* Copyright (C) 2011 Authors
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifndef SEEN_INKSCAPE_DISPLAY_DRAWING_CONTEXT_H
#define SEEN_INKSCAPE_DISPLAY_DRAW... | C | src/display/drawing-context.h | mattdangerw/inkscape | gpl-2.0 | 5,428 | 150 | codeparrot/github-code |
b8e1815445e009663f6c869366b2b7fb128be634a9106ac098e3dc0e37ba61de | // ----------------------------------------------------------------------
// ----------------------------------------------------------------------
//
// File: SharedServiceMain.h
// Author: mgrosso Matt Grosso
// Created: Sat Feb 28 11:16:21 PST 2004 on sf-devdw012.looksmart.com
// Project:
// Purpose: ... | C | inc/SharedServiceMain.h | mgrosso/cplusql | gpl-2.0 | 4,867 | 127 | codeparrot/github-code |
77421de00eb2fa7bb544408411309737b27d8cd370538cd69512a9de45a76983 | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <glib/gprintf.h>
#include "converter.h"
char *
latdeg2latmin( float lat)
{
static char latmin[20];
int degrees;
float minutes;
degrees = abs( (lat>0) ? floor(lat) : ceil(lat) );
minutes = (fabs(lat) - (float)degrees) * 60;
g_sprintf( latmin,
... | C | src/converter.c | accumulator/foxtrotgps | gpl-2.0 | 2,745 | 144 | codeparrot/github-code |
ed6ee65c447be454fe131dfef78e346cf72e867ccea463091aa3878c8023453a | /* Shape Settings Tab */
TP.shapesStore = Ext.create('Ext.data.Store', {
fields: ['name', 'data'],
proxy: {
type: 'ajax',
url: 'panorama.cgi?task=userdata_shapes',
reader: {
type: 'json',
root: 'data'
}
},
data : thruk_shape_data
});
TP.iconsetsSt... | JavaScript | plugins/plugins-available/panorama/root/js/panorama_js_panlet_icon_widgets_settings.js | awiddersheim/Thruk | gpl-2.0 | 94,387 | 1,831 | codeparrot/github-code |
633b2ecf8d2ddead6194f851ab217b2b3c82d3cc8f19fdbf04f2701fc3c2e3f6 | // drumkv1widget_elements.cpp
//
/****************************************************************************
Copyright (C) 2012-2020, rncbc aka Rui Nuno Capela. 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
a... | C++ | src/drumkv1widget_elements.cpp | rncbc/drumkv1 | gpl-2.0 | 12,654 | 536 | codeparrot/github-code |
e55fd0add7ce806fa438e9a4d16fe5c889335bb73ce2daf802468a14fb380a6c | (function() {
angular.module('hb5').controller('HbFontaineListController', ['$attrs', '$scope', 'GeoxmlService', '$routeParams', '$log', '$filter', '$timeout', 'hbAlertMessages', 'hbUtil', function($attrs, $scope, GeoxmlService, $routeParams, $log, $filter, $timeout, hbAlertMessages, hbUtil) {
$log.debug... | JavaScript | main/src/fontaine/hbFontaineListController.js | bsisa/hb-ui | gpl-2.0 | 2,720 | 74 | codeparrot/github-code |
7d8b29dc029178367fa23c2443e735a7fbdc72465bb0d4eb0cdcbc9feb60405d | <?php
defined( '_JEXEC' ) or die( '=;)' );
jimport('joomla.application.component.controller');
class controllBase extends JController
{
function setAllapotMegtartLink(){
$model = $this->getModel($this->model);
if(@$model->xmlParser){
$this->session();
$node = $model->xmlParser->getGroup( "condFields" );
... | PHP | components/com_wh/helpers/baseController.php | taccsi/bklntrl | gpl-2.0 | 8,019 | 317 | codeparrot/github-code |
8ed3c0da7396453ef60fa594581459cee11abffcc38504c4e1e66ebf51e72395 | from django.db import models
from django_crypto_fields.fields import EncryptedTextField
from edc_base.model.models import BaseUuidModel
try:
from edc_sync.mixins import SyncMixin
except ImportError:
SyncMixin = type('SyncMixin', (object, ), {})
from ..managers import CallLogManager
class CallLog (SyncMixin... | Python | edc_contact/models/call_log.py | botswana-harvard/edc-contact | gpl-2.0 | 1,199 | 53 | codeparrot/github-code |
613ce9bbe2fb4c00501e5d874a9166c3f55a56601d9990be5a96e556de8249f9 | <?php
namespace Starter\routers;
use common\routers\TemplateRouter;
use Starter\views\AdminPanel\AddUserView;
use Starter\views\AdminPanel\EditUserView;
use Starter\views\AdminPanel\LeftMenuView;
use Starter\views\AdminPanel\LoginFormView;
use Starter\views\AdminPanel\NavbarView;
use Starter\views\AdminPanel\UsersTab... | PHP | templates/starter/routers/adminpanelrestrouter.php | one-more/peach_framework | gpl-2.0 | 1,342 | 47 | codeparrot/github-code |
78b4d5882e34cbe73a311d300691f833167e10997f90f4f7122567b254750a2d | # SecuML
# Copyright (C) 2016-2017 ANSSI
#
# SecuML 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.
#
# SecuML is distributed in the h... | Python | SecuML/core/ActiveLearning/QueryStrategies/AnnotationQueries/Category.py | ah-anssi/SecuML | gpl-2.0 | 8,916 | 225 | codeparrot/github-code |
2ff80bb65c9d8d86eba1d969d5b26ca4f376c1c54db283179053e225bfe6f26d | using Newtonsoft.Json;
using RedditReader.Common;
using RedditReader.Data;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel.Resources;
using Windows.Data.Json;
using Windows.... | C# | Read.er/Read.er.WindowsPhone/HubPage.xaml.cs | skulltah/Readdit | gpl-2.0 | 8,242 | 239 | codeparrot/github-code |
a291f2fa9bcef8388d8a93b516de52cee668bb1bc0370ed2a997ea1207b5589b | # encoding: utf-8
require 'rubygems'
require 'taglib'
require 'log4r'
include Log4r
Encoding.default_internal = 'UTF-8'
Encoding.default_external = 'UTF-8'
# Utils to manipulate and do things with years
class YearUtils
include Singleton
def initialize
@log = Logger.new 'YearUtils'
@log.outputters = Ou... | Ruby | lib/year_utils.rb | morsmodre/tangotag | gpl-2.0 | 1,720 | 74 | codeparrot/github-code |
f19cacb2f3f5fc39a74580cc089b86571949c8656e2cef15082b77951c9b1d62 | package cn.chenqingcan.cmdtext;
import java.io.*;
import cn.chenqingcan.util.*;
/**
* 看文件开头几行
* @author 陈庆灿
*/
public class Head {
//------------------------------------------------------------------------
/** 程序入口 */
public static void main(String[] args) {
TextFileInfo file;
int lineno;
... | Java | src/main/java/cn/chenqingcan/cmdtext/Head.java | ActiveVolcano/cmd-text | gpl-2.0 | 1,123 | 44 | codeparrot/github-code |
affa0081914a973bb3702f7d1d5424872b434c87ccd57353451e45adeb2573d6 | /*
Copyright (C) 2005-2009 Michel de Boer <michel@twinklephone.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later... | C++ | src/parser/hdr_route.cpp | LubosD/twinkle | gpl-2.0 | 1,655 | 67 | codeparrot/github-code |
64fb68b940440ddc3c3a82818ac1e7f23d7c63b42461a2ddc75496f17b134cff | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
python library for the AR.Drone 1.0 (1.11.5) and 2.0 (2.2.9).
parts of code from Bastian Venthur, Jean-Baptiste Passot, Florian Lacrampe.
tested with Python 2.7.3 and AR.Drone vanilla firmware 1.11.5.
"""
# < imports >-------------------------------------------------... | Python | ARDrone/libARDrone.py | projeto-si-lansab/si-lansab | gpl-2.0 | 36,205 | 1,131 | codeparrot/github-code |
a29f8e0332795ebaa8768734213c0e2d468fb9538bb5833b0960e56a92c5e0ab | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/*
* 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 of the License, or (at your option) a... | C | libnm/nm-vpn-connection.c | BtbN/NetworkManager | gpl-2.0 | 6,907 | 235 | codeparrot/github-code |
c0ba9b9240155f3501a2bb4b8edda89b97434fe6f684bfac9272f33cecfd3113 | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace KKMono1
{
/// <summary>
/// This is the main type for your game.
/// </summary>
public class GameBubbles : Game
{
GraphicsDeviceManager graphics;
Spr... | C# | KKMono1/GameBubbles.cs | Kaskelot/Monolot | gpl-2.0 | 5,052 | 136 | codeparrot/github-code |
7c3a18093d29c48eba434101066064f33cd6e4b0ae055f385d1a002a7008bbe2 | <?php
/**
* strateg Theme Customizer
*
* @package strateg
*/
/**
* Sanitization functions
*/
function sanitize_race_id($raceid){
$len = strlen($raceid);
if($len < 4){
return '';
}
$a = str_split($raceid);
$ret = '';
$len = min($len, 8);
for($i = 0; $i < $len; $i++){
$o... | PHP | inc/customizer.php | horakmar/wp_theme-strateg | gpl-2.0 | 3,619 | 115 | codeparrot/github-code |
531bf190b4abf286a1ca6d6dae0d2851bef5931e867808eea5a96501f667b579 | /*
Copyright (C) 2005 Michael K. McCarty & Fritz Bronner
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
... | C | ast2.c | raceintospace/raceintospace-cvs | gpl-2.0 | 14,892 | 476 | codeparrot/github-code |
e2a72ae54623b82342e72c837d8823700006e7efea6f330178bbd6534970af67 | // FileZilla Server - a Windows ftp server
// Copyright (C) 2002-2016 - Tim Kosse <tim.kosse@filezilla-project.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 th... | C++ | source/Interface/OptionsIpFilterPage.cpp | zedfoxus/filezilla-server | gpl-2.0 | 3,181 | 105 | codeparrot/github-code |
8ff342499d9fbbf95d2c9301fd20e21452d26c0b8e1cec1adddcbf51674c0b55 | /***************************************************************************
* Copyright (C) 2006 by ludo *
* ludo42fr@free.fr *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the G... | C++ | src/property/defaulttype/TypePixmap.cpp | MassMessage/qpropertygrid | gpl-2.0 | 3,803 | 84 | codeparrot/github-code |
2638c64068ab2fd4838af4d7f925a1637fadd1e18fe2da5b5590541834cdde56 | // ------------------------------------------------------------------------------------
// Copyright (c) 2012 uhavemyword(at)gmail.com. All rights reserved.
// Created by Ben at 12/24/2012 7:13:16 PM
// ------------------------------------------------------------------------------------
namespace CP.NLayer.... | C# | test/Data/CrudTest.cs | uhavemyword/CP.NLayer | gpl-2.0 | 6,698 | 200 | codeparrot/github-code |
c6885b95cfe0b7dce81f407fb818e56382e07ed9daa9da7b9bae861953c919ff | <?php
/**
* @file
* Contains \Drupal\Core\Field\Plugin\Field\FieldFormatter\StringFormatter.
*/
namespace Drupal\Core\Field\Plugin\Field\FieldFormatter;
use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Field\FieldItemInterface;
use Drupal\Core\Field\Fi... | PHP | core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php | papillon-cendre/d8 | gpl-2.0 | 4,793 | 164 | codeparrot/github-code |
d1491a9ef516f1a80b639645aed9bbe36ec7071b27a714085e632708a4d0aaa6 | /**
* Copyright (c) 2013-2015. Department of Computer Science, University of Victoria. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publi... | Java | src/main/java/org/oscarehr/ws/rest/to/model/FavoriteTo1.java | scoophealth/oscar | gpl-2.0 | 6,203 | 288 | codeparrot/github-code |
133e8e23f4aba8ff2b09b531c54ac325f89e6ca345354d8ee7e442a6a9b95017 | /*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2010 Nokia Corporation
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.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 b... | C | audio/a2dp.c | percy-g2/android_external_bluetooth_bluez | gpl-2.0 | 55,553 | 2,454 | codeparrot/github-code |
0128fc7e94742f1a1e3fa80bd4cced27219bc5ecf5616107545ddf990494f527 | <?php if ( ! defined( 'ABSPATH' ) ) die( 'Forbidden' );
/**
* Plugin Name: Unyson
* Plugin URI: http://unyson.themefuse.com/
* Description: A free drag & drop framework that comes with a bunch of built in extensions that will help you develop premium themes fast & easy.
* Version: 2.3.1
* Author: ThemeFuse
* Auth... | PHP | wp-content/plugins/unyson/unyson.php | alireza--noori/initial-portfolio-website-test- | gpl-2.0 | 5,054 | 154 | codeparrot/github-code |
0f66e555dcd8601220ce2fe229bce215a5491fcb4b9731afcfdc585968615798 | /*
* OpenTyrian: A modern cross-platform port of Tyrian
* Copyright (C) 2007-2009 The OpenTyrian Development Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of... | C | OpenTyrianWP/OpenTyrianWP.Shared/Common/file.c | Malkierian/OpenTyrianWP | gpl-2.0 | 4,267 | 192 | codeparrot/github-code |
7577ece2a28709e16f5950941e7b8087aacec0f72eaa14e18907514f6916dcb1 | /*
* Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C)
* 2009 Royal Institute of Technology (KTH)
*
* GVoD 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
* ... | Java | system/src/main/java/se/sics/gvod/system/HostManagerComp.java | o-alex/GVoD | gpl-2.0 | 4,732 | 107 | codeparrot/github-code |
b5d817a611460320aad9fcf9c190f0f2614aead3f21b63be961cc5c212d27c4e | use strict;
use TLily::Daemon::HTTP;
my $daemon = undef;
sub parse_http {
my ($event, $handler) = @_;
my $st;
$daemon = TLily::Daemon::HTTP::daemon() unless defined($daemon);
if ($event->{daemon}) {
$event->{server} = undef;
$st = \$event->{daemon}->{_state};
} else {
$... | Perl | extensions/http_parse.pl | tlily/tigerlily | gpl-2.0 | 6,845 | 245 | codeparrot/github-code |
3328b1bf63603d388822d3ca0bd8d4a57bc6d015543cd23690c552828993e003 | package games.strategy.triplea.attatchments;
import games.strategy.engine.data.Attachable;
import games.strategy.engine.data.GameData;
import games.strategy.engine.data.GameMap;
import games.strategy.engine.data.GameParseException;
import games.strategy.engine.data.PlayerID;
import games.strategy.engine.data.PlayerLis... | Java | src/main/java/games/strategy/triplea/attatchments/AbstractRulesAttachment.java | tea-dragon/triplea | gpl-2.0 | 15,736 | 498 | codeparrot/github-code |
8a5944ba83f9eb6e50b897de895326376dbd8b61fe76941d0710265252f6d839 | /*
* Driver for OMAP-UART controller.
* Based on drivers/serial/8250.c
*
* Copyright (C) 2010 Texas Instruments.
*
* Authors:
* Govindraj R <govindraj.raja@ti.com>
* Thara Gopinath <thara@ti.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | C | drivers/serial/omap-serial.c | galaxyishere/samsung-kernel-latona | gpl-2.0 | 43,452 | 1,616 | codeparrot/github-code |
6cc9b6f1e19143ecd400b5af95a6ee7e8ba88badc7511ff6a77e1224dac2e705 |
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_bit.h"
#include "xfs_log.h"
#include "xfs_inum.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_dir2.h"
#include "xfs_dmapi.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
#include "xfs_alloc_btree.h"
#includ... | C | kernel/fs/xfs/xfs_ialloc.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 40,712 | 1,487 | codeparrot/github-code |
6c0039b24560c645c68d05e27401a5b030bbb0990dce5dc58b11cf47a0e81bd4 | # Copyright 2005 Nature Publishing Group
# 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.
#
# The Bibliotech::Import::MOD... | Perl | Bibliotech/Import/MODS.pm | IanMulvany/connotea-public | gpl-2.0 | 1,222 | 55 | codeparrot/github-code |
a0491bb7c0dd5e7735418727c42f912a9efb5e7e3ab18743d140da2d3c5a6276 | /*
* SoC's CPUFREQ driver
* based on arch/arm/mach-tegra/cpu-tegra.c Copyright (C) 2010 Google, Inc.
*
* Author: Jisheng Zhang <jszhang@marvell.com>
* Copyright: Marvell International Ltd.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Softw... | C | arch/arm/mach-mv88de3100/cpufreq.c | cjheres/linux-3.0.8 | gpl-2.0 | 4,538 | 188 | codeparrot/github-code |
84b6f4515eba7897d54e8c10cb4bbbc9036a08feb36a9fbb7f2a8df273ad8182 | /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* Copyright (C) 2001 Havoc Pennington
* Copyright (C) 2002, 2003, 2004 Red Hat, Inc.
* Copyright (C) 2003, 2004 Rob Adams
* Copyright (C) 2004-2006 Elijah Newren
* Copyright (C) 2008 Thomas Thurman
*
* This program is free software; you can r... | C | src/core/atomnames.h | GNOME/metacity | gpl-2.0 | 5,167 | 178 | codeparrot/github-code |
f23203a8bfb7b0c19fa3d3da2955a5d1a5b80797b98736e60c2ee88a15e4ec6f | /* GObject introspection: Object implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
*
* 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; eit... | C | girepository/giobjectinfo.c | kerrickstaley/GObject-Introspection-Docutils | gpl-2.0 | 27,210 | 978 | codeparrot/github-code |
4f184740b537d552eb5f76df8d1dd9ae942704ae35309fbc37d32cfe4fbcbe71 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C++ | engines/kyra/script_lol.cpp | tramboi/scummvm-test | gpl-2.0 | 94,493 | 3,082 | codeparrot/github-code |
c88f2e8b32c815574b4ed2946afaaa413eee8c80b33f9367357ceddd60f8f428 | /*
This file is part of the Android application TarotDroid.
TarotDroid 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 3 of the License, or
(at your option) any later version.
TarotD... | Java | tarotDroidUiLib/src/main/java/org/nla/tarotdroid/lib/ui/controls/FacebookThumbnailItem.java | daffycricket/tarotdroid | gpl-2.0 | 2,372 | 83 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.