repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
KangDroidSMProject/ISL | test_inputs/codegen/cloog/reservoir-lim-lam1.c | 231 | for (int c0 = -99; c0 <= 100; c0 += 1) {
if (c0 >= 1)
S2(c0, 1);
for (int c1 = max(1, -c0 + 1); c1 <= min(99, -c0 + 100); c1 += 1) {
S1(c0 + c1, c1);
S2(c0 + c1, c1 + 1);
}
if (c0 <= 0)
S1(c0 + 100, 100);
}
| mit |
wearefractal/smog | public/js/routes/index.js | 911 | // Generated by CoffeeScript 1.3.3
(function() {
define(["smog/server", "smog/notify", "templates/connect"], function(server, notify, templ) {
return {
show: function() {
$('#content').html(templ());
$('#connect-modal').modal({
backdrop: false
});
return $('#connec... | mit |
hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Reader.Tests/JsonLight/StreamReferenceValueReaderJsonLightTests.cs | 23505 | //---------------------------------------------------------------------
// <copyright file="StreamReferenceValueReaderJsonLightTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------... | mit |
bsundsrud/aptly | cmd/repo_include.go | 7511 | package cmd
import (
"bytes"
"fmt"
"github.com/smira/aptly/aptly"
"github.com/smira/aptly/deb"
"github.com/smira/aptly/query"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
"os"
"path/filepath"
"text/template"
)
func aptlyRepoInclude(cmd *commander.Command, args []strin... | mit |
daniellienert/flow-development-collection | Neos.FluidAdaptor/Tests/Unit/ViewHelpers/Fixtures/IfThenElseFixture.html | 140 | {namespace f=Neos\FluidAdaptor\ViewHelpers}<f:if condition="{condition}">
Do not display
<f:then>YEP</f:then>
<f:else>NOPE</f:else>
</f:if>
| mit |
sinfin/folio | vendor/assets/bower_components/emitter-es6/src/index.js | 3401 | /**
* Creates a new instance of Emitter.
* @class
* @returns {Object} Returns a new instance of Emitter.
* @example
* // Creates a new instance of Emitter.
* var Emitter = require('emitter');
*
* var emitter = new Emitter();
*/
class Emitter {
/**
* Adds a listener to the collection for the specified eve... | mit |
JHand93/WebPerformanceTestSuite | webpagetest-charts-api/node_modules/cheerio/test/render.js | 2628 | var expect = require('expect.js'),
defaultOpts = require('..').prototype.options,
_ = require('lodash'),
parse = require('../lib/parse'),
render = require('../lib/render');
var html = function(str, options) {
options = _.defaults(options || {}, defaultOpts);
var dom = parse(str, options);
return ... | mit |
pinkowitz/objc-mailgun | Docs/html/Classes/MGMessage.html | 54336 | <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
<title>MGMessage Class Reference</title>
<meta id="xcode-display" name="xcode-display" content="render"/>
<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
<link rel="stylesheet" t... | mit |
JonFerrera/angular.js | docs/config/index.js | 5289 | "use strict";
var path = require('canonical-path');
var packagePath = __dirname;
var Package = require('dgeni').Package;
// Create and export a new Dgeni package called angularjs. This package depends upon
// the ngdoc, nunjucks, and examples packages defined in the dgeni-packages npm module.
module.exports = new Pa... | mit |
abkmr/odata.net | test/EndToEndTests/Tests/Client/Build.Desktop/CodeGenerationTests/CustomizeNamingTest.cs | 24396 | //---------------------------------------------------------------------
// <copyright file="CustomizeNamingTest.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------... | mit |
andreufirefly/keystone | lib/core/openDatabaseConnection.js | 2539 | var debug = require('debug')('keystone:core:openDatabaseConnection');
module.exports = function openDatabaseConnection (callback) {
var keystone = this;
var mongoConnectionOpen = false;
// support replica sets for mongoose
if (keystone.get('mongo replica set')) {
if (keystone.get('logger')) {
console.log('... | mit |
Alwnikrotikz/numexpr | numexpr/numexpr_object.hpp | 1069 | #ifndef NUMEXPR_OBJECT_HPP
#define NUMEXPR_OBJECT_HPP
/*********************************************************************
Numexpr - Fast numerical array expression evaluator for NumPy.
License: MIT
Author: See AUTHORS.txt
See LICENSE.txt for details about copyright and rights to use.
****... | mit |
nongfadai/front_demo | web/src/notuse/app/lib/zepto/zepto.js | 69690 | // Zepto.js
// (c) 2010-2015 Thomas Fuchs
// Zepto.js may be freely distributed under the MIT license.
var Zepto = (function() {
var undefined, key, $, classList, emptyArray = [], concat = emptyArray.concat, filter = emptyArray.filter, slice = emptyArray.slice,
document = window.document,
element... | mit |
xinyzhang9/xinyzhang9.github.io | spirits2/node_modules/glsl-token-whitespace-trim/README.md | 1349 | # glsl-token-whitespace-trim
[](http://github.com/badges/stability-badges)
Trim the whitespace within an array of GLSL tokens provided by [glsl-tokenizer](https://github.com/stackgl/glsl-tokenizer). Useful for minimising shader source size, especially... | mit |
mwoynarski/KunstmaanBundlesCMS | src/Kunstmaan/AdminBundle/Resources/ui/js/_datepicker.js | 4312 | var kunstmaanbundles = kunstmaanbundles || {};
kunstmaanbundles.datepicker = (function($, window, undefined) {
var init, reInit, _setDefaultDate, _initDatepicker;
var _today = window.moment(),
_tomorrow = window.moment(_today).add(1, 'days');
var defaultFormat = 'DD-MM-YYYY',
defaultColl... | mit |
dwpdigitaltech/healthanddisability | app/views/fha/v5/booking/details/contact.html | 1150 | {% extends path+"/booking/details/_layout2.html" %}
{% block case_content %}
<h3 class="heading-medium mt0">Contact details</h3>
<h4 class="heading-small">Phone</h4>
<p>{{customer.phone}}</p>
<h4 class="heading-small">Mobile</h4>
<p>{{customer.mobile}}</p>
<h4 class="heading-small">Email</h4>
<p>{{customer.email}}<... | mit |
wingyplus/wmii | lib/libstuff/event/event.h | 193 | #include <stuff/x.h>
typedef void (*EventHandler)(XEvent*);
#define handle(w, fn, ev) \
BLOCK(if((w)->handler->fn) (w)->handler->fn((w), ev))
extern EventHandler event_handler[LASTEvent];
| mit |
daimajia/EverMemo-EverNote | src/com/evernote/client/android/AsyncLinkedNoteStoreClient.java | 9741 | /*
* Copyright 2012 Evernote Corporation.
* 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 co... | mit |
cjwl/cocotron | Foundation/NSSet/NSSet.h | 2363 | /* Copyright (c) 2006-2007 Christopher J. W. Lloyd
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... | mit |
KrzysztofCwalina/corefxlab | tests/System.Collections.Sequences.Tests/BasicUnitTests.cs | 2965 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Collections.Sequences.Tests
{
public class Sequ... | mit |
guhilling/smart-release-plugin | test-projects/parent-as-sibling/core-utils/src/test/java/de/hilling/maven/release/testprojects/versioninheritor/CalculatorTest.java | 369 | package de.hilling.maven.release.testprojects.versioninheritor;
import org.junit.Assert;
import org.junit.Test;
public class CalculatorTest {
@Test
public void testAdd() throws Exception {
Assert.assertEquals(3, new Calculator().add(1, 2));
System.out.println("The Calculator Test has run"); ... | mit |
Dokaponteam/ITF_Project | xampp/perl/lib/unicore/lib/Blk/Cham.pl | 421 | # !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by mktables from the Unicode
# database, Version 6.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existence of this ... | mit |
spitelab/spiteheroes | www/bower_components/pixi/docs/files/src_pixi_utils_Polyk.js.html | 14080 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>src/pixi/utils/Polyk.js - pixi.js</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="styleshee... | cc0-1.0 |
yorkulibraries/vufind | web/vendor/php-tmdb/api/lib/Tmdb/Model/Collection/QueryParametersCollection.php | 555 | <?php
/**
* This file is part of the Tmdb PHP API created by Michael Roterman.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package Tmdb
* @author Michael Roterman <michael@wtfz.net>
* @copyright (c) 2013, Michael Roterman
*... | gpl-2.0 |
myri/lanai-gcc | gcc/testsuite/g77.f-torture/execute/u77-test.f | 12998 | *** Some random stuff for testing libU77. Should be done better. It's
* hard to test things where you can't guarantee the result. Have a
* good squint at what it prints, though detected errors will cause
* starred messages.
*
* Currently not tested:
* ALARM
* CHDIR (func)
* CHMOD (func)
* FGET... | gpl-2.0 |
gerrit507/Emby | RSSDP/DeviceEventArgs.cs | 1125 | using System;
using System.Collections.Generic;
using System.Text;
namespace Rssdp
{
/// <summary>
/// Event arguments for the <see cref="SsdpDevice.DeviceAdded"/> and <see cref="SsdpDevice.DeviceRemoved"/> events.
/// </summary>
public sealed class DeviceEventArgs : EventArgs
{
#region Fields
private read... | gpl-2.0 |
Gurgel100/gcc | gcc/testsuite/g++.dg/analyzer/pr93899.C | 67 | // { dg-do compile { target c++11 } }
#include "../abi/mangle55.C"
| gpl-2.0 |
tobiasbuhrer/tobiasb | web/core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php | 6727 | <?php
namespace Drupal\KernelTests\Core\Datetime;
use Drupal\KernelTests\KernelTestBase;
use Drupal\language\Entity\ConfigurableLanguage;
/**
* Tests date formatting.
*
* @group Common
* @coversDefaultClass \Drupal\Core\Datetime\DateFormatter
*/
class DateFormatterTest extends KernelTestBase {
/**
* {@inh... | gpl-2.0 |
wnsonsa/destin-foot | vendor/nelmio/cors-bundle/Nelmio/CorsBundle/README.md | 3211 | # NelmioCorsBundle
## About
The NelmioCorsBundle allows you to send [Cross-Origin Resource Sharing](http://enable-cors.org/)
headers with ACL-style per-url configuration.
If you want to have have a global overview of CORS workflow, you can browse
this [image](http://www.html5rocks.com/static/images/cors_server_flow... | gpl-2.0 |
HarveyHunt/linux | mm/hugetlb.c | 132730 | /*
* Generic hugetlb support.
* (C) Nadia Yvette Chambers, April 2004
*/
#include <linux/list.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/seq_file.h>
#include <linux/sysctl.h>
#include <linux/highmem.h>
#include <linux/mmu_notifier.h>
#include <linux/nodemask.h>
#include <linux/pagemap.h>
#inclu... | gpl-2.0 |
armenrz/adempiere | base/src/org/compiere/model/I_AD_WF_Responsible.java | 6101 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
z3bu/AH4222 | kernel/linux/include/asm-x86_64/mmu_context.h | 1817 | #ifndef __X86_64_MMU_CONTEXT_H
#define __X86_64_MMU_CONTEXT_H
#include <linux/config.h>
#include <asm/desc.h>
#include <asm/atomic.h>
#include <asm/pgalloc.h>
#include <asm/pda.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
/*
* possibly do the LDT unload here?
*/
int init_new_context(struct task_struct *tsk... | gpl-2.0 |
Golrag/TrinityCore | src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp | 12484 | /*
* Copyright (C) 2008-2018 TrinityCore <https://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 v... | gpl-2.0 |
Bloodyaugust/sugarlabcppboilerplate | lib/boost/doc/html/boost/date_time/month_formatter.html | 7569 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class template month_formatter</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.html" t... | gpl-2.0 |
JrmyDev/CodenameOne | CodenameOne/src/com/codename1/ui/layouts/mig/LinkHandler.java | 6705 | package com.codename1.ui.layouts.mig;
import com.codename1.ui.Display;
import java.util.ArrayList;
import java.util.HashMap;
/*
* License (BSD):
* ==============
*
* Copyright (c) 2004, Mikael Grev, MiG InfoCom AB. (miglayout (at) miginfocom (dot) com)
* All rights reserved.
*
* Redistribution and u... | gpl-2.0 |
tectronics/houdini-ocean-toolkit | src/3rdparty/win64/blitz/memblock.h | 9384 | // -*- C++ -*-
/***************************************************************************
* blitz/memblock.h MemoryBlock<T> and MemoryBlockReference<T>
*
* $Id: memblock.h,v 1.20 2008/02/21 03:21:53 julianc Exp $
*
* Copyright (C) 1997-1999 Todd Veldhuizen <tveldhui@oonumerics.org>
*
* This program is fre... | gpl-2.0 |
arbuzarbuz/paparazzi | sw/airborne/modules/ins/ahrs_chimu_uart.c | 2598 | /*
C code to connect a CHIMU using uart
*/
#include <stdbool.h>
// Output
#include "state.h"
// For centripedal corrections
#include "subsystems/gps.h"
#include "subsystems/ahrs.h"
#include "generated/airframe.h"
#if CHIMU_DOWNLINK_IMMEDIATE
#ifndef DOWNLINK_DEVICE
#define DOWNLINK_DEVICE DOWNLINK_AP_DEVICE
#en... | gpl-2.0 |
Gurgel100/gcc | libgomp/testsuite/libgomp.oacc-fortran/optional-host_data.f90 | 767 | ! Test the host_data construct with optional arguments.
! Based on host_data-1.f90.
! { dg-do run }
! { dg-additional-options "-cpp" }
program test
implicit none
integer, target :: i
integer, pointer :: ip, iph
! Assign the same targets
ip => i
iph => i
call foo(iph)
call foo(iph, ip)
contains
su... | gpl-2.0 |
jacques/connector | vendor/gems/soap4r-1.5.5.20061022/test/soap/header/test_authheader.rb | 5284 | require 'test/unit'
require 'soap/rpc/driver'
require 'soap/rpc/standaloneServer'
require 'soap/header/simplehandler'
module SOAP
module Header
class TestAuthHeader < Test::Unit::TestCase
Port = 17171
PortName = 'http://tempuri.org/authHeaderPort'
MyHeaderName = XSD::QName.new("http://tempuri.org/authHeader",... | gpl-2.0 |
PlanTool/plantool | wrappingPlanners/Deterministic/LAMA/seq-sat-lama/lama/translate/pddl/pretty_print.py | 2178 | #######################################################################
#
# Author: Malte Helmert (helmert@informatik.uni-freiburg.de)
# (C) Copyright 2003-2004 Malte Helmert
#
# This file is part of LAMA.
#
# LAMA is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public Li... | gpl-2.0 |
tobiasbuhrer/tobiasb | web/core/tests/Drupal/KernelTests/Core/Extension/ThemeExtensionListTest.php | 1189 | <?php
namespace Drupal\KernelTests\Core\Extension;
use Drupal\KernelTests\KernelTestBase;
/**
* @coversDefaultClass \Drupal\Core\Extension\ThemeExtensionList
* @group Extension
*/
class ThemeExtensionListTest extends KernelTestBase {
/**
* @covers ::getList
*/
public function testGetlist() {
\Drupa... | gpl-2.0 |
berkeley-amsa/amsa | tmp/install_4e730b9d77cb3/admin/classes/category.php | 8168 | <?php
/**
* @package com_zoo Component
* @file category.php
* @version 2.4.9 May 2011
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
/*
Class: Category
Category related attributes and... | gpl-2.0 |
hackthis02/xbmc | xbmc/input/joysticks/dialogs/GUIDialogNewJoystick.cpp | 1952 | /*
* Copyright (C) 2016 Team Kodi
* http://kodi.tv
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This P... | gpl-2.0 |
domino-team/openwrt-cc | package/gli-pub/openwrt-node-packages-master/node/node-v6.9.1/deps/icu-small/source/tools/genrb/errmsg.h | 1012 | /*
*******************************************************************************
*
* Copyright (C) 1998-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
*
* File error.h
*
* Modification History:... | gpl-2.0 |
DarkDefender/coreboot | payloads/libpayload/arch/x86/multiboot.c | 3165 | /*
* This file is part of the libpayload project.
*
* Copyright (C) 2008 Advanced Micro Devices, Inc.
*
* 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 c... | gpl-2.0 |
teeple/pns_server | work/install/Python-2.7.4/Demo/turtle/tdemo_lindenmayer_indian.py | 2432 | #!/usr/bin/env python
""" turtle-example-suite:
xtx_lindenmayer_indian.py
Each morning women in Tamil Nadu, in southern
India, place designs, created by using rice
flour and known as kolam on the thresholds of
their homes.
These can be described by Lindenmayer systems,
which can easily be implemented w... | gpl-2.0 |
asavah/xbmc | xbmc/platform/win32/Filesystem.cpp | 2486 | /*
* Copyright (C) 2005-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#include "platform/Filesystem.h"
#include "platform/win32/CharsetConverter.h"
#include <Windows.h>
namespace win = KODI::PLAT... | gpl-2.0 |
acuicultor/android_kernel_oneplus_msm8974-1 | net/ipv4/tcp_input.c | 176266 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | gpl-2.0 |
HirdayGupta/teammates | src/test/resources/pages/instructorCoursesUnarchiveSuccessful.html | 10787 | <div class="container" id="mainContent">
<div id="topOfPage">
</div>
<h1>
Add New Course
</h1>
<br>
<div class="panel panel-primary">
<div class="panel-body fill-plain">
<form action="/page/instructorCourseAdd" class="form form-horizontal" method="get" name="form_addcourse">
<input id=... | gpl-2.0 |
LAGonauta/dolphin | Source/Core/VideoCommon/Fifo.cpp | 18046 | // Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "VideoCommon/Fifo.h"
#include <atomic>
#include <cstring>
#include "Common/Assert.h"
#include "Common/Atomic.h"
#include "Common/BlockingLoop.h"
#include "Common/ChunkFile.h"
#include "Common/Event... | gpl-2.0 |
amyevans/davmschool | wp-content/mu-plugins/gd-system-plugin/class-gd-system-plugin-config.php | 1813 | <?php
/**
* Copyright 2013 Go Daddy Operating Company, LLC. All Rights Reserved.
*/
// Make sure it's wordpress
if ( !defined( 'ABSPATH' ) )
die( 'Forbidden' );
/**
* Class GD_System_Plugin_Config
* Handle reading system and reseller configurations
* @version 1.0
* @author Kurt Payne <kpayne@godaddy.com>
... | gpl-2.0 |
keegan2149/magento | sites/default/app/code/core/Mage/Core/Model/Website.php | 13740 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | gpl-2.0 |
nslu2/Build-gcc-3.2.1 | gcc/testsuite/g++.old-deja/g++.robertl/eb69.C | 373 | // Test that g++ complains about referring to a builtin type in a
// mem-initializer.
// Contributed by Kevin Buhr <buhr@stat.wisc.edu>
int r = 0;
struct foo { // ERROR - candidate
foo(int x) { r = 1; } // ERROR - candidate
};
struct bar : foo {
typedef int an_int;
bar() : bar::an_int(3) {} // ERROR ... | gpl-2.0 |
keegan2149/magento | sites/default/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Design/Package.php | 1419 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | gpl-2.0 |
SurajAnil/KernelVirtualMachine | qemu/hw/timer/ds1338.c | 6373 | /*
* MAXIM DS1338 I2C RTC+NVRAM
*
* Copyright (c) 2009 CodeSourcery.
* Written by Paul Brook
*
* This code is licensed under the GNU GPL v2.
*
* Contributions after 2012-01-13 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "qemu/osdep.h"
#include "... | gpl-3.0 |
carthy/beard.gmp | mpn/arm/mod_34lsub1.asm | 2299 | dnl ARM mpn_mod_34lsub1 -- remainder modulo 2^24-1.
dnl Copyright 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as published
dnl by t... | gpl-3.0 |
grnet/synnefo | snf-astakos-app/astakos/im/migrations/old/0043_uninitialized_projects.py | 25194 | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import DataMigration
from django.db import models
class Migration(DataMigration):
def forwards(self, orm):
objs = orm.ProjectApplication.objects
apps = objs.filter(chain__chained_project=None).order_by(
'chain', '-... | gpl-3.0 |
wimnat/ansible-modules-core | cloud/amazon/ec2.py | 61472 | #!/usr/bin/python
# This file is part of Ansible
#
# Ansible 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.
#
# Ansible is distributed... | gpl-3.0 |
edgardoh/darktable | src/common/grouping.h | 1375 | /*
This file is part of darktable,
copyright (c) 2011 tobias ellinghaus.
darktable 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 ... | gpl-3.0 |
gguruss/mixerp | src/Libraries/Web API/Transactions/Tests/GetPurchaseTests.cs | 720 | // ReSharper disable All
using System;
using System.Diagnostics;
using System.Linq;
using MixERP.Net.Api.Transactions.Fakes;
using MixERP.Net.ApplicationState.Cache;
using Xunit;
namespace MixERP.Net.Api.Transactions.Tests
{
public class GetPurchaseTests
{
public static GetPurchaseController Fixture()
... | gpl-3.0 |
mixerp/mixerp | src/FrontEnd/Modules/Sales.Data/Transactions/GlTransaction.cs | 4220 | using System;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using MixERP.Net.Common;
using MixERP.Net.Core.Modules.Sales.Data.Data;
using MixERP.Net.DbFactory;
using MixERP.Net.Entities.Core;
using MixERP.Net.Entities.Transactions.Models;
using Npgsql;
namespace MixERP.Net.Core.... | gpl-3.0 |
lemio/w-esp | w-esp-node-red/red/runtime/nodes/flows/Flow.js | 16004 | /**
* Copyright 2015 IBM Corp.
*
* 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 wr... | gpl-3.0 |
gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-gb.js | 227 | /*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'removeformat', 'en-gb', {
toolbar: 'Remove Format'
} );
| gpl-3.0 |
gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/flash/lang/ku.js | 1731 | /*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'flash', 'ku', {
access: 'دەستپێگەیشتنی نووسراو',
accessAlways: 'هەمیشه',
accessNever: 'هەرگیز',
accessSameDomain: 'هەمان دۆمەین',
alignAbsBottom:... | gpl-3.0 |
xushiwei/fibjs | vender/src/v8/src/gdb-jit.cc | 63323 | // Copyright 2010 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.
#ifdef ENABLE_GDB_JIT_INTERFACE
#include "src/v8.h"
#include "src/base/platform/platform.h"
#include "src/bootstrapper.h"
#include "src/compiler.h"
#in... | gpl-3.0 |
MaxiReglisse/georchestra | mapfishapp/src/main/webapp/lib/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux/GeoNamesSearchCombo.html | 1694 | <!DOCTYPE html>
<html debug="true">
<head>
<script type="text/javascript" src="http://www.openlayers.org/api/2.9/OpenLayers.js"></script>
<script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.0/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="http://extjs.cachefly.net/... | gpl-3.0 |
diocles/gnash | gui/pythonmod/gnash-test.c | 1556 | // gnash-window.c: Gtk canvas widget for gnash
//
// Copyright (C) 2009, 2010 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 Lic... | gpl-3.0 |
mzemel/kpsu.org | vendor/gems/ruby/1.8/gems/activerecord-3.0.3/lib/active_record.rb | 3626 | #--
# Copyright (c) 2004-2010 David Heinemeier Hansson
#
# 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, m... | gpl-3.0 |
IBobko/signal | src/org/thoughtcrime/securesms/push/TextSecureCommunicationFactory.java | 1107 | package org.thoughtcrime.securesms.push;
import android.content.Context;
import org.thoughtcrime.securesms.BuildConfig;
import org.thoughtcrime.securesms.util.TextSecurePreferences;
import org.whispersystems.signalservice.api.SignalServiceAccountManager;
public class TextSecureCommunicationFactory {
public static... | gpl-3.0 |
darkwing/debugger.html | test/mochitest/examples/sourcemapped/builds/webpack4-babel7/index.js | 2374 | /* 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/>. */
const path = require("path");
const util = require("util");
const _ = require("lodash");
const webpack = require... | mpl-2.0 |
madd15/snipe-it | resources/lang/nl/admin/depreciations/general.php | 528 | <?php
return array(
'about_asset_depreciations' => 'Over afschrijving van materiaal',
'about_depreciations' => 'U kan de materiaalafschrijving instellen om materiaal af te schrijven op basis van lineaire afschrijving.',
'asset_depreciations' => 'Materiaalafschrijvingen',
'create' ... | agpl-3.0 |
GiantSteps/essentia | src/examples/python/streaming_extractor/level.py | 4852 | # Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra
#
# This file is part of Essentia
#
# Essentia 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 (FSF), either version 3 of the ... | agpl-3.0 |
sanjupolus/kc-coeus-1508.3 | coeus-db/coeus-db-sql/src/main/resources/co/kuali/coeus/data/migration/sql/oracle/kc/bootstrap/V300_213__KC_DML_01_TRAINING.sql | 2489 | --
-- Kuali Coeus, a comprehensive research administration system for higher education.
--
-- Copyright 2005-2015 Kuali, Inc.
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as
-- published by the Free Software Foundation, eithe... | agpl-3.0 |
SerCom-KC/mastodon | config/application.rb | 2782 | require_relative 'boot'
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
require_relative '../app/lib/exceptions'
require_relative '../lib/paperclip/lazy_thumbnail'
require_relative '../lib/paperclip/g... | agpl-3.0 |
fionakim/biojava | biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/model/PdbxNonPolyScheme.java | 2607 | /*
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for t... | lgpl-2.1 |
jpakkane/gstreamer-plugins-good | ext/jpeg/gstjpegdec.c | 41389 | /* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* Copyright (C) <2009> Tim-Philipp Müller <tim centricular net>
* Copyright (C) 2012 Collabora Ltd.
* Author : Edward Hervey <edward@collabora.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms... | lgpl-2.1 |
xasx/wildfly | iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/LocalIDLType.java | 1319 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, 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 i... | lgpl-2.1 |
john-tornblom/mc | model/com.mentor.nucleus.bp.core/src50/ooaofooa_SM_STATE_class.h | 2991 | /*----------------------------------------------------------------------------
* File: ooaofooa_SM_STATE_class.h
*
* Class: State Machine State (SM_STATE)
* Component: ooaofooa
*
* your copyright statement can go here (from te_copyright.body)
*----------------------------------------------------... | apache-2.0 |
siosio/intellij-community | platform/code-style-api/src/com/intellij/formatting/FormattingModelBuilder.java | 3839 | // Copyright 2000-2020 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.formatting;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile... | apache-2.0 |
jasonchaffee/apiman | manager/api/beans/src/main/java/io/apiman/manager/api/beans/clients/ClientStatus.java | 790 | /*
* Copyright 2014 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 |
maxim-rabinovich/epic | src/test/scala/epic/dense/SigmoidTransformTest.scala | 1952 | package epic.dense
import org.scalatest.FunSuite
import breeze.optimize.{GradientTester, DiffFunction}
import breeze.linalg.{sum, argmax, max, DenseVector}
/**
*
*
* @author dlwh
class SigmoidTransformTest extends FunSuite {
test("chain rule") {
val index = new SigmoidTransform(12, 10, true)
val dv = De... | apache-2.0 |
VinodKumarS-Huawei/ietf96yang | core/api/src/main/java/org/onosproject/ui/table/TableRequestHandler.java | 5111 | /*
* Copyright 2015-present Open Networking Laboratory
*
* 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... | apache-2.0 |
SupunS/carbon-identity | components/identity/org.wso2.carbon.identity.entitlement.ui/src/main/java/org/wso2/carbon/identity/entitlement/ui/PolicyEditorConstants.java | 8025 | /*
* Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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... | apache-2.0 |
dneuman64/traffic_control | traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java | 1971 | package health;
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStateUpdater;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStatisticsClient;
import com.ning.http.client.AsyncHttpClient;
import com.ning.http.cl... | apache-2.0 |
ivan-fedorov/intellij-community | python/src/com/jetbrains/python/psi/impl/PyFunctionImpl.java | 26495 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* 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 agre... | apache-2.0 |
GlenRSmith/elasticsearch | server/src/main/java/org/elasticsearch/common/settings/ConsistentSettingsService.java | 13526 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
google/llvm-propeller | compiler-rt/test/builtins/Unit/fixunssfsi_test.c | 2325 | // RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_fixunssfsi
#include "int_lib.h"
#include <stdio.h>
// Returns: convert a to a unsigned int, rounding toward zero.
// Negative values all become zero.
// Assumption: float is a IEEE 32 bit floating point type
// su_int is ... | apache-2.0 |
JesseQin/Open-XML-SDK | src/ofapi/Validation/SemanticValidation/SemanticConstraint/RelationshipExistConstraint.cs | 1905 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DocumentFormat.OpenXml.Validation;
using Sy... | apache-2.0 |
HybridF5/nova | nova/tests/unit/virt/test_block_device.py | 45741 | # 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 applicable law or agreed to in... | apache-2.0 |
taotetek/rsyslog-doc | README.md | 2371 | rsyslog-docs
============
Documentation for the rsyslog project
-------------------------------------
This is a work in progress. We are currently migrating over to a new document
generation framework.
The process of this work will be done as follows:
1. Complete v5-stable documentation
2. Merge v5-stable into v7-s... | apache-2.0 |
irudyak/ignite | examples/src/test/java/org/apache/ignite/examples/MemcacheRestExamplesMultiNodeSelfTest.java | 1462 | /*
* 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 ... | apache-2.0 |
jeltz/rust-debian-package | src/llvm/tools/clang/test/Parser/cxx-template-decl.cpp | 4541 | // RUN: %clang_cc1 -fsyntax-only -verify %s
// Errors
export class foo { }; // expected-error {{expected template}}
template x; // expected-error {{C++ requires a type specifier for all declarations}} \
// expected-error {{does not refer}}
export template x; // expected-error... | apache-2.0 |
terryturner/VRPinGMapFx | jsprit-master/jsprit-io/src/main/java/com/graphhopper/jsprit/io/algorithm/AlgorithmConfig.java | 1141 | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use t... | apache-2.0 |
zhimin711/nova | nova/tests/unit/virt/vmwareapi/test_network_util.py | 9191 | # Copyright (c) 2014 VMware, 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 requir... | apache-2.0 |
luna1x/chef-server | vendor/ruby/1.9.1/gems/fog-1.15.0/lib/fog/libvirt/compute.rb | 3975 | require 'fog/libvirt'
require 'fog/compute'
require 'fog/libvirt/models/compute/util/util'
require 'fog/libvirt/models/compute/util/uri'
module Fog
module Compute
class Libvirt < Fog::Service
requires :libvirt_uri
recognizes :libvirt_username, :libvirt_password
recognizes :libvirt_ip_command... | apache-2.0 |
dagolden/opscode-cookbooks | database/recipes/snapshot.rb | 2156 | #
# Author:: AJ Christensen (<aj@opscode.com>)
# Cookbook Name:: database
# Recipe:: snapshot
#
# Copyright 2009-2010, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ht... | apache-2.0 |
lukecwik/incubator-beam | runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/stableinput/NonKeyedBufferingElementsHandler.java | 2224 | /*
* 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 ... | apache-2.0 |
nicoben/pentaho-kettle | engine/src/org/pentaho/di/job/entries/simpleeval/JobEntrySimpleEval.java | 46419 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | apache-2.0 |
janeen666/mi-instrument | mi/platform/rsn/simulator/oms_values.py | 7128 | #!/usr/bin/env python
"""
@package ion.agents.platform.rsn.simulator.oms_values
@file ion/agents/platform/rsn/simulator/oms_values.py
@author Carlos Rueda
@brief Platform attribute value generators for the RSN OMS simulator.
"""
__author__ = 'Carlos Rueda'
__license__ = 'Apache 2.0'
import time
import ntplib
... | bsd-2-clause |
fw1121/uthash | tests/test72.c | 1905 | #include <stdlib.h>
#include <stdio.h>
#include "utlist.h"
typedef struct el {
int id;
struct el *next, *prev;
} el;
int main(int argc, char *argv[])
{
int i;
el els[20], *e, *tmp, *tmp2;
el *headA = NULL;
el *headB = NULL;
for(i=0; i<20; i++) {
els[i].id=(int)'a'+i;
}
/* ... | bsd-2-clause |