code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2014 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | CnZoom/XcSoarWork | src/Form/Panel.cpp | C++ | gpl-2.0 | 1,236 |
/*****************************************************************************
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2012, Facebook Inc.
Copyright (c) 2014, 2016, MariaDB Corporation
This program is free software; you can redistribute it and/or modify it under
the ... | prohaska7/mariadb-server | storage/innobase/btr/btr0btr.cc | C++ | gpl-2.0 | 151,788 |
// ==========================================================
// fipImage class implementation
//
// Design and implementation by
// - Hervé Drolon (drolon@infonie.fr)
//
// This file is part of FreeImage 3
//
// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY
// OF ANY KIND, EITHER EX... | bhargavkumar040/android-source-browsing.platform--external--free-image | Wrapper/FreeImagePlus/src/fipImage.cpp | C++ | gpl-2.0 | 22,480 |
<?php
/**
* @package Warp Theme Framework
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
defined('_JEXEC') or die;
JHtml::_('behavior.framework');
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
JHtml::sty... | valodya-street/workroom | templates/yoo_sphere/warp/systems/joomla/layouts/com_finder/search/default.php | PHP | gpl-2.0 | 947 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | T0MM0R/magento | web/app/code/core/Mage/Bundle/sql/bundle_setup/mysql4-upgrade-0.1.12-0.1.13.php | PHP | gpl-2.0 | 1,852 |
/*
* Copyright (C) 2013 Google 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | pixelthieves/Paper-Frog | Assets/GooglePlayGames/Platforms/Android/AndroidRtmpClient.cs | C# | gpl-2.0 | 43,782 |
# -*- coding: utf-8 -*-
"""
***************************************************************************
EditScriptAction.py
---------------------
Date : August 2012
Copyright : (C) 2012 by Victor Olaya
Email : volayaf at gmail dot com
**********************... | wonder-sk/QGIS | python/plugins/processing/script/AddScriptFromFileAction.py | Python | gpl-2.0 | 3,158 |
/* Copyright 2013 David Axmark
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 or agreed to in writing, software
distr... | MoSync/MoSync | testPrograms/native_ui_lib/AlphabeticalListTest/Util.cpp | C++ | gpl-2.0 | 2,447 |
<?php
// Global profile namespace reference
define( 'NS_USER_PROFILE', 202 );
define( 'NS_USER_WIKI', 200 );
// Default setup for displaying sections
$wgUserPageChoice = true;
$wgUserProfileDisplay['friends'] = false;
$wgUserProfileDisplay['foes'] = false;
$wgUserProfileDisplay['gifts'] = true;
$wgUserProfileDisplay[... | SuriyaaKudoIsc/wikia-app-test | extensions/SocialProfile/UserProfile/UserProfile.php | PHP | gpl-2.0 | 3,868 |
// ext3grep -- An ext3 file system investigation and undelete tool
//
//! @file debug.cc
//! @brief This file contains the definitions of debug related objects and functions.
//
// Copyright (C) 2008, by
//
// Carlo Wood, Run on IRC <carlo@alinoe.com>
// RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt... | gcode-mirror/ext3grep | src/debug.cc | C++ | gpl-2.0 | 18,296 |
/*
* Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | FauxFaux/jdk9-jdk | test/javax/management/mxbean/ComparatorExceptionTest.java | Java | gpl-2.0 | 3,210 |
<?php
/*
** Zabbix
** Copyright (C) 2000-2011 Zabbix SIA
**
** 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.
**
** Th... | gheja/zabbix-ext | frontends/php/maintenance.php | PHP | gpl-2.0 | 16,900 |
///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | ekummerfeld/tetrad | tetrad-gui/src/main/java/edu/cmu/tetradapp/editor/EdgewiseComparisonParamsEditor.java | Java | gpl-2.0 | 7,810 |
/*
* Copyright 2007 Yusuke Yamamoto
*
* 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 or agree... | jonathanmcelroy/DataCommunicationsProgram456 | twitter4j/twitter4j-core/src/main/java/twitter4j/Status.java | Java | gpl-2.0 | 4,909 |
/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.... | Remix99/MaNGOS | src/bindings/scriptdev2/scripts/eastern_kingdoms/uldaman/instance_uldaman.cpp | C++ | gpl-2.0 | 10,144 |
// This file is part of par2cmdline (a PAR 2.0 compatible file verification and
// repair tool). See http://parchive.sourceforge.net for details of PAR 2.0.
//
// Copyright (c) 2003 Peter Brian Clements
//
// par2cmdline is free software; you can redistribute it and/or modify
// it under the terms of the GNU Gener... | jojje/par2cmdline-dir | par2creator.cpp | C++ | gpl-2.0 | 31,351 |
<?php
/**
* english language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Christopher Smith <chris@jalakai.co.uk>
* @author Matthias Schulte <dokuwiki@lupo49.de>
* @author Schplurtz le Déboulonné <Schplurtz@laposte.net>
*/
// for admin plugins, the menu prompt to be di... | randonnerleger/wiki_new | lib/plugins/config/lang/en/lang.php | PHP | gpl-2.0 | 15,290 |
<div class="weather">
<p><strong><?php print $weather->real_name; ?></strong></p>
<div style="text-align:center;">
<img src="<?php print $weather->image_filename; ?>" <?php print $weather->image_size; ?> alt="<?php print $weather->condition; ?>" title="<?php print $weather->condition; ?>" />
</div>
<ul>
... | shieldsdesignstudio/lefkowitz | sites/all/modules/weather/weather.tpl.php | PHP | gpl-2.0 | 2,487 |
#
# Karaka Skype-XMPP Gateway: Python package metadata
# <http://www.vipadia.com/products/karaka.html>
#
# Copyright (C) 2008-2009 Vipadia Limited
# Richard Mortier <mort@vipadia.com>
# Neil Stratford <neils@vipadia.com>
#
## This program is free software; you can redistribute it and/or
## modify it under the terms of... | gaka13/karaka | karaka/api/__init__.py | Python | gpl-2.0 | 896 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using STSdb4.General.Extensions;
namespace STSdb4.Data
{
public class DataToObjects : IToObjects<IData>
{
public readonly Func<IData, object[]> to;
publ... | Injac/STSdb4 | STSdb4/Data/DataToObjects.cs | C# | gpl-2.0 | 2,719 |
/**
* @copyright 2010-2015, The Titon Project
* @license http://opensource.org/licenses/BSD-3-Clause
* @link http://titon.io
*/
define([
'jquery',
'./toolkit'
], function($, Toolkit) {
// Empty class to extend from
var Class = Toolkit.Class = function() {};
// Flag to determine if a construc... | localymine/multisite | wp-content/themes/kodomo/html/toolkit-3.0/js/class.js | JavaScript | gpl-2.0 | 2,561 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | Pakketeretet2/lammps | src/nstencil_half_bin_3d_newtoff.cpp | C++ | gpl-2.0 | 1,347 |
/* This file is part of the KDE project
Copyright (C) 2008 David Faure <faure@kde.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your opti... | blue-shell/folderview | konqueror/src/tests/konqhtmltest.cpp | C++ | gpl-2.0 | 9,297 |
<?php
/**
* @version $Id: layout.php 15522 2013-11-13 21:47:07Z kevin $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Gantry uses the Joomla Framework (http://www.joomla.org), a GN... | bobozhangshao/HeartCare | templates/heartcare_gantry4/html/mod_roknavmenu/themes/gantry-splitmenu/layout.php | PHP | gpl-2.0 | 8,317 |
/****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Q... | FilipBE/qtextended | qtopiacore/qt/src/gui/inputmethod/qwininputcontext_win.cpp | C++ | gpl-2.0 | 28,969 |
/*
* $Id$
*
* Copyright 2011 Glencoe Software, Inc. All rights reserved.
* Use is subject to license terms supplied in LICENSE.txt
*/
package ome.services.fulltext.bridges;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import ome.io.nio.OriginalFi... | simleo/openmicroscopy | components/server/src/ome/services/fulltext/bridges/TablesBridge.java | Java | gpl-2.0 | 14,271 |
package edu.stanford.nlp.stats;
import java.io.Serializable;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import edu.stanford.nlp.math.ArrayMath;
i... | rupenp/CoreNLP | src/edu/stanford/nlp/stats/TwoDimensionalCounter.java | Java | gpl-2.0 | 12,954 |
/*
* Copyright (c) 2012, Steve Hannah/Codename One and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by... | codenameone/CodenameOne | CodenameOne/src/com/codename1/javascript/JavascriptEvent.java | Java | gpl-2.0 | 2,627 |
/***************************************************************************
main.cpp - Benchmark, derived form app/main.cpp
-------------------
begin : 2011-11-15
copyright : (C) 2011 Radim Blazek
email : radim dot blaz... | innotechsoftware/Quantum-GIS | tests/bench/main.cpp | C++ | gpl-2.0 | 19,308 |
/****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid ... | FilipBE/qtextended | qtopiacore/qt/src/corelib/concurrent/qfuturesynchronizer.cpp | C++ | gpl-2.0 | 5,181 |
/*
* Copyright (C) 2012-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | notspiff/xbmc | xbmc/pvr/epg/EpgSearchFilter.cpp | C++ | gpl-2.0 | 7,292 |
// { dg-do compile { target c++14 } }
// Copyright (C) 2014-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Found... | Gurgel100/gcc | libstdc++-v3/testsuite/20_util/add_pointer/requirements/alias_decl.cc | C++ | gpl-2.0 | 1,181 |
FactoryGirl.define do
factory :note do
latitude 1 * GeoRecord::SCALE
longitude 1 * GeoRecord::SCALE
# tile QuadTile.tile_for_point(1,1)
factory :note_with_comments do
transient do
comments_count 1
end
after(:create) do |note, evaluator|
create_list(:note_comment, ev... | Zverik/openstreetmap-website | test/factories/notes.rb | Ruby | gpl-2.0 | 387 |
/*
* Copyright (c) 2009 Dmitry Kazakov <dimula73@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.... | wyuka/calligra | krita/image/tiles3/kis_tile_data.cc | C++ | gpl-2.0 | 3,429 |
<?php
/**
* Copyright (C) 2013-2015 Graham Breach
*
* 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 option) any later version.
*
* T... | jwweider/manhattantrainer | sites/all/libraries/SVGGraph/SVGGraphAxisDoubleEnded.php | PHP | gpl-2.0 | 2,576 |
// { dg-do compile { target c++17 } }
// Copyright (C) 2020-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Found... | Gurgel100/gcc | libstdc++-v3/testsuite/20_util/is_nothrow_invocable/incomplete_args_neg.cc | C++ | gpl-2.0 | 3,439 |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Test\Unit\Model\Order\Creditmemo\Total;
/**
* Class DiscountTest
*/
class DiscountTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Sales\Model\Order\Creditmemo\Total... | FPLD/project0 | vendor/magento/module-sales/Test/Unit/Model/Order/Creditmemo/Total/DiscountTest.php | PHP | gpl-2.0 | 7,953 |
<?php
/**
* Simple product add to cart
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $woocommerce, $product;
if ( ! $product->is_purchasable() ) return;
?>
<?php
/// Availability
$availability = $prod... | ardiqghenatya/web4 | wp-content/themes/north-wp/woocommerce/single-product/add-to-cart/simple.php | PHP | gpl-2.0 | 1,759 |
/*
YUI 3.7.1 (build 5627)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('charts', function (Y, NAME) {
/**
* The Chart class is the basic application used to create a chart.
*
* @module charts
* @class Chart
* @constructor
*/
function Ch... | medbenhenda/migration-ez5 | ezpublish_legacy/extension/ezjscore/design/standard/lib/yui/3.7.1/build/charts/charts.js | JavaScript | gpl-2.0 | 533 |
require 'flag_query'
class Admin::FlagsController < Admin::AdminController
def index
# we may get out of sync, fix it here
PostAction.update_flagged_posts_count
posts, topics, users = FlagQuery.flagged_posts_report(current_user, params[:filter], params[:offset].to_i, 10)
if posts.blank?
rende... | sassafrastech/discourse-diaedu | app/controllers/admin/flags_controller.rb | Ruby | gpl-2.0 | 1,527 |
<?php
/**
* @Project NUKEVIET 3.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2012 VINADES.,JSC. All rights reserved
* @Language 日本語
* @Createdate Apr 15, 2011, 08:22:00 AM
*/
if( ! defined( 'NV_MAINFILE' ) ) die( 'Stop!!!' );
$lang_translator['author'] = 'VINADES.,JSC (contact@vinades.vn)';
$lang_t... | anhnthpu/nukevietCAS | language/ja/block.global.html.php | PHP | gpl-2.0 | 680 |
package edu.jhu.agiga;
import java.io.IOException;
import java.io.Writer;
import java.io.Serializable;
import java.util.List;
import edu.jhu.agiga.AgigaConstants.DependencyForm;
import edu.stanford.nlp.ling.WordLemmaTag;
import edu.stanford.nlp.trees.Tree;
import edu.stanford.nlp.trees.TreeGraphNode;
import edu.stanf... | mgormley/agiga | src/main/java/edu/jhu/agiga/AgigaSentence.java | Java | gpl-2.0 | 2,312 |
<?php
/*******************************************************************************
*
* filename : Reports/AdvancedDeposit.php
* last change : 2013-02-21
* description : Creates a PDF customized Deposit Report .
*
* ChurchInfo is free software; you can redistribute it and/or modify
* it under the terms of th... | ecc12/churchinfo | htdocs/Reports/AdvancedDeposit.php | PHP | gpl-3.0 | 26,737 |
#include <iostream>
using namespace std;
class lectures
{
protected:
int rollno, marks1, marks2;
public:
void get()
{
rollno = 007;
marks1 = 75;
marks2 = 50;
}
};
class sports
{
protected:
int sportsmarks;
public:
void get... | algobook/Algo_Ds_Notes | Inheritance(C++)/Multiple.cpp | C++ | gpl-3.0 | 964 |
YUI.add('moodle-mod_quiz-dragdrop', function (Y, NAME) {
/**
* Drag and Drop for Quiz sections and slots.
*
* @module moodle-mod-quiz-dragdrop
*/
var CSS = {
ACTIONAREA: '.actions',
ACTIVITY: 'activity',
ACTIVITYINSTANCE: 'activityinstance',
CONTENT: 'content',
COURSECONTENT: 'mod-quiz-edit-co... | Microsoft/moodle | mod/quiz/yui/build/moodle-mod_quiz-dragdrop/moodle-mod_quiz-dragdrop.js | JavaScript | gpl-3.0 | 19,635 |
/*
* AxtelKeygen.cpp
*
* Created on: 5 de Ago de 2012
* Author: ruka
*/
#include "AxtelKeygen.h"
AxtelKeygen::AxtelKeygen(QString ssid, QString mac) :
Keygen(ssid, mac) {
}
QVector<QString> & AxtelKeygen::getKeys() {
QString mac = getMacAddress();
if ( mac.length() != 12 )
throw ERROR;... | RobertoEstrada/libKeygen | src/algorithms/AxtelKeygen.cpp | C++ | gpl-3.0 | 382 |
/*
* 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... | arraydev/snap-engine | ceres-glayer/src/main/java/com/bc/ceres/glayer/swing/NavControl.java | Java | gpl-3.0 | 19,053 |
// -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2016 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope tha... | atomatt/snapd | interfaces/builtin/timeserver_control.go | GO | gpl-3.0 | 3,037 |
/* -*- c++ -*- */
/*
* Copyright 2008-2011,2014 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 y... | iohannez/gnuradio | gr-qtgui/lib/FrequencyDisplayPlot.cc | C++ | gpl-3.0 | 21,199 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | InstaLearn/phonegaptest3 | html/blocks/rate_course/db/events.php | PHP | gpl-3.0 | 1,368 |
import fs = require("fs");
export interface IFileWrite {
path: string;
content: string;
}
export async function writeFiles(files: IFileWrite[]): Promise<void> {
"use strict";
for (var file of files) {
await writeFile(file);
};
}
export function writeFile(file: IFileWrite): Promise<void> ... | marianc/node-server-typescript-client | Tools/04.DataProviderGeneratorClient/src/modules/common/fileUtils.ts | TypeScript | gpl-3.0 | 599 |
class SkillsController < ApplicationController
before_action :authenticate_user!
load_and_authorize_resource
# GET /skills
# GET /skills.json
def index
@skills = Skill.all
@page_title = "All Skills"
respond_to do |format|
format.html # index.html.erb
format.json { render json: @skills... | houhoulis/lims | app/controllers/skills_controller.rb | Ruby | gpl-3.0 | 2,118 |
/*
* This file is part of VLE, a framework for multi-modeling, simulation
* and analysis of complex dynamical systems.
* https://www.vle-project.org
*
* Copyright (c) 2003-2018 Gauthier Quesnel <gauthier.quesnel@inra.fr>
* Copyright (c) 2003-2018 ULCO http://www.univ-littoral.fr
* Copyright (c) 2007-2018 INRA ht... | quesnel/vle | src/vle/devs/Thread.hpp | C++ | gpl-3.0 | 5,647 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2011 VoltDB Inc.
*
* 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... | ifcharming/voltdb2.0 | tests/test_apps/everything/src/everything/Shrinker.java | Java | gpl-3.0 | 1,834 |
/* Copyright 2014 the SumatraPDF project authors (see AUTHORS file).
License: Simplified BSD (see COPYING.BSD) */
#include "BaseUtil.h"
#include "FileWatcher.h"
#include "FileUtil.h"
#include "ThreadUtil.h"
#include "WinUtil.h"
#define NOLOG 1
#include "DebugLog.h"
/*
This code is tricky, so here's... | ibb-zimmers/betsynetpdf | sumatrapdf/src/utils/FileWatcher.cpp | C++ | gpl-3.0 | 15,051 |
var searchData=
[
['query',['query',['../classcoda_1_1db_1_1query.html',1,'coda::db']]]
];
| ryjen/db | html/search/classes_8.js | JavaScript | gpl-3.0 | 93 |
// Copyright 2014 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 "platform/network/HTTPParsers.h"
#include "platform/heap/Handle.h"
#include "platform/network/ResourceResponse.h"
#include "platform/weborigin/S... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp | C++ | gpl-3.0 | 20,767 |
package com.yalantis.ucrop.util;
import android.graphics.RectF;
public class RectUtils {
/**
* Gets a float array of the 2D coordinates representing a rectangles
* corners.
* The order of the corners in the float array is:
* 0------->1
* ^ |
* | |
* | v
... | drakeet/Lunei | ucrop/src/main/java/com/yalantis/ucrop/util/RectUtils.java | Java | gpl-3.0 | 2,322 |
/**
* Copyright (C) 2011 Flamingo Project (http://www.cloudine.io).
* <p/>
* 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 ... | chiwanpark/flamingo2 | flamingo2-web/src/main/java/org/opencloudengine/flamingo2/engine/hive/HiveThrift2Client.java | Java | gpl-3.0 | 2,736 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | jenarroyo/moodle-repo | question/behaviour/adaptive/behaviour.php | PHP | gpl-3.0 | 8,058 |
#!/usr/bin/python
import zmq
import sys, os
def main():
context = zmq.Context()
socket = context.socket(zmq.REQ)
socket.connect(os.environ["QP_RUN_ADDRESS"])
def send(msg,expected):
print "Send : ", msg
socket.send(msg)
reply = socket.recv()
print "Reply : ", ':'+reply+':'
if (reply !=... | TApplencourt/quantum_package | ocaml/tests/test_task_server.py | Python | gpl-3.0 | 3,246 |
# Copyright (C) 2005 Michael Urman
# -*- coding: utf-8 -*-
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
import warnings
from mutagen._util import DictMixin
from mutagen._com... | bbsan2k/nzbToMedia | libs/mutagen/_file.py | Python | gpl-3.0 | 7,621 |
<?php
/**
* @file classes/site/VersionDAO.inc.php
*
* Copyright (c) 2013-2015 Simon Fraser University Library
* Copyright (c) 2000-2015 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class VersionDAO
* @ingroup site
* @see Version
*
* @brief Operations for ... | jasonzou/journal.calaijol.org | tools/lib/pkp/pkp/classes/site/VersionDAO.inc.php | PHP | gpl-3.0 | 8,399 |
#include "CameraSpecifications.h"
#include "Tools/FileFormats/Parse.h"
CameraSpecifications::CameraSpecifications()
{
}
CameraSpecifications::CameraSpecifications(const char* fileName)
{
LoadFromConfigFile(fileName);
return;
}
CameraSpecifications::CameraSpecifications(const CameraSpecifications& sourceSpec)... | shannonfenn/Multi-Platform-Vision-System | RPi/NUPlatform/NUCamera/CameraSpecifications.cpp | C++ | gpl-3.0 | 1,813 |
package org.thoughtcrime.securesms;
import android.animation.Animator;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Build.VERSION;
import android.os.Build.VERSION_CODES;
import android.os.Bundle;
import and... | janimo/Signal-Android | src/org/thoughtcrime/securesms/InviteActivity.java | Java | gpl-3.0 | 11,026 |
package cn.nukkit.item;
/**
* author: MagicDroidX
* Nukkit Project
*/
public class ItemBootsIron extends ItemArmor {
public ItemBootsIron() {
this(0, 1);
}
public ItemBootsIron(Integer meta) {
this(meta, 1);
}
public ItemBootsIron(Integer meta, int count) {
super(IRON_... | Creeperface01/NukkitGT | src/main/java/cn/nukkit/item/ItemBootsIron.java | Java | gpl-3.0 | 520 |
/*
Copyright (C) 1991-2001 and beyond by Bo Lindbergh
and the "Aleph One" developers.
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 ... | 0x7F800000/Aleph-NONE | Source_Files/CSeries/csfonts.cpp | C++ | gpl-3.0 | 1,735 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | Burick/moodle | blocks/course_overview/version.php | PHP | gpl-3.0 | 1,193 |
//--- Aura Script -----------------------------------------------------------
// Math Advanced for 3 Dungeon
//--- Description -----------------------------------------------------------
// Dungeon script for Math Advanced for 3.
//---------------------------------------------------------------------------
[DungeonScr... | xCryptic/aura | system/scripts/dungeons/dunbarton_math_high_3_dungeon.cs | C# | gpl-3.0 | 2,813 |
# encoding: utf-8
module TableHelper
# usage: 1) 標準
# table_to_index2 @items
# usage: 2) ソートリンク
# path_index = Site.request_path
# table_to_index2 @items, 'sort_link_options' => {
# 'disable_cols' => ['id','name'],
# 'sort_keys' => @sort_keys,
# 'path_index' => path_index,
# 'other_query_string' =... | ryo-on/jorurigw | app/helpers/table_helper.rb | Ruby | gpl-3.0 | 30,825 |
<?php
/*
This file is part of iCE Hrm.
iCE Hrm 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.
iCE Hrm is distributed in the hope that it ... | rhnvrm/icehrm | ext/admin/modules/index.php | PHP | gpl-3.0 | 1,794 |
namespace Pokemon {
class uniqueId;
}
unsigned int qHash (const Pokemon::uniqueId &key);
#include <cmath>
#include <ctime>
#include <cassert>
#include <QtXml>
#include <QSqlRecord>
#include <PokemonInfo/pokemoninfo.h>
#include <PokemonInfo/battlestructs.h>
#include <PokemonInfo/movesetchecker.h>
#include "tier.h"
#i... | turbedi/pokemon-online | src/Server/tier.cpp | C++ | gpl-3.0 | 45,228 |
<?php
require_once("../../config.php");
require_once("lib.php");
$id = required_param('id', PARAM_INT); //moduleid
$format = optional_param('format', CHOICE_PUBLISH_NAMES, PARAM_INT);
$download = optional_param('download', '', PARAM_ALPHA);
$action = optional_param('action'... | hit-moodle/moodle | mod/choice/report.php | PHP | gpl-3.0 | 10,193 |
#!/usr/bin/env python
'''
Applied Python Course, Class1, Exercise 2c
Note, you will need to update the IP and COMMUNITY_STRING to use this script.
'''
import snmp_helper
COMMUNITY_STRING = '********'
ip_addr = '10.10.10.10'
pynet_rtr1 = (ip_addr, COMMUNITY_STRING, 7961)
pynet_rtr2 = (ip_addr, COMMUNITY_STRING, 806... | Collisio-Adolebitque/pfne-2017 | pynet/appliedpy_ecourse/class1/ex2_simple_snmp.py | Python | gpl-3.0 | 694 |
/*
* Copyright © 2014 - 2015 Alexander01998 and contributors
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package tk.wurst_client.... | nerdtron123/Wurst-Client | Wurst Client/src/tk/wurst_client/mods/PanicMod.java | Java | mpl-2.0 | 1,120 |
// Copyright 2015 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package subnet_test
import (
"errors"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
"github.com/juju/juju/cmd/juju/subnet"
coretesting "github.com/juju/juju/testing"
)
type SubnetCommandSuite struct {
... | freyes/juju | cmd/juju/subnet/subnet_test.go | GO | agpl-3.0 | 4,970 |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-occupancy',
templateUrl: './occupancy.component.html',
styleUrls: ['./occupancy.component.css']
})
export class OccupancyComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
| feloy/simmage-ui | src/app/logistics/occupancy/occupancy.component.ts | TypeScript | agpl-3.0 | 281 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* 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, eithe... | sanjupolus/kc-coeus-1508.3 | coeus-impl/src/main/java/org/kuali/coeus/sys/framework/rule/KcTransactionalDocumentRuleBase.java | Java | agpl-3.0 | 11,137 |
require 'rails_helper'
describe User do
describe "#debate_votes" do
let(:user) { create(:user) }
it "returns {} if no debate" do
expect(user.debate_votes([])).to eq({})
end
it "returns a hash of debates ids and votes" do
debate1 = create(:debate)
debate2 = create(:debate)
de... | AjuntamentdeBarcelona/decidim.barcelona | spec/models/user_spec.rb | Ruby | agpl-3.0 | 10,196 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2016 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(R) is... | aihua/opennms | core/snmp/api/src/main/java/org/opennms/netmgt/snmp/ErrorStatusException.java | Java | agpl-3.0 | 1,874 |
package am.extension.multiUserFeedback.login;
import java.util.ArrayList;
import am.app.mappingEngine.Mapping;
import am.extension.multiUserFeedback.experiment.MUExperiment;
public class ServerLogin extends UFLLogin{
MUExperiment experiment;
@Override
public void login(MUExperiment exp, String id) {
// TODO Aut... | Stanwar/agreementmaker | AgreementMaker-OSGi/AgreementMaker-UserFeedback/src/main/java/am/extension/multiUserFeedback/login/ServerLogin.java | Java | agpl-3.0 | 560 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2015 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | raymondlamwu/zurmotest | app/protected/modules/import/utils/sanitizers/ImportSanitizerUtilFactory.php | PHP | agpl-3.0 | 3,223 |
if(!dojo._hasResource["dojox.collections.Stack"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.collections.Stack"] = true;
dojo.provide("dojox.collections.Stack");
dojo.require("dojox.collections._base");
dojox.collections.Stack=function(/* array? */arr... | 235/gwt-odb-ui | src/net/pleso/odbui/public/js/dojo-release-1.0.2/dojox/collections/Stack.js | JavaScript | agpl-3.0 | 1,921 |
# frozen_string_literal: true
module Decidim
# Shared behaviour for signed_in users that require the latest TOS accepted
module NeedsTosAccepted
extend ActiveSupport::Concern
included do
before_action :tos_accepted_by_user
helper_method :terms_and_conditions_page
end
private
def ... | AjuntamentdeBarcelona/decidim | decidim-core/app/controllers/concerns/decidim/needs_tos_accepted.rb | Ruby | agpl-3.0 | 1,715 |
#include <openvibe/ov_all.h>
#include "ovp_defines.h"
#include "box-algorithms/ovpCVRPNAnalogServer.h"
#include "box-algorithms/ovpCVRPNButtonServer.h"
#include "box-algorithms/ovpCBoxAlgorithmVRPNAnalogClient.h"
#include "box-algorithms/ovpCBoxAlgorithmVRPNButtonClient.h"
#include <vector>
OVP_Declare_Begin();
#if... | alexandrebarachant/openvibe | plugins/processing/vrpn/src/ovp_main.cpp | C++ | agpl-3.0 | 662 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM... | shogunpol/SuiteCRM | modules/Campaigns/WizardMarketing.php | PHP | agpl-3.0 | 34,825 |
require File.dirname(__FILE__) + '/../spec_helper'
describe PersonMailer do
before(:each) do
@preferences = preferences(:one)
@mailer = PersonMailer
@server = @mailer.server
@domain = @mailer.domain
end
pending "message notification" do
before(:each) do
@message = people(:quentin).... | cgorringe/oscurrency | spec/models/person_mailer_spec.rb | Ruby | agpl-3.0 | 1,747 |
// Copyright 2012, 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package provisioner
import (
"fmt"
"math/rand"
"sort"
"strings"
"github.com/juju/errors"
"github.com/juju/loggo"
"github.com/juju/names"
"github.com/juju/utils/set"
"github.com/juju/juju/apiserver/common"
"g... | mhilton/juju | apiserver/provisioner/provisioner.go | GO | agpl-3.0 | 46,652 |
# -*- coding: utf-8 -*-
{ 'sequence': 500,
"name" : "ChriCar unique View ID"
, "version" : "0.2"
, "author" : "Network Gulf IT - India"
, "website" : "http://www.chricar.at/ChriCar/index.html"
, "description" : """
This module is funded by
| ChriCar Beteiligungs- und Beratungs- GmbH
| http://www.ch... | VitalPet/c2c-rd-addons | chricar_view_id/__openerp__.py | Python | agpl-3.0 | 1,460 |
package im.actor.core.modules.calls.peers;
import java.util.HashMap;
import java.util.List;
import im.actor.core.api.ApiICEServer;
import im.actor.core.modules.ModuleContext;
import im.actor.core.modules.calls.peers.messages.RTCAdvertised;
import im.actor.core.modules.calls.peers.messages.RTCAnswer;
import im.actor.c... | EaglesoftZJ/actor-platform | actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/modules/calls/peers/PeerCallActor.java | Java | agpl-3.0 | 14,440 |
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you ... | bytekast/modeler | src/org/pentaho/agilebi/modeler/nodes/MainModelNode.java | Java | lgpl-2.1 | 7,272 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2016, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | iweiss/wildfly | clustering/server/src/main/java/org/wildfly/clustering/server/group/LocalNodeFormatter.java | Java | lgpl-2.1 | 1,981 |
/*
* $Id: LaserConsoleException.java,v 1.2 2006/09/25 08:52:36 acaproni Exp $
*
* $Date: 2006/09/25 08:52:36 $
* $Revision: 1.2 $
* $Author: acaproni $
*
* Copyright CERN, All Rights Reserved.
*/
package cern.laser.console;
import cern.laser.client.LaserException;
/** Laser console exception. */
public class... | jbarriosc/ACSUFRO | LGPL/CommonSoftware/ACSLaser/laser-console/src/cern/laser/console/LaserConsoleException.java | Java | lgpl-2.1 | 913 |
package alma.acs.monitoring;
import java.util.ArrayList;
import java.util.List;
/**
* Holds the value(s) of a logical monitor point at one instant of time.
*/
public class MonitorPointValue
{
/**
* Timestamp of the data.
*/
private final long time;
/**
* The data list.
* Contains one Number, Boolean, ... | jbarriosc/ACSUFRO | LGPL/CommonSoftware/monitoring/monicd/ws/src/alma/acs/monitoring/MonitorPointValue.java | Java | lgpl-2.1 | 984 |
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Module: FGPropeller.cpp
Author: Jon S. Berndt
Date started: 08/24/00
Purpose: Encapsulates the propeller object
------------- Copyright (C) 2000 Jon S. Berndt (jon@jsbsim.org) -------------
This program is free s... | adrcad/jsbsim | src/models/propulsion/FGPropeller.cpp | C++ | lgpl-2.1 | 18,356 |
/***************************************************************************
* Copyright (c) 2017 Abdullah Tahiri <abdullah.tahiri.yo@gmail.com> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | Fat-Zer/FreeCAD_sf_master | src/Mod/Sketcher/Gui/CommandSketcherVirtualSpace.cpp | C++ | lgpl-2.1 | 7,905 |
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.datastore.infinispan.test.dialect.impl;
import st... | schernolyas/hibernate-ogm | infinispan/src/test/java/org/hibernate/ogm/datastore/infinispan/test/dialect/impl/IdSourceKeyExternalizerTest.java | Java | lgpl-2.1 | 1,967 |
/*
* Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
* Contact: http://www.qt-project.org/legal
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/leg... | enthought/qt-mobility | plugins/contacts/symbian/contactsmodel/tsrc/integration/tcntpolice/srcsql/ecntviewcount1_cstep.cpp | C++ | lgpl-2.1 | 2,372 |
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | Chuban/moose | modules/porous_flow/src/auxkernels/PorousFlowDarcyVelocityComponent.C | C++ | lgpl-2.1 | 3,535 |
/*
* #%L
* Alfresco greenmail implementation
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* prov... | deas/alfresco-community-edition | projects/3rd-party/greenmail/source/java/com/icegreen/greenmail/imap/ImapServer.java | Java | lgpl-3.0 | 4,970 |