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 |
|---|---|---|---|---|---|
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* Software dis... | MagnitudeCMS/magnitudecms | public/bespin/css/index.css | CSS | mit | 7,008 |
import {OverlayRef, GlobalPositionStrategy} from '../core';
import {AnimationEvent} from '@angular/animations';
import {DialogPosition} from './dialog-config';
import {Observable} from 'rxjs/Observable';
import {Subject} from 'rxjs/Subject';
import {MdDialogContainer} from './dialog-container';
import 'rxjs/add/operato... | trik/material2 | src/lib/dialog/dialog-ref.ts | TypeScript | mit | 2,903 |
//
import java.util.Comparator;
abc.sort(Comparator.naturalOrder());
//
| general-language-syntax/GLS | test/integration/ListSortStrings/list sort strings.java | Java | mit | 73 |
module RR
module Errors
class SpyVerificationError < RRError
end
end
end | priit/adva_cms | test/rr/lib/rr/errors/spy_verification_error.rb | Ruby | mit | 84 |
/*
LUFA Library
Copyright (C) Dean Camera, 2015.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2015 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... | ManCaveMade/QuarkOne-Bootloader | src/LUFA/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c | C | mit | 3,057 |
<?php
/**
* This file is part of PHPWord - A pure PHP library for reading and writing
* word processing documents.
*
* PHPWord is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright and license inf... | keithbox/AngularJS-CRUD-PHP | vendor/phpoffice/phpword/src/PhpWord/Element/AbstractContainer.php | PHP | mit | 11,930 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Test unit filtering</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.html" title="Boost.Test">
<link ... | TyRoXx/cdm | original_sources/boost_1_59_0/libs/test/doc/html/boost_test/runtime_config/test_unit_filtering.html | HTML | mit | 61,453 |
using OfficeDevPnP.MSGraphAPIDemo.Components;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using OfficeDevPnP.MSGraphAPIDemo.Models;
using System.Threading;
namespace OfficeDevPnP.MSGraphAPIDemo.Controllers
{
public ... | comblox/PnP | Samples/MicrosoftGraph.Office365.Generic/OfficeDevPnP.MSGraphAPIDemo/Controllers/FilesController.cs | C# | mit | 6,983 |
/* @flow */
/*eslint-disable no-undef, no-unused-vars, no-console*/
import _, {
compose,
pipe,
curry,
filter,
find,
isNil,
repeat,
replace,
zipWith
} from "ramda";
import { describe, it } from 'flow-typed-test';
const ns: Array<number> = [1, 2, 3, 4, 5];
const ss: Array<string> = ["one", "two", "thre... | flowtype/flow-typed | definitions/npm/ramda_v0.27.x/flow_v0.76.x-v0.103.x/test_ramda_v0.27.x_misc.js | JavaScript | mit | 2,464 |
"""
A directive for including a matplotlib plot in a Sphinx document.
By default, in HTML output, `plot` will include a .png file with a
link to a high-res .png and .pdf. In LaTeX output, it will include a
.pdf.
The source code for the plot may be included in one of three ways:
1. **A path to a source file** as t... | Solid-Mechanics/matplotlib-4-abaqus | matplotlib/sphinxext/plot_directive.py | Python | mit | 27,667 |
'use strict';
exports.up = function (knex) {
return knex.schema.createTable('migration_test_trx_1', function (t) {
t.increments();
t.string('name');
});
};
exports.down = function (knex) {
return knex.schema.dropTable('migration_test_trx_1');
};
| tgriesser/knex | test/integration/migrate/test_per_migration_trx_enabled/20131019235242_migration_1.js | JavaScript | mit | 262 |
#include <stdio.h>
#include <string.h>
int is_prime(char*);
int main() {
char input[11];
fgets(input, 11, stdin);
printf("%d", is_prime(input));
return 0;
}
int is_prime(char* input) {
int i, length, number = 0;
length = input[strlen(input) - 1] == '\n' ? strlen(input) - 1 : strlen(input);
for (i = 0; i... | ivanmilevtues/po-homework | 2015-2016/A/09/04/task1.c | C | mit | 670 |
/**
* @author mrdoob / http://mrdoob.com/
* @author bhouston / http://exocortex.com/
*/
( function ( THREE ) {
THREE.Raycaster = function ( origin, direction, near, far ) {
this.ray = new THREE.Ray( origin, direction );
// normalized ray.direction required for accurate distance calculations
if( this.ray.d... | DLar/three.js | src/core/Raycaster.js | JavaScript | mit | 5,607 |
module Facter::Util::Virtual
##
# virt_what is a delegating helper method intended to make it easier to stub
# the system call without affecting other calls to
# Facter::Util::Resolution.exec
def self.virt_what(command = "virt-what")
Facter::Util::Resolution.exec command
end
##
# lspci is a delegat... | phatpenguin/boxen-belgarion | .bundle/ruby/1.9.1/gems/librarian-puppet-0.9.8/vendor/gems/ruby/1.9.1/gems/facter-1.6.17/lib/facter/util/virtual.rb | Ruby | mit | 2,821 |
'use strict';
require('../../modules/es.weak-set');
require('../../modules/esnext.weak-set.from');
var WeakSet = require('../../internals/path').WeakSet;
var weakSetfrom = WeakSet.from;
module.exports = function from(source, mapFn, thisArg) {
return weakSetfrom.call(typeof this === 'function' ? this : WeakSet, sourc... | AntonyThorpe/knockout-apollo | tests/node_modules/core-js/features/weak-set/from.js | JavaScript | mit | 343 |
/** @babel */
/** @jsx etch.dom **/
import etch from 'etch';
export default class WelcomeView {
constructor(props) {
this.props = props;
etch.initialize(this);
this.element.addEventListener('click', event => {
const link = event.target.closest('a');
if (link && link.dataset.event) {
... | PKRoma/atom | packages/welcome/lib/welcome-view.js | JavaScript | mit | 7,386 |
---
title: Rule no-multi-spaces
layout: doc
---
<!-- Note: No pull requests accepted for this file. See README.md in the root directory for details. -->
# Disallow multiple spaces (no-multi-spaces)
(fixable) The `--fix` option on the [command line](../user-guide/command-line-interface#fix) automatically fixes problem... | eslint/eslint.github.io | docs/2.13.1/rules/no-multi-spaces.md | Markdown | mit | 3,774 |
/*
* Copyright (c) 2014-2015 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha.vnext
*
*/
using System;
using System.IO;
namespace Piranha.IO
{
/// <summary>
/// ... | mysticmind/Piranha.vNext | Core/Piranha/IO/IMedia.cs | C# | mit | 1,345 |
<?php
namespace PragmaRX\Tracker\Data\Repositories;
use PragmaRX\Tracker\Support\RefererParser;
class Referer extends Repository {
/**
* @var RefererParser
*/
private $refererParser;
/**
* @var
*/
private $currentUrl;
/**
* @var
*/
private $searchTermModel;
/**
* Crea... | ssv445/tracker | src/Data/Repositories/Referer.php | PHP | mit | 1,894 |
'use strict';
angular.module('sw.plugin.split', ['sw.plugins'])
.factory('split', function ($q) {
return {
execute: execute
};
function execute (url, swagger) {
var deferred = $q.defer();
if (swagger && swagger.swagger && !swagger.tags) {
... | darosh/angular-swagger-ui-material | src/plugins/before-parse/split.js | JavaScript | mit | 1,127 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine.Incrementals
{
public sealed class ProcessorStepInfo
{
/// <summary>
/// The name of processor step.... | DuncanmaMSFT/docfx | src/Microsoft.DocAsCode.Build.Engine/Incrementals/ProcessorStepInfo.cs | C# | mit | 1,123 |
/*-----------------------------------------------------------------------------------
/*
/* Main JS
/*
-----------------------------------------------------------------------------------*/
(function($) {
/*---------------------------------------------------- */
/* Preloader
----------------------------------... | wassapste97/sitomio | resources/js/main.js | JavaScript | mit | 8,220 |
//******************************************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WAR... | pradipd/WinObjC | tests/testapps/MinAppCppCx/MinAppCppCx/App.xaml.h | C | mit | 1,332 |
/**
* @license Highcharts Gantt JS v7.2.0 (2019-09-03)
*
* CurrentDateIndicator
*
* (c) 2010-2019 Lars A. V. Cabrera
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports... | extend1994/cdnjs | ajax/libs/highcharts/7.2.0/modules/current-date-indicator.src.js | JavaScript | mit | 4,598 |
export DJANGO_SETTINGS_MODULE=froide.settings
export DJANGO_CONFIGURATION=Test
export PYTHONWARNINGS=ignore
test:
flake8 --ignore=E501,E123,E124,E126,E127,E128,E402,E731 --exclude=south_migrations froide
coverage run --branch --source=froide manage.py test froide
coverage report --omit="*/south_migrations/*,*/migra... | LilithWittmann/froide | Makefile | Makefile | mit | 329 |
/******************************************************************************
*
* Module Name: dswscope - Scope stack manipulation
*
*****************************************************************************/
/******************************************************************************
*
* 1. Copyright No... | aclements/sv6 | kernel/acpica/source/components/dispatcher/dswscope.c | C | mit | 11,237 |
<?php
namespace Illuminate\Support;
use stdClass;
use Countable;
use Exception;
use ArrayAccess;
use Traversable;
use ArrayIterator;
use CachingIterator;
use JsonSerializable;
use IteratorAggregate;
use Illuminate\Support\Debug\Dumper;
use Illuminate\Support\Traits\Macroable;
use Illuminate\Contracts\Support\Jsonable... | poetimp/ltcsw | submissions/include/vendor/tightenco/collect/src/Illuminate/Support/Collection.php | PHP | mit | 42,804 |
// 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.
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... | sjsinju/coreclr | src/jit/block.h | C | mit | 53,937 |
// FBO.h
#pragma once
#if defined(_WIN32)
#include <windows.h>
#endif
#ifdef __APPLE__
#include <OpenGL/glu.h>
#else
#include <GL/glu.h>
#endif
struct FBO {
GLuint id, tex, depth;
GLuint w, h;
};
void allocateFBO(FBO&, int w, int h);
void deallocateFBO(FBO&);
void bindFBO(const FBO&, float fboScale=1.0... | jazztext/VRRayTracing | src/Util/GL/FBO.h | C | mit | 342 |
export interface StripeCardTokenParams {
/**
* Card number
*/
number: string;
/**
* Expiry month
*/
expMonth: number;
/**
* Expiry year
*/
expYear: number;
/**
* CVC / CVV
*/
cvc?: string;
/**
* Cardholder name
*/
... | Spect-AR/Spect-AR | node_modules/ionic-native/dist/esm/plugins/stripe.d.ts | TypeScript | mit | 1,924 |
require 'helper'
class TestRepeaterWeek < TestCase
def setup
@now = Time.local(2006, 8, 16, 14, 0, 0, 0)
end
def test_next_future
weeks = Chronic::RepeaterWeek.new(:week)
weeks.start = @now
next_week = weeks.next(:future)
assert_equal Time.local(2006, 8, 20), next_week.begin
assert_equ... | CraigCottingham/chronic | test/test_repeater_week.rb | Ruby | mit | 3,564 |
<?php
/**
* Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OC\User;
use OC\Hooks\PublicEmitter;
use OCP\IUserManager;
/**
* Class Manager
*
* Hooks available in scope \... | ACOKing/ArcherSys | owncloud-serv/lib/private/user/manager.php | PHP | mit | 7,534 |
var dep = require('./dep');
dep(''); | gsteacy/ts-loader | test/execution-tests/1.8.2_allowJs-entryFileIsJs/src/app.js | JavaScript | mit | 37 |
package org.multibit.hd.ui.views.wizards.appearance_settings;
import com.google.common.base.Optional;
import org.multibit.hd.ui.views.wizards.AbstractWizard;
import org.multibit.hd.ui.views.wizards.AbstractWizardPanelView;
import java.util.Map;
/**
* <p>Wizard to provide the following to UI for "appearance" wizard:... | oscarguindzberg/multibit-hd | mbhd-swing/src/main/java/org/multibit/hd/ui/views/wizards/appearance_settings/AppearanceSettingsWizard.java | Java | mit | 984 |
// TODO: This doesn't pass on android 64bit CI...
// Figure out why!
#![cfg(not(target_os = "android"))]
use mio::{Events, Poll, PollOpt, Ready, Token};
use mio::net::UdpSocket;
use bytes::{Buf, MutBuf, RingBuf, SliceBuf};
use std::str;
use std::net::IpAddr;
use localhost;
const LISTENER: Token = Token(0);
const SEND... | mneumann/mio | test/test_multicast.rs | Rust | mit | 3,438 |
/*
The MIT License
Copyright (c) 2012 by Jorrit Tyberghein
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... | LaughingSun/ares | src/aresed/models/modelrepository.h | C | mit | 3,419 |
---
layout: center
permalink: /404.html
---
# 404
Sorry, we can't seem to find this page's pixylls.
<div class="mt3">
<a href="{{ site.baseurl }}/" class="button button-blue button-big">Home</a>
<a href="{{ site.baseurl }}/about/" class="button button-blue button-big">About</a>
</div>
| peternewman/pidcodes.github.com | 404.md | Markdown | cc0-1.0 | 293 |
package scorex.network.peer
import java.net.InetSocketAddress
//todo: add optional nonce
case class PeerInfo(lastSeen: Long, nonce: Option[Long] = None, nodeName: Option[String] = None)
trait PeerDatabase {
def addOrUpdateKnownPeer(peer: InetSocketAddress, peerInfo: PeerInfo): Unit
def knownPeers(forSelf: Boole... | ConsensusResearch/Scorex-Lagonaki | scorex-basics/src/main/scala/scorex/network/peer/PeerDatabase.scala | Scala | cc0-1.0 | 510 |
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | aryantaheri/controller | opendaylight/netconf/config-netconf-connector/src/main/java/org/opendaylight/controller/netconf/confignetconfconnector/mapping/attributes/toxml/SimpleUnionAttributeWritingStrategy.java | Java | epl-1.0 | 1,436 |
/*******************************************************************************
* Copyright (c) 2006, 2009 David A Carlson
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is ava... | drbgfc/mdht | hl7/plugins/org.openhealthtools.mdht.emf.hl7.mif2/src/org/openhealthtools/mdht/emf/w3c/xhtml/internal/impl/CodeImpl.java | Java | epl-1.0 | 8,990 |
/*******************************************************************************
* Copyright (c) 2002, 2010 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distributio... | nikll/pty4j | native/openpty.c | C | epl-1.0 | 1,746 |
/*******************************************************************************
* Copyright (c) 2005-2010 VecTrace (Zingo Andersen) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | boa0332/mercurialeclipse | plugin/src/com/vectrace/MercurialEclipse/commands/RootlessHgCommand.java | Java | epl-1.0 | 1,464 |
#include "parser.h"
#include "test.h"
int main(int argc, char *argv[])
{
BOOL ret;
char *fname, *test;
int fd;
struct stat st;
io_struct ps;
if (argc < 3) {
printf("usage: vluke <structure> <file>\n");
exit(1);
}
test = argv[1];
fname = argv[2];
fd = open(fname,O_RDONLY);
if (fd == -1) {
perror(f... | ipwndev/DSLinux-Mirror | user/samba/source/aparser/vluke.c | C | gpl-2.0 | 851 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | smoke-test/src/test/java/org/opennms/smoketest/ChartsPageTest.java | Java | gpl-2.0 | 1,723 |
#ifndef TABLEDICT_H
#define TABLEDICT_H
#include <fcitx-utils/utf8.h>
#include <fcitx-config/fcitx-config.h>
#include <fcitx-config/hotkey.h>
#include <fcitx-utils/memory.h>
#define MAX_CODE_LENGTH 30
#define PHRASE_MAX_LENGTH 10
#define FH_MAX_LENGTH 10
#define TABLE_AUTO_SAVE_AFTER 1024
#define AUTO_PHRASE_COUNT ... | tectronics/fcitx | src/im/table/tabledict.h | C | gpl-2.0 | 5,676 |
<?php
/**
* @package gantry
* @subpackage core
* @version 3.2.12 October 30, 2011
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Gantry uses the Joomla Framework (http://www.... | worldwideinterweb/joomla-173 | libraries/gantry/core/gantrylayout.class.php | PHP | gpl-2.0 | 973 |
<?php
class WikiLeaksBridge extends BridgeAbstract {
const NAME = 'WikiLeaks';
const URI = 'https://wikileaks.org';
const DESCRIPTION = 'Returns the latest news or articles from WikiLeaks';
const MAINTAINER = 'logmanoriginal';
const PARAMETERS = array(
array(
'category' => array(
'name' => 'Category',
... | stupiddingo/boisewaldorf | web/UXsQTutSQY7w7u6s/bridges/WikiLeaksBridge.php | PHP | gpl-2.0 | 3,255 |
/*
* Copyright (c) 2011 Synaptics Incorporated
* Copyright (c) 2011 Unixphere
*
* 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 ... | kirilllavrov/android_kernel_huawei_s10101l | drivers/input/touchscreen/rmi4/rmi_spi.c | C | gpl-2.0 | 21,706 |
SUBROUTINE sla_DTPS2C (XI, ETA, RA, DEC, RAZ1, DECZ1,
: RAZ2, DECZ2, N)
*+
* - - - - - - -
* D T P S 2 C
* - - - - - - -
*
* From the tangent plane coordinates of a star of known RA,Dec,
* determine the RA,Dec of the tangent point.
*
* (double precision... | pscholz/presto | src/slalib/dtps2c.f | FORTRAN | gpl-2.0 | 3,552 |
/**
* @file DllLoader.cpp
* @author Minmin Gong
*
* @section DESCRIPTION
*
* This source file is part of KFL, a subproject of KlayGE
* For the latest info, see http://www.klayge.org
*
* @section LICENSE
*
* This program is free software; you can redistribute it and/or modify
* it under the terms... | qiankanglai/KlayGE | KFL/src/Kernel/DllLoader.cpp | C++ | gpl-2.0 | 2,405 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This file documents the GNU Assembler "as".
Copyright (C) 1991-2017 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Do... | BPI-SINOVOIP/BPI-Mainline-kernel | toolchains/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf/share/doc/as.html/Nios-II-Directives.html | HTML | gpl-2.0 | 6,940 |
ccflags-y += -I$(srctree)/drivers/misc/mediatek/thermal/fakeHeader/
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include/
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/spm_v1
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/cpuidle_v1/
ifeq ($(CONFIG_ARCH_MT6580),y)
ccflags-y +=... | Mysteryagr/Mystery-Kernel-3.18 | drivers/misc/mediatek/base/power/mt6580/Makefile | Makefile | gpl-2.0 | 1,271 |
/*
*
* This source code is part of
*
* G R O M A C S
*
* GROningen MAchine for Chemical Simulations
*
* VERSION 3.2.0
* Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
* Copyright (c) 1991-2000, University of G... | tectronics/force-distribution-analysis.gromacs-4-5-3 | src/mdlib/vsite.c | C | gpl-2.0 | 39,717 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Copyright (C) 2016 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:
//
// * Redistributions of source code must ret... | teamfx/openjfx-8u-dev-rt | modules/web/src/main/native/Source/WebCore/css/parser/CSSParserToken.h | C | gpl-2.0 | 5,915 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'magicline', 'it', {
title: 'Inserisci paragrafo qui'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/magicline/lang/it.js | JavaScript | gpl-2.0 | 247 |
/*
* Copyright (c) 2012 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | raj-bhatia/grooveip-ios-public | submodules/mswebrtc/webrtc/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.h | C | gpl-2.0 | 1,976 |
/* Copyright (c) 2009-2011, 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... | tenorntex/lhbalanced | drivers/usb/otg/msm72k_otg.c | C | gpl-2.0 | 74,497 |
/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.... | Remix99/MaNGOS | src/bindings/scriptdev2/scripts/outland/hellfire_citadel/hellfire_ramparts/instance_hellfire_ramparts.cpp | C++ | gpl-2.0 | 4,618 |
// { dg-require-namedlocale "fr_FR.ISO8859-15" }
// 2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001-2021 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 Gene... | Gurgel100/gcc | libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc | C++ | gpl-2.0 | 1,898 |
<?php
/*
V4.81 3 May 2006 (c) 2000-2006 John Lim. 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.
Set tabs to 4 for best viewing.
Latest version is available at http:/... | omerta/huayra | shared/class_folder/adodb/drivers/adodb-sybase.inc.php | PHP | gpl-2.0 | 12,524 |
/*
* am335x_evm.h
*
* 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 version 2.
*
* This program is distributed ... | luckyboy/uboot | u-boot-2013.10/include/configs/am335x_evm.h | C | gpl-2.0 | 13,487 |
/*
* Copyright (C) 2008-2014 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... | mynew6/blabblaba | src/server/scripts/Spells/spell_pet.cpp | C++ | gpl-2.0 | 70,765 |
/*
* linux/drivers/mmc/core/core.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
* Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
* MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved.
*
* This ... | SmithGitHu/linux | drivers/mmc/core/core.c | C | gpl-2.0 | 69,002 |
<?php
use Ctct\Util\CurlResponse;
use Ctct\Services\ListService;
use Ctct\Util\RestClient;
use Ctct\Components\Contacts\ContactList;
class ListServiceUnitTest extends PHPUnit_Framework_TestCase
{
private $restClient;
private $listService;
public function setUp()
{
$this->restClient = $this->g... | rafabrutaldrums/casamacario | wp-content/plugins/funciones_basicas_gafa1.2/php-sdk-development/test/Services/ListServiceUnitTest.php | PHP | gpl-2.0 | 7,252 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /home/qt/mkdist-qt-4.4.3-1222864207/qt-embedded-linux-opensource-src-4.4.3/doc/src/tutorials/tutorial.qdoc -->
<head>... | liuyanghejerry/qtextended | qtopiacore/qt/doc/html/tutorials-tutorial-t12.html | HTML | gpl-2.0 | 14,422 |
/*
Embedded CSS
Before moving to full version - check twice!
NO DUPLICATES
*/
#icon-wpcf {
background: url('../images/logo-32.png') no-repeat;
}
#icon-wpcf-access {
background: url('../images/access-icon-32x32.png') no-repeat;
}
#icon-wpcf-search {
background: url('../images/search_36x34.png') no-repeat;
... | noahjohn9259/emberrcom | wp-content/plugins/types/embedded/resources/css/basic.css | CSS | gpl-2.0 | 8,876 |
/*
* Jeremy Compostella <jeremy.compostella@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
... | Trim/qtmoko | devices/htcuniversal/src/plugins/qtopiacore/kbddrivers/htckeyboard/htckbdhandler.cpp | C++ | gpl-2.0 | 3,174 |
// SPDX-License-Identifier: GPL-2.0+
/*
* linux/fs/jbd2/commit.c
*
* Written by Stephen C. Tweedie <sct@redhat.com>, 1998
*
* Copyright 1998 Red Hat corp --- All Rights Reserved
*
* Journal commit routines for the generic filesystem journaling code;
* part of the ext2fs journaling system.
*/
#include <linux/t... | Fe-Pi/linux | fs/jbd2/commit.c | C | gpl-2.0 | 34,815 |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 4.3.2 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2006, EllisLab, Inc.
* @license http://codeigniter.co... | Calico90/codeigniter-version-scanner | CodeIgniter_1.6.1/CodeIgniter_1.6.1/system/codeigniter/Common.php | PHP | gpl-2.0 | 6,512 |
/* $Id: opencore_amr.h 4335 2013-01-29 08:09:15Z ming $ */
/*
* Copyright (C) 2011-2013 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2011 Dan Arrhenius <dan@keystream.se>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | ryanrdetzel/pjsip | pjmedia/include/pjmedia-codec/opencore_amr.h | C | gpl-2.0 | 4,131 |
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | repstd/modified_vlc | contrib/i586-mingw32msvc/include/qt4/src/gui/math3d/qmatrix4x4.h | C | gpl-2.0 | 33,082 |
<?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... | T0MM0R/magento | web/app/code/core/Mage/CatalogInventory/sql/cataloginventory_setup/mysql4-upgrade-0.7.2-0.7.3.php | PHP | gpl-2.0 | 1,249 |
/**********************************************************************
*
* Copyright (C) Imagination Technologies Ltd. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by... | nushor/samsung_aries_ics_OLD | drivers/gpu/pvr/pvr/module.c | C | gpl-2.0 | 17,128 |
/* driver/i2c/chip/tap6185.c
*
* TI rt5501 Speaker Amp
*
* Copyright (C) 2010 HTC Corporation
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This pr... | Buckmarble/Lunar_kernel_sense_m7 | drivers/i2c/chips/rt5501.c | C | gpl-2.0 | 30,535 |
<?php
/**
* Redux Framework 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
* any later version.
* Redux Framework is distributed in the hope that it will be useful,
*... | JulioKno/Portal-UNIVIM-2016 | wp-content/themes/sento/admin/main/inc/extensions/thinkup_section/thinkup_section/field_thinkup_section.php | PHP | gpl-2.0 | 2,177 |
"""
accounts.test_views
===================
Tests the REST API calls.
Add more specific social registration tests
"""
import responses
from django.core.urlresolvers import reverse
from django.core import mail
from django.contrib.sites.models import Site
from django.contrib.auth import get_user_model
... | JTarball/docker-django-polymer | docker/app/app/backend/apps/accounts/test_views.py | Python | gpl-2.0 | 42,275 |
/************************************************************************
* $Id: minibidi.c 6910 2006-11-18 15:10:48Z simon $
*
* ------------
* Description:
* ------------
* This is an implemention of Unicode's Bidirectional Algorithm
* (known as UAX #9).
*
* http://www.unicode.org/reports/tr9/
*
* Author... | hackpascal/line-is-not-emulator | src/puttyline/putty-0.60/minibidi.c | C | gpl-2.0 | 55,967 |
/*
This file is part of Jedi Academy.
Jedi Academy 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.
Jedi Academy is dist... | videoP/jaPRO | code/RMG/RM_Mission.h | C | gpl-2.0 | 4,633 |
/*
* xHCI host controller driver
*
* Copyright (C) 2008 Intel Corp.
*
* Author: Sarah Sharp
* Some code borrowed from the Linux EHCI driver.
*
* 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 Soft... | olear/R104 | drivers/usb/host/xhci-hub.c | C | gpl-2.0 | 32,288 |
/*
* Copyright (C) 2008-2010 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... | Archives/ro_core | src/server/scripts/Northrend/Gundrak/boss_drakkari_colossus.cpp | C++ | gpl-2.0 | 9,756 |
/******************************************************************************
** $Id$
**
** Copyright (C) 2006-2007 ascolab GmbH. All Rights Reserved.
** Web: http://www.ascolab.com
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** a... | RayHightower/wireshark | plugins/opcua/opcua_application_layer.c | C | gpl-2.0 | 3,905 |
/* Target-dependent code for SPARC.
Copyright (C) 2003-2016 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 ... | habemus-papadum/binutils-gdb | gdb/sparc-tdep.h | C | gpl-2.0 | 7,254 |
/*
* drivers/video/radeonfb.c
* framebuffer driver for ATI Radeon chipset video boards
*
* Copyright 2000 Ani Joshi <ajoshi@kernel.crashing.org>
*
*
* ChangeLog:
* 2000-08-03 initial version 0.0.1
* 2000-09-10 more bug fixes, public release 0.0.5
* 2001-02-19 mode bug fixes, 0.0.7
* 2001-07-05 fixed scrollin... | marcelo-duffles/linux-rat-2.6.10 | drivers/video/radeonfb.c | C | gpl-2.0 | 88,606 |
/*
* The Mana Server
* Copyright (C) 2006-2010 The Mana World Development Team
*
* This file is part of The Mana Server.
*
* The Mana Server 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; eithe... | mana/manaserv | src/utils/zlib.cpp | C++ | gpl-2.0 | 2,951 |
<?php
class InstallDocFormatterTest extends \MediaWikiUnitTestCase {
/**
* @covers InstallDocFormatter
* @dataProvider provideDocFormattingTests
*/
public function testFormat( $expected, $unformattedText, $message = '' ) {
$this->assertEquals(
$expected,
InstallDocFormatter::format( $unformattedText ),... | pierres/archlinux-mediawiki | tests/phpunit/unit/includes/installer/InstallDocFormatterTest.php | PHP | gpl-2.0 | 3,039 |
/*
* efs_fs_i.h
*
* Copyright (c) 1999 Al Smith
*
* Portions derived from IRIX header files (c) 1988 Silicon Graphics
*/
#ifndef __EFS_FS_I_H__
#define __EFS_FS_I_H__
typedef int32_t efs_block_t;
typedef uint32_t efs_ino_t;
#define EFS_DIRECTEXTENTS 12
/*
* layout of an extent, in memory and on disk. 8 byte... | z3bu/AH4222 | kernel/linux/include/linux/efs_fs_i.h | C | gpl-2.0 | 1,681 |
import React from "react";
import PropTypes from "prop-types";
import Box from "grommet/components/Box";
import Paragraph from "grommet/components/Paragraph";
import Label from "grommet/components/Label";
import FormLayer from "../components/FormLayer";
class LayerObjectFieldTemplate extends React.Component {
cons... | pamfilos/data.cern.ch | ui/cap-react/src/components/drafts/form/themes/grommet-preview/templates/LayerObjectFieldTemplate.js | JavaScript | gpl-2.0 | 1,677 |
/***************************************************************************
* Copyright (C) 2011 by Broadcom Corporation *
* Evan Hunter - ehunter@broadcom.com *
* *
* This pr... | yangshanjin/openOCD | src/rtos/rtos_embkernel_stackings.c | C | gpl-2.0 | 2,609 |
/*
* tkMacMenubutton.c --
*
* This file implements the Macintosh specific portion of the
* menubutton widget.
*
* Copyright (c) 1996 by Sun Microsystems, Inc.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $I... | AndresGG/sn-8.4 | tk/mac/tkMacMenubutton.c | C | gpl-2.0 | 9,411 |
/* Copyright (c) 2011-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... | Nico60/kernel_lge_hammerhead | drivers/gpu/msm/kgsl_iommu.c | C | gpl-2.0 | 61,701 |
// 20020717 gdr
// Copyright (C) 2002-2021 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 ... | Gurgel100/gcc | libstdc++-v3/testsuite/26_numerics/slice/1.cc | C++ | gpl-2.0 | 1,704 |
<!--
* Asterisk-GUI - an Asterisk configuration interface
*
* Set Date on the Digium Appliance - AA50
*
* Copyright (C) 2007-2008, Digium, Inc.
*
* Pari Nannapaneni <pari@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the... | wardmundy/asterisk-gui-2.0 | config/date.html | HTML | gpl-2.0 | 5,866 |
<?php
/**
* This file represents an example of the code that themes would use to register
* the required plugins.
*
* It is expected that theme authors would copy and paste this code into their
* functions.php file, and amend to suit.
*
* @package TGM-Plugin-Activation
* @subpackage Example
* @version 2.... | ucommerzdev3/activities_lwdwn | wp-content/themes/wpex-fashionista/functions/recommend-plugins.php | PHP | gpl-2.0 | 6,543 |
/*
* Copyright (c) International Business Machines Corp., 2006
* Copyright (c) Nokia Corporation, 2006, 2007
*
* 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 Licen... | carlos-wong/l430_kernel | drivers/mtd_bak/ubi/io.c | C | gpl-2.0 | 38,031 |
"""
This page is in the table of contents.
Plugin to home the tool at beginning of each layer.
The home manual page is at:
http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Home
==Operation==
The default 'Activate Home' checkbox is on. When it is on, the functions described below will work, when it is off, not... | makerbot/ReplicatorG | skein_engines/skeinforge-47/skeinforge_application/skeinforge_plugins/craft_plugins/home.py | Python | gpl-2.0 | 8,040 |
/*
* 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.
*/
#pragma once
#include "settings/dialogs/GUIDialogSettingsManualBase.h"
class CFileItem;
namespace PERIPHERALS
{
class CGUIDia... | xbmcin/XBMCinTC | xbmc/peripherals/dialogs/GUIDialogPeripheralSettings.h | C | gpl-2.0 | 1,174 |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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
... | Exitare/TrinityCore | src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp | C++ | gpl-2.0 | 3,997 |
make gio_rev03_defconfig
make
| psyke83/kernel_samsung_gio2europa | make_kernel_GT-S5660.sh | Shell | gpl-2.0 | 30 |
<?php
/**
* @package AkeebaBackup
*
* @license GNU General Public License, version 2 or later
* @author Nicholas K. Dionysopoulos
* @copyright Copyright 2006-2009 Nicholas K. Dionysopoulos
* @since 1.3
*/
defined('_JEXEC') or die();
/**
* Database Table filter Model class
*
*/
class AkeebaModelDbefs extends ... | dannysaban/store | administrator/components/com_akeeba/models/dbefs.php | PHP | gpl-2.0 | 9,104 |
<?php
/**
* File containing the MultipleObjectConverter class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version //autogentag//
*/
namespace eZ\Publish\Core\MVC\Legacy\Templating\C... | TestingCI/php_mysql_build | eZ/Publish/Core/MVC/Legacy/Templating/Converter/MultipleObjectConverter.php | PHP | gpl-2.0 | 1,109 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.