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 |
|---|---|---|---|---|---|---|---|---|
dffbafc582db3d4eaafe0da7b29c7867656062cf2c0fdc92fbcfe0f488435ef6 | /****************************************************************************
** Copyright (C) 2007 Klaralvdalens Datakonsult AB. All rights reserved.
**
** This file is part of the KD Chart library.
**
** This file may be used under the terms of the GNU General Public
** License versions 2.0 or 3.0 as published... | C | kdchart/src/KDChartLineAttributes.h | czchen/debian-massif-visualizer | gpl-2.0 | 4,197 | 107 | codeparrot/github-code |
52a8dc1b115320d404b979eda4397aa5ca40218cb3b0ffa5f89e1379e7f4a5a2 | //GameSceneLoader.java (5/26/2010)
//builds a game scene from a .mwg file
//by Matthew Weidner (www.mattweidner.com)
package com.mattweidner.lt3d.scene;
import javax.swing.ImageIcon;
import java.awt.MediaTracker;
import java.awt.Color;
import java.util.Hashtable;
import java.util.ArrayList;
import ... | Java | GameSceneLoader.java | m-w37/Lasertag3D | gpl-2.0 | 58,564 | 1,327 | codeparrot/github-code |
5b381aff0c2fe8a99dcc96317535bd1dbc8f55e2a8c2b846c1c7a4208a0c63dc | #!/usr/bin/perl -w
use lib 'libs';
use Msg;
use open qw(:std :utf8);
use Encode qw(decode_utf8);
cambia_idioma($idioma_solicitado);
no warnings;
# ----------------------------------------------------------------------------------------
# Fase 1.10 -- Usuarios con acceso al sistema / Users with system access
# ------... | Perl | libs/fase100.pl | marcositu/redhatchecklist | gpl-2.0 | 1,687 | 71 | codeparrot/github-code |
054fb711e7e26fc7fd96c29818b79b3cc82343310d24c1498df8d85939d4e05e | <?php
setlocale(LC_CTYPE, 'en_US.UTF8');
// Some of the "odd name" cleanup will break in some cases
$name_replace = array(
'CC' => 'Cocos Islands', // Cocos (Keeling) Islands
'BQ' => 'Caribbean Netherlands', // Bonaire, Sint Eustatius and Saba
'CD' => 'DR Congo', /... | PHP | tools/iso3166/convert.php | Karmabunny/sprout3 | gpl-2.0 | 2,653 | 85 | codeparrot/github-code |
53042edcdb93ce1da72e35362c2e523baedbe702baae7fffcc0d69525825a1ac | <?php
/*
Widget Name: Livemesh Pricing Table
Description: Display pricing plans in a multi-column grid.
Author: LiveMesh
Author URI: http://portfoliotheme.org
*/
class LSOW_Pricing_Table_Widget extends SiteOrigin_Widget {
function __construct() {
parent::__construct(
'lsow-pricing-plans',
... | PHP | wp-content/plugins/livemesh-siteorigin-widgets/includes/widgets/lsow-pricing-table-widget/lsow-pricing-table-widget.php | bmcalhoun/Vectre-Consulting | gpl-2.0 | 6,558 | 152 | codeparrot/github-code |
e0f4de68cf0aa842def316f5006b29e25ecd5396e118beed04896e14a452c197 | # messageentry.py - TortoiseHg's commit message editng widget
#
# Copyright 2011 Steve Borho <steve@borho.org>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2, incorporated herein by reference.
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from ... | Python | src/tortoisehg/hgqt/messageentry.py | seewindcn/tortoisehg | gpl-2.0 | 9,500 | 259 | codeparrot/github-code |
98e46157d79e4cc5c54b968471bade6843379c5b7f2e7a4167a9b7eb82cd9958 | //
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005-2014 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 Software Foundation; either version 2
// of the License, or (at your option... | C | src/doom/g_game.c | jfaulken/chocolate-doom | gpl-2.0 | 55,145 | 2,375 | codeparrot/github-code |
8b2fd1827f864660c2cef9d36aeb0c9e411c73c9bb573253db08dbf3645d9e6e | /*
* 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 christianmesch.localmaster;
import christianmesch.localmaster.misc.StopWatch;
import christianmesch.simulationworker.Simulatio... | Java | LocalMaster/src/main/java/christianmesch/localmaster/LocalMaster.java | dc-sics/microsim | gpl-2.0 | 2,414 | 94 | codeparrot/github-code |
f3464ab7b0f46105003906fafb678b633f75371d51ce558a8be62ed4d0a2c678 | #! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2011-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | Shell | test/t4026-access.sh | gittup/tup | gpl-2.0 | 1,173 | 45 | codeparrot/github-code |
4d7caac00db28539ab7aa30f4bf0cfc6665a9be4ae65b5815fda3902724fd26d | <?php
/**
* Plugin
* @author Vince Wooll <sales@jomres.net>
* @version Jomres 4
* @package Jomres
* @copyright 2005-2010 Vince Wooll
* Jomres (tm) PHP files are released under both MIT and GPL2 licenses. This means that you can choose the license that best suits your project, and use it accordingly, however all ima... | PHP | jomres/core-plugins/API/set/property/room/bynumber_occupy_byperiod.php | abespalko/estate-agency.com | gpl-2.0 | 5,435 | 138 | codeparrot/github-code |
caa804d29cebca9b3cb0565dca66ebaec3995e162987c90a8b9950dfb159d307 | /**
* @file entity_browser.entity_reference.js
*
* Defines the behavior of the entity reference widget that utilizes entity
* browser.
*/
(function ($, Drupal) {
'use strict';
/**
* Registers behaviours related to entity reference field widget.
*/
Drupal.behaviors.entityBrowserEntityReference = {
... | JavaScript | web/modules/contrib/entity_browser/js/entity_browser.entity_reference.js | isauragalafate/drupal8 | gpl-2.0 | 2,185 | 59 | codeparrot/github-code |
10db5e7a7929f85c0137f1a15bb90a3dcdee879c4539dad077d2f978317182c7 | package suite;
import java.util.List;
import primal.fp.Funs.Fun;
import suite.lp.Configuration.ProverCfg;
import suite.lp.kb.RuleSet;
import suite.lp.search.SewingProverBuilder;
import suite.util.Memoize;
public class CompileUtil {
private Fun<List<String>, RuleSet> newRuleSetFun = Memoize.fun(Suite::newRuleSet);
... | Java | src/main/java/suite/CompileUtil.java | stupidsing/suite | gpl-2.0 | 1,085 | 40 | codeparrot/github-code |
3a9e24f0a3919aab32d4db46a005d9806500d5cc9ca929cf4c2aa72bd6c1d790 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2005-2007 Tommaso Lucchini
\\/ M anipulation |
-----------... | C++ | src/engine/engineTopoChangerMesh/engineValveSliding/engineValveSlidingInitialize.C | Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | gpl-2.0 | 3,524 | 122 | codeparrot/github-code |
2ab0a04b6bb7872d4b940f37c615c74ed2d10ca3076e9a7698bafce510e6e13b | <?php
### Check Whether User Can Manage Polls
if(!current_user_can('manage_polls')) {
die('Access Denied');
}
### Poll Manager
$base_name = plugin_basename('wp-polls/polls-manager.php');
$base_page = 'admin.php?page='.$base_name;
### Form Processing
if(!empty($_POST['do'])) {
// Decide What To Do
swit... | PHP | blog/wp-content/plugins/wp-polls/polls-add.php | dipeshpithava/Moneymoves | gpl-2.0 | 8,334 | 173 | codeparrot/github-code |
0ee6104d2f13bc135bbc1c7a4e18dbf0d817456dc13ff9961b4ef9d31b26c247 | /*
* linux/kernel/irq/handle.c
*
* Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar
* Copyright (C) 2005-2006, Thomas Gleixner, Russell King
*
* This file contains the core interrupt handling code.
*
* Detailed information is available in Documentation/DocBook/genericirq
*
*/
#include <linux/irq.h>
... | C | kernel/irq/handle.c | F4uzan/f4kernel-u0 | gpl-2.0 | 5,186 | 197 | codeparrot/github-code |
7bc5c31f91e56b3181a78ffe59137bae3d015064fc1103f4155f2b5bcf8efe6b | <?php
class AIOWPSecurity_Database_Menu extends AIOWPSecurity_Admin_Menu
{
var $menu_page_slug = AIOWPSEC_DB_SEC_MENU_SLUG;
/* Specify all the tabs of this menu in the following array */
var $menu_tabs;
var $menu_tabs_handler = array(
'tab1' => 'render_tab1',
'tab2' =>... | PHP | wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-database-menu.php | amang-cuelogic/wp_test | gpl-2.0 | 29,481 | 555 | codeparrot/github-code |
e166d930093f478de736957538eb79f35683e0e23a92cfed810fef8b97e01a89 | /* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | drivers/char/diag/diagfwd_cntl.c | AdrielVelazquez/Moto_XT1058 | gpl-2.0 | 10,441 | 387 | codeparrot/github-code |
1e33dd23baa1fc22bd2b90356fa7bc359a93f494a4058512cab325cb420b054b | /*
* Linux 2.6.32 and later Kernel module for VMware MVP PVTCP Server
*
* Copyright (C) 2010-2012 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundat... | C | arch/arm/mvp/pvtcpkm/comm_os_linux.c | TeamLGOG/android_kernel_lge_d800 | gpl-2.0 | 9,391 | 373 | codeparrot/github-code |
9a51da7bb09c7bf332883e2afb574838366113e278ed57c2ac2071c7dc8777e3 | /* ***** BEGIN LICENSE BLOCK *****
* This file is part of openfx-misc <https://github.com/devernay/openfx-misc>,
* Copyright (C) 2013-2018 INRIA
*
* openfx-misc 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 Founda... | C++ | Dissolve/Dissolve.cpp | devernay/openfx-misc | gpl-2.0 | 25,573 | 665 | codeparrot/github-code |
898dbdbf2dfc625d9263d8791ec8b413ce492bbb7aad3a658aa463ee106a6518 | <?php
/**
* Created by PhpStorm.
* User: liuwei
* Date: 15/7/9
* Time: 下午7:58
*/
class Api extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('act_model','act');
// $this->load->library('encrypt');
$this->handle();
}
publ... | PHP | CodeIgniter/application/controllers/Api.php | bjfuzzj/pubsystem | gpl-2.0 | 6,441 | 234 | codeparrot/github-code |
20f64e9070cdddc6e93aad1d4bc8367e047d7970764925fc0f9de1cd84251350 | /* ============================================================
*
* This file is a part of kipi-plugins project
* http://www.kipi-plugins.org
*
* Date : 2007-10-11
* Description : a dialog to edit XMP metadata
*
* Copyright (C) 2007-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
* This ... | C++ | metadataedit/xmp/xmpeditdialog.cpp | Miriup/kipi-plugins | gpl-2.0 | 16,610 | 533 | codeparrot/github-code |
b0a2fa183af2499fcd03d6df33c85c7f58ab342c03ca4421c5108d7b8c1460a1 | <?php
// $Id: permissions.class.php 6103 2010-12-16 09:57:59Z ajdonnison $
/**
* Copyright 2005, the dotProject Team.
*
* This file is part of dotProject and is released under the same license.
* Check the file index.php in the top level dotproject directory for license
* details. If you cannot find this... | PHP | classes/permissions.class.php | Fightmander/Hydra | gpl-2.0 | 32,223 | 953 | codeparrot/github-code |
48c7736d5c9c3089d575f28b2b109d6de1bd6b19cce3d8f863ca3ec31224cc42 | <!DOCTYPE html>
<html lang="<?= $_SESSION['mailcow_locale'] ?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mailcow UI - <?php echo gethostname() ?></title>
<!--[if lt IE 9]>
<script src="https:/... | PHP | webserver/htdocs/mail/inc/header.inc.php | cybioX9/mailcow | gpl-2.0 | 8,551 | 209 | codeparrot/github-code |
88bbf78dec6864c5c25d61dd787cecf9d6e000d465e2355ef39936ed0f792e90 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This script re-constucts the Qt Creator installation to include Qt libraries, plugins, QtQuick.
Windows:
|-- bin
| |-- qt.conf -> Prefix=..
| |-- qt dlls
| |-- csdataquick executibles
| |-- csdataquick dlls
| |-- qt-creator executibles... | Python | tools/fixup_qtcreator.py | xiaoqiangwang/CSDataQuick | gpl-2.0 | 9,584 | 282 | codeparrot/github-code |
fe1e6ee5740dbc723935cd820a7bc9d2d87771bb178d2a5f9d3bb796f3ede03c | /* -*- mode: c -*- */
/* $Id: main_page.c 6158 2011-03-27 06:59:28Z cher $ */
/* Copyright (C) 2004-2011 Alexander Chernov <cher@ejudge.ru> */
/*
* 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 Foundat... | C | super_clnt/main_page.c | stden/ejudge | gpl-2.0 | 3,718 | 127 | codeparrot/github-code |
aece0c5c54547472d1c8652f9a0c7f83de8971580b31a4d9ae42d5a831d07f66 | #include <stdlib.h>
#include <stdio.h>
#include "tree.h"
GTree *GTree_Create()
{
return LinkList_Create();
}
void GTree_Destroy(GTree *tree)
{
GTree_Clear(tree);
LinkList_Destroy(tree);
}
void GTree_Clear(GTree *tree)
{
GTree_Delete(tree, 0);
}
int GTree_Insert(GTree *tree, GTreeData *data, int pPos)
{
LinkLis... | C | ds/day04/tree/tree.c | drsin/linuxCoreLearn | gpl-2.0 | 4,283 | 212 | codeparrot/github-code |
56c25c2db10f38fc68d2f6b792b10d1655adfb7abfa6331119e09655d7bccfc1 | from django.template import Library, Context
from django.conf import settings
from django.utils.timezone import utc
from django.db.models import Q, Avg, Max, Min, Sum, Count
from calfire_tracker.models import CalWildfire, WildfireDisplayContent
from dateutil import parser
from datetime import datetime, date, time... | Python | calfire_tracker/templatetags/tracker_tags.py | SCPR/firetracker | gpl-2.0 | 5,772 | 201 | codeparrot/github-code |
319d70a2d7bcccb214b84cf00aa1f404c7c19472982fc403a312e3870fb20e24 | /* This file is part of the KDE libraries
Copyright (c) 2000 Carsten Pfeiffer <pfeiffer@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 (LGPL) as published by the Free Software Foundation; either
version 2 of the... | C | src/kcursor_p.h | studioego/kwidgetsaddons | gpl-2.0 | 2,524 | 98 | codeparrot/github-code |
7736ab33fbb838ddeefde64459594bb32cb9142c487db802700ee314e6b8e571 | <?php
if (!isset($content_width)) $content_width = 940;
function gt3_get_theme_pagebuilder($postid, $args = array())
{
$gt3_theme_pagebuilder = get_post_meta($postid, "pagebuilder", true);
if (!is_array($gt3_theme_pagebuilder)) {
$gt3_theme_pagebuilder = array();
}
if (!isset($gt3_theme_pageb... | PHP | wp-content/themes/suzannerossi/functions.php | jasonglisson/susannerossi | gpl-2.0 | 22,331 | 606 | codeparrot/github-code |
22b18c850606481ae5a67e451a134e37f2236484d1370ce8a9cf6802bcf044a1 | """Package initialization file for pynoddy"""
import os.path
import sys
import subprocess
# save this module path for relative paths
package_directory = os.path.dirname(os.path.abspath(__file__))
# paths to noddy & topology executables
# noddyPath = os.path.join(package_directory,'../noddy/noddy')
# topologyPath = os... | Python | pynoddy/__init__.py | flohorovicic/pynoddy | gpl-2.0 | 7,504 | 188 | codeparrot/github-code |
4443a8ac9a8c086f82978302943b7c2b71ca3af696b7683111daf748be04e26e | /****************************************************************************
tail.c - Source code for the tail command
AUTHOR: Gregory Pietsch <gkp1@flash.net>
DESCRIPTION:
tail prints the last part of each file on the command line (10 lines by
default); it reads from standard input if no files are given or when a... | C | example/C Programming Code/krx51300.c | mikephp/basic_data_struct | gpl-2.0 | 24,258 | 808 | codeparrot/github-code |
0e435db7272e3043aca5493f72cacdc61afc3decc5de589969387c88220e36dc | package net.sf.freecol.common.model.map;
import net.sf.freecol.common.model.Identifiable;
import promitech.colonization.savegame.XmlNodeAttributes;
import promitech.colonization.savegame.XmlNodeParser;
public class LostCityRumour implements Identifiable {
private String id;
@Override
public... | Java | core/src/net/sf/freecol/common/model/map/LostCityRumour.java | zlyne0/colonization | gpl-2.0 | 872 | 35 | codeparrot/github-code |
efe2eeb43f0e1ade3b458b2ad0ffb3516cd9129040645301bf99708bac36bd6d | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2012 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/Dialogs/LX/ManageNanoDialog.cpp | damianob/xcsoar | gpl-2.0 | 3,095 | 109 | codeparrot/github-code |
df3965a652421613b8b785d52e1a2ae5bc323c2226ac6dbe1f9f596b4f2a3bdb | /*
* Created by SharpDevelop.
* User: zzc
* Date: 2013/7/30
* Time: 22:31
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Xml;
namespace Tang
{
/// <summary>
/// Description of A... | C# | Assets/Standard Assets/Editor/Tang/AtlasCocos2DParser.cs | zhongzichang/Tang | gpl-2.0 | 4,309 | 153 | codeparrot/github-code |
c5b7dc1b05d14aeb1bf5f67b4f04503e6931557a032b5f6e6bc7f74d9945a708 | <?php
/**
* tiny_mce_gzip.php
*
* Copyright 2010, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
// Handle incoming request if it's a script call
if (TinyMCE_Compressor::getParam("js")) {
// Def... | PHP | ojs/lib/pkp/lib/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php | relaciones-internacionales-journal/ojs-2-4-2 | gpl-2.0 | 10,241 | 330 | codeparrot/github-code |
501dd200cd0f8e9c54ee13eaca9dc01ff77dbbe7405e8f39ec1852366bc9bd17 | /*****************************************************************************
* clock.c: Clock/System date convertions, stream management
*****************************************************************************
* Copyright (C) 1999-2008 the VideoLAN team
* Copyright (C) 2008 Laurent Aimar
* $Id$
*
* Author... | C | src/input/clock.c | maddox/vlc | gpl-2.0 | 20,522 | 635 | codeparrot/github-code |
99a4ec69afa40124ae6a9a58b52129fb024bf5c8e3863f25e3f2761537060036 | package com.brightspark.bitsandbobs.block;
import com.brightspark.bitsandbobs.tileentity.TileTrash;
import net.minecraft.block.state.IBlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.BlockRenderLayer;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import... | Java | src/main/java/com/brightspark/bitsandbobs/block/BlockTrash.java | thebrightspark/BitsAndBobs | gpl-2.0 | 1,612 | 52 | codeparrot/github-code |
57ece66da814feb96bcd8812faf9e5270e67424cb4c1c9858d4bb774799874b9 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2015 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/Menu/ShowMenuButton.cpp | etnestad/xcsoar | gpl-2.0 | 2,245 | 73 | codeparrot/github-code |
8c36399e3d97a104e0c9549316ac2418b1a0a6bb7f6a1a7d3b2b0a5aced75909 | /***************************************************************************
* Copyright (C) 2004-2005 by yunfan *
* yunfan_zg@163.com *
* *
* This pr... | C++ | src/libeva/libft/evaftpacket.cpp | treejames/eva | gpl-2.0 | 6,411 | 266 | codeparrot/github-code |
7beec36fab456367930f974820fcfd17b7fa2901d1832db10d5501987d7b24e6 | /****************************************************************************
**
** Implementation of Qt/Embedded keyboard drivers
**
** Created : 20020218
**
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
**
** This file is part of the kernel module of the Qt GUI Toolkit.
**
** This file may be used u... | C++ | src/qt/src/embedded/qkbdpc101_qws.cpp | gestiweb/eneboo | gpl-2.0 | 12,808 | 421 | codeparrot/github-code |
6c828039d964b4d8599b34b76078b4a2db8275643ddd8c6346e35c48c5f4a154 | /*
Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is app... | Java | src/com/mysql/jdbc/util/ResultSetUtil.java | cppexpert/mysql-connector-java-with-uuid-support | gpl-2.0 | 3,010 | 109 | codeparrot/github-code |
f78d536bfcd76145089a00d43dfe62d42bf17ec9ac17a70b7bda662fb3a16ff2 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_ntrip
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* View class for a list of comments.
*... | PHP | administrator/components/com_ntrip/views/comments/view.html.php | ngxuanmui/9trip.vn | gpl-2.0 | 2,391 | 101 | codeparrot/github-code |
e7e18ca05a524b58b1ce064630b3e4146bc7a5a51681f1d824a7687bb695a942 | /*
* Copyright (C) 2005-2008 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
... | C++ | xbmc/guilib/GUIIncludes.cpp | chris-magic/xbmc_dualaudio_pvr | gpl-2.0 | 8,595 | 272 | codeparrot/github-code |
00c2fb5761f96cd7bf03b4ef967d95ff3e118de5534000d3356f3015f879458f | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 1997-2016, International Business Machines Corporation and
* others. All Rights Reserved.
*******************... | C++ | modules/web/src/main/native/Source/ThirdParty/icu/source/i18n/fmtable.cpp | teamfx/openjfx-8u-dev-rt | gpl-2.0 | 27,671 | 1,038 | codeparrot/github-code |
44c2651fd61e2321c5c15fe7b25b05c2f89aab24a60d5ea5b5ee9eb7d9bcb96b | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | PHP | sites/all/modules/civicrm/CRM/Core/Error.php | mvalihora/compucorp | gpl-2.0 | 29,996 | 983 | codeparrot/github-code |
cd590f4aaa0d9b93a2097ac44c79667c531efd634a7e4b45077715fef67db1b1 | #ifndef __IBASE_H__
#define __IBASE_H__
#ifndef ITAPS
#define ITAPS
#endif
/*==========================================================
* TYPEDEF'S
*==========================================================
*/
typedef void* iBase_Instance;
typedef struct iBase_EntityHandle_Private* iBase_Entit... | C | src/intfc/iBase.h | frontier-sunysb/FronTier | gpl-2.0 | 3,741 | 126 | codeparrot/github-code |
97b8457d9ca83659f51aed75320150e4cd90c4390338d410aed375f9c473fdd4 | package com.virtuoel.unreal.handler;
import java.util.HashMap;
import java.util.Map;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.world.World;
im... | Java | src/main/java/com/virtuoel/unreal/handler/UnrealBucketHandler.java | Virtuoel/Unreal-1.8 | gpl-2.0 | 1,295 | 48 | codeparrot/github-code |
2845e3c4278e12352fc4295544d6852018fdbff50ac7f9fe193eacb19ab54233 | __author__ = 'bromix'
class AbstractSystemVersion(object):
def __init__(self, version, releasename, appname):
if not isinstance(version, tuple):
self._version = (0, 0, 0, 0)
else:
self._version = version
if not releasename or not isinstance(releasename, basestring)... | Python | plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/abstract_system_version.py | repotvsupertuga/tvsupertuga.repository | gpl-2.0 | 978 | 36 | codeparrot/github-code |
c88c2552366b87a1f6e059e95c7447b693c2eaa2696957342a6a27c1d30aeb79 | /*
* Q35 chipset based pc system emulator
*
* Copyright (c) 2003-2004 Fabrice Bellard
* Copyright (c) 2009, 2010
* Isaku Yamahata <yamahata at valinux co jp>
* VA Linux Systems Japan K.K.
* Copyright (C) 2012 Jason Baron <jbaron@redhat.com>
*
* This is based on pc.c, but heavily mod... | C | hw/i386/pc_q35.c | joeyli/qemu-acpitad | gpl-2.0 | 14,144 | 443 | codeparrot/github-code |
f4db9f54a2d80e30e0af6322e2a5af05971b6bfa1019f323804d606447c1a595 | /**
* Easy Widgets jQuery plugin 1.4
*
* David Esperalta - http://www.davidesperalta.com/
*
* Please, use the included documentation and examples for information about
* how use this plugin. Thanks very much! This plugin as been tested in last
* version of Firefox, Opera, IExplorer, Safari and Konqueror.
*
* ... | JavaScript | js/jquery.easywidgets.js | jungchinet/jungchinet | gpl-2.0 | 35,794 | 1,006 | codeparrot/github-code |
1762f1df7b047569d8f8aab8561cb97c2beec5bb4bca6eafe031ed2ece0b8d1d | package de.superioz.moo.api.utils;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import java.io.File;
import java.io.IOException;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class IOUtil {
/**
* Get ... | Java | api/src/main/java/de/superioz/moo/api/utils/IOUtil.java | Superioz/MooProject | gpl-2.0 | 4,786 | 170 | codeparrot/github-code |
d005f4fa06d987ea374c5bb36de86481b929e97f357e3fc15440e10a08a677cb | <?php
/*************************************************************************************
* nsis.php
* --------
* Author: deguix (cevo_deguix@yahoo.com.br), Tux (http://tux.a4.cz/)
* Copyright: (c) 2005 deguix, 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.7.12
... | PHP | wrapgeshi/resources/nsis.php | chisimba/modules | gpl-2.0 | 17,820 | 355 | codeparrot/github-code |
9e60ce7d905d7e4dab1008450e9e9345fef434d822aebd74950f7695eece27cf | using System;
using System.Text.RegularExpressions;
using DNAPattern.Base.ScanResults;
namespace DNAPattern.Base.Scans
{
public class Scan2:DNAScan
{
private DNASequence scanSequence;
private TextResult scanResult;
public Scan2(DNASequence sequenceToScan)
{
setScan... | C# | DNAPattern.Base/Scans/Scan2.cs | Artenuvielle/PatternAnalyzer | gpl-2.0 | 1,514 | 48 | codeparrot/github-code |
3fa55ac3ce5f822736f86a20d7b9981c09e26eac0d97ece1c3b82276ea434773 | /////////////////////////////////////////////////////////////////////////////
// Name: src/mac/classic/accel.cpp
// Purpose: wxAcceleratorTable
// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
// RCS-ID: $Id: accel.cpp 41751 2006-10-08 21:56:55Z VZ $
// Copyright: (c) Stefan Cs... | C++ | ap/gpl/amule/wxWidgets-2.8.12/src/mac/classic/accel.cpp | hajuuk/R7000 | gpl-2.0 | 2,945 | 105 | codeparrot/github-code |
83a7b173bd8516b7fc34994b17122b0d804edc9eaa6350761fa8bf3af60dd6d0 | #ifndef LINUX_MSI_H
#define LINUX_MSI_H
#include <linux/list.h>
struct msi_msg {
u32 address_lo; /* low 32 bits of msi message address */
u32 address_hi; /* high 32 bits of msi message address */
u32 data; /* 16 bits of msi message data */
};
/* Helper functions */
struct irq_data;
struct msi_desc;
extern void m... | C | include/linux/msi.h | andi34/kernel_samsung_espresso-cm | gpl-2.0 | 1,822 | 59 | codeparrot/github-code |
9acebce370cd115859468acd2e70e3477654f8531dcb34b848228ff9df4d3c38 | <?php
/**
* Genesis Communities CPT Plugin
*
* This plugin is based on the Community Custom Post Type found in the Winning Agent Pro theme by Carrie Dils.
* Now you can add this custom post to any Genesis child theme including the AgentPress Pro by StudioPress.
* Read more about why we created this plugin at https... | PHP | genesis-communities-cpt.php | savvyjackie/genesis-communities-cpt | gpl-2.0 | 11,186 | 317 | codeparrot/github-code |
99adde46fa590a6b2aa270c269c67d2598820cbaf1f5076777fee3214c22096f | #!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import yaml
from parse import *
import sys
import cmath
import numpy as np
from getData import *
def NtoEps(matVec):
matVec=np.array(matVec)
lamb=matVec[:,0]
n=matVec[:,1]
k=matVec[:,2]
N=n[:]+1j*k[:]
eps=N[:]*N[:]
matEps=[... | Python | plot.py | cinek810/refractiveindex.info | gpl-2.0 | 2,030 | 96 | codeparrot/github-code |
a3044816c77710790458fdf7a7f5eddf0e38ea3041843f5a9a1f63fa1dba09ff | package com.prosc.fmpjdbc;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
/*
Fmp360_JDBC is a FileMaker JDBC driver that uses the XML publishing features of FileMaker Server Advanced.
Copyright (C) 2006 Prometheus Systems Consulting, LLC d/b/a 360Works
This program is free software; yo... | Java | Fmp360_JDBC/src/com/prosc/fmpjdbc/FmResultSetMetaData.java | plotters/prosc-woof | gpl-2.0 | 5,225 | 137 | codeparrot/github-code |
1dea1de8d279a9e3e47e4e66cc3307256d89e770f26725669e0ddad1729cf76c | // Copyright (C) 2009,2010,2011,2012 GlavSoft LLC.
// All rights reserved.
//
//-------------------------------------------------------------------------
// This file is part of the TightVNC software. Please visit our Web site:
//
// http://www.tightvnc.com/
//
// This program is free software; y... | C++ | ft-client-lib/RemoteFolderCreateOperation.cpp | sim0629/tightvnc | gpl-2.0 | 2,672 | 84 | codeparrot/github-code |
efa8b5d92de0345d60567c40af4c63ae136dae7132ccafb960ca63a56fb46b6b | /*
* File: ArgsParser.h
* Author: liangxh
*
* Created on 2015年6月26日, 上午9:16
*/
#ifndef ARGSPARSER_H
#define ARGSPARSER_H
//2020.12.4 添加函数 GetOptionInt 用于获取数值选项
//2020.6.28 添加对引号的处理
//2020.6.23 add iostream songjiangshan
#include <map>
#include <string>
#include <vector>
#include <iostream>
#include <sstream>... | C | src/misc/util/argv.h | Jiangshan00001/asm_8051 | gpl-2.0 | 4,649 | 181 | codeparrot/github-code |
b74dd1903b16d564783b5ebc68d98b6c2b56c96ddd0830a203b6d91f302328e5 | /*
Copyright (C) 2008-2011 Vana 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; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT... | C++ | src/CashServer/Quests.cpp | MinoaveDev/EccoDev | gpl-2.0 | 1,597 | 47 | codeparrot/github-code |
a41e7fd69b913bc190212221c3129f93b4a1e31fd8e711c0c45878760e7ebb50 | /*
* victypes.h
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | C | src/vic20/victypes.h | AreaScout/vice-gles2 | gpl-2.0 | 6,663 | 229 | codeparrot/github-code |
fa0217b35c6f9195c4c921abcc1d0d8e1a0024eb26f077b0b9371c141290c348 | /*
* (C) Copyright 2002
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
* Marius Groeger <mgroeger@sysgo.de>
*
* (C) Copyright 2002
* Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you ca... | C | cpu/arm920t/cpu.c | diverger/uboot-lpc32xx | gpl-2.0 | 3,948 | 186 | codeparrot/github-code |
a4621bcdf50518c6af71629a7fe50cdbfd3c250dafd7ed563da94fc900b65adf | /*
ParaGUI - crossplatform widgetset
Copyright (C) 2000,2001,2002 Alexander Pipelka
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, ... | C | src/paragui/pgwidgetlist.h | KAMI911/openmortal | gpl-2.0 | 2,593 | 108 | codeparrot/github-code |
68ef267a529cd8db7d8090b874b250ae2da7b55c5f068639275ce6aca6a82cbe | <?php
/* SunRain Theme's Archive Page
Copyright: 2014, D5 Creation, www.d5creation.com
Based on the Simplest D5 Framework for WordPress
Since SunRain 1.0
*/
get_header(); ?>
<div id="container">
<div id="content">
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_d... | PHP | wp-content/themes/sunrain/archive.php | ruben2m/econgym | gpl-2.0 | 3,542 | 81 | codeparrot/github-code |
9e11ba46f6fc4dbbc13db5ace8b34458b32a36eb421a3ee4a790fed237b82029 | <?php
/**
* GeoDirectory GMap - Home page Widget
*
* This will display Google map on home page with use of Google Map Api V3.
*
* @since 1.0.0
*
* @package GeoDirectory
*/
/**
* GeoDirectory home page map widget class.
*
* @since 1.0.0
*/
class geodir_homepage_map extends WP_Widget
{
... | PHP | wp-content/plugins/geodirectory/geodirectory-widgets/home_map_widget.php | creativegeekjp/judobnb | gpl-2.0 | 14,717 | 324 | codeparrot/github-code |
4f2168d7dee7bafeabcdcdd8ae522d407fee676dec94a5fc1f502f3b4bd8d422 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | PHP | sites/all/modules/civicrm/CRM/Contact/Form/Contact.php | alfonsom/ccdrupal | gpl-2.0 | 52,015 | 1,488 | codeparrot/github-code |
57a819eaa70c7c3440f9e32937b542fdb56129baab4203364ba4ed62fd0f6747 | <?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* This script is distributed under the GNU General Public License 2 or later.
*
* @filesource $RCSfile: testCasesWithoutTester.php,v $
* @version $Revision: 1.14 $
* @modified $Date: 2010/10/01 14:26:50 $ by $Author: asimon83 $... | PHP | lib/results/testCasesWithoutTester.php | viglesiasce/tl_RC1 | gpl-2.0 | 5,878 | 186 | codeparrot/github-code |
a5b5e6a914578b184e5e8eb01956f0e3d9599f844806ba0d493b1549bec4d0cc | /*
* imagesize.cc -- Part of Krita
*
* Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.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++ | krita/plugins/extensions/imagesize/imagesize.cc | donniexyz/calligra | gpl-2.0 | 5,740 | 176 | codeparrot/github-code |
b332dbf697b33650ccfe5b3e81606c580a685b6fd4866908ec84b563f3f14226 | <?php
//namespace util;
require_once 'class.setup.php';
class CheckListInstaller extends SetupWizard {
/**
* Loads, checks and installs SQL file.
*
* @return boolean
*/
function install() {
$schemaFile = CHECKLIST_PLUGIN_ROOT . 'install/sql/install_checklist.sql'; // DB dump.
return $this->runJob (... | PHP | check-list/include/class.checklist-installer.php | StrobeTechnologiesLtd/OSTCheckList | gpl-2.0 | 2,247 | 86 | codeparrot/github-code |
f9e731485df39c88ee49c582ad6fb7c83ea0d11ad3aa442bb4bebfe31435b0f4 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | sound/soc/msm/qdsp6v2/msm-compr-q6-v2.c | DirtyUnicorns/android_kernel_oneplus_msm8974 | gpl-2.0 | 50,305 | 1,712 | codeparrot/github-code |
88070e0402072fc3850e2306f057285bbecf9fa75cf6dda1d06dde048e25d462 | <?php
/**
* Xin Magazine Functions
*
* @package xinmag
* @since 1.0
* @author XinThemes
* @license GPL v3 or later
* @link http://www.xinthemes.com/
*/
// Global variable for content width
if ( ! isset( $content_width ) )
$content_width = 690; // pixels
//Load Core functions
require_once( get_template_... | PHP | xin-magazine-fotonicamente/images/functions.php | Fotonicamente/fotonicamente-wp-theme | gpl-2.0 | 12,355 | 398 | codeparrot/github-code |
b56d3cb2b661553a90190ab77b75571ae6c4235d0f47128f8ccda0cc3f187c1f | /***************************************************************************
qgsrelation.cpp
--------------------------------------
Date : 29.4.2013
Copyright : (C) 2013 Matthias Kuhn
Email : matthias at opengis dot ch
*************************************... | C++ | src/core/qgsrelation.cpp | fritsvanveen/QGIS | gpl-2.0 | 10,608 | 357 | codeparrot/github-code |
e7acb9cd11292a810dc1d153032a1b20a59139dcef2771a1489e59d3109e879f | <!--
Copyright 2016, 2017 UFPE - Universidade Federal de Pernambuco
Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como publicada pela... | HTML | users/templates/users/list.html | amadeusproject/amadeuslms | gpl-2.0 | 5,062 | 110 | codeparrot/github-code |
617551e552225087b93a1d94d26a8dc6e4f2253d6ba3a2a68bff3f084aa9ccf1 | package ij.plugin;
import ij.IJ;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.applet.Applet;
/**
* This plugin implements the File/Import/URL command and the commands in the Help menu that
* open web pages. It is b... | Java | ij/src/ij/plugin/BrowserLauncher.java | bdaum/zoraPD | gpl-2.0 | 6,489 | 150 | codeparrot/github-code |
93450158f8694de8a2b48750f93c11843e3595bbbd76ff62bd88a2c254f15494 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @author: Elivis.Zhang <elivis.zhang@aliyun.com>
# QQ Group:99798703
# Created on Aug 8, 2015
# -*- coding: utf-8 -*-
import MySQLdb
import settings
class db_operate:
def mysql_command(self,conn,sql_cmd):
try:
ret = []
conn=MySQLdb.con... | Python | opsa/mysql.py | Elivis/opsa-master | gpl-2.0 | 1,195 | 40 | codeparrot/github-code |
847da262995af8ba4a04777f262a28f0261d4cd24373d284c0040d24777f7e09 | /* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but ... | Java | L2J_Server/java/net/sf/l2j/gameserver/network/L2GameClient.java | oonym/l2InterludeServer | gpl-2.0 | 17,550 | 686 | codeparrot/github-code |
f41efe16963e8b6ebf88410fac2b65dac33dad0dcad8ef51af9e0d72e5e601d7 | using System;
using System.Collections;
namespace TSP.Core
{
[Obsolete("CrossoverHelper is deprecated, please use GeneticAlgorithm.Crossover instead.")]
public static class CrossoverHelper
{
/// <summary>
/// Do CrossoverHelper between 2 Chromosome's
/// </summary>
/// <par... | C# | src/TSP/Core/CrossoverHelper.cs | Behzadkhosravifar/TSP | gpl-2.0 | 8,153 | 179 | codeparrot/github-code |
497f0b6030900e6c920fe4feb7b01f80f623d6c8572e0508fab852d5db639ece | /*
Copyright (C) 2003 by David White <dave@whitevine.net>
Copyright (C) 2005 - 2016 by Guillaume Melquiond <guillaume.melquiond@gmail.com>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gen... | C++ | src/serialization/preprocessor.cpp | t-zuehlsdorff/wesnoth | gpl-2.0 | 38,559 | 1,288 | codeparrot/github-code |
ec9f9142b0d3d96f1637cb8245f850941c9ba22234f388a987f7201acf83d7c7 | using hitchbotAPI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Globalization;
using System.Data.Entity;
using System.Threading.Tasks;
using hitchbotAPI.Models;
namespace hitchbotAPI.Controllers
{
public class Conve... | C# | server/hitchbotAPI/hitchbotAPI/Controllers/ConversationController.cs | macGRID-SRN/hitchBOT | gpl-2.0 | 8,906 | 175 | codeparrot/github-code |
54da888423aef269e9e3e6973eeabe66661bf8ba6a1b72ff58f46b598a72f861 | /*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
* See http://www.iaxproxy.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the... | C | formats/format_wav_gsm.c | primuslabs/iaxproxy | gpl-2.0 | 15,669 | 556 | codeparrot/github-code |
723bd80b92b259def0d2a7d6a4d7d582df4d39e71b1319649e7f0372618f04f3 | /* global jQuery */
var oneApp = oneApp || {};
(function($) {
'use strict';
oneApp.initAllViews = function($el) {
var sectionType = $el.attr('data-section-type');
if ('banner' === sectionType) {
// Reset the color picker
$('.ttfmake-banner-slide', $el).each(function(index, element){
var $subEl = $(el... | JavaScript | wp-content/plugins/make-plus/components/duplicator/js/utils.js | standalone27/Younique | gpl-2.0 | 1,542 | 63 | codeparrot/github-code |
d6c8238c9a8483d7fde8583f980f6e6d2039ca1f198f653eee0081a09917ddf1 | """
/*******BLNexp
A QGIS plugin
Exports to Vector data to SurferBLN
-------------------
begin : 2014-16-09
copyright : (C) 2014 by Mario Noriega
email : mario.noriegaf@gmail.com
************... | Python | __init__.py | Mariopilot808/BLNExporter | gpl-2.0 | 1,407 | 35 | codeparrot/github-code |
dce9b40652af75ab4547d92dd2ed927872cac299f07b9196928a0ab8bfbba084 | <?php
namespace Universal\Operable\Measurable\Mixin;
use Universal\Operable\Numeric as Numeric;
trait Arithmetic
{
use Summation;
use Subtraction;
use Multiplication;
use Division;
use Negation;
use Reciprocal;
private $arithmeticZero = null;
private $arithmeticNAN ... | PHP | Universal/Operable/Measurable/Mixin/Arithmetic.php | almadomundo/dimension | gpl-2.0 | 1,964 | 82 | codeparrot/github-code |
fb87135a0bde94d5a4a3411d006b4f3fd9a98ab281f46c4380ec2ca1e37d6329 | using System;
using System.ComponentModel;
using System.Windows.Forms;
using Nexus.Client.BackgroundTasks;
using Nexus.Client.ModManagement;
using Nexus.Client.Util;
namespace Nexus.Client.ActivateModsMonitoring.UI
{
/// <summary>
/// A list view item that displays the status of a <see cref="BasicInstallT... | C# | NexusClient/ActivateModsMonitoring/UI/ActivateModsListViewItem.cs | reactormonk/nmm | gpl-2.0 | 7,183 | 212 | codeparrot/github-code |
97b3bba8cb55c2ec3abc32939bbffda9f0402f52032efd097fd05f75353a7203 | module GameTests where
import Chess.FEN
import Chess.Internal.Piece
import Chess.Internal.Move
import Chess.Internal.Game
import TestUtils
import Test.Hspec
gameSpec :: IO ()
gameSpec = hspec $
describe "Game" $ do
applyMoveSpec
isCheckmateSpec
isStalemateSpec
isInsuffi... | Haskell | test/Chess/GameTests.hs | nablaa/hchesslib | gpl-2.0 | 10,736 | 174 | codeparrot/github-code |
c709ac0c56a503aa3e829e582d60f68bab81ce58404d82e7cd24b4a0cabdd7bd | // Defintion der Protokoll-Funktionen fuer das RTS-Projekt IM1 WS2011
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <avr/eeprom.h>
#include <util/delay.h>
#include "io_avrfnkbrd.h"
#include "protocol.h"
#include "uart.h"
#include "rfm12_config_rts.h"
#include "rfm12-1.1/src/rfm12.h"
#define USE_... | C | rts_net/rts_net/protocol.c | damg/rts_mesh | gpl-2.0 | 16,031 | 662 | codeparrot/github-code |
fac7c06f089971f5b429adb2300cdaa253221b946da140edd4b5069abbc4d9e4 | /* prefer to compile mksfs on 64-bit linux systems.
Use a compiler-specific macro.
For example:
#if defined(__i386__)
// IA-32
#elif defined(__x86_64__)
// AMD64
#else
# error Unsupported architecture
#endif
*/
#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#incl... | C | labcodes/lab8/tools/mksfs.c | chyyuu/ucore_os_lab | gpl-2.0 | 19,848 | 612 | codeparrot/github-code |
0970cbcf99c84eff107304b61c25a3e35ef9028267b4b12733827b52c7cacf2e | /*************************************************************************************/
/* Copyright 2015 Barcelona Supercomputing Center */
/* */
/* This file is part of the NANOS++ library. ... | C++ | src/plugins/slicers/dynamic_for.cpp | osubasi/CRC-in-Nanox | gpl-2.0 | 3,716 | 104 | codeparrot/github-code |
d0f8f7db165f1da494c1b2fc6ee9dc3a65cdd352db30d139eb4636c38917573b | package Classes::UPS::Components::EnvironmentalSubsystem;
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
use strict;
sub init {
my ($self) = @_;
$self->get_snmp_objects("UPS-MIB", qw(upsAlarmsPresent upsTestResultsSummary
upsTestResultsDetail upsTestStartTime));
$self->get_snmp_tables("UPS-MIB", [
... | Perl | plugins-scripts/Classes/UPS/Components/EnvironmentalSubsystem.pm | lausser/check_ups_health | gpl-2.0 | 2,866 | 84 | codeparrot/github-code |
c89659b1feece7925f5c6839b69d11bb8c464a2a5625a432b350aab4f5149fe2 | //*********************************************************************/
// dar - disk archive - a backup/restoration program
// Copyright (C) 2002-2052 Denis Corbin
//
// 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 ... | C++ | src/libdar/memory_check.cpp | bradc6/libdar | gpl-2.0 | 6,300 | 249 | codeparrot/github-code |
0ad94e9f1790dac51ff62f586a96ab519dcef7ece346ffaaebc4a2f69196b512 | #!/bin/sh
#
# VirtualBox web service API daemon init script.
#
# Copyright (C) 2006-2015 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# Ge... | Shell | src/VBox/Installer/linux/vboxweb-service.sh | miguelinux/vbox | gpl-2.0 | 6,328 | 221 | codeparrot/github-code |
a30a650cdfdc8b90e98ea7199ddb85d872d64a08eba0dceb1e6fb88162da323c | // $Id$
/**
* Provides AJAX-like page updating via AHAH (Asynchronous HTML and HTTP).
*
* AHAH is a method of making a request via Javascript while viewing an HTML
* page. The request returns a small chunk of HTML, which is then directly
* injected into the page.
*
* Drupal uses this file to enhance form elemen... | JavaScript | misc/ahah.js | springnet/drupal | gpl-2.0 | 7,788 | 228 | codeparrot/github-code |
0a2e140f7b15c5d993d18d02a53a03a39543e008275fb2ae6cfb539fd3d03d1e | /* Mach-O support for BFD.
Copyright (C) 2012 moka5, Inc.
This file is part of BFD, the Binary File Descriptor library.
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... | C | include/mach-o/arm.h | geofft/binutils | gpl-2.0 | 1,581 | 37 | codeparrot/github-code |
c429975eaf55c03e104b619c94849040bc8f3ef49e105e9a2a32692da268475d | /*
* User.java
*
* This work 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 work is distributed in the hope that it w... | Java | src/java/org/liquidsite/core/content/User.java | cederberg/liquidsite | gpl-2.0 | 24,986 | 807 | codeparrot/github-code |
f9d127f70e94c954edb0592901179cc8a15b6c8ea7158b67d782e1a151290060 | /**
* bgp_bfd.c: BGP BFD handling routines
*
* @copyright Copyright (C) 2015 Cumulus Networks, Inc.
*
* This file is part of GNU Zebra.
*
* GNU Zebra is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; ei... | C | bgpd/bgp_bfd.c | rtrlib/frr | gpl-2.0 | 18,303 | 700 | codeparrot/github-code |
6a65bc381bb22f407cff63958b7d693a5d8b756079937c27e665cd14caadd05c | namespace FP300Service
{
partial class ServiceSEIForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | C# | CSharp/NET_4.0_FRAMEWORK/FP300Service/ServiceSEIForm.Designer.cs | huginsdk/fpu | gpl-2.0 | 19,259 | 311 | codeparrot/github-code |
b0ed0ef96e9cb4d25b065d43a4e8f09b0eeb3bffd8675eb9a12d9f01d8995fd7 |
/**************************************************************************
VERSION:
EDSS/Models-3 I/O API -- Version 3
"nextimec.c" version "$Id: nextimec.c 100 2015-01-16 16:52:16Z coats $"
COPYRIGHT
(C) 1992-2002 MCNC and Carlie J. Coats, Jr., and
(C) 2003-2010 Baron Advanced Meteorological Systems... | C | ioapi/nextimec.c | cjcoats/ioapi-3.2 | gpl-2.0 | 1,987 | 70 | codeparrot/github-code |
88d76aba937db2b0a996f09038b03895d5b8e375578db0fc8c118f51b42b2cc7 | /*
* Copyright (C) 2003-2006 SICOM Systems, INC.
*
* Authors: Bob Doan <bdoan@sicompos.com>
*
* 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 program is distrib... | C | libsrc/csv_data_source.c | gplv2/rlib | gpl-2.0 | 6,869 | 283 | codeparrot/github-code |
c7e20eba53734374ebcca7593314673e018b30c70b90217d2a42e5940427b211 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Copyright (C) 1988-2016 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later... | HTML | gcc-linaro/share/doc/gcc/Service.html | SubhrajyotiSen/HelioxKernelHarpia | gpl-2.0 | 4,447 | 104 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.