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 |
|---|---|---|---|---|---|---|---|---|
35bb9e22a0d5c1e8fb9421ea0d42084973ab578312a38a37244b19405d46e97d | (function($){var cache={},uuid=0;$.fn.once=function(id,fn){if(typeof id!="string"){if(!(id in cache))cache[id]=++uuid;if(!fn)fn=id;id="jquery-once-"+cache[id]}var name=id+"-processed";var elements=this.not("."+name).addClass(name);return $.isFunction(fn)?elements.each(fn):elements};$.fn.removeOnce=function(id,fn){var n... | JavaScript | sites/default/files/advagg_js/js__sw-sZ2zMQV0sn4NfvcP6KwYpRBv6SWWyvu6VO6SD-M0__U2ORhOCQBnqVMKu97qo8kSqFtTWnBIxN0QsvorTaS_A__aU-FQJcmMeWEee6X_GVyHaQQriO_E4w12TBHqNuTiSM.js | tapclicks/tapanalytics | gpl-2.0 | 27,017 | 56 | codeparrot/github-code |
bc982fc0e11aa62c35718743d6b1adebd076d65827a6a6be03b4c6eb7bd80c83 | //===- SystemZRegisterInfo.cpp - SystemZ Register Information -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------------------... | C++ | llvmCore/lib/Target/SystemZ/SystemZRegisterInfo.cpp | bathtub/llvm-gcc | gpl-2.0 | 4,231 | 129 | codeparrot/github-code |
1f0a6ff23aa61a496a3e02a0d519d4940d214e127de04671fef38337edad5074 | /* File game.c */
#include "wand_head.h"
extern int move_monsters();
extern void showname();
extern int jumpscreen();
extern int check();
extern void showpass();
extern void draw_symbol();
extern void display();
extern int fall();
extern void map();
extern void redraw_screen();
extern struct mon_rec *make_monster();
... | C | wanderer-3.2-linux/game.c | catskillmarina/wanderer | gpl-2.0 | 26,006 | 747 | codeparrot/github-code |
a38e65cc96f2a6000229195bf82cabcd477ef106ea73930300ddc29c3b2febfb | /*
* Copyright (C) 2002-2010 The DOSBox 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 the License, or
* (at your option) any later version.
*
* This p... | C++ | dosbox/src/shell/shell.cpp | litchie/dospad | gpl-2.0 | 27,921 | 736 | codeparrot/github-code |
1dd597e32efef2a5ccbc5cbb6d24fb3e0a7da9c3396cfb6c4b0167cdc7d65316 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MonitorTool
{
public partial class MonitorToolForm : Form
{
private List<WebsitesClass> websites = new List<... | C# | Form/MonitorToolMenuForm.cs | premar/Monitor_Tool | gpl-2.0 | 5,380 | 161 | codeparrot/github-code |
719c850e561a9dc6210a0b84b1128c6714884bc26841d46a55ee752a26f24d4b | /*
* Block device elevator/IO-scheduler.
*
* Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
*
* 30042000 Jens Axboe <axboe@kernel.dk> :
*
* Split the elevator a bit so that it is possible to choose a different
* one or even write a new "plug in". There are three pieces:
* - elevator_fn, inserts a ... | C | block/elevator.c | Mazout360/lge-kernel-gb | gpl-2.0 | 26,277 | 1,164 | codeparrot/github-code |
52c208a02540af32793e62f1b5e71232ab8c115e66ef84bd2ec037e3e501801a | import random
def war_handler():
war_handler.count += 1
print("War is {0} is happening.").format(war_handler.count)
if len(player_one) > 4 and len(player_two) > 4:
limiter = 3
elif len(player_one) == 4 or len(player_two) == 4:
limiter = 2
else: # len(player_one) < 4 or len(player_... | Python | war_sim.py | AustinDKB/War-Card-Game-Simulator | gpl-2.0 | 4,472 | 145 | codeparrot/github-code |
aa8d0e49c38aae08bd0b23f0b886b4883d174b2c6d5f0bad1dec57c1fa7098fe | #!/usr/bin/env python
###
# Copyright (c) 2013, Jim Richardson <weaselkeeper@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above... | Python | src/webapp_monitor.py | weaselkeeper/misc_monitoring_scripts | gpl-2.0 | 5,060 | 151 | codeparrot/github-code |
d1e45fe7ac21f064808a356134fa38ab0c553c229ba13e34295dfac9bb725adf | <?php
$use_lib = 22; // MSG_WAR_STATUS
require_once("msgs.php");
require_once("database.php");
require_once("constants.php");
require_once("functions.php");
require_once("do_loop.php");
require_once("include/class_Krieg.php");
require_once("PHPTAL.php");
require_once("include/PHPTAL_EtsTranslator.ph... | PHP | war_status.php | www-escape-to-space-de/master | gpl-2.0 | 4,679 | 146 | codeparrot/github-code |
acaba7dce4964bdf256a70ba5ca79160dc435a13fc5bb9280008a489ec684b2a | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/*
* Copyright (C) 2001 Ximian, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This pr... | C | widgets/misc/e-charset-picker.h | johnnyjacob/evolution | gpl-2.0 | 1,576 | 51 | codeparrot/github-code |
6ac5a4d84631778c37b80cd2f80a140f7c6c809633549b135de7dbe5cef53075 | /*FILE:·ÖÊý.c*/
//Õâ¸öÎļþÓÃÓÚÉú³É.libÎļþ¡£(ºÍMM.hÒ»Æð£©
//½«·¢²¼ÓëGitHub¡£
//×ñÊØGPLÐÒé¡£
//2016.06.30
//JiZimo.
//ÒÔÏÂΪGPLÐÒéÕýÎÄ
/* GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
... | C | 分数.c | JiZimo/Jizimo-Frection-Library | gpl-2.0 | 20,004 | 414 | codeparrot/github-code |
3ce6cfe7c9bada9eae5fcc20b9f24d9cbb35c04ee8873904ba106147bc7eed9d | /* $Id: aha1542.c,v 1.1.1.1 2004/06/19 05:03:23 ashieh Exp $
* linux/kernel/aha1542.c
*
* Copyright (C) 1992 Tommy Thorn
* Copyright (C) 1993, 1994, 1995 Eric Youngdale
*
* Modified by Eric Youngdale
* Use request_irq and request_dma to help prevent unexpected conflicts
* Set up on-board DMA ... | C | drivers/scsi/aha1542.c | romanalexander/Trickles | gpl-2.0 | 50,382 | 1,807 | codeparrot/github-code |
38041056ad15aa2ab132664493f338e14cea768e0bb910548bc9b5c1dc0e7517 | # -*- coding: utf8 -*-
# Copyright (C) 2015 - Philipp Temminghoff <phil65@kodi.tv>
# This program is Free Software see LICENSE file for details
from Utils import *
import xbmc
import xbmcaddon
import xbmcgui
import xbmcvfs
import os
from dialogs import BaseClasses
from LocalDB import local_db
import TheMovieDB
ADD... | Python | script.extendedinfo/resources/lib/WindowManager.py | AMOboxTV/AMOBox.LegoBuild | gpl-2.0 | 12,611 | 308 | codeparrot/github-code |
0f07ae4468bcb35c642b009c81371b5c8fe1163aaf3077656cf6233339fe8765 | #
# The Python Imaging Library.
# $Id: MicImagePlugin.py,v 1.2 2007/06/17 14:12:15 robertoconnor Exp $
#
# Microsoft Image Composer support for PIL
#
# Notes:
# uses TiffImagePlugin.py to read the actual image streams
#
# History:
# 97-01-20 fl Created
#
# Copyright (c) Secret Labs AB 1997.
... | Python | plucker_desktop/installer/osx/application_bundle_files/Resources/parser/python/vm/PIL/MicImagePlugin.py | arpruss/plucker | gpl-2.0 | 2,334 | 97 | codeparrot/github-code |
a5081bfafdfcc1e964d651d4f03d9f8cb229a8bf078ab3cacde1b20606603ece | <?php
/*
$Id$
osCmax e-Commerce
http://www.osCmax.com
Copyright 2000 - 2011 osCmax
Released under the GNU General Public License
*/
require('includes/application_top.php');
if (isset($_GET['delete_prod']) && isset($_GET['article'])) {
tep_db_query("DELETE FROM " . TABLE_ARTICLES_XSELL . " WHERE a... | PHP | catalog/admin/articles_xsell.php | osCmax/oscmax2 | gpl-2.0 | 22,205 | 406 | codeparrot/github-code |
6ed6893c1c52fe88a506627acfc9d5320a8d297a7e470d4da9f1e3e5d9a63e2a | <?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage reporter
* @since reporter 1.0
*/
?>
<!DOCTYPE html>
<!--[if IE 6]> <html class="ie ie6" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html ... | PHP | wp-content/themes/reporter/parts/head.php | carepez/wp_sbavaglio | gpl-2.0 | 1,433 | 44 | codeparrot/github-code |
91ff64aadaab5fd9a3f690401363757b29558f7a371439270ee7aef2527e5dfc | <?php
/**
* @version 1.2.0
* @package Joomla
* @subpackage Falang
* @author Stéphane Bouey
* @copyright Copyright (C) 2012-2013 Faboba
* @license GNU/GPL, see LICENSE.php
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
function getTranslationFilters($catid, $contentElement)
{
if (!$conten... | PHP | administrator/components/com_falang/models/TranslationFilter.php | naka211/compac | gpl-2.0 | 49,776 | 1,573 | codeparrot/github-code |
c7f7ac240cd4eedeed3e336d05da2442f5000859cdc66326f802f451328e0d75 | /*
Copyright (C) 2006 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is dist... | C++ | libs/gtkmm2ext/pixfader.cc | agomusic/ardour3 | gpl-2.0 | 7,879 | 310 | codeparrot/github-code |
7275e152e205b02cd7ed76aa429bddb560a9a696b9656612294de3ba282b63dc | <?php
/**
* The template for displaying comments.
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Foothills
*/
/*
* If the current post is protected by a password ... | PHP | comments.php | OpenRange/foothills | gpl-2.0 | 2,869 | 86 | codeparrot/github-code |
e4c32e0358e2c0eea32c42706b5e594f9221cda3400336017afe630d72900899 | <?
function rowcount_split_album_pages($list) {
global $cols;
global $rows;
global $rowcount_album_pages;
if($rowcount_album_pages)
return $rowcount_album_pages;
$rowcount_album_pages=array();
$cur_page=0;
$count_rows=0;
$count_this_row=0;
if($rows==-1)
return array($list);
$pos=$cols;
... | PHP | extensions/rowcount.php | plepe/photo-pages | gpl-2.0 | 4,535 | 183 | codeparrot/github-code |
f47d9130f9c44eefd60263cb87a17b23561e5ded0f276c8d6f85c8c8db04d26b | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package icaro.aplicaciones.recursos.recursoVisualizadorEntornosSimulacion.imp;
import icaro.aplicaciones.recursos.recursoPersistenciaE... | Java | ICAROMalmo/src/icaro/aplicaciones/recursos/recursoVisualizadorEntornosSimulacion/imp/GestionEscenariosSimulacion.java | Yarichi/Proyecto-DASI | gpl-2.0 | 3,711 | 89 | codeparrot/github-code |
2d8f76aba64df412f92f6169b31d7f1f26f33c71f8d622340ffa3a4550b5d5be | #include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <errno.h>
#include <linux/fb.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/file.h>
#ifndef SOCKET_ERROR
#define SOCKET_ERROR -1
#end... | C | FADG_4.39A/system/core/toolbox/fmappsckt.c | asoneofus/v350 | gpl-2.0 | 6,057 | 288 | codeparrot/github-code |
8a0b6d173780a70081d544164f1670f012b0e41777abdddaa3b465c82f6d61b3 | <?php
/**
* Cart totals
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $woocommerce;
$available_methods = $woocommerce->shipping->get_available_shipping_methods();
?>
<div class="cart_totals <?php if ( $w... | PHP | wp-content/themes/neighborhood/woocommerce/cart/totals.php | MagicMediaInc/ironmanrecovery | gpl-2.0 | 10,437 | 290 | codeparrot/github-code |
b3f00106a3573fa1f7fcbb71825e5fb1dc266bab072bcdd0572465826c452346 | // license:BSD-3-Clause
// copyright-holders:Bryan McPhail
/***************************************************************************
The Main Event, (c) 1988 Konami
Devastators, (c) 1988 Konami
Emulation by Bryan McPhail, mish@tendril.co.uk
Notes:
- Schematics show a palette/work RAM bank selector, but this d... | C++ | src/mame/drivers/mainevt.cpp | Unrepentant-Atheist/mame | gpl-2.0 | 30,857 | 728 | codeparrot/github-code |
407acf3a0ea203a71b8b3914962f1e5f79ad927a5c0fbce0caf3932aaf7cb8cd | <?php
/**
* Copyright (C) 2019 Easify Ltd (email:support@easify.co.uk)
* 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 vers... | PHP | includes/class-easify-wc-easify-options.php | EasifyDev/easify-wc-plugin-v4.x | gpl-2.0 | 16,445 | 467 | codeparrot/github-code |
f4598d03a7ccfaa2cb17c0b2cb1f06e4d963cd05fe3c90edee36fb8ed230cc81 | /**
********************************************************************************
\file EplApi.cpp
\brief Implementation of the EplApi class
(c) SYSTEC electronic GmbH, D-07973 Greiz, August-Bebel-Str. 29
www.systec-electronic.com
(c) Bernecker + Rainer Ges.m.b.H.
B&R Stras... | C++ | Examples/X86/Generic/demo_mn_qt/src/EplApi.cpp | gauravks/i210dummy | gpl-2.0 | 12,229 | 302 | codeparrot/github-code |
3ca916f77903de011b986fdbf42e423ce41c371f98a1d04611b7fdf68a82fdde | #!/usr/bin/perl
use strict; use warnings; use mitochy;
my ($input2, $gencode, $rnaseq) = @ARGV;
die "usage: $0 <dripc_promoter.name> <mm9_gencode.bed> <rnaseq.rpkm>\n" unless @ARGV == 3;
my %data;
open (my $in1, "<", $gencode) or die "Cannot read from $gencode: $!\n";
while (my $line = <$in1>) {
chomp($line);
next... | Perl | Mouse/1_Shuffle/getStrand.pl | mitochy/BackupDRIPc | gpl-2.0 | 1,781 | 64 | codeparrot/github-code |
937a3d38ef2ef9c31613324e87b25d509a10cc4c9b3a9471b3c4c1c6aa45bb54 | /*
* s390-tools/tunedasd/src/disk.c
* Functions to handle DASD-IOCTLs.
*
* Copyright IBM Corp. 2004, 2006
*
* Author(s): Horst Hummel (horst.hummel@de.ibm.com)
*/
#include "disk.h"
#include "tunedasd.h"
#include <sys/types.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#i... | C | tunedasd/src/disk.c | hreinecke/s390-tools | gpl-2.0 | 15,443 | 685 | codeparrot/github-code |
352865e5faf1bc82de4fd0aaf342f0d81ba96dbbd138684948ae167ee5e663cc | /* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | drivers/video/msm/vidc/1080p/ddl/vcd_ddl_helper.c | gokhanmoral/siyah-xt | gpl-2.0 | 33,411 | 1,103 | codeparrot/github-code |
3f93bb94959dc2d0eb51beb6b543a0f58603f802d201037cd5f7c6596e44c110 | namespace AutoWikiBrowser
{
partial class Login
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | C# | tags/REL_5_4/AWB/Login.Designer.cs | svn2github/autowikibrowser | gpl-2.0 | 4,869 | 127 | codeparrot/github-code |
cc5e8005ca0762fe66826e6c2f3884f7d8d26fcec0f31da3fefc592a2584d952 | /* -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 8; tab-width: 8; -*- */
/* vim: set shiftwidth=8 softtabstop=8 expandtab: */
/*
********************************************************************
** NIDAS: NCAR In-situ Data Acquistion Software
**
** 2007, Copyright University Corporation for Atmospheric Re... | C | src/nidas/linux/filters/short_filters.c | ncareol/nidas | gpl-2.0 | 15,639 | 460 | codeparrot/github-code |
dfd2a8c7d7bb433d71c37c0b48be9b4cdca819e6bee49e507346db5222b57bf7 | /**
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
* A... | C | drivers/gpu/mali400/r3p2/mali/linux/mali_kernel_linux.c | 173210/android_kernel_samsung_smdk4412 | gpl-2.0 | 24,874 | 774 | codeparrot/github-code |
1de8c85d3bf24df5fbada80eaef7e2d2858e8405f5b3e3b7a629ad31605b73c6 | #include <TaoApiCpp/request/HotelRoomAddRequest.h>
QString HotelRoomAddRequest::getApiMethodName() const {
return "taobao.hotel.room.add";
}
QString HotelRoomAddRequest::getArea() const {
return area;
}
void HotelRoomAddRequest::setArea (QString area) {
this->area = area;
appParams.insert("area", area);
}
QS... | C++ | TaoApiCpp/request/HotelRoomAddRequest.cpp | sd44/TaobaoCppQtSDK | gpl-2.0 | 5,656 | 218 | codeparrot/github-code |
32b4f367483c37db732d4151c85d497b55dc2eeb269eaf5882f4588aec5f615e | /*
Copyright (c) 2007 Volker Krause <vkrause@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later versio... | C++ | mailtransport/transportjob.cpp | kolab-groupware/kdepimlibs | gpl-2.0 | 2,671 | 131 | codeparrot/github-code |
8c25936df1b74cf6bed64262ccadb9315d6e0a21a92c7052ecd7fd85ed9fb463 | <?php
/**
* @package Awesome Support/Admin/Reply
* @author AwesomeSupport <contact@getawesomesupport.com>
* @license GPL-2.0+
* @link https://getawesomesupport.com
* @copyright 2014-2017 AwesomeSupport
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
?>
<td class="... | PHP | includes/admin/metaboxes/replies-published.php | ThemeAvenue/Awesome-Support | gpl-2.0 | 3,359 | 112 | codeparrot/github-code |
c0f7ba7a7adf70d2b1ada4b88cbff43821cd31e50946e09a2905042795554e09 | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. 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 published... | Java | src/main/java/oscar/oscarProvider/pageUtil/ProEditFaxNumAction.java | scoophealth/oscar | gpl-2.0 | 2,431 | 66 | codeparrot/github-code |
31822491eeb90d7500dbafe86f76fa7ea5f050f1562f3451f25718db8884e5ce | /* Quarn OS
*
* Asynchronous tasks
*
* Copyright (C) 2009 Pawel Dziepak
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any late... | C++ | services/asynch_tasks.cpp | pdziepak/quarnos-old2 | gpl-2.0 | 1,608 | 60 | codeparrot/github-code |
7fc051b5c33f8dc4ac5f440ef2073c61bdbcc71a1f31e6e4bffccb51ec3b9351 | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// Copyright(C) 2006 Simon Howard
//
// 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 Sof... | C++ | textscreen/txt_separator.cpp | darkranger-red/odamex-maemo5 | gpl-2.0 | 2,719 | 114 | codeparrot/github-code |
169d46e8fb934027ba07b5eac5d38178f9b55c622bbce86067d0afa7f09b5f66 | /***************************************************************************
katedocument.cpp - description
-------------------
begin : Mon Jan 15 2001
copyright : (C) 2001 by Christoph "Crossfire" Cullmann
... | C++ | noncore/apps/tinykate/libkate/document/katedocument.cpp | opieproject/opie | gpl-2.0 | 81,253 | 3,182 | codeparrot/github-code |
c22e00e5e352c26a8257c3f59a1f4700297f9988f1bd6cfcee674e92783d7263 | /**
********************************************************************************
\file dllucal.c
\brief User DLL CAL module
This file contains the user DLL CAL module.
\ingroup module_dllucal
*******************************************************************************/
/*-----------------------------------... | C | stack/src/user/dll/dllucal.c | SylvainLesne/openPOWERLINK_V2 | gpl-2.0 | 29,527 | 873 | codeparrot/github-code |
1f09f2f0afb6955aca199f627bfb54bfda4641e104dc3dcf3cacb0e5c82e66d1 | #include "TextOutSpy.h"
#include "ThTypes.h"
const int MOUSEOVER_INTERVAL = 300;
const int WM_MY_SHOW_TRANSLATION = WM_USER + 300;
HINSTANCE g_hInstance = NULL;
HANDLE hSynhroMutex = 0;
HINSTANCE hGetWordLib = 0;
typedef void (*GetWordProc_t)(TCurrentMode *);
GetWordProc_t GetWordProc = NULL;
static void SendWordTo... | C | src/win32/TextOutSpy.c | virgree/stardict-2.4.8 | gpl-2.0 | 4,327 | 151 | codeparrot/github-code |
4adfaaf020830a6f06f97d659cfa019234d4b526df54a84bb574a0072015f597 | using UnityEngine;
public class TouchLogic : MonoBehaviour
{
public static int currTouch = 0;//so other scripts can know what touch is currently on screen
private Ray _ray;//this will be the ray that we cast from our touch into the scene
private RaycastHit _rayHitInfo = new RaycastHit();//return the inf... | C# | Assets/Scripts/TouchLogic.cs | Reminouche/TCG | gpl-2.0 | 3,594 | 96 | codeparrot/github-code |
9d8a3b3908a845bec6e677e846a0014aca39a00747ca6ea6467578b9b6d612ab | /*
* SDL Graphics Extension
* Text/Bitmap font functions
*
* Started 990815
*
* License: LGPL v2+ (see the file LICENSE)
* (c)1999-2001 Anders Lindström
*/
/*********************************************************************
* This library is free software; you can redistribute it and/or *
* modify it under t... | C++ | Games/EggChess/source/sge/sge_bm_text.cpp | blchinezu/EZX-Projects | gpl-2.0 | 16,027 | 548 | codeparrot/github-code |
b2da555b8e3a2f8a74cb9b564104f167796f04db1ae328f1728b4a579b34c29c | \hypertarget{class_simple_get_encoding}{
\section{SimpleGetEncoding Class Reference}
\label{class_simple_get_encoding}\index{SimpleGetEncoding@{SimpleGetEncoding}}
}
Inheritance diagram for SimpleGetEncoding::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{class_simple_get_encoding}
\end{cente... | TeX | docs/SimpletestDocumentation/drupal-simpletest/latex/class_simple_get_encoding.tex | chachasikes/TwinCitiesTestSprint | gpl-2.0 | 4,157 | 74 | codeparrot/github-code |
bb8fba199859135e16e722aa335c03f17101d91b5026703be7bb775413b9730a | <?php
/* { Module: photocrati-nextgen_pro_mosaic } */
define('NGG_PRO_MOSAIC', 'photocrati-nextgen_pro_mosaic');
define('NGG_PRO_MOSAIC_VERSION', '0.9');
class M_NextGen_Pro_Mosaic extends C_Base_Module
{
function define($context = FALSE)
{
parent::define(
NGG_PRO_MOSAIC,
'Mos... | PHP | wp-content/plugins/nextgen-gallery-plus/modules/nextgen_pro_mosaic/module.mosaic.php | derekhargest/guntherandco | gpl-2.0 | 3,000 | 98 | codeparrot/github-code |
88988a4b49bffb9d09e18977f80208d2dde16eaa4f17bc70e5eb4698b73d0380 | /*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2015 Eric Lafortune @ GuardSquare
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the F... | Java | src/main/java/proguard/evaluation/value/ParticularDoubleValue.java | flyingghost/KeepKeepClean | gpl-2.0 | 5,677 | 221 | codeparrot/github-code |
94bb9350d8f98620de08cb062496b931101c4b5dbce6b9d4f394ca5a1f150cda | /***************************************************************************
* Copyright (C) 2008-2009 by Heiko Koehn - KoehnHeiko@googlemail.com *
* Copyright (C) 2014 by Ahmed Charles - acharles@outlook.com *
* Copyright (C) 2017 by Stephen Lyons - slysven@virginmedia.com *
* ... | C++ | src/dlgNotepad.cpp | gilmoa/Mudlet | gpl-2.0 | 2,695 | 69 | codeparrot/github-code |
dcea0a38c7a4bc2c5fdf42ea6c64718bf4eb663ffc7961f8c8e3583f3c27c170 | /* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c | namek-dev/android_kernel_bq_namek | gpl-2.0 | 62,603 | 2,088 | codeparrot/github-code |
5ed59eb7af738f030144692bdc3b93408e98cccb4b1baa66d32a869d22975b0e | /*
* Copyright (C) 2006-2022 by the Widelands 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 the License, or (at your option) any later version.
... | C++ | src/scripting/lua_globals.cc | widelands/widelands | gpl-2.0 | 14,072 | 453 | codeparrot/github-code |
52624ecb93d1ec6f1ff5cca4d6015de355195d92e439e315e71b72ae71bd56f8 | package org.wordpress.android.ui.prefs;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.widget.Toolbar;
import org.wordpress.android.R;
import org.wordpress.android.WordPress;
import org.wordpress.android.ui.Loc... | Java | WordPress/src/main/java/org/wordpress/android/ui/prefs/AppSettingsActivity.java | wordpress-mobile/WordPress-Android | gpl-2.0 | 1,618 | 50 | codeparrot/github-code |
b468ab3af9758c36ebeba2e99b370984fed851ed434f3373624ca6f20fc23225 | #!/usr/bin/env perl
# Reads a CoNLL-U file and tries to fix certain simple errors that would make the file invalid; writes the fixed file to STDOUT.
# Can be used to make a parser output valid.
# * Converts Unicode to the NFC normalized form (i.e., canonical decomposition followed by canonical composition).
# * Makes s... | Perl | conllu-quick-fix.pl | UniversalDependencies/tools | gpl-2.0 | 20,571 | 605 | codeparrot/github-code |
e5bedff13c9dc80db74dcc71d229ef856b995dffbd3dd4d67c32ffef43b481d9 | if (!include)
function include(jsurl)
{
if (!include.map) include.map={};
if (include.map[jsurl]) return;include.map[jsurl]=true;
if (jsurl == null || typeof(jsurl) != 'string') return;
//$.ajaxSetup({ cache : true });
var type=/\.[^\.]+/.exec(jsurl.trim());
if (!type || type=="") type=".js";
if (type==".css")... | JavaScript | [testModule]/[statics]/include/include.js | wywzxxz/ExperimentToolkit | gpl-2.0 | 1,785 | 55 | codeparrot/github-code |
3861c89e4ca92cd00094d512064b202abbe2304d36d9f4ab67b14662ec52021f | #include <sys/mman.h>
#include <sys/time.h>
#include <sys/io.h>
#include <unistd.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <getopt.h>
#include <time.h>
#include <pthread.h>
#include <fcntl.h>
#define STR "Hello World"
pthread_t thid_square;
int fd;... | C | RTnet_exemples/hello_rtdm_driver/user/hello_rtdm_user.c | OpenSilicium/OpenSilicium-15 | gpl-2.0 | 2,519 | 114 | codeparrot/github-code |
b49ada5165ee1afee4e8abfa87dd9b61fe54963a0d199b61753f8472148badc5 | import tkinter
import logging
######################### Utility Functions #########################
def But(w, text='x', command='', side=tkinter.LEFT) :
b = tkinter.Button(w, text=text, command=command)
b.pack(side=side, padx=5, pady=5)
return(b)
def Drop(w, options=['zero', 'one', 'two'], defaul... | Python | lib/GUIutils.py | pdgilbert/Vcourse | gpl-2.0 | 2,664 | 70 | codeparrot/github-code |
2d341bbec5c2485b35158128d5793d519f08ed640d7316bda0f7fca6e4a7ccae | /*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | C | libavutil/hwcontext_dxva2.c | javandoc/Build-FFmpeg | gpl-2.0 | 18,254 | 585 | codeparrot/github-code |
515cbf3b373b8e316b724ae6983f04c66c8ea941031703fbc0fc64c6b10a303d | package org.scada_lts.service;
import com.serotonin.mango.rt.event.EventInstance;
import com.serotonin.mango.rt.event.ScheduledEvent;
import com.serotonin.mango.util.IntervalUtil;
import com.serotonin.mango.vo.event.EventHandlerVO;
import com.serotonin.mango.vo.mailingList.MailingList;
import org.scada_lts.dao.event.S... | Java | src/org/scada_lts/service/ScheduledExecuteInactiveEventInstance.java | SCADA-LTS/Scada-LTS | gpl-2.0 | 2,244 | 76 | codeparrot/github-code |
80a61d8e88e386b5bf92a220468ebc1d60208d822708e879a2a8b4a45f3a36c6 | /*
* Copyright 2008, Network Appliance Inc.
* Author: Jason McMullan <mcmullan <at> netapp.com>
* Licensed under the GPL-2 or later.
*/
#include <common.h>
#include <malloc.h>
#include <spi_flash.h>
#include "spi_flash_internal.h"
/* M25Pxx-specific commands */
#define CMD_W25_WREN 0x06 /* Write Enable */
#defi... | C | drivers/mtd/spi/winbond.c | chpec/uboot-ac100 | gpl-2.0 | 9,978 | 409 | codeparrot/github-code |
ad1b4382169f509afe5eec1e53c058b9bed46aa2f1725ef5432e97db9b1fda12 | <?php
use PoP\Root\Facades\Translation\TranslationAPIFacade;
class PoP_ContentPostLinks_Module_Processor_CustomPostWidgets extends PoP_Module_Processor_WidgetsBase
{
public const MODULE_WIDGET_LINK_ACCESS = 'widget-link-access';
public const MODULE_WIDGET_LINK_CATEGORIES = 'widget-link-categories';
public ... | PHP | layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-contentpostlinks-processors/library/processors/sidebars/posts/widgetries.php | leoloso/PoP | gpl-2.0 | 3,686 | 96 | codeparrot/github-code |
1077fad4d996cf1a865841ea68474a196c979a8dd45c1830e8d3d7518f009f7b | # -*- coding: utf-8 -*-
#
# RERO ILS
# Copyright (C) 2021 RERO
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that... | Python | rero_ils/modules/stats/views.py | rero/reroils-app | gpl-2.0 | 3,472 | 110 | codeparrot/github-code |
ac1fd9a3e563400ecc6b94684a795dec79667c7e058b0097f73f40b335fcb18d | <?php
////////////////////////////////////////////////////////////////////////////////
// Copyright (C) ReloadCMS Development Team //
// http://reloadcms.sf.net //
// ... | PHP | modules/system/rss.php | mehulsbhatt/Ubilling | gpl-2.0 | 2,757 | 62 | codeparrot/github-code |
adbafe8cac5604726709581eb2db97d0420d452610ca64b7d1a96855628df3d0 | /*
* Copyright (c) 2008-2009 Atheros Communications Inc.
*
* 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 SOFTWARE IS PROVIDED "AS IS" A... | C | drivers/net/wireless/ath/ath9k/recv.c | joshfire/chromiumos-third_party-kernel | gpl-2.0 | 50,067 | 1,820 | codeparrot/github-code |
9f552913a002a5c3470f511cf6a4b36264186e12f5726206eb94781a3971189d | <?php
/**
* The template for displaying Author archive pages.
*
* @package WordPress
* @subpackage Wheels
*/
get_header();
?>
<?php get_template_part( 'templates/title' ); ?>
<div class="<?php echo wheels_class( 'main-wrapper' ) ?>">
<div class="<?php echo wheels_class( 'container' ) ?>">
<div class="<?php... | PHP | wp-content/themes/senior/author.php | goozmo/spring-ridge | gpl-2.0 | 1,539 | 58 | codeparrot/github-code |
dc3a072894426e3e2cc420371f3d9f9af8b4780eca44ec5dcc91fbf32070b0e6 | /**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Image plugin based on Widgets API
*/
////'use strict';
CKEDITOR.dialog.add('image2', function(editor) {
// RegExp: 123, 123px, emp... | JavaScript | sites/all/modules/contrib/ckeditor/plugins/image2/dialogs/image2.js | namitgarg/multi | gpl-2.0 | 74,799 | 1,450 | codeparrot/github-code |
8d72ae2ebf9dd49badbf611d756c1cc9b56880638c0538c966b040c7740cedfa | package in.shabhushan.cp_trials.math.algebra;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Random;
import static java.util.Arrays.stream;
import static java.util.stream.Collectors.toList;
public class Xbonacci {
// only a wrapper function that boxes and unboxes array to... | Java | cp-trials/src/main/java/in/shabhushan/cp_trials/math/algebra/Xbonacci.java | Shashi-Bhushan/General | gpl-2.0 | 2,842 | 88 | codeparrot/github-code |
6929a541b1275fa2c360eda5a55af6543a474b2a0e1091b0bc7419201346f8a5 | /*
* This file is part of Soprano Project.
*
* Copyright (C) 2008 Sebastian Trueg <strueg@mandriva.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of th... | C | test/asyncresultwaiter.h | KDE/soprano | gpl-2.0 | 1,506 | 55 | codeparrot/github-code |
39bcb5ba491f352a8ac164b01fa556190ce6937d04fb2691487645d34ab5a603 | /* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
* Junior University
*
* We are making the OpenFlow specification and associated documentation
* (Software) available for public use and benefit with the expectation
* that others will use, modify and enhance the Software and contribute
* those en... | C++ | elements/local/OpenFlow/lib/chain.cc | JaeyongYoo/VisualXSwitch | gpl-2.0 | 7,516 | 247 | codeparrot/github-code |
e2416c75784c5880aa2198666a4c0e7f6cbc1ad531d7fe9b3d6f0d4a776c7ff7 | <?php
/*
* Shopgate GmbH
* http://www.shopgate.com
* Copyright © 2012-2015 Shopgate GmbH
*
* Released under the GNU General Public License (Version 2)
* [http://www.gnu.org/licenses/gpl-2.0.html]
*/
class ShopgatePluginInitHelper
{
/**
* @var ShopgateConfigGambioGx
*/
p... | PHP | shopgate/helper/ShopgatePluginInitHelper.php | khadim-raath/gambioTest | gpl-2.0 | 7,625 | 230 | codeparrot/github-code |
a93bd362992ec3bbd54fe68a392d98eae42fe845572f8a7fbf872ea5401c4e0e | package com.aelitis.azureus.ui.swt.skin;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.*;
/**
* Container that hold ExpandItems
*
*/
public class SWTSkinObjectExpandBar
extends SWTSkinObjectContainer
{
private ExpandBar expandBar;
private List<... | Java | frostwire-merge/com/aelitis/azureus/ui/swt/skin/SWTSkinObjectExpandBar.java | AcademicTorrents/AcademicTorrents-Downloader | gpl-2.0 | 2,514 | 107 | codeparrot/github-code |
3375ff6028f53b1ea6d03d77740ce9ebd9e92c47f07f0122fb400d50da8d42df | /*
* Copyright (C) 2007 Julio Vilmar Gesser.
*
* This file is part of Java 1.5 parser and Abstract Syntax Tree.
*
* Java 1.5 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Sof... | Java | src/javamop/parser/ast/body/InitializerDeclaration.java | zhang123shuo/javamop | gpl-2.0 | 1,699 | 54 | codeparrot/github-code |
4a4d9c39232d0ced21b0135ff46b0f9c3adb4ff3b2f27023de382f962ba322e4 | <?php
define('WP_ADMIN', true);
$path = ( defined('ABSPATH') ? ABSPATH : dirname(dirname(dirname(dirname(__FILE__)))) . '/');
if ( defined('ABSPATH') ){
require_once(ABSPATH . 'wp-load.php');
}else{
require_once($path.'wp-load.php');
}
// Flash often fails to send cookies with the POST or upload, so we need to pas... | PHP | wp-content/plugins/slidepress/upload_swf.php | EthanBlast/Glam-Star-Life | gpl-2.0 | 4,217 | 111 | codeparrot/github-code |
83141f2d54ba489a22871ee5ba248bffb61bf36c9df5937e0a49a56a05838323 | /*!
* \file src/main.c
*
* \brief Main program, initializes some stuff and handles user input.
*
* <hr>
*
* <h1><b>Copyright.</b></h1>\n
*
* PCB, interactive printed circuit board design
*
* Copyright (C) 1994,1995,1996, 2004 Thomas Nau
*
* This program is free software; you can redistribute it and/or modi... | C | src/main.c | rlutz/pcb | gpl-2.0 | 57,176 | 2,196 | codeparrot/github-code |
9159ada9dd360d1cb7e29fd268927380c59b548065744c40e7c7d7635acd6691 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
RemoteLogHandlerBase (Google Web Toolkit Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascr... | HTML | web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/gwt/logging/client/RemoteLogHandlerBase.html | JakaCikac/dScrum | gpl-2.0 | 15,318 | 387 | codeparrot/github-code |
8f0fdee6bb911acfcf30106158864a599b0bfec47e245c3ced3f2e9dfbef0c82 | # Redmine - project management software
# Copyright (C) 2006-2014 Jean-Philippe Lang
#
# 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 optio... | Ruby | app/controllers/attachments_controller.rb | alejandrok5/Redmine-for-heroku | gpl-2.0 | 5,304 | 155 | codeparrot/github-code |
07387fa33f720e82001e3260f7101b3f491c24f7a3349302a091af5d2d716547 | <?php
/*
Template Name: Get Involved
*/
get_header();
?>
<div id="homeholder"></div>
<div id="getinvolvedholder">
<div class="page_wrap">
<div class="container sides">
<!--<a href="<?php bloginfo('url'); ?>"><div class="involved-home-btn"><img src="<?php bloginfo('template_url'); ?>/images/home_right.png" ... | PHP | wp-content/themes/TCWV/template-get-involved.php | MESH-Dev/TCWV | gpl-2.0 | 5,971 | 158 | codeparrot/github-code |
54f47ab04477221c7795a5c95854b9e3c8cace8c2433b4a4edf77de5d37654ce | /* packet-hnbap-template.c
* Routines for UMTS Node B Application Part(HNBAP) packet dissection
* Copyright 2010 Neil Piercy, ip.access Limited <Neil.Piercy@ipaccess.com>
*
* $Id: packet-hnbap-template.c 39503 2011-10-21 02:10:19Z wmeier $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wiresh... | C | asn1/hnbap/packet-hnbap-template.c | Abhi9k/wireshark-dissector | gpl-2.0 | 7,788 | 206 | codeparrot/github-code |
4612bbb48cde2514af83d26fcdf31f0aad7def5cb4ebd7d228858062b5919031 | /*****************************************************************
|
| Neptune - File :: Posix Implementation
|
| (c) 2001-2008 Gilles Boccon-Gibod
| Author: Gilles Boccon-Gibod (bok@bok.net)
|
****************************************************************/
/*-----------------------------------------... | C++ | Platinum/Neptune/Source/System/Posix/NptPosixFile.cpp | baalexander/Video-Streamer-app | gpl-2.0 | 8,364 | 268 | codeparrot/github-code |
b34c2d9440cb1dc2d7a817535da9b90f464d0ba743a402855b92bf785de41666 | /* Copyright (c) 2010, Code Aurora Forum. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | C | drivers/video/msm_8x60/vidc/1080p/ddl/vidc_hwio.h | gunine/htc-rider-univ-kernel | gpl-2.0 | 4,849 | 137 | codeparrot/github-code |
712221c67659a246fda16be0a315b21310b592dc35009ec106935e37b6f7ed5d | <?php
require_once(OX_LIB . '/Ad.php');
class OX_Plugin_Shoppingads extends OX_Ad
{
var $network_name = 'Shopping Ads';
var $url = 'http://www.shoppingads.com';
function OX_Plugin_Shoppingads($aAd = null)
{
$this->OX_Ad($aAd);
}
/**
* This function is called statically from the ad engine. Use this fun... | PHP | wp-content/plugins/advertising-manager/lib/OX/Plugins/Shoppingads.php | damian-kociuba/wordpressSimplePage | gpl-2.0 | 6,922 | 152 | codeparrot/github-code |
5cade535dacdccf0d31eda63945e539edae270c56a4439d231631a9796b80394 | package edu.sc.seis.sod.tools;
import java.util.Map;
import junit.framework.TestCase;
import com.martiansoftware.jsap.JSAPException;
import com.martiansoftware.jsap.ParseException;
import edu.sc.seis.seisFile.client.DonutParser;
public class DonutParserTest extends TestCase {
public void testSuccessfulParse()... | Java | src/test/java/edu/sc/seis/sod/tools/DonutParserTest.java | crotwell/sod | gpl-2.0 | 994 | 33 | codeparrot/github-code |
2654fb4c5439c97fc892289d23dc65a9fe122bcc50f8ae32f5b5122208d208bb | /*
* PresetController.h
*
* Copyright (c) 2001-2019 Nick Dowell
*
* This file is part of amsynth.
*
* amsynth is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
... | C | src/PresetController.h | amsynth/amsynth | gpl-2.0 | 4,990 | 169 | codeparrot/github-code |
d206b5cfbb0efd6617802212acf1fa85ce9da95c64a91266c821c7e5d36dc11a | <HTML>
<HEAD>
<TITLE>OpenH323 Gatekeeper - The GNU Gatekeeper for H.323 VOIP Systems</TITLE>
<META NAME="KEYWORDS" CONTENT="H.323, gatekeeper, OpenH323, H323, free, open, source, Linux, ip telephony, voip, H.323">
<meta name="description" content="A VOIP gatekeeper for H.323. Build your own VOIP system with free H.323 ... | HTML | docs/manual/english/index.html | princetoad/avs | gpl-2.0 | 11,089 | 301 | codeparrot/github-code |
3c322fbd1ae9c85e140103dbe781ccfffb44c67fc5936ba2df6517cc1902f944 | <?php
/**
* TimThumb by Ben Gillbanks and Mark Maunder
* Based on work done by Tim McDaniels and Darren Hoyt
* http://code.google.com/p/timthumb/
*
* GNU General Public License, version 2
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Examples and documentation available on the project ho... | PHP | modules/mod_contactinfo/includes/timthumb.php | alexrah/jocondo | gpl-2.0 | 48,917 | 1,195 | codeparrot/github-code |
c07a7e56f0cc178dedc07365e6865eeb26bf34080552af14f26dabb26f4d3f73 | jQuery(document).ready(function($) {
"use strict";
$('.ABt_testimonials_wrapper').each(function() {
var $slider = $(this).find('.ABt_testimonials_slide');
var fx = $slider.data("fx");
var play = $slider.data("play");
var easing = $slider.data("easing");
var direc... | JavaScript | wp-content/plugins/ab-testimonials/js/init.js | aukrainskii/SNDW | gpl-2.0 | 2,826 | 74 | codeparrot/github-code |
1395f424519efaf1f214c899b590d0e0fb5ffb13d2c13e6c895e2aa9c96ba5f4 | '''
Created on 2014-11-18
@author: hongye
'''
from pyformance import registry
from core.MetricProcessor import MetricProcessor
class AlarmSendStrategy(object):
pass
class AlarmSender(object):
_strategy = None
def send(self):
pass
class AlarmMetricProcessor(MetricProcessor):
_alarmSend... | Python | monitor/processor/AlarmMetricProcessor.py | anyonedev/anyonedev-monitor-agent | gpl-2.0 | 523 | 32 | codeparrot/github-code |
d8f628d25858fe0d9c66fb018fafb8022580cecc3921bc57cbe989c5694859d4 | /*
* Copyright (C) 2008-2018 TrinityCore <https://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later v... | C++ | src/server/scripts/Commands/cs_npc.cpp | Pursche/ElunaTrinityWotlk | gpl-2.0 | 65,825 | 1,787 | codeparrot/github-code |
9eb596de7c76aebb62faf468da80c756e16290ffcacfc3ecbd0a4f38d9f23b68 | <?php
/**
* @package JobBoard
* @copyright Copyright (c)2010-2012 Tandolin <http://www.tandolin.com>
* @license : GNU General Public License v2 or later
* ----------------------------------------------------------------------- */
// Protect from unauthorized access
defined('_JEXEC') or die('Restricted Access')... | PHP | admin/controllers/messageedit.php | pdxfixit/pkg_jobboard | gpl-2.0 | 1,622 | 53 | codeparrot/github-code |
f86dd20d305f824708161f51348bdebc1471877db02d4df4ca104695234a2723 | <?php
#-------------------------------------------------------------------------------
# This script is only to be used for boot-strapping the system. You can also do
# the relevant steps manually, as outlined below. Once the system is up and
# running, you should delete or rename this file to ensure security.
#
... | PHP | install.php | reddragon/Online-Grading-System | gpl-2.0 | 3,673 | 86 | codeparrot/github-code |
72ceb923d21129f42e81aaf3d31d80a7fb13798b48afa84e39808eb79d91b159 | #pragma once
// CAddExtnWizardSheet
class CAddExtnWizardSheet : public CPropertySheet
{
DECLARE_DYNAMIC(CAddExtnWizardSheet)
public:
//CAddExtnWizardSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
//CAddExtnWizardSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage ... | C | IISxpressTray/AddExtnWizardSheet.h | RipcordSoftware/IISxpress | gpl-2.0 | 2,084 | 76 | codeparrot/github-code |
d18ee7f025ee931d8c58a7f0a422804ca769d9735bb5210b324dabaf108f0d90 | <?php
final class WPMDB_Replace {
protected $search;
protected $replace;
protected $subdomain_replaces_on;
protected $wpmdb;
protected $intent;
protected $base_domain;
protected $site_domain;
private $table;
private $column;
private $row;
function __construct( $args ) {
$keys = array( 't... | PHP | wp-content/plugins/wp-migrate-db/class/wpmdb-replace.php | BlueSkyVacations-Pantheon/BlueSkyVacations-Pantheon | gpl-2.0 | 8,208 | 258 | codeparrot/github-code |
39744a934dd4e98f17384c40dc3754ab844bf9995aa2937a903193b2da9b3c6d | #include "virtnet_control.h"
VirtNetControl::VirtNetControl(QWidget *parent) :
VirtEntityControl(parent)
{
setObjectName("VirtNetControl");
setWindowTitle(tr("VirtNet Control"));
setWindowIcon(QIcon::fromTheme("network"));
virtNetModel = new VirtNetModel();
entityList->setModel(virtNetModel);
... | C++ | src/virt_objects/virt_network/virtnet_control.cpp | F1ash/qt-virt-manager | gpl-2.0 | 10,930 | 291 | codeparrot/github-code |
a5af2af06e8d96883a09f1167bc2099773a6f298b1746d94fe0e9856e1c7ff73 | #!/bin/sh
#
# This code builds two files per directory, index and index-admin.
# It takes the first word of each file in each directory, pads it
# to 10 spaces and adds the second line of the file to it.
#
# If the second line is marked [ADMIN] it goes in index-admin
# index first gets the contents of the "general" fil... | Shell | help/genindex.sh | SyntaxIRC/SyntaxServices | gpl-2.0 | 1,186 | 46 | codeparrot/github-code |
2e0c8cb0fcd2f3348b02a4b7582b2eb541a12bf1358a8466e094eefeaeb973b2 | /*
* %kadu copyright begin%
* Copyright 2013, 2014 Bartosz Brachaczek (b.brachaczek@gmail.com)
* Copyright 2012, 2013, 2014 Rafał Przemysław Malinowski (rafal.przemyslaw.malinowski@gmail.com)
* %kadu copyright end%
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... | C++ | plugins/gadu_protocol/server/protocol-gadu-connection.cpp | vogel/kadu | gpl-2.0 | 2,034 | 78 | codeparrot/github-code |
a292d1052d0cec37f0e9470bc76769395874605eb94a69626d30b41494a6b8e3 | #include "xadStuffIt.h"
#include "UnStuffIt.h"
// (see header)
xadStuffIt g_Instance;
xadLibraryBase *GetXpkInstance(void)
{
// TODO: switch to: new lib() when there are members..
return &g_Instance;
}
xadStuffIt::xadStuffIt()
: xadLibraryBase()
, m_pArchive(nullptr)
{
// so far only to/from file(s) supported ... | C++ | xadStuffIt/xadStuffIt.cpp | ipr/qXpkLib | gpl-2.0 | 2,365 | 120 | codeparrot/github-code |
4986a228c549bc572a22bd09d6d9611bc21ece25162d8da4b2b003692d5929d7 | /*
*
*/
#ifndef SERIAL_PORT_H
#define SERIAL_PORT_H
#include <termios.h> /* POSIX terminal control definitions */
enum data_bits_t {
DATA_5 = 5,
DATA_6 = 6,
DATA_7 = 7,
DATA_8 = 8
};
enum parity_t {
PAR_NONE,
PAR_ODD,
PAR_EVEN,
PAR_SPACE
};
enum stop_bits_t {
STOP_1,
STOP_2
};
enum flow_t {
FLOW_OFF... | C | unix_linux/test/serial_port/serial_port.h | weiqiangdragonite/blog_tmp | gpl-2.0 | 621 | 51 | codeparrot/github-code |
9a6b3a7ad0fe216d007a639832055e79687a0f80148f5389040cdfdf5008715f | // Copyright (c) 2014 Jiho Choi. All rights reserved.
// To use this source, see LICENSE file.
#pragma once
namespace dg {
class Line2ShaderEffect;
// Line drawer in 2d coordinates
class Line2Drawer {
public:
Line2Drawer();
~Line2Drawer();
void Init();
void Clear();
void PreRender();
void PostRender();
... | C | dev/src/engine/line2_drawer.h | zho7611/dg | gpl-2.0 | 561 | 31 | codeparrot/github-code |
81a84c61aff648e8a888dcfb1ea81bc96e2956f1ea4089b4c57ae18b9c827493 |
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <asm/addrspace.h>
#include <asm/bootinfo.h>
#include <asm/cpu.h>
#include <asm/irq_regs.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm... | C | kernel/arch/mips/dec/ecc-berr.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 7,028 | 262 | codeparrot/github-code |
7ec25d6b5918b42bf4592d56621f307ce34172071f336fa51495712d99f01087 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
DOMException (Google Web Toolkit Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
fu... | HTML | web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/gwt/xml/client/DOMException.html | JakaCikac/dScrum | gpl-2.0 | 16,076 | 407 | codeparrot/github-code |
0d9488fa00d8d02a540402fc18822489bf23be998f9e677dd67da72776384922 | #ifndef print_types_h
#define print_types_h
#include "md_basic_types.h"
// TODO Split this into separate PrintFormatters
static constexpr const int print_levels=5;
// Trading presentation
static constexpr const char* readable_trading_header=
{R"(|-----------------------------------------|
| Bid | ... | C | md_processor/src/md_print_formatters.h | cdtait/simulation | gpl-2.0 | 6,320 | 237 | codeparrot/github-code |
c11edb7f7e30273cac20a3597605f7afc21aa059aa4b2ef90d36e7cb1fd1f22e | <?php
// -------------------------------------------------------------------------
require_once dirname(dirname(__DIR__)) . '/mainfile.php';
/*
if (file_exists(XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->dirname() . "/language/" . $xoopsConfig['language'] . "/main.php")) {
require_once XOOPS_ROOT_PATH . "/modul... | PHP | result.php | geekwright/pedigree | gpl-2.0 | 8,633 | 276 | codeparrot/github-code |
57b95f3eb9f8ce83406bd54a205f267dac43e1d9688d8fbcf39f2fde4de48741 | package com.example.test3;
import android.util.Log;
public class Dog {
private int legs;
private String color;
public Dog(int legs, String color) {
super();
this.legs = legs;
this.color = color;
}
private ListenerOne mListenerOne;
public interface ListenerOne{
public int getLegs(int legs);
}
pu... | Java | Test3/src/com/example/test3/Dog.java | mrheyao/MediaPlayer | gpl-2.0 | 556 | 36 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.