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 |
|---|---|---|---|---|---|---|---|---|
2c456008a39c29293db55d36873a4dd2b5b63c6646ae9d67af84c6cc69689cc6 | // Copyright 2020 ETH Zurich. All Rights Reserved.
#pragma once
#include "force_kernels/common.h"
namespace mirheo
{
namespace membrane_forces_kernels
{
/// Device compatible structure that holds the parameters common to all membrane interactions
struct GPU_CommonMembraneParameters
{
mReal gammaC; ///< viscous ... | C | src/mirheo/core/interactions/membrane/drivers.h | dimaleks/uDeviceX | gpl-3.0 | 6,869 | 200 | codeparrot/github-code |
484b0df01ca416673ce352b54f54e10d72ce6c081a6a0fdc20b0e662aac279f9 | /*
* Copyright (C) 2013 The CyanogenMod project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | Java | java/com/pac/console/helpers/SystemSettingSwitchPreference.java | PAC-ROM/android_packages_apps_PACConsole | gpl-3.0 | 2,262 | 66 | codeparrot/github-code |
c6359f833ecf8c28b624551a9a50b7a59f54250115ddd4cbf26c500a64f1231d | using System;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using See4Me.Common;
using See4Me.Localization.Resources;
using See4Me.Services;
namespace See4Me.ViewModels
{
public partial class AboutViewModel : ViewModelBase
{
private readonly ILauncherService launcherService;
... | C# | Src/See4Me.Shared/ViewModels/AboutViewModel.cs | DotNetToscana/See4Me | gpl-3.0 | 1,612 | 49 | codeparrot/github-code |
40a409591a44e46826c01e55c81cbf9f405e8dc88ed3a30d8ce3c4446b565a40 | # addImagingInfo.py: Python function to add meta info to a CASA image
# Copyright (C) 2012
# ASTRON (Netherlands Institute for Radio Astronomy)
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
#
# This file is part of the LOFAR software suite.
# The LOFAR software suite is free software: you can redistribute it and/or
#... | Python | CEP/Imager/AWImager2/src/addImagingInfo.py | jjdmol/LOFAR | gpl-3.0 | 16,822 | 358 | codeparrot/github-code |
036522f55306e1fc2060ec44d4313371f18c29f18e38b941f1a239f5ad6583ff | /*
# PostgreSQL Database Modeler (pgModeler)
#
# Copyright 2006-2021 - Raphael Araújo e Silva <raphael@pgmodeler.io>
#
# 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 3.
#
# This program ... | C | libs/libgui/src/settings/connectionsconfigwidget.h | pgmodeler/pgmodeler | gpl-3.0 | 3,297 | 98 | codeparrot/github-code |
2b1d9ac9b6d83b694d81dc0097e22b2a5e6ced7d63dda4bbf46609e2cb8086ae |
package com.esotericsoftware.kryo.io;
import java.io.IOException;
import java.io.InputStream;
import com.esotericsoftware.kryo.KryoException;
import com.esotericsoftware.kryo.util.UnsafeUtil;
import static com.esotericsoftware.kryo.util.UnsafeUtil.*;
/** An optimized InputStream that reads data from a byte array a... | Java | AMIDST/src/com/esotericsoftware/kryo/io/UnsafeInput.java | WRIM/AMIDSTgui | gpl-3.0 | 7,153 | 232 | codeparrot/github-code |
cd4cf660f65b2f2f5021b10d1e76f2001fc9adf1174581be8c4a0a6807c303a0 | /*****************************************************************************
* Copyright 2015-2020 Alexander Barthel alex@littlenavmap.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, eit... | C++ | src/fs/bgl/ap/sidstar.cpp | albar965/atools | gpl-3.0 | 8,484 | 236 | codeparrot/github-code |
f3e342e61dbf22440be2cdafe5555c3ae0d83c1afa0f93bb7729699d4ba0d7a5 | import React from 'react';
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import * as Actions from '../../actions'
import Onboarding from './../onboarding';
/**
* { HIGH ORDER COMPONENT }
* { Onboarding component will check if user using the application first time or not}
*
* @c... | JavaScript | src/components/hoc/Onboarding.js | golemfactory/golem-electron | gpl-3.0 | 1,379 | 52 | codeparrot/github-code |
35cbe991c341afdd7a78d5d846e687d1182ebd6ccc4208b3a49bbfe8de0e9e6a | /********************************************************************************
* *
* D i r e c t o r y L i s t W i d g e t *
* ... | C | cfox/include/FXDirList.h | gogglesmm/gogglesmm | gpl-3.0 | 12,771 | 331 | codeparrot/github-code |
87e33e92286e1ac2a888cf46d2d646fc46804e75585f0785c60ee2ea9556fc9e | <?php
/**
* @since Created on 10 Aug 2012
* @package EveOnlineApi
* @author Thies Wandschneider <thies@wandschneider.de>
* @license GNU/LGPL, see COPYING
* @link http://themanwiththehat.wordpress.com
*
* This file is part of the EveOnlineApi Plugin for cakePHP 2.
*
* The project is free software: you can re... | PHP | Model/BalanceLog.php | TheManWithTheHat/EveOnlineApi | gpl-3.0 | 2,606 | 85 | codeparrot/github-code |
0e75525f41bc6115db2d95f440580d6b8ae422b3e53c81ef0e1a9b49c21e90bd | package org.ovirt.engine.core.bll.hostedengine;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import org.ovirt.engine.core.bll.VmHandler;
import org.ovirt.engine.core.common.businessentities.NfsVersion;
import org.ovir... | Java | ovirt/3.6_source/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostedengine/HostedEngineHelper.java | jtux270/translate | gpl-3.0 | 6,045 | 181 | codeparrot/github-code |
0f38351029969b74eb7befcf2be98f9d31c0b00a3895553232b2d0048d3155dc | #------------------------------------------------------------------------------
# File: RIFF.pm
#
# Description: Read RIFF/WAV/AVI meta information
#
# Revisions: 09/14/2005 - P. Harvey Created
#
# References: 1) http://www.exif.org/Exif2-2.PDF
# 2) http://www.vlsi.fi/datasheets/vs1011.pdf
#... | Perl | tools/lib/Image/ExifTool/RIFF.pm | Rekall/Rekall | gpl-3.0 | 49,924 | 1,479 | codeparrot/github-code |
47227da64c1ba88d4df30a096e7e6af7ea6bf94a4d401bb6c3f8e10b6ece8952 | /*
* P1010RDB Board Setup
*
* Copyright 2011 Freescale Semiconductor Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) a... | C | arch/powerpc/platforms/85xx/p1010rdb.c | williamfdevine/PrettyLinux | gpl-3.0 | 2,036 | 94 | codeparrot/github-code |
20518e48b73e1700e33ec5ef1e67e3bd3843e2f0be515c45f732c619b9c4da74 | /**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any la... | Java | edison-portal-framework/edison-appstore-2016-portlet/docroot/WEB-INF/service/org/kisti/edison/science/service/ScienceAppDescriptionServiceWrapper.java | queza85/edison | gpl-3.0 | 2,715 | 89 | codeparrot/github-code |
3dfd8d1281c65b567e7af5ba3fe59949d0a5c8f2854363bb3fad719cf5bd5ddf | /* @flow */
import fs from 'fs'
import { mapKeys } from 'lodash'
import { pipe, split, map, trim, filter, identity, replace } from 'ramda'
import { POSTS } from 'config/paths'
import marked from 'meta-marked'
import type { PostGateway, PostFile } from 'types/post.types'
const parseTags = pipe(split(','), map(trim), fi... | JavaScript | src/server/gateways/fsPostGateway.js | tomatau/tomatao-blog | gpl-3.0 | 1,061 | 36 | codeparrot/github-code |
c0caaa37e1100e3969e98580e3964cfc7a995887ae362007106f45bd6e9a6312 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WifiReveal
{
public class WifiInfo
{
private BSSID _bssid;
private Byte[] _essid;
public WifiInfo(byte[] BSSID, byte[] ESSID)
{
this._bssid = new BSSID(BSSID);
... | C# | WifiInfo.cs | Reimashi/WifiReveal | gpl-3.0 | 676 | 35 | codeparrot/github-code |
acff6474e5d461b3c6ff8c52dc9fc4a81edce3bbe082dfd8c9ff16925001e2ef | /*
* Copyright (C) 2011-2013 Me and My Shadow
*
* This file is part of Me and My Shadow.
*
* Me and My Shadow 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/LevelPlaySelect.cpp | oyvindln/meandmyshadow | gpl-3.0 | 12,906 | 411 | codeparrot/github-code |
3b392e0c57ecda535ffa59add64893a5ad30827e9329e053a477be5a6ca9b001 | /**
* Team16App: travel expense tracking application
* Copyright (C) 2015 peijen Chris Lin
* dmeng Di Meng
* tshen
* qtan Qi Tan
* yuentung
* omoyeni Omoyeni Adeyemo
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... | Java | Team16App/src/ca/ualberta/cs/team16app/ClaimInfoActivity.java | CMPUT301W15T16/Comput-301GroupProject | gpl-3.0 | 2,874 | 99 | codeparrot/github-code |
49fafaeb5bfbf26af3a849032bca9be5ccade0b3fb8bafb74e81a019bfd57d3c | /*! \file
\brief Declaration of the upnp_call_t
\par Brief Description
\ref upnp_call_t does a single SOAP call.
This handles any type of SOAP call (well the upnp subset) but there are some
helper start function to help calling the functions hiding the upnp stuff.
\par About http_sclient_t cnx_err and upnp router... | C++ | src/neoip_upnp/call/base/call/neoip_upnp_call.cpp | jeromeetienne/neoip | gpl-3.0 | 17,481 | 466 | codeparrot/github-code |
e221cac8f346e92eb4d52ad5b329853ca197494c0e3c96ba03d8c186d72697ef | package com.mcleodmoores.xl4j.v1;
import java.util.Collection;
import java.util.Collections;
import org.testng.annotations.Test;
import com.mcleodmoores.xl4j.v1.util.ArgumentChecker;
import com.mcleodmoores.xl4j.v1.util.XL4JRuntimeException;
/**
* Unit tests for ArgumentChecker.
*/
public class ArgumentCheckerTes... | Java | xll-core/src/test/java/com/mcleodmoores/xl4j/v1/ArgumentCheckerTests.java | McLeodMoores/xl4j | gpl-3.0 | 3,223 | 107 | codeparrot/github-code |
25e530c2299445f53d3d1ef5440b3913b9fe417c1aa6da94c47cc5a5cffeca5e | <?php
namespace App\Http\Controllers;
use App\LogicServices\goal\GoalUtilitiesIface;
use Illuminate\Http\Request;
use App\Models\Goal;
use Auth;
use Response;
class GoalsController extends Controller
{
protected $goalutil;
public function __construct(
GoalUtilitiesIface $goalUtilities
) {
$this->goalutil = $... | PHP | api/app/Http/Controllers/GoalsController.php | mscarborough-lampdev/taskmanager | gpl-3.0 | 2,734 | 137 | codeparrot/github-code |
557ffc6b6ea0c8b41d41713df44e11fc39cf2c64ee7fc88cd13f78d1dc8bc015 | Info<< "Reading field p_rgh\n" << endl;
volScalarField p_rgh
(
IOobject
(
"p_rgh",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh
);
Info<< "Reading field U\n" << endl;
volVe... | C++ | applications/solvers/multiphase/driftFluxFoam/createFields.H | ccopsey/ccFOAM | gpl-3.0 | 2,719 | 137 | codeparrot/github-code |
570be9c8bbf93e4b1e7d4ac44ba6601efca769ecef63a7aae0ea347e725d918a | <?php
/**
* @package /home/dennis/uml-generated-code/modulo/Iptables/modelo/clases/Estado.php
* @class modulo/Iptables/modelo/clases/Estado.php
* @author dennis
* @version 1.0
*/
require_once BASE.'Clase.php';
require_once CLASES_IPTABLES.'Estado.php';
/**
* class Estado
* Esta clase representa los estados de ... | PHP | puzzle/modulo/iptables/modelo/clases/Estado.php | denniscm20/puzzle-netadmin | gpl-3.0 | 1,136 | 58 | codeparrot/github-code |
9db0c4fa554541e58a6c1638525e54bb9b6e7c5952bf103fae8ead673eedf364 | /*
* This file is part of the NoiseCapture application and OnoMap system.
*
* The 'OnoMaP' system is led by Lab-STICC and Ifsttar and generates noise maps via
* citizen-contributed noise data.
*
* This application is co-funded by the ENERGIC-OD Project (European Network for
* Redistributing Geospatial Informatio... | Java | sosfilter/src/test/java/org/orbisgis/sos/TestJTransforms.java | Picaut/NoiseCapture | gpl-3.0 | 9,869 | 216 | codeparrot/github-code |
7fad59218cdc98fcdfb94d02e3adc56116dde2ba64415625fdd68e0687c6638f | <?php
defined('_JEXEC') or die;
$styles = dirname(__FILE__) . '/default_styles.php';
if (file_exists($styles)) {
ob_start();
include_once dirname(__FILE__) . '/default_styles.php';
JFactory::getDocument()->addCustomTag(ob_get_clean());
}
$themePath = dirname(dirname(dirname(dirname(__FILE__))));... | PHP | templates/nicepage_sample4/html/com_content/featured/default.php | magic3org/magic3 | gpl-3.0 | 4,922 | 137 | codeparrot/github-code |
cf7f5f5cb68afd5710702e20018eeb3c2333e07a8ff23ece15f0d55027960d7d | <?php
/**
* includes/class.lock_combat.php
*/
/**
* Class lock_combat
*
* Gère les objets BDD de la table lock_combat
*/
class lock_combat
{
var $lock_cod;
var $lock_attaquant;
var $lock_cible;
var $lock_nb_tours;
var $lock_date;
function __construct()
{
$this->lock_date = d... | PHP | web/includes/class.lock_combat.php | Merrick28/delain | gpl-3.0 | 6,170 | 201 | codeparrot/github-code |
03037618e02ca1882b3905f2a597d4c0e1cc489a920c6184eed80c75b4debfae | """
This module is a compatibility layer between the Virtual Retina configurations and behaviour and the python implementation.
"""
import xml.etree.ElementTree as ET
import collections
import copy
from future.utils import iteritems as _iteritems
def dict_recursive_update(d, u):
for k, v in _iteritems(u):
... | Python | convis/retina_virtualretina.py | jahuth/convis | gpl-3.0 | 30,950 | 676 | codeparrot/github-code |
8e8e5723885a5ed1155eccd21e3336829acc704043294c6bdc1a4ea9e7d74500 | #!/usr/bin/env python2.7
#
# ProFTPD versions - create proftpd versions and dump them into versions.h
#
# Copyright (c) 2015 by Hypsurus
#
#
import sys
# The proftpd versions cycle:
# proftpd-1.3.2rc1
# proftpd-1.3.2rc2
# proftpd-1.3.2rc3
# proftpd-1.3.2rc4
# proftpd-1.3.2
# proftpd-1.3.2a
# proftpd-1.3.2b
# p... | Python | tools/proftpd_versions.py | KorayAgaya/ftpmap | gpl-3.0 | 1,228 | 50 | codeparrot/github-code |
0104828350860cc6af3fd1c6e906973fc8b8cc31bcead0fb20112059c4f24eec | /*******************************************************************************
* Copyright (c) 2019 German Federal Institute for Risk Assessment (BfR)
*
* 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 So... | Java | de.bund.bfr.knime.openkrise.views/src/de/bund/bfr/knime/openkrise/views/canvas/TracingShapefileCanvas.java | SiLeBAT/BfROpenLab | gpl-3.0 | 8,302 | 274 | codeparrot/github-code |
ad1b441bebb9225b282f48cbc5383ba0363d39c2c206fe98fc3bcf8b5941db1a | # -*- coding: utf-8 -*-
#################################################################################################
import json
import logging
import hashlib
import socket
import time
from datetime import datetime
from distutils.version import LooseVersion
from credentials import Credentials
from http import H... | Python | libraries/emby/core/connection_manager.py | angelblue05/plugin.video.emby | gpl-3.0 | 28,487 | 855 | codeparrot/github-code |
a59d8e94c7f7f88dcd3e612c83ddde055a9ff27d3bb9dc0ff0fd52083b80d144 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCr... | Lua | data/npc/scripts/wayfarer.lua | mlody1039/ModernOts | gpl-3.0 | 3,922 | 87 | codeparrot/github-code |
f6b37746b302e31db866cfb34f400508fb2ee95de2c7cf6cfc7e10428306b57d | package inspeqtor
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
"github.com/mperham/inspeqtor/conf/inq/ast"
"github.com/mperham/inspeqtor/conf/inq/lexer"
"github.com/mperham/inspeqtor/conf/inq/parser"
"github.com/mperham/inspeqtor/metrics"
"github.com/mperham/inspeqtor/services"
"github.com/mperham/inspeq... | GO | inq_parser.go | mperham/inspeqtor | gpl-3.0 | 5,358 | 228 | codeparrot/github-code |
b5228a67b83dcc438e0c10da10439d6a267daf891a650d978ed980af0d05c412 | using NPOI.HSSF.UserModel;
using NPOI.HSSF.Util;
using SPFactory.Core.Content;
using SPFactory.Core.Factory;
using SPFactory.Core.Head;
using System;
using System.Collections.Generic;
using System.Text;
namespace SPFactory.Samples
{
class Program
{
static void Main(string[] args)
{
... | C# | SPFactory/SPFactory.Samples/Program.cs | italopessoa/SPFactory | gpl-3.0 | 54,205 | 1,365 | codeparrot/github-code |
7e2c10ca25c8364660ca916bafd16bd6715997664ef8ada6766e003187f89a16 |
/* test on creating a large table with many deletions, and querying it to
* confirm contents. single-threaded version.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdatomic.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <ccan/tap/tap.h>
#include <ccan/hash/hash.... | C | t/12_lfht_rehash_st.c | ksandstr/lfht | gpl-3.0 | 2,201 | 102 | codeparrot/github-code |
d53825ba583e826345cd5d59fd1852a79bfc7831a638581768964baac57e14b9 | /**
* Copyright 2014 A-Team Games
*
* This file is part of ateam-tanks.
*
* ateam-tanks 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... | Java | src/event/client/GameStartEvent.java | RoboNickBot/ateam-tanks | gpl-3.0 | 1,305 | 45 | codeparrot/github-code |
7f598268db854161cd1818cbfae2ba093ff30f67d4b9ca96e10dfc06fb6d5601 | """
SALTS XBMC Addon
Copyright (C) 2014 tknorris
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... | Python | addons/plugin.video.salts/scrapers/rlshd_scraper.py | odicraig/kodi2odi | gpl-3.0 | 3,957 | 91 | codeparrot/github-code |
8c9c92d46837ba60a37b4cfc92c0d46b5d99b6e9ed5e3d928792b7c6e819f349 | #ifndef SYSTEMTRAYPLUGIN_H
#define SYSTEMTRAYPLUGIN_H
#include "interfaces/pluginsiteminterface.h"
#include "tipswidget.h"
#include "dbus/dbustraymanager.h"
#include "xwindowtraywidget.h"
#include "sni/statusnotifierwatcher.h"
#include <QSettings>
#include <QLabel>
namespace dtb {
namespace systemtray {
class Syste... | C | src/modules/system-tray/systemtrayplugin.h | kirigayakazushin/deepin-topbar | gpl-3.0 | 1,403 | 58 | codeparrot/github-code |
6caf2958a341f0f4ed84a8f3739751a9543de910c378b38650056d5c4f4520f1 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package neembuu.uploader.exceptions.accounts;
import java.util.logging.Level;
import java.util.logging.Logger;
import neembuu.uploader.exceptions.NUException;
import neembuu.uploader.translation.Translation;
/**
* B... | Java | modules/neembuu-uploader-api/src/neembuu/uploader/exceptions/accounts/NUBannedUserException.java | Neembuu-Uploader/neembuu-uploader | gpl-3.0 | 1,109 | 39 | codeparrot/github-code |
78376505c03a01c07d50743f03363cf2013f00e0f737fff6562a1d6fde66644f | from django.contrib import admin
from zds.forum.models import ForumCategory, Forum, Post, Topic, TopicRead
class TopicAdmin(admin.ModelAdmin):
list_display = ("title", "author", "forum", "pubdate")
list_filter = ("is_locked", "is_sticky")
raw_id_fields = ("forum", "author", "last_message", "tags", "solve... | Python | zds/forum/admin.py | ChantyTaguan/zds-site | gpl-3.0 | 1,098 | 33 | codeparrot/github-code |
0c16816d093802dab75c9643673d0ce46a6306bfa048c90d75fdb6cccafdfed3 | package net.triptech.buildulator.model;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashM... | Java | src/main/java/net/triptech/buildulator/model/Project.java | stressfree/buildulator | gpl-3.0 | 23,957 | 756 | codeparrot/github-code |
6c6262bb16c27ff8b5f29c1b7bf12d262120bebb8903d88b87a57cb22f9b2176 | /********************************************************************************
** Form generated from reading UI file 'signup.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**************************************... | C | 003_qt_loginInterface_test/src/ui_signup.h | aben20807/Qt_projects | gpl-3.0 | 6,220 | 156 | codeparrot/github-code |
5d1431ba52db28bdab617bcaa97ed0f9d4d6ebb3035b7d6a248f28087c0734dd | package com.example.lx.daygram;
import android.content.Context;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONTokener;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.I... | Java | app/src/main/java/com/example/lx/daygram/DayGramJSONSerializer.java | lingxiao7/DayGram | gpl-3.0 | 2,743 | 92 | codeparrot/github-code |
890c50bfd39530705139e03d96d9c9270a7c2fe31f8ef07c3362f16602b35b7c | /* ide-workbench.c
*
* Copyright 2014-2019 Christian Hergert <chergert@redhat.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)... | C | src/libide/gui/ide-workbench.c | GNOME/gnome-builder | gpl-3.0 | 79,638 | 2,607 | codeparrot/github-code |
3a9268b45f48edc9d61fc8dbe410a1f7662322fc7d4439605ec661f6e51d7787 | /**
* This file is a part of GrantMaster.
* Copyright (C) 2015 Gábor Fehér <feherga@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... | Java | grantmaster/src/main/java/com/github/gaborfeher/grantmaster/logic/wrappers/CurrencyWrapper.java | gaborfeher/grantmaster | gpl-3.0 | 1,724 | 45 | codeparrot/github-code |
66ae3b52f40566dea7f1bb7d111e45557ab752fcd0e22c059be7c1c65e1ad734 | #include <iostream>
#include <thread>
#include <pcl/point_types.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/sample_consensus/ransac.h>
#include <pcl/sample_consensus/sac_model_plane.h>
#include <pcl/sample_consensus/sac_model_sphere.h>
#include <pcl/console/parse.h>
#include <pcl/visualization/pcl_visuali... | C++ | sw_dev/cpp/rnd/test/geometry/pcl/pcl_ransac.cpp | sangwook236/SWDT | gpl-3.0 | 4,846 | 136 | codeparrot/github-code |
21bb2268a5e877c6b368d83b48c128d7cd4b53f0a5e857dcbb0db6d7d653121c | /*
* attr-tree view interface.
* Copyright (C) 2013 Josh Stone
*
* This file is part of dwarvish, and 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 opti... | C | src/attrtree.h | cuviper/dwarvish | gpl-3.0 | 868 | 34 | codeparrot/github-code |
9dfe754ba63148584d679eec06269582dee45c8cf7dbe5a4dba61ae8ca7c6b88 | //=======================================================================
// Author: Donovan Parks
//
// Copyright 2011 Donovan Parks
//
// This file is part of ExpressBetaDiversity.
//
// ExpressBetaDiversity is free software: you can redistribute it
// and/or modify it under the terms of the GNU General Public Licen... | C++ | source/SampleIO.cpp | dparks1134/NetworkDiversity | gpl-3.0 | 7,273 | 283 | codeparrot/github-code |
3952630723fd5c8a151112d9e9aa037d71ddc1fd81609f124eccae6723cd99ac | /*
(C) Copyright 2015 Jeremy Burton
This file is part of Sark-100-antenna-analyzer.
Sark-100-antenna-analyzer 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++ | config.cpp | jedi98/sark-100-antenna-analyzer | gpl-3.0 | 1,575 | 56 | codeparrot/github-code |
2e581cc91d9ac06ebabb2221b33a7c3d2bcf671c6afe753cccb59b66739d49a7 | module.exports = {
walkVariableDeclaration: walkVariableDeclaration,
walkVariableDeclarator: walkVariableDeclarator,
walkFunctionDeclaration: walkFunctionDeclaration
};
const mangle = require('../utils/mangle').mangleIdentifier;
const walk = require('./emit').walk;
const types = require('../utils/types');
... | JavaScript | src/emit/declarations.js | harankumar/jmm | gpl-3.0 | 2,098 | 68 | codeparrot/github-code |
592fa09ade13014fc4ab15226aab9e7bf1a17c6279570d3c4f98d9326718ad04 | ################################################################################
# The Frenetic Project #
# frenetic@frenetic-lang.org #
#############################################################################... | Python | CNUpdates/updates/update_lib.py | XianliangJ/collections | gpl-3.0 | 49,836 | 1,333 | codeparrot/github-code |
e4ebc984725eed26ae2803c62400620fb45a7bb7055cd1e5933a11ecf8795a9c | /*
* 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
*/
/**
* Patt... | Java | frontend/de/unika/ipd/grgen/ast/PatternGraphNode.java | jblomer/GrGen.NET | gpl-3.0 | 45,766 | 1,445 | codeparrot/github-code |
c1c2e236a20612f45939ee4567565536fb372d6a48e657581ad343691c050bef | # -*- coding: utf-8 -*-
# Test links (random.bin):
# http://www13.zippyshare.com/v/18665333/file.html
import re
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class ZippyshareCom(SimpleHoster):
__name__ = "ZippyshareCom"
__type__ = "hoster"
__pattern__ = r'(?P<HOST>http:/... | Python | module/plugins/hoster/ZippyshareCom.py | estaban/pyload | gpl-3.0 | 2,928 | 73 | codeparrot/github-code |
c4720f73ff751513e268f5423c9d39accee4b5c3e53cad4b8eea3b9ccba5dc7b | // ----------------------------------------------------------------------------
// Copyright (C) 2008-2012 Louise A. Dennis, Berndt Farwer, Michael Fisher and
// Rafael H. Bordini.
//
// This file is part of Agent JPF (AJPF)
//
// AJPF is free software; you can redistribute it and/or
// modify it under the terms of t... | Java | src/main/ajpf/psl/buchi/BuchiState.java | VerifiableAutonomy/mcapl | gpl-3.0 | 13,207 | 453 | codeparrot/github-code |
a1243264bf6849dc9af61315863a216005d48d3490f5b458ffb4e8a96fcefddd | /******************************************************************************
* Copyright (c) 2017 Assemblits contributors *
* *
* This file is part of Eru The open JavaFX SCADA by Assemblits Organization. *
... | Java | Eru/src/main/java/org/assemblits/eru/project/ProjectActivities.java | assemblits/eru | gpl-3.0 | 4,222 | 95 | codeparrot/github-code |
2136dbcf8f1cd3d788e2b7a47834d8352172de144530970ac9b86aabca871696 | package org.vianden.toolkits;
import java.io.IOException;
import java.util.List;
import mudam.util.CommonUtils;
import org.vianden.crawler.SpringerCrawler;
import org.vianden.model.Paper;
import org.vianden.model.Publisher;
public class SpringerCrawlerClient {
public static void main(String[] args) throws IOExcep... | Java | src/org/vianden/toolkits/SpringerCrawlerClient.java | SSE-Lab/Vianden | gpl-3.0 | 914 | 47 | codeparrot/github-code |
09f548f65bca87a8b0369941dc5dcae076381f933db82e576a9dcb017d3876d7 | var common = require('./common.js');
var System = common.System;
var VbrMode = common.VbrMode;
var Float = common.Float;
var ShortBlock = common.ShortBlock;
var Util = common.Util;
var Arrays = common.Arrays;
var new_array_n = common.new_array_n;
var new_byte = common.new_byte;
var new_double = common.new_double;
var n... | JavaScript | client/lib/lamejs/src/js/Presets.js | TheEcho/EchoPlay | gpl-3.0 | 19,538 | 488 | codeparrot/github-code |
d51d3ae50e4abe2bfbd41d16212a2372bc8cc2e36d34719744011a1e73f68d39 | package rancraftPenguins;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.enchantment.EnchantmentThorns;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import ... | Java | java/rancraftPenguins/EntityPenguinShuriken.java | immediately/rancraftPeng172p | gpl-3.0 | 21,350 | 476 | codeparrot/github-code |
d91aac3efae2ba8d35a9553fcf7d93fe529d3d4ad3bf41e614313d559eb08df1 | <?php
/**
* This class provides methods to realize timetracking
*
* @author Philipp Kiszka <info@o-dyn.de>
* @name timetracker
* @version 1.0
* @package Collabtive
* @link http://www.o-dyn.de
* @license http://opensource.org/licenses/gpl-license.php GNU General Public License v3 or later
*/
class timetracker ... | PHP | include/class.timetracker.php | altairstudios/ovejuna | gpl-3.0 | 11,119 | 375 | codeparrot/github-code |
2f80db1db36d7cfd24bf29dc82489debec112b228bd40987e0262b320574c764 | /*
* \section COPYRIGHT
*
* Passive Weather Radar (PWR).
* Copyright (C) 2010-2020 Peter F Bradshaw
* A detailed list of copyright holders can be found in the file "AUTHORS".
*
* \section LICENSE
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero... | C++ | lib/include/phy/sync/sss.hpp | Exadios/PWR | gpl-3.0 | 4,630 | 139 | codeparrot/github-code |
9e8a5a2c9aafe043573f0a8e08c0c0e3766a6f7eea8a11cc7392d393b86709b2 | <!--
~ Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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 3 of the License, or (at your option)
~ ... | HTML | s2tbx-help/src/main/resources/doc/help/visat/Toolbars.html | corinavaduva/s2tbx-s2tbx-1.0.2 | gpl-3.0 | 18,893 | 453 | codeparrot/github-code |
1adaf9879c3827c0cd570c9b1d72e932e2653459111cd6b55c6f5901f46027fb | import pyodbc
import sqlite3 as lite
from datetime import datetime, timedelta
class GetDataFromPc(object):
def __init__(self, login, psw, host, dbase):
self.psw = psw
self.login = login
self.host = host
self.dbase = dbase
def read(self):
driver = '{FreeTDS}'
cn... | Python | DATA/datasql.py | BEugen/AI | gpl-3.0 | 8,727 | 174 | codeparrot/github-code |
eeaf58cfed9b8c41c5bb1e2a21274d1eeb6b9e212a038816250b44f5f157c0e9 | <?php
class User extends DB{
public function __construct(){
parent::__construct(PREFIXO. 'lliure_admin');}
public function exist($login, $senha){
$user = self::first(self::get(array('login' => $login), null, 1, 1));
if(empty($user) || !Senha::valid($senha, $user['senha'])) return fal... | PHP | opt/user/user.php | lliure/lliure-wolf | gpl-3.0 | 3,302 | 92 | codeparrot/github-code |
5287a9a152f6485108066433b468444919a255a12ed0337f202eecf47088c817 | # Copyright (c) 2014, Christian Ludwig
#
# Set 256color terminal mode if available.
_zsh_256color_debug()
{
[[ -n "${ZSH_256COLOR_DEBUG}" ]] && echo "zsh-256color: $@" >&2
}
_zsh_terminal_set_256color()
{
if [[ "$TERM" =~ "-256color$" ]] ; then
_zsh_256color_debug "256 color terminal already set."
return
fi
... | Shell | zsh/plugins/256colors.zsh | thiago2roshi/my-dotfiles | gpl-3.0 | 1,398 | 53 | codeparrot/github-code |
691d292b1bc112abb4de1594bc378ce9d504ca5ba6573e85fcb1515bdd8ad2f7 | var join = require('path').join,
sinon = require('sinon'),
helpers = require('./../../../../helpers'),
should = require('should'),
wifi_strat = helpers.load('providers/geo/strategies').wifi,
location_response = require('../fixtures/wifi_location_response'),
lib_path = h... | JavaScript | test/lib/agent/providers/geo/wifi_strategy.js | prey/prey-node-client | gpl-3.0 | 4,548 | 172 | codeparrot/github-code |
cab03b7b8bec061376f357858ffb8bba2917eaa5540f1db8c9e87848b34ff0bf | #!/usr/bin/python
# -*- coding:utf-8 -*-
import functions
import Image
import math, time
import sys
import pygtk
pygtk.require('2.0')
import gtk
import gtk.gtkgl
from OpenGL.GL import *
from OpenGL.GLU import *
from threading import Thread
import gobject
gobject.threads_init() # For prevent GTK freeze
import dbus
... | Python | src/lib_shutter.py | magestik/TuxStereoViewer | gpl-3.0 | 6,327 | 200 | codeparrot/github-code |
c27a55f44fbb1ddc9a41a090953737251bd2916c2664f8f70022cee216138865 | /*
* Simple Chat Client
*
* Copyright (C) 2009-2016 Piotr Łuczko <piotr.luczko@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 yo... | C | src/models/emoticons.h | simplechatclient/simplechatclient | gpl-3.0 | 1,553 | 53 | codeparrot/github-code |
588efc3d66dd8a6d26dcbd9ca58fea84c259c92ce4db69d2bf9b9dc621d7702c | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><!-- The XHTML and PHP source for this page
Copyright (c) 2003 Roger Frank
Permission is granted to copy, distribute and/or modify this
document under the term... | HTML | docs/lessons/en/html/11.html | cristian99garcia/guido-van-robot-activity | gpl-3.0 | 3,587 | 91 | codeparrot/github-code |
aa820c261c355f1b2b6df1ed7eed903170c98bca2e0dd58aaa9d0d6f3f9111f7 | /**
* This file is part of MullionWatcher.
*
* MullionWatcher 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.
* MullionWatcher ... | Java | src/net/watsonplace/mullion/Sender.java | watsonta/MullionWatcher | gpl-3.0 | 4,875 | 155 | codeparrot/github-code |
3ed584436a4eb9588a5c464f1a66382738f1487135f7693ac7e0addf9ae59cc7 | package yapto.swing;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.io.File;
import java.util.SortedSet;
import java.util.concurrent.ExecutionException;
import java.util.concur... | Java | src/yapto_swing/src/yapto/swing/PictureDisplayFrame.java | BenObiWan/yapto | gpl-3.0 | 8,705 | 354 | codeparrot/github-code |
1e32fbd42dbd30bd6f4aa2f944232a699d9b94b99164e15cfd8a7632e5a491ea | from uaperrors import StepError
import sys
import copy
import csv
import glob
from logging import getLogger
import os
import re
import yaml
from abstract_step import AbstractSourceStep
logger = getLogger('uap_logger')
class RawFileSources(AbstractSourceStep):
def __init__(self, pipeline):
super(RawFileS... | Python | include/sources/raw_file_sources.py | kmpf/uap | gpl-3.0 | 2,778 | 73 | codeparrot/github-code |
ddd8efda9fa8f71f32dc57b4069628e50322e02e94e5634da86b314215b84459 | package alldebrid
import (
"encoding/json"
"fmt"
"github.com/andelf/go-curl"
"github.com/usineur/go-debrid/utils"
"html"
"os"
"sort"
"strings"
"time"
)
type service struct {
Link string
Host interface{} // could be a string or a boolean
Filename string
Icon string
Streaming interface{} /... | GO | alldebrid/debrid.go | usineur/go-debrid | gpl-3.0 | 3,447 | 151 | codeparrot/github-code |
79bccf0864af61ade95055de6849177d6306ebb72a9ff672661a4f6c60083128 | # Do not Store images in the database, rather store True or False
# and keep image names same as the primary key of the item
# Delete the images of the items that have been deleted
# =================================================================
# Have the images evaluated when they get uploaded
# Save the evaluated... | Python | Image_Proc/color_detect_server.py | Luther-Lost-and-Found/Lost-and-Found | gpl-3.0 | 2,888 | 78 | codeparrot/github-code |
a70cec720e793dffc1c9feb7fff4700ce85c58eb6c691862dddbf320f031e052 | package Ado::Command::generate::crud;
use Mojo::Base 'Ado::Command::generate';
use Mojo::Util qw(camelize class_to_path decamelize);
use Getopt::Long qw(GetOptionsFromArray :config no_auto_abbrev no_ignore_case);
use Time::Piece ();
use List::Util qw(first);
File::Spec::Functions->import(qw(catfile catdir splitdir));
... | Perl | lib/Ado/Command/generate/crud.pm | kberov/Ado | gpl-3.0 | 14,745 | 497 | codeparrot/github-code |
c86137c49ef5db0b319f753fd3f9c80491f5b40422167ce108c91e574d74543b | /*
* Copyright (C) 2015 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/test/java/org/vesalainen/util/HashMapListTest.java | tvesalainen/util | gpl-3.0 | 2,892 | 100 | codeparrot/github-code |
9bd7ba06e18587a97ceae7e33bf89303636e50b76eb743f062c6dda0c0a72daf | /*
-----------------------------------------------------------------------
Copyright: 2010-2015, iMinds-Vision Lab, University of Antwerp
2014-2015, CWI, Amsterdam
Contact: astra@uantwerpen.be
Website: http://sf.net/projects/astra-toolbox
This file is part of the ASTRA Toolbox.
The ASTRA Toolbox is free ... | C++ | matlab/mex/astra_mex_log_c.cpp | decarlof/astra-toolbox | gpl-3.0 | 9,631 | 306 | codeparrot/github-code |
c5482fa4527cc0f98c422160187a04796bedc33f2e1b731e3dc29ecb1016250a | <?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Shapla_Assets {
/**
* The instance of the class
*
* @var self
*/
private static $instance;
/**
* Only one instance of the class can be loaded
*
* @return self
*/
public static function init() {
if ( is_null( sel... | PHP | inc/class-shapla-assets.php | sayful1/shapla | gpl-3.0 | 12,028 | 398 | codeparrot/github-code |
fea97d25900c90667faebe5c505ced449741b97d6b61f9be20b758ee6820118e | -----------------------------------
-- Area: Bastok_Mines
-- NPC: Faustin
-- Only sells when Bastok controlls Ronfaure Region
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/z... | Lua | scripts/zones/Bastok_Mines/npcs/Faustin.lua | Laterus/Darkstar-Linux-Fork | gpl-3.0 | 1,415 | 61 | codeparrot/github-code |
0ad3793662fbf52a7176a99f847d8286f27c471a165df0bfa42c800fb5e99a9a | """
Created at 15/10/17
__author__ = 'Sergio Padilla'
"""
import sys
from argparse import ArgumentParser
from pymongo import MongoClient
def get_javascript_functions(database):
"""Add elements in database."""
system = database.system_js
print("JavaScript functions stored in database: ")
print(system.... | Python | computering/python/scripts/get_javascript_functions.py | SergioPadilla/tfg | gpl-3.0 | 821 | 39 | codeparrot/github-code |
c178c2966ae44d6830160cc1fb701e274b034e9650395e2431f6a4ff92e0f440 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using ManageCustomer.Backend.Dialogs;
using ManageCustomer.Backend.Models;
namespace ManageCustomer.Backend.DataAccessLayer
{
internal static class Database
{
internal static List<Customer> CustomersTable;
... | C# | ManageCustomer/ManageCustomer/Backend/DataAccessLayer/Database.cs | RicoSu/Manage-Customer | gpl-3.0 | 18,835 | 224 | codeparrot/github-code |
98c7d8c8dbdacccb8705f3220f42fb6a22e7432c1b4c611481ee08955f531000 | #include "metaiv.h"
#include "XMI.h"
#include "xmiaux.h"
#include "tb_wstring.h"
#include "parse_string.h"
#include <time.h>
#ifndef _MSC_VER
#include <sys/time.h>
#endif // _MSC_VER
unsigned long XmiAux::uid = 0;
Sequence XmiAux::UniqueID()
{
time_t tm;
time(&tm);
char buf [40];
sprintf(buf, "VDMT%010lx%010... | C++ | code/uml/code/xmiaux.cc | vdmtools/vdmtools | gpl-3.0 | 44,011 | 1,572 | codeparrot/github-code |
8651cfcbe5e5ed9b2baff0aaf9de69696c396f10d7a22cf8c962a13295aff7ff | /*
Functionality related to the top bar, often called the statusbar.
*/
var Extension;
if (imports.misc.extensionUtils.extensions) {
Extension = imports.misc.extensionUtils.extensions["paperwm@hedning:matrix.org"];
} else {
Extension = imports.ui.main.extensionManager.lookup("paperwm@hedning:matrix.org");
}... | JavaScript | topbar.js | paperwm/PaperWM | gpl-3.0 | 21,983 | 644 | codeparrot/github-code |
9ff762987a642b95a65c89902c78590a74af236ef8cb91f4af5336c3a9686ce3 | local status_ok, trouble = pcall(require, "trouble")
if not status_ok then
return
end
local config = {
position = "bottom", -- position of the list can be: bottom, top, left, right
height = 10, -- height of the trouble list when position is top or bottom
width = 50, -- width of the list when position is left o... | Lua | nvim/lua/user/trouble.lua | andresgutgon/dotfiles | gpl-3.0 | 2,629 | 55 | codeparrot/github-code |
241c9cba9a21bebeb8952ba84199e4312a132a41ce4c52222eb5b4b11ee4ea37 | /*SCD 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.
SCD is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; witho... | C++ | source/main.cpp | DAMA-UPC/SCD | gpl-3.0 | 7,206 | 212 | codeparrot/github-code |
466ddfd03b87c0c68bbf79ef21a5439258b27780b96957e35979cc5e09253523 | # -*- coding: utf-8 -*-
"""
Created on 4 dec. 2018, 16:00
Copyright François Durand 2014-2018
fradurand@gmail.com
This file is part of SVVAMP.
SVVAMP 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, e... | Python | svvamp/rules/rule_condorcet_sum_defeats.py | francois-durand/svvamp | gpl-3.0 | 12,229 | 329 | codeparrot/github-code |
cdcc298bcd01f8139563cbfdbe96ad4434d8e6669a546bcef9593f1cf5aa77bc | <?php
#
# Markdown Extra - A text-to-HTML conversion tool for web writers
#
# PHP Markdown & Extra
# Copyright (c) 2004-2012 Michel Fortin
# <http://michelf.com/projects/php-markdown/>
#
# Original Markdown
# Copyright (c) 2004-2006 John Gruber
# <http://daringfireball.net/projects/markdown/>
#
define( 'MARKDOW... | PHP | application/libraries/markdown.php | MitchellMcKenna/LifePress | gpl-3.0 | 83,410 | 2,933 | codeparrot/github-code |
9e978febfd914295d43f001b0885ea316bd561ee149708fc0468057c5c59133a | package com.alphatrader.rest;
import javafx.beans.property.*;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.time.ZonedDateTime;
import java.util.List;
/**
* Represents an order in the game.
*
* @author Christopher Guckes (christopher.guckes@torq-dev.de)
* @versi... | Java | src/main/java/com/alphatrader/rest/Order.java | Alpha-Trader/AlphaTraderJavaRestApiLib | gpl-3.0 | 10,525 | 457 | codeparrot/github-code |
60a227b8b1abb02745f58d13bfc251c6609b09569ec7f45aa4586e58184cb0a1 | <?php
/**
* Part of the AsbestosPHP framework.
* https://github.com/goncalomb/asbestos
*
* Copyright (C) 2017-2018 Gonçalo Baltazar <me@goncalomb.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 Softwa... | PHP | src/classes/Http/Response.php | goncalomb/AsbestosPHP | gpl-3.0 | 2,615 | 111 | codeparrot/github-code |
dc57fb2053a1b994ced42a046c2ed98f6c9389be47acfa1d4837d3f30593c45f | /*
* QtApplication.cpp
*
* Created on: Aug 27, 2011
* Author: bmonkey
*/
#include "QtApplication.h"
#include "Scene/Scene.h"
#include "System/Config.h"
#include "Renderer/OpenGL.h"
#include "QtInput.h"
QtApplication::QtApplication(int &argc, char **argv) : QApplication(argc, argv){
}
QtApplication::~QtAp... | C++ | src/Application/Qt/QtApplication.cpp | lubosz/liblub | gpl-3.0 | 2,417 | 96 | codeparrot/github-code |
725ed2641e3dc2b6a68cc32c0ad8ece496ea25b618e990ed612c7d0f9e09f71e | /*
* Copyright 2015 the original author or authors.
*
* 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 p... | C++ | Enabler/Lib/PteCpp/abstractnetworkprovider.cpp | hurzelchen/pte-cpp | gpl-3.0 | 1,712 | 66 | codeparrot/github-code |
7cef0193d4f6dfd4a62e7e20bc9a6d11feafe6265c535407d2314ff05e08d593 | /*
* statetransitiontable.h
*
* Created on: 16 Nov 2011
* Author: Nathan Geffen
*
*
*/
#ifndef STATETRANSITIONTABLE_H_
#define STATETRANSITIONTABLE_H_
#include "simutils.h"
#include "state.h"
#include "state_parameter.h"
using namespace std;
namespace microsimulator {
enum MatchFunction {
EQ,
GTE_... | C | statetransitiontable.h | nathangeffen/microsimulator-old | gpl-3.0 | 1,494 | 79 | codeparrot/github-code |
3891f7921d8cf0cc83eb34f747d55de1030ae9c227deee3e95d3c707dc1cb43d | /*******************************************************************************
* gMix open source project - https://svs.informatik.uni-hamburg.de/gmix/
* Copyright (C) 2014 SVS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | Java | gMix/src/staticContent/framework/controller/routing/DynamicRoutingMixController.java | kpfuchs/gMix | gpl-3.0 | 2,163 | 63 | codeparrot/github-code |
e7cf6a4bb5cd0f053f56c733c81e2a46cc00b47f5950e7f4a690666209361c18 | #ifndef APPINFOWIDGET_H
#define APPINFOWIDGET_H
#include <QWidget>
#include <QVBoxLayout>
#include <QToolBar>
#include <QAction>
#include <QTreeWidgetItem>
#include <saboutdata.h>
#include <spicturewidget.h>
#include "authorlistwidget.h"
#include "ui_appinfowidget.h"
class AppInfoWidget : public QWidget
{
Q_OBJ... | C | Silicon/appinfowidget.h | realbardia/silicon | gpl-3.0 | 1,328 | 62 | codeparrot/github-code |
169a70d9b39b5bfb84f5bcb388dbf9a49adfb9684da9ab477943a4056f0aa6a7 | /*
* This file is part of dmrshark.
*
* dmrshark 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.
*
* dmrshark is distributed in... | C | libs/comm/snmp.c | nonoo/dmrshark | gpl-3.0 | 21,684 | 552 | codeparrot/github-code |
5779e4b98d4ffc865d36501906c1e4f6962ad8ed0a0e8e2e4f7e1758e9521bb3 | // SPDX-License-Identifier: GPL-3.0-or-later
package org.firehol.netdata.module.jmx.query;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.verify;
import static org.powermock.api.mockito.PowerMockito.mock;
import static org.powermock.api.mockito.Powe... | Java | src/test/java/org/firehol/netdata/module/jmx/query/MBeanQueryTest.java | simonnagl/netdata-plugin-java-daemon | gpl-3.0 | 8,069 | 212 | codeparrot/github-code |
e87d1b9f32af0e77db0b80d61c73c04200958814f5b8000754a7d3ff20789ace | // $Id: CrNodeInsideElement.java 13842 2007-11-26 00:31:27Z tfmorris $
// Copyright (c) 1996-2006 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby gran... | Java | workspace/argouml_diagrams/argouml-app/src/org/argouml/uml/cognitive/critics/CrNodeInsideElement.java | ckaestne/LEADT | gpl-3.0 | 4,505 | 127 | codeparrot/github-code |
80aaaa0e62db37ceef43673573824c2d0ed320cfb025319dd38aaeff1e3cc6b8 | <?php
/**
* Copyright 2015 Sky Wickenden
*
* This file is part of StreamBed.
* An implementation of the Babbling Brook Protocol.
*
* StreamBed 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 ver... | PHP | protected/views/Client/Component/Tutorials.php | babbling-brook/streambed | gpl-3.0 | 41,712 | 1,087 | codeparrot/github-code |
217acdb9d5426aa8f927280e8443cb55a56e1e669dd615c3104fb41815cfad82 | /***************************************************************************
* Project file: NPlugins - NCuboid - ReloadSubcmdExecutor.java *
* Full Class name: fr.ribesg.bukkit.ncuboid.commands.subexecutors.ReloadSubcmdExecutor
* *
... | Java | NCuboid/src/main/java/fr/ribesg/bukkit/ncuboid/commands/subexecutors/ReloadSubcmdExecutor.java | Ribesg/NPlugins | gpl-3.0 | 3,719 | 80 | codeparrot/github-code |
7be80382b3ac2056d82b020bdb712a274e4aa7d687f12414deb60b8d46d4fedd | /**
*
* Copyright (c) 2014-2015, Openflexo
*
* This file is part of Flexo-foundation, a component of the software infrastructure
* developed at Openflexo.
*
*
* Openflexo is dual-licensed under the European Union Public License (EUPL, either
* version 1.1 of the License, or any later version ), which is ... | Java | gina-api/src/main/java/org/openflexo/gina/model/bindings/FIBComponentBindingModel.java | openflexo-team/gina | gpl-3.0 | 9,590 | 298 | codeparrot/github-code |
0ffc94675de71fbe55b76dfee16d09e42c672fd6abd807fb9bb7a7c158403bb6 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2012 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | PHP | app/protected/modules/zurmo/models/AuditEvent.php | theclanks/zurmo | gpl-3.0 | 9,846 | 212 | codeparrot/github-code |
6e3b79dc96683519099a7694ebe224d5d982dc5e0dfbd2582d07409d1cbd16ee | // Copyright 2014 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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 License... | GO | core/state/statedb.go | wildfjre/geth | gpl-3.0 | 10,388 | 399 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.