repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Shine-/xbmc | xbmc/pvr/dialogs/GUIDialogPVRGuideOSD.cpp | 3993 | /*
* Copyright (C) 2012-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | gpl-2.0 |
NetworkNub/librenms | includes/alerts/transport.victorops.php | 1967 | /* Copyright (C) 2015 Daniel Preussker <f0o@devilcode.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 3 of the License, or
* (at your option) any later version.
*
* Thi... | gpl-3.0 |
zneext/mtasa-blue | Server/mods/deathmatch/logic/packets/CPlayerStatsPacket.cpp | 2217 | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: mods/deathmatch/logic/packets/CPlayerStatsPacket.cpp
* PURPOSE: Player statistics packet class
* DEVELOPERS: Jax <>
... | gpl-3.0 |
anthgur/servo | tests/wpt/web-platform-tests/requestidlecallback/basic.html | 2769 | <!DOCTYPE html>
<title>window.requestIdleCallback exists</title>
<link rel="author" title="Ross McIlroy" href="mailto:rmcilroy@chromium.org" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
assert_equals(typeof window.requestIdleCa... | mpl-2.0 |
dennishuo/hadoop | hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/PacketHeader.java | 7020 | /**
* 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 |
mericon/Xp_Kernel_LGH850 | virt/arch/powerpc/kvm/book3s_hv.c | 69751 | /*
* Copyright 2011 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com>
* Copyright (C) 2009. SUSE Linux Products GmbH. All rights reserved.
*
* Authors:
* Paul Mackerras <paulus@au1.ibm.com>
* Alexander Graf <agraf@suse.de>
* Kevin Wolf <mail@kevin-wolf.de>
*
* Description: KVM functions specific to runni... | gpl-2.0 |
joeyparrish/cdnjs | ajax/libs/opentype.js/0.6.7/opentype.js | 295992 | /**
* Modules in this bundle
* @license
*
* opentype.js:
* license: MIT (http://opensource.org/licenses/MIT)
* author: Frederik De Bleser <frederik@debleser.be>
* version: 0.6.7
*
* tiny-inflate:
* license: MIT (http://opensource.org/licenses/MIT)
* author: Devon Govett <devongovett@gmail.com>
* ... | mit |
FauxFaux/jdk9-nashorn | test/src/jdk/nashorn/test/models/VarArgConsumer.java | 1400 | /*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | gpl-2.0 |
carbamide/Einstein | _Build_/Xcode4/XADMaster/Crypto/aestab.h | 5332 | /*
---------------------------------------------------------------------------
Copyright (c) 1998-2010, Brian Gladman, Worcester, UK. All rights reserved.
The redistribution and use of this software (with or without changes)
is allowed without the payment of fees or royalties provided that:
source code distr... | gpl-2.0 |
rpaleari/qtrace | src/dtc/tests/path_offset.c | 3735 | /*
* libfdt - Flat Device Tree manipulation
* Testcase for fdt_path_offset()
* Copyright (C) 2006 David Gibson, IBM Corporation.
*
* 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; e... | gpl-2.0 |
AfrikaBurn/Main | web/libraries/codemirror/src/edit/options.js | 6874 | import { onBlur } from "../display/focus"
import { setGuttersForLineNumbers, updateGutters } from "../display/gutters"
import { alignHorizontally } from "../display/line_numbers"
import { loadMode, resetModeState } from "../display/mode_state"
import { initScrollbars, updateScrollbars } from "../display/scrollbars"
imp... | gpl-2.0 |
noskill/Firesoft | src/main/webapp/ckeditor/lang/sr.js | 3935 | /**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Serbian (Cyrillic) language.
*/
/**#@+
@type String
@example
*/
/**
* Cont... | gpl-3.0 |
Shangxz/HackIllinois2017 | tone-analysis/fftw-3.3.6-pl1/mpi/rdft-rank-geq2.c | 5293 | /*
* Copyright (c) 2003, 2007-14 Matteo Frigo
* Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
*
* 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 ... | gpl-3.0 |
gtison/kf | src/main/resources/static/js/jquery.darktooltip.js | 6675 | /*
* DarkTooltip v0.4.0
* Simple customizable tooltip with confirm option and 3d effects
* (c)2014 Rubén Torres - rubentdlh@gmail.com
* Released under the MIT license
*/
(function($) {
function DarkTooltip(element, options){
this.bearer = element;
this.options = options;
this.hideEvent;
this.mouseOverMo... | apache-2.0 |
Guavus/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/StoreFileListGenerator.java | 1237 | /**
* 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 |
mcgilman/nifi | nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/nifi-standard-record-utils/src/main/java/org/apache/nifi/schema/validation/StandardSchemaValidationResult.java | 1648 | /*
* 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 |
gfyoung/elasticsearch | server/src/test/java/org/elasticsearch/action/admin/indices/forcemerge/ForceMergeResponseTests.java | 1679 | /*
* 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... | apache-2.0 |
alexzaitzev/ignite | modules/core/src/main/java/org/apache/ignite/configuration/OdbcConfiguration.java | 7131 | /*
* 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 |
afk11/bitcoin | test/functional/feature_minchainwork.py | 4122 | #!/usr/bin/env python3
# Copyright (c) 2017-2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test logic for setting nMinimumChainWork on command line.
Nodes don't consider themselves out of "init... | mit |
markogresak/DefinitelyTyped | types/hawk/lib/utils.d.ts | 1362 | import * as Boom from '@hapi/boom';
import * as http from 'http';
import * as https from 'https';
export interface Host {
name: string;
port: number;
}
export interface CustomRequest {
authorization: string;
contentType: string;
host: string;
method: string;
port: number;
url: string;
... | mit |
rokn/Count_Words_2015 | testing/openjdk/jdk/test/sun/nio/cs/X11CNS11643P2.java | 1335 | /*
* Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | mit |
miguelangel6/nightwatchbamboo | tests/extra/pageobjects/SimplePageFn.js | 142 | module.exports = function(client, test) {
test.ok(typeof client == 'object');
this.testPageAction = function() {
return this;
};
}; | mit |
eva-oss/linux | lib/test_bitmap.c | 10167 | /*
* Test cases for printf facility.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitmap.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/printk.h>
#include <linux/slab.h>
#include <linux/string.h>
static unsigned total_tests __initdata;
static unsign... | gpl-2.0 |
maxfu/android_kernel_samsung_exynos5410 | include/linux/msm_rmnet.h | 2050 | /* Copyright (c) 2010, Code Aurora Forum. 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 hope th... | gpl-2.0 |
iAlios/openwrt-fl2440 | target/linux/xburst/files/sound/soc/codecs/jzcodec.h | 631 | /*
* Copyright (C) 2009, Lars-Peter Clausen <lars@metafoo.de>
*
* 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.
*
* You should have received a copy of the GNU General Public L... | gpl-2.0 |
rawlingsj/gofabric8 | vendor/github.com/openshift/origin/pkg/cmd/infra/builder/builder.go | 1590 | package builder
import (
"os"
"github.com/spf13/cobra"
kcmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"github.com/openshift/origin/pkg/build/builder/cmd"
ocmd "github.com/openshift/origin/pkg/cmd/cli/cmd"
"github.com/openshift/origin/pkg/cmd/templates"
)
var (
s2iBuilderLong = templates.LongDesc(`
Perf... | apache-2.0 |
young-zhang/Lean | Common/Util/ReaderWriterLockSlimExtensions.cs | 3963 | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | apache-2.0 |
ractive/spring-security | test/src/test/java/org/springframework/security/test/web/servlet/showcase/secured/WithUserDetailsClassLevelAuthenticationTests.java | 4216 | /*
* Copyright 2002-2014 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
*
* Unless required by ap... | apache-2.0 |
weiyuliang/rt-thread | bsp/imx6sx/iMX6_Platform_SDK/sdk/include/mx6dq/registers/regspgc.h | 28478 | /*
* Copyright (c) 2012, Freescale Semiconductor, Inc.
* All rights reserved.
*
* THIS SOFTWARE IS PROVIDED BY FREESCALE "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
* S... | apache-2.0 |
ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/media/filters/ivf_parser.h | 2935 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_FILTERS_IVF_PARSER_H_
#define MEDIA_FILTERS_IVF_PARSER_H_
#include <stddef.h>
#include <stdint.h>
#include "base/macros.h"
#include "media... | bsd-2-clause |
codestation/go | test/mergemul.go | 3236 | // runoutput
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import "fmt"
// Check that expressions like (c*n + d*(n+k)) get correctly merged by
// the compiler into (c+d)*n + d*k (with c+d an... | bsd-3-clause |
itsmemz53/Project-DB | www/lib/ngmap/testapp/circle-simple.html | 1746 | <!DOCTYPE html>
<html ng-app="myApp">
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<script src="https://maps.google.com/maps/api/js?sensor=false"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script>
<!--
<script src="../build/scripts/ng... | mit |
lafriks/gitea | docs/content/doc/features/webhooks.zh-tw.md | 234 | ---
date: "2016-12-01T16:00:00+02:00"
title: "Webhooks"
slug: "webhooks"
weight: 10
toc: true
draft: false
menu:
sidebar:
parent: "features"
name: "Webhooks"
weight: 30
identifier: "webhooks"
---
# Webhooks
## TBD
| mit |
iamjasonp/corefx | src/System.Dynamic.Runtime/src/System/Dynamic/IDynamicMetaObjectProvider.cs | 1145 | // 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.Linq.Expressions;
namespace System.Dynamic
{
/// <summary>
/// Represents a dynamic object, th... | mit |
markogresak/DefinitelyTyped | types/wordpress__block-editor/components/color-palette/with-color-context.d.ts | 777 | // tslint:disable:no-unnecessary-generics
import { ComponentType } from 'react';
import { EditorColor } from '../../';
declare namespace withColorContext {
interface Props {
colors: EditorColor[];
disableCustomColors: boolean;
hasColorsToChoose: boolean;
}
}
// prettier-ignore
declare... | mit |
upsoft/Atlas | src/network-mysqld-lua.c | 24067 | /* $%BEGINLICENSE%$
Copyright (c) 2008, 2009, Oracle and/or its affiliates. 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 as
published by the Free Software Foundation; version 2 of the
License.
This program is distr... | gpl-2.0 |
mwhitlaw/openemr | phpmyadmin/lang/italian-iso-8859-1.inc.php | 70896 | <?php
/* $Id$ */
/**
* translated by: Pietro Danesi <danone at users.sourceforge.net> 2002-03-29
* Revised by: "DPhantom" <dphantom at users.sourceforge.net> 2002-04-16
* Revised by: "Luca Rebellato" <rebeluca at users.sourceforge.net> 2007-07-26
*/
$charset = 'iso-8859-1';
$text_dir = 'ltr';
$number_tho... | gpl-2.0 |
fengshao0907/mysql | storage/ndb/test/odbc/client/SQLTransactTest.cpp | 8798 | /* Copyright (c) 2003, 2005 MySQL AB
Use is subject to license terms
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; version 2 of the License.
This program is distributed in the hope ... | gpl-2.0 |
zneext/mtasa-blue | Server/mods/deathmatch/logic/CLogger.h | 2412 | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: mods/deathmatch/logic/CLogger.h
* PURPOSE: Server logger class
* DEVELOPERS: Christian Myhre Lundheim <>
*
* Multi... | gpl-3.0 |
ssadedin/seqr | static/admin/css/responsive_rtl.css | 1741 | /* TABLETS */
@media (max-width: 1024px) {
[dir="rtl"] .colMS {
margin-right: 0;
}
[dir="rtl"] #user-tools {
text-align: right;
}
[dir="rtl"] #changelist .actions label {
padding-left: 10px;
padding-right: 0;
}
[dir="rtl"] #changelist .actions select {
... | agpl-3.0 |
c1728p9/mbed-os | targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_eth.h | 102370 | /**
******************************************************************************
* @file stm32f1xx_hal_eth.h
* @author MCD Application Team
* @brief Header file of ETH HAL module.
******************************************************************************
* @attention
*
* <h2><center>© C... | apache-2.0 |
JREkiwi/sagetv | third_party/mplayer/libfaad2/mdct_tab.h | 248974 | /*
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.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 Softwar... | apache-2.0 |
Guavus/hbase | hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRandomRsAction.java | 1416 | /**
* 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 |
slaff/jerryscript | tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-003.js | 674 | // Copyright JS Foundation and other contributors, http://js.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 r... | apache-2.0 |
jsdosa/TizenRT | os/board/sidk_s5jt200/include/s5jt200_partitions.h | 6805 | /****************************************************************************
*
* Copyright 2016 Samsung Electronics 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... | apache-2.0 |
GlenRSmith/elasticsearch | plugins/examples/custom-settings/src/test/java/org/elasticsearch/example/customsettings/ExampleCustomSettingsConfigTests.java | 1583 | /*
* 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 |
GlenRSmith/elasticsearch | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/slm/action/package-info.java | 490 | /*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
/**
* Contains the action definitions for SLM. For the transport ... | apache-2.0 |
espadrine/opera | chromium/src/chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc | 4017 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/basictypes.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/sync/profile_sync_service_harness.h"
#include "chrome/bro... | bsd-3-clause |
ArcherSys/ArcherSys | vendor/sabre/vobject/tests/VObject/Recur/EventIterator/ExpandFloatingTimesTest.php | 2389 | <?php
namespace Sabre\VObject\Recur\EventIterator;
use DateTime;
use DateTimeZone;
use Sabre\VObject\Reader;
class ExpandFloatingTimesTest extends \PHPUnit_Framework_TestCase {
use \Sabre\VObject\PHPUnitAssertions;
function testExpand() {
$input = <<<ICS
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
UI... | mit |
pragkent/aliyun-disk | vendor/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/well_known_annotations.go | 913 | /*
Copyright 2017 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, ... | mit |
ichiohta/material-ui | src/svg-icons/places/rv-hookup.js | 534 | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesRvHookup = (props) => (
<SvgIcon {...props}>
<path d="M20 17v-6c0-1.1-.9-2-2-2H7V7l-3 3 3 3v-2h4v3H4v3c0 1.1.9 2 2 2h2c0 1.66 1.34 3 3 3s3-1.34 3-3h8v-2h-2zm-9 3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1... | mit |
DawidMyslak/native-vs-html5_android-performance | www/TakePhoto/touch/src/chart/series/Cartesian.js | 3929 | /**
* @abstract
* @class Ext.chart.series.Cartesian
* @extends Ext.chart.series.Series
*
* Common base class for series implementations which plot values using x/y coordinates.
*
* @constructor
*/
Ext.define('Ext.chart.series.Cartesian', {
extend: 'Ext.chart.series.Series',
config: {
/**
... | mit |
askreet/howiroll | vendor/src/github.com/awslabs/aws-sdk-go/service/cloudhsm/service.go | 1559 | package cloudhsm
import (
"github.com/awslabs/aws-sdk-go/aws"
"github.com/awslabs/aws-sdk-go/internal/protocol/jsonrpc"
"github.com/awslabs/aws-sdk-go/internal/signer/v4"
)
// CloudHSM is a client for CloudHSM.
type CloudHSM struct {
*aws.Service
}
// Used for custom service initialization logic
var initService ... | mit |
Originate/exosphere | vendor/github.com/moby/moby/cli/command/registry/search.go | 3550 | package registry
import (
"fmt"
"sort"
"strings"
"text/tabwriter"
"golang.org/x/net/context"
"github.com/docker/docker/api/types"
registrytypes "github.com/docker/docker/api/types/registry"
"github.com/docker/docker/cli"
"github.com/docker/docker/cli/command"
"github.com/docker/docker/opts"
"github.com/do... | mit |
mdxy2010/forlinux-ok6410 | u-boot15/include/dm.h | 192 | /*
* Copyright (c) 2013 Google, Inc
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _DM_H_
#define _DM_H_
#include <dm/device.h>
#include <dm/platdata.h>
#include <dm/uclass.h>
#endif
| gpl-2.0 |
Keldo/TrinityCore | src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp | 3723 | /*
* 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... | gpl-2.0 |
SinxOner/android_kernel_lge_p710 | drivers/usb/otg/msm_otg.c | 98604 | /* Copyright (c) 2009-2012, Code Aurora Forum. 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 ho... | gpl-2.0 |
trungdovan87/bongda69 | wp-content/plugins/loco-translate/lib/test/tests/ResolveFileDomainTest.php | 1625 | <?php
/**
* Test LocoAdmin::resolve_file_domain
*/
class ResolveFileDomainTest extends PHPUnit_Framework_TestCase {
public function testDomainOnlySeparatesFromFileExtension(){
$domain = LocoAdmin::resolve_file_domain( '/foo.pot' );
$this->assertEquals( 'foo', $domain );
}
p... | gpl-2.0 |
lojies/kubernetes | cmd/kubeadm/app/util/apiclient/init_dryrun.go | 6278 | /*
Copyright 2017 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, ... | apache-2.0 |
wseyler/pentaho-kettle | ui/src/main/java/org/pentaho/di/ui/spoon/SpoonPerspective.java | 3197 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | apache-2.0 |
kaviththiranga/developer-studio-cef-client | windows_64/include/base/cef_bind_helpers.h | 19694 | // Copyright (c) 2014 Marshall A. Greenblatt. Portions copyright (c) 2011
// Google 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 t... | apache-2.0 |
tjardo83/liquibase | liquibase-core/src/main/java/liquibase/change/core/supplier/RenameTableChangeSupplier.java | 1575 | package liquibase.change.core.supplier;
import liquibase.change.Change;
import liquibase.change.ColumnConfig;
import liquibase.change.core.CreateTableChange;
import liquibase.change.core.RenameTableChange;
import liquibase.diff.DiffResult;
import liquibase.sdk.supplier.change.AbstractChangeSupplier;
import liquibase.s... | apache-2.0 |
hvos234/raspberrypi.home.website | vendor/Adafruit_Python_DHT/source/Beaglebone_Black/bbb_dht_read.c | 5379 | // Copyright (c) 2014 Adafruit Industries
// Author: Tony DiCola
// 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, co... | bsd-3-clause |
scheib/chromium | third_party/blink/web_tests/external/wpt/css/css-transforms/animation/transform-interpolation-003.html | 3888 | <!DOCTYPE html>
<meta charset="UTF-8">
<title>transform interpolation</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms/#transform-property">
<meta name="assert" content="transform supports animation as a transform list">
<script src="/resources/testharness.js"></script>
<script src="/resources/te... | bsd-3-clause |
rperier/linux | drivers/interconnect/qcom/sc8180x.h | 6366 | /* SPDX-License-Identifier: GPL-2.0 */
/*
* Qualcomm #define SC8180X interconnect IDs
*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
*/
#ifndef __DRIVERS_INTERCONNECT_QCOM_SC8180X_H
#define __DRIVERS_INTERCONNECT_QCOM_SC8180X_H
#define SC8180X_MASTER_A1NOC_CFG 1
#define SC8180X_MASTER_UFS_CAR... | gpl-2.0 |
mkautzmann/mithril.js | docs/tools.md | 3542 | ## Tools
### HTML-to-Mithril Template Converter
If you already have your HTML written and want to convert it into a Mithril template, you can use the tool below for one-off manual conversion.
[Template Converter](tools/template-converter.html)
---
### Automatic HTML-to-Mithril Template Converter
There's a tool ca... | mit |
swgillespie/coreclr | src/inc/iceefilegen.h | 12518 | // 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.
/*****************************************************************************
** ... | mit |
xinchoubiology/gcc | libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc | 2726 | // Copyright (C) 2004-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | gpl-2.0 |
9034725985/vlc | src/misc/es_format.c | 18794 | /*****************************************************************************
* es_format.c : es_format_t helpers.
*****************************************************************************
* Copyright (C) 2008 VLC authors and VideoLAN
* $Id$
*
* Author: Laurent Aimar <fenrir@videolan.org>
*
* This program ... | gpl-2.0 |
TEMadsen/fieldtrip | external/spm2/spm_bwlabel.c | 11851 | /****************************************************************
**
** Set of routines implementing a 2D or 3D connected component
** labelling algorithm. Its interface is modelled on bwlabel
** (which is a routine in the image processing toolbox) and
** takes as input a binary image and (optionally) a connectedn... | gpl-2.0 |
alexsmander/alexmattorr | wp-content/themes/portfolio/node_modules/grunt-concat-sourcemap/test/concat_sourcemap_test.js | 5041 | 'use strict';
var grunt = require('grunt');
exports.concat_sourcemap = {
setUp: function(done) {
// setup here if necessary
done();
},
default_options: function(test) {
test.expect(2);
var actual = grunt.file.read('tmp/default_options.js');
var expected = grunt.file.read('test/expected/defa... | gpl-2.0 |
kadasaikumar/iotivity-1.2.1 | service/things-manager/sampleapp/linux/configuration/MaintenanceCollection.h | 2998 | //******************************************************************
//
// Copyright 2014 Samsung Electronics All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance... | gpl-3.0 |
andreaso/ansible | lib/ansible/modules/system/known_hosts.py | 12710 | #!/usr/bin/python
"""
Ansible module to manage the ssh known_hosts file.
Copyright(c) 2014, Matthew Vernon <mcv21@cam.ac.uk>
This module 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... | gpl-3.0 |
BradErz/kops | vendor/google.golang.org/api/logging/v1beta3/logging-gen.go | 174915 | // Package logging provides access to the Google Cloud Logging API.
//
// See https://cloud.google.com/logging/docs/
//
// Usage example:
//
// import "google.golang.org/api/logging/v1beta3"
// ...
// loggingService, err := logging.New(oauthHttpClient)
package logging // import "google.golang.org/api/logging/v1be... | apache-2.0 |
socaa/kubernetes | pkg/registry/thirdpartyresourcedata/codec_test.go | 5038 | /*
Copyright 2015 The Kubernetes 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 required by applicable law or ag... | apache-2.0 |
aaronzirbes/incubator-groovy | src/main/org/codehaus/groovy/ast/stmt/ReturnStatement.java | 2280 | /*
* 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")... | apache-2.0 |
Helena-High/school-app | node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.java | 4366 | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | apache-2.0 |
ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/MATGEN/dlaror.f | 9092 | *> \brief \b DLAROR
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE DLAROR( SIDE, INIT, M, N, A, LDA, ISEED, X, INFO )
*
* .. Scalar Arguments ..
* CHARACTER ... | bsd-3-clause |
zcbenz/cefode-chromium | third_party/mesa/MesaLib/src/gallium/drivers/i965/brw_draw.c | 7116 | /**************************************************************************
*
* Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Softwa... | bsd-3-clause |
sencha/chromium-spacewalk | ui/gfx/font_render_params.h | 3358 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_GFX_FONT_RENDER_PARAMS_H_
#define UI_GFX_FONT_RENDER_PARAMS_H_
#include <string>
#include <vector>
#include "ui/gfx/gfx_export.h"
namespace ... | bsd-3-clause |
charliehq/mongoid | lib/mongoid/validatable/uniqueness.rb | 10323 | # encoding: utf-8
module Mongoid
module Validatable
# Validates whether or not a field is unique against the documents in the
# database.
#
# @example Define the uniqueness validator.
#
# class Person
# include Mongoid::Document
# field :title
#
# validates_uniqu... | mit |
luoxiaoshenghustedu/actor-platform | actor-apps/runtime-js/src/main/java/im/actor/runtime/js/crypto/RsaKey.java | 393 | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
package im.actor.runtime.js.crypto;
import com.google.gwt.core.client.JavaScriptObject;
public class RsaKey extends JavaScriptObject {
protected RsaKey() {
}
public final native String getPrivateKey()/*-{ return this.privateKey; }-*/;
publ... | mit |
swgillespie/coreclr | src/mscorlib/src/System/Threading/ThreadStart.cs | 862 | // 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.
//
/*=============================================================================
**
**
**
** Purpose: This class i... | mit |
komejo/d8demo-dev | web/core/modules/migrate_drupal/src/Tests/Table/d7/FieldDataFieldInteger.php | 2545 | <?php
/**
* @file
* Contains \Drupal\migrate_drupal\Tests\Table\d7\FieldDataFieldInteger.
*
* THIS IS A GENERATED FILE. DO NOT EDIT.
*
* @see core/scripts/migrate-db.sh
* @see https://www.drupal.org/sandbox/benjy/2405029
*/
namespace Drupal\migrate_drupal\Tests\Table\d7;
use Drupal\migrate_drupal\Tests\Dump\... | mit |
cdmihai/msbuild | src/Samples/XmlFileLogger/ObjectModel/ItemGroup.cs | 909 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Build.Logging.StructuredLogger
{
/// <summary>
/// Class representation of a logged item group entry.
/// </summary>
internal class... | mit |
koct9i/linux | drivers/power/supply/axp288_fuel_gauge.c | 23206 | // SPDX-License-Identifier: GPL-2.0-only
/*
* axp288_fuel_gauge.c - Xpower AXP288 PMIC Fuel Gauge Driver
*
* Copyright (C) 2016-2017 Hans de Goede <hdegoede@redhat.com>
* Copyright (C) 2014 Intel Corporation
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#include <linux/dmi.h>... | gpl-2.0 |
Evervolv/android_kernel_htc_msm8974 | drivers/staging/rtl8192u/r8180_93cx6.c | 3214 | /*
This files contains card eeprom (93c46 or 93c56) programming routines,
memory is addressed by 16 bits words.
This is part of rtl8180 OpenSource driver.
Copyright (C) Andrea Merello 2004 <andreamrl@tiscali.it>
Released under the terms of GPL (General Public Licence)
Parts of this driver are based... | gpl-2.0 |
cipibad/openrtd_2012 | toolchain_mipsel/include/linux/hdlc.h | 6623 | /*
* Generic HDLC support routines for Linux
*
* Copyright (C) 1999-2003 Krzysztof Halasa <khc@pm.waw.pl>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
*/
#ifndef __HDL... | gpl-2.0 |
jameshilliard/m8-3.4.0-gb1fa77f | drivers/scsi/aic7xxx/aic7xxx_pci.c | 51214 | /*
* Product specific probe and attach routines for:
* 3940, 2940, aic7895, aic7890, aic7880,
* aic7870, aic7860 and aic7850 SCSI controllers
*
* Copyright (c) 1994-2001 Justin T. Gibbs.
* Copyright (c) 2000-2001 Adaptec Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, wi... | gpl-2.0 |
ghmajx/asuswrt-merlin | release/src-rt/linux/linux-2.6/drivers/infiniband/ulp/ipoib/ipoib_cm.c | 37955 | /*
* Copyright (c) 2006 Mellanox Technologies. All rights reserved
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this sour... | gpl-2.0 |
zhengsjembest/linux_am335x | linux-3.2.0-psp04.06.00.08.sdk/arch/arm/mach-omap2/prminst33xx.h | 1200 | /*
* AM33XX Power/Reset Management (PRM) function prototypes
*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.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 ve... | gpl-2.0 |
fwmiller/Conserver-Freescale-Linux-U-boot | rpm/BUILD/u-boot-2009.08/drivers/net/lan91c96.c | 22741 | /*------------------------------------------------------------------------
* lan91c96.c
* This is a driver for SMSC's LAN91C96 single-chip Ethernet device, based
* on the SMC91111 driver from U-boot.
*
* (C) Copyright 2002
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
* Rolf Offermanns <rof@sysgo.de>
*
* ... | gpl-2.0 |
tsammons/SMART-GH | android/scripts/deploy-maps.sh | 607 | # either plugin your device and copy the files via USB-detected-device or use the following method
# when starting an ssh server like sshdroid
URL=192.168.0.102
GH=/sdcard/graphhopper/maps/
# if you install sshdroid you can scp your files to your android device
# wget http://mapsforge.googlecode.com/files/berlin.map... | apache-2.0 |
AzureAutomationTeam/azure-powershell | src/StackAdmin/Resources/Commands.ResourceManager/Cmdlets/SdkModels/Deployments/PSResourceGroupDeployment.cs | 2004 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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.apa... | apache-2.0 |
esacosta/u-mooc | edu-courses/assets/js/activity-1.4.js | 3756 | // Copyright 2012 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 applicabl... | apache-2.0 |
DreamHill/flatbuffers | docs/html/md__go_usage.html | 8901 | <!-- HTML header for doxygen 1.8.6-->
<!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" conte... | apache-2.0 |
plantain-00/TypeScript | tests/baselines/reference/noImplicitReturnsWithoutReturnExpression.js | 820 | //// [noImplicitReturnsWithoutReturnExpression.ts]
function isMissingReturnExpression(): number {
return;
}
function isMissingReturnExpression2(): any {
return;
}
function isMissingReturnExpression3(): number|void {
return;
}
function isMissingReturnExpression4(): void {
return;
}
function isMissin... | apache-2.0 |
cdcabrera/spksrc | spk/lirc/src/dsm-control.sh | 4844 | #!/bin/sh
# Package
PACKAGE="lirc"
DNAME="LIRC"
# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
INSTALLER_SCRIPT=`dirname $0`/installer
PATH="${PATH}:${INSTALL_DIR}/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin"
DAEMON="${INSTALL_DIR}/sbin/lircd"
PID_FILE="${INSTALL_DIR}/var/lircd.pid"
CONF_FILE="${INSTALL_DIR}/etc/lir... | bsd-3-clause |
nwjs/chromium.src | third_party/blink/web_tests/external/wpt/css/CSS2/floats/overhanging-float-paint-order.html | 840 | <!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://drafts.csswg.org/css2/zindex.html">
<link rel="match" href="overhanging-float-paint-order-ref.html">
<style>
#first-container {
width: 100px;
height: 60px;
}
#red-first-float {
width:... | bsd-3-clause |
KitKatXperience/platform_external_chromium_org | sync/util/cryptographer.cc | 10916 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sync/util/cryptographer.h"
#include <algorithm>
#include "base/base64.h"
#include "base/basictypes.h"
#include "base/logging.h"
#include "... | bsd-3-clause |