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 |
|---|---|---|---|---|---|---|---|---|
81a0e78091ec3c4e3e2fc8976b64c42057eaca733f4cb24b419a38036afb6feb |
// MetaphysicsIndustries.Giza - A Parsing System
// Copyright (C) 2008-2021 Metaphysics Industries, Inc.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the ... | C# | MetaphysicsIndustries.Giza.Test/GrammarCompilerT/GetNodesFromExpressionTest.cs | metaindu/MetaphysicsIndustries.Giza | gpl-2.0 | 12,009 | 284 | codeparrot/github-code |
1c01ce17d1db933ec2d05460867e81cba8eae808e00d6337bfbc62a371c0836d | #include <stdlib.h>
#include <string.h>
#include <iostream>
#include "isr.h"
float autocorr(bmpimage& img, int x, int y) {
asm (
"pxor %%xmm0, %%xmm0\n\t"
: : : "%xmm0"
);
for(int i=0; i+y<=img.maxy(); i++)
for(int j=0; j+x+16<=img.maxx(); j+=16)
asm(
"movdqu (%0,%2,1), %%xmm1\n\t"
"movdqu (%... | C++ | autocorr.cpp | Porthirios/isr | gpl-2.0 | 900 | 39 | codeparrot/github-code |
75366200ba39caa2a97edf3d8b863ab4135daa371cba1a88f2b029be48b77dc8 | /*******************************************************************************
* *
* textSel.c - Selection and clipboard routines for NEdit text widget *
* *
* Copyright (C) 1999 Mark Edel *
* *
* This is free software; you can redistribute it and/or mo... | C | source/textSel.c | mrbald/nedit | gpl-2.0 | 34,188 | 890 | codeparrot/github-code |
9a404bd47d5fcd14e097e74ec6c8d68c5cac3eedba1973031ceac335e079874c | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | C | net/ipv4/tcp_output.c | KlinkOnE/android_kernel_ba2x_2.0-1 | gpl-2.0 | 84,256 | 2,868 | codeparrot/github-code |
606bfd2b32d9d900e741093a8d7c5373032a984510ee8b218a7da6ef2182cce4 | /**
* OWASP Benchmark Project v1.2beta
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The OWASP Benchmark is free software: you can redistribu... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01933.java | thc202/Benchmark | gpl-2.0 | 3,320 | 94 | codeparrot/github-code |
935cd28494d323c7205f246ef6570ed7ab2fd125ebdcd322997c474890b7795b | <?php
/**
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will... | PHP | app/code/community/Clockworkgeek/VideoWidget/Block/Vimeo.php | clockworkgeek/Video-Widget | gpl-2.0 | 2,255 | 80 | codeparrot/github-code |
1b53df39b077ff546d9ea8df29eac9ab847ece21628cd70cab329b8475d36a14 | /****************************************************************************
**
** Copyright (C) 2020 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtPDF module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding valid commerci... | C | src/pdf/qpdfdocument.h | qtproject/qtwebengine | gpl-2.0 | 4,275 | 141 | codeparrot/github-code |
0aa47c15fdee8a3b639fc85995f984519e74771e9ef43d0f560f6d0aed1e18f5 | package framework;
import implementation.SFCannonShot;
import implementation.SFDrunkCannonShot;
import implementation.SFLaserShot;
import java.awt.event.KeyEvent;
import resources.Config;
import resources.Resources;
public class Character extends Sprite {
private enum MOVE_DIRECTION {
STOP,
LEFT,
RIGHT
... | Java | framework/Character.java | TBuc/SpaceInvasion | gpl-2.0 | 5,962 | 263 | codeparrot/github-code |
459ce88da035daffcd76e44cf097a02d1acb2f9099262148087bfcb61f5cfff3 | package org.openstreetmap.gui.jmapviewer.tilesources;
public class OsmTileSource {
public static final String MAP_MAPNIK = "http://tile.openstreetmap.org";
public static final String MAP_OSMA = "http://tah.openstreetmap.org/Tiles";
public static class Mapnik extends AbstractOsmTileSource {
public... | Java | houston/experimental/gui2/gui/org/openstreetmap/gui/jmapviewer/tilesources/OsmTileSource.java | daveshah1/nova | gpl-2.0 | 2,109 | 84 | codeparrot/github-code |
acbe0f31fb8e44bffb082719c56d899da6ac29f8aa782126a351007a1d79ea8b | //
// k8s.h
//
// extracts needed data from the k8s REST API interface
//
#pragma once
#include "json/json.h"
#include "k8s_common.h"
#include "k8s_component.h"
#include "k8s_state.h"
#include "k8s_event_data.h"
#include "k8s_net.h"
#include "sinsp_curl.h"
#include <sstream>
#include <utility>
class k8s_dispatcher;
... | C | userspace/libsinsp/k8s.h | gnosek/sysdig | gpl-2.0 | 2,473 | 107 | codeparrot/github-code |
e4f7d3a20c0d83deac78d54fbee6dcb1da39ba5e9babee66d52a80a679492b36 | <?php
namespace Libero\Modules\PricingTables;
use Libero\Modules\Shortcodes\Lib\ShortcodeInterface;
class PricingTables implements ShortcodeInterface{
private $base;
function __construct() {
$this->base = 'mkd_pricing_tables';
add_action('vc_before_init', array($this, 'vcMap'));
}
public function getBase() {
... | PHP | wp-content/themes/libero/framework/modules/shortcodes/pricing-table/pricing-tables.php | peerapat-pongnipakorn/somphoblaws | gpl-2.0 | 1,477 | 63 | codeparrot/github-code |
8cf96f7f7429abb61135cd56445d67c80b806fd4175ea6972d22bf56d3d944c4 | /********************************************************************************
** Form generated from reading UI file 'viewDialog.ui'
**
** Created: Sat Apr 20 14:26:00 2013
** by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
******... | C | builds/unix/src/ui_viewDialog.h | ammarshadiq/stellarium-0.11.4 | gpl-2.0 | 61,912 | 1,205 | codeparrot/github-code |
ff63cc1a678d667c0826d53d1691aadca41a1f3235542b8d893d3e4d93464ceb | <?php
function newsletter_manage() {
global $wpdb;
$show_newsletter = '';
$show_newsletter = get_option("cs_show_newsletter");
?>
<script>
function frm_submit(){
$ = jQuery;
$("#submit_btn").hide();
$("#loading_div").html('<img src="<?php echo get_template_directory_uri()?>/images/admin/ajax_... | PHP | wp-content/themes/rockit/include/newsletter_manage.php | PaisMovement/www.lamarboschman.dev | gpl-2.0 | 3,918 | 98 | codeparrot/github-code |
d90548de8eaa053705704d51027b7f90ccf8800382150c5dc36d383917be7631 | /****************************************************************************
** $Id: gv_dimaligned.h 7802 2008-01-03 10:30:18Z andrew $
**
** Copyright (C) 2008 RibbonSoft. All rights reserved.
**
** This file is part of the qcadlib Library project.
**
** This file may be distributed and/or modified under the terms of... | C | gv/src/entity/gv_dimordinate.h | biluna/biluna | gpl-2.0 | 5,523 | 173 | codeparrot/github-code |
fb37d907ce8ce4c12de397489dabebab97353984ce597717a6cb26b6a57be5f4 | """Twitter plugin for Kegbot."""
from pykeg.plugin import plugin
from pykeg.plugin import util
from pykeg.core.models import KegbotSite
from pykeg.core.util import SuppressTaskErrors
from . import forms
from . import tasks
from . import views
from .client import TwitterClient
from unicodedata import normalize
KEY_... | Python | pykeg/contrib/twitter/plugin.py | Kegbot/kegbot-server | gpl-2.0 | 12,130 | 343 | codeparrot/github-code |
abe99c4525830813f8d2f93e0bca21a5d1b3fd5daa94abfffe95729f8d9b7b5e | /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpiimpl.h"
#include "attr.h"
/* -- Begin Profiling Symbol Block for routine MPI_Win_set_attr */
#if defined(HAVE_PRAGMA_WEAK)
#pragma weak MPI... | C | src/mpich-3.0.1/src/mpi/attr/win_set_attr.c | qingu/WRF-Libraries | gpl-2.0 | 6,716 | 226 | codeparrot/github-code |
c1abd7ff9f7c9f5ca68ad9650ce7e59b58d62346633404157ba354148ed4414b | /* Calculate branch probabilities, and basic block execution counts.
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
Contributed by James E. Wilson, UC Berkeley/Cygnus Support;
based on some ideas from... | C | gcc/tree-profile.c | epicsdeb/rtems-gcc-newlib | gpl-2.0 | 16,358 | 482 | codeparrot/github-code |
328032a76268c257c78d0af07c0fd3633f633b3d4ffe1b3d147cb57038015e02 | <?php
/*
* name: User
* @description :
*/
class User extends Objects{
/*
Attributs
*/
protected $login=null;
protected $password;
protected $accreditation=1;
protected $statut=1;
protected $nom;
protected $prenom;
protected $anniversaire;
... | PHP | Library/Models/Objects/User.class.php | severus21/Scientia-Vulgaria | gpl-2.0 | 5,818 | 214 | codeparrot/github-code |
aee434edb7683425bf3bba452dbb60f7a13bc7d293340246db96f2d881e4348b | <?php
/*
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
UnioChat Engine
-----------------------------------------------------
Copyright (c) 2012,2013 Create New Unlimited
-----------------------------------------------------
Author: Den Solow (http://densolow.com)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | PHP | server.php | DenSolow/UnioChat | gpl-2.0 | 6,755 | 255 | codeparrot/github-code |
324bf01dd8c0a08017dec01f3f500bb3c36d52c0f12f36083575fefb4b1ab376 | //
// Author: Frantisek Vacek <fanda.vacek@volny.cz>, (C) 2014
//
// Copyright: See COPYING file that comes with this distribution
//
#include "reportviewwidget.h"
#include "itemvalueeditorwidget.h"
#include "../processor/reportpainter.h"
#include "../processor/reportprocessor.h"
#include "../../action.h"
#include ".... | C++ | libqf/libqfqmlwidgets/src/reports/widgets/reportviewwidget.cpp | arnost00/quickbox | gpl-2.0 | 37,853 | 1,205 | codeparrot/github-code |
6a71484984e91714d8264f74b62aaa128caa6d8183f6b62cb02339e18b29ec87 | <?php
/**
***********************************************************************************************
* Handle image uploads from CKEditor
*
* @copyright 2004-2016 The Admidio Team
* @see http://www.admidio.org/
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2.0 only
*
* Pa... | PHP | adm_program/system/ckeditor_upload_handler.php | ximex/admidio | gpl-2.0 | 3,945 | 102 | codeparrot/github-code |
35626267c1b39b4df0bc6eab5cdbe8a135fbf702d9d4ec1e5296c828a13cec34 | /*
* Copyright Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the authors tag. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License vers... | Java | src/com/redhat/ceylon/ant/ModuleSet.java | ceylon/ceylon-compiler | gpl-2.0 | 2,487 | 71 | codeparrot/github-code |
570f8d485b61e3fd6f2a97b15cc05ddf4a2fa002bf81aa16cef548142789aa3b | # coding=utf-8
# Author: Dustyn Gibson <miigotu@gmail.com>
# URL: https://sickrage.github.io
#
# This file is part of SickRage.
#
# SickRage is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of ... | Python | sickbeard/providers/thepiratebay.py | adaur/SickRage | gpl-3.0 | 6,703 | 163 | codeparrot/github-code |
82efd5c896379157d9271c9db1c894fa9229b64a9c7e6a936e10d56491c2a917 | /*
* Koekiebox CONFIDENTIAL
*
* [2012] - [2017] Koekiebox (Pty) Ltd
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains the property
* of Koekiebox and its suppliers, if any. The intellectual and
* technical concepts contained herein are proprietary to Koekiebox
* and its suppli... | Java | fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/websocket/ABaseClientWebSocket.java | Koekiebox-PTY-LTD/Fluid | gpl-3.0 | 13,266 | 436 | codeparrot/github-code |
2d03107c7657a0ac2d7bfa2ce1ad42def81764209817b1e6470434582bc76903 | /* output_bin.c binary output driver for vasm */
/* (c) in 2002-2009,2013,2015,2017 by Volker Barthelmann and Frank Wille */
#include "vasm.h"
#ifdef OUTBIN
static char *copyright="vasm binary output module 1.8a (c) 2002-2009,2013,2015,2017 Volker Barthelmann";
#define BINFMT_RAW 0
#define BINFMT_CBMPRG 1 /... | C | tools/vasm/output_bin.c | hoglet67/PiTubeDirect | gpl-3.0 | 2,836 | 118 | codeparrot/github-code |
d74675e88353dfc1f351154294bfb6ded927b4da6013a0c61785bdb7c7439cbc | //
// PremiumManager.h
// InnoTech
//
// Created by Vladyslav Gusakov on 9/17/16.
// Copyright © 2016 SwiftSell. All rights reserved.
//
@import UIKit;
typedef NS_ENUM(NSInteger, PremiumStatus)
{
Inactive = 0,
Active = 1
};
//itunes connect
static NSString* const kiTunesPremiumProductID = @"innotech_one_... | C | InnoTech/Global/PremiumManager.h | vladyslavgusakov/InnoTech | gpl-3.0 | 603 | 31 | codeparrot/github-code |
7061486a890e8792bf26d4038270ce614ce25bdb756c9d8137d72d1ec00ab639 | #!/usr/bin/env python
"""
Copyright (C) 2016 Elliott Mitchell <ehem+android@m5p.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any late... | Python | libexec/gpt.py | ehem/kdztools | gpl-3.0 | 8,879 | 340 | codeparrot/github-code |
e827a7740172d2e0fd78995bd74816fad2902b301500bd678ef914f807aa322d | /*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2007 The PHP Group |
+---------... | C | spievatko/espievatko/prtbl/srv/new/php-5.2.5/ext/dom/namelist.c | tukusejssirs/eSpievatko | gpl-3.0 | 2,606 | 82 | codeparrot/github-code |
86a9fc6272342c92e85cc2e04a57b379861f3e7778805649479cdd2136dbdacb | #!/usr/bin/env ruby
# ---------------------------------------------------------------------------- #
# Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs #
# #
# Licensed under the Apache License, Version 2.0 (the "Lice... | Ruby | src/vmm_mad/ec2/one_vmm_ec2.rb | simon8233/Ezilla3.0 | gpl-3.0 | 12,959 | 409 | codeparrot/github-code |
a64a482990d588406f91cc72fc7798cc7750306f712bd0823514639b4792b767 | package com.foxyourprivacy.privacyRiskInfo;
import android.os.Parcel;
import android.os.Parcelable;
import com.foxyourprivacy.privacyRiskInfo.slides.Slide;
import java.util.ArrayList;
/**
* LessonObjects hold all the information needed to display and interact with a lesson in the LessonActivity
* the Slides and e... | Java | android/src/com/foxyourprivacy/privacyRiskInfo/LessonObject.java | sleep-yearning/FoxIT | gpl-3.0 | 3,736 | 132 | codeparrot/github-code |
d495046372eeecd71d52405e7d8443c212024ec3b59a1ddfea9cc96930fe7740 | jQuery(document).ready(function ($) {
function fillPostBox(post, threadTemplateInstance) {
var subj = "№ " + post.id + " " + post.name;
var message = post.message;
var childrenMain = threadTemplateInstance.children();
var children = childrenMain.get(0);
children.childNode... | JavaScript | src/main/resources/static/js/thread.js | belchan/imageboard | gpl-3.0 | 1,498 | 55 | codeparrot/github-code |
cac5a59f36496e0c7e1d549797a8040db34d87a8b1346af34fd1da90bf934427 | package org.flowerplatform.flowerino_plugin.library_manager.renderer;
import java.awt.Component;
import javax.swing.JComboBox;
import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;
import org.flowerplatform.flowerino_plugin.library_manager.LibraryManagerEntry;
/**
* @author Cristian Spi... | Java | FlowerinoPlugin/src/org/flowerplatform/flowerino_plugin/library_manager/renderer/ActionCellRenderer.java | flower-platform/flowerino-plugin | gpl-3.0 | 790 | 31 | codeparrot/github-code |
4f99d1da0b46125f90a077be3fa138328051153882ad50573a917e2af4953f8f | package de.codepitbull.vertx.eventsourcing.verticles;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;
import io.vertx.rxjava.core.AbstractVerticle;
import io.vertx.rxjava.... | Java | src/main/java/de/codepitbull/vertx/eventsourcing/verticles/GameControlVerticle.java | codepitbull/vertx3-eventsourcing | gpl-3.0 | 5,183 | 123 | codeparrot/github-code |
e92354f0955cad039a3f75cc5e2650553d30f8bf1cb6f487117a45710cfa0718 | /*
* Copyright (C) 2012 Tim Vaughan <tgvaughan@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | Java | src/master/EnsembleSummary.java | CompEvol/MASTER | gpl-3.0 | 11,120 | 312 | codeparrot/github-code |
30d98e51b6529baa2ed3c5a38264d6ab7924cb42103c925fe7cc62539a92ab04 | /*
*
* Copyright (c) 2007,2008 by Christian Dietrich <stettberger@dokucode.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any... | C | services/ntp/ntp.h | NeoBelerophon/ethersex | gpl-3.0 | 2,063 | 56 | codeparrot/github-code |
a0419063b6b5f92c5a98db05ba24f6be70f7e93a113678c992399e3fc570fe8b | \hypertarget{SingleMaterialgroupsAccount_8hpp}{\section{cuon/\+Articles/\+Single\+Materialgroups\+Account.hpp File Reference}
\label{SingleMaterialgroupsAccount_8hpp}\index{cuon/\+Articles/\+Single\+Materialgroups\+Account.\+hpp@{cuon/\+Articles/\+Single\+Materialgroups\+Account.\+hpp}}
}
{\ttfamily \#include $<$gtkmm.... | TeX | cuon_client/cpp/doc/latex/d4/d93/SingleMaterialgroupsAccount_8hpp.tex | CuonDeveloper/cuon | gpl-3.0 | 1,281 | 31 | codeparrot/github-code |
f554e3e3f1b47021575607209de1c6455a8e95be4fb386312aea411e00d309db | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* 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 3 of the License, or
* (at your option) any later version.
*
* T... | Java | java/com/poorcoding/dixelpungeon/actors/blobs/Soulforge.java | arfonzocoward/dixel-pungeon | gpl-3.0 | 2,694 | 89 | codeparrot/github-code |
e19d0538e8ac189fcd2d7aa45708b4a01827637a7c6025d60f250ba45c1f0d51 | <?php
/*************************************************************************************
* css.php
* -------
* Author: Nigel McNie (nigel@geshi.org), Zéfling (zefling@ikilote.net)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.12
* Date Started: 2004/06/18
*
* CSS ... | PHP | Classes/GeSHi/geshi/css.php | I-SAN-dev/isan_t3geshi | gpl-3.0 | 18,037 | 350 | codeparrot/github-code |
0459bb397b231c411e07e944e184046e80eb548b3b3a5f097f392c77f2980cd3 | {-# LANGUAGE OverloadedLists #-}
module Nirum.Targets.DocsSpec where
import System.FilePath ((</>))
import Test.Hspec.Meta
import Text.Blaze.Html.Renderer.Utf8 (renderHtml)
import Nirum.Constructs.Annotation (empty)
import Nirum.Constructs.DeclarationSet (DeclarationSet)
import Nirum.Constructs.Module (Module (..))
i... | Haskell | test/Nirum/Targets/DocsSpec.hs | dahlia/nirum | gpl-3.0 | 1,421 | 34 | codeparrot/github-code |
24c6aee7fa529c0272bd130253f25ee98bba570407d68ff53b43bbbcec1bfbf1 | /*
* Copyright (C) 2012 Holger Oehm
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program i... | Java | java/buildmonitor/src/main/java/de/holger_oehm/xfd/travis/TravisMonitor.java | holgero/ClewareUSB | gpl-3.0 | 2,400 | 69 | codeparrot/github-code |
6eb97ed970154ac00038d8cc2cf9cb19522085938b39a7034fed7f94d276fde6 | /*
* Author: Pierre-Henry Soria <ph7software@gmail.com>
* Copyright: (c) 2012-2015, Pierre-Henry Soria. All Rights Reserved.
* License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
*/
$('input#recipient').autocomplete ({
source: function (request... | JavaScript | static/js/autocompleteUsername.js | erichilarysmithsr/pH7-Social-Dating-CMS | gpl-3.0 | 1,535 | 41 | codeparrot/github-code |
1a8e5a4ef3fe33552f111c3f67eba7dd221345c4defa021b0f5a584ca997884e | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include "udpguard.h"
#include "socketnodelist.h"
#include "protocol.h"
#include "settings.h"
#include "util.h"
NODE *socketHead = NULL;
bool cookieInitialised = false;
int rawsock;
char cookie[UDPG_COOKIE_LENGTH];
typeof(s... | C | client/udpguard.c | tomjo/UDPGuard | gpl-3.0 | 6,181 | 191 | codeparrot/github-code |
a283f32e71bcd54982497f8478fd533819daf40f4a81b5f533ea7c76c38f279c | /*
* Monitor YouTube Video is a program that allows the user to monitor the
* statistiscs of a YouTube video (such as title, user, subscribers number,
* views number, like number, etc...) periodically at regular intervals.
*
* Copyright (C) 2017 Giulio Biagini - giulio.biagini90@gmail.com
*
* This program is f... | Java | it/biagio/monitoryoutubevideo/Gui.java | GiulioBiagini/Monitor-YouTube-Video | gpl-3.0 | 7,411 | 247 | codeparrot/github-code |
547e7b76aa65404b2d421a0c06fcf26b13278856a0a508834728837c186900b7 |
<HTML >
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252" />
<TITLE>getClientRects</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="../common/ie4.css" />
<LINK REL="stylesheet" TYPE="text/css" HREF="../common/ie5.css" />
<style>
BODY
{
font-family:verdana,arial,helvetica;
margin:0;
}... | HTML | dhtml/DHTML/DHTMLref/methods/getclientrects.html | gucong3000/handbook | gpl-3.0 | 16,776 | 289 | codeparrot/github-code |
772661b7bd8de66d2b8401949cf10d157f9a1c2b7e6a8b1eae9c9daed765ff20 | package net.jamcraft.chowtime.dyn.items;
import net.jamcraft.chowtime.ChowTime;
import net.jamcraft.chowtime.core.ModConstants;
import net.jamcraft.chowtime.dyn.DynItems;
import net.jamcraft.chowtime.dyn.common.IDynItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemFood;
import net.mi... | Java | src/dyn/java/net/jamcraft/chowtime/dyn/items/ItemWMICCone.java | Jam-Craft/ChowTime | gpl-3.0 | 1,406 | 46 | codeparrot/github-code |
976d2fad23f20e2a3d036a377f8614c7caf72845332b7e930c502e5842058743 | /*
* This file is part of Tangrams-restricted.
*
* Tangrams-restricted is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*... | Java | game/src/main/java/se/kth/speech/MutablePair.java | errantlinguist/tangrams-restricted | gpl-3.0 | 3,218 | 164 | codeparrot/github-code |
6383360b55b16b6a27017115d99825de50e0628923d32998c192ff785cba6335 | /**
* @class Fixed pannel who appear with slide effect
* @memberOf RepNet.View.Panel
* @extends RepNet.View.View
* @constructor
* @param {DOMElement} dom Dom where to display pannel
*/
var PanelView = function PanelView(dom)
{
View.call(this,dom);
/**
* Is currently open?
* @type {Boolean}
*/
this.activ... | JavaScript | assets/js/view/panel/panelView.js | RemiDeltombe/repnet | gpl-3.0 | 1,559 | 82 | codeparrot/github-code |
fb1b058ab682eab66571421c193276ce29127dde2af03989fca7ee55bf1f877e | /*
* Copyright (C) 2014 Universitat Pompeu Fabra
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This prog... | Java | src/main/java/org/gwaspi/progress/SubProcessInfo.java | GWASpi/GWASpi | gpl-3.0 | 1,285 | 42 | codeparrot/github-code |
6f6650a228ce1bf3b06fb236caac32c2111cc70819a275f7f904c6b26e2cb1a9 | (function () {
requirejs(['globals', 'teams', 'maps'], (globals, teams, maps) => {
const nodecg = window.nodecg;
teams.bindReplicant(globals.team1Rep, $('#red'));
teams.bindReplicant(globals.team2Rep, $('#blu'));
teams.bindReplicant(globals.team1Rep, $('.team-name', '#red-roster'));
teams.bindReplicant(glob... | JavaScript | graphics/app/pregame/main.js | vibhavp/tflive-layouts | gpl-3.0 | 4,875 | 177 | codeparrot/github-code |
07f4faeb4be0741fdd04eef59c5a7792465efff1c5c40f74132e560c4ca363b4 | #parse('static/messages.html')
<script type="text/javascript">
function editAttendee(inodeId,firstName,lastName,badgeName,email,title){
document.getElementById("doSubmit").value = "true";
var form = document.getElementById('webEventRegistrationForm');
form.currentAttendeeInode.value=inodeId;
form.currentAttendeeF... | HTML | dotCMS/WEB-INF/velocity/static/myaccount/eventRegistrationDetail.html | ggonzales/ksl | gpl-3.0 | 9,804 | 282 | codeparrot/github-code |
baba456296cad4de114c851c4ac90f87760c751946b35dd7df60388dd542043a | <?php
namespace Werkint\Bundle\WebappBundle\Webapp;
use Symfony\Component\Templating\Loader\LoaderInterface;
use Symfony\Component\Templating\TemplateNameParserInterface;
/**
* Webapp.
*
* @author Bogdan Yurov <bogdan@yurov.me>
*/
class Webapp implements
WebappInterface
{
protected $loader;
protected ... | PHP | src/Webapp/Webapp.php | Werkint/WebappBundle | gpl-3.0 | 2,255 | 106 | codeparrot/github-code |
3671045640d1fbf9d965477bc3cdaaef8a8dbd99f0eb58532a9b22055f91e733 | package edu.wayne.metrics.mapping;
import java.io.File;
import org.simpleframework.xml.Serializer;
import org.simpleframework.xml.core.Persister;
import org.simpleframework.xml.strategy.CycleStrategy;
import org.simpleframework.xml.strategy.Strategy;
// TOSUM: Do not modify
//TOMAR: do we really need to ha... | Java | ArchMetrics/src/edu/wayne/metrics/mapping/DefaultingPersist.java | aroog/code | gpl-3.0 | 1,230 | 50 | codeparrot/github-code |
0fed10b5d33bb8abddb0cbce1cda64140f123e4c59f0d842f6e94dc03fba6c44 | #include "cafe_kernel_ipckdriver.h"
#include "cafe_kernel_interrupts.h"
#include "cafe_kernel_heap.h"
#include "cafe_kernel_process.h"
#include "cafe/libraries/coreinit/coreinit_ipcdriver.h"
#include "cafe/libraries/coreinit/coreinit_scheduler.h"
#include "ios/kernel/ios_kernel_ipc_thread.h"
#include <condition_varia... | C++ | src/libdecaf/src/cafe/kernel/cafe_kernel_ipckdriver.cpp | achurch/decaf-emu | gpl-3.0 | 22,065 | 744 | codeparrot/github-code |
c04b40222846fbfe4c2cf5068527692f2a78cb93351391acca06865722eb26d3 | /*
Copyright (c) 2013 yvt
This file is part of OpenSpades.
OpenSpades is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenSpades... | C++ | Sources/Draw/GLFramebufferManager.cpp | theunknownxy/openspades | gpl-3.0 | 29,164 | 865 | codeparrot/github-code |
2d176a9a4dc74877469cdb6637cda14977b621a4404b9034a377183801e4f8c2 | package com.ammodata.domain;
public class Powder {
private Long powderID;
private String powderName;
private Manufacturer manufacturer;
public Long getPowderID() {
return powderID;
}
public void setPowderID(Long powderID) {
this.powderID = powderID;
}
public String getPowderName() {
return powderName... | Java | ammodata-core/src/main/java/com/ammodata/domain/Powder.java | txtad/junk | gpl-3.0 | 578 | 34 | codeparrot/github-code |
0394d4c1ebd247ef2573ea9402fdc63bad309cb5cd3b49407c3071a6d60bf46c | package net.oschina.app.common;
import java.net.URLEncoder;
import org.apache.http.protocol.HTTP;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
/**
* 腾讯微博帮助类
* @author yeguozhong@yeah.net
* @version 2.0
* @created 2013-4-25
*/
public class QQWeiboHelper {
... | Java | src/net/oschina/app/common/QQWeiboHelper.java | wuyourikan/rikan | gpl-3.0 | 1,151 | 41 | codeparrot/github-code |
38b2ac10c8879519b5613703aab210662082b2d5a890310931b064e4a5a9f890 | /* spacescope.c
* Copyright (C) 1998-2002 Andy Lo A Foe <andy@loafoe.com>
* Original code by Tinic Uro
*
* 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 Licen... | C | attic/experimental/obsolete/scopes/spacescope/spacescope.c | alsaplayer/alsaplayer | gpl-3.0 | 6,034 | 263 | codeparrot/github-code |
fa282bf8a0c7d2c3b5b4f53145bab8cb1008cea429dad2047c7211829d54e65d | function ScheduleAssistant() {
/* this is the creator function for your scene assistant object. It will be passed all the
additional parameters (after the scene name) that were passed to pushScene. The reference
to the scene controller (this.controller) has not be established yet, so any initialization
th... | JavaScript | app/assistants/schedule-assistant.js | ghtomcat/Palm-Developer-Day-NYC-2010-Schedule | gpl-3.0 | 20,136 | 602 | codeparrot/github-code |
9bdcdc32df72d44591c906a278a744469255f9d69b3164b5cf3685306d4d1d08 |
local time = require 'time'
use_cgsl = true
suffix = (use_cgsl and '-cgsl' or '')
local function nist_test(data_name, model_name)
local dname = string.format('benchmarks/lmfit/%s.lua', data_name)
local dataset = dofile(dname)
local mname = string.format('benchmarks/lmfit/%s%s.lua', model_name, suffix)
... | Lua | benchmarks/lmfit/hahn1_benchmark.lua | franko/gsl-shell | gpl-3.0 | 842 | 37 | codeparrot/github-code |
b5fcb1ce1efeb2742022898327ec01042352b9dcdcb6aad1be05fa738bc678c0 | #include <allegro5/allegro.h>
/*
Some of the code in this file is a reimplementation of parts of Allegro 5's fixed point maths code,
mostly to give greater precision (or at least smoother results) than the original code.
fixed point maths is used instead of floating point to avoid imprecision (as the game
needs to r... | C | src/m_maths.c | linleyh/liberation-circuit | gpl-3.0 | 26,844 | 902 | codeparrot/github-code |
c7d9a0596c73cbeaf5fe711733babd0114fe28cb40da313236b5e1fbc30a6547 | <?php
/**
* @category Library
* @package CeusMedia_Common_FS_File_CSV
* @author Christian Würker <christian.wuerker@ceusmedia.de>
*/
/**
* @category Library
* @package CeusMedia_Common_FS_File_CSV
* @author Christian Würker <christian.wuerker@ceusmedia.de>
*/
class FS_File_CSV_Reader implements Countabl... | PHP | src/FS/File/CSV/Reader.php | CeusMedia/Common | gpl-3.0 | 3,427 | 137 | codeparrot/github-code |
6be32faf61be3de5ba4dd091e0fa4ae82ce2d8e475d2bdaddaa3c36d46612912 | /*
* Copyright (C) 2020 Timo Vesalainen <timo.vesalainen@iki.fi>
*
* 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 3 of the License, or
* (at your option) any later ve... | Java | util/src/main/java/org/vesalainen/math/solver/Solver.java | tvesalainen/util | gpl-3.0 | 2,375 | 77 | codeparrot/github-code |
c60b2af97482f2ca6b82e3e1606b0834750b3cdb2f9d1648497672a081cd8a49 | // Copyright (c) 2016 PSForever.net to present
package net.psforever.packet.game
import net.psforever.packet.{GamePacketOpcode, Marshallable, PacketHelpers, PlanetSideGamePacket}
import scodec.Codec
import scodec.codecs._
/**
* map_name and nav_map_name should match (unless you want to be lost :))
*
* ex:
* map... | Scala | common/src/main/scala/net/psforever/packet/game/LoadMapMessage.scala | Fate-JH/PSF-Server | gpl-3.0 | 1,342 | 39 | codeparrot/github-code |
0d48074b8dcebfae057161136e34122c932768e8e7b7d75eb7082e2994b80d66 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | PHP | lang/en/backup.php | dmonllao/moodle | gpl-3.0 | 28,616 | 378 | codeparrot/github-code |
008e2741c76f86327a9530c6b05664abc6ecacc19802efb5412f05b94807d67c | package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"crypto/md5"
"encoding/hex"
"encoding/json"
"fmt"
"net/http"
"os/exec"
//"os/signal" // 哪个沙雕规定不用的库报错的
"os"
//"bytes"
"log"
"strings"
//"bufio"
//"github.com/axgle/mahonia"
"path/filepath"
"time"
"html/template"
"./cmdmgr"
"github.com/as... | GO | webcmd.go | wwc7654321/WebCMD | gpl-3.0 | 7,274 | 333 | codeparrot/github-code |
85dbf018b6cea7454578dc26a9a0ec7f823da7d82a526eb12d7f09df6288adcc | # Copyright 2010-2011 Noble Samurai
#
# Marrow is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Marrow is distributed in the hope ... | Ruby | marrow/env.rb | noblesamurai/marrow | gpl-3.0 | 7,938 | 316 | codeparrot/github-code |
58bd2620f4a20f30820ecb0baac62d701ecc5746d827acbf83ca8af9353a91d1 | import { Component, OnInit, Input } from '@angular/core'
import { query, trigger, state, style, transition, animate } from '@angular/animations'
import { Author } from '../backend.service'
const vhTest = '30vh'
@Component({
selector: 'app-anitest',
templateUrl: './anitest.component.html',
styleUrls: ['./anite... | TypeScript | client/angular-ink/src/app/anitest/anitest.component.ts | public-ink/public-ink | gpl-3.0 | 931 | 33 | codeparrot/github-code |
c629958e05ec40cfe9e7b06ff5c61aeb4fd8a4635d572b3003b54184e5473628 | package org.georchestra.analytics;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.matchers.JUnitMatchers.containsString;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.se... | Java | analytics/src/test/java/org/georchestra/analytics/StatisticsControllerTest.java | MSHE-Ledoux/georchestra-geosync | gpl-3.0 | 15,669 | 343 | codeparrot/github-code |
6660f9115a2b856ec8f79073874d9f583709d3cf9e79ea0bc6c061e3d2318820 | module FormattedAttributes
class Configuration
include Enumerable
# @api private
# @return [Set<FormattedAttributes::Definition>]
attr_reader :definitions
# @api private
# An {ApplicationModel} that includes {HasFormattedAttributes}
# @return [Class]
attr_reader :model
delegate ... | Ruby | api/app/services/formatted_attributes/configuration.rb | ManifoldScholar/manifold | gpl-3.0 | 2,862 | 120 | codeparrot/github-code |
3d5e140a6608687181c711732753f8d17cd5e46c5fe4c291cd04910381f1ea4a | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commerc... | C++ | Telegram/SourceFiles/qpa/qplatformnativeinterface.cpp | alex2304/tg_client_study | gpl-3.0 | 4,908 | 162 | codeparrot/github-code |
46d6a7292ee705005b155215e9a9519cac85300fb236eafd5bd26bf9f256ef1d | <?php
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * *
* * * * * * * * Alle benötigten Klassen-Funktionen für das News Management * * * * * * * *
* * * * * * * * ... | PHP | includes/classes/php.classes.news_mngmnt.php | muhlba91/favecon | gpl-3.0 | 5,540 | 172 | codeparrot/github-code |
7b67ef2b4d362a13a71269d6fb515e19fea2c6c05544faf48feb0a6bb490f97e | C*******************************************************************************
C Start of the header for a fortran source file for a subroutine
C of the Free_EOS stellar interior equation of state code
C Copyright (C) 1996, 1998, 2000, 2001, 2004, 2005, 2006 Alan W. Irwin
C
C $Id: fermi_dirac_... | FORTRAN | tables/freeeos/fermi_dirac_direct.f | ester-project/ester | gpl-3.0 | 14,467 | 375 | codeparrot/github-code |
fdf39fad51481680dacb643398d80a41516ef3841aff816803a428b71306f7b7 |
function taskFormHandler() {
this.forms = [];
this.views = [];
}
/*
* Bind submit forms onsubmit event to the submit Handler
*/
taskFormHandler.prototype.bindViews = function () {
var forms = this.forms;
var views = this.views;
for (var i = 0; i < forms.length; i++) {
forms[i].onsubmit =... | JavaScript | include/js/views/projectTasks.js | mahsa92/Collabtive | gpl-3.0 | 6,634 | 194 | codeparrot/github-code |
35fb7700ea4db851aa6ded1fb7ff18a05d63d01f21eee9080b8e3f4ea640f388 | /*
* Copyright (C) 2013 Open Education Foundation
*
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour
* l'Education Numérique en Afrique (GIP ENA)
*
* This file is part of OpenBoard.
*
* OpenBoard is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | C | src/adaptors/UBExportAdaptor.h | OpenEducationFoundation/OpenBoard | gpl-3.0 | 1,881 | 68 | codeparrot/github-code |
0db547a5e3e18b52f1835f0228c891f90980511b25a9ee6dd7668b1613d33699 | package net.minecraft.src;
import java.util.HashMap;
import java.util.Random;
public class ItemMonsterPlacer extends Item
{
public ItemMonsterPlacer(int par1)
{
super(par1);
setHasSubtypes(true);
}
/**
* Callback for item usage. If the item does something special on right clickin... | Java | mcp50/src/minecraft_server/net/minecraft/src/ItemMonsterPlacer.java | sethten/MoDesserts | gpl-3.0 | 2,057 | 67 | codeparrot/github-code |
4eb2064c5e308a771993389dba01f4e51afc2f20f2180a74f7e3bab4dfab1eb5 | using GeneralHealthCareElements.ControlUnits;
using GeneralHealthCareElements.ResourceHandling;
using SimulationCore.HCCMElements;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeneralHealthCareElements.StaffHandling
{
publ... | C# | GeneralHealthCareElements/StaffHandling/IStaffHandling.cs | nikolausfurian/HCDESLib | gpl-3.0 | 1,514 | 36 | codeparrot/github-code |
967785dae8f0a2b035b81469a8c6cc0713bedb26964cb20b0bdf54c45cf0e2c9 | /*
Copyright 2015-2020 Clément Gallet <clement.gallet@ens-lyon.org>
This file is part of libTAS.
libTAS is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
... | C | src/library/encoding/NutMuxer.h | clementgallet/libTAS | gpl-3.0 | 3,652 | 137 | codeparrot/github-code |
43c003b89f63a50a6fd3613f85a06f9624480aa3e4f6d9cab7904170c1348452 | import Colors
import Images
const INFILE = "resources/floorplan-wf.png"
const N_COLORS = 20
const TX_POS = 425, 870
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# ---------------------------------------... | Julia | src/shadowing.jl | mwil/helmhurts | gpl-3.0 | 4,170 | 122 | codeparrot/github-code |
bb7484e42f773daeb1390522a71ba70ac9d6a6d6b354d5ddde6b2d8781a658a3 |
// File: WorkProof.cs
// Version: 1.0
// Date: Jan 7, 2013
// Author : Arpan Jati
// This is temporary. This along with all the POW classes would be re-written.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace TNetD
{
public en... | C# | TNetCommon/WorkProof.cs | Trestor/trestor-core | gpl-3.0 | 3,778 | 127 | codeparrot/github-code |
5c501b675000b305820033e4551260ac01ce75ddcd09d90cecdca9480a1f7d03 | import sys
import socket
from PyQt5.QtWidgets import QApplication
from qt_DisplayWindow import DisplayWindow
from Server import Server
def main(camID):
hostname = socket.gethostname()
ip_address = socket.gethostbyname_ex(hostname)[2][-1]
print(hostname, ip_address)
port = 12349
app = QApplicat... | Python | Server/qt_main.py | natedileas/ImageRIT | gpl-3.0 | 762 | 37 | codeparrot/github-code |
fedd643f2595465b79b8c755ef4836ddd01fbd68d3770d12ec25bef34a9d6687 | #ifndef LABELPREFSEDITINGWIDGET_H
#define LABELPREFSEDITINGWIDGET_H
#include <QWidget>
#include "../plotStyle/plotstyle.h"
namespace Ui {
class LabelPrefsEditingWidget;
}
class LabelPrefsEditingWidget : public QWidget
{
Q_OBJECT
public:
explicit LabelPrefsEditingWidget(QWidget *parent = 0);
~LabelPrefsE... | C | src/commonWidgets/editingWidgets/labelprefseditingwidget.h | seleznevae/JaG | gpl-3.0 | 640 | 34 | codeparrot/github-code |
656066c916273a6ed0104e04350f9e97f2bec09a9d1fb4097cd8329a6047ab08 | /**
* @author Martin Micunda {@link http://martinmicunda.com}
* @copyright Copyright (c) 2015, Martin Micunda
* @license GPL-3.0
*/
'use strict';
import 'angular-mocks';
import MmAccessLevel from './access-level.js';
describe('MmAccessLevel', () => {
beforeEach(angular.mock.module('ngDecorator'));
... | JavaScript | src/app/directives/access-level/access-level.spec.js | martinmicunda/employee-scheduling-ui | gpl-3.0 | 2,873 | 93 | codeparrot/github-code |
0709e18a70d5ed4d2882dd6f59777f10bec4ecb0170497c22caed2cdd438d130 | import RTCConnection from './RTCConnection'
/**
* @public
* @function initCaller
* @description Init caller connection
* @param {SigChannel} sigChannel - Instance of signaling channel
* @param {String} peerID - peer ID
* @param {String} callerID - caller ID
*/
export default function initCaller (signalingChannel, peer... | JavaScript | app/client/app/utils/caller.js | victor5114/webRTC-SR | gpl-3.0 | 1,488 | 51 | codeparrot/github-code |
ee271ad4d5168f1ab6503c8edef30f6ca3bea5ed090b950a790d2810a6ecc464 | using System;
using RestSharp.Portable;
namespace Sinyoo.CrabyterDb
{
public class ServiceErrorArgs : EventArgs
{
public ServiceErrorArgs(Exception ex)
{
this.Exception = ex;
}
public Exception Exception { get; set; }
public bool IsHandled { get; set; }
... | C# | Sinyoo.CrabyterDb/Sinyoo.CrabyterDb/Miscellaneous.cs | xiaoyunwei/crabyter-db-sdk | gpl-3.0 | 750 | 39 | codeparrot/github-code |
63ff9769a924b5650ae527303f2c3bdb2aca7ad9588f85ea69f1777ed1007a01 | /*
* GrGen: graph rewrite generator tool -- release GrGen.NET 4.4
* Copyright (C) 2003-2015 Universitaet Karlsruhe, Institut fuer Programmstrukturen und Datenorganisation, LS Goos; and free programmers
* licensed under LGPL v3 (see LICENSE.txt included in the packaging of this file)
* www.grgen.net
*/
package de.... | Java | frontend/de/unika/ipd/grgen/ir/exprevals/IsIncidentEdgeExpr.java | jblomer/GrGen.NET | gpl-3.0 | 1,918 | 64 | codeparrot/github-code |
c58c81ef631f81615452b3f222c6e492cb8eb1a1402a1119d83039bbfffc2109 | #region License
/*
Copyright 2014 - 2015 Nikita Bernthaler
CPrediction.cs is part of SFXKogMaw.
SFXKogMaw is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option... | C# | SFXChallenger/SFXKogMaw/Helpers/CPrediction.cs | Lizzaran/LeagueSharp-Standalones | gpl-3.0 | 9,843 | 242 | codeparrot/github-code |
a7479b27669048abaf5adb282a905e3b85a9065f0219b94069b12fe5b3fef9ba | /* cSploit - a simple penetration testing suite
* Copyright (C) 2014 Massimo Dragano aka tux_mind <tux_mind@csploit.org>
*
* cSploit is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of t... | C | cSploitClient/handler.h | cSploit/android.native | gpl-3.0 | 1,918 | 72 | codeparrot/github-code |
853d63c33bdd5f14fd202d60d1e618d24efe9323e5ac23cbee4ada65fb8550ad | using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class student... | C# | student/summarization.aspx.cs | zwxscience/Paper-management-system | gpl-3.0 | 7,754 | 217 | codeparrot/github-code |
1ab9a5b69f63bcd26d0e3fcf26627793127b0ccec87cfe7eb726ac7d45628b5f | #coding=utf-8
import subprocess
from time import sleep
import os
import signal
import m3u8_generator
import fifo_tool
class Batch_Encoder:
def __init__(self, fifo_tool_i):
self.fifo_tool_i = fifo_tool_i
self.output_list = []
self.output_counter = 1
self.EXTINF = 1
self.media... | Python | encoder.py | bowringchan/SDRRadio_Remote_Version | gpl-3.0 | 3,025 | 67 | codeparrot/github-code |
ff5a3d8648d2ca0f98e20c3fe77e6c41797341473627db498c544e2bccbaaf8b | //
// ScummEngine6_Cursor.cs
//
// Author:
// scemino <scemino74@gmail.com>
//
// Copyright (c) 2014
//
// 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# | Engines/NScumm.Scumm/ScummEngine6_Cursor.cs | scemino/nscumm | gpl-3.0 | 9,048 | 218 | codeparrot/github-code |
ab9d6611b9c9da6020fef17dd20e86f77d9111e5fbe4c52ff7923efc1e44cce8 | #include <stdio.h>
#include <string.h>
#include "region.h"
Region::Region(int narg, char **arg){
int i;
if (narg>0){
if(strcmp(arg[0], "rect")==0 && narg==7){//rect xlo xhi ylo yhi zlo zhi
parameters=(FLOAT *)malloc(sizeof(FLOAT)*6);
shape=arg[0];
for (i=1; i<=6; i++){
sscanf(arg[i], ... | C++ | src/region.cpp | guoqing-zhou/md | gpl-3.0 | 1,220 | 59 | codeparrot/github-code |
9b3320753688ce63f1128428fa685d473b69029352afa4380bf37a9134ee5059 | #!/usr/bin/env python3
#
# Copyright (c) Bo Peng and the University of Texas MD Anderson Cancer Center
# Distributed under the terms of the 3-clause BSD License.
#
# Utility functions used by various executors.
#
import os
import re
import sys
import traceback
from collections.abc import Sequence
from io import String... | Python | src/sos/executor_utils.py | bpeng2000/SOS | gpl-3.0 | 17,163 | 483 | codeparrot/github-code |
00a4cea9f462981887e2082268b5d349aac1157db480a987a1577801f2de46f5 | // This file is part of freesiege program <http://freesiege.sourceforge.net>.
// Copyright (C) 2007 Pierre Gueth <pierregueth@users.sourceforge.net>
// Joel Schaerer <joelschaerer@users.sourceforge.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms o... | C | gui/battlefield.h | MCMic/freesiege | gpl-3.0 | 1,657 | 56 | codeparrot/github-code |
baa6a4a577f436a41197339270fd940e6c5e31a1f730a7e06f13d6622a30540b | """
2x2 plotting analysis for 2 datasets pluggin
| ------------- | ------------- |
| contours from | pcolor from |
| both datasets | dataset 1 |
| ------------- | ------------- |
| pcolor diff | pcolor from |
| both datasets | dataset 2 |
| ------------- | ------------- |
col... | Python | rasmlib/analysis/plugins/sample.py | jhamman/rasmlib | gpl-3.0 | 865 | 45 | codeparrot/github-code |
06c1da8a058b400d182ee33798edb48373a960eb389e53d54391b76817277520 | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst
package net.minecraft.src;
public abstract class EntityAIBase
{
private int field_46093_a;
public EntityAIBase()
{
fi... | Java | mcp50/temp/src/minecraft_server/net/minecraft/src/EntityAIBase.java | sethten/MoDesserts | gpl-3.0 | 835 | 52 | codeparrot/github-code |
49467d7fdef3af27056bed364661667d68a215ee0fb810d3a89cfe3c35984f11 | /*
MineCurses - An ncurses minesweeper implementation
Copyright (C) 2014 ljfa-ag
This file is part of MineCurses.
MineCurses 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++ | MineCurses/mc_app.cpp | ljfa-ag/Minesweeper | gpl-3.0 | 6,632 | 283 | codeparrot/github-code |
ef9e07614a75fb81cb4fda3d3c470bebc55fa4303af6503940007ae5bf89355c | package com.xomorod.utility.activities.splash;
import android.databinding.BaseObservable;
import android.graphics.drawable.Drawable;
import android.support.annotation.Nullable;
import com.xomorod.utility.R;
/**
* Created by 890683 on 1/19/2016.
*/
public class SplashModelView extends BaseObservable implements IS... | Java | src/app/src/main/java/com/xomorod/utility/activities/splash/SplashModelView.java | ahmadaghazadeh/Utility | gpl-3.0 | 1,056 | 54 | codeparrot/github-code |
26aacb2bbad98a45008f04448b5ec574202f224fa567040ffd43be775658964c | import io
import base64
import gevent
from Tkinter import Label
from PIL import ImageTk, Image
class AnimatedImgLabel(Label):
# http://stackoverflow.com/questions/7960600/python-tkinter-display-animated-gif-using-pil
def __init__(self, master, data, encoding='base64', **kwargs):
if encoding == 'base64... | Python | client/plugins/ui/tk/animate.py | MoroGasper/client | gpl-3.0 | 1,581 | 56 | codeparrot/github-code |
4b2e6fe1609b4e474de8ccbf8f962b56bbde1040a1472d057a0157c542e93070 | import re
import socket
import threading
import time
from chat.message import Message
from chat.user import User
from interfaces.chat import Chat
class TwitchChat(Chat):
host = 'irc.twitch.tv'
port = 6667
rate = 1.5
def __init__(self, username, passwd, channel):
'''
Creates IRC clien... | Python | bot/chat/twitchchat.py | jk977/twitch-plays | gpl-3.0 | 4,289 | 140 | codeparrot/github-code |
76b4c1c425ba6c0f4ffc73a2256d4bddfa4ce8ce3b32ac6a9e8757390a6297ac | # Capstone Disassembly Engine
# By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014
include config.mk
include pkgconfig.mk # package version
include functions.mk
# Verbose output?
V ?= 0
ifeq ($(PKG_EXTRA),)
PKG_VERSION = $(PKG_MAJOR).$(PKG_MINOR)
else
PKG_VERSION = $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA)
endif
ifeq (... | Makefile | shlr/capstone/Makefile | ghostbar/radare2.deb | gpl-3.0 | 14,574 | 519 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.