code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | ztemt/Z5mini_H112_kernel | arch/arm/mach-msm/board/zte-camera.c | C | gpl-2.0 | 23,184 |
/*
* linux/lib/vsprintf.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
* (C) Copyright 2000-2009
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
/*
* Wirzenius wrote this portably, Torvalds fucked it up :-)
*
* from hush: simple_itoa() was lift... | Digilent/u-boot-digilent | lib/vsprintf.c | C | gpl-2.0 | 19,676 |
require 'migrate'
class RenameBugsToNotes < ActiveRecord::Migration
def self.up
rename_enumeration "map_bug_status_enum", "note_status_enum"
rename_enumeration "map_bug_event_enum", "note_event_enum"
rename_table :map_bugs, :notes
rename_index :notes, "map_bugs_pkey", "notes_pkey"
rename_index :... | anatoliegolovco/grmdemo | db/migrate/20110521142405_rename_bugs_to_notes.rb | Ruby | gpl-2.0 | 2,293 |
/* The IGEN simulator generator for GDB, the GNU Debugger.
Copyright 2002 Free Software Foundation, Inc.
Contributed by Andrew Cagney.
This file is part of GDB.
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
... | ipwndev/DSLinux-Mirror | user/gdb/sim/igen/gen-model.h | C | gpl-2.0 | 1,001 |
/*
* Copyright (C) 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | Debian/openjfx | modules/web/src/main/native/Source/WebKit/ios/WebCoreSupport/WebSelectionRect.h | C | gpl-2.0 | 2,391 |
<?php
/*
V4.98 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence. See License.txt.
Set tabs to 4 for best viewing.
... | jcannava/bleedcrimson.net | photos/lib/adodb/perf/perf-mssql.inc.php | PHP | gpl-2.0 | 4,822 |
/*
* SPU file system -- SPU context management
*
* (C) Copyright IBM Deutschland Entwicklung GmbH 2005
*
* Author: Arnd Bergmann <arndb@de.ibm.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... | zhoupeng/spice4xen | linux-2.6.18-xen.hg/arch/powerpc/platforms/cell/spufs/context.c | C | gpl-2.0 | 3,935 |
/*
* Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.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
* option) any later ve... | Effec7/Adamantium | src/server/scripts/Commands/cs_send.cpp | C++ | gpl-2.0 | 10,199 |
## This file is part of Invenio.
## Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 CERN.
##
## Invenio 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
## Lic... | AlbertoPeon/invenio | modules/webaccess/lib/access_control_config.py | Python | gpl-2.0 | 35,364 |
<?php
namespace TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full cop... | morinfa/TYPO3.CMS | typo3/sysext/workspaces/Tests/Unit/Controller/Remote/RemoteServerTest.php | PHP | gpl-2.0 | 8,153 |
# cgi-lib.pl
# Common functions for writing http headers
#----------------------------------------------------------
#
# @APPLE_LICENSE_HEADER_START@
#
#
# Copyright (c) 1999-2008 Apple Inc. All Rights Reserved.
#
# This file contains Original Code and/or Modifications of Original Code
# as defined in and that are sub... | zkf-qwj/Relay-Wasu-NoBalance | DarwinStreamingSrvr6.0.3-Source-relay-wasu-sx/WebAdmin/WebAdminHtml/cgi-lib.pl | Perl | gpl-2.0 | 6,514 |
<?php
/**
* Summon record fallback loader
*
* PHP version 7
*
* Copyright (C) Villanova University 2018.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program ... | samueloph/vufind | module/VuFind/src/VuFind/Record/FallbackLoader/Summon.php | PHP | gpl-2.0 | 3,913 |
<?php
/**
* Side Box Template
*
* @copyright Copyright 2003-2020 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: DrByte 2020 Jun 19 Modified in v1.5.7 $
*/
$content = "";
$content .= '<div id="' .... | barco57/zencart | includes/templates/responsive_classic/sideboxes/tpl_order_history.php | PHP | gpl-2.0 | 879 |
#include "expire-tiles.hpp"
#include "options.hpp"
#include <iterator>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdexcept>
#include <boost/format.hpp>
#include <set>
#define EARTH_CIRCUMFERENCE (40075016.68)
namespace {
void run_test(const char* test_name, void (*test... | MaxSem/osm2pgsql | tests/test-expire-tiles.cpp | C++ | gpl-2.0 | 10,053 |
#if defined HAVE_FMA4_SUPPORT || defined HAVE_AVX_SUPPORT
# include <init-arch.h>
# include <math.h>
# include <math_private.h>
extern double __ieee754_atan2_sse2 (double, double);
extern double __ieee754_atan2_avx (double, double);
# ifdef HAVE_FMA4_SUPPORT
extern double __ieee754_atan2_fma4 (double, double);
# else
... | tripleee/glibc-en-150 | sysdeps/x86_64/fpu/multiarch/e_atan2.c | C | gpl-2.0 | 689 |
#!/bin/bash
#
# Test the init code
#
source "$REG_DIR/scaffold"
function opts
{
cat << DONE
-a
-n
DONE
}
cmd setup_git_repo
opts | while read opt ; do
cmd reset_git_repo
cmd guilt init $opt
cmd list_files
shouldfail guilt init $opt
cmd list_files
done
cmd git branch other
cmd git checkout other
cmd guilt... | jmesmon/guilt | regression/t-010.sh | Shell | gpl-2.0 | 378 |
<?php
/**
* Customizer settings for this theme.
*
* @package WordPress
* @subpackage Twenty_Twenty
* @since Twenty Twenty 1.0
*/
if ( ! class_exists( 'TwentyTwenty_Customize' ) ) {
/**
* CUSTOMIZER SETTINGS
*
* @since Twenty Twenty 1.0
*/
class TwentyTwenty_Customize {
/**
* Register customizer o... | rasken2003/fuga-it-business | wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php | PHP | gpl-2.0 | 14,593 |
/******************************************************************************
*
*
*
* Copyright (C) 1997-2014 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representat... | andyque/doxygen | src/declinfo.h | C | gpl-2.0 | 1,134 |
class CreateArticlePage
include PageObject
page_url '<%=params[:article_name]%>'
a(:doesnotexist_msg, text: 'Look for pages within Wikipedia that link to this title')
end
| paladox/mediawiki-extensions-MobileFrontend | tests/browser/features/support/pages/create_article_page.rb | Ruby | gpl-2.0 | 179 |
/*
* Bt8xx based DVB adapter driver
*
* Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.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
*... | kzlin129/tt-gpl | go9/linux-s3c24xx/drivers/media/dvb/bt8xx/dvb-bt8xx.c | C | gpl-2.0 | 23,010 |
/** @internal
** @file vl_siftdescriptor_python.cpp
** @author Andrea Vedaldi
** @author Mikael Rousson (Python wrapping)
** @brief SIFT descriptor - MEX
**/
#include "../py_vlfeat.h"
extern "C" {
#include <vl/mathop.h>
#include <vl/sift.h>
}
#include <math.h>
#include <assert.h>
#include <iostream>... | DerThorsten/pyvlfeat | vlfeat/sift/vl_siftdescriptor.cpp | C++ | gpl-2.0 | 4,699 |
/*!
* jQuery Form Plugin
* version: 3.33.0-2013.05.02
* @requires jQuery v1.5 or later
* Copyright (c) 2013 M. Alsup
* Examples and documentation at: http://malsup.com/jquery/form/
* Project repository: https://github.com/malsup/form
* Dual licensed under the MIT and GPL licenses.
* https://github.com/malsup/fo... | 12sm/erinmyers | wp-content/plugins/wp-toolbar-editor/js/jquery.form.js | JavaScript | gpl-2.0 | 41,603 |
<?php
if (isset($_POST['gdsr_action']) && $_POST['gdsr_action'] == 'save') {
$gdsr_options["bot_message"] = $_POST['gdsr_bot_message'];
$gdsr_options["no_votes_percentage"] = $_POST['gdsr_no_votes_percentage'];
$gdsr_options["cached_loading"] = isset($_POST['gdsr_cached_loading']) ? 1 : 0;
$gdsr... | imshashank/The-Perfect-Self | wp-content/plugins/gd-star-rating/code/adm/save_settings.php | PHP | gpl-2.0 | 18,252 |
/*
* Samsung EXYNOS FIMC-LITE (camera host interface) driver
*
* Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
* Author: Sylwester Nawrocki <s.nawrocki@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 a... | Barracuda09/media_build-bst | linux/drivers/media/platform/exynos4-is/fimc-lite.c | C | gpl-2.0 | 45,548 |
/*
* PROJECT: ReactOS Kernel
* LICENSE: GPL - See COPYING in the top level directory
* FILE: ntoskrnl/config/cmcheck.c
* PURPOSE: Configuration Manager - Hive and Key Validation
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
*/
/* INCLUDES **************************... | sunnyden/reactos | ntoskrnl/config/cmcheck.c | C | gpl-2.0 | 792 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2006 Imendio AB
*
* 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
* L... | jmansar/empathy | libempathy-gtk/empathy-conf.c | C | gpl-2.0 | 7,566 |
<?php
require_once('../conexiones/conexione.php');
mysql_select_db($base_datos, $conectar);
date_default_timezone_set("America/Bogota");
include ("../registro_movimientos/registro_movimientos.php");
//$cod_factura = $_GET['cod_factura'];
$fecha_ini = $_GET['fecha_ini'];
$fecha_fin = $_GET['fecha_fin'];
$tabla = $_G... | dataxe/proyectos | panashopping/admin/descargar_factura_externa_temporal_archivo_csv_por_dias.php | PHP | gpl-3.0 | 1,184 |
<html lang="en">
<head>
<title>GDB/MI Ada Tasking Commands - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="GD... | FabianKnapp/nexmon | buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/share/doc/gcc-arm-none-eabi/html/gdb/GDB_002fMI-Ada-Tasking-Commands.html | HTML | gpl-3.0 | 5,607 |
<html lang="en">
<head>
<title>sin - Untitled</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Untitled">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Math.html#Math" title="Math">
<link rel="prev"... | seemoo-lab/nexmon | buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/share/doc/gcc-arm-none-eabi/html/libm/sin.html | HTML | gpl-3.0 | 2,465 |
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995-2002 Spencer Kimball, Peter Mattis, and others
*
* gimp-gradients.c
* Copyright (C) 2002 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | mskala/noxcf-gimp | app/core/gimp-gradients.c | C | gpl-3.0 | 5,035 |
obj-$(CONFIG_ECS_DRIVER) += ecs-core.o
obj-$(CONFIG_ECS_DRIVER_SUBDEV) += ecs-subdev.o ecs-helper.o
obj-$(CONFIG_SOC_CAMERA_OV5640_ECS) += ov5640.o
obj-$(CONFIG_SOC_CAMERA_SP0A20_ECS) += sp0a20.o
| AKuHAK/xcover3ltexx_custom_kernel | drivers/media/i2c/ecs/Makefile | Makefile | gpl-3.0 | 198 |
#
# functions to use with HP Hardware RAID (Smart Array and compatible)
#
#
function define_HPSSACLI() {
# HP Smart Storage Administrator CLI is either hpacucli, hpssacli or ssacli
if has_binary hpacucli ; then
HPSSACLI=hpacucli
elif has_binary hpssacli ; then
HPSSACLI=hpssacli
elif has... | phracek/rear | usr/share/rear/lib/hp_raid-functions.sh | Shell | gpl-3.0 | 871 |
# (C) British Crown Copyright 2014 - 2015, Met Office
#
# This file is part of Iris.
#
# Iris is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any l... | decvalts/iris | lib/iris/tests/unit/quickplot/test_points.py | Python | gpl-3.0 | 1,543 |
package com.laytonsmith.abstraction;
import com.laytonsmith.abstraction.enums.MCDisplaySlot;
import java.util.Set;
public interface MCScoreboard {
public void clearSlot(MCDisplaySlot slot);
public MCObjective getObjective(MCDisplaySlot slot);
public MCObjective getObjective(String name);
/**
*
* @return Set o... | Murreey/CommandHelper | src/main/java/com/laytonsmith/abstraction/MCScoreboard.java | Java | gpl-3.0 | 908 |
#pragma once
#include <wrl.h>
namespace DX
{
// Helper class for animation and simulation timing.
class StepTimer
{
public:
StepTimer() :
m_elapsedTicks(0),
m_totalTicks(0),
m_leftOverTicks(0),
m_frameCount(0),
m_framesPerSecond(0),
m_framesThisSecond(0),
m_qpcSecondCount... | ruzzgames/BlindFate | windows/Common/StepTimer.h | C | gpl-3.0 | 5,607 |
/*
This file is part of cpp-ethereum.
cpp-ethereum 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.
cpp-ethereum is distributed in the... | BreemsEmporiumMensToiletriesFragrances/cpp-ethereum | libsolidity/Compiler.h | C | gpl-3.0 | 6,043 |
SET(CTEST_PROJECT_NAME "hikob-git-${PLATFORM}")
SET(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
IF(NOT DEFINED CTEST_DROP_METHOD)
SET(CTEST_DROP_METHOD "http")
ENDIF(NOT DEFINED CTEST_DROP_METHOD)
IF(CTEST_DROP_METHOD STREQUAL "http")
SET(CTEST_DROP_SITE "tools.vpn.hikob.com")
SET(CTEST_DROP_LOCATION "/cdash/submi... | dbohn/openlab | CTestConfig.cmake | CMake | gpl-3.0 | 447 |
---------------------------------------------
-- Decussate
--
-- Description: Performs a cross attack on nearby targets.
-- Type: Magical
-- Utsusemi/Blink absorb: 2-3 shadows?
-- Range: Less than or equal to 10.0
-- Notes: Only used by Gulool Ja Ja when below 35% health.
---------------------------------... | FFXIOrgins/FFXIOrgins | scripts/globals/mobskills/Decussate.lua | Lua | gpl-3.0 | 1,029 |
#Region "Microsoft.VisualBasic::8450d02c5fe4c4f80f81a9880e0f8dc0, Data_science\MachineLearning\MachineLearning\Darwinism\Models\FitnessPool.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyri... | SMRUCC/GCModeller | src/runtime/sciBASIC#/Data_science/MachineLearning/MachineLearning/Darwinism/Models/FitnessPool.vb | Visual Basic | gpl-3.0 | 5,914 |
package cn.nukkit.block;
import cn.nukkit.Player;
import cn.nukkit.item.Item;
import cn.nukkit.item.ItemTool;
import cn.nukkit.level.Level;
import cn.nukkit.level.sound.NoteBoxSound;
import cn.nukkit.network.protocol.BlockEventPacket;
/**
* Created by Snake1999 on 2016/1/17.
* Package cn.nukkit.block in project nuk... | yescallop/Nukkit | src/main/java/cn/nukkit/block/BlockNoteblock.java | Java | gpl-3.0 | 3,101 |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 app... | s20121035/rk3288_android5.1_repo | cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/DnsSdResponseListenerTest.java | Java | gpl-3.0 | 4,616 |
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 34;
BEGIN { use_ok('li_carrays') }
require_ok('li_carrays');
# array_class
{
my $length = 5;
my $xyArray = new li_carrays::XYArray($length);
for (my $i=0; $i<$length; $i++) {
my $xy = $xyArray->getitem($i);
$xy->{x} = $i*10;
$xy->{y} =... | DGA-MI-SSI/YaCo | deps/swig-3.0.7/Examples/test-suite/perl5/li_carrays_runme.pl | Perl | gpl-3.0 | 1,879 |
/* Copyright (c) 2001-2008, The HSQL Development Group
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list... | danielbejaranogonzalez/Mobile-Network-Designer | db/hsqldb/src/org/hsqldb/util/SqlTool.java | Java | gpl-3.0 | 23,912 |
package App::Prove::State;
use strict;
use warnings;
use File::Find;
use File::Spec;
use Carp;
use App::Prove::State::Result;
use TAP::Parser::YAMLish::Reader ();
use TAP::Parser::YAMLish::Writer ();
use base 'TAP::Base';
BEGIN {
__PACKAGE__->mk_methods('result_class');
}
use constant IS_WIN32 => ( $^O =~ /^(M... | mgood7123/UPM | perl-5.26.1/perl5.26.1/lib/5.26.1/App/Prove/State.pm | Perl | gpl-3.0 | 11,689 |
<?php
namespace Drupal\language\Form;
use Drupal\Core\Block\BlockManagerInterface;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Extension\ThemeHandlerInterface;
use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\F... | oeru/techblog | drupal8/core/modules/language/src/Form/NegotiationConfigureForm.php | PHP | gpl-3.0 | 11,818 |
<?php
class Appconfig extends CI_Model
{
public function exists($key)
{
$this->db->from('app_config');
$this->db->where('app_config.key', $key);
return ($this->db->get()->num_rows() == 1);
}
public function get_all()
{
$this->db->from('app_config');
$this->db->order_by('key', 'asc');
return $this... | digyna/digyna-CMS | application/models/mypanel/Appconfig.php | PHP | gpl-3.0 | 1,375 |
/* sdsl - succinct data structures library
Copyright (C) 2010 Simon Gog
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 la... | andmaj/unrank-bottleneck-bench | sdsl_linear/include/sdsl/algorithms_for_string_matching.hpp | C++ | gpl-3.0 | 18,541 |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 app... | Lee-Wills/-tv | mmd/library/src/main/java/com/google/android/exoplayer/text/tx3g/Tx3gParser.java | Java | gpl-3.0 | 1,720 |
// Copyright 2008 The Closure Library Authors. 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 requ... | Nestor94Gonzalez/robot_blockly | frontend/closure-library/closure/goog/editor/plugins/linkbubble_test.js | JavaScript | gpl-3.0 | 13,917 |
#region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | Sithil-F/OpenRA | OpenRA.Mods.Common/Widgets/Logic/Ingame/GameTimerLogic.cs | C# | gpl-3.0 | 1,876 |
#
# Copyright 2006,2007 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later versi... | n4hy/gnuradio | gnuradio-core/src/python/gnuradio/blks2impl/fm_demod.py | Python | gpl-3.0 | 4,236 |
class PortalGroup::Admin::Piece::SiteAreasController < Cms::Admin::Piece::BaseController
end
| tao-k/zomeki | app/controllers/portal_group/admin/piece/site_areas_controller.rb | Ruby | gpl-3.0 | 93 |
<?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 ... | dslab-epfl/accessibility-checker | question/format.php | PHP | gpl-3.0 | 35,327 |
<?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 ... | VNageswararao/lms28 | lib/outputcomponents.php | PHP | gpl-3.0 | 115,993 |
=pod
=head1 NAME
Locale::Currency - standard codes for currency identification
=head1 SYNOPSIS
use Locale::Currency;
$curr = code2currency('usd'); # $curr gets 'US Dollar'
$code = currency2code('Euro'); # $code gets 'eur'
@codes = all_currency_codes();
@names = all_currency_names();... | mgood7123/UPM | perl-5.26.1/perl5.26.1/lib/5.26.1/Locale/Currency.pod | Perl | gpl-3.0 | 3,059 |
/// Copyright (c) 2008-2021 Emil Dotchevski and Reverge Studios, Inc.
/// 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)
#include <boost/qvm/gen/vec_mat_operations2.hpp>
| rneiss/PocketTorah | ios/Pods/Flipper-Boost-iOSX/boost/qvm/vec_mat_operations2.hpp | C++ | gpl-3.0 | 276 |
---------------------------------------------
-- Double Kick
--
-- Description: Deals damage to a single target. Additional effect: Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Stun may or may not take effect.
---------------------------------------------
require("/... | b03605079/darkstar | scripts/globals/mobskills/Double_Kick.lua | Lua | gpl-3.0 | 1,008 |
"use strict";
tutao.provide('tutao.entity.base.PersistenceResourcePostReturn');
/**
* @constructor
* @param {Object=} data The json data to store in this entity.
*/
tutao.entity.base.PersistenceResourcePostReturn = function(data) {
if (data) {
this.updateData(data);
} else {
this.__format = "0";
th... | msoftware/tutanota-1 | web/js/generated/entity/base/PersistenceResourcePostReturn.js | JavaScript | gpl-3.0 | 3,838 |
/*
* Minecraft Forge
* Copyright (c) 2016.
*
* 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 version 2.1
* of the License.
*
* This library is distributed in the hope that it will... | Severed-Infinity/technium | build/tmp/recompileMc/sources/net/minecraftforge/event/terraingen/SaplingGrowTreeEvent.java | Java | gpl-3.0 | 2,229 |
# -*- coding: utf-8 -*-
# Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe import _
from frappe.utils import flt, add_months, cint, nowdate, getdate
from frappe.model.document import Do... | emakis/erpnext | erpnext/accounts/doctype/asset/asset.py | Python | gpl-3.0 | 10,030 |
/* Calculate the size of physical memory.
Copyright (C) 2000-2001, 2003, 2005-2006, 2009-2013 Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ver... | geminy/aidear | oss/shell/coreutils/coreutils-8.21/lib/physmem.c | C | gpl-3.0 | 7,604 |
# encoding: utf-8
class Laby::Content::Base < Cms::Content
end | tao-k/zomeki | app/models/laby/content/base.rb | Ruby | gpl-3.0 | 64 |
/*
* Copyright (C) 1997-2013 JDERobot Developers Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*... | ojgarciab/JdeRobot | src/stable/tools/visualHFSM/popups/importdialog.h | C | gpl-3.0 | 1,517 |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit8a8b7c48f14663b8905d3aebf4678cc4::getLoader();
| oliverds/openclassifieds2 | oc/vendor/pusher/autoload.php | PHP | gpl-3.0 | 183 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2017, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# This is a virtual module that is entirely implemented as an action plugin and runs on the controller
from __future__ import absolute_import, ... | indrajitr/ansible | lib/ansible/modules/fetch.py | Python | gpl-3.0 | 3,790 |
/* Provide a working getlogin for systems which lack it.
Copyright (C) 2010-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the Li... | geminy/aidear | oss/shell/coreutils/coreutils-8.21/lib/getlogin.c | C | gpl-3.0 | 1,234 |
// |jit-test| error: TestComplete
// onPop can change a normal return into a throw.
load(libdir + "asserts.js");
var g = newGlobal('new-compartment');
var dbg = new Debugger(g);
function test(type, provocation) {
var log;
// Help people figure out which 'test' call failed.
print("type: " + uneval(... | SlateScience/MozillaJS | js/src/jit-test/tests/debug/Frame-onPop-return-throw.js | JavaScript | mpl-2.0 | 1,154 |
<!DOCTYPE html>
<!--
Distributed under both the W3C Test Suite License [1] and the W3C
3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
policies and contribution forms [3].
[1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
[2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license
[3... | Shiroy/servo | tests/wpt/web-platform-tests/shadow-dom/untriaged/events/event-retargeting/test-001.html | HTML | mpl-2.0 | 3,365 |
/* 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 https://mozilla.org/MPL/2.0/. */
//! Memory profiling functions.
use crate::time::duration_from_seconds;
use ipc_channel::ipc::{self, IpcReceiver... | danlrobertson/servo | components/profile/mem.rs | Rust | mpl-2.0 | 25,128 |
# encoding: utf-8
#
#
# 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/.
#
# Author: Kyle Lahnakoski (kyle@lahnakoski.com)
#
from __future__ import unicode_literals
from _... | klahnakoski/Bugzilla-ETL | vendor/pyLibrary/env/emailer.py | Python | mpl-2.0 | 4,306 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>external.argparse — IPython v0.10 documentation<... | mastizada/kuma | vendor/packages/ipython/docs/dist/html/api/generated/IPython.external.argparse.html | HTML | mpl-2.0 | 40,287 |
# -*- coding: utf-8 -*-
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catalog', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='catalogintegration',
name='service_username',
fiel... | edx-solutions/edx-platform | openedx/core/djangoapps/catalog/migrations/0002_catalogintegration_username.py | Python | agpl-3.0 | 503 |
#ifndef DYNET_NODES_LSTM_H_
#define DYNET_NODES_LSTM_H_
#include "dynet/dynet.h"
#include "dynet/nodes-def-macros.h"
namespace dynet {
struct VanillaLSTMGates : public Node {
explicit VanillaLSTMGates(const std::vector<VariableIndex>& a, bool dropout, real weightnoise_std)
: Node(a), dropout(dropout), weightnois... | TALP-UPC/freeling | src/libdynet/dynet/nodes-lstm.h | C | agpl-3.0 | 2,748 |
from __future__ import unicode_literals
def execute():
"""Make standard print formats readonly for system manager"""
import webnotes.model.doc
new_perms = [
{
'parent': 'Print Format',
'parentfield': 'permissions',
'parenttype': 'DocType',
'role': 'System Manager',
'permlevel': 1,
'read': 1,
... | gangadhar-kadam/mtn-erpnext | patches/may_2012/std_pf_readonly.py | Python | agpl-3.0 | 718 |
<?php
/**
* When appropriate, displays a plugin upgrade message "inline" within the plugin
* admin screen.
*
* This is drawn from the Upgrade Notice section of the plugin readme.txt file (ie,
* the one belonging to the current stable accessible via WP SVN - at least by
* default).
*/
class Tribe__Admin__Notice__... | akvo/akvo-sites-zz-template | code/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Plugin_Upgrade_Notice.php | PHP | agpl-3.0 | 7,190 |
-- Key assertion,
-- inner select clause binds departmentid to department.departmentid
select * from department JOIN employee USING(departmentid)
WHERE departmentid = (SELECT z FROM t1 WHERE t1.x = departmentid) | wfxiang08/sql-layer-1 | fdb-sql-layer-core/src/test/resources/com/foundationdb/sql/optimizer/binding/join-using-14.sql | SQL | agpl-3.0 | 211 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/generalmedical/vo/EpworthSleepAssessmentVo.java | Java | agpl-3.0 | 7,901 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/nursing/vo/beans/MRSATreatmentVoBean.java | Java | agpl-3.0 | 4,677 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/nursing/vo/Transfers.java | Java | agpl-3.0 | 7,494 |
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751)
// Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.RefMan.vo;
/**
* Linked to RefMan.CatsReferral business object (ID: 1004100035).
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/CatsReferralForSessionManagementVo.java | Java | agpl-3.0 | 5,952 |
<?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/notes/rules/badges/CreateNoteGameBadgeRules.php | PHP | agpl-3.0 | 3,520 |
<?php
/**
* Dummy theme.
*/
function i18n_theme_test() {
return __( 'This is a dummy theme', 'internationalized-theme' );
}
| medialab-ufg/wp-rhs | tests/wordpress-tests-lib/data/themedir1/internationalized-theme/functions.php | PHP | agpl-3.0 | 128 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unit Testing Class : CodeIgniter User Guide</... | greencorecr/phone_campaigns | user_guide/libraries/unit_testing.html | HTML | agpl-3.0 | 7,545 |
// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Lic... | timthelion/FreeCAD | src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp | C++ | lgpl-2.1 | 138,589 |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... | ostash/qt-creator-i18n-uk | src/libs/cplusplus/ASTPath.cpp | C++ | lgpl-2.1 | 2,743 |
//Version-IE: < 9
if ( 'function' !== typeof Array.prototype.reduce ) {
Array.prototype.reduce = function( callback /*, initialValue*/ ) {
'use strict';
if ( null === this || 'undefined' === typeof this ) {
throw new TypeError(
'Array.prototype.reduce called on null or undefined' );
}
i... | OCamlPro-Henry/js_of_ocaml | runtime/polyfill/array.js | JavaScript | lgpl-2.1 | 9,421 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ECShop_mobile</title>
</head>
<body>
<p align='left'>
用户中心<br/>
-----... | tiger-young/ecallaShop | mobile/templates/user.html | HTML | lgpl-2.1 | 679 |
/*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* VR Juggler is (C) Copyright 1998-2011 by Iowa State University
*
* Original Authors:
* Allen Bierbaum, Christopher Just,
* Patrick Hartling, Kevin Meinert,
* Carolina Cruz-Neira, Albert Baker
*
* This library is free soft... | vrjuggler/vrjuggler | modules/gadgeteer/gadget/Devices/Sim/SimDigital.cpp | C++ | lgpl-2.1 | 3,184 |
// Copyright (c)2008-2011, Preferred Infrastructure Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// ... | gwtnb/jubatus_core | jubatus/util/data/suffix_array/rmq.h | C | lgpl-2.1 | 13,357 |
input: clean
./copy_script
gmsh -2 -bin src/MMS_A.geo
gmsh -2 -bin src/MMS_B.geo
gmsh -2 -bin src/MMS_C.geo
run:
../../bin/fluidity MMS_A.flml
../../bin/fluidity MMS_B.flml
../../bin/fluidity MMS_C.flml
clean:
rm -f *.vtu *.stat *.s *_A* *_B* *_C* *_D* src/*A.* src/*B.* src/*C.* src/*D.* *.log matrix* *~ *.py... | rjferrier/fluidity | tests/swe_mms_p2p1_quadratic_drag/Makefile | Makefile | lgpl-2.1 | 363 |
/*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_stm32f4
* @{
*
* @file
* @brief CPU specific defi... | mziegert/RIOT | cpu/stm32f4/include/periph_cpu.h | C | lgpl-2.1 | 5,630 |
/*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... | DocCreator/DocCreator | thirdparty/leptonica/src/ptafunc1.c | C | lgpl-3.0 | 75,693 |
//
#include <ia32/arch/board-ia32_pc-config.h>
| tectronics/phantomuserland | include/ia32/arch/board-ia32_default-config.h | C | lgpl-3.0 | 50 |
/*
* Copyright 2014-present Open Networking Foundation
*
* 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 appli... | opennetworkinglab/onos | core/store/serializers/src/main/java/org/onosproject/store/serializers/LinkKeySerializer.java | Java | apache-2.0 | 1,671 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* If x is -Infinity and y>0 and y is an odd integer, Math.pow(x,y) is -Infinity
*
* @path ch15/15.8/15.8.2/15.8.2.13/S15.8.2.13_A13.js
* @description Checking if Math.pow(x,y) equ... | popravich/typescript | tests/Fidelity/test262/suite/ch15/15.8/15.8.2/15.8.2.13/S15.8.2.13_A13.js | JavaScript | apache-2.0 | 604 |
var fs = require('fs')
var path = require('path')
var resolve = path.resolve
var osenv = require('osenv')
var mkdirp = require('mkdirp')
var rimraf = require('rimraf')
var test = require('tap').test
var npm = require('../../lib/npm')
var common = require('../common-tap')
var chain = require('slide').chain
var mockPath... | mrtequino/JSW | nodejs/pos-server/node_modules/npm/test/tap/install-shrinkwrapped-git.js | JavaScript | apache-2.0 | 4,407 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | qwerty4030/elasticsearch | test/framework/src/main/java/org/elasticsearch/test/rest/yaml/section/ClientYamlTestSuite.java | Java | apache-2.0 | 5,796 |
#region License
/*
* Copyright 2002-2010 the original author or 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
... | yonglehou/spring-net | src/Spring/Spring.Messaging/Messaging/Listener/DistributedTxMessageListenerContainer.cs | C# | apache-2.0 | 8,103 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using FluentAssertions.Collections;
using FluentAssertions.Common;
using FluentAssertions.Equivalency;
using FluentAssertions.Numeric;
using FluentAssertions.Primitives;
using FluentAssertions.... | SaroTasciyan/FluentAssertions | Src/Core/InternalAssertionExtensions.cs | C# | apache-2.0 | 19,975 |
/*
* 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 ... | milleruntime/accumulo | shell/src/main/java/org/apache/accumulo/shell/commands/ConstraintCommand.java | Java | apache-2.0 | 5,893 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.