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 |
|---|---|---|---|---|---|---|---|---|
d9b116c6d7eb788ec15d5505c5040185c3d1e31c3512b571d6e661e053e46d9f | <!-- $Id: Limit.html,v 1.20 2010/11/09 19:30:28 castaglia Exp $ -->
<!-- $Source: /cvsroot/proftp/proftpd/doc/howto/Limit.html,v $ -->
<html>
<head>
<title>ProFTPD mini-HOWTO - Configuring <Limits></title>
</head>
<body bgcolor=white>
<hr>
<center><h2><b>Configuring <code><Limits></code></b></h2></center... | HTML | proftpd-1.3.4a/doc/howto/Limit.html | xichy/proftpd_optimize_xferlog | gpl-3.0 | 14,573 | 393 | codeparrot/github-code |
686dc9589f0f22a9e49f3cb6d7ea9b83c0aab0e4a968624bd8719ed86eb27bc0 | /* Interface to replace gmp-impl.h
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
it under the te... | C | src/mpfr-gmp.h | dschatzberg/mpfr | gpl-3.0 | 16,995 | 413 | codeparrot/github-code |
a709c0ec1eb8e59afafb3ecd3c68b77939f364863dd39f4abfbdcf3176686f13 | /*******************************************************************************
* Copyright 2008(c) The OBiBa Consortium. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU Gene... | Java | onyx-modules/onyx-jade/onyx-jade-core/src/main/java/org/obiba/onyx/jade/core/wicket/workstation/ExperimentalConditionDialogHelperPanel.java | obiba/onyx | gpl-3.0 | 3,926 | 91 | codeparrot/github-code |
f74e374699eecb6694274ffe7e078cf019707a2604518332b4bd4ada4a990856 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/logg... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc | geminy/aidear | gpl-3.0 | 18,473 | 507 | codeparrot/github-code |
2a0339b65dec1372e2a388f5108e3b1981061e95f0ef968c6fdf2e39f88c627f | /*
* Copyright 2012, 2013 Jan Dalheimer
* Copyright 2012-2016 Kai Pastor
*
* This file is part of OpenOrienteering.
*
* OpenOrienteering 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 Foundatio... | C++ | src/gui/widgets/editor_settings_page.cpp | sikmir/mapper | gpl-3.0 | 8,920 | 183 | codeparrot/github-code |
c08ba3d5bf45bf006ec9039491eb9f87d71e8e620b75f3e09542ecdb0eb86ed4 | /*
* InfraRecorder - CD/DVD burning software
* Copyright (C) 2006-2012 Christian Kindahl
*
* 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
* (a... | C++ | src/app/dialog/progress_dlg.cc | kindahl/infrarecorder | gpl-3.0 | 16,335 | 542 | codeparrot/github-code |
daaacb909c07ba434790add2bcd3910ad7f35de55609031e16f4ec5e50c2fe69 | /****************************************************************************
**
** Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB).
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdi... | C | include/QtGui/5.7.0/QtGui/private/qopenglqueryhelper_p.h | hannin/what-the-map | gpl-3.0 | 7,105 | 187 | codeparrot/github-code |
f01b85b8bc4b3370f796e3702ffc8d5a4b9ee54c6799eaf4eee9cebdfd2b649b | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace MuMech
{
public static class MathExtensions
{
public static Vector3d Sign(this Vector3d vector)
{
return new Vector3d(Math.Sign(vector.x), Math.Sign(vector... | C# | MechJeb2/MathExtensions.cs | Aarup/MechJeb2 | gpl-3.0 | 3,760 | 122 | codeparrot/github-code |
05712b5224428daee86859386a5df24e46f5971f04938fd15652c1d30df5c62b | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2.1 of the GNU Lesser General Public License
as published by the Free Software Foundation.
This program is distributed in the hope tha... | C | osprey/libf/tape/c1/acptbad.c | uhhpctools/openuh-openacc | gpl-3.0 | 2,571 | 97 | codeparrot/github-code |
923f4ccb81d980b213fd5e50e801e11526b47105924a5ebae939067839c744b9 | /**************************************************************************
* Otter Browser: Web browser controlled by the user, not vice-versa.
* Copyright (C) 2013 - 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/widgets/action/NavigationActionWidget.h | pierreporte/otter-browser | gpl-3.0 | 1,579 | 50 | codeparrot/github-code |
9aafa0359f5688dc117016e4d342efa644ae99792ab0cb7044146541f9a3fa5b | /*
* Java Information Dynamics Toolkit (JIDT)
* Copyright (C) 2017, Joseph T. Lizier
*
* 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 | java/source/infodynamics/utils/commonsmath3/exception/util/LocalizedFormats.java | jlizier/information-dynamics-toolkit | gpl-3.0 | 31,054 | 444 | codeparrot/github-code |
39764bd331ac6a8d539c9929363ea7203d32fba5efd787de8f377f1794685050 | 'use strict';
angular.module('core').directive('portsDirective', [
function () {
return {
templateUrl: '/modules/core/directives/views/directive-ports.core.client.view.html',
restrict: 'E',
scope: {
ports: '=',
displayExternalPort: '=',
... | JavaScript | public/modules/core/directives/ports-directive.client.directive.js | docktor/docktor | gpl-3.0 | 1,246 | 40 | codeparrot/github-code |
c5e26083806db14a9a2bdae36843495743bbb1d650ee13235c70a4708c462b36 | //
// ID Engine
// ID_IN.c - Input Manager
// v1.0d1
// By Jason Blochowiak
//
//
// This module handles dealing with the various input devices
//
// Depends on: Memory Mgr (for demo recording), Sound Mgr (for timing stuff),
// User Mgr (for command line parms)
//
// Globals:
// LastScan - The keyboard scan code o... | C | wf3d8086/id_in.c | sparky4/owwolf3d | gpl-3.0 | 22,314 | 991 | codeparrot/github-code |
aa91624c16f3bbb8f8091870e99dfd8f43d009abff6bc36315972eafdcdc4031 | /*
* This file is part of muCommander, http://www.mucommander.com
*
* Copyright (C) 2014 Oleg Trifonov
*
* muCommander is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or... | Java | src/main/com/mucommander/cache/WindowsStorage.java | raisercostin/mucommander-2 | gpl-3.0 | 7,155 | 245 | codeparrot/github-code |
f75ecc080576e4e177332f9aa0e5921796af89899a71fc6d3cad90d51a099477 | /*
* Copyright 2007 Xu, Chuan <xuchuan@gmail.com>
*
* This file is part of ZOJ.
*
* ZOJ 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 ... | C++ | judge_client/client/native_runner.cc | watashi/zoj | gpl-3.0 | 5,033 | 174 | codeparrot/github-code |
4026da5bbac06a8208893bf564491579982e661f3f3372289e02542ee74094ac | /*
* This file is part of the libsigrok project.
*
* Copyright (C) 2013 Marc Schink <sigrok-dev@marcschink.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Li... | C | src/input/csv.c | ant9000/libsigrok | gpl-3.0 | 20,922 | 830 | codeparrot/github-code |
9d8af5619337c771fdf26c7364cb739e552c218a845148dc51ab36bb3b891425 | <!DOCTYPE html>
<head>
<title>marked example</title>
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script charset="UTF-8" src="resources/data/guide/built_guide.js"></script>
<script src="js/marked.js"></script>
<!--<script src="js/remarkab... | HTML | Documentation/html_viewer/guide.html | techstrategies/livecode-ide | gpl-3.0 | 5,512 | 168 | codeparrot/github-code |
5d2e0cdeed9e85754a0b11889461e1baf2d63598247a40be6e0cbe3d468c3ae8 | # -*- coding: utf-8 -*-
"""
InaSAFE Disaster risk assessment tool developed by AusAid -
**metadata module.**
Contact : ole.moller.nielsen@gmail.com
.. note:: 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 Sof... | Python | safe/metadata/property/boolean_property.py | Gustry/inasafe | gpl-3.0 | 1,696 | 59 | codeparrot/github-code |
aa264fc2c80d7f1e0fec58fa8bcb45bb67e058ee3f7147b71dbc5a8b51eee32f | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
import datetime
from frappe import _, msgprint, scrub
from frappe.defaults import get_user_permissions
from frappe.model.utils import get... | Python | erpnext/accounts/party.py | emmuchira/kps_erp | gpl-3.0 | 16,798 | 421 | codeparrot/github-code |
2107cf1fa7fba999efc1904628f8b6826fb8903fd238f9a90ec6791621a2d680 | //
// C++ Interface: ScriptingService
//
// 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; either vers... | C | src/services/scripting/ScriptingService.h | zomeelee/ember | gpl-3.0 | 4,489 | 165 | codeparrot/github-code |
cce7ea07a1ef26aeabcd00601c8a8e4314af52e6d5fc20db17bc78be68433acf | /***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* obje... | C++ | dependencies/server_files/gamemod_common/addons/monster/source/dlls/hornet.cpp | evandrocoan/Galileo | gpl-3.0 | 9,897 | 373 | codeparrot/github-code |
7fe58aa315620de44532c792bdeb10c94ff5a7a4b67dc23e9c1abaa64e2ca39a | /* Copyright (C) 2013, 2014 Olga Yakovleva <yakovleva.o.v@gmail.com> */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU Lesser General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your optio... | Java | src/java/android/service/src/com/github/olga_yakovleva/rhvoice/TTSEngine.java | iakov/RHVoice | gpl-3.0 | 2,089 | 64 | codeparrot/github-code |
dc4dd03c6610d7515ff000e9813376ddf72d0efa1234fc7e146bba1f5af7e36b |
'use strict';
const validator = require('validator');
const _ = require('lodash');
const db = require('./database');
const batch = require('./batch');
const user = require('./user');
const utils = require('./utils');
const plugins = require('./plugins');
const events = module.exports;
events.types = [
'plugin-act... | JavaScript | src/events.js | NodeBB/NodeBB | gpl-3.0 | 3,992 | 163 | codeparrot/github-code |
c1053461d2a4830ff0642c9ddb08c7011e9cdbcc508059b0e1a854f71f070859 | /* MSPcrunchComparisonData.java
*
* created: Tue Apr 4 2000
*
* This file is part of Artemis
*
* Copyright (C) 2000 Genome Research 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 Foun... | Java | uk/ac/sanger/artemis/MSPcrunchComparisonData.java | mrGeen/Artemis | gpl-3.0 | 5,099 | 151 | codeparrot/github-code |
f2b92ba3a608a1121f1e4b00d52b65250d8c4e11a672ada9a8c036fa8e8875f6 | /*
* $Revision: 2566 $
*
* last checkin:
* $Author: gutwenger $
* $Date: 2012-07-07 23:10:08 +0200 (Sa, 07. Jul 2012) $
***************************************************************/
/** \file
* \brief Declaration of class VariableEmbeddingInserter2.
*
* \author Carsten Gutwenger<br>Jan Papenfuß
... | C | thirdparty/OGDF/ogdf/planarity/VariableEmbeddingInserter2.h | jukkes/TulipProject | gpl-3.0 | 4,344 | 162 | codeparrot/github-code |
b17065d514e888b84ee6c9d901980f55da4f4bdc672064ddfdc8bd4a1f14e21e | package net.minecraft.server;
import java.util.Random;
import org.bukkit.BlockChangeDelegate; // CraftBukkit
public class WorldGenTaiga2 extends WorldGenerator {
public WorldGenTaiga2() {}
public boolean a(World world, Random random, int i, int j, int k) {
// CraftBukkit start
// sk: The id... | Java | src/main/java/net/minecraft/server/WorldGenTaiga2.java | didoupimpon/CC152 | gpl-3.0 | 3,874 | 116 | codeparrot/github-code |
0740c572bd76ab640d2351ed6749ac19508c95fd2282cce343f3f8f372eb6383 | // StanfordLexicalizedParser -- a probabilistic lexicalized NL CFG parser
// Copyright (c) 2002, 2003, 2004, 2005 The Board of Trustees of
// The Leland Stanford Junior University. All Rights Reserved.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Pu... | Java | Stanford parser/stanford-parser-2010-08-16/stanford-parser-2010-08-16/src/edu/stanford/nlp/parser/ui/ParserPanel.java | FabianFriedrich/Text2Process | gpl-3.0 | 29,797 | 842 | codeparrot/github-code |
d731736c95fbe4ff7c0f9a310f689759f5615565e0b71ed9c8db25d1eadbd2e1 | /*
* Copyright (C) 2010-2013 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2010-2013 Oregon <http://www.oregoncore.com/>
* Copyright (C) 2006-2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
*
* This program is ... | C++ | src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp | SkyFire243/Core | gpl-3.0 | 6,951 | 217 | codeparrot/github-code |
e0160e326e368b34ab4a9681ec41ca34b87fd3aec25e2297f1daf0bcd282048f | /*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 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 ver... | Java | src/main/java/appeng/block/misc/BlockQuartzGrowthAccelerator.java | SKCraft/Applied-Energistics-2 | gpl-3.0 | 4,289 | 155 | codeparrot/github-code |
4c36bca78ec6a3dac629a9003824fb97f09cfc60ecdf89732bf6c067e8e41194 | #region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | C# | OpenRA.Mods.Common/Traits/Render/RenderVoxels.cs | gaoch023/OpenRA | gpl-3.0 | 4,650 | 117 | codeparrot/github-code |
2dba1c930f01c27af2f7906b95e95d4e0ae39f05ecacdfc3867f964418bd5b45 | /*
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2005-2012 MaNGOS <http://www.getmangos.com/>
* Copyright (C) 2008-2012 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | C++ | src/server/game/Scripting/ScriptSystem.cpp | SkyFireArchives/SkyFireEMU_420 | gpl-3.0 | 7,949 | 230 | codeparrot/github-code |
f6f8eb053c9e35070091a40c899b56af9bf652f45925b4bcf51c02d97603f2b6 | /*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.de)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option)
* any late... | Java | beam/beam-visat-rcp/src/main/java/org/esa/beam/visat/dialogs/DateValidator.java | lveci/nest | gpl-3.0 | 2,211 | 60 | codeparrot/github-code |
7c72615cfc1ee91f7b01063a7cf9bfa1523f5383709e74a6a55bea7ccb31d06a | namespace ElZilean
{
using System;
using System.Collections.Generic;
using System.Linq;
using EloBuddy;
using LeagueSharp.Common;
using SharpDX;
internal class CPrediction
{
private static float _boundingRadiusMultiplicator = 0.65f;
public static float BoundingRadius... | C# | Core/Champion Ports/Zilean/ElZilean/Prediction.cs | saophaisau/port | gpl-3.0 | 6,362 | 157 | codeparrot/github-code |
7c1e9ed0259e95ff459dbce3b036b97dd607d02b7e575cf383a4716aad3c0af8 | /* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright © 2016-2021 The TokTok team.
*/
#include "tox.h"
#include <stdlib.h>
#include <string.h>
#include "ccompat.h"
#include "tox_private.h"
#define SET_ERROR_PARAMETER(param, x) \
do { \
if (param != nullptr) { \
... | C | toxcore/tox_api.c | TokTok/c-toxcore | gpl-3.0 | 3,770 | 120 | codeparrot/github-code |
5021a08e986158260f386564c3145041faa4d9b5744cc847edb199266d941d4e | from __future__ import (absolute_import, division, print_function)
import unittest
import os
import shutil
import sys
import mantid.kernel.plugins as plugins
from mantid.api import AlgorithmFactory, AlgorithmManager
__TESTALG__ = \
"""from mantid.api import PythonAlgorithm, AlgorithmFactory
class TestPyAlg(PythonAl... | Python | Framework/PythonInterface/test/python/mantid/kernel/PythonPluginsTest.py | dymkowsk/mantid | gpl-3.0 | 1,990 | 66 | codeparrot/github-code |
3d73ce2b49c1e72b0e6672d6b00b495546386a5b8291791d6427982df089fa98 | <?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 license an... | PHP | library/Zend/Tool/Project/Context/Filesystem/File.php | areeves/openfisma | gpl-3.0 | 4,634 | 175 | codeparrot/github-code |
f89223547e0fe4fe33969284faaddbf855ed9c71a6b90997ac2e480902d01c86 | # -*- coding: utf-8 -*-
'''
Genesis Add-on
Copyright (C) 2015 lambda
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 ... | Python | resources/lib/resolvers/clicknupload.py | freeworldxbmc/pluging.video.Jurassic.World.Media | gpl-3.0 | 2,319 | 66 | codeparrot/github-code |
642793d10ae474930336cae0208e51f953e9af4df2d302294b9d71c0a556b21d | /* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* atio... | C | ui/ui_companion_driver.h | rootfather/RetroArch | gpl-3.0 | 6,964 | 238 | codeparrot/github-code |
60b898aacdaa532095e8435d7530c9f17473fe4e3af9a05d47d4e18469bb8a41 | //===--- SemaModule.cpp - Semantic Analysis for Modules -------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C++ | 3rd/templight/clang/lib/Sema/SemaModule.cpp | sabel83/metashell | gpl-3.0 | 27,715 | 711 | codeparrot/github-code |
dfbe0a16573e4b8d525efb7cbb834d7149d5a66528cc69ed460dd85f67f101a2 | // Copyright (C) 2008 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_BOUND_FUNCTION_POINTER_KERNEl_1_
#define DLIB_BOUND_FUNCTION_POINTER_KERNEl_1_
#include "../algs.h"
#include "../member_function_pointer.h"
#include "bound_function_pointer_kern... | C | src/dlib/dlib/bound_function_pointer/bound_function_pointer_kernel_1.h | drptbl/sqlassie | gpl-3.0 | 22,492 | 761 | codeparrot/github-code |
544ac9d610462b1a13e3d67c6b170e75025a0a1803608393add792c783064014 | // $Id: farbtastic.js,v 1.3 2009/01/08 22:53:01 unconed Exp $
// Originaly from acko : http://acko.net/dev/farbtastic
// Modified by kent1 for new jQuery compatibility
// Farbtastic 1.3.1
jQuery.fn.farbtastic = function (callback) {
$.farbtastic(this, callback);
return this;
};
jQuery.farbtastic = function (conta... | JavaScript | lib/farbtastic_1_3_1/farbtastic.js | phenix-factory/fci-obedience | gpl-3.0 | 9,316 | 331 | codeparrot/github-code |
31fde5741c0011abc67efb3b15a95dfba3823ccc91300f98ef333d282f236273 | <?php
/**
* @package Arastta eCommerce
* @copyright 2015-2017 Arastta Association. All rights reserved.
* @copyright See CREDITS.txt for credits and other copyright notices.
* @license GNU GPL version 3; see LICENSE.txt
* @link https://arastta.org
*/
class ModelLocalisationReturnReason extends... | PHP | catalog/model/localisation/return_reason.php | arasttanorge/arastta | gpl-3.0 | 4,384 | 107 | codeparrot/github-code |
c01cd2a89bcc6c8d86024b0782603c99e918aba1e238b473dc03179914c597f5 | /*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | C | WebKit/Source/WebKit/chromium/src/WebDOMEventListenerPrivate.h | cs-au-dk/Artemis | gpl-3.0 | 3,401 | 94 | codeparrot/github-code |
bd1fc941051252067876765b8833af5d56ebb91418337b0504d228c42194542c | package org.mifos.selfserviceapp.ui.adapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import org.mifos.selfserviceapp.R;
import org.mifos.selfserviceapp.m... | Java | app/src/main/java/org/mifos/selfserviceapp/ui/adapters/ClientListAdapter.java | prashanthkomuravelli/self-service-app | mpl-2.0 | 2,231 | 83 | codeparrot/github-code |
fdaba38d522ed20f1b175e054ea7b752792cb339567a50a9204ae5c8aa946e12 | /* Copyright (c) 2013-2015 Jeffrey Pfau
*
* 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 "IOViewer.h"
#include "GameController.h"
#include <QComboBox>... | C++ | src/platform/qt/IOViewer.cpp | iracigt/mgba | mpl-2.0 | 31,018 | 1,214 | codeparrot/github-code |
bfa50a7940c3e853d2b249d1dc4eab0a48a66d5014772e693be446f35c960a75 | /* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... | C | targetlibs/nrf5x/nrf51_sdk/components/drivers_nrf/timer/nrf_drv_timer.c | dptechnics/Espruino | mpl-2.0 | 12,617 | 349 | codeparrot/github-code |
8b0fa7b471b6ed683d9facd8e2e6dfd73ec6fb809ea7794504021b3fb2f10e4a | import { inject as service } from '@ember/service';
import { setProperties } from '@ember/object';
import { hash } from 'rsvp';
import Route from '@ember/routing/route';
import ClusterRoute from 'vault/mixins/cluster-route';
export default Route.extend(ClusterRoute, {
version: service(),
store: service(),
befor... | JavaScript | ui/lib/replication/addon/routes/application.js | quixoten/vault | mpl-2.0 | 1,122 | 45 | codeparrot/github-code |
503d24e3e155f917d73e4b6687726e31a32bd73181853b09148dcc7baddf9012 | /* 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/. */
//! Rendering logic related to the vertex shaders and their states, uncluding
//! - Vertex Array Objects
//! - v... | Rust | webrender/src/renderer/vertex.rs | servo/webrender | mpl-2.0 | 37,487 | 1,130 | codeparrot/github-code |
c5d397d3b0138f6abfb477aba0da3cf4ad9e140674407807286e4d4fdfb7bef4 |
jQuery.extend({
createUploadIframe: function(id, uri)
{
//create frame
var frameId = 'jUploadFrame' + id;
if(window.ActiveXObject) {
var io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />');
if(typeof uri== '... | JavaScript | zxAdmin/html/foot/js/ajaxfileupload.js | zxinStar/footshop | agpl-3.0 | 6,690 | 201 | codeparrot/github-code |
1c335f9fabd2d731d92ec77e221186f23226fd1725296d4a19cffb2d7f53b2ee | /*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | Java | scheduler/scheduler-server/src/main/java/org/ow2/proactive/scheduler/policy/license/LicenseSchedulingPolicy.java | mbenguig/scheduling | agpl-3.0 | 17,159 | 359 | codeparrot/github-code |
63362c4cd08f848d1ab9285366ffa81757ad6777e93f93fbc35766ac872870ac | /***************************************************************************
tablewidgetupdatebug.cpp - description
-------------------
begin : 2009
copyright : (C) 2009 by Lalescu Liviu
email : Please see http... | C++ | src/interface/tablewidgetupdatebug.cpp | janLo/FET | agpl-3.0 | 1,529 | 36 | codeparrot/github-code |
fe3ce8918d4bb7be1c486f4f909637f5fa4bdf620bfa5404c0267985fddcd265 | /*
* Tigase Jabber/XMPP Server
* Copyright (C) 2004-2014 "Artur Hefczyc" <artur.hefczyc@tigase.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License... | Java | src/main/java/tigase/component/modules/impl/AdHocCommandModule.java | wangningbo/tigase-server | agpl-3.0 | 4,304 | 137 | codeparrot/github-code |
0e50858ff9cd19ed96a6e9584d5d534b9e47df11b9a88ea86dc8857aed85d953 | # -*- coding: utf-8 -*-
# See README.rst file on addon root folder for license details
from openerp import models, fields, exceptions, api
from openerp.tools.translate import _
class ProjectTemplateWizard(models.TransientModel):
_name = 'project.template.wizard'
project_id = fields.Many2one(
comodel... | Python | event_project/wizard/project_template_wizard.py | Endika/event | agpl-3.0 | 1,219 | 33 | codeparrot/github-code |
3dfc2ba76369fda39ea2f79d7dfada9d9b1795750a8d22c39843f8e50fc65faa | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2014 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | PHP | app/protected/core/elements/actions/ModalListLinkActionElement.php | speixoto/zurmo-for-school | agpl-3.0 | 4,063 | 99 | codeparrot/github-code |
18ff69563b756cda39091126786ceb389eaaa17a744e1e1ceb9d303fb1848ec6 | #!/usr/bin/env python
# Screen scrape list of who's standing down in the 2010 general election
# Copyright (C) 2009 Matthew Somerville
# This is free software, and you are welcome to redistribute it under
# certain conditions. However, it comes with ABSOLUTELY NO WARRANTY.
# For details see the file LICENSE.html in ... | Python | members/wikipedia-standingdown.py | henare/parlparse | agpl-3.0 | 1,078 | 34 | codeparrot/github-code |
6eb527e919d40783e25b545affbd029bb2e86b5afa3a8afbfec82c967544534a | /*
* Copyright (c) 2018 - 2019 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is ... | Java | persistence/persistence-api/src/main/java/org/cbioportal/persistence/cachemaputil/StaticRefCacheMapUtil.java | cBioPortal/cbioportal | agpl-3.0 | 4,126 | 102 | codeparrot/github-code |
76d988c0965920c02d97bf66316dd7e00fc5d0e8ee5933943e0788954390d392 | //
// Copyright (C) 2013-2018 University of Amsterdam
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// This ... | C++ | Common/sharedmemory.cpp | boutinb/jasp-desktop | agpl-3.0 | 3,449 | 118 | codeparrot/github-code |
3fbbb1ed0f878afaf5ef4c8fda4b04227593904345a5d98b7130a5d7dee703f4 | /*
* ToroDB
* Copyright © 2014 8Kdata Technology (www.8kdata.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | Java | packaging-utils/src/main/java/com/torodb/packaging/config/validation/Host.java | teoincontatto/engine | agpl-3.0 | 1,520 | 45 | codeparrot/github-code |
f7be49898c57c80357d8cc9d167ac21cb672da0d35d48f1fd317f9e68ac8a5db | /***************************************************************************
constraintmaxdaysbetweenactivitiesform.h - description
-------------------
begin : 2009
copyright : (C) 2009 by Lalescu Liviu
email :... | C | src/interface/constraintmaxdaysbetweenactivitiesform.h | fet-project/fet | agpl-3.0 | 1,884 | 49 | codeparrot/github-code |
59180c41ba4c068f0ab5acc75d8548446d73187fca27058fb85f0cf54b7a800a | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Chapt... | HTML | docs/programmer_reference/lock.html | hyc/BerkeleyDB | agpl-3.0 | 11,544 | 211 | codeparrot/github-code |
275fca5c3d336ca288c44837328ce2c9c2be0e34b29dd213fa7d68d2bddb51d1 | import SPELLS from 'common/SPELLS';
import CoreBuffs from 'parser/core/modules/Buffs';
import BLOODLUST_BUFFS from 'game/BLOODLUST_BUFFS';
class Buffs extends CoreBuffs {
buffs() {
const combatant = this.selectedCombatant;
// This should include ALL buffs that can be applied by your spec.
// This data c... | JavaScript | src/parser/monk/mistweaver/modules/features/Buffs.js | ronaldpereira/WoWAnalyzer | agpl-3.0 | 2,352 | 81 | codeparrot/github-code |
7c05a51450bebf0751c1f9e3d9fc2831f265c59ddb751859a86db7323198c244 | /**
* Copyright (C) 2001-2015 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published b... | Java | src/main/java/com/rapidminer/operator/performance/CrossEntropy.java | brtonnies/rapidminer-studio | agpl-3.0 | 3,721 | 130 | codeparrot/github-code |
2b51a4f4e7404e5811b62f4f04b904d05856f6d0c881d09c6322e323dcdc25db | /**
* Copyright (C) 2001-2015 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published b... | Java | src/main/java/com/rapidminer/gui/look/ui/ListUI.java | brtonnies/rapidminer-studio | agpl-3.0 | 1,981 | 71 | codeparrot/github-code |
62c618f92c1e6793e6a1e4af7d4c1d6489b27bab8a5f7d7b676e427daa41c118 | /*
* SessionBind.java
*
* Tigase Jabber/XMPP Server
* Copyright (C) 2004-2013 "Tigase, Inc." <office@tigase.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3... | Java | src/main/java/tigase/xmpp/impl/SessionBind.java | wangningbo/tigase-server | agpl-3.0 | 4,491 | 188 | codeparrot/github-code |
94e4cfc4ee0be5e47a0b3b9715939e3d050068c9291f8c0610f43041e41785bd | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2008-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | Java | opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/NotificationRestService.java | aihua/opennms | agpl-3.0 | 7,191 | 204 | codeparrot/github-code |
14a724c800750a6eab1d59f17191ba665e29abfe119427c38d58406ceb2144f6 | package com.artifex.mupdfdemo;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
// Ideally this would be a subclass of AsyncTask, however the cancel() method is final, and cannot
// be overridden. I felt that having two different, but similar cancel methods was a bad ... | Java | platform/android/viewer/src/com/artifex/mupdfdemo/CancellableAsyncTask.java | lustersir/MuPDF | agpl-3.0 | 1,650 | 84 | codeparrot/github-code |
4aadfec91e782c2137ac326001b6a772c51b3d9744b93d25b37e6380d679c1e9 | <?php
namespace App\Http\Controllers\Api;
use App\Helpers\Helper;
use App\Http\Controllers\Controller;
use App\Http\Requests\ItemImportRequest;
use App\Http\Transformers\ImportsTransformer;
use App\Models\Company;
use App\Models\Import;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Input;
use Illuminate... | PHP | app/Http/Controllers/Api/ImportController.php | madd15/snipe-it | agpl-3.0 | 5,670 | 151 | codeparrot/github-code |
d4f775ff78e3ab7af88eaccedda6cba66e534639afe54c9260e75716ecc8a1bf | //===-- SparcRegisterInfo.cpp - SPARC Register Information ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | interpreter/llvm/src/lib/Target/Sparc/SparcRegisterInfo.cpp | benni0815/root | lgpl-2.1 | 7,311 | 212 | codeparrot/github-code |
5b6bbe8ef85f2b3c873599bad7623cde49a8948862f0d3cb255368507ec7f1e5 | #ifndef POSSPD_REPLICATOR_H
#define POSSPD_REPLICATOR_H
#include "netstream.h"
#include "CVec.h"
#include "encoding.h"
#include <utility>
#include <stdexcept>
#define COMPACT_FLOATS
class PosSpdReplicator : public Net_ReplicatorBasic
{
private:
static const int speedRepTime = 0;
static const int speedPrec =... | C | src/gusanos/posspd_replicator.h | ProfessorKaos64/openlierox | lgpl-2.1 | 1,062 | 64 | codeparrot/github-code |
1a777c49ece4d36caaa508dd263b55dec79fecb957349d9d73fcac2e33cdb4dc | /* GIO - GLib Input, Output and Streaming Library
*
* Copyright © 2008 Christian Kellner, Samuel Cormier-Iijima
* © 2008 codethink
* Copyright © 2009 Red Hat, Inc
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as... | C | gio/gsocketconnection.c | frida/glib | lgpl-2.1 | 20,129 | 690 | codeparrot/github-code |
88b192cff5573b94b8c666bd09b5039379c9805135c59242c6529be8ba9f8527 | /*
* pkcs15-sec.c: PKCS#15 cryptography functions
*
* Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>
* Copyrigth (C) 2007 Nils Larsch <nils@larsch.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | C | src/libopensc/pkcs15-sec.c | juandiazq/opendnie | lgpl-2.1 | 13,127 | 384 | codeparrot/github-code |
093e9c755d9c9f0c529f1e97b7809c0314046c741cb2aed859068705caa41521 | /*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* info@exist-db.org
* http://www.exist-db.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foun... | Java | exist-core/src/test/java/org/exist/xquery/functions/util/ExpandTest.java | dizzzz/exist | lgpl-2.1 | 5,891 | 133 | codeparrot/github-code |
0562ae5297423348eea76112bcf8c7db4ff8cfc65678014750775f65e13d0e39 | /*
* Copyright (C) 2010-2020 Arm Limited or its affiliates. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
* www.apache.... | C | src/naked/cmsis/NN/Source/NNSupportFunctions/arm_nn_depthwise_conv_nt_t_s8.c | prefetchnta/crhack | lgpl-2.1 | 5,604 | 171 | codeparrot/github-code |
360d7dc73aa1ec0e532b4abe4199cc50c3a0932c451f5a6449f6b95730e45626 | /* g729a_common - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
package javaforce.codec.g729a;
final class g729a_common implements g729a_constants
{
static void g729a_FIR(float[] fs, int i, float[] fs_0_, float[] fs_1_,
int i_2_,
g729a_sinthesis_filter var_g729a_sinthesis_filter) {
float ... | Java | projects/jphonelite-android/src/javaforce/codec/g729a/g729a_common.java | thuliumcc/javaforce-thulium | lgpl-2.1 | 14,894 | 524 | codeparrot/github-code |
fc5bc4345073a3e195bedc01c9f44092698b24eb30baa1812eeb0f20dcbc9a84 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C++ | src/plugins/help/openpagesmodel.cpp | omniacreator/qtcreator | lgpl-2.1 | 3,454 | 107 | codeparrot/github-code |
a13c8744cc94339dcae628c0d66cf38d301958202f65a9c8bc77d29aa5ec271c | /*
* Experiment with permutations of layout properties for a ClutterBoxLayout
*
* See the text (in brackets) at the bottom of the application
* window for available key presses
*/
#include <stdlib.h>
#include <clutter/clutter.h>
#define STAGE_SIDE 510
#define BOX_SIDE STAGE_SIDE * 0.75
#define RED_SIDE STAGE_SIDE... | C | doc/cookbook/examples/layouts-box-property-effects.c | freedesktop-unofficial-mirror/gstreamer-sdk__clutter | lgpl-2.1 | 15,814 | 467 | codeparrot/github-code |
a8125510655a7f83f93c57a33c640ac5f66124d8b4bbf8815f127da96344e9cf | /*
* $Id$
*
* Copyright (c) 2000-2003 by Rodney Kinney
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License (LGPL) as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be usefu... | Java | src/VASSAL/counters/Stack.java | fifa0329/vassal | lgpl-2.1 | 18,378 | 708 | codeparrot/github-code |
61b0b66616a32dbb0c10444c50b29bb0091d9907b5cddb3d8c3e29ee25c1e2f2 | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** G... | C++ | tools/designer/src/plugins/widgets/q3listbox/q3listbox_plugin.cpp | kobolabs/qt-everywhere-4.8.0 | lgpl-2.1 | 3,587 | 122 | codeparrot/github-code |
b91c7f989a7d113241bf4c770790555681f5e34987142ccf60368a149b941e9e | // The libMesh Finite Element Library.
// Copyright (C) 2002-2022 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version ... | C++ | examples/adjoints/adjoints_ex5/heatsystem.C | BalticPinguin/libmesh | lgpl-2.1 | 6,743 | 203 | codeparrot/github-code |
2b2467891cb9a6d8dff1939a0bc27dbb897adaf0a6e91821eb9778dafe1a8560 | #ifndef __OpenViBEKernel_Kernel_Scenario_TAttributable_H__
#define __OpenViBEKernel_Kernel_Scenario_TAttributable_H__
#include "../../ovk_base.h"
#include "../../ovk_tools.h"
#include <openvibe/ov_all.h>
#include <map>
#include <iostream>
namespace OpenViBE
{
namespace Kernel
{
template <class T> class TAttribu... | C | openvibe-kernel-omk/tags/wip-omk4/src/openvibe-kernel/kernel/scenario/ovkTAttributable.h | antoche/openvibe | lgpl-2.1 | 2,878 | 107 | codeparrot/github-code |
fea99ba439ef17aadd321010fca44a68316815fb467b11e3da552c4a07e1f47a | /* $OpenBSD: fe25519.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
* Peter Schwabe, Bo-Yin Yang.
* Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c
*/
#include "libwebsockets.h"
#define WINDOWSIZE 1 /* Should be 1,2, or 4 */
... | C | plugins/ssh-base/crypto/fe25519.c | sartura/libwebsockets | lgpl-2.1 | 8,310 | 339 | codeparrot/github-code |
63892892aa5d46b59d71fa02d5caef8c187ac2e86cce5962a83d27b059b8bcc6 | /*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
*
* Changes are Cop... | C | src/assistant/3rdparty/clucene/src/CLucene/util/ThreadLocal.h | mer-qt/qttools | lgpl-2.1 | 4,433 | 144 | codeparrot/github-code |
c1d1cf0cc5b9ea62e1be7f55c5d76bb1c013a76c59fcc833b9da269b97efef7b | /*******************************************************************************
* Copyright (c) 2005, Kobrix Software, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is ava... | Java | src/java/disko/data/NamedEntity.java | elaatifi/disko | lgpl-2.1 | 1,354 | 63 | codeparrot/github-code |
b8b1a348ac22bbd6e779864b585c03f1e9bfbcea1afa1306b4c5968e16040cf4 | /*
* ObjJAcornCompiler.js
* Objective-J
*
* Created by Martin Carlberg.
* Copyright 2013, Martin Carlberg.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1... | JavaScript | Objective-J/ObjJAcornCompiler.js | Dogild/cappuccino | lgpl-2.1 | 99,809 | 2,691 | codeparrot/github-code |
60ad7a181e79401c2a5a6c4c7396a43698012f8871ff4d0d1de71fa636772197 | using System;
namespace NHibernate.Test.Hql
{
public class MaterialResource
{
public enum MaterialState : int
{
Available,
Reserved,
Discarded
}
public MaterialResource()
{
}
public MaterialResource(string description, string serialNumber, MaterialState state)
{
_description = descript... | C# | src/NHibernate.Test/Hql/MaterialResource.cs | alobakov/nhibernate-core | lgpl-2.1 | 903 | 56 | codeparrot/github-code |
1415367b0c2dd7508314c851ca86904bca07559841cddd0fe2dd25853a1e121a | /* Copyright (c) 2007 Pentaho Corporation. All rights reserved.
* This software was developed by Pentaho Corporation and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in compliance with the license. If you need a copy of the license,
... | Java | src/org/pentaho/di/trans/steps/sort/SortRowsMeta.java | dianhu/Kettle-Research | lgpl-2.1 | 19,002 | 536 | codeparrot/github-code |
bdd08d4899b6259abefc8badcd3dcd2e42fd698f9179e173eed7089307669bef | package railo.commons.io.res.type.s3;
import railo.aprint;
import railo.commons.date.TimeZoneConstants;
import railo.commons.net.http.HTTPResponse;
public class TestS3 {
public static void main(String[] args) throws Throwable {
String accessKeyId = "1DHC5C5FVD7YEPR4DBG2";
String secretAccessKey = "R/sOy3hgim... | Java | railo-java/railo-core/src/railo/commons/io/res/type/s3/TestS3.java | JordanReiter/railo | lgpl-2.1 | 1,150 | 39 | codeparrot/github-code |
9834d8859bf67e8c3f93b174f10d9debd219d0c3fbbe6e33ce26f18405234e0c | /* $Id$
*
* OpenMAMA: The open middleware agnostic messaging API
* Copyright (C) 2011 NYSE Technologies, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.... | Java | mama/jni/src/com/wombat/mama/MamaTransport.java | cloudsmith-io/openmama | lgpl-2.1 | 17,794 | 524 | codeparrot/github-code |
4b26160496cf03742166f434a8a7569194486cb3e08f3b9ab2106bfbc722a78d | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2019 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | C++ | psi4/src/psi4/cc/cctriples/T3_grad_UHF_BBA.cc | CDSherrill/psi4 | lgpl-3.0 | 55,728 | 1,081 | codeparrot/github-code |
b9fea0848f33f3f6b43ef97db4e132a82e3e9a216c8db7017652e430454efc24 | package test.icecaptools;
import util.ReferenceOffsets;
import org.junit.Assert;
import org.junit.Test;
public class TestPackedArray {
@Test
public void testSimple() throws Exception {
ReferenceOffsets a = new ReferenceOffsets();
Assert.assertTrue(a.size() == 0);
try {
a... | Java | icecaptools/src/test/icecaptools/TestPackedArray.java | lgassman/embebidos-unq | lgpl-3.0 | 2,240 | 98 | codeparrot/github-code |
6b076bbc9a5ba47c378965ab42aae911c20120114345c644fd2d3bef5ebceeea | /********************************************************************
created: 2008/10/06
filename: rbtree.c
author: Lichuang
purpose:
*********************************************************************/
#include "ccache.h"
#include "ccache_rbtree.h"
#include "ccache_node.h"
#include "ccac... | C | src/ccache_rbtree.c | temicai/commoncache | lgpl-3.0 | 16,364 | 636 | codeparrot/github-code |
9d48b8a261bead827b1eaff772f03a5fc30bef90f03d472117216262d9ceea78 | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2019 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | C++ | psi4/src/psi4/cc/cceom/diag.cc | CDSherrill/psi4 | lgpl-3.0 | 59,609 | 1,205 | codeparrot/github-code |
9f9e86d93d76b152bc68512b32bcce41484e63a682cfec8a7f9ae4498d5af8aa | #include "CachingBlockStore2.h"
#include <memory>
#include <cpp-utils/assert/assert.h>
#include <cpp-utils/system/get_total_memory.h>
using std::string;
using std::mutex;
using cpputils::Data;
using cpputils::unique_ref;
using cpputils::make_unique_ref;
using boost::optional;
using boost::none;
using std::unique_lock;... | C++ | src/blockstore/implementations/caching/CachingBlockStore2.cpp | davesteele/cryfs | lgpl-3.0 | 5,378 | 158 | codeparrot/github-code |
9346b1efde998f0b215e8d8ecadd223199f92e5497290453cbc6ef488fe394e4 | package org.molgenis.diseasematcher.controller;
import java.util.List;
import javax.validation.constraints.NotNull;
import org.molgenis.data.QueryRule;
/**
*
* @author tommydeboer
*
*/
public class FindRequest
{
@NotNull
private String datasetName;
@NotNull
private int num;
@NotNull
private int start;
... | Java | molgenis-disease-matcher/src/main/java/org/molgenis/diseasematcher/controller/FindRequest.java | DionKoolhaas/molgenis | lgpl-3.0 | 817 | 66 | codeparrot/github-code |
4c4f3910c4807608a018b03d1569f869c120f399ea927f7a3b68763bf814c12c | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | C | JuceLibraryCode/modules/juce_gui_extra/lookandfeel/juce_OldSchoolLookAndFeel.h | connerlacy/QuNeoDemo | unlicense | 7,172 | 158 | codeparrot/github-code |
53ba02a9ea3ef2fd806de9f7639ba296d5f82e4c6dc6f44d6b099d698c67bb54 | -----------------------------------------------------------------------------------------------
local title = "Death Messages"
local version = "0.1.2"
local mname = "death_messages"
-----------------------------------------------------------------------------------------------
dofile(minetest.get_modpath("death_message... | Lua | mods/death_messages/init.lua | MinetestForFun/minetest-minetestforfun-server | unlicense | 11,209 | 273 | codeparrot/github-code |
c4c65a5921585b12572cebbf138548a83b2660bbdf604101985be184e7dacf46 | '''Script to help generate item names.'''
def int_to_str(num, alphabet):
'''Convert integer to string.'''
# http://stackoverflow.com/a/1119769/1524507
if (num == 0):
return alphabet[0]
arr = []
base = len(alphabet)
while num:
rem = num % base
num = num // base
a... | Python | util/item_name_gen.py | PressStartandSelect/jux-discovery | unlicense | 758 | 38 | codeparrot/github-code |
6d5452c0391a2fd5f923191259673ef2a59f465c5bde547e8ae241d652e46bd2 | # Copyright 2013 Hewlett-Packard Development Company, L.P.
#
# 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 requir... | Python | openstack_dashboard/dashboards/identity/roles/views.py | bac/horizon | apache-2.0 | 3,528 | 97 | codeparrot/github-code |
9778e82700ffc0ad1fdf80c77bcd5d1e1f0917dbf68dc0cc83db6ee8a87dc4d6 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/workmail/WorkMail_EXPORTS.h>
#include <aws/workmail/WorkMailRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
#include <aws/core/utils/UUID.h>
... | C | aws-cpp-sdk-workmail/include/aws/workmail/model/DeleteOrganizationRequest.h | aws/aws-sdk-cpp | apache-2.0 | 5,149 | 159 | codeparrot/github-code |
aa498700977c11963e6f9dfdbaee59ffcc9f459ce08123acbc4750c57fa7770e | /*
* twemproxy - A fast and lightweight proxy for memcached protocol.
* Copyright (C) 2011 Twitter, Inc.
*
* 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/lice... | C | src/proto/nc_proto.h | 272029252/twemproxy-vip | apache-2.0 | 8,125 | 163 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.