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 |
|---|---|---|---|---|---|---|---|---|
65f41c05261498d7dbb7a8491b4572c4a15eb4f0d8cf656d1970cb543a8fd4a4 | #pragma once
#include "stdafx.h"
#include "ReferenceCounted.h"
using namespace irr;
using namespace System;
using namespace IrrlichtLime::Core;
namespace IrrlichtLime { ref class Event; ref class OSOperator;
namespace IO { ref class Attributes; ref class FileSystem; ref class ReadFile; ref class WriteFile; }
namespa... | C | WolvenKit.IrrlichtLime/GUIEnvironment.h | Traderain/Wolven-kit | gpl-3.0 | 10,846 | 231 | codeparrot/github-code |
3cd0c4a796826448edf5b2306d61c507e36cd34e5d5466b8fce874e8a05aef48 | ##############################################################################
# Multi-project makefile rules
#
all:
@echo
@echo === Building for STM32F091-Nucleo64 ================================
+@make --no-print-directory -f ./make/stm32f091_nucleo64.make all
@echo =============================================... | Makefile | lib/main/ChibiOS/testhal/STM32/multi/SPI/Makefile | BrainFPV/betaflight | gpl-3.0 | 2,652 | 61 | codeparrot/github-code |
2824e7ff7e0021c4ba4c781eef0abfdb1a46ec95990463d052384e7bb73ebef1 | <?php
/**
* Section blocks
*
* @author WolfThemes
* @category Core
* @package WolfPageBuilder/Admin/Elements
* @version 2.8.9
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
wpb_add_element(
array(
'name' => esc_html__( 'Section with Blocks', 'wolf-page-builder' ),
'base' => 'section_blocks',
'icon' => 'w... | PHP | inc/admin/elements/section-blocks.php | wolfthemes/wpb-test | gpl-3.0 | 2,301 | 81 | codeparrot/github-code |
2070502336b788f1fb246e19f0daf6aec7a558659b051afaa0bd078f28b1cf5e | package model;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class ReportConfig {
@Id
private String reportType;
private String fieldNames;
public ReportConfig(String reportType, String fieldNames) {
this.reportType = reportType;
this.fieldNames = fieldNames;
}
public Repor... | Java | src/model/ReportConfig.java | rpmulligan/V2V | gpl-3.0 | 621 | 37 | codeparrot/github-code |
c612223e0508e531df4e9f2199dc3ed64762a55bde5dc4d7aaf89ed6ad1753cd |
package concretisations.checkers;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import abstractions.cell.CellManager;
import abstractions.cell.CellManagerInterface;
im... | Java | src/test/java/concretisations/checkers/CheckerPotentialMutationsTest.java | arie-benichou/zero-sum-game-engine | gpl-3.0 | 8,536 | 220 | codeparrot/github-code |
67da94a7a8bac7df536bd932a0477b95ae48d3f772b7eef3d8fda084e6699f68 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, cop... | C# | ICSharpCode.Decompiler/Ast/AstMethodBodyBuilder.cs | yck1509/dnSpy | gpl-3.0 | 56,273 | 1,313 | codeparrot/github-code |
eb2057ab6514bc2413d4308aae128950912522160d8cacf181916aefbcee0e3f | ///////////////////////////////////////////////////////////////////////////////
//
/// \file sha256.c
/// \brief SHA-256
///
/// \todo Crypto++ has x86 ASM optimizations. They use SSE so if they
/// are imported to liblzma, SSE instructions need to be used
/// conditionally to k... | C | xz-utils/src/liblzma/check/sha256.c | KubaKaszycki/kubux | gpl-3.0 | 5,497 | 202 | codeparrot/github-code |
afa3e2141c40603275589104be45527e8436198b8010b9aacbc77bda9a47072e | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ultima.Spy.Application
{
/// <summary>
/// Value getter delegate.
/// </summary>
/// <param name="key">Key type.</param>
/// <param name="value">Return value type.</param>
/// <returns>Value.</returns>
... | C# | Ultima.Spy.Application/Helpers/SimpleCache.cs | Vorspire/SpyUO | gpl-3.0 | 2,320 | 104 | codeparrot/github-code |
370a2c6f399296d479ef6691631048e811af19d49322d53b673f60c7e2cad8bb | Object.defineProperty(exports, '__esModule', {
value: true
});
const path = require('path');
// explicitly set the config dir, otherwise if oxygen is globally installed it will use cwd
let originalNodeCfgDir = process.env.NODE_CONFIG_DIR;
process.env.NODE_CONFIG_DIR = path.resolve(__dirname, '../..', 'config');
... | JavaScript | src/lib/logger.js | oxygenhq/oxygen | gpl-3.0 | 1,122 | 44 | codeparrot/github-code |
f3e7e95d7a67e0596cea632325ce5440131eac3d781d55f08c1aafddb17e1555 | /*
* This file is part of Cleanflight and Betaflight.
*
* Cleanflight and Betaflight are free software. You can redistribute
* this software and/or modify this software 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 ... | C | src/main/flight/mixer.h | wind0r/betaflight | gpl-3.0 | 4,258 | 135 | codeparrot/github-code |
a8a98ffdf124725a0d6bdbbf1b4060b9c35191e49875b3129bb68ac76bf07f58 | //
// $Id$
//
// jupload - A file upload applet.
//
// Copyright 2010 The JUpload Team
//
// Created: 27 janv. 2010
// Creator: etienne_sf
// Last modified: $Date$
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published ... | Java | src/test/java/wjhk/jupload2/upload/AbstractJUploadTestHelper.java | Silverpeas/silverpeas-jupload | gpl-3.0 | 16,517 | 427 | codeparrot/github-code |
e8725dc7015bfce2d74b65cf015b467d56420783a043c147b9a6be1f47d4b9bb | \documentclass[11pt,oneside]{book}
\usepackage{draftflag}
\usepackage{times}
\usepackage{fullpage}
\usepackage{makeidx}
\makeindex
\renewcommand{\indexname}{Author Index}
\usepackage{pdfpages} % can also use [draft] option
\usepackage[colorlinks,
%%% EDIT TITLE: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
... | TeX | proceedings-2017/frontmatter.tex | acl-sigur/iwclul-latex | gpl-3.0 | 4,495 | 149 | codeparrot/github-code |
22171a02d40bd9a9c87afc2f2cf22bd088edc3a2cf1a313c29978e7d00658444 | <?php
require_once 'inc/dbconfig.php';
require_once 'inc/config.php';
require_once 'inc/helper_user.php';
require_once 'inc/user_class.php';
require_once 'inc/eventlog_class.php';
#--------------------------------
function parse_signed_request($signed_request, $secret) {
#--------------------------------
list($encod... | PHP | html/www/fb/regreq.php | StreamingMeeMee/FrameAlbum | gpl-3.0 | 3,126 | 92 | codeparrot/github-code |
6227729bb2a444ee2a379a6a031b7356bc01015746498df667dfb6f1e661ec07 | import os, h5py, numpy
from scipy.sparse import csc_matrix
import ml2h5.task
from ml2h5 import VERSION_MLDATA
from ml2h5.converter import ALLOWED_SEPERATORS
class BaseHandler(object):
"""Base handler class.
It is the base for classes to handle different data formats.
It implicitely handles HDF5.
@c... | Python | ml2h5/converter/basehandler.py | open-machine-learning/mldata-utils | gpl-3.0 | 11,241 | 352 | codeparrot/github-code |
7da8ec6c760f7cf61619300c2e154321d9341dee14ff1ea020a48aaf3f063418 | /* Copyright (C) 2013-2014 Alexander Sedov <imp@schat.me>
*
* 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 versio... | C++ | src/editor/ItemColorButton.cpp | impomezia/screenpic | gpl-3.0 | 4,233 | 164 | codeparrot/github-code |
df45685652c6400433a7e77b65f085e7605cb4a979a3fc45f8a2aaddad0085ae | /*
* A small crossplatform set of file manipulation functions.
* All input/output strings are UTF-8 encoded, even on Windows!
*
* Copyright (c) 2017-2020 Vitaly Novichkov <admin@wohlnet.ru>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated document... | C++ | _common/Utils/files.cpp | Wohlstand/PGE-Project | gpl-3.0 | 7,052 | 286 | codeparrot/github-code |
696465d1156dcdf7b4e25074cd523c2cff297825e5b7373ca1ce2965eb159641 | # coding: utf-8
from __future__ import unicode_literals
import re
from hashlib import sha1
from .common import InfoExtractor
from ..compat import compat_str
from ..utils import (
ExtractorError,
determine_ext,
float_or_none,
int_or_none,
unified_strdate,
)
class ProSiebenSat1BaseIE(InfoExtractor... | Python | lib/youtube_dl/extractor/prosiebensat1.py | Dunkas12/BeepBoopBot | gpl-3.0 | 17,719 | 430 | codeparrot/github-code |
8ff6f42cf87b266257d763a893d8d4e16c81f8407b341bfa30fd87697de8cfd5 | /* This file is produced by the C++/CLI AutoWrapper utility.
Copyright (c) 2006 by Argiris Kirtzidis */
#pragma once
#pragma managed(push, off)
#include "OgreHardwareVertexBuffer.h"
#pragma managed(pop)
#include "MogreHardwareBuffer.h"
#include "MogrePrerequisites.h"
namespace Mogre
{
public enum class Ve... | C | References/mogre/include/auto/MogreHardwareVertexBuffer.h | ss13remake/mspriterenderer | gpl-3.0 | 10,639 | 394 | codeparrot/github-code |
e10ef2d4e31919b446a6c806c5acccb14e4768807c29582cab1d0ee38da6bd7b | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
*
* The contents of this file are subject to the terms of the GNU General Public License Version 3
* only ("GPL"). You may not use this file except in compliance with th... | Java | OpenConcerto/src/org/openconcerto/task/TodoListElementEditorPanel.java | eric-lemesre/OpenConcerto | gpl-3.0 | 4,372 | 124 | codeparrot/github-code |
62a0b71aab65674a879e2989efb7805fd2689a39f6ef7ca9be9863ccfc02d0fc | <?php
/**
* The template for displaying Archive pages.
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for ea... | PHP | archive.php | peeyarmenon/quasar-theme-framework | gpl-3.0 | 1,773 | 55 | codeparrot/github-code |
ae332a9fb7e66dc0faa66a6e6e2e96179fcdfffccf758217bd60f312e9bd5d24 | #ifndef UniformDistribution_H
#define UniformDistribution_H
#include "ContinuousDistribution.h"
namespace RevBayesCore {
class DagNode;
template <class valueType> class TypedDagNode;
/**
* @brief Uniform distribution class.
*
* The Uniform probability distribution has probability density
* @f[ f(x | \min, \m... | C | src/core/distributions/math/UniformDistribution.h | revbayes/revbayes | gpl-3.0 | 2,124 | 42 | codeparrot/github-code |
1da0d3341c8a401bba0883508fdebb213b2d37e416181364df02a06cb554786c | //
// PostShowPage.xaml.cpp
// Implementation of the PostShowPage class
//
#include "pch.h"
#include "PostShowPage.xaml.h"
#include "PostPage.xaml.h"
#include "LoginPage.xaml.h"
#include "define.h"
using namespace GhostBlogClient;
using namespace Platform;
using namespace Platform::Collections;
using namespace Wind... | C++ | GhostBlogClient/GhostBlogClient.WindowsPhone/PostShowPage.xaml.cpp | padicao2010/Ghost-Client-for-WP | gpl-3.0 | 8,147 | 290 | codeparrot/github-code |
1884a645c9c03302168ea85a4e0042efeafc1763db26de1d3453a5210a772ed1 | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
# Numenta, Inc. a separate commercial license for this software code, the
# following terms and conditions apply:
#
# This pro... | Python | examples/bindings/svm_how_to.py | tkaitchuck/nupic | gpl-3.0 | 8,034 | 235 | codeparrot/github-code |
ca5c347e6cfcbf7c8bec993aa5046c467851061107bcc3ca2bde9e8ef9d5b175 | /*
* Copyright (C) 2014 Alfons Wirtz
* website www.freerouting.net
*
* Copyright (C) 2017 Michael Hoffer <info@michaelhoffer.de>
* Website www.freerouting.mihosoft.eu
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | Java | Tools/KiCad_FreeRouting/FreeRouting-miho-master/freerouting-master/src/main/java/eu/mihosoft/freerouting/autoroute/LocateFoundConnectionAlgo.java | andrasfuchs/BioBalanceDetector | gpl-3.0 | 22,361 | 567 | codeparrot/github-code |
cc74480e820dbaaf73f3a04409aaf460908ae45856e4ef8413ce83bac4b1b326 | /* Singleplayer game code.
Copyright (C) 2006 Morten Hustveit <morten@rashbox.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 3 of the License, or
(at your o... | C | singleplayer.c | darkranger-red/pengupop-maemo5 | gpl-3.0 | 21,161 | 911 | codeparrot/github-code |
90c1cefd71f62e1305b07dc927f52566d7857a2fed6d993c96c4bf9d8ea75af9 | /*******************************************************************
Part of the Fritzing project - http://fritzing.org
Copyright (c) 2007-2011 Fachhochschule Potsdam - http://fh-potsdam.de
Fritzing is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... | C++ | src/items/logoitem.cpp | logxen/Fritzing | gpl-3.0 | 24,431 | 865 | codeparrot/github-code |
ece4a4182a4f2b170eb67b45642b43acbe31a915d4b68c88e775e3a6144d29ad | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void comboBox1_SelectedIndexChanged(object sender, Event... | C# | Course IV/ТРПО/examples/MenuDialogExample/WindowsFormsApp1/WindowsFormsApp1/Form1.cs | GeorgiyDemo/KIP | gpl-3.0 | 3,728 | 123 | codeparrot/github-code |
c9b9015e6e107124ca73bbb65943481e3cb56a8933da52e91aaccd0d5b56270f | /**
* Copyright (C) 2009 STMicroelectronics
*
* This file is part of "Mind Compiler" is free software: you can redistribute
* it and/or modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any l... | Java | adl-frontend/src/main/java/org/ow2/mind/adl/imports/ImportDefinitionReferenceResolver.java | MIND-Tools/mind-compiler | gpl-3.0 | 4,188 | 116 | codeparrot/github-code |
d73e34a8dad5302989ff2f864fbd70120b9bc1925f0ea445f4fdf6ad00fa8a25 | #import <Availability2.h>
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
#import <Foundation/NSObject.h>
@class UIView, UIKeyboardAutomatic, UIPeripheralHostState;
@interface UIPeripheralHost : NSObject {
UIView* m_peripheralToolbar;
UIView* m_peripheral;
UIView* m_hostView;
UIKeyboardAutomatic* m_automatic... | C | include/UIKit/UIPeripheralHost.h | hqt/theos | gpl-3.0 | 3,836 | 86 | codeparrot/github-code |
604a49f261c98655ed8140141f9ceba6dd9aacfb206af8873d4adbe57397db0b | /**
* Copyright 2014, 2015, 2016 TAIN, Inc. all rights reserved.
*
* Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007 (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.gnu.org/licenses/
*
* Unl... | Java | KIEA_JAVA7/src/tain/kr/com/test/file/v02/FileInfoBean.java | grtlinux/KIEA_JAVA7 | gpl-3.0 | 2,390 | 96 | codeparrot/github-code |
76b4bf97faa22e413daadca2480b33454ae432d1d454fb84b4a34fee6ed19666 | #pragma once
/* This file is part of Imagine.
Imagine 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.
Imagine is distributed in the ... | C++ | imagine/include/imagine/thread/Semaphore.hh | DarkCaster/emu-ex-plus-alpha | gpl-3.0 | 950 | 38 | codeparrot/github-code |
ce25a1ccae0e7182eec0c6c60f995fecd1af5c76f882f85f6c176b00d685e4b8 | //
// Created by icebeetle on 18-6-23.
//
#include<bits/stdc++.h>
using namespace std;
struct _t {
int x, y, z, t;
explicit _t(int xx = 0, int yy = 0, int zz = 0, int tt = 0) : x(xx), y(yy), z(zz), t(tt) {};
friend bool operator<(const _t &a, const _t &b) {
return a.t < b.t;
}
};
const int... | C++ | Contest/CodeM2018/B-Round/1.cpp | bitwater1997/ACM | gpl-3.0 | 1,917 | 73 | codeparrot/github-code |
3976c402d2990b6abb06b037f1f0dfe99741fe5569bbe8a6e2d3238d70c8bcc7 | /*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=bdc334eb7ee1e998de2a85b5f46ddcac)
* Config saved to config.jso... | JavaScript | js/bootstrap.js | GM-Connor/KanjiSheets | gpl-3.0 | 24,744 | 855 | codeparrot/github-code |
1d3b2d061652b6dc5d981834203e0334146e250f6a197ce4c5c2a57ad6693637 | /*
* SLD Editor - The Open Source Java SLD Editor
*
* Copyright (C) 2018, SCISYS UK Limited
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | Java | modules/application/src/main/java/com/sldeditor/filter/v2/function/temporal/MetBy.java | robward-scisys/sldeditor | gpl-3.0 | 4,262 | 153 | codeparrot/github-code |
9fc7cbaacf94df2a4dd814fac0b25d93924ad392ed77a27132356887c602ee5d | /* Copyright � 2007 Apple Inc. All Rights Reserved.
Disclaimer: IMPORTANT: This Apple software is supplied to you by
Apple Inc. ("Apple") in consideration of your agreement to the
following terms, and your use, installation, modification or
redistribution of this Apple software constitutes acceptance of t... | C++ | src/evolver/audiofiles.cpp | mkb218/nynex | gpl-3.0 | 22,807 | 568 | codeparrot/github-code |
2eaa486757cab2b8d8ca339ae007097e020fd542e35bcc280ff25566b52241a0 | package org.freedom.modulos.fnc.business.component.cnab;
import org.freedom.infra.functions.StringFunctions;
import org.freedom.library.business.component.Banco;
import org.freedom.library.business.exceptions.ExceptionCnab;
import org.freedom.modulos.fnc.library.business.compoent.FbnUtil.ETipo;
public class RegTrail... | Java | freedom/src/main/java/org/freedom/modulos/fnc/business/component/cnab/RegTrailer.java | cams7/erp | gpl-3.0 | 4,306 | 185 | codeparrot/github-code |
2c7f4029f144f0696d7951f3f7f494a58b1c22959cc4b75665a8296fa80e2fdc | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* 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 law ... | C# | SampleSpeechToTextConverter/Assets/Watson/Scripts/Services/PersonalityInsights/v3/PersonalityInsights.cs | aparant777/SimpleProjectLineups | gpl-3.0 | 7,580 | 211 | codeparrot/github-code |
ff70e55a69b9addd03cedfe905caf799b19c4385fa71de550dd493d2e6f9a29b | package berkay.ders.mobilprogramlama.phonestate;
import android.content.Intent;
import android.os.Handler;
import android.os.ResultReceiver;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import java... | Java | Introduction to Mobile Programming -- 2015-2016/Phone State/PhoneState/app/src/main/java/berkay/ders/mobilprogramlama/phonestate/MainActivity.java | mustafaberkaymutlu/ytu-homeworks | gpl-3.0 | 4,066 | 103 | codeparrot/github-code |
da3cb9c2c6d5663f9075543dabc76b579b9d43322ba9da74cc7d94b69a1a790a | package com.tajpure.scheme.compiler.value.premitives
import com.tajpure.scheme.compiler.value.BoolValue
import com.tajpure.scheme.compiler.value.PrimFunc
import com.tajpure.scheme.compiler.Scope
import com.tajpure.scheme.compiler.exception.CompilerException
import com.tajpure.scheme.compiler.ast.Node
import com.tajpur... | Scala | src/main/scala/com/tajpure/scheme/compiler/value/premitives/SetValue.scala | tajpure/SoScheme | gpl-3.0 | 804 | 33 | codeparrot/github-code |
9ed3165b3cddd0306616b768ccd382310bd6d9bff6cb8f8d1c25fe5fd0dc7741 | --奇犽的生日礼物
function c50000055.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,50000055)
e1:SetCost(c50000055.cost)
e1:SetTarget(c50000055.target)
... | Lua | expansions/script/c50000055.lua | MonokuroInzanaito/ygopro-777DIY | gpl-3.0 | 1,986 | 57 | codeparrot/github-code |
609ed569ec61e4ed98cf928f3cf60a68d4dd3ac72c46768fd1575257dd58eacb | /*
* Symphony - A modern community (forum/SNS/blog) platform written in Java.
* Copyright (C) 2012-2017, b3log.org & hacpai.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 ve... | Java | src/main/java/org/b3log/symphony/processor/CommentProcessor.java | anvarzkr/symphony | gpl-3.0 | 15,876 | 391 | codeparrot/github-code |
3f924551130564e4ad69815366ce65d0231968864080f05b512d74550142846b | // Copyright (c) 2012 Oliver Lau <ola@ct.de>, Heise Zeitschriften Verlag
// All rights reserved.
#include "util.h"
#include <qmath.h>
QRgb rgbFromWaveLength(qreal wave)
{
qreal r = 0, g = 0, b = 0;
if (wave >= 380 && wave <= 440) {
r = -(wave - 440) / (440 - 380);
b = 1;
}
else if (wa... | C++ | util.cpp | ola-ct/mikromosaik | gpl-3.0 | 1,512 | 57 | codeparrot/github-code |
834e94ab34560d42f6bd15488a2d0d6e9454f29d5f76dcb9542a99cb64149e3e | /*
* Copyright (C) 2019 Timo Vesalainen <timo.vesalainen@iki.fi>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ve... | Java | util/src/test/java/org/vesalainen/time/MutableInstantTest.java | tvesalainen/util | gpl-3.0 | 2,464 | 83 | codeparrot/github-code |
787b4a2ee013faa3845beae0c3fca0fb05c2f87a4cf1f52be5afdabe07ff2125 | /*******************************************************************************
* Copyright (c) 2019 German Federal Institute for Risk Assessment (BfR)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free So... | Java | de.bund.bfr.knime.pmmlite.views/src/de/bund/bfr/knime/pmmlite/views/SingleSelectionViewSettings.java | SiLeBAT/BfROpenLab | gpl-3.0 | 2,555 | 84 | codeparrot/github-code |
6fb790f64685523f7aba1d9e21c280c08aa29f4929ee6a6e7a2387d624e461aa | #include "stdafx.h"
using namespace System::Linq;
namespace JsPie { namespace Scripting { namespace V8 {
GlobalCallbacks::GlobalCallbacks(IScriptEnvironment^ environment)
{
_pConsoleCallbacks = new ConsoleCallbacks();
auto controllerIds = Enumerable::ToList(Enumerable::Union(
environment->ControllerDirec... | C++ | src/JsPie.Scripting.V8/GlobalCallbacks.cpp | deftflux/JsPie | gpl-3.0 | 2,120 | 76 | codeparrot/github-code |
8529797a4f3c93ff8561cbf12674d01db58541a6c32636c06be014a7625d5211 |
%% bare_conf.tex
%% V1.4
%% 2012/12/27
%% by Michael Shell
%% See:
%% http://www.michaelshell.org/
%% for current contact information.
%%
%% This is a skeleton file demonstrating the use of IEEEtran.cls
%% (requires IEEEtran.cls version 1.8 or later) with an IEEE conference paper.
%%
%% Support sites:
%% ... | TeX | paper/BadMonitoring.tex | JBmiog/ET4394-Wireless-Networking | gpl-3.0 | 24,181 | 546 | codeparrot/github-code |
9c811eca5b5fe1834a160d9ecb27f21951b995483184d75122f21d1cdff1a095 | /*****************************************************************
* 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... | Java | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/manager/impl/ReportSynthesisKeyPartnershipCollaborationPmuManagerImpl.java | CCAFS/MARLO | gpl-3.0 | 3,312 | 78 | codeparrot/github-code |
dc14db9c5743f1fdd305f19110b5e824b75ca89b783aa0624f7cbe542ddaa2b5 | /*
* Copyright (C) 2016 Nikos Katzouris
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is d... | Scala | src/main/scala/experiments/datautils/maritime_data/new_attempt/MaritimeToMongo.scala | nkatzz/OLED | gpl-3.0 | 16,466 | 420 | codeparrot/github-code |
004143afb59e46ca4d2b601dd3e9fead087e337f1f674a24273545e8fcf103ac | from __future__ import unicode_literals
from frappe import _
app_name = "erpnext"
app_title = "ERPNext"
app_publisher = "Frappe Technologies Pvt. Ltd."
app_description = """ERP made simple"""
app_icon = "fa fa-th"
app_color = "#e74c3c"
app_email = "info@erpnext.com"
app_license = "GNU General Public License (v3)"
sour... | Python | erpnext/hooks.py | ESS-LLP/erpnext-healthcare | gpl-3.0 | 14,269 | 311 | codeparrot/github-code |
566ec911082529ecb3f1c995eb061f8fb8ee617fe7167436e78c828613279aa3 | /***************************************************************************
* Copyright (C) 2012 by santiago González *
* santigoro@gmail.com *
* *
* This pr... | C++ | src/simulator/graphic/pin.cpp | jdpillon/simulide | gpl-3.0 | 4,556 | 143 | codeparrot/github-code |
a9859123b2391fae7f0b1694e048543c7ee1be0d655fe241747c04400678490f | //
// HttpListener.cs
// Copied from System.Net.HttpListener
//
// Author:
// Gonzalo Paniagua Javier (gonzalo@novell.com)
//
// Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
// Copyright (c) 2012 sta.blockhead (sta.blockhead@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaini... | C# | src/server/websocket-sharp/Net/HttpListener.cs | pasanzaza/Dragonbound | gpl-3.0 | 9,433 | 373 | codeparrot/github-code |
310fae0811a6230f38787855840fca11c424da252c6348242a6d445b3f54d55c | <?php
/**
* Guild - Topic Daily Build System.
*
* @link http://git.intra.weibo.com/huati/daily-build
* @copyright Copyright (c) 2009-2016 Weibo Inc. (http://weibo.com)
* @license http://www.gnu.org/licenses/gpl-3.0.txt GPL License
*/
namespace Library\Model;
use Library\Util\Config;
class SVNModel... | PHP | library/model/SVNModel.php | GenialX/guild | gpl-3.0 | 6,535 | 250 | codeparrot/github-code |
1a78c41fb82e6ef8df3482e993220326ba671c6160a6b4477f18d6a0a301b606 | # 001-gentoo-install-x86_stage3.sh -- Gentoo Stage 3 install script v0.1
# Copyright (C) 2011 Vishwanath Venkataraman (thelinuxguyis@yahoo.co.in)
# This program is relased under GNU GPL Version 3, 29 June 2007
# For conditions of distribution and use, see copyright notice in COPYRIGHT.txt
# This is free software; the F... | Shell | scripts/001-gentoo-install-x86_stage3.sh | Spingentoo/FluxboxSpins86 | gpl-3.0 | 6,826 | 183 | codeparrot/github-code |
d9e10640c00f0242f7ef8d7dd01e904c34952c714fdc56620d5644868632ff9e | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
<link rel="stylesheet" href="../../stylesheet.css">
<link rel="stylesheet" href="stylesheet.css">
<link rel="stylesheet" href="../../../../../Help/stylesheet.css">
</HEAD>... | HTML | Source_Elements/Default/help/en/Actions/Get_control_text.html | bichlepa/AutoHotFlow | gpl-3.0 | 3,484 | 70 | codeparrot/github-code |
af43f8d5cfc3e7f7a63daa0bf366ba26b263f6b3ca0b5d096368d35570449f01 | /*
Copyright 2009-2022 Lianqi Wang <lianqiw-at-tmt-dot-org>
This file is part of Multithreaded Adaptive Optics Simulator (MAOS).
MAOS 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 ... | C | mex/io.c | lianqiw/maos | gpl-3.0 | 21,138 | 839 | codeparrot/github-code |
eb5dd2f2e0e872f2b6da7d7a46b405ecfd1393007be2cbfc3459a6cd7f857c9b | /*
* rele,
*
*
* Copyright (C) 2016 Davide Tateo
* Versione 1.0
*
* This file is part of rele.
*
* rele 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... | C | rele/include/rele/IRL/utils/NonlinearHessianFactory.h | AIRLab-POLIMI/ReLe | gpl-3.0 | 2,102 | 74 | codeparrot/github-code |
f33f3711f06ad8b9b54e0303ec99b82db93506bbad15dfac63ae3148ebef92dd | -- Copyright (C) 2022 veden
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
-- This program is distributed in the... | Lua | prototypes/utils/AttackBall.lua | veden/Rampant | gpl-3.0 | 7,067 | 157 | codeparrot/github-code |
a3610f4be928ba742ac1d5d6149dc9e46e9c3b1cf0f23611fdf6c0dc875a5633 | using System;
using System.IO;
using Nez;
namespace Otiose2D.Input
{
public class MouseBindingSource : BindingSource
{
public Mouse Control { get; protected set; }
public static float ScaleX = 0.2f;
public static float ScaleY = 0.2f;
public static float ScaleZ = 0.2f;
... | C# | src/input/system/MouseBindingSource.cs | Blucky87/Otiose2D | gpl-3.0 | 4,205 | 174 | codeparrot/github-code |
3f0ac3a64e6d0408ee10af585f00f9fdafdc5866d89b5e6edf22ab97b645176d | "use strict";
let templatePad = function (n, padTemplate) {
let str = (n).toString();
return (padTemplate + str).substring(str.length);
};
let formatByte = function (n) {
return templatePad(n.toString(16).toLocaleUpperCase(), '00');
};
let instructionProperties = [
'note',
'instrument_high','instrument_low',
'... | JavaScript | js/vue-channel.js | AdmiralPotato/ars-tracker | gpl-3.0 | 17,517 | 568 | codeparrot/github-code |
fb2e3f0fc6dbb64b65433750a4dfe5034926e8a14d3ca163a9649cdd27a550c7 | package se.nordicehealth.servlet.impl.request.user;
import java.util.Map;
import java.util.Map.Entry;
import se.nordicehealth.common.impl.Packet;
import se.nordicehealth.servlet.core.PPCDatabase;
import se.nordicehealth.servlet.core.PPCLogger;
import se.nordicehealth.servlet.impl.QuestionData;
import se.nordicehealth... | Java | src/main/java/se/nordicehealth/servlet/impl/request/user/LoadQuestions.java | NIASC/PROM_PREM_Collector | gpl-3.0 | 2,088 | 61 | codeparrot/github-code |
4051e15a72a8356d0b28745ff2867140aa9ed3085b6571e5e596b4fe4c701a96 | /* This file is part of Clementine.
Copyright 2010, David Sansome <me@davidsansome.com>
Clementine 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 optio... | C++ | src/ui/screensaver.cpp | clementine-player/Clementine | gpl-3.0 | 2,125 | 69 | codeparrot/github-code |
39e7f972ef2fac1ebed5f57d23f49603406f490774a9e1e2449352ade3d88697 | /*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
* Copyright (C) 2002-2011 Match Grun and the Claws Mail 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 ver... | C | QMOLEDEV/claws-mail-3.7.10/src/pine.c | chriskmanx/qmole | gpl-3.0 | 14,960 | 670 | codeparrot/github-code |
1aaad07519874e55b100a1b8fd4290f350f4ad2cb990e541baee5bd9bf1f68c4 | /*
SoftTH, Software multihead solution for Direct3D
Copyright (C) 2005-2012 Keijo Ruotsalainen, www.kegetys.fi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at ... | C++ | src/d3dbuffer.cpp | born2beflyin/SoftTH | gpl-3.0 | 13,308 | 479 | codeparrot/github-code |
799b456fcc20292be0565840c034b4732dd3925986019f1a4925598efbcec555 | function getURLVar(key) {
var value = [];
var query = String(document.location).split('?');
if (query[1]) {
var part = query[1].split('&');
for (i = 0; i < part.length; i++) {
var data = part[i].split('=');
if (data[0] && data[1]) {
value[data[0]] = data[1];
}
}
if (value[key]) {
return ... | JavaScript | upload/catalog/view/javascript/common.js | atFriendly/opencart | gpl-3.0 | 15,311 | 556 | codeparrot/github-code |
7e026802ddcd3cc4577cd85df01a7e38e899b0c0ab7126c9f6b3e65905cefd59 | """__Main__."""
import sys
import os
import logging
import argparse
import traceback
import shelve
from datetime import datetime
from CONSTANTS import CONSTANTS
from settings.settings import load_config, load_core, load_remote, load_email
from settings.settings import load_html, load_sms
from core import read_structure... | Python | pyHomeVM/__main__.py | Hoohm/pyHomeVM | gpl-3.0 | 5,792 | 147 | codeparrot/github-code |
8d4332eb07b792c97317c432c9ad64fd107a8ba9289318d27115386e7b3efa22 | <?php
require_once("check2.php");
//1.上传文件类型
$filetype = getFileType($_FILES["file"]["name"]);
$filetype = strtolower($filetype);
//2.上传文件大小
$filesize = ($_FILES["file"]["size"] / 1024);
//3.当前日期
$showtime = date("Y-m-d");
//4.原input id赋值
$parentid = $_REQUEST["parentid"];
//5.原ID值是否叠加
$parentadd = $_REQUEST["parenta... | PHP | core/manage/upload_file.php | breakkdreams/youchu | gpl-3.0 | 3,398 | 138 | codeparrot/github-code |
5ececa2604cf33a848f7166d8f4249d0038d1a25a81cbf58811a6becb8c45e02 | <?php
/*
* Copyright 2014 REI Systems, Inc.
*
* This file is part of GovDashboard.
*
* GovDashboard is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opti... | PHP | webapp/sites/all/modules/platform/data_controller_datasource/nosql/hadoop/webhdfs/common/curl/WebHDFS_CURLProxy.php | REI-Systems/GovDashboard-Community | gpl-3.0 | 1,982 | 56 | codeparrot/github-code |
517d410ea84a959446e5a8c72317acc8339cca658bb1e66849c80e0dc711ae4d | /* This file is part of Dilay
* Copyright © 2015-2018 Alexander Bau
* Use and redistribute under the terms of the GNU General Public License
*/
#include <array>
#include <glm/gtx/norm.hpp>
#include "dynamic/mesh.hpp"
#include "isosurface-extraction/grid.hpp"
#include "mesh.hpp"
#include "primitive/aabox.hpp"
#includ... | C++ | lib/src/isosurface-extraction/grid.cpp | abau/dilay | gpl-3.0 | 34,104 | 858 | codeparrot/github-code |
5cea5e97f13ab45d3885583ee2da9ae7dc68b64ecb08d842e14584697a573e6a | #!/usr/bin/perl
package Koha::Reporting::Table::Abstract;
use Modern::Perl;
use Moose;
use Data::Dumper;
use C4::Context;
use Scalar::Util qw(looks_like_number);
use Try::Tiny;
has 'primary_id' => (
is => 'rw',
reader => 'getPrimaryId',
writer => 'setPrimaryId'
);
has 'name' => (
is => 'rw',
read... | Perl | Koha/Reporting/Table/Abstract.pm | KohaSuomi/kohasuomi | gpl-3.0 | 15,678 | 638 | codeparrot/github-code |
817ac7ad1aecc4c493df0862c4cdf23e5a1cbbb1a4d0cfcaa2b3d9fc995a018b | /*******************************************************************************
* Tobacco - A portable and reusable game engine written in Java.
* Copyright © 2016 Nirei
*
* This file is part of Tobacco
*
* Tobacco is free software: you can redistribute it and/or modify
* it under the terms of the GNU General P... | Java | tobacco-game-test/src/tobacco/game/test/collisions/BulletRemovalCollisionHandler.java | Nirei/Tobacco | gpl-3.0 | 2,032 | 60 | codeparrot/github-code |
8149547b360f6fef89491c8f2bb81e47e2eb434e5e1145253de708faa8ae60ff | package org.renjin.gcc.codegen.expr;
import org.renjin.gcc.InternalCompilerException;
import org.renjin.gcc.codegen.MethodGenerator;
import org.renjin.gcc.codegen.array.ArrayExpr;
import org.renjin.gcc.codegen.array.ArrayTypeStrategy;
import org.renjin.gcc.codegen.call.CallGenerator;
import org.renjin.gcc.codegen.call... | Java | tools/gcc-bridge/compiler/src/main/java/org/renjin/gcc/codegen/expr/ExprFactory.java | jukiewiczm/renjin | gpl-3.0 | 20,321 | 537 | codeparrot/github-code |
9d936b6da8d6de45c28517ab2a60f26658ee7174ca7fb6efd502dcffc1c4a890 | #include "adminaddmemberwv.h"
void AdminAddMemberWV::processItems(){
const QString & type = intro->cgetType();
const QString & nick = bio->cgetField("nick");
const QString & name = bio->cgetField("name");
const QString & surname = bio->cgetField("surname");
const QString & birthDay = bio->cgetFie... | C++ | adminaddmemberwv.cpp | Polpetta/LinQedIn | gpl-3.0 | 1,978 | 85 | codeparrot/github-code |
dabb205afdbc12591a265cd461c21f39ab8e57ffcfb03e21fd9d90b3909865ae | <!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0... | HTML | index.html | RJFeddeler/DrawBotPanel | gpl-3.0 | 75,087 | 1,007 | codeparrot/github-code |
bc7b8c0f42575ce017eaefca2c8575790c922fc4fb7422e54e6f3a8b8049b9d7 | # Copyright 2016 Casey Jaymes
# This file is part of PySCAP.
#
# PySCAP 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.
#
# PySCAP is ... | Python | src/scap/model/oval_5/defs/windows/EntityStatePeSubsystemType.py | cjaymes/pyscap | gpl-3.0 | 1,004 | 31 | codeparrot/github-code |
500a5e4fe8ecb7a97c513ffca8558aeda6a348e4383f2a867648a86da8229e2d | #!/usr/bin/env python
#
# Copyright 2013 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio 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, or (at your option)
... | Python | gr-digital/python/qa_ofdm_txrx.py | Gabotero/GNURadioNext | gpl-3.0 | 5,471 | 143 | codeparrot/github-code |
7e05de52fc0705ae995064630ebbc9f17450df816deb433718879d94d8403b1b | /*
Kuji16 Flash MCU Programmer
Copyright (C) 2014-2016 Kari Sigurjonsson
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This ... | C | kernal16.c | paurinn/kuji16 | gpl-3.0 | 8,826 | 377 | codeparrot/github-code |
09c48cf5991bb39846fba62a9eddb86dbc20561ac01a4251f78ceb98183b8fe0 | package gov.nasa.gsfc.seadas.processing.general;
import com.bc.ceres.swing.TableLayout;
import gov.nasa.gsfc.seadas.processing.core.ProcessorModel;
import gov.nasa.gsfc.seadas.processing.utilities.SheetCell;
import gov.nasa.gsfc.seadas.processing.utilities.SpreadSheet;
import org.esa.beam.framework.ui.ModalDialog;
imp... | Java | seadas-processing/src/main/java/gov/nasa/gsfc/seadas/processing/general/CallL3BinDumpAction.java | marpet/seadas | gpl-3.0 | 7,144 | 193 | codeparrot/github-code |
b4e9ee0516977bbbb5708333fd9c70cec60903cab34524c0dbff1f1d40b243d5 | using System;
using System.Drawing;
using LeagueSharp.Common;
using VayneHunter_Reborn.External;
using VayneHunter_Reborn.External.Cleanser;
using VayneHunter_Reborn.External.ProfileSelector;
using VayneHunter_Reborn.External.Translation;
using Activator = VayneHunter_Reborn.External.Activator.Activator;
namespace Va... | C# | 英雄脚本/【红叶推介】DZ191 薇恩 重做/Utility/MenuUtility/MenuGenerator.cs | 654955321/HY_Recommend | gpl-3.0 | 11,356 | 173 | codeparrot/github-code |
8ac019f85203654c78bbcb9f5a03a9961c3fc11cfad24d7b10bc27faee772a33 | package com.dechcaudron.xtreaming.model;
import com.dechcaudron.xtreaming.repositoryInterface.IRepositoryAuthToken;
public class Repository
{
private final int repoLocalId;
private final int repoTypeCode;
private final String domainURL;
private final int port;
private final boolean requireSSL;
... | Java | Xtreaming/app/src/main/java/com/dechcaudron/xtreaming/model/Repository.java | Dechcaudron/xtreaming-app-android | gpl-3.0 | 1,615 | 67 | codeparrot/github-code |
592382a8ae410ebf0c0e19afaad6321348a862a6cb0ee57cb93dd33c58fcab3c | <?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>C128 - jgo.tools.compiler.interm.instr.C128</title>
<meta name="description" content="C128 - jgo.tools.compiler.interm.instr.C128" />
... | HTML | static/api/jgo/tools/compiler/interm/instr/C128$.html | thomasmodeneis/jgo-web | gpl-3.0 | 23,579 | 412 | codeparrot/github-code |
2a9647f71103677d62d3b11686df5ca92845ada453c197de85ece3b2e2cbc150 | /*
* ./modf.c : stdlib function
* Copyright (c) 1992 Algorithmics Ltd.
*/
#include <math.h>
#define BITSPERBYTE 8
#define BITS(type) (BITSPERBYTE * (int)sizeof(type))
#define LONGBITS BITS(long)
#define DOUBLEBITS BITS(double)
#define _IEEE 1
#define _DEXPLEN 11
#define _FEXPLEN 8
#define _HIDDE... | C | doc/linux/mips-architecture/loongson-datasheet/pmon/src/pmon-loongson3/lib/libc/modf.c | tupelo-shen/my_test | gpl-3.0 | 1,235 | 79 | codeparrot/github-code |
9d9343f4ea663d82005c59575315c6113aab6a218dbcf4a9e4b1e5412db6c469 | /**************************************************************************
* Otter Browser: Web browser controlled by the user, not vice-versa.
* Copyright (C) 2015 - 2016 Michal Dutkiewicz aka Emdek <michal@emdek.pl>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the ... | C | src/modules/windows/web/PermissionBarWidget.h | elebow/otter | gpl-3.0 | 1,606 | 63 | codeparrot/github-code |
a7feaa243eceaf5c58f6708f8bd5a74193904b3dd8848ea52058b5e3081adeb2 | package com.badlogic.gdx.math;
public class Interpolation$BounceOut extends Interpolation
{
final float[] heights;
final float[] widths;
public Interpolation$BounceOut(int paramInt)
{
if ((paramInt < 2) || (paramInt > 5))
throw new IllegalArgumentException("bounces cannot be < 2 or > 5: " + paramInt... | Java | apk/classes-ekstartk/com/badlogic/gdx/math/Interpolation$BounceOut.java | isnuryusuf/ingress-indonesia-dev | gpl-3.0 | 2,430 | 97 | codeparrot/github-code |
bad0edf8d308f9ebc56d7f1385dc89554eb971b8efcfa3001ee0a08b88b66d27 | <?php
/**
* Created by PhpStorm.
* User: Jon
* Date: 6/24/2016
* Time: 10:08 PM
*/
//usual post check.
if ($_SERVER['REQUEST_METHOD'] != 'POST') {
header('HTTP/1.1 405 Method not allowed');
header('Allow: POST');
header('Content-Type: text/html; charset=UTF-8');
exit('Invalid request, expecting POS... | PHP | app/php/siteReview/currently unused/jsonFileUpload.php | WaddellEngineering/HarMANi | gpl-3.0 | 2,173 | 69 | codeparrot/github-code |
af989d30d7d446a5301a53138c64ae8095fe850065f83730d587731b1751ba5d | <?php
namespace ModulusContact\Listeners;
use Zend\EventManager\AbstractListenerAggregate;
use Zend\EventManager\EventManagerInterface;
use Zend\ServiceManager\ServiceLocatorAwareInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
/**
* Listener attached to verify permissions if the basic guardian is select... | PHP | src/ModulusContact/Listeners/Contact.php | ZF2-Modulus/ModulusContact | gpl-3.0 | 4,053 | 149 | codeparrot/github-code |
24abe0447bb0d24d49bfe5a56b441e682871a78dd5018c48e35fea4d325f509e | /*
* 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 dp2;
/**
*
* @author Marianna
*/
public class RSS {
public static Pattern[] run(Pattern[] p, int k){
... | Java | SSDP/src/dp2/RSS.java | tarcisiodpl/ssdp | gpl-3.0 | 2,403 | 75 | codeparrot/github-code |
31e206a44d6a54cf0e75cd3896c59403a1291a5065917c662d4a18dcc4dddfb1 | #ifndef STINGER_DYNAMIC_BFS_H_
#define STINGER_DYNAMIC_BFS_H_
#include <stdint.h>
#include <unistd.h>
#include <stdbool.h>
#include <vector>
#include "stinger_net/stinger_alg.h"
#include "streaming_algorithm.h"
namespace gt {
namespace stinger {
class BreadthFirstSearch : public IDynamicGraphAlgorithm
{
... | C | lib/stinger/lib/stinger_alg/bfs/inc/dynamic_bfs.h | DynoGraph/stinger-dynograph | gpl-3.0 | 828 | 33 | codeparrot/github-code |
474eae4c8a222ada483447503303a30e04e6bbe43feb8a896eb83fc7f810644c | /**
* Genji Scrum Tool and Issue Tracker
* Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions
* <a href="http://www.trackplus.com">Genji Scrum Tool</a>
*
* 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... | Java | src/main/java/com/aurel/track/admin/customize/category/filter/FieldExpressionBL.java | trackplus/Genji | gpl-3.0 | 40,054 | 864 | codeparrot/github-code |
ab6a99473d8f3e01bdd864e5d29afb4fb9f2093e6c7ed7914da5b3c49f1f6f73 | /*
===========================================================================
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of Spearmint Source Code.
Spearmint Source Code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public Licens... | C | code/q3_ui/ui_local.h | pelya/spearmint | gpl-3.0 | 24,815 | 870 | codeparrot/github-code |
c7ba298f88e5cc6b64cc0ba78b652d52cbe302243e071f1ce5a5be6ae0de9fde | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\... | C++ | src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H | will-bainbridge/OpenFOAM-dev | gpl-3.0 | 13,474 | 397 | codeparrot/github-code |
96df49d962dd59b43cf6e7fa29f9bb247d1138398e11873fa7fc7b5cee5c212a | /**
* Java Settlers - An online multiplayer version of the game Settlers of Catan
* This file Copyright (C) 2020-2021 Jeremy D Monin <jeremy@nand.net>
*
* 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... | Java | src/test/java/soctest/message/TestTemplatesAbstracts.java | jdmonin/JSettlers2 | gpl-3.0 | 4,601 | 120 | codeparrot/github-code |
e4bd28001c55d683e596a5a236b334d0945578c3f8713d51718c1056dd9c471a | using System.ComponentModel;
using System.Web.Script.Serialization;
using MongoDB.Bson;
namespace TitanicCrawler.Albums
{
public abstract class Album
{
private string artist;
private string album;
/// <summary>
/// Creates a new Album class which takes all 6 arguments
... | C# | TitanicCrawler/Albums/Album.cs | Ramzy94/TitanicWebCrawler | gpl-3.0 | 1,790 | 69 | codeparrot/github-code |
0b79879f5250cb3e563f3100bb28394f8eceafab53fd40a18b9e44e75d160f12 | /* Vuls - Vulnerability Scanner
Copyright (C) 2016 Future Architect, Inc. Japan.
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 versio... | GO | cache/bolt.go | lapthorn/vuls | gpl-3.0 | 5,047 | 192 | codeparrot/github-code |
0c390507cc0915343ce304c7beeea7e9ec438f3a8ede882920aa67b2f1cffa8e | using System;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using System.IO;
using TranslaTale.Renderers;
using TranslaTale.Text;
using TranslaTale.Projects;
using TranslaTale.Settings;
using TranslaTale.Bookmarks;
namespace TranslaTale
{
public partial class MainForm : Form
{
... | C# | Forms/MainForm.cs | CRefice/TranslaTale | gpl-3.0 | 16,040 | 473 | codeparrot/github-code |
99f1d47fa2c8c8d69acad32e7b4d84b4ab541f606b164001705485c5bf86a7ed | /******************************************************************************
** Copyright (C) 2016 Yakup Ates <Yakup.Ates@rub.de>
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, eithe... | C++ | symmetric/cipherTWO/cipherTWO.cpp | y-ates/CryptAnalysis | gpl-3.0 | 11,805 | 522 | codeparrot/github-code |
332f8c3bdf249ff02347e1e23fa57f4416683033a3277b7d8d2103097d4c9e59 | /*
* Copyright (c) 2016 The Ontario Institute for Cancer Research. All rights reserved.
*
* This program and the accompanying materials are made available under the terms of the GNU Public License v3.0.
* ... | Java | dcc-common-test/src/main/java/org/icgc/dcc/common/test/mongodb/MongoExporter.java | icgc-dcc/dcc-common | gpl-3.0 | 3,427 | 72 | codeparrot/github-code |
f389c47326f6ed03095ffc8ab3fc40e976bc0455663db73c07047eff4d681744 | package net.minecraft.src;
import java.util.Random;
public class EntityExplodeFX extends EntityFX
{
public EntityExplodeFX(World par1World, double par2, double par4, double par6, double par8, double par10, double par12)
{
super(par1World, par2, par4, par6, par8, par10, par12);
motionX = par8 +... | Java | mcp50/src/minecraft/net/minecraft/src/EntityExplodeFX.java | sethten/MoDesserts | gpl-3.0 | 1,510 | 46 | codeparrot/github-code |
77424a9247bf47aee244f13228d552cb33ca77b13dab3705af753bdebe6e9df5 | #ifndef STORM_STORAGE_PRISM_RENAMINGCOMPOSITION_H_
#define STORM_STORAGE_PRISM_RENAMINGCOMPOSITION_H_
#include <memory>
#include <string>
#include <map>
#include <boost/optional.hpp>
#include "storm/storage/prism/Composition.h"
namespace storm {
namespace prism {
class RenamingComposition : public Compos... | C | src/storm/storage/prism/RenamingComposition.h | MazZzinatus/storm | gpl-3.0 | 1,204 | 36 | codeparrot/github-code |
034936872adc7f6b3a031bf3e9801852f6af39941be1a200c4aa45e89f93eaed | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the ... | PHP | lib/Zend/Tool/Project/Provider/Action.php | basdog22/Qool | gpl-3.0 | 9,863 | 243 | codeparrot/github-code |
0ddcd343e9e298a10a0435ec68269e80fb63feb88543c585bf8a6b8b7fab8bd5 | /**
* This file is part of alf.io.
*
* alf.io 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.
*
* alf.io is distributed in the ... | Java | src/main/java/alfio/manager/EventStatisticsManager.java | mg-1999/alf.io | gpl-3.0 | 8,171 | 159 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.