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 |
|---|---|---|---|---|---|
/*
* ModeShape (http://www.modeshape.org)
*
* 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 o... | phantomjinx/modeshape | modeshape-jcr/src/main/java/org/modeshape/jcr/CndImporter.java | Java | apache-2.0 | 38,876 |
/*=========================================================================
* Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* more patents listed at http://www.pivo... | ameybarve15/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/cache/client/internal/BridgeServerLoadMessage.java | Java | apache-2.0 | 3,146 |
package org.apache.flex.forks.velocity.runtime.parser.node;
/*
* Copyright 2000-2001,2004 The Apache Software 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
*
* ht... | adufilie/flex-sdk | modules/thirdparty/velocity/src/java/org/apache/flex/forks/velocity/runtime/parser/node/ASTIfStatement.java | Java | apache-2.0 | 3,272 |
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "Authenticator.h"
#include "MojangAPI.h"
#include "../Root.h"
#include "../Server.h"
#include "../ClientHandle.h"
#include "../IniFile.h"
#include "json/json.h"
#include "PolarSSL++/BlockingSslClientSocket.h"
... | electromatter/cuberite | src/Protocol/Authenticator.cpp | C++ | apache-2.0 | 6,721 |
/*
* 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.
*/
package org.elasticsearch.xpack.core.ml.job.config;
import org.ela... | ern/elasticsearch | x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfigTests.java | Java | apache-2.0 | 1,895 |
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This sphinx extension builds off of `sphinx.ext.autosummary` to
clean up some issues it presents in the Astropy docs.
The main issue this fixes is the summary tables getting cut off before the
end of the sentence in some cases.
Note: Sphinx 1.2 appea... | Jerryzcn/Mmani | doc/sphinxext/numpy_ext/astropyautosummary.py | Python | bsd-2-clause | 3,983 |
cask "4k-youtube-to-mp3" do
# NOTE: "3" is not a version number, but an intrinsic part of the product name
version "3.13.4.3950"
sha256 "f65487fbb371d39a444ff6c6dd4086184eba23ad17e0ac979817ff078378f33c"
url "https://dl.4kdownload.com/app/4kyoutubetomp3_#{version.major_minor_patch}.dmg"
appcast "https://www.4... | kingthorin/homebrew-cask | Casks/4k-youtube-to-mp3.rb | Ruby | bsd-2-clause | 510 |
//! Less used details of `CxxVector` are exposed in this module. `CxxVector`
//! itself is exposed at the crate root.
use crate::extern_type::ExternType;
use crate::kind::Trivial;
use crate::string::CxxString;
use core::ffi::c_void;
use core::fmt::{self, Debug};
use core::iter::FusedIterator;
use core::marker::{Phanto... | scheib/chromium | third_party/rust/cxx/v1/crate/src/cxx_vector.rs | Rust | bsd-3-clause | 16,960 |
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
line-height: 0;
content: "";
}
.clearfix:after {
clear: both;
}
.hide-text {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.inp... | samija/Deeplifefinal | public/app/css/plugins/datapicker/angular-datapicker.css | CSS | bsd-3-clause | 6,439 |
// 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.
#include "remoting/client/plugin/touch_input_scaler.h"
#include "base/logging.h"
#include "remoting/proto/event.pb.h"
namespace remoting {
using protoc... | PeterWangIntel/chromium-crosswalk | remoting/client/plugin/touch_input_scaler.cc | C++ | bsd-3-clause | 3,176 |
/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2010, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/*******************************************************... | wangscript/libjingle-1 | trunk/third_party/icu/source/test/cintltst/creststn.c | C | bsd-3-clause | 119,467 |
<!DOCTYPE html>
<html>
<head>
<style>
#container, #container2 {
height: 100px;
width: 100px;
margin: 10px 0;
perspective: 1000px;
}
#container.transformed, #container2.transformed {
transform: translateX(0);
}
.box {
margin-bottom: 5px;
height: ... | scheib/chromium | third_party/blink/manual_tests/compositing/requires-backing-change.html | HTML | bsd-3-clause | 1,054 |
=head1 foobar-lib.pl
Functions for the Foobar Web Server. This is an example Webmin module for a
simple fictional webserver.
=cut
use WebminCore;
init_config();
=head2 list_foobar_websites()
Returns a list of all websites served by the Foobar webserver, as hash
references with C<domain> and C<directory> keys.
=cu... | BangL/webmin | foobar/foobar-lib.pl | Perl | bsd-3-clause | 1,949 |
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE PolyKinds #-}
module Bug where
import Data.Kind
type HRank1 ty = forall k1. k1 -> ty
type HRank2 ty = forall k2. k2 -> ty
data HREFL11 :: HRank1 (HRank1 Type) -- FAILS
data HREFL12 :: HRank1 (HRank2 Type)
data HREFL21 :: HRank2 (HRank1 Type)
data HR... | sdiehl/ghc | testsuite/tests/polykinds/T14515.hs | Haskell | bsd-3-clause | 359 |
""" Python Character Mapping Codec cp437 generated from 'VENDORS/MICSFT/PC/CP437.TXT' with gencodec.py.
"""#"
import codecs
### Codec APIs
class Codec(codecs.Codec):
def encode(self,input,errors='strict'):
return codecs.charmap_encode(input,errors,encoding_map)
def decode(self,input,errors='strict... | Microvellum/Fluid-Designer | win64-vc/2.78/python/lib/encodings/cp437.py | Python | gpl-3.0 | 34,564 |
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. 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 LI... | taoguan/WinObjC | include/Platform/Universal Windows/UWP/WindowsApplicationModelExtendedExecutionForeground.h | C | mit | 3,694 |
// Type definitions for React Router 4.0
// Project: https://github.com/ReactTraining/react-router
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Huy Nguyen <https://github.com/huy-nguyen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
... | abbasmhd/DefinitelyTyped | types/react-router-dom/index.d.ts | TypeScript | mit | 2,282 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Microsoft.Research/Contracts/System.Web/Sources/System.Web.UI.WebControls.DetailsViewRowCollection.cs | C# | mit | 3,130 |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export const $COMPILE = '$compile';
export const $CONTROLLER = '$controller';
export const $DELEGATE = '$delegate';
e... | mgechev/angular | packages/upgrade/src/common/src/constants.ts | TypeScript | mit | 1,403 |
{% extends "base.html" %}
{% load url from future %}
{% block title %} PCAP Detail {% endblock %}
{% block content %}
<script>
var pcap_md5 = "{{ pcap.md5 }}";
</script>
{% if pcap %}
<div id="tabnav" class="tabnav" style="font-size:90%;">
<ul style="font-size: 125%;">
<li><a href="#details_section" id=... | HardlyHaki/crits | crits/pcaps/templates/pcap_detail.html | HTML | mit | 4,462 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Microsoft.Research/Contracts/System.Web/Sources/System.Web.UI.WebControls.SiteMapNodeItemEventArgs.cs | C# | mit | 2,391 |
---
layout: null
---
nav ul {
list-style-type: none;
margin: 2px 1em 2px 1em;
padding: 2px 1em 2px 1em;
}
nav ul li {
display: inline;
font-family: sans-serif;
font-weight: bold;
font-size: 16px;
background-color: rgb(249,249,249);
border-bottom-color: rgb(221, 221, 221)... | ucsb-cs16-s17/ucsb-cs16-s17.github.io | handout.css | CSS | mit | 656 |
using NUnit.Framework;
using RefactoringEssentials.CSharp.Diagnostics;
namespace RefactoringEssentials.Tests.CSharp.Diagnostics
{
[TestFixture]
public class ReplaceWithOfTypeLongCountTests : CSharpDiagnosticTestBase
{
[Test]
public void TestCaseBasic()
{
Analyze<ReplaceW... | RemcovandenBerg/RefactoringEssentials | Tests/CSharp/Diagnostics/ReplaceWithOfTypeLongCountTests.cs | C# | mit | 1,883 |
//---------------------------------------------------------------------
// <copyright file="Northwind.NamedStreamPartial.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataServices/Models/northwind/Northwind.NamedStreamPartial.cs | C# | mit | 973 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.ServiceModel.Channels
{
public abstract class MessageEncodingBindingElement : BindingElement
{
protected MessageEncodingBindingElement(... | banre123/wcf | src/System.Private.ServiceModel/src/System/ServiceModel/Channels/MessageEncodingBindingElement.cs | C# | mit | 2,483 |
--------------------------------
-- @module ParticleRain
-- @extend ParticleSystemQuad
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ParticleRain] create
-- @param self
-- @return ParticleRain#ParticleRain ret (return value: cc.ParticleRain)
--------------------------------... | tangyiyang/v3quick-classic | quick/lib/lua_bindings/auto/api/ParticleRain.lua | Lua | mit | 528 |
// (C) Copyright John Maddock 2006.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org for most recent version.
// GCC-XML C++ compiler setu... | nginnever/zogminer | tests/deps/boost/config/compiler/gcc_xml.hpp | C++ | mit | 3,527 |
---
author: jhumphries
comments: true
date: 2013-09-25 21:19:51+00:00
layout: post
redirect_from: /2013/09/summer-hiring-happened-so-fast
slug: summer-hiring-happened-so-fast
title: Summer Hiring, Happened So Fast
wordpress_id: 14123
tags:
- company
- announcement
---
We've been busy! So busy, in fact, that this post ... | selfcommit/stack-blog | _posts/2013-09-25-summer-hiring-happened-so-fast.markdown | Markdown | mit | 9,285 |
<?php
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
use Symfony\Component\DependencyInjection\Except... | hacfi/symfony | src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_public.php | PHP | mit | 5,889 |
# :stopdoc:
#
# Loggers exist in a hierarchical relationship defined by their names. Each
# logger has a parent (except for the root logger). A logger can zero or
# more children. This parent/child relationship is determined by the Ruby
# namespace separator '::'.
#
# root
# |-- Foo
# | |-- Foo::Bar
# | `--... | goncalossilva/alfred2-android_sdk_reference_search-workflow | workflow/bundle/ruby/2.0.0/gems/logging-1.8.1/examples/hierarchies.rb | Ruby | mit | 2,418 |
/*
* Copyright 2008 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0
*/
#include <common.h>
#include <fsl_ddr_sdram.h>
#include <fsl_ddr_dimm_params.h>
void fsl_ddr_board_options(memctl_options_t *popts,
dimm_params_t *pdimm,
unsigned int ctrl_num)
{
/*
* Factors to consider for cloc... | guileschool/beagleboard | u-boot/board/socrates/ddr.c | C | mit | 1,056 |
<div
class="topbar-container"
ng-include="'views/includes/topbar.html'"
ng-init="titleSection='Preferences'; goBackToState = 'glidera'; noColor = true">
</div>
<div class="content preferences" ng-controller="preferencesGlideraController as glidera">
<ul ng-if="index.glideraToken" class="no-bullet m0">
<h4... | mpolci/copay | public/views/preferencesGlidera.html | HTML | mit | 6,697 |
// Type definitions for csso 3.5
// Project: https://github.com/css/csso
// Definitions by: Christian Rackerseder <https://github.com/screendriver>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
declare namespace csso {
interface Result {
/**
* Result... | AgentME/DefinitelyTyped | types/csso/index.d.ts | TypeScript | mit | 3,167 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Microsoft.Research/Contracts/MsCorlib/Sources/System.Runtime.Serialization.SerializationEntry.cs | C# | mit | 2,424 |
module.exports={A:{A:{"2":"J C G E B A UB"},B:{"1":"X g H L","2":"D"},C:{"1":"0 1 4 5 V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s","2":"2 SB F I J C G E B A D X g H L M N O P Q R S T U QB PB"},D:{"1":"0 1 4 5 8 i j k l m n o p q r w x v z t s EB BB TB CB","2":"F I J C G E B A D X g H L M N O P Q R S T U V... | redq81/redq81.github.io | test/node_modules/caniuse-lite/data/features/es6-generators.js | JavaScript | mit | 780 |
// 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.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Contracts... | Petermarcu/corefx | src/System.IO.FileSystem/src/System/IO/File.cs | C# | mit | 44,103 |
// Copyright (c) 2013 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 CONTENT_SHELL_SHELL_DEVTOOLS_FRONTEND_H_
#define CONTENT_SHELL_SHELL_DEVTOOLS_FRONTEND_H_
#include "base/basictypes.h"
#include "base/compile... | llaraujo/node-webkit | src/shell_devtools_frontend.h | C | mit | 1,801 |
using Ploeh.AutoFixture.NUnit2;
namespace Ploeh.AutoFixture.NUnit2.Addins.UnitTest
{
public class FakeAutoDataFixture
{
[AutoData]
public void DoSomething(int number)
{
}
}
} | yuva2achieve/AutoFixture | Src/AutoFixture.NUnit2.Addins.UnitTest/FakeAutoDataFixture.cs | C# | mit | 219 |
#!/bin/bash
cd $SRC_DIR
mkdir -p lib
cp -r $PREFIX/include/* src/
cp -r $PREFIX/lib/* lib/
cp $PREFIX/lib/libBigWig.a lib/
make
cp lib/libwiggletools.a $PREFIX/lib/
cp inc/wiggletools.h $PREFIX/include/
cp bin/wiggletools $PREFIX/bin/
| jerowe/bioconda-recipes | recipes/wiggletools/build.sh | Shell | mit | 236 |
#include <StdAfxUnitTests.h>
#include <CppUnitTests\CppUnitTests.h>
int main( int argc, char* argv[] )
{
AppSecInc::Com::CCoInitialize coinit;
CppUnitTestRunner runner;
return runner.Run(argc, argv);
}
| dblock/msiext | src/Framework/Msi/MsiUnitTests.cpp | C++ | epl-1.0 | 215 |
/**
* Copyright (c) 2010-2017 by the respective copyright holders.
*
* 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
*/... | Stratehm/openhab2 | addons/binding/org.openhab.binding.regoheatpump/src/main/java/org/openhab/binding/regoheatpump/handler/IpRego6xxHeatPumpHandler.java | Java | epl-1.0 | 1,297 |
/*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright © 2020 Keith Packard
*
* 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... | travisg/newlib | newlib/libm/machine/arm/s_fma_arm.c | C | gpl-2.0 | 1,809 |
/*
* Copyright (C) 2012 LG Electronics
*
* 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.
*/
#ifndef __MAX17050_BATTERY_H_
#define __MAX17050_BATTERY_H_
#define MAX17050_STATUS... | KAsp3rd/android_kernel_lge_msm8992 | include/linux/power/max17050_battery.h | C | gpl-2.0 | 4,683 |
<?php
if (strtolower(trim($type)) == 'icon') {
$place_holder = '<i class="' . $icon . '"></i>';
}
if (strtolower(trim($type)) == 'img') {
$place_holder = '<img alt="" src="' . $image . '">';
}
if($link!=""){
$place_holder ="<a href=".$link.">".$place_holder."</a>";
}
?>
<div class="text-center <?... | aklepner/bambam | sites/all/themes/richer/templates/shortcode/shortcode--box--custom.tpl.php | PHP | gpl-2.0 | 706 |
/****************************************************************************
*
* Copyright (c) 2007-2008 Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU Gener... | mohammad92/GT-S5360_Kernel_GB_Opensource_Update4 | modules/drivers/char/brcm/fuse_ril/CAPI2_CIB/modem/public/lcs_ftt_api.h | C | gpl-2.0 | 3,741 |
/*
* Copyright (C) 2010 HTC, Inc.
*
* 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 program is distributed in the hope that it will be useful,
* but... | mstfkaratas/kernel_htc_msm7227 | arch/arm/mach-msm/include/mach/htc_usb.h | C | gpl-2.0 | 8,486 |
MACHINE=
SCRIPT_NAME=elfm68hc11
OUTPUT_FORMAT="elf32-m68hc11"
ROM_START_ADDR=0x08000
ROM_SIZE=0x8000
RAM_START_ADDR=0x01100
RAM_SIZE=0x6F00
EEPROM_START_ADDR=0xb600
EEPROM_SIZE=512
TEXT_MEMORY=text
DATA_MEMORY=data
EEPROM_MEMORY=eeprom
ARCH=m68hc11
MAXPAGESIZE=32
EMBEDDED=yes
GENERIC_BOARD=no
TEMPLATE_NAME=elf
EXTRA_EM... | mattstock/binutils-bexkat1 | ld/emulparams/m68hc11elf.sh | Shell | gpl-2.0 | 337 |
<?php
/**
* @file
* Definition of Drupal\shortcut\Tests\ShortcutTestBase.
*/
namespace Drupal\shortcut\Tests;
use Drupal\shortcut\Entity\Shortcut;
use Drupal\shortcut\Entity\ShortcutSet;
use Drupal\shortcut\ShortcutSetInterface;
use Drupal\simpletest\WebTestBase;
/**
* Defines base class for shortcut test cases... | webflo/d8-core | modules/shortcut/src/Tests/ShortcutTestBase.php | PHP | gpl-2.0 | 3,612 |
/*
* Block driver for media (i.e., flash cards)
*
* Copyright 2002 Hewlett-Packard Company
* Copyright 2005-2008 Pierre Ossman
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived works.
*
* HEWLETT-PACKARD COMPANY MAK... | prasidh09/cse506 | unionfs-3.10.y/drivers/mmc/card/block.c | C | gpl-2.0 | 63,254 |
/*----------------------------------------------------------------------
T H E C A R M E L 2 M A I L F I L E D R I V E R
Author(s): Laurence Lundblade
Baha'i World Centre
Data Processing
Haifa, Israel
Internet: lgl@cac.washington.edu or laurence@bwc.org
... | emeryberger/DieHard | src/archipelago/benchmarks/pine4.64/contrib/carmel/c-client/carmel2.h | C | gpl-2.0 | 6,981 |
/** @file
Load Pe32 Image protocol enables loading and unloading EFI images into memory and executing those images.
This protocol uses File Device Path to get an EFI image.
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made avai... | eaas-framework/virtualbox | src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Protocol/LoadPe32Image.h | C | gpl-2.0 | 4,699 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari
*
* 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 Founda... | bvamanan/ns3 | src/lte/model/lte-ue-net-device.cc | C++ | gpl-2.0 | 4,795 |
/*
* core.c -- Voltage/Current Regulator framework.
*
* Copyright 2007, 2008 Wolfson Microelectronics PLC.
* Copyright 2008 SlimLogic Ltd.
*
* Author: Liam Girdwood <lrg@slimlogic.co.uk>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Pub... | NStep/nx_bullhead | drivers/regulator/core.c | C | gpl-2.0 | 115,217 |
CREATE TABLE imc_rooms (
id INTEGER PRIMARY KEY NOT NULL,
name VARCHAR(64) NOT NULL,
domain VARCHAR(64) NOT NULL,
flag INTEGER NOT NULL,
CONSTRAINT imc_rooms_name_domain_idx UNIQUE (name, domain)
);
INSERT INTO version (table_name, table_version) values ('imc_rooms','1');
CREATE TABLE imc_members ... | vingarzan/kamailio | utils/kamctl/db_sqlite/imc-create.sql | SQL | gpl-2.0 | 642 |
/*
* linux/kernel/posix-timers.c
*
*
* 2002-10-15 Posix Clocks & timers
* by George Anzinger george@mvista.com
*
* Copyright (C) 2002 2003 by MontaVista Software.
*
* 2004-06-01 Fix CLOCK_REALTIME clock/timer TIMER_ABSTIME bug.
* Copyright (C) 2004 Boris Hu
*
* This... | clearwater/chumby-linux | kernel/posix-timers.c | C | gpl-2.0 | 28,808 |
<?php
/**
* File containing the StreamTest 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\REST\Client\Tests\HttpClient;
u... | flovntp/BikeTutorialWebsite | vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Client/Tests/HttpClient/StreamTest.php | PHP | gpl-2.0 | 2,354 |
/*
* wprobe-core.c: Wireless probe interface core
* Copyright (C) 2008-2009 Felix Fietkau <nbd@openwrt.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 Lic... | blue-cloud/openwrt-20150705 | package/net/wprobe/src/kernel/wprobe-core.c | C | gpl-2.0 | 27,301 |
// rTorrent - BitTorrent client
// Copyright (C) 2005-2011, Jari Sundell
//
// 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... | jurnho/rtorrent | src/display/manager.cc | C++ | gpl-2.0 | 3,475 |
/**
* core.h - DesignWare USB3 DRD Core Header
*
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com
*
* Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de>
*
* Redistribution and use in source and binary forms, with or without
* modification, ... | GuneetAtwal/kernel_g900f | drivers/usb/dwc3/core.h | C | gpl-2.0 | 29,181 |
/*
* Driver for RNDIS based wireless USB devices.
*
* Copyright (C) 2007 by Bjorge Dijkstra <bjd@jooz.net>
* Copyright (C) 2008-2009 by Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | freexperia/android_kernel_sony_tegra | net/compat-wireless/drivers/net/wireless/rndis_wlan.c | C | gpl-2.0 | 104,016 |
<?php
/**
* File containing the user Provider 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\Symfony\Security\User;
us... | flovntp/BikeTutorialWebsite | vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Security/User/Provider.php | PHP | gpl-2.0 | 4,333 |
#include <math.h>
#include "mex.h"
#include "matrix.h"
#include "geometry.h"
void
mexFunction (int nlhs, mxArray * plhs[], int nrhs, const mxArray * prhs[])
{
char str[256];
mxArray *proj, *dist;
double *l1, *l2, *r, *proj_p, *dist_p;
int flag;
if (nrhs <3 || nrhs>4)
mexErrMsgTxt ("Invalid number of inp... | tntdynamight/fieldtrip | src/plinproj.c | C | gpl-2.0 | 1,130 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
( function() {
CKEDITOR.plugins.add( 'templates', {
requires: 'dialog',
// jscs:disable maximumLineLength
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,de-ch,el... | SeeyaSia/www | web/libraries/ckeditor/plugins/templates/plugin.js | JavaScript | gpl-2.0 | 2,656 |
<html>
<head>
<title>Www.CuteQq.Cn</title>
</head>
<body>
<NOSCRIPT>
</NOSCRIPT>
<script>
Qq_784378237="";
Qq_784378237+="%0E%5BM%0F%09%07l3%0FF%0C%16YT%0E%22%13D%04GC%16t%0B%16bB%15%18%7D%1DF";
Qq_784378237+="%5E%5CP%16D%05NMZF%09%07%0B%3C%3A%5D%04_%05O%0C5%3DYYPX%03%5BLE_V%0E%1";
Qq_784378237+="B%12%15ZC%19P%5E%04%11... | buffer/thug | tests/samples/exploits/Pps.html | HTML | gpl-2.0 | 15,333 |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include <asm/setup.h>
#include <mach/iomap.h>
#include <mach/irqs.h>
#include <mach/nvrm_linux.h>
#include <linux/gpio.h>
#inclu... | photon-dev-team/ics_atrix | arch/arm/mach-tegra/board-mot-lights.c | C | gpl-2.0 | 4,589 |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/**
* 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 und... | md-5/jdk10 | src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/keys/content/MgmtData.java | Java | gpl-2.0 | 2,044 |
/*
* Copyright (C) 2011-2014 MediaTek Inc.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRAN... | eagleeyetom/android_kernel_mediatek | drivers/misc/mediatek/imgsensor/mt9v115_yuv/mt9v115yuv_Sensor.c | C | gpl-2.0 | 48,216 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Class: TileSprite</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<link type="text/css" rel="st... | imaginabit/memory | src/bower_components/phaser-official/docs/Phaser.TileSprite.html | HTML | gpl-2.0 | 68,994 |
/*
* Copyright (C) 2008-2016 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... | RaelZero/TrinityCore | src/server/game/Chat/ChatLink.cpp | C++ | gpl-2.0 | 26,471 |
<html lang="en">
<head>
<title>VxWorks Attach - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="VxWorks.html#Vx... | byeonggonlee/lynx-ns-gb | toolchain/share/doc/arm-arm-none-eabi/html/gdb/VxWorks-Attach.html | HTML | gpl-2.0 | 2,654 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
</HEAD>
<BODY>
<H1>My OpenOffice en-region3</H1>
</BODY>
</HTML>
| sbbic/core | desktop/test/deployment/update/publisher/publisher_en-region3.html | HTML | gpl-3.0 | 144 |
/******************************************************************************
* Compilation: javac Quick3way.java
* Execution: java Quick3way < input.txt
* Dependencies: StdOut.java StdIn.java
* Data files: http://algs4.cs.princeton.edu/23quicksort/tiny.txt
* http://algs4.cs.princeton.ed... | nkhuyu/algs4 | src/main/java/edu/princeton/cs/algs4/Quick3way.java | Java | gpl-3.0 | 4,962 |
-----------------------------------------
-- ID: 5233
-- Item: cube_of_cotton_tofu
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health % 10
-- Health Cap 30
-- Magic % 10
-- Magic Cap 30
-----------------------------------------
require("scripts/globals/status");
----------------------... | UnknownX7/darkstar | scripts/globals/items/cube_of_cotton_tofu.lua | Lua | gpl-3.0 | 1,417 |
/*
* Copyright (c) 2003-2012 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file ex... | LubosD/darling | platform-include/sys/_types/_timeval.h | C | gpl-3.0 | 1,562 |
#ifndef HEADER_CURL_AMIGAOS_H
#define HEADER_CURL_AMIGAOS_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* |... | multitheftauto/mtasa-blue | vendor/curl/lib/amigaos.h | C | gpl-3.0 | 1,465 |
module.exports = {
'rules': {
// enforce spacing inside array brackets
'array-bracket-spacing': [2, 'never'],
// enforce spacing inside single-line blocks
// http://eslint.org/docs/rules/block-spacing
'block-spacing': [2, 'always'],
// enforce one true brace style
'brace-style': [2, '1tbs'... | ichbinder/homeapp | node_modules/eslint-config-airbnb-base/rules/style.js | JavaScript | gpl-3.0 | 6,936 |
/*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is distributed in the... | EarthDollar/farmer | libweb3core/libdevcrypto/WordList.h | C | gpl-3.0 | 844 |
# (c)2016 Andrew Zenk <azenk@umn.edu>
#
# 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.
#
# ... | roadmapper/ansible | test/units/plugins/lookup/test_lastpass.py | Python | gpl-3.0 | 6,829 |
-----------------------------------
-- Area: Rolanberry Fields
-- MOB: Poison Leech
-----------------------------------
require("/scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer)
checkRegim... | will4wachter/Project1 | scripts/zones/Rolanberry_Fields/mobs/Poison_Leech.lua | Lua | gpl-3.0 | 348 |
-- ========================================================================
-- Copyright (C) 2018 Laurent Destailleur <eldy@users.sourceforge.net>
--
--
-- 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 Softw... | All-3kcis/dolibarr | htdocs/install/mysql/tables/llx_c_type_container.sql | SQL | gpl-3.0 | 1,541 |
(function () {
var nonbreaking = (function () {
'use strict';
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
var stringRepeat = function (string, repeats) {
var str = '';
for (var index = 0; index < repeats; index++) {
str += string;
}
return str;
};
var isVisualChar... | jbaiter/demetsiiify | static/vendor/mirador/plugins/nonbreaking/plugin.js | JavaScript | agpl-3.0 | 2,448 |
"""
Tests for course_info
"""
from django.test.utils import override_settings
from django.core.urlresolvers import reverse
from rest_framework.test import APITestCase
from xmodule.modulestore.tests.factories import CourseFactory
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
from courseware.test... | c0710204/edx-platform | lms/djangoapps/mobile_api/course_info/tests.py | Python | agpl-3.0 | 1,679 |
Karelys Rangel "22664029"
| ULAnux/mathematica | guias/guia-induccion-maxima/README.md | Markdown | agpl-3.0 | 26 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | jblievremont/sonarqube | server/sonar-server/src/main/java/org/sonar/server/qualitygate/ws/SelectAction.java | Java | lgpl-3.0 | 2,158 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | abbeyj/sonarqube | sonar-plugin-api/src/test/java/org/sonar/api/measures/AverageFormulaTest.java | Java | lgpl-3.0 | 8,437 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | abbeyj/sonarqube | sonar-batch/src/main/java/org/sonar/batch/deprecated/perspectives/BatchPerspectives.java | Java | lgpl-3.0 | 2,944 |
/*-------------------------------------------------------------------------
*
* catcache.c
* System catalog cache for tuples matching a key.
*
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
*... | lavjain/incubator-hawq | src/backend/utils/cache/catcache.c | C | apache-2.0 | 45,289 |
function main()
{
// Get the store reference
var store = url.templateArgs.store_type + "://" + url.templateArgs.store_id;
// Get the details of the tag
if (json.has("name") == false || json.get("name").length == 0)
{
status.setCode(status.STATUS_BAD_REQUEST, "Name missing when creating tag");
... | Alfresco/alfresco-ms-office-plugin | webscripts/org/alfresco/repository/tagging/tag.post.json.js | JavaScript | apache-2.0 | 832 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="CONTENT-TYPE" />
<link rel="stylesheet" href="../../book.css" type="text/c... | Drifftr/devstudio-tooling-bps | plugins/org.eclipse.bpel.help/html/Reference/UniqueProperties/descriptionTab.html | HTML | apache-2.0 | 809 |
// This package is generated by client-gen with arguments: --clientset-name=release_1_3 --clientset-path=github.com/openshift/origin/pkg/build/client/clientset_generated --go-header-file=hack/boilerplate.txt --input=[api/v1] --input-base=github.com/openshift/origin/pkg/build/api --output-base=../../..
// Package fake ... | danwinship/origin | pkg/build/client/clientset_generated/release_1_3/typed/core/v1/fake/doc.go | GO | apache-2.0 | 374 |
/*
* Copyright 2012 SURFnet bv, The Netherlands
*
* 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 ... | biancini/oauth2-apis | apis-authorization-server/src/main/java/org/surfnet/oaaas/repository/AccessTokenRepository.java | Java | apache-2.0 | 1,874 |
/*
* Copyright 2000-2016 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... | siosio/intellij-community | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/tool/ApplyPatchDiffRequest.java | Java | apache-2.0 | 2,929 |
def main():
with open('file.txt'):
print(42) | smmribeiro/intellij-community | python/testData/quickFixes/PyRemoveUnusedLocalQuickFixTest/withOneTarget_after.py | Python | apache-2.0 | 56 |
#!/usr/bin/perl -w
# -*- Mode: Perl; tab-width: 4; indent-tabs-mode: nil; -*-
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.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. Yo... | glycerine/vj | src/js-1.8.5/js/src/tests/pattern-expander.pl | Perl | apache-2.0 | 7,393 |
# Copyright 2016 gRPC 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... | quizlet/grpc | src/python/grpcio/grpc/_auth.py | Python | apache-2.0 | 2,543 |
install_opts = options.merge( { :dev_builds_repos => ["PC1"] })
repo_config_dir = 'tmp/repo_configs'
case test_config[:puppetserver_install_type]
when :package
step "Setup Puppet Server repositories." do
package_build_version = ENV['PACKAGE_BUILD_VERSION']
if package_build_version
install_puppetlabs_de... | erikPrime/puppet-server | acceptance/suites/pre_suite/foss/30_install_dev_repos.rb | Ruby | apache-2.0 | 941 |
/*
* Copyright 2005-2013 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 requi... | eddumelendez/spring-ldap | core/src/main/java/org/springframework/ldap/core/DefaultDnParserFactory.java | Java | apache-2.0 | 1,499 |
/*
* 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 ... | clohfink/cassandra | src/java/org/apache/cassandra/schema/SchemaConstants.java | Java | apache-2.0 | 3,576 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | cshannon/activemq-artemis | artemis-server/src/main/java/org/apache/activemq/artemis/utils/XMLConfigurationUtil.java | Java | apache-2.0 | 4,984 |
# Copyright 2015 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 applicable law or agreed ... | jdanbrown/pydatalab | google/datalab/bigquery/commands/__init__.py | Python | apache-2.0 | 679 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.