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 |
|---|---|---|---|---|---|---|---|---|
48b40558c3e6b631c68573b9892c734d1c2cf2010f3c9076587edc9c236be61f | // Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file
// Portions Copyright (c) Athena Dev Teams
#include "../common/cbasetypes.h"
#include "../common/db.h"
#include "../common/malloc.h"
#include "../common/showmsg.h"
#include "../common/utils.h"
#include "timer.h"
#include <stdio.h>
#in... | C | src/common/timer.c | DeveloperSam0219/Project3 | gpl-3.0 | 14,147 | 475 | codeparrot/github-code |
10736b08aad520e71bd0cca31f8eed2b31e0ae29e256f234cc9b3d168c9aa047 | /*
* glabels.c
* Copyright (C) 2001-2009 Jim Evins <evins@snaught.com>.
*
* This file is part of gLabels.
*
* gLabels 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 Lice... | C | src/glabels.c | samlown/glabels | gpl-3.0 | 4,772 | 169 | codeparrot/github-code |
f63b76291b023d5d4c1cf70cc299262d81a3e526c07070d50f60869b0ff5e897 | <?php /* Smarty version Smarty-3.1.8, created on 2015-03-03 19:02:33
compiled from "/var/www/hackception/view/_pagination_frontend.tpl" */ ?>
<?php /*%%SmartyHeaderCode:141018539754f5b7f1a2c7e4-38132828%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(arr... | PHP | view/compiled_view/f22a44db88c43b492fe78011c6f145dff24b989c.file._pagination_frontend.tpl.php | sudharshankr/Hackception | gpl-3.0 | 16,682 | 269 | codeparrot/github-code |
8d255474e0e5e6f359ade3b032af409de76c2c4206c3d34aba6b03068dcf5041 | //
// C++ Implementation: LuaScriptingProvider
//
// Description:
//
//
// Author: Erik Hjortsberg <erik.hjortsberg@gmail.com>, (C) 2005
//
// 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/components/lua/LuaScriptingProvider.cpp | mpreisler/ember | gpl-3.0 | 9,102 | 338 | codeparrot/github-code |
c9a819c5d8e508fcd7c7542ce2730083d74d4446790544b22bbb3b418b85c7ee | #include <solver/bc/callbacks/vi_separator_subtour_elimination.h>
#include <chrono>
bool vi_separator_subtour_elimination::sets_info::is_in_S(int i) const {
if(i == 0 || i == 2*n + 1) {
return false;
} else {
return in_S[i];
}
}
bool vi_separator_subtour_elimination::sets_info::is_in_fs(i... | C++ | src/solver/bc/callbacks/vi_separator_subtour_elimination.cpp | OR-Bologna/tsppddl | gpl-3.0 | 19,849 | 578 | codeparrot/github-code |
c11c25b5907f21dde3c44d7cdcf3d3698a591807401ac8bd37f6ae19efb65a20 | # -*- coding: utf-8 -*-
# Conexión a bases de datos
# Lección 6
# SQLAlchemy: Estados de una entidad
from Leccion_1 import Libro
from Leccion_2 import session
from sqlalchemy import inspect
def mostrar_estado(objeto):
estado = inspect(objeto)
print('Transient: {0}; Pending: {1}; Persistent: {2}; Detached: {3... | Python | tema_6/Leccion_6.py | josuemontano/python_intro | gpl-3.0 | 759 | 32 | codeparrot/github-code |
0437207bd05eb45899a0437d470d86f50bb4c20f730585caf9df0440bc9bad23 | <?php
$lang = $sf_user->getCulture();
$images = array(
1 => 'abschrift',
2 => 'digital',
3 => 'foto',
4 => 'kopie',
5 => 'mikrofilm',
6 => 'mikrofiche',
7 => 'online',
8 => 'druck',
9 => 'archivexemplar'
);
?>
<h2>Meine Archivalien</h2>
<?php if ($ha_documentss->count() > 0): ?>
<?php foreach ($ha... | PHP | apps/frontend/modules/documents/templates/indexSuccess.php | pausanio/dhak | gpl-3.0 | 3,496 | 76 | codeparrot/github-code |
8cf7c5ca06ab61e336ffbf991519d8a787630491db32d222635e7706ab927e63 | <?php
/**
* Class for handling menu functionality.
*
* @package Classy
*/
namespace Classy;
/**
* Class Menu.
*/
class Menu {
/**
* Menu ID.
*
* @var int
*/
public $ID;
/**
* Menu title.
*
* @var string
*/
public $title;
/**
* Items.
*
* @var array
*/
protected $items;
/**
*... | PHP | app/core/classes/Menu.php | jeffsee55/classy | gpl-3.0 | 3,717 | 192 | codeparrot/github-code |
f299b11fa40a42208ee5a933808f8a8bb6a99db41676a0bf5d4ea38822da69f1 | // INDENTING (emacs/vi): -*- mode:c++; tab-width:2; c-basic-offset:2; intent-tabs-mode:nil; -*- ex: set tabstop=2 expandtab:
/*
* Qt Virtual Chart Table (QVCT)
* Copyright (C) 2012 Cedric Dufour <http://cedric.dufour.name>
* Author: Cedric Dufour <http://cedric.dufour.name>
*
* The Qt Virtual Chart Table (QVCT) i... | C++ | src/data/CDataPositionValidity.cpp | cedric-dufour/qvct | gpl-3.0 | 2,313 | 64 | codeparrot/github-code |
4aa3b3037a5b7adb81aad621c388e3fe7c92da8c507e71258e01541b385bbd66 | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from OpenSSL import crypto
from .base import BaseNetworkServiceScanModel
from ..types import *
from ..mixin import DomainNameMixin, S3Mixin
from lib import ConversionHelper
class SslSupportModel(BaseNetworkServiceScanModel):
"""
This is an Elast... | Python | wselasticsearch/models/services/ssl.py | lavalamp-/ws-backend-community | gpl-3.0 | 34,499 | 791 | codeparrot/github-code |
09b0c4a030a06227d9d2a58cee9413b91f58433354742080429f836443668ef1 |
#include "config/device_config.hpp"
#include "guiengine/abstract_state_manager.hpp"
#include "input/input.hpp"
#include "input/input_device.hpp"
#include "karts/abstract_kart.hpp"
#include "karts/controller/player_controller.hpp"
#include "modes/world.hpp"
#include "race/race_manager.hpp"
#include "states_screens/stat... | C++ | src/input/input_device.cpp | langresser/stk | gpl-3.0 | 8,772 | 268 | codeparrot/github-code |
142559cdf5415aac2c677bb6cf84112355463140ddb2ec6f4524d7ac3a44a50e | import supybot.callbacks as callbacks
import supybot.ircutils as ircutils
import supybot.ircmsgs as ircmsgs
from parthial.vals import LispSymbol, LispList, LispFunc, LispBuiltin
from parthial.errs import LimitationError
from parthial import built_ins
import re
import threading
parseMessage = re.compile('%s: (?P<conten... | Python | parthial_ext.py | benzrf/Lispnoria | gpl-3.0 | 3,208 | 104 | codeparrot/github-code |
19699092f4b5b3f31344f61efa62e922d79df50f9e3680f9b3dc20c4c68a8093 |
/**
* Executes the first step in the update cycle
*
* @param container
* @param step
* @param state
*/
Mautic.processUpdate = function (container, step, state) {
// Edge case but do it anyway, remove the /index_dev.php from mauticBaseUrl to make sure we can always correctly call the standalone upgrader
v... | JavaScript | app/bundles/CoreBundle/Assets/js/3.update.js | myappleguy/mautic | gpl-3.0 | 17,185 | 300 | codeparrot/github-code |
1748bfeae07e75e0740f7c671467041e6cd747d39b09818fd6d0e49df12faf85 | package app.freerouting.geometry.planar;
import app.freerouting.datastructures.Signum;
import app.freerouting.logger.FRLogger;
/**
* Implements functionality for line segments.
* The difference between a LineSegment and a
* Line is, that a Line is infinite and a
* LineSegment has a start and an endpoint.
*/
publ... | Java | src/main/java/app/freerouting/geometry/planar/LineSegment.java | freerouting/freerouting | gpl-3.0 | 30,554 | 851 | codeparrot/github-code |
4b0fa34c480c9646dd183fd49e336036529a88656e772bd407e508bea58c3007 | #pragma once
/// @file egolib/FileFormats/id_md2.h
/// @details Md2 model file loading structures & constants.
#include "egolib/Extensions/ogl_include.h"
#if defined(__cplusplus)
extern "C"
{
#endif
//--------------------------------------------------------------------------------------------
//--------------------... | C | egolib/src/egolib/FileFormats/id_md2.h | penguinflyer5234/egoboo | gpl-3.0 | 5,545 | 197 | codeparrot/github-code |
77018da81b8111c31845c89952ec49d84e947cf6fd552b8402a6260cd1890574 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class GLFramework\Model</title>
<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="gr... | HTML | docu/generated/class-GLFramework.Model.html | manusreload/GLFramework | gpl-3.0 | 32,713 | 1,566 | codeparrot/github-code |
74aaedfa3b3bf9fb8238b35cf5ee76f6a16e08dc388e1178296215f5a050c2da | <?php
class Utils_CryptTools
{
public static function aesCbcEncrypt($data, $key, $iv = null, $pkcs7pad = true) {
return openssl_encrypt($data, 'AES-'.(mb_strlen($key, '8bit')*8).'-CBC', $key, $pkcs7pad?OPENSSL_RAW_DATA:(OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING), is_null($iv) ? pack('x' . openssl_cipher_iv_len... | PHP | application/Utils/CryptTools.php | tonikelope/megacrypter | gpl-3.0 | 2,532 | 69 | codeparrot/github-code |
df73a89028f39ce568a2476ae9c6f2d69fdd24c48879755f13920f22407862c7 | # -*- coding: latin1 -*-
################################################################################################
import datetime, sys, time, json, os, os.path, shutil, time, struct, random
import subprocess
import numpy as np
reload(sys)
sys.setdefaultencoding('utf-8')
#######################################... | Python | evaluation/with_ground_truth/jaccard_modified/hashmap_jaccard_modified_v1.0.py | amaurywalbert/twitter | gpl-3.0 | 12,095 | 254 | codeparrot/github-code |
348fa1f0dd481bcc93a547f7d11ce250d98c66965ba3d4c7f3c1407cc0f01455 | import flotjf.Chart;
import flotjf.data.PlotData;
import flotjf.options.Axis;
public class ExampleGraph2 {
public static String getGraphOptions() {
Chart chart = new Chart();
Axis yAxis = new Axis();
yAxis.setMax(2D);
yAxis.setMin(-2D);
chart.addYAxis(yAxis);
Axis yAxisRight = new Axis... | Java | src/main/java/ExampleGraph2.java | dunse/FlotJFExamplesWeb | gpl-3.0 | 935 | 46 | codeparrot/github-code |
f7e0a484d295b33f0658e85c398d215c7cb272c99793a1b1267b2d54f87a6e9f | from pyui.stack_images import Ui_StackImages
from PyQt5.QtWidgets import QDialog, QAction, QLineEdit, QProgressDialog, QApplication, QToolBar
from PyQt5.QtGui import QIcon, QStandardItemModel, QStandardItem
from PyQt5.QtCore import Qt, QObject, pyqtSignal, QStandardPaths, QByteArray
from pyspectrum_commons import *
fro... | Python | stack_images.py | GuLinux/PySpectrum | gpl-3.0 | 9,262 | 188 | codeparrot/github-code |
debef28afde28336ba7d6b1cb5c1bdce402c5e829013cfa9cd66713fa2569f41 | # Nameless A.I. Version E editor
from panda3d.core import *
from direct.showbase.DirectObject import DirectObject
import direct.directbase.DirectStart
from direct.gui.DirectGui import *
import json
from dijkstra2 import Graph
from vis_ninth import VisibilityPolygon
from direct.gui.OnscreenText import OnscreenText
impor... | Python | naive_editor.py | wezu/Avolition | gpl-3.0 | 14,742 | 358 | codeparrot/github-code |
cae84e2d3b4cf760d3b4f8efae8929d64885a7c7bcba0b9c83c4e5633663a755 | # Copyright (C) 1993-2015 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Brendan Kehoe (brendan@zen.org).
# The GNU C 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 Softw... | Makefile | glibc/.pc/any/local-libgcc-compat-ports.diff/sysdeps/alpha/Makefile | KubaKaszycki/kubux | gpl-3.0 | 2,193 | 64 | codeparrot/github-code |
1bcf31c47f6d51ba8b5dbc4c73656ab9cac7ad66f85765046aacf98577a2e29c | # frozen_string_literal: true
# @Author: Angela Mancini
# @Date: 2017-01-29T02:20:07-05:00
# @Email: angeladmancini@gmail.com
# @Project: Wizard Ape
# @Filename: characters_controller.rb
# @Last modified by: angelamancini
# @Last modified time: 2017-12-20T18:37:20-05:00
# @License: GPL-3.0
module V1
# Characte... | Ruby | app/controllers/v1/characters_controller.rb | angelamancini/wizard-ape | gpl-3.0 | 1,945 | 76 | codeparrot/github-code |
aeb04e6e9993c65b9fdb11b4b57368cfc7964a45d6ebf1e4766b480076c7a448 | <?php
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the... | PHP | ModuleInstall/PackageManager/PackageManagerDisplay.php | Yuutakasan/SugarCRM-5.5.1-CE-JA-Dev | gpl-3.0 | 29,953 | 608 | codeparrot/github-code |
9697fe1e6a99d3c5b4c8deef0f0a8ebbe07527d33b1084b301c12c5ec23570ee | <?php
/*
* ~uck - A minimal nopaste. (Core functions.)
*
* Copyright 2010 d0mhc <phbn@live.jp>
*
* 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; eithe... | PHP | core.php | d0mhc/-uck | gpl-3.0 | 6,159 | 244 | codeparrot/github-code |
0ea19369a12b14aef21732d03dc48332d3655b75630f973af6abb117caae897a | #!/usr/bin/env sh
TAR_FILE=arch_$$.tar
TARGZ_FILE=${TAR_FILE}.gz
VERSION_FILE="Version"
if [ -f ${VERSION_FILE} ]; then
VERSION=`cat ${VERSION_FILE}`
else
VERSION="x.y.z"
fi
if [ "x${HWARCH}" = "x" ]; then
HWARCH=unknown
fi
PKGS_DIR=packages
SCRIPT_STUB=install_osx_safari_stub.sh
TARGET_FILE="AS-dnssec-tlsa_vali... | Shell | install_osx_safari_add_payload.sh | oerdnj/dnssec-validator | gpl-3.0 | 1,650 | 67 | codeparrot/github-code |
6335c05474050422db91bbcd676fbbebad1ed1da5e046e0864afb209ee133a39 | /* func_upol_t0t2_dd.c ---
*
* Filename: func_upol_t0t2_dd.c
* Author: Alexandre BIGUET
* Created: Sun Mar 12 19:13:05 2017 (+0100)
* Last-Updated: Sun Mar 12 19:13:09 2017 (+0100)
* By: Alexandre BIGUET
* Update #: 1
*
*
*/
#include <utils/utils.h>
#include <methnum/methnum.h>
#include <... | C | Njl-clib/func/func_upol_t0t2_dd.c | AlexandreBiguet/NJLlikeModels | gpl-3.0 | 4,316 | 152 | codeparrot/github-code |
9bad37851220d6c4e3c7a783f6a21db1f8df7542286f27ce3757217db00f369a | ////////////////////////////////////////////////////////////////////////////
// Created : 31.05.2010
// Author : Konstantin Slipchenko
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef NAVIGATION_PARAMS_H_INCLUDED
#define NAVIGATION_PARAMS_H_I... | C | xray/rtp/sources/navigation_params.h | hpl1nk/nonamegame | gpl-3.0 | 2,737 | 87 | codeparrot/github-code |
b280b29bdf0e3d0c11cc7392ab8ce4ea83cd6d642cec2c5e44901e12dca82595 | /*
* Copyright (c) 2014 Chris Welty.
*
* This is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3,
* as published by the Free Software Foundation.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; wi... | Java | test/com/welty/novello/solver/NTestTimer.java | weltyc/novello | gpl-3.0 | 3,045 | 79 | codeparrot/github-code |
1e1ce4d76bec7f13f0bdf0ca946dbdb68830269b01d814bc1e4005e46c183720 | /**
* || ____ _ __
* +------+ / __ )(_) /_______________ _____ ___
* | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \
* +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/
* || || /_____/_/\__/\___/_/ \__,_/ /___/\___/
*
* Crazyflie control firmware
*
* Copyright (C) 2011-2012 Bi... | C | src/modules/interface/stabilizer_types.h | bsmr-Bitcraze/crazyflie-firmware | gpl-3.0 | 6,771 | 278 | codeparrot/github-code |
a64bb98dbd4427c643c6be6650b441aaeef42dd9cdd939d93f07d44a0104d88c | /**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
/**
* @class WebGLFilterManager
* @constructor
* @param gl {WebGLContext} the current WebGL drawing context
* @param transparent {Boolean} Whether or not the drawing context should be transparent
* @private
*/
PIXI.WebGLFilterManager = function (gl, ... | JavaScript | bower_components/phaser-official-206/src/pixi/renderers/webgl/utils/WebGLFilterManager.js | robomatix/click-the-black-squares | gpl-3.0 | 13,113 | 446 | codeparrot/github-code |
a938393b03e0cb0952250a6f38372f08aeb808716457db3fa32275b50d74ef20 | /**********************************************************************
*
*
* Copyright (C) 2012 Carsten Urbach, Bartosz Kostrzewa
*
* This file is based on an implementation of the Dirac operator
* written by Martin Luescher, modified by Martin Hasenbusch in 2002
* and modified and extended by Carsten Urbach ... | C | operator/hopping_body_dbl.c | Meinersbur/tmLQCD | gpl-3.0 | 10,644 | 333 | codeparrot/github-code |
d2d73ec5632f586c508d239c093e7fcbc08f3387db59715821f94e7766ea5f18 | /*
* 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 conversordivisas1;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/*... | Java | ConversorDivisas1/src/conversordivisas1/Divisas.java | DavidVieiro/Java-2 | gpl-3.0 | 6,350 | 214 | codeparrot/github-code |
ca1b053802b247a9d861eec9993ffbac350e62e19a7426761fe031501fb1cefa | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\/ M anipulation |
-------------... | C++ | src/OpenFOAM/meshes/primitiveMesh/PrimitivePatchUC/PrimitivePatchEdgeLoops.C | kempj/OpenFOAM-win | gpl-3.0 | 5,107 | 188 | codeparrot/github-code |
22506702c48155a0c893f6c5581357635ab8da557ec8e7d51c5341eca293a444 | import sys
import urllib
import urllib2
import urlparse
import xbmcgui
import xbmcplugin
import xbmcaddon
import xbmcvfs
import json
import base64
addonID = 'plugin.audio.radiobrowser'
addon = xbmcaddon.Addon(id=addonID)
base_url = sys.argv[0]
addon_handle = int(sys.argv[1])
args = urlparse.parse_qs(sys.argv[2][1:])
... | Python | main.py | segler-alex/kodi-radio-browser | gpl-3.0 | 10,729 | 301 | codeparrot/github-code |
04cc5ee278a9fecf93e4e493238de5c81d7dcec5c308fd990ad73065b8749318 | /**
* This file is part of the Java Machine Learning Library
*
* The Java Machine Learning Library 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 op... | Java | src/main/java/net/sf/javaml/tools/data/StreamHandler.java | eracle/Gap | gpl-3.0 | 3,985 | 109 | codeparrot/github-code |
63472f78b384ab1a1efce4fc56bb487af66c38b590ab49b8709cf58aad0b6a6a |
=head1 NAME
M2G.pm - Migrate Webobs to new Grid system
=head1 SYNOPSIS
console session (interactive): in "..../webobs/trunk/CODE/cgi-bin" :
use lib "..../webobs/trunk/SETUP"
use M2G;
<then commands ... see below>
as a batch command:
..../perl M2G [do] {REAPER|MIGRATE0|...}
if the keyword 'do' is spe... | Perl | SETUP/M2G.pm | IPGP/webobs | gpl-3.0 | 29,852 | 897 | codeparrot/github-code |
ae9b2e95c6e03b1fb1e3fe9f3a3b24e28f0fe5f743088fc95b060ac373cbf4bb | <?php
/**
* Created by PhpStorm.
* User: dederobert
* Date: 26/08/17
* Time: 12:53.
*/
namespace DuskPHP\Core\Middlewares;
use Interop\Http\ServerMiddleware\DelegateInterface;
use Interop\Http\ServerMiddleware\MiddlewareInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterfac... | PHP | src/Middlewares/ControllerMiddleware.php | Hovensoft/duskphp-core | gpl-3.0 | 1,088 | 47 | codeparrot/github-code |
4539706a0c1f6ba0a07b1d648a4aa6b9ce048ee361bb60dbac38550041c9038c | #include "stdafx.h"
#include "Page.h"
#include "MainWindow.h"
#include <iostream>
#include <fstream>
/**
* The class constructor.
*/
PageWidget::PageWidget(
Gtk::Notebook* notebook,
std::string name,
std::string filename,
std::map<std::string, Gtk::VBox*>* pages
)
: m_QuitButton("Quit"),
m_SaveQuitButton("Sav... | C++ | ShaderEditor/Code/AppMain/ShaderEditor/Page.cpp | iftodebogdan/ShaderEditor | gpl-3.0 | 6,268 | 224 | codeparrot/github-code |
2d54d1458592bef2eb0d0ea3a33545697d4665e1a3b71f7eebe973bf98faaf2e | package org.davidliebman.android.awesomeguy;
import android.content.Context;
import android.content.ContentValues;
//import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
//import android.database.sqlit... | Java | src/org/davidliebman/android/awesomeguy/Scores.java | radiodee1/awesomeguy | gpl-3.0 | 20,631 | 672 | codeparrot/github-code |
de61f0e74fcfae61c3ac492acbf4a2298df1ef7f71d60e22c4e893d5c22bda93 | /**
* This file is part of the Research Environment for Ancient Documents (READ). For information on the authors
* and copyright holders of READ, please refer to the file AUTHORS in this distribution or
* at <https://github.com/readsoftware>.
*
* READ is free software: you can redistribute it and/or modify it under the... | JavaScript | editors/js/attrVE.js | readsoftware/read | gpl-3.0 | 11,414 | 386 | codeparrot/github-code |
044ec777860f946d2130ddd64546e63ffee498431a509aaacb5091ae1bd27106 | /*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
bit_blaster_tpl.h
Abstract:
Template for bit-blaster operations
Author:
Leonardo de Moura (leonardo) 2011-05-02.
Revision History:
--*/
#ifndef _BIT_BLASTER_TPL_H_
#define _BIT_BLASTER_TPL_H_
#include"rational.h"
#incl... | C | contrib/Z3/lib/bit_blaster_tpl.h | cs-au-dk/Artemis | gpl-3.0 | 7,873 | 136 | codeparrot/github-code |
f8cc33c0b1f14eac5bc7788ac4023b3ea4b759753796bbad4cd364c27f256f93 | <?php
/*
WildPHP - a modular and easily extendable IRC bot written in PHP
Copyright (C) 2015 WildPHP
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 you... | PHP | lib/WildPHP/ModuleEmitter.php | Celant/Wild-IRC-Bot | gpl-3.0 | 6,675 | 266 | codeparrot/github-code |
2866efcb3ac5ee3550e21c390f5385530d534f6103687c00fe3f7e39cadd8c90 | #include <string.h>
#include "sha256.h"
uint32_t sha256K[] = {
0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,
0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,
0xe49b69c1,0xefbe4786,0x0fc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb... | C++ | soilsensor/lib/sha256/sha256.cpp | esell/homebase | gpl-3.0 | 4,507 | 168 | codeparrot/github-code |
f247dd67f163417d3ea355b03236c485b4676a46ea9de4553df3aad28dcd30ce | package org.leo.models;
import org.leo.serializer.LeoSerializable;
public class ServiceResponse implements LeoSerializable{
private Header header;
private Response body;
public ServiceResponse(Object message,int status){
this.header=new Header(status);
this.body=new Response(message);
}
public ServiceRe... | Java | leo/src/org/leo/models/ServiceResponse.java | divyank01/leo | gpl-3.0 | 1,338 | 80 | codeparrot/github-code |
41bae904bde295aeb507fe6beac7fa19f7937ca6eb87f4bc965408bfa9119c95 | angular.module('app').factory('geolocationService', function($cordovaGeolocation, $rootScope, $timeout) {
return {
onPosition: function(scope, callback) {
// callback receives (event, position) arguments
var handler = $rootScope.$on('geolocationService:position', callback);
scope.$on('$destroy',... | JavaScript | www/js/services/geolocation.js | cualbondi/mobile | gpl-3.0 | 1,436 | 44 | codeparrot/github-code |
720b738bc6d4a3d955375d9a68c873170f566242ac65d51d44d5ae29313c0792 | /* bufferlist.h */
/* A class for buffering the I/O and allow multiple streams to read the data
asynchronously */
#ifndef _MPEGLIST_H_
#define _MPEGLIST_H_
#include "SDL.h"
class MPEGlist {
public:
MPEGlist();
~MPEGlist();
/* Get to the next free buffer or allocate a new one if none is free... | C | libogc/include/mpeg/MPEGlist.h | MbCrew/wiicraft-code | gpl-3.0 | 876 | 46 | codeparrot/github-code |
64b5e0cad901d1ef24d80adeed8ca3fe860d8b6d78dd75490414b45b5f7d3079 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- This is the GNU Emacs Lisp Reference Manual
corresponding to Emacs version 25.1.
Copyright © 1990-1996, 1998-2016 Free Software Foundation, Inc... | HTML | aquamacs/doc/Aquamacs Help/EmacsLispReference/Function-Documentation.html | davidswelt/aquamacs-emacs | gpl-3.0 | 7,530 | 182 | codeparrot/github-code |
e127ea43bf5f4494d8f636f91c990dafdb2793842bf6dd9efbb955f0d7e0d069 | package org.icemoon.game.controls;
import java.util.logging.Logger;
import org.icelib.Icelib;
import org.icelib.Point3D;
import org.icemoon.Constants;
import org.icenet.client.Spawn;
import org.icescene.entities.AbstractLoadableEntity;
import org.icescene.entities.AbstractSpawnEntity;
import org.iceterrain.TerrainLoa... | Java | iceclient-app/src/org/icemoon/game/controls/PlayerSpatialControl.java | rockfireredmoon/iceclient | gpl-3.0 | 9,273 | 275 | codeparrot/github-code |
9411407618483187ae955f5e254fcf21b17edcba4eab338ec4744e437ba816af | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | C++ | src/dbns/numericFlux/numericFluxBase.H | Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | gpl-3.0 | 3,173 | 114 | codeparrot/github-code |
8381a42197275c00296b9f9bbe82afd453719f4c77364102ca0ad67b15f71a46 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on April 2, 2015 by texi2html 1.82
texi2html was written by:
Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachm... | HTML | dtm-dim-rdim/gsl/gsl/doc/autoconf.html | gerowam/influence | gpl-3.0 | 6,868 | 169 | codeparrot/github-code |
f9990757d869a62174401dcea28129c35d77b22b96a9295bf335804f0b2fbcc8 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Linux系统介绍(一)命令行 - 窗外蟋蟀博客</title>
<link rel="alternate" hreflang="en" href="https://keysaim.github.io" />
<meta name="renderer" content="webkit" />
<meta name="viewport" content="... | HTML | post/linux/2017-10-09-linux-study-command-line/index.html | keysaim/keysaim.github.io | gpl-3.0 | 16,606 | 635 | codeparrot/github-code |
e5f76e974d50055d78745c2457040c74fa37401a1e20dceb44bc6c7f10074de6 | <?php
/*
Copyright 2008 Josh Heidenreich
This file is part of Pelzini.
Pelzini 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.
Pelzini is ... | PHP | src/processor/parser_file.php | Karmabunny/pelzini | gpl-3.0 | 2,814 | 113 | codeparrot/github-code |
57a7f9168010e8bcdbb9337415235d3d7c8d7c845473269dd9e7c5872604db52 | import java.sql.*;
import java.util.HashMap;
// Aluseks on võetud Krister Viirsaare näidis
// Allikas: https://github.com/KristerV/javaSQLNaide/blob/master/src/Andmebaas.java
public class Andmebaas {
Connection conn = null;
// Konsutruktor ehk meetod, mis käivitub kohe objekti välja kutsumisel
public And... | Java | src/Andmebaas.java | PiretSp/LixArvutamineJavaFX | gpl-3.0 | 4,904 | 114 | codeparrot/github-code |
c0f3ced93e7cdc887fd9fefd4284177595bed0e2d1a38e02532164275f94dafb | /*
* This file is part of Gradoop.
*
* Gradoop 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.
*
* Gradoop is distributed in th... | Java | gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/matching/transactional/function/MergeSecondField.java | Venom590/gradoop | gpl-3.0 | 1,939 | 52 | codeparrot/github-code |
3738100924ac00ff3fc23c93adfb4a56a6ae3598a290ff4a22acaaeeeb4a7946 | <?php include("includes/head.inc.php"); ?>
<body>
<!-- Masthead Include -->
<?php include("includes/masthead.inc.php"); ?>
<div id="mainwrap">
<!-- TopNav Include -->
<?php include("includes/topnav.inc.php"); ?>
<?php
// start DB for queries on this page
require_once... | PHP | www/settings.php | rconfig/rconfig | gpl-3.0 | 24,185 | 439 | codeparrot/github-code |
93a0d7b7347113d423b42afd31f90a3e31fcf9a46a1ae70038ca987fd017df47 | /**
* @file
*
* Implementation of InManager State Machine.
*
* @author Vaclav Cechticky <vaclav.cechticky@pnp-software.com>
* @author Alessandro Pasetti <pasetti@pnp-software.com>
* @copyright P&P Software GmbH, 2013, All Rights Reserved
*
* This file is part of the CORDET Framework.
*
* This Source Code For... | C | src/InManager/CrFwInManager.c | pnp-software/cordetfw | mpl-2.0 | 11,996 | 314 | codeparrot/github-code |
c4db0f3f0de39f671fb46148cab346a3cf776b8ea0c82b760ca257a82c3b92bb | package zyx.utils.cheats;
import java.util.HashMap;
import zyx.engine.components.world.WorldObject;
import zyx.opengl.models.implementations.renderers.wrappers.WorldModelWrapper;
import zyx.utils.GameConstants;
import zyx.utils.interfaces.IPhysbox;
public class DebugPhysics
{
private static final DebugPhysics INSTA... | Java | MainGame/src/zyx/utils/cheats/DebugPhysics.java | zyxakarene/LearningOpenGl | mpl-2.0 | 1,320 | 63 | codeparrot/github-code |
5a0b9674f85ed05318bc8e4c474e2e13dbfe68205b24abb125b041c59a5e80ea | /**
* \file system/dev/banners.h
*
* PROS banners printed over serial line
*
* This file should only be included ONCE (in system/dev/serial_daemon.c)
*
* See system/dev/serial_daemon.c for discussion
*
* Copyright (c) 2017-2022, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form... | C | include/system/dev/banners.h | purduesigbots/pros | mpl-2.0 | 2,631 | 64 | codeparrot/github-code |
8f95a89bd333570ed1179772d705577a1c47bba867927690817cc16221b6c784 | ---
layout: "docs"
---
# OpenStack Builder
Type: `openstack`
The `openstack` builder is able to create new images for use with
[OpenStack](http://www.openstack.org). The builder takes a source
image, runs any provisioning necessary on the image after launching it,
then creates a new reusable image. This reusable ima... | Markdown | website/source/docs/builders/openstack.html.markdown | jsoriano/packer | mpl-2.0 | 4,826 | 140 | codeparrot/github-code |
e52bed7818870bf00b0418058ee0e9ba4b0425dbac0415a33d026d04dc94e3e6 | /**
* Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.seed.rest.je... | Java | rest/jersey2/src/main/java/org/seedstack/seed/rest/jersey2/internal/GuiceToHK2Factory.java | adrienlauer/seed | mpl-2.0 | 1,199 | 42 | codeparrot/github-code |
616d29ebd456ef20df59a1cd42e96363474d4fa3f887de95d233de5565c4a43b | /*
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
***************************************************************************
* *
* FreeRTOS tutorial books are available in pdf and paperback. *
... | C | boards/SW-TM4C-2.0.1.11577/third_party/FreeRTOS/Demo/Common/Minimal/flop.c | trfiladelfo/unesp_mdt | mpl-2.0 | 13,192 | 365 | codeparrot/github-code |
132b1c68b4716b88a33020008e1d1c2612e8ccf711865d4d4afd957ebd189e2b | /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Make sure that setting a breakpoint in one tab, doesn't cause another tab at
* the same source to ... | JavaScript | devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-other-tabs.js | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 1,450 | 42 | codeparrot/github-code |
adb005851ed1607b2c312747127f71a6fc42189a63b78a216706c0a70f105aa5 | import { routing } from '../../../app/routes'
import { SET_GEOMETRY_FILTER } from '../data-selection/constants'
export const REDUCER_KEY = 'selection'
export const SET_SELECTION = `${REDUCER_KEY}/SET_SELECTION`
export const CLEAR_SELECTION = `${REDUCER_KEY}/CLEAR_SELECTION`
export const SELECTION_TYPE = {
NONE: 'N... | JavaScript | src/shared/ducks/selection/selection.js | DatapuntAmsterdam/atlas_prototype | mpl-2.0 | 1,556 | 65 | codeparrot/github-code |
121c14c41bab9de0c0ab5ff82c5abedd0d01a1265feb827404b1acfd1d8ea918 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | C | js/src/jit/VMFunctions.h | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 32,956 | 830 | codeparrot/github-code |
cfee4d8c4f50480f6ee0d835bcde78ab71c647386a3bdf58a72c1fcb59ad5b25 | #include "main.h"
#include <SDL.h>
#include "run.h"
#include "fight.h"
#include "menu.h"
#include "camera.h"
#include "end.h"
#include "graphics.h"
#include "3dutils.h"
#include "audio.h"
#include "font.h"
#include "legoblocks.h"
#include "glapi.h"
int gamemode;
bool changed;
bool gameinitialized = false;
void in... | C++ | src/run.cpp | thunderk/blockofighter | mpl-2.0 | 4,458 | 210 | codeparrot/github-code |
ec50f5df932266ab729623185bbdfb5135a2b8c6cc6454a9347620f804c7164e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `HTMLCollectionTypeId` enum in crate `script`.">
<meta name... | HTML | script/dom/bindings/codegen/InheritTypes/enum.HTMLCollectionTypeId.html | servo/doc.servo.org | mpl-2.0 | 10,203 | 132 | codeparrot/github-code |
9d549329eab071ff7c9fa906967bf1c1fa368404267153c0e8a84b6deac58ae1 | <?php
/**
* @package jelix
* @subpackage db_driver
* @author Yann Lecommandoux
* @copyright 2008 Yann Lecommandoux
* @link http://www.jelix.org
* @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
*/
/**
* driver for jDaoCompiler
*/
class mssqlDaoBu... | PHP | lib/jelix/plugins/db/mssql/mssql.daobuilder.php | 3liz/osmflickr | mpl-2.0 | 1,303 | 51 | codeparrot/github-code |
9f1776547d959753eccd472caa74b618da7a670b55caf747e19a1688936d88c6 | package eiffel
import (
"context"
"fmt"
"github.com/Sirupsen/logrus"
"github.com/pressly/chi"
"github.com/pressly/chi/middleware"
"github.com/pressly/lg"
"net/http"
"time"
)
const (
eiffelVersion = "v0.1.0"
)
type (
// Eiffel is a service Gateway for Hackform
Eiffel struct {
services ServiceConfig... | GO | eiffel.go | Hackform/Eiffel | mpl-2.0 | 3,987 | 177 | codeparrot/github-code |
c121f3f5ae6d105368ba52d0c0dba020ab79c97dc0ae2cbda0784a5a0036a116 | #include "core.h"
#include <string>
#include <iostream>
#include <fstream>
#include <streambuf>
#include <sstream>
#include "helpers.h"
#include "ast/atom.h"
using namespace mal;
#define NS_FUNC(name, code) { name, [](auto callsite, auto funcName, internal::FuncArgs arguments) -> EvalResult code }
#define NUMERIC_... | C++ | cpp14/src/runtime/core.cpp | DomBlack/mal | mpl-2.0 | 9,144 | 373 | codeparrot/github-code |
5accdf037897ea818a13b98c023aefeccb52ed998e2833641094c32583adf200 | #pragma once
#include <plog/Record.h>
#include <plog/Util.h>
#include <iomanip>
namespace plog
{
template<bool useUtcTime>
class CsvFormatterImpl
{
public:
static util::nstring header()
{
return PLOG_NSTR("Date;Time;Severity;TID;This;Function;Message\n");
}
... | C | include/plog/Formatters/CsvFormatter.h | SergiusTheBest/plog | mpl-2.0 | 2,183 | 58 | codeparrot/github-code |
c39a2461f494af5775a3a68fe3dec8d7082d79fbeadb9116ebd321d0e99b550e | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "base/basictypes.h"
#inc... | C++ | dom/plugins/base/nsJSNPRuntime.cpp | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 62,549 | 2,323 | codeparrot/github-code |
73eea3221a7fe0e5427a8c7d5a258f81453c55b43a7ba307c9d14434ad2faa6e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `ArrayVisitor17` struct in crate `serde`.">
<meta name="key... | HTML | serde/de/impls/struct.ArrayVisitor17.html | servo/doc.servo.org | mpl-2.0 | 22,863 | 173 | codeparrot/github-code |
8112aa32f3c7d3f2b81ed776ad0b44ba9266eb02e0caddc38401a0e111592fab | // This file is part of MorphoDiTa <http://github.com/ufal/morphodita/>.
//
// Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of
// Mathematics and Physics, Charles University in Prague, Czech Republic.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If... | C | src/tagger/conllu_elementary_features.h | ufal/morphodita | mpl-2.0 | 14,835 | 249 | codeparrot/github-code |
5dcdadd6b20f16a3e6d6182120cb891230641fb432da2a420e56604b10d4ae66 | package stoml
import fastparse.core.Parsed.Success
import org.scalacheck.Gen
import org.scalatest.prop._
import org.scalatest.{Matchers, PropSpec}
trait NumbersTomlGen {
val signChars = List("+", "-", "")
def intersperse(x: String, sep: String) =
x.toCharArray.mkString(sep)
def validLongGen: Gen[String] =... | Scala | src/test/scala/stoml/NumbersTomlSpec.scala | jvican/stoml | mpl-2.0 | 1,291 | 52 | codeparrot/github-code |
707c85e424b94c60d0311a0cf06a65db012a4ec26d8ca5f0dc2789dbecd91433 | /*
* Copyright (c) 2011-2015, Dan McNulty
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package net.udidb.server.api.results;
impo... | Java | server/src/main/java/net/udidb/server/api/results/ExpressionValueSerializer.java | mcnulty/udidb | mpl-2.0 | 1,398 | 46 | codeparrot/github-code |
29563667b710964cca896eacabf8cfd4217257d7fec8e84f2f1e7f9745a59ec2 | /**
* Created by CCristi on 7/15/16.
*/
'use strict';
import Core from 'deep-core';
import {VoterInterface} from './VoterInterface';
export class BaseVoter extends VoterInterface {
/**
* @param {String|RegExp|Function|VoterInterface} validateExpression
*/
constructor(validateExpression) {
super();
... | JavaScript | src/deep-security/lib/Voter/BaseVoter.js | MitocGroup/deep-framework | mpl-2.0 | 1,617 | 56 | codeparrot/github-code |
293f268115892ba9372ba9294b7beba06eb95b018dfede7acebc2ca22210e9ea | /* Copyright (C) 2013 BMW Group
* Author: Manfred Bathelt (manfred.bathelt@bmw.de)
* Author: Juergen Gehring (juergen.gehring@bmw.de)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozi... | C++ | src/test/DBusStubAdapterTest.cpp | Pelagicore/common-api-dbus-runtime | mpl-2.0 | 9,350 | 227 | codeparrot/github-code |
3ec58c86b2d854cc4b313cee34974d1a1f1266580531634bde7a796ca99c33fa | import {BaseStore} from 'fluxible/addons';
import { isLocalStorageOn } from '../common.js';
const activity_types_to_display = ['translate', 'share', 'add', 'edit', 'move', 'comment', 'reply', 'use', 'attach', 'react', 'rate', 'download', 'fork', 'delete', 'joined', 'left'];
class ActivityFeedStore extends BaseStore {... | JavaScript | stores/ActivityFeedStore.js | slidewiki/slidewiki-platform | mpl-2.0 | 6,621 | 166 | codeparrot/github-code |
dcf34441dfb4c132b730752500726aa7c8b723e054ff16085ca769d1c1aede1a | package net.minecraft.item;
import com.google.common.collect.Maps;
import java.util.List;
import java.util.Map;
import javax.annotation.Nullable;
import net.minecraft.block.BlockJukebox;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.pl... | Java | net/minecraft/item/ItemRecord.java | lucemans/ShapeClient-SRC | mpl-2.0 | 3,024 | 94 | codeparrot/github-code |
077f765a9f5d560fd702abab039f7326965427bdd012244e1de34d3b61676eee | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | C++ | embedding/qa/testembed/Selection.cpp | tmhorne/celtx | mpl-2.0 | 16,917 | 619 | codeparrot/github-code |
4e7dca99e6d87cf7e074ff314587229934313f131317d2684d304406eef567f0 | <?php
namespace Honeybee\Model\Aggregate;
use Honeybee\Entity as BaseEntity;
use Honeybee\Model\Event\EmbeddedEntityEventInterface;
use Honeybee\Common\Error\RuntimeError;
use Honeybee\Model\Task\ModifyAggregateRoot\ModifyEmbeddedEntity\EmbeddedEntityModifiedEvent;
use Honeybee\Model\Task\ModifyAggregateRoot\RemoveEm... | PHP | src/Model/Aggregate/Entity.php | honeybee/honeybee | mpl-2.0 | 4,731 | 125 | codeparrot/github-code |
a3dab0625bdf0fc98765b817038482adb32c4e2d6ac632f2580c5c00c8969170 | #include "Bdef.h"
#if (INTFACE == C_CALL)
void Csgamx2d(int ConTxt, char *scope, char *top, int m, int n, float *A,
int lda, int *rA, int *cA, int ldia, int rdest, int cdest)
#else
F_VOID_FUNC sgamx2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
float *A, int *lda, int *... | C | src/BLACS/sgamx2d_.c | wrathematics/pbdSLAP | mpl-2.0 | 11,614 | 374 | codeparrot/github-code |
2c3694ad656745ce6cd090963ec071f44624c3aac2c54684d516526f0874cf67 | /**
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.seed.cli.int... | Java | cli/src/main/java/org/seedstack/seed/cli/internal/CommandLinePlugin.java | kavi87/seed | mpl-2.0 | 4,097 | 109 | codeparrot/github-code |
92a8984146dc91ca259efb00318ecbae28ab1e76e60f776093e8e59d990f0870 | /*
* This file is part of EspruinoHub, a Bluetooth-MQTT bridge for
* Puck.js/Espruino JavaScript Microcontrollers
*
* Copyright (C) 2016 Gordon Williams <gw@pur3.co.uk>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
*... | JavaScript | lib/discovery.js | espruino/EspruinoHub | mpl-2.0 | 9,013 | 260 | codeparrot/github-code |
21c0591a9ffa94ffae0b6a93e2a4b942097eb0d117f69bf4b93bb8885bd119b8 | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
namespace IdentityServer3.Contrib.Vault.CertificateStore.DTO
{
using Newtonsoft.Json;
public class PkiIssue
... | C# | src/IdentityServer3.Contrib.Vault.CertificateStore/DTO/PkiIssue.cs | MacLeanElectrical/servicestack-authentication-identityserver-vault | mpl-2.0 | 1,705 | 65 | codeparrot/github-code |
7dea69a48dc4777fd5698ca0d4084f4256840e5ac11269a64724f9c9c37b828f | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `pthread_attr_t` struct in crate `libc`.">
<meta name="keyw... | HTML | libc/unix/linux/other/b64/struct.pthread_attr_t.html | servo/doc.servo.org | mpl-2.0 | 7,216 | 123 | codeparrot/github-code |
f4809342e8617f98225b719f1416ed7e7670bebd7d0935ec12eb48ff53c72e67 | #!/usr/bin/env python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
# Copyright (c) 2014 Mozilla Corporation
from lib.alerttask import AlertTask
from mozdef_util.qu... | Python | alerts/ldap_add.py | jeffbryner/MozDef | mpl-2.0 | 1,114 | 36 | codeparrot/github-code |
e9b3ae337e8f94658fe93330e95409f293617a6aa9c8134181b2533766cdebcc | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import logging
import jinja2
from django.template.loader import render_to_string
from django_jinja import library
from... | Python | bedrock/newsletter/templatetags/helpers.py | ericawright/bedrock | mpl-2.0 | 2,361 | 66 | codeparrot/github-code |
c8365ecada6294e17b5926b09df127173dcf678d08963fd884389b4823f9fb0e | #ifndef PARAMETERS_H
#define PARAMETERS_H
#include <string.h>
#include <ctime>
#include <iostream>
#include <fstream>
#include <math.h>
#include <stdlib.h>
#include <time.h>
#include <sstream>
#include <assert.h>
#include <sys/stat.h>
#include "newmatap.h"
#include "newmatio.h"
#include "newmatrc.h"
#include "kmeans... | C | src/inout/parameters.h | jmcriat/Yapy | mpl-2.0 | 1,917 | 62 | codeparrot/github-code |
b5bf392c91567dcf8418990563847505f09cd81121effd135602129b5ffc12d0 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
using System;
using Enigma.Testing.Fakes.Entities;
using Enigma.Testing.Fakes.Graphs;
using Xunit;
name... | C# | Enigma/src/Enigma.Test/Serialization/WriteNullableValuePropertyTests.cs | jaygumji/Enigma | mpl-2.0 | 3,076 | 104 | codeparrot/github-code |
680a39613a8f302c725e5543e6c32db0070ee95f82a09cdc41426c6396d31fc5 | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef NSFONTMETRICS__H__
#defin... | C | gfx/src/nsFontMetrics.h | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 8,728 | 269 | codeparrot/github-code |
5bc1238626c61a467e38e1fadfb796fa57ec7361590d7be029de3a5afc8780a2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>le_semaphore.h File Reference - Legato Docs</... | HTML | 18_07/le__semaphore_8h.html | legatoproject/legato-docs | mpl-2.0 | 17,523 | 343 | codeparrot/github-code |
e0c3bc144f5cfa1df425f7a691790a652b1ee954bdfdd50581100860390b33c6 | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.CsProj;
using OrpheusTests;
namespace OrpheusTestsBenchMark
{
[Config(typeof(Config))]
public class BaseBenchMark ... | C# | OrpheusTestsBenchMark/BaseBenchMark/BaseBenchMark.cs | gtrifidis/OrpheusORM | mpl-2.0 | 1,225 | 42 | codeparrot/github-code |
30b5a603a7a1843b47c404dda05e2c7773290d1db0d1aef1e48eaabbc1a8fc1f | /*******************************************************************************
* Copyright (c) 2016 Stichting Yona Foundation This Source Code Form is subject to the terms of the Mozilla Public License, v.
* 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/... | Java | core/src/main/java/nu/yona/server/util/TransactionHelper.java | yonadev/yona-server | mpl-2.0 | 1,072 | 33 | codeparrot/github-code |
265174391d74d3222ec2f43eb1236ece265c21e6cfec0d67c21ded6d29cf2f54 | package getter
import (
"encoding/base64"
"fmt"
"io/ioutil"
"net/url"
"os"
"os/exec"
"path/filepath"
"strings"
urlhelper "github.com/hashicorp/go-getter/helper/url"
"github.com/hashicorp/go-version"
)
// GitGetter is a Getter implementation that will download a module from
// a git repository.
type GitGett... | GO | get_git.go | missedone/go-getter | mpl-2.0 | 5,973 | 247 | codeparrot/github-code |
553faa8f9881ca176c3f5bc1f4f399cf6dd70f763de1d33c905735f4a7ada7af | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>None - Legato Docs</title>
<meta content="leg... | HTML | 20_08/le__wifiClient__common_8h.html | legatoproject/legato-docs | mpl-2.0 | 11,783 | 143 | codeparrot/github-code |
63411dcbdd6f844aab4f4a1d34461520b2e87ad48939a03b0acaf69b2a9a751a | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2014 Daniele Panozzo <daniele.panozzo@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at ht... | C++ | include/igl/viewer/ViewerData.cpp | JianpingCAI/libigl | mpl-2.0 | 11,214 | 420 | codeparrot/github-code |
544c3cf6613669679b84f7ca4c7d5d5f97134ee2232ccbbafe4961ec0fc07568 | package pki
import (
"context"
"crypto"
"crypto/ecdsa"
"crypto/rsa"
"crypto/x509"
"crypto/x509/pkix"
"encoding/asn1"
"encoding/base64"
"encoding/pem"
"fmt"
"net"
"net/url"
"regexp"
"strconv"
"strings"
"time"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/vault/sdk/framework"
"github.com/hashi... | GO | builtin/logical/pki/cert_util.go | hartsock/vault | mpl-2.0 | 39,511 | 1,292 | codeparrot/github-code |
c609a32e307b0d8cdb6e49765dcff19b2ba8802a727aa312237764759746cdba | /**
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basi... | Java | app/src/us/mn/state/health/lims/reports/action/implementation/ReferredOutReport.java | CalebSLane/openelisglobal-core | mpl-2.0 | 10,428 | 242 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.