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
// RUN: %clang_cc1 -std=c++11 -triple x86_64-linux-gnu -emit-llvm %s -o - | FileCheck %s --check-prefix=LINUX // RUN: %clang_cc1 -std=c++11 -triple x86_64-windows-pc -emit-llvm %s -o - | FileCheck %s --check-prefix=WINDOWS int __attribute__((target("sse4.2"))) foo_overload(int) { return 0; } int __attribute__((target(...
sabel83/metashell
3rd/templight/clang/test/CodeGenCXX/attr-target-mv-overloads.cpp
C++
gpl-3.0
3,859
/* * #%L * GeoWE Project * %% * Copyright (C) 2015 - 2016 GeoWE.org * %% * This file is part of GeoWE.org. * * GeoWE 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, ...
geowe/geowe-core
src/main/java/org/geowe/client/local/main/tool/project/OpenProjectTool.java
Java
gpl-3.0
5,059
<?php /** * The template for displaying all WooCommerce pages. * * @package zerif-lite */ get_header(); ?> <div class="clear"></div> </header> <!-- / END HOME SECTION --> <?php zerif_after_header_trigger(); ?> <div id="content" class="site-content"> <div class="container"> <div class="content-left-wrap col-...
Codeinwp/zerif-lite
woocommerce.php
PHP
gpl-3.0
594
namespace OmniXaml.Wpf { using System.Threading.Tasks; using System.Windows; using Services.Mvvm; public class WpfWindow : Window, IView { public new Task ShowDialog() { return new Task(() => this.ShowDialog()); } public void SetViewModel(object ...
grokys/OmniXAML
Source/OmniXaml.Wpf/WpfWindow.cs
C#
gpl-3.0
400
/* * Copyright (C) 2008 Search Solution Corporation. All rights reserved by Search Solution. * * 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 not...
andrei14vl/cubrid
src/cci/cci_log.cpp
C++
gpl-3.0
18,272
export function QuerySelectorAllIterate(el:HTMLElement, query:string) : HTMLElement[] { let els :HTMLElement[] = []; if ('function'==typeof el.matches) { if (el.matches(query)) { els.push(el); } } else if ('function'==typeof (el as any).matchesSelector) { if ((el as any).matchesSelector(query)) { els.pus...
katmutua/electric-book-gui
src/ts/querySelectorAll-extensions.ts
TypeScript
gpl-3.0
514
package de.persosim.simulator.tlv; import java.util.Comparator; import de.persosim.simulator.utils.Utils; /** * This class implements a comparator for sorting TLV data objects in DER-TLV * order. Sorting is performed based on the sorting of tags. In detail tags * again are sorted based on their indicated class an...
PersoSim/de.persosim.simulator
de.persosim.simulator/src/de/persosim/simulator/tlv/TlvDataObjectComparatorDer.java
Java
gpl-3.0
1,516
<?php /* * ©2013 Croce Rossa Italiana */ paginaPrivata(); caricaSelettore(); controllaParametri(['id'], 'attivita.gestione&err'); $a = Attivita::id($_GET['id']); paginaAttivita($a); if (!$a->haPosizione()) { redirect('attivita.localita&id=' . $a->id); } $del = $me->delegazioni(APP_ATTIVITA); $comitat...
CroceRossaCatania/gaia
inc/attivita.modifica.php
PHP
gpl-3.0
4,359
<?php $rangeid=122; $prevcid=126; $prevwidth=754; $interval=false; $range=array ( 32 => array ( 0 => 286, 1 => 360, 2 => 414, 3 => 754, 4 => 572, 5 => 855, 6 => 702, 7 => 247, ), 40 => array ( 0 => 351, 1 => 351, 'interval' => true, ), 42 => array ( 0 =...
Tinchosan/wingpanel
admin/lib/vendor/mpdf/mpdf/tmp/ttfontdata/dejavusanscondensed.cw127.php
PHP
gpl-3.0
2,055
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ qx.Theme.define("${Namespace}.theme.modern.Decoration", { decorations : { } });
09zwcbupt/undergrad_thesis
ext/poxdesk/qx/component/skeleton/contribution/trunk/source/class/custom/theme/modern/Decoration.tmpl.js
JavaScript
gpl-3.0
280
<?php include ('lib/twitese.php'); $title = "Settings"; include ('inc/header.php'); if (!loginStatus()) header('location: login.php'); ?> <script src="js/colorpicker.js"></script> <script src="js/setting.js"></script> <link rel="stylesheet" href="css/colorpicker.css" /> <div id="statuses" class="column round-left...
xctcc/embrr
setting.php
PHP
gpl-3.0
7,543
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
GDevs/mission-farpoint
ogre/RenderSystems/GLSupport/src/OgreGLRenderSystemCommon.cpp
C++
gpl-3.0
6,592
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2016-2017 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 hop...
sergiocazzolato/snapd
interfaces/builtin/network_control.go
GO
gpl-3.0
11,137
// Copyright 2014 the V8 project 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 "src/v8.h" #include "src/arguments.h" #include "src/compiler.h" #include "src/deoptimizer.h" #include "src/frames.h" #include "src/full-codege...
zhangf911/fibjs
vender/v8/src/runtime/runtime-compiler.cc
C++
gpl-3.0
15,913
<?php /* * This file is part of the symfony package. * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfCacheFilter deals with page caching and action ...
sandaru1/codejam
www/lib/symfony/filter/sfCacheFilter.class.php
PHP
gpl-3.0
6,072
package org.apache.bcel.generic; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification...
miuirussia/KJBE
src/org/apache/bcel/generic/GETFIELD.java
Java
gpl-3.0
4,938
exports.play = 'afplay'; exports.raise_volume = 'osascript -e "set Volume 10"'; // unmutes as well
prey/prey-node-client
lib/agent/actions/alarm/mac.js
JavaScript
gpl-3.0
98
package de.metas.ui.web.window.exceptions; import org.adempiere.exceptions.AdempiereException; import de.metas.ui.web.window.datatypes.DocumentPath; import de.metas.ui.web.window.model.Document; /* * #%L * metasfresh-webui-api * %% * Copyright (C) 2016 metas GmbH * %% * This program is free software: you can r...
metasfresh/metasfresh-webui-api
src/main/java/de/metas/ui/web/window/exceptions/InvalidDocumentStateException.java
Java
gpl-3.0
1,498
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
happyjack27/autoredistrict
src/org/apache/commons/math3/ode/FieldSecondaryEquations.java
Java
gpl-3.0
3,524
using GitCommands; using GitCommands.Utils; namespace GitUI.CommandsDialogs.SettingsDialog.Pages { public partial class FormBrowseRepoSettingsPage : SettingsPageWithHeader { public FormBrowseRepoSettingsPage() { InitializeComponent(); Text = "Browse repository window"; ...
gencer/gitextensions
GitUI/CommandsDialogs/SettingsDialog/Pages/FormBrowseRepoSettingsPage.cs
C#
gpl-3.0
1,850
module Genome module Importers module DSL module WithDrugsAndGenes attr_accessor :gene_claim, :drug_claim def initialize(item_id, importer_instance, row_instance) super(item_id, importer_instance, row_instance, 'interaction_claim') end def gene(column, opts = {}, &...
genome/dgi-db
lib/genome/importers/dsl/with_drugs_and_genes.rb
Ruby
gpl-3.0
1,201
package buildcraftAdditions.ModIntegration.Buildcraft.Triggers; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.common.util.ForgeDirection; import buildcraft.api.statements.IStatementContainer; import buildcraft.api.statements.IStatementParameter; import buildcraftAdditions.tileEntities.TileCh...
AEnterprise/Buildcraft-Additions
src/main/java/buildcraftAdditions/ModIntegration/Buildcraft/Triggers/TriggerDoneCharging.java
Java
gpl-3.0
1,093
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- #include "AP_BattMonitor.h" #include "AP_BattMonitor_Analog.h" #include "AP_BattMonitor_SMBus.h" #include "AP_BattMonitor_Bebop.h" extern const AP_HAL::HAL& hal; const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Param: _MONIT...
Boyang--Li/ardupilot
libraries/AP_BattMonitor/AP_BattMonitor.cpp
C++
gpl-3.0
14,002
using uint8_t = System.Byte; using uint16_t = System.UInt16; using uint32_t = System.UInt32; using uint64_t = System.UInt64; using int8_t = System.SByte; using int16_t = System.Int16; using int32_t = System.Int32; using int64_t = System.Int64; using float32 = System.Single; using System; using System.Linq; using ...
ArduPilot/MissionPlanner
ExtLibs/DroneCAN/out/src/uavcan.protocol.debug.LogLevel.cs
C#
gpl-3.0
1,660
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** * Copyright (c) 2014, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, * ...
dibenede/NFD-NDNcomm2014
tools/nfd-status.cpp
C++
gpl-3.0
29,976
#include "MantidAPI/WorkspaceProperty.h" #include "MantidAPI/WorkspaceFactory.h" #include "MantidAPI/WorkspaceGroup.h" #include "MantidSINQ/PoldiFitPeaks1D.h" #include "MantidDataObjects/Workspace2D.h" #include "MantidDataObjects/TableWorkspace.h" #include "MantidAPI/FunctionFactory.h" #include "MantidKernel/BoundedVa...
dymkowsk/mantid
Framework/SINQ/src/PoldiFitPeaks1D.cpp
C++
gpl-3.0
7,337
<?php /* ************************************************************************************************************************** ** CORAL Organizations Module v. 1.0 ** ** Copyright (c) 2010 University of Notre Dame ** ** This file is part of CORAL. ** ** CORAL is free software: you can redistribute it and/or modif...
NathanAhlstrom/CORAL
usage/old/admin/classes/domain/ExternalLogin.php
PHP
gpl-3.0
1,138
using System; using System.Collections.Generic; using System.Linq; using Challenger_Series.Utils; using LeagueSharp; using LeagueSharp.SDK; using SharpDX; using Color = System.Drawing.Color; using Challenger_Series.Utils; using System.Windows.Forms; using LeagueSharp.Data.Enumerations; using LeagueSharp.SDK.Enumeration...
saophaisau/port
Core/SDK Ports/ChallengerSeriesAIO/Plugins/Teemo.cs
C#
gpl-3.0
12,392
<?php /* Copyright (C) 2017 Alexandre Spangaro <aspangaro@zendsi.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 3 of the License, or * (at your option) any later ver...
guerrierk/dolibarr
htdocs/compta/bank/various_payment/document.php
PHP
gpl-3.0
3,783
using System; using System.Collections.Generic; using System.Linq; using System.Text; using WiimoteLib; namespace WiiApi { /// <summary> /// Klasa koriscena za prikaz polozaja i orijentacije glave u prostoru. Sadrzi samo metode za dobavljanje informacija. /// </summary> public class PolozajGlave { ...
ljsimin/gimii
WiiApi/WiiApi/PolozajGlave.cs
C#
gpl-3.0
3,610
var UniteSettingsRev = new function(){ var arrControls = {}; var colorPicker; var t=this; this.getSettingsObject = function(formID){ var obj = new Object(); var form = document.getElementById(formID); var name,value,type,flagUpdate; //enabling all form items connected to mx var len = form.elem...
fwahyudi17/ofiskita
system/configa/revslider/js/settings.js
JavaScript
gpl-3.0
9,972
package cloudstack import ( "fmt" "io/ioutil" "regexp" "github.com/hashicorp/packer/packer" "github.com/mitchellh/multistep" "github.com/xanzy/go-cloudstack/cloudstack" ) type stepPrepareConfig struct{} func (s *stepPrepareConfig) Run(state multistep.StateBag) multistep.StepAction { client := state.Get("clie...
dayglojesus/packer
builder/cloudstack/step_prepare_config.go
GO
mpl-2.0
5,108
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; namespace Hatfield.EnviroData.DataAcquisition.XML { public class XMLDataSourceLocation: IDataSourceLocation { public string _elementName; public string _attributeName; public in...
HatfieldConsultants/Hatfield.EnviroData.DataAcquisition
Source/Hatfield.EnviroData.DataAcquisition.XML/XMLDataSourceLocation.cs
C#
mpl-2.0
1,295
package cabf_br /* * ZLint Copyright 2021 Regents of the University of Michigan * * 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 r...
jcjones/boulder
vendor/github.com/zmap/zlint/v3/lints/cabf_br/lint_sub_cert_aia_missing.go
GO
mpl-2.0
2,127
/** * This file is part of mycollab-mobile. * * mycollab-mobile 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. * * mycollab-mo...
maduhu/mycollab
mycollab-mobile/src/main/java/com/esofthead/mycollab/mobile/module/project/view/ProjectLoginPresenter.java
Java
agpl-3.0
1,424
using System; namespace ACE.Server.Network.GameAction.Actions { public static class GameActionUseItem { [GameAction(GameActionType.Use)] public static void Handle(ClientMessage message, Session session) { uint itemGuid = message.Payload.ReadUInt32(); //Console.W...
LtRipley36706/ACE
Source/ACE.Server/Network/GameAction/Actions/GameActionUseItem.cs
C#
agpl-3.0
470
<?php /** * class.reportTables.php * * @package workflow.engine.ProcessMaker * * ProcessMaker Open Source Edition * Copyright (C) 2004 - 2011 Colosa 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...
BathnesDevelopment/processmaker-3.1.2.b2-community
workflow/engine/classes/class.reportTables.php
PHP
agpl-3.0
43,778
<?php namespace League\OAuth2\Client\Provider; use League\OAuth2\Client\Exception\HostedDomainException; use League\OAuth2\Client\Provider\Exception\IdentityProviderException; use League\OAuth2\Client\Token\AccessToken; use League\OAuth2\Client\Tool\BearerAuthorizationTrait; use Psr\Http\Message\ResponseInterface; c...
colosa/processmaker
vendor/league/oauth2-google/src/Provider/Google.php
PHP
agpl-3.0
4,424
define([ 'database', 'backbone' ], function (DB, Backbone) { var MessageModel = Backbone.Model.extend({ defaults: { messageId: 0, sender: '', title: '', content: '', hasAttachment: false, sendDate: new Date(), url: '...
sanyaade-teachings/mobile-messaging
www/js/models/message.js
JavaScript
agpl-3.0
4,522
/* * sones GraphDB - Community Edition - http://www.sones.com * Copyright (C) 2007-2011 sones GmbH * * This file is part of sones GraphDB Community Edition. * * sones GraphDB 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...
sones/sones
Applications/TagExampleWithGraphMappingFramework/Example.cs
C#
agpl-3.0
29,686
/* * Copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved. * * Permission to use, copy, modify, and distribute this software * and its documentation for NON-COMMERCIAL purposes and without * fee is hereby granted provided that this copyright notice * appears in all copies. Please refer to the file "copyr...
kerr-huang/openss7
src/java/javax/telephony/Connection.java
Java
agpl-3.0
22,953
/* * Copyright (c) 2018. Wise Wild Web * * This File is part of Caipi and under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License * Full license at https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode * * @author : Nathanael Braun * @contact : caipilabs@gmail.com...
nathb2b/mamasound.fr
App/config.js
JavaScript
agpl-3.0
1,324
## Note: you must install Levenshtein module # pip install python-Levenshtein # for this Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27 # more info - see: http://stackoverflow.com/questions/18134437/where-can-the-documentation-for-python-levenshtein-be-found-online from pymongo import Mongo...
benjaminsoellner/2015_Data_Analyst_Project_3
Project/audit_quality_map.py
Python
agpl-3.0
3,625
<?php class Cloudsponge_Integration { var $enabled; var $key; /** * PHP 5 Constructor * * @package Invite Anyone * @since 0.8 */ function __construct() { if ( empty( $options ) ) $options = get_option( 'invite_anyone' ); $this->enabled = !empty( $options['cloudsponge_enabled'] ) ? $options['clo...
empirical-org/Empirical-Wordpress
wp-content/plugins/invite-anyone/by-email/cloudsponge-integration.php
PHP
agpl-3.0
2,189
package rocks.inspectit.ui.rcp.repository.service.cmr.proxy; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import org.aopalliance.intercept.MethodInvocation; import org.springframework.aop.framework.ReflectiveMethodInvocation; import com.google.common.base.Defaults;...
inspectIT/inspectIT
inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/repository/service/cmr/proxy/InterceptorUtils.java
Java
agpl-3.0
3,959
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. package model import ( "bytes" "fmt" "io" "io/ioutil" "mime/multipart" "net/http" "net/url" "strconv" "strings" "time" l4g "github.com/alecthomas/log4go" ) const ( HEADER_REQUEST_ID = "X-Reque...
asaadmahmoodspin/platform
model/client.go
GO
agpl-3.0
84,229
require 'spec_helper' describe Queries::SignaturesExport do subject { Queries::SignaturesExport.new(petition_id: petition_id) } let(:petition_id) { '1' } it "should have generate some SQL" do subject.sql.should start_with("SELECT") end context "with objects" do let(:petition) { FactoryGirl.create...
MayOneUS/victorykit
spec/models/queries/signatures_export_spec.rb
Ruby
agpl-3.0
963
/*////////////////////////////////////////////////////////////////// //// SKIRT -- an advanced radiative transfer code //// //// © Astronomical Observatory, Ghent University //// ///////////////////////////////////////////////////////////////// */ #include "SubItemPropertyWizardPane.hpp" #...
raesjo/SKIRTcorona
SkirtMakeUp/SubItemPropertyWizardPane.cpp
C++
agpl-3.0
3,696
/** * Copyright 2015 Telefonica Investigación y Desarrollo, S.A.U * * This file is part of fiware-tidoop (FI-WARE project). * * fiware-tidoop 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 v...
telefonicaid/fiware-tidoop
tidoop-hadoop-ext/src/main/java/com/telefonica/iot/tidoop/apiext/utils/CKANMapReduceExample.java
Java
agpl-3.0
6,139
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2014 Agile Business Group sagl # (<http://www.agilebg.com>) # @author Alex Comba <alex.comba@agilebg.com> # # This program is free software: you can redistribute it and/or modify # it ...
jbaudoux/account-invoicing
__unported__/stock_invoice_picking_incoterm/__openerp__.py
Python
agpl-3.0
1,830
package org.yamcs.parameter; import org.yamcs.protobuf.Yamcs.Value.Type; public class FloatValue extends Value { final float v; public FloatValue(float v) { this.v = v; } @Override public Type getType() { return Type.FLOAT; } @Override public float getFloatValue() { ...
fqqb/yamcs
yamcs-core/src/main/java/org/yamcs/parameter/FloatValue.java
Java
agpl-3.0
767
from django.utils.translation import ugettext as _, ugettext_lazy as _lazy from django.core import urlresolvers from django.http import HttpResponse, HttpResponseServerError from flexi_auth.models import ObjectWithContext from rest.views.blocks.base import BlockSSDataTables, ResourceBlockAction, CREATE_CSV from const...
befair/gasistafelice
gasistafelice/rest/views/blocks/transactions.py
Python
agpl-3.0
6,479
require 'test_helper' class CurrenciesHelperTest < ActionView::TestCase end
BCJonesey/CDB3
test/unit/helpers/currencies_helper_test.rb
Ruby
agpl-3.0
77
<?php /** * Interface denoting an event is a deferred event that should be raised only at the end of the multirequest * * @package Core * @subpackage events */ interface IKalturaMultiDeferredEvent { /** * @param array $partnerCriteriaParams */ public function setPartnerCriteriaParams(array $partnerCriteriaP...
kaltura/server
alpha/apps/kaltura/lib/events/interfaces/IKalturaMultiDeferredEvent.php
PHP
agpl-3.0
330
package org.tasgoon.coherence.client; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import org.apache.commons.io.FileUtils; import org.tasgoon.coherence.common.Library; import org.tasgoon.coherence.ziputils.ZipUtility; import joptsimple.OptionParser;...
Kagiu/Coherence
src/main/java/org/tasgoon/coherence/client/CohereUndoer.java
Java
agpl-3.0
3,832
(function () { var ns = $.namespace('pskl.service'); ns.SelectedColorsService = function () { this.reset(); }; ns.SelectedColorsService.prototype.init = function () { $.subscribe(Events.PRIMARY_COLOR_SELECTED, this.onPrimaryColorUpdate_.bind(this)); $.subscribe(Events.SECONDARY_COLOR_SELECTED, thi...
RichardMarks/piskel
src/js/service/SelectedColorsService.js
JavaScript
agpl-3.0
1,011
<?php return [ 'accessories' => 'Accessories', 'activated' => 'Aktivoitu', 'accessory' => 'Accessory', 'accessory_report' => 'Accessory Report', 'action' => 'Toiminto', 'activity_report' => 'Activity Report', 'address' => 'Osoite', 'admin' => 'Ylläpit...
Murima/asset-mgmt
resources/lang/fi/general.php
PHP
agpl-3.0
8,191
// Copyright 2016 The Mangos Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use 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...
synapse-garden/sg-proto
vendor/github.com/go-mangos/mangos/examples/survey/survey.go
GO
agpl-3.0
3,364
class Admin::PetitionsController < ApplicationController before_filter :require_admin def index params[:time_span] ||= 'month' respond_to do |format| format.html {} format.json { render json: PetitionsDatatable.new(view_context, PetitionReportRepository.new) } end end end
ChrisAntaki/victorykit
app/controllers/admin/petitions_controller.rb
Ruby
agpl-3.0
304
/* * Async_MediaConnectionListener.java Version-1.4, 2002/11/22 09:26:10 -0800 (Fri) * ECTF S.410-R2 Source code distribution. * * Copyright (c) 2002, Enterprise Computer Telephony Forum (ECTF), * All Rights Reserved. * * Use and redistribution of this file is subject to a License. * For terms and conditions se...
openss7/openss7
src/java/javax/telephony/media/connection/async/Async_MediaConnectionListener.java
Java
agpl-3.0
2,435
// Copyright 2014 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/miner/miner.go
GO
agpl-3.0
5,441
/** * Copyright (c) 2010-present Abixen Systems. All rights reserved. * * 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 of the License, or (at your option) * any ...
cloudowski/abixen-platform
abixen-platform-business-intelligence-service/src/main/java/com/abixen/platform/service/businessintelligence/multivisualisation/service/DomainBuilderService.java
Java
lgpl-2.1
1,441
<?php /* * $Id$ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CO...
ascorbic/doctrine-tracker
tests/Ticket/DC187TestCase.php
PHP
lgpl-2.1
3,118
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import spack.util.url import spack.package class XorgPackage(spack.package.PackageBase): """Mixin that takes care of...
iulian787/spack
lib/spack/spack/build_systems/xorg.py
Python
lgpl-2.1
1,541
/* * Binomial.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modify * it un...
CompEvol/beast2
src/beast/math/Binomial.java
Java
lgpl-2.1
2,920
<?php namespace wcf\data\devtools\missing\language\item; use wcf\data\DatabaseObject; use wcf\data\language\Language; use wcf\system\language\LanguageFactory; use wcf\system\WCF; use wcf\util\JSON; /** * Represents a missing language item log entry. * * @author Matthias Schmidt * @copyright 2001-2020 WoltLab ...
SoftCreatR/WCF
wcfsetup/install/files/lib/data/devtools/missing/language/item/DevtoolsMissingLanguageItem.class.php
PHP
lgpl-2.1
2,209
package ch.unibas.cs.hpwc.patus.grammar.stencil2; import cetus.hir.BinaryExpression; import cetus.hir.BinaryOperator; import cetus.hir.DepthFirstIterator; import cetus.hir.Expression; import cetus.hir.IDExpression; import cetus.hir.IntegerLiteral; import cetus.hir.NameID; import ch.unibas.cs.hpwc.patus.representation....
matthias-christen/patus
src/ch/unibas/cs/hpwc/patus/grammar/stencil2/StencilSpecificationAnalyzer.java
Java
lgpl-2.1
4,059
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
FabienPean/sofa
modules/SofaBoundaryCondition/SurfacePressureForceField.cpp
C++
lgpl-2.1
2,847
/* * ALMA - Atacama Large Millimiter Array (c) European Southern Observatory, 2010 * * 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 of the License, or (at your o...
ACS-Community/ACS
LGPL/CommonSoftware/acsGUIs/AlarmSystemProfiler/src/alma/acs/alarmsystemprofiler/document/flood/FloodContainer.java
Java
lgpl-2.1
7,180
/* * Copyright 2011 Stephen Liu * For license terms, see the file COPYING along with this library. */ #include <vector> #include <unistd.h> #include <errno.h> #include <signal.h> #include <stdlib.h> #include <unistd.h> #include <assert.h> #include "spnkprefork.hpp" #include "spnklog.hpp" #include "spnkstr.hpp" #in...
spsoft/spnetkit
spnetkit/spnkprefork.cpp
C++
lgpl-2.1
6,852
package org.exist.source; import java.io.*; import java.util.Map; import org.exist.security.PermissionDeniedException; import org.exist.security.Subject; import org.exist.storage.DBBroker; /** * A simple source object wrapping a single query string, but associating it with a specific * map (e.g., of namespace bind...
jensopetersen/exist
src/org/exist/source/StringSourceWithMapKey.java
Java
lgpl-2.1
1,741
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * 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...
stefanklug/mapnik
include/mapnik/json/topojson_utils.hpp
C++
lgpl-2.1
8,585
package railo.runtime.listener; import railo.commons.lang.types.RefBoolean; import railo.commons.lang.types.RefBooleanImpl; import railo.runtime.PageContext; import railo.runtime.PageSource; import railo.runtime.exp.PageException; public final class MixedAppListener extends ModernAppListener { @Override public voi...
JordanReiter/railo
railo-java/railo-core/src/railo/runtime/listener/MixedAppListener.java
Java
lgpl-2.1
797
v.setCursorPosition(0,19); v.type('/'); v.type('/'); v.type('/'); v.type('/'); v.type("ok");
hlamer/kate
tests/data/indent/cppstyle/comment11/input.js
JavaScript
lgpl-2.1
93
/* This file is part of KAddressBook. Copyright (c) 2002 Mike Pilone <mpilone@slac.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...
lefou/kdepim-noakonadi
kaddressbook/viewconfigurefilterpage.cpp
C++
lgpl-2.1
4,025
/* A Bison parser, made by GNU Bison 2.4.1. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the...
RLovelett/qt
src/3rdparty/webkit/WebCore/generated/Grammar.cpp
C++
lgpl-2.1
296,109
object = {__bases__: [], __name__: 'object'} object.__mro__ = [object] type = {__bases__: [object], __mro__: [object], __name__: 'type'} object.__metaclass__ = type __ARGUMENTS_PADDING__ = {ARGUMENTS_PADDING: "YES IT IS!"} def __is__(me, other): return (me is other) __is__.is_method = True object.__is__ = __i...
skariel/pythonium
pythonium/compliant/runtime.py
Python
lgpl-2.1
7,045
// Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell...
edwinspire/VSharp
class/Mono.WebBrowser/Mono.WebBrowser/IWebBrowser.cs
C#
lgpl-3.0
10,333
/* * @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...
CDSherrill/psi4
psi4/src/psi4/libmoinfo/slater_determinant.cc
C++
lgpl-3.0
2,456
<?php $lang['install']['flag'] = 'en'; //en $lang['install']['i001'] = 'KimsQ Rb Installation'; //KimsQ Rb 설치 $lang['install']['i002'] = 'Select the version'; //설치할 패키지를 선택해주세요. *** 사이트 패키지와 용어 혼동 $lang['install']['i003'] = 'Do not refresh this page. It will automatically move on to the next step after the downloading....
kieregh/rb
_install/language/english/lang.install.php
PHP
lgpl-3.0
9,586
/* * Copyright (C) 2014-2015 Vote Rewarding System * * This file is part of Vote Rewarding System. * * Vote Rewarding System 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 Lic...
UnAfraid/topzone
VotingRewardInterfaceProvider/src/main/java/com/github/unafraid/votingreward/interfaceprovider/model/RewardItemHolder.java
Java
lgpl-3.0
1,261
{ 'name': 'Control access to Apps', 'version': '1.0.0', 'author': 'IT-Projects LLC, Ivan Yelizariev', 'category': 'Tools', 'website': 'https://twitter.com/yelizariev', 'price': 10.00, 'currency': 'EUR', 'depends': [ 'access_restricted' ], 'data': [ 'security/acces...
ufaks/addons-yelizariev
access_apps/__openerp__.py
Python
lgpl-3.0
415
""" Classes for interacting with the tor control socket. Controllers are a wrapper around a ControlSocket, retaining many of its methods (connect, close, is_alive, etc) in addition to providing its own for interacting at a higher level. **Module Overview:** :: from_port - Provides a Controller based on a port con...
meganchang/Stem
stem/control.py
Python
lgpl-3.0
17,273
/* ========================================================================= * This file is part of xml.lite-c++ * ========================================================================= * * (C) Copyright 2004 - 2014, MDA Information Systems LLC * (C) Copyright 2022, Maxar Technologies, Inc. * * xml.lite-c++...
mdaus/coda-oss
modules/c++/xml.lite/source/ValidatorInterface.cpp
C++
lgpl-3.0
2,255
// System.Net.Sockets.SocketAsyncEventArgs.cs // // Authors: // Marek Habersack (mhabersack@novell.com) // // Copyright (c) 2008 Novell, Inc. (http://www.novell.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Sof...
edwinspire/VSharp
class/System/System.Net.Sockets/SendPacketsElement.cs
C#
lgpl-3.0
2,838
// Authors: // Francis Fisher (frankie@terrorise.me.uk) // // (C) Francis Fisher 2013 // // 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 limitatio...
edwinspire/VSharp
class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/CustomizeLegendEventArgs.cs
C#
lgpl-3.0
1,400
function main() { // Widget instantiation metadata... var widget = { id: "UploaderPlusAdmin", name: "SoftwareLoop.UploaderPlusAdmin", }; model.widgets = [widget]; } main();
sprouvez/uploader-plus
surf/src/main/amp/config/alfresco/web-extension/site-webscripts/uploader-plus/uploader-plus-admin.get.js
JavaScript
lgpl-3.0
204
# encoding: utf-8 """ Utilities for working with strings and text. """ #----------------------------------------------------------------------------- # Copyright (C) 2008-2011 The IPython Development Team # # Distributed under the terms of the BSD License. The full license is in # the file COPYING, distributed as...
cloud9ers/gurumate
environment/lib/python2.7/site-packages/IPython/utils/text.py
Python
lgpl-3.0
25,044
using UnityEngine; using System.Collections; public class InputBehaviour : MonoBehaviour { // Cuando se llama, notifica a todos los métodos que hacen referencia al delegate (DownHandler). public delegate void DownHandler( int button ); // evento que se activa cuando aparece el DownHandler public event DownHandle...
ddacoak/Fallen-Instinct
Assets/Scripts/OtrosScripts/Input/InputBehaviour.cs
C#
unlicense
514
package org.myrobotlab.logging; import org.myrobotlab.framework.Platform; import org.slf4j.Logger; public class LoggerFactory { public static Logger getLogger(Class<?> clazz) { return getLogger(clazz.toString()); } public static Logger getLogger(String name) { Platform platform = Platform.getLocalInstance();...
lanchun/myrobotlab
src/org/myrobotlab/logging/LoggerFactory.java
Java
apache-2.0
771
from __future__ import division, absolute_import from __future__ import print_function, unicode_literals import numpy as np import theano import theano.tensor as T import treeano import treeano.nodes as tn fX = theano.config.floatX # ################################## config ################################## N_TRA...
diogo149/treeano
examples/simple_rnn_comparison/with_treeano.py
Python
apache-2.0
2,330
/** * Copyright 2016 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
nsivabalan/ambry
ambry-api/src/main/java/com.github.ambry/store/StoreKeyFactory.java
Java
apache-2.0
929
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
JoyIfBam5/aws-sdk-cpp
aws-cpp-sdk-route53/source/model/ListTrafficPoliciesRequest.cpp
C++
apache-2.0
1,614
/* Copyright 2015 The Kubernetes Authors. 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, ...
gluke77/kubernetes
pkg/kubectl/cmd/autoscale.go
GO
apache-2.0
6,991
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
kjniemi/activemq-artemis
artemis-commons/src/test/java/org/apache/activemq/artemis/utils/network/NetUtil.java
Java
apache-2.0
6,434
/* Copyright 2017 IBM Corporation * * 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 ...
denilsonm/advance-toolchain
fvtr/gccgo/test.go
GO
apache-2.0
669
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.execution; public class IllegalEnvVarException extends ExecutionException { public IllegalEnvVarException(String message) { super(message); } }
mdanielwork/intellij-community
platform/platform-api/src/com/intellij/execution/IllegalEnvVarException.java
Java
apache-2.0
314
<?php // Start of AMQPExchangeException from php-amqp v.1.4.0beta2 /** * stub class representing AMQPExchangeException from pecl-amqp * @jms-builtin */ class AMQPExchangeException extends AMQPException { } // End of AMQPExchangeException from php-amqp v.1.4.0beta2 ?>
walkeralencar/ci-php-analyzer
res/php-5.4-core-api/AMQPExchangeException.php
PHP
apache-2.0
273
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/gaming/v1/game_server_deployments.proto namespace Google\Cloud\Gaming\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Request message for GameServ...
googleapis/google-cloud-php-game-servers
src/V1/GetGameServerDeploymentRequest.php
PHP
apache-2.0
2,444
// Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
adjackura/compute-image-tools
proto/go/pbtesting/gomock_matcher.go
GO
apache-2.0
1,340