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 |
|---|---|---|---|---|---|---|---|---|
96de66370a7a6c0f173296667c5c7454d187660c59139bfa0e6060e336d24fec | package hu.smiths.dvdcomposer.model.algorithm;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Set;
import hu.smiths.dvdcomposer.model.Disc;
import hu.smiths.dvdcomposer.model.exceptions.CannotFindValidAssign... | Java | src/main/java/hu/smiths/dvdcomposer/model/algorithm/OuterAlgorithm.java | antaljanosbenjamin/DVDComposer | gpl-3.0 | 2,346 | 71 | codeparrot/github-code |
8c5b7491bb4210d95cb95d950780fae8d65aa6d05a042d59f3daec26f6c21a47 | //////////////////////////////////////////////////////////////////////////
// This file is part of openPSTD. //
// //
// openPSTD is free software: you can redistribute it and/or modify //
// it under the term... | C++ | test/GUI/Edges-test.cpp | openPSTD/openPSTD | gpl-3.0 | 4,237 | 88 | codeparrot/github-code |
2e0c55d7b1cd36dbeac77d8697703db2382ac5cb65caf8605a00c21afa5a9bd4 | /**
*
*/
var $info = false;
function LoadServerStats() {
$.getJSON("phpsysinfo/xml.php?plugin=complete&json",
function (data) {
$info = data;
updateCPU($info.Vitals["@attributes"].LoadAvg, $info.Vitals["@attributes"].Processes);
updateRAM($info.Memory["... | JavaScript | js/serverstats.js | volrathxiii/Avy | gpl-3.0 | 2,489 | 81 | codeparrot/github-code |
a7293f1fcf0466475b5c8b2d50ca0971bfd38748179bbb5499d8b289adbaa20e | /////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2021- Equinor ASA
//
// ResInsight 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 o... | C++ | ApplicationLibCode/Commands/OctaveScriptCommands/RicExecuteLastUsedScriptFeature.cpp | OPM/ResInsight | gpl-3.0 | 3,371 | 99 | codeparrot/github-code |
de603dfcd69de0a04ae4394097b20861e630310fa3940d5f6da12947c4c950cb | # -*- encoding: utf-8 -*-
"""Generic base class for cli hammer commands."""
import logging
from robottelo import ssh
from robottelo.cli import hammer
from robottelo.config import conf
class CLIError(Exception):
"""Indicates that a CLI command could not be run."""
class CLIReturnCodeError(Exception):
"""Ind... | Python | robottelo/cli/base.py | abalakh/robottelo | gpl-3.0 | 14,527 | 446 | codeparrot/github-code |
f367def23451432bf696b63009f2fe60603f5b9782c7fc44241fe2c99f80316c | /* Pcsx - Pc Psx Emulator
* Copyright (C) 1999-2003 Pcsx Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | C | win32/gui/ConfigurePlugins.c | SonofUgly/PCSX-Reloaded | gpl-3.0 | 21,275 | 722 | codeparrot/github-code |
515b2059899f4451cccdfcc9a9e6a22f4530f1bd7fd3071cec229bfd39aaa171 | #region license
/*
MediaFoundationLib - Provide access to MediaFoundation interfaces via .NET
Copyright (C) 2007
http://mfnet.sourceforge.net
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; e... | C# | src/Core/Classes/MFVideoArea.cs | todor-dk/SuperMFLib | gpl-3.0 | 4,297 | 112 | codeparrot/github-code |
008e9ed3e4069bb573b2702b0ec720ad2b8b19978fa180e199a4ff7a73c1ddfb | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package modules;
import java.io.BufferedReader;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.T... | Java | src/modules/MeterKamstrup.java | SMXCore/SMXCore_NG | gpl-3.0 | 7,242 | 230 | codeparrot/github-code |
69e7f415736cba5485a8ede61899455e4a5d3b6229e0e37f2cf05244ccb82e4d | <?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redist... | PHP | application/Espo/Hooks/Integration/GoogleMaps.php | ayman-alkom/espocrm | gpl-3.0 | 2,094 | 66 | codeparrot/github-code |
8458127fc9f9fc31efe954579ec23e3bebfb38074d3d1db55342bde203beb842 | import React from "react";
import PropTypes from "prop-types";
import styled from "@emotion/styled";
import { insertEmbeddedImages } from "../../../utils/embedded-images";
const RichTextareaFieldResponseWrapper = styled("div")(props => ({
// TODO: fluid video
lineHeight: "1.3rem",
"& img": {
maxWidth: "100%... | JavaScript | src/base/static/components/form-fields/types/rich-textarea-field-response.js | smartercleanup/platform | gpl-3.0 | 1,342 | 58 | codeparrot/github-code |
8a2fb895a884ecb6533622812aafdc0e7f747bd4afdf871425f0d67f5541d1ca | #ifndef USER_DATA_OBJECT_H
#define USER_DATA_OBJECT_H
#include <memory>
using namespace std;
struct other_user_data_object_t
{
int id;
int gpc_seq[8];//杠碰吃 顺序
int gpc_seq_count;
int paiCount;//手上的牌
int paiRecCount;//已经出了的牌
int _g;
int _ag;
int _p;
int _c;
char paiRecList[32];/... | C | worker_svr/data_model/user_data_object.h | ApterWong/dzmj_svr | gpl-3.0 | 1,228 | 72 | codeparrot/github-code |
affb8540926fbed9ee9988bd2a7c0932731c3128ad8aad6b1a5a869ae774b962 | //********************************************************
// *
// Instructor: Franck Xia *
// Class: CS236 Fall 2002 *
// Assignment: Program 6 *
// Programmer: It's you ... | C++ | hw1/ex2/driver.cpp | Jmgiacone/CS5201 | gpl-3.0 | 5,569 | 145 | codeparrot/github-code |
7be5e7a8d1bc0627689544c94181cadacebb61ddc684b40cfe96a0badb44ba61 | /*
* Window management definitions from <X/Xlib.h>
* Copyright (c) 1985 Massachusetts Institute of Technology
*/
#ifndef Xwindow_h
#define Xwindow_h
#include <InterViews/X10/Xdefs.h>
/*
* Data returned by XQueryWindow.
*/
typedef struct _WindowInfo {
short width, height; /* Width and height. */
short x, y; ... | C | cmds/public/IV2.5/src/InterViews/X10/Xwindow.h | axelmuhr/Helios-NG | gpl-3.0 | 3,561 | 106 | codeparrot/github-code |
c1216c27b27d09be32a310dbd753bf6f93c7986bc15e716dd0b63892527a1141 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | Lua | game/modules/tome/data/talents/techniques/field-control.lua | naclander/tome | gpl-3.0 | 4,504 | 142 | codeparrot/github-code |
8e690ecf7b1cbde223e773fe727e0dda441c9402014ee29aef5f73f6e37846d8 | /*******************************************************************************
Copyright (C) 2014-2017 Wright State University - All Rights Reserved
Daniel P. Foose - Maintainer/Lead Developer
This file is part of Vespucci.
Vespucci is free software: you can redistribute it and/or modify
it unde... | C | Vespucci/GUI/Display/plotwidget.h | VespucciProject/Vespucci | gpl-3.0 | 2,224 | 63 | codeparrot/github-code |
126828860d410820d5dd8d9028f706bbced79e6212d8ce59c2907ff2938e8493 | package input;
/**
**@author yfhuang
**created at 2014-2-26
*/
import java.util.ArrayList;
import java.util.List;
public class EventQueueBus {
private List<EventQueue> queues;
//private long earliest;
private CjEventListener cjeventlistener;
private long eventstime=Long.MAX_VALUE;
public EventQueueBus() {
... | Java | src/input/EventQueueBus.java | yongfenghuang/cjegsim | gpl-3.0 | 1,561 | 72 | codeparrot/github-code |
78612f696a7585f9a950e06061004fdf76ceb611f97e72515b2ca008165e8227 | /*
* PCLanChat, the decentralized chat client
* Copyright (C) 2017 Kuklin István
*
* 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 of the License.
*
* This program is distribut... | C++ | Sources/Preferences.cpp | kuklinistvan/PCLanChat | gpl-3.0 | 3,794 | 111 | codeparrot/github-code |
579ca60c755626939c219afb6b13eb12e7f8e4ef97468fa082f0e8b10c69d32d | /*
Copyright 2014 Travel Modelling Group, Department of Civil Engineering, University of Toronto
This file is part of XTMF.
XTMF 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# | Code/TMG.Estimation/AI/LinearGridAI.cs | TravelModellingGroup/XTMF | gpl-3.0 | 5,218 | 156 | codeparrot/github-code |
3fdbec14c4ff7cff1bf96cff4670400c3947a82322a16b69f96dcb068a79f85c | <?php
/**
* @package wp-content-aware-engine
* @author Joachim Jensen <joachim@dev.institute>
* @license GPLv3
* @copyright 2022 by Joachim Jensen
*/
defined('ABSPATH') || exit;
if (!class_exists('WPCATypeManager')) {
/**
* Manage module objects
*/
final class WPCATypeManager extends WPCACollec... | PHP | typemanager.php | intoxstudio/wp-content-aware-engine | gpl-3.0 | 2,670 | 104 | codeparrot/github-code |
849da3dd78fa69c84300628bf880dc92368504087bf37f54fa19219b13d57440 | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO 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 Soft... | Java | marlo-web/src/main/java/org/cgiar/ccafs/marlo/action/json/project/GeopositionByLocElementAction.java | CCAFS/MARLO | gpl-3.0 | 3,066 | 91 | codeparrot/github-code |
0ef39ce9c0f9c4d554c82ae9dfbc4ca9b382a0f5099747c772ccb4924a7eae09 | /*
Copyright (c) 2005-2021 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | C++ | 3rdparty/onetbb/src/tbbmalloc/backend.cpp | variar/klogg | gpl-3.0 | 57,246 | 1,492 | codeparrot/github-code |
4af43798fc1f430004fce5070d94d84ff206cc0bb44ebbdfa92c7a20fb6de8a4 | <?php
include_once dirname(__FILE__)."/SQL_Functions.php";
$event_name = $_GET["event_name"];
$day = $_GET["day"];
$start_time = $_GET["start_time"];
$end_time = $_GET["end_time"];
$return_array = Array("success" => true);
#first we validate the inputs, making sure they are there. Also, make sure they are within rang... | PHP | json/SaveEvent.php | KevinAnthony/SeniorProject | gpl-3.0 | 3,644 | 73 | codeparrot/github-code |
bfbbfdbb74468a82dc7e5e7048cb262739289751016c77c594799d45bc464425 | <?php // Example 26-5: signup.php
require_once 'header.php';
echo <<<_END
<script>
function checkUser(user)
{
if (user.value == '')
{
O('info').innerHTML = ''
return
}
params = "user=" + user.value
request = new ajaxRequest()
request.open("POST", "che... | PHP | signup.php | JSHai/PHPWebsite | gpl-3.0 | 2,349 | 87 | codeparrot/github-code |
1f02df087f8ecb3b277b584bcf0656a9a5cdd4749fffe7a4f3dfe0bbe30038b4 | module Main where
import Control.Applicative
import Data.Char
import Data.List hiding (or)
import Prelude hiding (or)
import System.Environment
import System.Exit
import System.Random
import Test.QuickCheck hiding (sample)
import Test.QuickCheck.Gen hiding (sample)
data Regex = Charset String
| Or Regex Re... | Haskell | Main.hs | jthornber/rxgen | gpl-3.0 | 3,030 | 103 | codeparrot/github-code |
e1dd9088e6a9fa068df9de6651d2719509f250442f034701b07d1b6c131f93ec | /**
* output.c
* Author: Jan Viktorin <xvikto03 (at) stud.fit.vutbr.cz>
*
* 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) an... | C | src/output.c | jviki/kcpsm3 | gpl-3.0 | 1,980 | 85 | codeparrot/github-code |
84ae5a19e8dec51640b2abce5e5b9a03108c1fb962b42576e3771789b45934c0 | // ThresClassEventSender.h
// author: Ionut Damianr <damian@hcm-lab.de>
// created: 2013/08/21
// Copyright (C) 2007-13 University of Augsburg, Lab for Human Centered Multimedia
//
// *************************************************************************************************
//
// This file is part of Soci... | C | core/include/event/ThresClassEventSender.h | eNTERFACE14Auracle/AuracleSSI | gpl-3.0 | 5,067 | 159 | codeparrot/github-code |
fbd77c9028ed6a58f346a551ffc887c950d317b4ec49b1b2e792d1eee3a2ce5c | // **********************************************************************************
// Websocket backend for the Raspberry Pi IoT Framework
// **********************************************************************************
// Modified from the Moteino IoT Framework - http://lowpowerlab.com/gateway
// By Felix ... | JavaScript | gateway.js | bjladner/IoPiGateway | gpl-3.0 | 14,853 | 288 | codeparrot/github-code |
7ffa4274a16b9611f0f5c8d8ba0479bf528fd4f223651d70a936c0f0759e8bfb | /*
* This file is part of ARSnova Mobile.
* Copyright (C) 2011-2012 Christian Thomas Weber
* Copyright (C) 2012-2017 The ARSnova Team
*
* ARSnova Mobile 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... | JavaScript | src/main/webapp/app/controller/Sessions.js | dhx/arsnova-mobile | gpl-3.0 | 21,214 | 612 | codeparrot/github-code |
834b4a60b76a9eb8b6ad8d5ee943a35236c844d4d950888c87a66a221d7380a7 | <?php
if (!isConnect('admin')) {
throw new Exception('{{401 - Accès non autorisé}}');
}
$page = init('page', 1);
$logfile = init('logfile');
$list_logfile = array();
$dir = opendir('log/');
$logExist = false;
while ($file = readdir($dir)) {
if ($file != '.' && $file != '..' && $file != '.htaccess' && !is_dir('log/' ... | PHP | desktop/php/log.php | totovaauski/core | gpl-3.0 | 1,978 | 50 | codeparrot/github-code |
ef4ace94d2d980bfecab7f2e9c0ff021733a3d242314ab34d6a313fd1ee692de | local Expression2 = GCompute.GlobalNamespace:AddNamespace ("Expression2")
local Number = Expression2:AddClass ("number")
Number:SetNullable (false)
Number:SetPrimitive (true)
Number:SetDefaultValueCreator (
function ()
return 0
end
)
Number:AddConstructor ("bool b")
:SetNativeString ("%arg:b% and 1 or ... | Lua | lua/gcompute/libraries/expression2/number.lua | notcake/gcompute | gpl-3.0 | 2,156 | 75 | codeparrot/github-code |
e5107a7784a282f229d7497d2be4a84bc2d89077ccda27886cbfcf86bb81cb12 | using FractalViewer.Common;
namespace FractalViewer.FractalSpace
{
class Julia_SanMarco : Mandelbrot
{
public Julia_SanMarco(int newWidth, int newHeight, FormControlObserver sbo, bool statusbar)
: base(newWidth, newHeight, sbo, statusbar)
{
//default san marco window is... | C# | FractalViewer/FractalSpace/Julia_SanMarco.cs | espaulding/FractalViewer | gpl-3.0 | 1,224 | 39 | codeparrot/github-code |
407434705139b07cfce9026dfbca3e95341cf1495a709ac10dd26e630975e3ab | /* This file is part of TSRE5.
*
* TSRE5 - train sim game engine and MSTS/OR Editors.
* Copyright (C) 2016 Piotr Gadecki <pgadecki@gmail.com>
*
* Licensed under GNU General Public License 3.0 or later.
*
* See LICENSE.md or https://www.gnu.org/licenses/gpl.html
*/
#include "ProceduralShape.h"
... | C++ | ProceduralShape.cpp | GokuMK/TSRE5 | gpl-3.0 | 35,523 | 937 | codeparrot/github-code |
4e47eb336043c53252efb666deac4f894d69c5fb9db05c06c01522696743878a | #!/usr/bin/python -tt
# An incredibly simple agent. All we do is find the closest enemy tank, drive
# towards it, and shoot. Note that if friendly fire is allowed, you will very
# often kill your own tanks with this code.
#################################################################
# NOTE TO STUDENTS
# This is... | Python | bzagents/agent0.py | bweaver2/bzrFlag | gpl-3.0 | 3,861 | 121 | codeparrot/github-code |
d588c9a928fc6a48d4dd3719332b572841c7698b4574695bc1ae68de8ba2a537 | /*
* Copyright (C) 2013 EMBL - European Bioinformatics Institute
*
* All rights reserved. This file is part of the MassCascade feature for KNIME.
*
* The feature 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 Found... | Java | src/uk/ac/ebi/masscascade/knime/featurebuilding/tracejoiner/MassTraceCompilerNodeFactory.java | tomas-pluskal/masscascadeknime | gpl-3.0 | 2,404 | 84 | codeparrot/github-code |
c422601c897831c80ac79311384ae8a27888a2bba572cc349045e3bc33a00c2c | /*-
* Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version... | C | src/marlin-thumbnailer.h | ammonkey/marlin | gpl-3.0 | 2,799 | 57 | codeparrot/github-code |
8ba9c03ad0262e814a78c04fee8ad509dbc6995cb4023990c02e2c3d138b7821 | /*******************************************************************************
* | o |
* | o o | HELYX-OS: The Open Source GUI for OpenFOAM |
* | o O o | Copyright (C) 2012-2016 ENGYS ... | Java | src/eu/engys/core/project/geometry/surface/Cylinder.java | ENGYS/HELYX-OS | gpl-3.0 | 6,610 | 181 | codeparrot/github-code |
6291caf9c3317d29822d4aaf9c4cb93c92ace432fe510644c014bfab75529f6a | // ReSharper disable All
using System.Collections.Generic;
using System.Dynamic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using MixERP.Net.Api.Framework;
using MixERP.Net.ApplicationState.Cache;
using MixERP.Net.Common.Extensions;
using MixERP.Net.EntityParser;
using MixERP.Net.Framework;
using N... | C# | src/Libraries/Web API/Core/PriceTypeController.cs | gguruss/mixerp | gpl-3.0 | 28,610 | 718 | codeparrot/github-code |
14d38f1d38517265b37388a288bbc7b48cbffb61bd566244526ce240b4170183 | //-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
/**
* g... | PHP | src/function/time/!whitout_test/libcore__getmonthname/libcore__getmonthname.php | progman/libcore.php | gpl-3.0 | 1,895 | 45 | codeparrot/github-code |
5a86181259b3971ececa20d22062d29253529b0bfa8fdb8e4a1eeb8618645625 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using StoresAndInventoryManager.Classes;
namespace StoresAndInventoryManager.Forms
{
public partial class pymntsRcvdForm : Form
{
//Transactions S... | C# | InventoryManagment/InventoryManagment/Forms/pymntsRcvdForm.cs | rhomicom-systems-tech-gh/Rhomicom-ERP-Desktop | gpl-3.0 | 27,466 | 827 | codeparrot/github-code |
fd11d4dc9afaaec3b1f2582ce889e6f7d62004632a1a6dcc7cbf9f2540861755 | -----------------------------------
-- Area: Abyssea - Vunkerl (217)
-- Mob: Ayravata
-----------------------------------
require("scripts/zones/Abyssea-Vunkerl/textIDs");
require("scripts/globals/abyssea");
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
... | Lua | scripts/zones/Abyssea-Vunkerl/mobs/Ayravata.lua | bnetcc/darkstar | gpl-3.0 | 1,167 | 51 | codeparrot/github-code |
2052c1375b8fb84497e9393745f47d5520d9782014ae179ff2da61c65ea6144a | #!/usr/bin/python
#
# Problem: Endless Knight
# Language: Python
# Author: KirarinSnow
# Usage: python thisfile.py <input.in >output.out
# Comments: OK for large, but may time out on small.
from itertools import *
MOD = 10007
# Precompute factorial table mod MOD
fact = [1] * MOD
for i in xrange(1, MOD):
fact[i]... | Python | Round 3 2008/D1.py | KirarinSnow/Google-Code-Jam | gpl-3.0 | 2,492 | 95 | codeparrot/github-code |
1361795cd1dd3919334ca53df6bbffab1ac08e388e6eefcae2386eb239ad555f | /*---------------------------------------------------------------------------/
/ FatFs - FAT file system module include file R0.09 (C)ChaN, 2011
/----------------------------------------------------------------------------/
/ FatFs module is a generic FAT file system module for small embedded systems.
/ This is a... | C | GUI-interface-STM32F407VG-discovery/User/SD_CARD/ff.h | build3dparts/motor-driver-tune | gpl-3.0 | 12,016 | 339 | codeparrot/github-code |
23f33428c4c0d7f7dc920db2b04cc8859b6ea4757d27ea04c36fe05569ab2096 | package com.mec.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Random;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServle... | Java | HelloJS/src/com/mec/servlet/ES6PromiseServlet.java | mectest1/HelloEE | gpl-3.0 | 3,026 | 92 | codeparrot/github-code |
b3ef61a850217c875697558e63c92ec8c54e605fe6a2a76d02f69413a2ef29eb | /******************************************************************************
*
* MantaFlow fluid solver framework
* Copyright 2011 Tobias Pfaff, Nils Thuerey
*
* This program is free software, distributed under the terms of the
* GNU General Public License (GPL)
* http://www.gnu.org/licenses
*
* Python ar... | C++ | source/pwrapper/pconvert.cpp | CoderDuan/mantaflow | gpl-3.0 | 13,839 | 472 | codeparrot/github-code |
40ed6878145fd609b1caa76f150e7d4e1ef7641f2849d2b19bf79591e82b2e99 | package com.greenaddress.greenbits.spv;
import org.bitcoinj.core.BloomFilter;
class PeerFilterProvider implements org.bitcoinj.core.PeerFilterProvider {
private final SPV mSPV;
public PeerFilterProvider(final SPV spv) { mSPV = spv; }
@Override
public long getEarliestKeyCreationTime() {
final... | Java | app/src/main/java/com/greenaddress/greenbits/spv/PeerFilterProvider.java | greenaddress/GreenBits | gpl-3.0 | 994 | 38 | codeparrot/github-code |
0815e8b2ace3016460f90158330f4fcd247e314576948da40903905841c8267c | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SandbarWorkbench.ModelRuns;
namespace SandbarWorkbench
{
public partial class frmSynchronize :... | C# | SandbarWorkbench/frmSynchronize.cs | NorthArrowResearch/sandbar-analysis-workbench | gpl-3.0 | 5,266 | 150 | codeparrot/github-code |
fb82746dd8d9027280e391354f9f6ebda52dac95c2ca82d5c95edb8fe66d48d8 | //=============================================================================
/*! zgematrix+=zhematrix operator */
inline zgematrix& zgematrix::operator+=(const zhematrix& mat)
{CPPL_VERBOSE_REPORT;
#ifdef CPPL_DEBUG
if(n!=mat.n || m!=mat.n){
ERROR_REPORT;
std::cerr << "These two matrises can not make a su... | C++ | thirdparty/cpplapack/include/zgematrix-/zgematrix-zhematrix.hpp | j-otsuki/SpM | gpl-3.0 | 4,454 | 145 | codeparrot/github-code |
17543342645eeab11026c357775daf8b8914a5cbdaf4a8fd413c0087e12bfea8 | /**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.astrid.data;
import android.content.ContentValues;
import android.net.Uri;
import com.todoroo.andlib.data.AbstractModel;
import com.todoroo.andlib.data.Property;
import com.todoroo.and... | Java | src/main/java/com/todoroo/astrid/data/Metadata.java | a-v-k/astrid | gpl-3.0 | 3,924 | 151 | codeparrot/github-code |
f0b5b336b1f353ba6b7281e1675cf8e7d81e3d00235a4f607e3a4860cbed4d3b | //----------------------------------------------------------------------------
// XC program; finite element analysis code
// for structural analysis and design.
//
// Copyright (C) Luis Claudio Pérez Tato
//
// This program derives from OpenSees <http://opensees.berkeley.edu>
// developed by the «Pacific earthq... | C++ | src/material/nD/FiniteDeformation/fdFlow/fdFlow.cpp | lcpt/xc | gpl-3.0 | 3,810 | 119 | codeparrot/github-code |
c7f0186488b7a8e0f64aa803d0c2f64e253348de89b7f67cc50999634a00fe9e | package NewAI;
import Events.Event;
import GUI.CurrentSetup;
import Mapviewer.TiledMapReader.JsonClasses.TileObject;
import NewAI.AILogic.AILogicRunner;
import NewAI.BaseClasses.MyBody;
import NewAI.NewPathfinding.Grid2d;
import Sprites.Sprites;
import org.dyn4j.geometry.Geometry;
import org.dyn4j.geometry.MassType;
i... | Java | src/NewAI/MyNpc.java | jipjan/ProjectFestival | gpl-3.0 | 4,812 | 141 | codeparrot/github-code |
02ac0a20d76cad8a825da56fbe8831495b0896e5ba0de03e21e7399d25df3b6d | /*
Copyright (c) 2005-2016 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | C++ | external/tbb/src/tbbmalloc/tbb_function_replacement.cpp | IMP-Engine/Engine | gpl-3.0 | 17,343 | 483 | codeparrot/github-code |
53b928c70161b2067d9809541ac6750d5994a42cec792d398b4c3cd453dbc7f0 | /*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code is free so... | C | neo/renderer/RenderWorld.h | MadDeCoDeR/Classic-RBDOOM-3-BFG | gpl-3.0 | 21,314 | 452 | codeparrot/github-code |
18ee0aeabdc75f289b2017dc2a60a002de187d1621ccf07b0efbd8f8298f1f10 | /*
* Copyright 2012-2020 Rafal Lewczuk <rafal.lewczuk@jitlogic.com>
* <p/>
* This 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 | zorka-core/src/main/java/com/jitlogic/zorka/core/spy/ltracer/TraceHandler.java | jitlogic/zorka | gpl-3.0 | 6,847 | 224 | codeparrot/github-code |
48d1c056ec8f6e248316317fe24a83752689f255f714f78f829ddd7f09019285 | package sistemaReserva;
public class Persona
{
protected String nombre;
protected String apellido;
protected String tipoDocumento;
protected String numeroDocumento;
protected String direccion;
protected String telefono;
protected String email;
protected String estado;//ACTIVA | INACTIVA
... | Java | src/sistemaReserva/Persona.java | dforce2055/ReservaHotel | gpl-3.0 | 2,110 | 115 | codeparrot/github-code |
b6e46763913525e886981bb563d2335bf647ae11eebd993695c71ddc3916c6b8 | package net.gazeplay.games.memory;
import javafx.geometry.Dimension2D;
import javafx.scene.image.Image;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import net.gazeplay.GameLifeCycle;
import net.gazeplay.IGameContext;
import net.gazeplay.commons.configuration.Configuration;
i... | Java | gazeplay-games/src/main/java/net/gazeplay/games/memory/Memory.java | YannRobert/GazePlay | gpl-3.0 | 7,082 | 216 | codeparrot/github-code |
7f78a936f3b654979b3ec9189fce739a8c72ac79b50a7d714057e266940d6d75 | /*
* Copyright (C) 2016-2021 phantombot.github.io/PhantomBot
*
* 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.
*
... | JavaScript | javascript-source/core/lang.js | Stargamers/PhantomBot | gpl-3.0 | 6,046 | 199 | codeparrot/github-code |
c97cc693c145c05db08c3bf4edf71ab35ddc630399e4fe34145768060e518b19 | package org.groebl.sms.ui.popup;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.PhoneNumberUtils;
import android.view.View;
import android.widget.AdapterView;
import com.android.ex.chips.recipientchip.DrawableRecipientChip;
import org.groebl.sms.R;
imp... | Java | SMS/src/main/java/org/groebl/sms/ui/popup/QKComposeActivity.java | BennoGAP/notification-forwarder | gpl-3.0 | 3,554 | 104 | codeparrot/github-code |
ef2bd248e98b8e299cd00d7d19f2d492da170d540822f8d668b48006d777f207 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package uk.co.ignesco.teb.api;
/**
*
* @author craig
*/
public class TebProject {
public String repoLocation;
public String branch;
public String workingDirectory;
public String authGroup;
public ... | Java | src/main/java/uk/co/ignesco/teb/api/TebProject.java | ignesco/teb | gpl-3.0 | 1,055 | 44 | codeparrot/github-code |
19b45c5106642c028cbf3765a1dd642e18152d4cf7e96462c6bdce9bcb3a37f7 | (function (root, factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory(require('jquery'), require('../common/utility'));
} else {
root.api = factory(root.jQuery, root.utility);
}
}(this, function ($, util) {
// API
var self = {};
// Object -> Promise[[Entity]]
s... | JavaScript | app/javascript/src/common/api.js | public-accountability/littlesis-rails | gpl-3.0 | 3,991 | 158 | codeparrot/github-code |
3b91ea9ec0edc920bc32fce11a3f75612dd826b2feaacb1492bd4f23301cb622 | using System;
using System.Collections.Generic;
using System.Windows;
using Newegg.Oversea.Silverlight.Controls;
using Newegg.Oversea.Silverlight.ControlPanel.Core.Base;
using ECCentral.QueryFilter.MKT;
using ECCentral.Portal.UI.MKT.Facades;
using ECCentral.Portal.UI.MKT.Models;
using ECCentral.Portal.Basic.Utilities;... | C# | 02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.MKT/Views/SubscriptionMaintain.xaml.cs | ZeroOne71/ql | gpl-3.0 | 4,368 | 109 | codeparrot/github-code |
54577ed8205480a265633646a81ea6e54967ad8ba404d74cebc7ca7c55f2f357 | <?php namespace Anguro\Capse\Models;
use Model;
use October\Rain\Database\Attach\Resizer;
/**
* Socio Model
*/
class Socio extends Model
{
use \October\Rain\Database\Traits\Validation;
/**
* @var string The database table used by the model.
*/
public $table = 'anguro_capse_socios';
/... | PHP | models/Socio.php | 4ngelito/plugin-capse | gpl-3.0 | 1,533 | 63 | codeparrot/github-code |
5ad86e5beac0dda699075e1bbf73b7a0318d3df6f93c7b0796df0bdf9d73b720 | // Decompiled with JetBrains decompiler
// Type: System.Data.Common.DbParameter
// Assembly: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: A0A8E655-5215-4802-816D-C9E5EBD7DA5D
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Data.dll
using System;
us... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/System.Data/System/Data/Common/DbParameter.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 7,167 | 204 | codeparrot/github-code |
b5a1e2f0fa0eecf9ea7d14e630abf8669de44d227f5077c1fa68884592a8c602 | /******************************************************************************
*
* Module Name: exresnte - AML Interpreter object resolution
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2016, Intel Corp.
* All rights reserved.
*
* Redistribution an... | C | drivers/acpi/acpica/exresnte.c | williamfdevine/PrettyLinux | gpl-3.0 | 8,730 | 296 | codeparrot/github-code |
e4500886264367771cf24690719ac36c03b5610768190388c5a3bf135352ee50 | #include <iostream>
#include "tl_dense_vector_impl_eigen.h"
#ifdef HAVE_VIENNACL
#define VIENNACL_HAVE_EIGEN
#include <viennacl/vector.hpp>
#include "tl_dense_vector_impl_viennacl.h"
#endif // HAVE_VIENNACL
// ---------------------------------------------------------------------------
// constructor & destructor
//... | C++ | src/libpdftl/tl_dense_vector_impl_eigen.cc | ProteinDF/ProteinDF | gpl-3.0 | 5,589 | 184 | codeparrot/github-code |
ebd36621f07d15f461feb12f02de4b714e8b5710fa1ed8bce33441c5047b557f | #include <stdio.h>
#include <stdlib.h>
#include "recpt1core.h"
#include "version.h"
#include <sys/poll.h>
#include <linux/dvb/dmx.h>
#include <linux/dvb/frontend.h>
#define ISDB_T_NODE_LIMIT 24 // 32:ARIB limit 24:program maximum
#define ISDB_T_SLOT_LIMIT 8
/* globals */
boolean f_exit = FALSE;
char bs_channe... | C | recpt1core.c | inn1983/recdvb | gpl-3.0 | 5,977 | 251 | codeparrot/github-code |
543b32f87e0144b9c6336930edcedfa3be58536d6d706982c789518cfbff980a | /**
* Copyright (C) 2012 by INdT
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is di... | C | src/spritesheet.h | INdT/Quasi-Engine | gpl-3.0 | 2,124 | 82 | codeparrot/github-code |
702781ffd776176b5d0e14d1853a91af462d144f94188f8ba5915b02976fa422 | /*
This file is part of perfusionkit.
Copyright 2010 Henning Meyer
perfusionkit 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 lat... | C++ | serialization/ctimagetreemodel_serializer.cpp | hmeyer/perfusionkit | gpl-3.0 | 2,221 | 64 | codeparrot/github-code |
456b92a527b065dbeca07d70a2e5c28738ba3e1a90cf10a0925dc944a0086f8e | /*
* mpatrol
* A library for controlling and tracing dynamic memory allocations.
* Copyright (C) 1997-2008 Graeme S. Roy <graemeroy@users.sourceforge.net>
*
* This program 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 F... | C | tools/dmalloc.c | groleo/mpatrol | gpl-3.0 | 22,466 | 836 | codeparrot/github-code |
bee92114cbe40eba39bba97c1dccfd790da40655a3e9b1d23d49c53494b89820 | // Copyright 2011-2014 Mars Saxman
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the
// use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercia... | C | runtime/containers/list-single.c | marssaxman/radian | gpl-3.0 | 8,669 | 262 | codeparrot/github-code |
3e5e05ed602d6d7bef8b60990ca19c92468004793eaf983ceadb1eaba6c87411 | """
This module provides functions that generate commonly used Hamiltonian terms.
"""
__all__ = [
"Annihilator",
"Creator",
"CPFactory",
"HoppingFactory",
"PairingFactory",
"HubbardFactory",
"CoulombFactory",
"HeisenbergFactory",
"IsingFactory",
"TwoSpinTermFactory",
]
from H... | Python | HamiltonianPy/quantumoperator/factory.py | wangshiphys/HamiltonianPy | gpl-3.0 | 15,843 | 483 | codeparrot/github-code |
ff73b09513a698fe21387b83f3df72d31bac62ffc80e251c2e3267e00942f803 | /*
This source file is part of Rigs of Rods
Copyright 2005-2012 Pierre-Michel Ricordel
Copyright 2007-2012 Thomas Fischer
For more information, see http://www.rigsofrods.com/
Rigs of Rods is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3, as
publish... | C | source/main/physics/air/AeroEngine.h | Max98/ror_dep_upgrade | gpl-3.0 | 1,572 | 61 | codeparrot/github-code |
8176e046e8ae2149ecf98debebb7175f5e726efef4c116c8d069db7c922844f6 | /*******************************************************************************
* This file is part of Educatio.
*
* Educatio 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 ... | Java | app/br/com/core/conversor/FichaDeInscricaoConversor.java | filipemb/siesp | gpl-3.0 | 9,669 | 222 | codeparrot/github-code |
1dc7d869a1df910473af72e9a8dbdac08f852a213f9758746693767f9745d6ae | package com.oocl.mnlbc.svc.impl;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;
import com.oocl.mnlbc.dao.inf.UserDAO;
import com.oocl.mnlbc.model.User;
import com.oocl.mnlbc.svc.inf.UserSVC;
/**
*
* @author Lance Jasper Lopez
* @desc DAO Implementation for USER TABLE
*... | Java | 7. Group Project/W6D5_Project/W6D5_Project/Spring Hibernate/src/com/oocl/mnlbc/svc/impl/UserSVCImpl.java | MNLBC/Group2Projects | gpl-3.0 | 1,512 | 77 | codeparrot/github-code |
7cdf55c97d81f834cfb11d4cd11553380d7076cb7098d77170ea9555764c6df8 | /*
* Copyright (C) 2015 Mikhail Sapozhnikov
*
* This file is part of scriba-android.
*
* scriba-android 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 op... | Java | src/org/scribacrm/scriba/EditEntryFragment.java | MooseTheBrown/scriba-android | gpl-3.0 | 21,596 | 530 | codeparrot/github-code |
e6d2041fb49a0532f6ec5bb379950e2c1fa28e9083729b1f7d663f44f295682a | /// @addtogroup homology
/// @{
/////////////////////////////////////////////////////////////////////////////
///
/// @file bin2pset.cpp
///
/// @author Pawel Pilarczyk
///
/////////////////////////////////////////////////////////////////////////////
// Copyright (C) 1997-2013 by Pawel Pilarczyk.
//
// This file is p... | C++ | chomp/programs/cubtools/bin2pset.cpp | felixboes/hosd | gpl-3.0 | 7,205 | 281 | codeparrot/github-code |
0f24573b8c33d5ea6a2382c4331a2735ee7d804b028594226f6d16809ac93e87 | // Decompiled with JetBrains decompiler
// Type: UIGameMenu_IOS
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 19851F1B-4780-4223-BA01-2C20F2CD781E
// Assembly location: C:\Users\CGA Computer\Desktop\LEGO Universe Stuff\LOCO Server\Unity Web Player Extractor\Saved Files\LO... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/Assembly-CSharp/UIGameMenu_IOS.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 5,556 | 174 | codeparrot/github-code |
e33dbd3faccc110826c628a000afda251805a00ff7eeffb9c6f1e087af1df49c | package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 指纹解注册
*
* @author auto create
* @since 1.0, 2017-01-12 17:27:09
*/
public class AlipaySecurityProdFingerprintDeleteModel extends AlipayObject {
private static final long serialVersionUID = ... | Java | e-commerce/e-commerce-ecom-pay-service/src/main/java/com/alipay/api/domain/AlipaySecurityProdFingerprintDeleteModel.java | zeatul/poc | gpl-3.0 | 844 | 43 | codeparrot/github-code |
cc778802163c02ab11858a5c001830538251e96e26b195db0e01cf61c1271d9f | var repl = repl || {};
repl.prompt = "> ";
repl.cont = "+\t";
repl.command = {};
load(":/resources/core.js");
soft_version = "SOFT v" + version() + " ";
soft_license = "GNU LESSER GENERAL PUBLIC LICENSE (v 2.1, February 1999)";
function showHelp()
{
var message = soft_version + "(" + soft_license + ")\n\n" +
"W... | JavaScript | tools/src/softshell/resources/repl.js | NanoSim/Porto | gpl-3.0 | 2,146 | 101 | codeparrot/github-code |
04f7f3a7c10d2b1fc107698b8b4a98dbf4b28ace8b214d99caea1c60bfe8000b | /**
******************************************************************************
* @file usb_hcd_int.c
* @author MCD Application Team
* @version V2.0.0
* @date 22-July-2011
* @brief Host driver interrupt subroutines
************************************************************************... | C | src/STM32F4-Discovery_FW_V1.0.1/Libraries/STM32_USB_OTG_Driver/src/usb_hcd_int.c | autosportlabs/uubt | gpl-3.0 | 22,265 | 835 | codeparrot/github-code |
87e66ad011e3bb350655371ed8aaa5397ec6e98e6f8162a221aa31300fdab261 | /*
* #%L
* Sholl Analysis plugin for ImageJ.
* %%
* Copyright (C) 2005 - 2020 Tiago Ferreira.
* %%
* 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 ... | Java | src/main/java/sholl/UPoint.java | tferr/ASA | gpl-3.0 | 5,219 | 215 | codeparrot/github-code |
8e1afb69227bb370d49f0b45090eab4153262bee4191b132531e103f12279ec1 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under ... | C++ | src/tunefish4/JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_Midi.cpp | paynebc/tunefish | gpl-3.0 | 66,071 | 1,983 | codeparrot/github-code |
4baa6e5b4f99703f6eaf8ce0a57ca360d723ae47b1198796fae1460a1e00eb23 | --
-- (C) 2013 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
names = interface.getIfNames()
num_ifaces = 0
for k,v in pairs(names) do num_ifaces = num_ifaces+1 end
print [[
<div class="masthead">
<ul class="nav n... | Lua | scripts/lua/inc/menu.lua | srijan/ntopng | gpl-3.0 | 4,448 | 175 | codeparrot/github-code |
98c5a7bf86fc0c41148175e1449859191e4089d83c37d98c18a51419402a59bc | /*
Mantis PCI bridge driver
Copyright (C) Manu Abraham (abraham.manu@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 2 of the License, or
(at your option) any later v... | C | drivers/media/pci/mantis/mantis_dma.c | williamfdevine/PrettyLinux | gpl-3.0 | 6,371 | 251 | codeparrot/github-code |
2227ced524af8365b26f1f98bd362cc50c37b3c25f2fc0809681fff2fe32a930 | /*
* #%L
* GC4S components
* %%
* Copyright (C) 2014 - 2019 Hugo López-Fernández, Daniel Glez-Peña, Miguel Reboiro-Jato,
* Florentino Fdez-Riverola, Rosalía Laza-Fidalgo, Reyes Pavón-Rial
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser Genera... | Java | gc4s/src/main/java/org/sing_group/gc4s/input/tree/JTreeSelectionPanel.java | hlfernandez/GC4S | gpl-3.0 | 10,115 | 307 | codeparrot/github-code |
8885c0dd539e3ce2b03d3965723ea6c10d56a534eb0deca2efcd60b20ca7af83 |
// AIServerTestDemoDlg.h : Í·Îļþ
//
#pragma once
#include "HttpAPIServer.h"
#include "afxwin.h"
#include "Resource.h"
class CHttpAPIServer;
// CAIServerTestDemoDlg ¶Ô»°¿ò
class CAIServerTestDemoDlg : public CDialogEx
{
// ¹¹Ôì
public:
CAIServerTestDemoDlg(CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý
// ¶Ô»°¿òÊý¾Ý
e... | C | C++/AIServerTestDemo/AIServerTestDemo/AIServerTestDemoDlg.h | wancm2965/wcm | gpl-3.0 | 1,685 | 76 | codeparrot/github-code |
525daa21a6a7188dad4d36b2aff194caf799ab3deaa3d3887bf767f2e698e052 | <?php
class T4PSC_TwoThird {
public static $args;
/**
* Initiate the shortcode
*/
public function __construct() {
add_filter( 't4p_attr_two-third-shortcode', array( $this, 'attr' ) );
add_shortcode( 'two_third', array( $this, 'render' ) );
}
/**
* Render the shortcode
*
* @par... | PHP | wp-content/plugins/t4p-core-composer/shortcodes/class-two-third.php | bolsadoinfinito/site | gpl-3.0 | 1,384 | 70 | codeparrot/github-code |
4ecf4c996bd8c651588edf8d510a14f31bf65390b0291d4a9da7781b6416f5e8 | /*
* This file is part of the VCF.Filter project (https://biomedical-sequencing.at/VCFFilter/).
* VCF.Filter permits graphical filtering of VCF files on cutom annotations and standard VCF fields, pedigree analysis, and cohort searches.
* %%
* Copyright © 2016, 2017 Heiko Müller (hmueller@cemm.oeaw.ac.a... | Java | VCFFilter/src/at/ac/oeaw/cemm/bsf/vcffilter/filter/QualFilter.java | hmueller80/VCF.Filter | gpl-3.0 | 3,589 | 103 | codeparrot/github-code |
be0b8a3ac04700bb554823c0bd04c20c6548cd4bb9492a34f441ba0437b45ace | //
// Created by Giacomo Tanganelli on 04/01/17.
//
#include <FS.h> //must be the first include
#include "Config.h"
#include <ArduinoJson.h>
int Config::ReadConfig() {
#if DEBUG
Serial.println("mounting FS...");
#endif
if (SPIFFS.begin()) {
#if DEBUG
Serial.println("mounted file system");
#endif
... | C++ | src/Config.cpp | Tanganelli/ESP8266oneM2MDimmerSwitch | gpl-3.0 | 13,378 | 357 | codeparrot/github-code |
01367ada6868e1b9ffccf66e6b95bbf34b88a959435fdd1967b08d4f7edb7980 | <?php
if ( !class_exists( "contactbuddy_admin" ) ) {
class contactbuddy_admin {
function contactbuddy_admin(&$parent) {
$this->_parent = &$parent;
$this->_var = &$parent->_var;
$this->_name = &$parent->_name;
$this->_options = &$parent->_options;
$this->_pluginPath = &$parent->_pluginPath;
$th... | PHP | plugins/contactbuddy-by-pluginbuddycom/classes/admin.php | wcorrigan/portals | gpl-3.0 | 19,206 | 415 | codeparrot/github-code |
1b106b7932dd246ab2b4273e18c333f1e3e0cfe65f4a9152a3602265fe38d035 | package com.alipay.api.domain;
import java.util.Date;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 流程实例
*
* @author auto create
* @since 1.0, 2017-03-03 11:29:15
*/
public class BPOpenApiIns... | Java | e-commerce/e-commerce-ecom-pay-service/src/main/java/com/alipay/api/domain/BPOpenApiInstance.java | zeatul/poc | gpl-3.0 | 4,477 | 269 | codeparrot/github-code |
d32b647ec52e5fbae0d89d077047e8e8ce7bca998354d6a1ee47d88838a7fbfe | /* GnuTLS glue for GNU Emacs.
Copyright (C) 2010-2014 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs 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, ... | C | src/gnutls.c | jockej/guile-emacs | gpl-3.0 | 40,615 | 1,230 | codeparrot/github-code |
52453b3bf6d7c9dd47f7ff28cb3e635cdfb86675d4365cccf02159645ba9baba | package sportsallaround.utils.generales;
import com.sna_deportivo.utils.gr.FactoryObjectSNSDeportivo;
import com.sna_deportivo.utils.gr.ObjectSNSDeportivo;
import com.sna_deportivo.utils.json.JsonUtils;
import com.sna_deportivo.utils.json.excepciones.ExcepcionJsonDeserializacion;
import org.json.JSONArray;
import org... | Java | Prototipo/Construccion/SNADeportivo/app/src/main/java/sportsallaround/utils/generales/ConstructorArrObjSNS.java | Nick2324/tesis_red_social | gpl-3.0 | 2,607 | 66 | codeparrot/github-code |
84c93fb0a341be624c01c402459707ebc1eb9e1c9ef7d431f68b47e0bb8f91d8 | package net.syncarus.gui;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import javax.swing.filechooser.FileSystemView;
import net.syncarus.core.FileOperation;
import net.syncarus.rcp.ResourceRegistry;
import net.syncarus.rcp.SyncarusPlugin;
import org.eclipse.jface.viewers.ArrayContentProv... | Java | src/net/syncarus/gui/DirSelectComposite.java | schiermike/syncarus | gpl-3.0 | 6,577 | 245 | codeparrot/github-code |
d9b88780b5d9d3e5eb5fbc8a09c1269a8f07e33849138b6cca0061bde325c826 | module Utils {
export class Generator {
public static newGuid() {
var guid = "";
for (var i = 1; i <= 32; i++) {
var n = Math.floor(Math.random() * 16.0).toString(16);
guid += n;
if ((i == 8) || (i == 12) || (i == 16) || (i == 20))
... | TypeScript | Business/Mcdonalds.AM.Web/Scripts/Utils/Utils.ts | XiaoYaTech/Demo | gpl-3.0 | 6,211 | 200 | codeparrot/github-code |
6046e6bcd377603a85b8baab98d330434d27f8b428a92f3ed20ef56011fe9aed | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Set up end namespace declaration handler</title>
</head>
<body><div class="manualnavbar" style="text-align: center;">
<... | HTML | php-manual/function.xml-set-end-namespace-decl-handler.html | Sliim/sleemacs | gpl-3.0 | 6,429 | 158 | codeparrot/github-code |
65ef48911378abcbbb70a1a4ac087b5f0b4b1db2e44ed8b869fed0fde2de0ef6 | /*
* Copyright (c) 2012 Jakob Svensson
*
* This file is part of Avoidance.
*
* Avoidance 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... | Java | test/se/chalmers/avoidance/core/components/ScoreTest.java | AftonTroll/Avoidance | gpl-3.0 | 1,421 | 61 | codeparrot/github-code |
7d9057324433cde735c343540eeb1ed618201998904e6829e580a0dfbf0f18b5 | import pygame
from Explosion import Explosion
class Bullet(object):
PLAYER, ENEMY = 1, 0
def __init__(self, manager, parent, init_pos, direction, speed=3):
self.manager = manager
self.parent = parent
self.image = pygame.image.load("res/tanks/bullet.png")
self.expl... | Python | src/Bullet.py | Vicyorus/BattleTank | gpl-3.0 | 5,190 | 162 | codeparrot/github-code |
b5b625b3b6c758d869b893663efd013cb8e5deff07c5924921ba7fa013b11f99 | namespace EmployeeReview.Forms
{
partial class SummaryForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | C# | WinForms/employeeform/EmployeeReview/Forms/SummaryForm.Designer.cs | aamod0611/Playground | gpl-3.0 | 2,218 | 63 | codeparrot/github-code |
48006d073494794681f0dd5f99722c22408c85949401a8eddb4eb185a4522965 | /* Minibuffer input and completion.
Copyright (C) 1985-1986, 1993-2013 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs 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 o... | C | src/minibuf.c | jave/xwidget-emacs | gpl-3.0 | 71,982 | 2,112 | codeparrot/github-code |
947857ad71e57710f2de86374e138db25ec599982b77bbdc9b096231eb0a3e30 | /*
Copyright (c) 2012, Jardalu LLC. (http://jardalu.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 lat... | C# | ratna/om/Core/Tags/Tag.cs | ratnazone/ratna | gpl-3.0 | 1,604 | 66 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.