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 |
|---|---|---|---|---|---|
<?php
namespace App\AdminBundle\Entity;
use Symfony\Component\Validator\Constraints as Assert;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="User")
* @ORM\Entity(repositoryClass="App\AdminBundle\Entity\UserRepository")
*/
class User
{
/**
* @ORM\Id
* @ORM\Column(type="intege... | jairoserrano/becasUTB | src/App/AdminBundle/Entity/User.php | PHP | agpl-3.0 | 22,224 |
import factory
from .models import User
USER_PASSWORD = "2fast2furious"
class UserFactory(factory.DjangoModelFactory):
name = "John Doe"
email = factory.Sequence(lambda n: "john{}@example.com".format(n))
password = factory.PostGenerationMethodCall('set_password', USER_PASSWORD)
gender = "male"
... | ballotify/django-backend | ballotify/apps/accounts/factories.py | Python | agpl-3.0 | 353 |
// ----------> GENERATED FILE - DON'T TOUCH! <----------
// generator: ilarkesto.mda.legacy.generator.DaoGenerator
package scrum.server.admin;
import java.util.*;
import ilarkesto.persistence.*;
import ilarkesto.core.logging.Log;
import ilarkesto.base.*;
import ilarkesto.base.time.*;
import ilarkesto.auth.*... | hogi/kunagi | src/generated/java/scrum/server/admin/GUserDao.java | Java | agpl-3.0 | 31,402 |
/*
* RapidMiner
*
* Copyright (C) 2001-2011 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | aborg0/rapidminer-vega | src/com/rapidminer/operator/AddListener.java | Java | agpl-3.0 | 1,124 |
package info.nightscout.androidaps.plugins.SmsCommunicator;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.... | RoumenGeorgiev/AndroidAPS | app/src/main/java/info/nightscout/androidaps/plugins/SmsCommunicator/SmsCommunicatorFragment.java | Java | agpl-3.0 | 3,402 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords"... | jdramani/Judge | ByteJudge/view_facultygroups.php | PHP | agpl-3.0 | 954 |
/*
* ADL2-core
* Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com)
*
* This file is part of ADL2-core.
*
* ADL2-core 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
... | lonangel/adl2-core | adl-parser/src/main/java/org/openehr/adl/am/mixin/AmMixinsInternal.java | Java | agpl-3.0 | 3,715 |
#!/usr/bin/env python
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t -*-
#
# NetProfile: Authentication routines
# © Copyright 2013-2014 Alex 'Unik' Unigovsky
#
# This file is part of NetProfile.
# NetProfile is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General ... | annndrey/npui-unik | netprofile/netprofile/common/auth.py | Python | agpl-3.0 | 6,265 |
<?php
namespace Drupal\effective_activism\AccessControlHandler;
use Drupal;
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Access controller for the Event entity.
*
* @see \Drupal\effec... | EffectiveActivism/effective_activism | src/AccessControlHandler/EventAccessControlHandler.php | PHP | agpl-3.0 | 1,456 |
/**
* Copyright (C) 2001-2017 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 by ... | cm-is-dog/rapidminer-studio-core | src/main/java/com/rapidminer/gui/actions/AboutAction.java | Java | agpl-3.0 | 1,819 |
class CreateVersions < ActiveRecord::Migration
def self.up
create_table :versions do |t|
t.string :item_type, :null => false
t.integer :item_id, :null => false
t.string :event, :null => false
t.string :whodunnit
t.text :object
t.datetime :created_at
end
... | xdite/Airesis | db/migrate/20131202101922_create_versions.rb | Ruby | agpl-3.0 | 783 |
(function() {
'use strict';
angular.module('columbyApp')
.controller('SearchCtrl', function($log,$rootScope, $scope, SearchSrv) {
/* ---------- SETUP ----------------------------------------------------------------------------- */
$scope.contentLoading = true;
$scope.search = {};
$rootScope.t... | columby/www.columby.com | src/www/app/controllers/search/search.controller.js | JavaScript | agpl-3.0 | 1,953 |
QuestionCuePoint cuePoint = new QuestionCuePoint();
cuePoint.EntryId = "0_mej0it92";
cuePoint.Question = "hello world";
OnCompletedHandler<CuePoint> handler = new OnCompletedHandler<CuePoint>(
(CuePoint result, Exception e) =>
{
CodeExample.PrintObject(result);
done = true;
});
CuePoi... | kaltura/developer-platform | test/golden/add_question_cuepoint/csharp.cs | C# | agpl-3.0 | 391 |
from . import models
from . import lroe
| factorlibre/l10n-spain | l10n_es_ticketbai_api_batuz/__init__.py | Python | agpl-3.0 | 40 |
/**
* Copyright (c) 2011-2018 libgroestlcoin developers (see AUTHORS)
*
* This file is part of libgroestlcoin.
*
* libgroestlcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free So... | GroestlCoin/libgroestlcoin | src/network/protocol.cpp | C++ | agpl-3.0 | 19,757 |
/*
* PHEX - The pure-java Gnutella-servent.
* Copyright (C) 2001 - 2006 Arne Babenhauserheide ( arne_bab <at> web <dot> 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 v... | deepstupid/phex | src/main/java/phex/util/RSSParser.java | Java | agpl-3.0 | 13,551 |
<?php /* Smarty version 2.6.11, created on 2012-09-04 14:40:06
compiled from cache/modules/Accounts/EditView.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_include', 'cache/modules/Accounts/EditView.tpl', 39, f... | acuteventures/CRM | cache/smarty/templates_c/%%F7^F76^F763801C%%EditView.tpl.php | PHP | agpl-3.0 | 62,985 |
/*
Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.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 version.
... | AnkiUniversal/Anki-Universal | AnkiU/UserControls/RichEditBoxContentDialog.xaml.cs | C# | agpl-3.0 | 1,960 |
package integration.tests;
import static org.junit.Assert.assertEquals;
import gr.ntua.vision.monitoring.VismoConfiguration;
import gr.ntua.vision.monitoring.VismoVMInfo;
import gr.ntua.vision.monitoring.dispatch.VismoEventDispatcher;
import gr.ntua.vision.monitoring.events.MonitoringEvent;
import gr.ntua.vision.monit... | spyrosg/VISION-Cloud-Monitoring | vismo-core/src/test/java/integration/tests/VismoServiceTest.java | Java | agpl-3.0 | 7,451 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2014 VoltDB 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, either version 3 of the
* License, or (at your option) any la... | zheguang/voltdb | src/frontend/org/voltdb/LoadedProcedureSet.java | Java | agpl-3.0 | 8,988 |
/**
* ISARI Import Scripts File Definitions
* ======================================
*
* Defining the various files to import as well as their line consumers.
*/
module.exports = {
organizations: require('./organizations.js'),
people: require('./people.js'),
activities: require('./activities.js'),
postProc... | SciencesPo/isari | scripts/import/files/index.js | JavaScript | agpl-3.0 | 363 |
/*
* Copyright © Région Nord Pas de Calais-Picardie.
*
* This file is part of OPEN ENT NG. OPEN ENT NG is a versatile ENT Project based on the JVM and ENT Core Project.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* publ... | OPEN-ENT-NG/cursus | src/main/java/org/entcore/cursus/controllers/CursusController.java | Java | agpl-3.0 | 13,069 |
// Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef UNWIND_TYPE_DWA200222_HPP
# define UNWIND_TYPE_DWA200222_HPP
# include <boost/python/detail/cv_category.hpp>
# include <b... | jbruestle/aggregate_btree | tiny_boost/boost/python/detail/unwind_type.hpp | C++ | agpl-3.0 | 4,739 |
class Api::AccountsController < ApiController
def index
@accounts = current_user.accounts
respond_with(@accounts)
end
def show
find_account!
respond_with(@account)
end
def update
find_account!
@account.update(account_params)
respond_with(@account)
end
private
def find_ac... | asm-helpful/helpful-web | app/controllers/api/accounts_controller.rb | Ruby | agpl-3.0 | 555 |
define(['sylvester', 'sha1', 'PrairieGeom'], function (Sylvester, Sha1, PrairieGeom) {
var $V = Sylvester.Vector.create;
var Vector = Sylvester.Vector;
var Matrix = Sylvester.Matrix;
/*****************************************************************************/
/** Creates a PrairieDraw object.
@c... | PrairieLearn/PrairieLearn | public/localscripts/calculationQuestion/PrairieDraw.js | JavaScript | agpl-3.0 | 137,277 |
#--
# Copyright (C) 2007, 2008 Johan Sørensen <johan@johansorensen.com>
# Copyright (C) 2008 David A. Cuadrado <krawek@gmail.com>
# Copyright (C) 2008 Tim Dysinger <tim@dysinger.net>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public ... | almonteb/scoot | spec/models/project_spec.rb | Ruby | agpl-3.0 | 6,546 |
#
# Bold - more than just blogging.
# Copyright (C) 2015-2016 Jens Krämer <jk@jkraemer.net>
#
# This file is part of Bold.
#
# Bold 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 th... | bold-app/bold | app/controllers/frontend_controller.rb | Ruby | agpl-3.0 | 4,629 |
<?php declare(strict_types=1);
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | ChristophWurst/mail | lib/Events/MessageSentEvent.php | PHP | agpl-3.0 | 2,380 |
<?php
/**
* plentymarkets shopware connector
* Copyright © 2013-2014 plentymarkets GmbH
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Publ... | naturdrogerie/plentymarkets-shopware-connector | Components/Soap/Models/PlentySoapRequest/GetMeasureUnitConfig.php | PHP | agpl-3.0 | 1,411 |
import _ from 'underscore'
import Base from '../graphs/base'
import DayBinner from '../graphs/DayBinner'
import WeekBinner from '../graphs/WeekBinner'
import MonthBinner from '../graphs/MonthBinner'
import ScaleByBins from '../graphs/ScaleByBins'
import helpers from '../helpers'
import I18n from 'i18n!page_views'
// #... | instructure/analytics | app/jsx/graphs/DateAlignedGraph.js | JavaScript | agpl-3.0 | 5,859 |
<?php
/**
* Output functions
* Processing text for output such as pulling out URLs and extracting excerpts
*
* @package Elgg
* @subpackage Core
*/
/**
* Takes a string and turns any URLs into formatted links
*
* @param string $text The input string
*
* @return string The output string with formatted links
... | Minds/engine | lib/output.php | PHP | agpl-3.0 | 13,041 |
SavedSearchSelect.$inject = ['session', 'savedSearch'];
export function SavedSearchSelect(session, savedSearch) {
return {
link: function(scope) {
savedSearch.getUserSavedSearches(session.identity).then(function(res) {
scope.searches = res;
});
}
};
}
| lnogues/superdesk-client-core | scripts/superdesk-search/directives/SavedSearchSelect.js | JavaScript | agpl-3.0 | 316 |
import { Ability } from "./ability";
import { search } from "./utility/pathfinding";
import { Hex } from "./utility/hex";
import * as arrayUtils from "./utility/arrayUtils";
import { Drop } from "./drops";
import { Effect } from "./effect";
/**
* Creature Class
*
* Creature contains all creatures properties and at... | ShaneWalsh/AncientBeast | src/creature.js | JavaScript | agpl-3.0 | 37,616 |
class GroupSerializer < ActiveModel::Serializer
embed :ids, include: true
attributes :id,
:organisation_id,
:cohort_id,
:key,
:name,
:created_at,
:description,
:members_can_add_members,
:members_can_create_subgro... | kimihito/loomio | app/serializers/group_serializer.rb | Ruby | agpl-3.0 | 1,358 |
/*
sb0t ares chat server
Copyright (C) 2017 AresChat
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 la... | AresChat/sb0t | core/Udp/UdpNode.cs | C# | agpl-3.0 | 1,310 |
class Admin::AdminSerializer < ActiveModel::Serializer
attributes :id, :name, :email, :teachers
def teachers
teacher_ids = User.find(object.id).teacher_ids
teachers_data = TeachersData.run(teacher_ids)
teachers_data.map{|t| Admin::TeacherSerializer.new(t, root: false) }
end
end | ddmck/Empirical-Core | app/serializers/admin/admin_serializer.rb | Ruby | agpl-3.0 | 299 |
#!/usr/bin/python
#-*- coding: utf-8 -*-
###########################################################
# © 2011 Daniel 'grindhold' Brendle and Team
#
# This file is part of Skarphed.
#
# Skarphed is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public License
# as ... | skarphed/skarphed | core/lib/operation.py | Python | agpl-3.0 | 16,724 |
<?php
/*
This file is part of Incipio.
Incipio is an enterprise resource planning for Junior Enterprise
Copyright (C) 2012-2014 Florian Lefevre.
Incipio 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 Founda... | Emagine-JE/Incipio | src/mgate/PersonneBundle/Controller/PosteController.php | PHP | agpl-3.0 | 5,768 |
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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 3 of the License... | adrianbrink/tendereum | vendor/github.com/ethereumproject/go-ethereum/core/state/journal.go | GO | agpl-3.0 | 2,808 |
using NetEOC.Auth.Data;
using NetEOC.Auth.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NetEOC.Auth.Services
{
public class OrganizationService
{
public OrganizationRepository OrganizationRepository { get; set; }
public Org... | neteoc/neteoc-server | Source/Services/NetEOC.Auth/Services/OrganizationService.cs | C# | agpl-3.0 | 6,031 |
<?php
class m151218_144423_update_et_operationnote_biometry_view extends CDbMigration
{
public function up()
{
$this->execute('CREATE OR REPLACE VIEW et_ophtroperationnote_biometry AS SELECT
eol.id, eol.eye_id, eol.last_modified_date, target_refraction_left, target_refraction_right,
(SELE... | FiviumAustralia/OpenEyes | protected/modules/OphInBiometry/migrations/m151218_144423_update_et_operationnote_biometry_view.php | PHP | agpl-3.0 | 3,374 |
/*
* dmroom.cpp
* Staff functions related to rooms.
* ____ _
* | _ \ ___ __ _| |_ __ ___ ___
* | |_) / _ \/ _` | | '_ ` _ \/ __|
* | _ < __/ (_| | | | | | | \__ \
* |_| \_\___|\__,_|_|_| |_| |_|___/
*
* Permission to use, modify and distribute is granted via the
* GNU Affero General P... | RealmsMud/RealmsCode | staff/dmroom.cpp | C++ | agpl-3.0 | 114,289 |
import React from 'react';
import { Card } from 'bm-kit';
import './_pillar.schedule.source.scss';
const friday = [
{
start: '6:00 PM',
name: '📋 Check in begins'
},
{
start: '8:00 PM',
name: '🎤 Opening Ceremonies'
},
{
start: '9:00 PM',
name: '🤝 Team assembly'
},
{
start: '... | BoilerMake/frontend | src/components/Schedule/index.js | JavaScript | agpl-3.0 | 2,859 |
window.addEventListener("DOMContentLoaded", () => {
let watchers = {};
new DOM('@Dialog').forEach((dialog) => {
dialogPolyfill.registerDialog(dialog);
if (dialog.querySelector('Button[Data-Action="Dialog_Submit"]')) {
dialog.addEventListener("keydown", (event) => {
if (event.ctrlKey && event.keyCode == 1... | GenbuProject/SimpleThread | Dialog.js | JavaScript | agpl-3.0 | 13,060 |
# -*- encoding: utf-8 -*-
from . import res_partner_bank
from . import account_bank_statement_import
| StefanRijnhart/bank-statement-import | account_bank_statement_import/__init__.py | Python | agpl-3.0 | 102 |
import {login, signup} from '../../src/app/actions/authActions';
import ActionsConstants from '../../src/common/constants/actionsConstants';
describe('auth actions', () => {
describe('if we create a login action', () => {
let userId = 'TestUser';
it('should generate action with payload', () => {
... | bernatmv/thegame | client/__tests__/actions/authActions.spec.ts | TypeScript | agpl-3.0 | 1,057 |
"""
Tests course_creators.admin.py.
"""
from django.test import TestCase
from django.contrib.auth.models import User
from django.contrib.admin.sites import AdminSite
from django.http import HttpRequest
import mock
from course_creators.admin import CourseCreatorAdmin
from course_creators.models import CourseCreator
fr... | nttks/edx-platform | cms/djangoapps/course_creators/tests/test_admin.py | Python | agpl-3.0 | 7,332 |
<?php
$mod_strings = array_merge($mod_strings,
array(
'LBL_LIST_NONINHERITABLE' => "Não Herdável",
)
);
?>
| yonkon/nedvig | custom/Extension/modules/Users/Ext/Language/pt_br.SecurityGroups.php | PHP | agpl-3.0 | 115 |
<?php
/**
* Validation.
*
* @author Fabio Alessandro Locati <fabiolocati@gmail.com>
* @author Wenzel Pünter <wenzel@phelix.me>
* @author Daniel Mejta <daniel@mejta.net>
*
* @version 2.0.0
*/
namespace Isbn;
/**
* Validation.
*/
class Validation
{
/**
* Check Instance.
*
* @var Check
... | Fale/isbn | src/Isbn/Validation.php | PHP | agpl-3.0 | 2,769 |
/**
* Copyright (C) 2000 - 2011 Silverpeas
*
* 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 version.
*
* As a spe... | stephaneperry/Silverpeas-Core | lib-core/src/main/java/com/stratelia/webactiv/beans/admin/SynchroDomainScheduler.java | Java | agpl-3.0 | 3,969 |
# frozen_string_literal: true
require 'ffaker'
FactoryBot.define do
sequence(:random_string) { FFaker::Lorem.sentence }
sequence(:random_description) { FFaker::Lorem.paragraphs(Kernel.rand(1..5)).join("\n") }
sequence(:random_email) { FFaker::Internet.email }
factory :classification, class: Spree:... | openfoodfoundation/openfoodnetwork | spec/factories.rb | Ruby | agpl-3.0 | 3,400 |
module CC::Exporter::Epub
module Exportable
def content_cartridge
self.attachment
end
def convert_to_epub(opts={})
exporter = CC::Exporter::Epub::Exporter.new(content_cartridge.open, opts[:sort_by_content])
epub = CC::Exporter::Epub::Book.new(exporter.templates)
epub.create
en... | AndranikMarkosyan/lms | lib/cc/exporter/epub/exportable.rb | Ruby | agpl-3.0 | 332 |
from django.conf.urls.defaults import *
import frontend.views as frontend_views
import codewiki.views
import codewiki.viewsuml
from django.contrib.syndication.views import feed as feed_view
from django.views.generic import date_based, list_detail
from django.views.generic.simple import direct_to_template
f... | rossjones/ScraperWikiX | web/urls.py | Python | agpl-3.0 | 3,556 |
function timenow(){
var timenow1 = Date.getHours();
return timenow1;
} | trynothingy/JQSchProj | assets/js/func.js | JavaScript | agpl-3.0 | 78 |
<!-- | FUNCTION show page to edit account -->
<?php
function $$$showEditAccount () {
global $TSunic;
// activate template
$data = array('User' => $TSunic->Usr);
$TSunic->Tmpl->activate('$$$showEditAccount', '$system$content', $data);
$TSunic->Tmpl->activate('$system$html', false, array('title' => '... | nfrickler/tsunic | data/source/modules/usersystem/functions/showEditAccount.func.php | PHP | agpl-3.0 | 372 |
<?php
//Harvie's PHP HTTP-Auth script (2oo7-2o1o)
//CopyLefted4U ;)
///SETTINGS//////////////////////////////////////////////////////////////////////////////////////////////////////
//Login
/*$realm = 'music'; //This is used by browser to identify protected area and saving passwords (one_site+one_realm==one_user+one_pa... | Kyberia/Kyberia-bloodline | wwwroot/inc/http_auth.php | PHP | agpl-3.0 | 3,525 |
#ifndef HIGHSCORE_HPP
#define HIGHSCORE_HPP
#include <cassert>
#include <sstream>
#include "framework.hpp"
#include "./config.hpp"
#include "./media.hpp"
class Highscore
{
public:
Highscore();
~Highscore();
/* Load/Save */
void load();
void s... | mrzzzrm/shootet | src/Highscore.hpp | C++ | lgpl-2.1 | 1,080 |
// CC0 Public Domain: http://creativecommons.org/publicdomain/zero/1.0/
#include "bsefilter.hh"
#include <sfi/sfi.hh>
using namespace Bse;
const gchar*
bse_iir_filter_kind_string (BseIIRFilterKind fkind)
{
switch (fkind)
{
case BSE_IIR_FILTER_BUTTERWORTH: return "Butterworth";
case BSE_IIR_FILTER_BES... | GNOME/beast | bse/bsefilter.cc | C++ | lgpl-2.1 | 3,662 |
#include <stdio.h>
#include <QtDebug>
#include "cguitreedomdocument.h"
CGuiTreeDomDocument::CGuiTreeDomDocument()
{
QDomImplementation impl;
impl.setInvalidDataPolicy(QDomImplementation::ReturnNullNode);
}
/**
* Get first "guiObject" located in "guiRoot".
*
* @return Node element of first guiObject or an... | stevedorries/DFM2QT4UI | cguitreedomdocument.cpp | C++ | lgpl-2.1 | 651 |
/*
* Copyright 2005-2006 UniVis Explorer development team.
*
* This file is part of UniVis Explorer
* (http://phobos22.inf.uni-konstanz.de/univis).
*
* UniVis Explorer 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... | raedle/univis | src/java/unikn/dbis/univis/message/Internationalizable.java | Java | lgpl-2.1 | 899 |
package soot.jimple.toolkits.callgraph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 2003 Ondrej Lhotak
* %%
* 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 Foundati... | plast-lab/soot | src/main/java/soot/jimple/toolkits/callgraph/VirtualCalls.java | Java | lgpl-2.1 | 13,477 |
/*
Copyright (C) 2000-2001 by Jorrit Tyberghein
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
... | baoboa/Crystal-Space | plugins/mesh/spr2d/object/spr2d.cpp | C++ | lgpl-2.1 | 21,393 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... | halochen90/Hexo-Theme-Luna | source/mobile.09c351.js | JavaScript | lgpl-2.1 | 51,975 |
/////////////////////////////////////////////////////////////////////////////
// Name: help.cpp
// Purpose: wxHtml sample: help test
// Author: ?
// Modified by:
// Created: ?
// RCS-ID: $Id$
// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
//////////////////////////////////... | enachb/freetel-code | src/wxWidgets-2.9.4/samples/html/help/help.cpp | C++ | lgpl-2.1 | 6,219 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, 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... | JiriOndrusek/wildfly-core | controller/src/main/java/org/jboss/as/controller/interfaces/OverallInterfaceCriteria.java | Java | lgpl-2.1 | 11,851 |
/*
* CLiC, Framework for Command Line Interpretation in Eclipse
*
* Copyright (C) 2013 Worldline or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.
*
* This library is free software; you can redistribute it and/or
... | awltech/clic | com.worldline.clic/src/main/java/com/worldline/clic/internal/assist/ContentAssistProvider.java | Java | lgpl-2.1 | 8,789 |
// LICENSE: (Please see the file COPYING for details)
//
// NUS - Nemesis Utilities System: A C++ application development framework
// Copyright (C) 2006, 2007 Otavio Rodolfo Piske
//
// This file is part of NUS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the ... | orpiske/nus | src/base/osal/unix/nthread.cpp | C++ | lgpl-2.1 | 1,277 |
package com.stek101.projectzulu.common.core;
/**
* For usage see: {@link Pair}
*/
public class PairDirectoryFile<K, V> {
private final K directory;
private final V file;
public static <K, V> PairDirectoryFile<K, V> createPair(K directory, V file) {
return new PairDirectoryFil... | soultek101/projectzulu1.7.10 | src/main/java/com/stek101/projectzulu/common/core/PairDirectoryFile.java | Java | lgpl-2.1 | 1,073 |
using System;
namespace InSimDotNet.Packets {
/// <summary>
/// Message to connection packet.
/// </summary>
/// <remarks>
/// Used to send a message to a specific connection or player (can only be used on hosts).
/// </remarks>
public class IS_MTC : IPacket, ISendable {
/... | alexmcbride/insimdotnet | InSimDotNet/Packets/IS_MTC.cs | C# | lgpl-2.1 | 2,537 |
package fastSim.data;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.*;
//import fanweizhu.fastSim.util.Config;
//impor... | fastsim2016/FastSim | fastSim_SS_pre/src/fastSim/data/PrimeSim.java | Java | lgpl-2.1 | 8,347 |
/* Copyright (c) 2013-2014 Boundless and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/edl-v10.html
*
* Cont... | jodygarnett/GeoGig | src/datastore/src/main/java/org/locationtech/geogig/geotools/data/GeoGigDataStore.java | Java | lgpl-2.1 | 17,024 |
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2003-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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 ... | geotools/geotools | modules/unsupported/vpf/src/main/java/org/geotools/data/vpf/exc/VPFHeaderFormatException.java | Java | lgpl-2.1 | 1,418 |
#!/usr/bin/env python
import sys
import gobject
import dbus.mainloop.glib
dbus.mainloop.glib.DBusGMainLoop(set_as_default = True)
import telepathy
DBUS_PROPERTIES = 'org.freedesktop.DBus.Properties'
def get_registry():
reg = telepathy.client.ManagerRegistry()
reg.LoadManagers()
return reg
def get_connection... | epage/telepathy-bluewire | hand_tests/generic.py | Python | lgpl-2.1 | 17,072 |
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Pango {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
public partial class FontFace : GLib.Object {
pu... | akrisiun/gtk-sharp | pango/generated/Pango/FontFace.cs | C# | lgpl-2.1 | 2,141 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ia">
<context>
<name>LxQtTaskButton</name>
<message>
<location filename="../lxqttaskbutton.cpp" line="367"/>
<source>Application</source>
<translation type="unfinished"></translation>
</message>
<mes... | npmiller/lxqt-panel | plugin-taskbar/translations/taskbar_ia.ts | TypeScript | lgpl-2.1 | 5,821 |
package compiler.ASTNodes.Operators;
import compiler.ASTNodes.GeneralNodes.Node;
import compiler.ASTNodes.GeneralNodes.UnaryNode;
import compiler.ASTNodes.SyntaxNodes.ExprNode;
import compiler.Visitors.AbstractVisitor;
public class UnaryMinusNode extends ExprNode {
public UnaryMinusNode(Node child) {
super(child,... | TobiasMorell/P4 | Minecraft/src/main/java/compiler/ASTNodes/Operators/UnaryMinusNode.java | Java | lgpl-2.1 | 415 |
#include <QtGui>
#include "btglobal.h"
#include "btqlistdelegate.h"
//#include <QMetaType>
btQListDeletgate::btQListDeletgate(QObject *parent)
: QItemDelegate(parent)
{
}
QWidget *btQListDeletgate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
{
//qRegisterMeta... | pranavrc/gluon | smarts/editor/btqlistdelegate.cpp | C++ | lgpl-2.1 | 1,655 |
/**
* NativeFmod Project
*
* Want to use FMOD API (www.fmod.org) in the Java language ? NativeFmod is made for you.
* Copyright © 2004-2007 Jérôme JOUVIE (Jouvieje)
*
* Created on 28 avr. 2004
* @version NativeFmod v3.4 (for FMOD v3.75)
* @author Jérôme JOUVIE (Jouvieje)
*
*
* WANT TO CONTACT ME ?
* E-m... | jerome-jouvie/NativeFmod | src-java/org/jouvieje/Fmod/Structures/FSOUND_REVERB_CHANNELPROPERTIES.java | Java | lgpl-2.1 | 13,664 |
//Copyright (c) Microsoft Corporation. All rights reserved.
// AddIn.cpp : Implementation of DLL Exports.
#include "stdafx.h"
#include "resource.h"
#include "AddIn.h"
CAddInModule _AtlModule;
// DLL Entry Point
extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
_AtlModule.Se... | MikeMcShaffry/gamecode3 | Dev/Source/3rdParty/LuaPlus/Tools/LuaPlusDebuggerAddin/LuaPlusDebuggerAddin/AddIn.cpp | C++ | lgpl-2.1 | 3,265 |
import json
import etcd
from tendrl.gluster_bridge.atoms.volume.set import Set
class SetVolumeOption(object):
def __init__(self, api_job):
super(SetVolumeOption, self).__init__()
self.api_job = api_job
self.atom = SetVolumeOption
def start(self):
attributes = json.loads(self.... | shtripat/gluster_bridge | tendrl/gluster_bridge/flows/set_volume_option.py | Python | lgpl-2.1 | 705 |
/**
* @file common/js/xml_handler.js
* @brief XE에서 ajax기능을 이용함에 있어 module, act를 잘 사용하기 위한 자바스크립트
**/
// xml handler을 이용하는 user function
var show_waiting_message = true;
/* This work is licensed under Creative Commons GNU LGPL License.
License: http://creativecommons.org/licenses/LGPL/2.1/
Ve... | haegyung/xe-core | common/js/src/xml_handler.js | JavaScript | lgpl-2.1 | 14,624 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.kore.runtime.jsf.converter;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import java... | konradrenner/KoreRuntime-jsf | src/main/java/org/kore/runtime/jsf/converter/TitelConverter.java | Java | lgpl-2.1 | 1,145 |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No... | radekp/qt | tests/auto/qguivariant/tst_qguivariant.cpp | C++ | lgpl-2.1 | 1,941 |
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2002-2012, Open Source Geospatial Foundation (OSGeo)
*
* 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 ... | geotools/geotools | modules/library/referencing/src/main/java/org/geotools/referencing/factory/gridshift/ClasspathGridShiftLocator.java | Java | lgpl-2.1 | 1,361 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* 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.dialect.identity;
import java.sql.PreparedStatement;
import ... | 1fechner/FeatureExtractor | sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/main/java/org/hibernate/dialect/identity/Oracle12cGetGeneratedKeysDelegate.java | Java | lgpl-2.1 | 1,313 |
/*******************************************************************************
* Copyright (c) 2012 Scott Ross.
* 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 available at
... | sross07/alms | src/main/java/org/alms/messages/IMsg.java | Java | lgpl-2.1 | 1,077 |
<?php
// (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: ks_prefreport.php 57954 2016-03-17 19:34:29Z jyhem $
... | XavierSolerFR/diem25tiki | doc/devtools/ks_prefreport.php | PHP | lgpl-2.1 | 5,981 |
package jastadd.soot.JastAddJ;
import java.util.HashSet;import java.util.LinkedHashSet;import java.io.File;import java.util.*;import jastadd.beaver.*;import java.util.ArrayList;import java.util.zip.*;import java.io.*;import java.io.FileNotFoundException;import java.util.Collection;import soot.*;import soot.util.*;impo... | plast-lab/soot | src/jastadd/soot/JastAddJ/ParClassInstanceExpr.java | Java | lgpl-2.1 | 8,648 |
/*
* filter_glsl_manager.cpp
* Copyright (C) 2011-2012 Christophe Thommeret <hftom@free.fr>
* Copyright (C) 2013 Dan Dennedy <dan@dennedy.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 Founda... | xzhavilla/mlt | src/modules/opengl/filter_glsl_manager.cpp | C++ | lgpl-2.1 | 15,812 |
package org.wingx;
import java.awt.Color;
import org.wings.*;
import org.wings.style.CSSAttributeSet;
import org.wings.style.CSSProperty;
import org.wings.style.CSSStyle;
import org.wings.style.CSSStyleSheet;
import org.wings.style.Selector;
import org.wings.style.Style;
public class XDivision
extends SContainer
... | dheid/wings3 | wingx/src/main/java/org/wingx/XDivision.java | Java | lgpl-2.1 | 5,529 |
/*
* $Id: IpWatch.java 3905 2008-07-28 13:55:03Z uckelman $
*
* Copyright (c) 2007-2008 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 librar... | caiusb/vassal | src/VASSAL/chat/peer2peer/IpWatch.java | Java | lgpl-2.1 | 2,630 |
/*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistr... | ekiwi/jade-mirror | src/examples/O2AInterface/O2AInterfaceExample.java | Java | lgpl-2.1 | 3,081 |
import sys
import time
sleep = time.sleep
if sys.platform == 'win32':
time = time.clock
else:
time = time.time
| egbertbouman/tribler-g | Tribler/Core/DecentralizedTracking/pymdht/core/ptime.py | Python | lgpl-2.1 | 124 |
/*
* Copyright (C) 2007 Sebastian Sauer <mail@dipe.org>
*
* This file is part of SuperKaramba.
*
* SuperKaramba 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... | KDE/superkaramba | src/sensors/plasmaengine.cpp | C++ | lgpl-2.1 | 7,725 |
tinymce.addI18n('it',{
"Cut": "Taglia",
"Heading 5": "Intestazione 5",
"Header 2": "Header 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Il tuo browser non supporta l'accesso diretto negli Appunti. Per favore usa i tasti di scelta rapida Ctr... | OpenSlides/tinymce-i18n | langs/it.js | JavaScript | lgpl-2.1 | 7,599 |
# Authors: David Goodger; Gunnar Schwant
# Contact: goodger@users.sourceforge.net
# Revision: $Revision: 21817 $
# Date: $Date: 2005-07-21 13:39:57 -0700 (Thu, 21 Jul 2005) $
# Copyright: This module has been placed in the public domain.
# New language mappings are welcome. Before doing a new translation, p... | garinh/cs | docs/support/docutils/languages/de.py | Python | lgpl-2.1 | 1,814 |
<?php
/**
* PHPExcel 读取插件类
*/
class PHPExcelReaderChajian extends Chajian{
protected function initChajian()
{
$this->Astr = 'A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BP,... | holmesian/xinhu-project | include/chajian/PHPExcelReaderChajian.php | PHP | lgpl-2.1 | 2,818 |
#include "nova_renderer/util/platform.hpp"
#ifdef NOVA_LINUX
#include "x11_window.hpp"
namespace nova::renderer {
x11_window::x11_window(uint32_t width, uint32_t height, const std::string& title) {
display = XOpenDisplay(nullptr);
if(display == nullptr) {
throw window_creation_error("... | DethRaid/vulkan-mod | src/render_engine/vulkan/x11_window.cpp | C++ | lgpl-2.1 | 2,769 |
package codechicken.lib.math;
import net.minecraft.util.math.BlockPos;
//TODO cleanup.
public class MathHelper {
public static final double phi = 1.618033988749894;
public static final double pi = Math.PI;
public static final double todeg = 57.29577951308232;
public static final double torad = 0.0174... | darkeports/tc5-port | src/main/java/thaumcraft/codechicken/lib/math/MathHelper.java | Java | lgpl-2.1 | 9,265 |
/*******************************************************************************
* Copyright 2002 National Student Clearinghouse
*
* This code is part of the Meteor system as defined and specified
* by the National Student Clearinghouse and the Meteor Sponsors.
*
* This library is free software; you can redist... | NationalStudentClearinghouse/Meteor4 | meteorlib/src/main/java/org/meteornetwork/meteor/common/abstraction/index/MeteorIndexResponseWrapper.java | Java | lgpl-2.1 | 3,856 |