repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
atom/superstring | vendor/pcre/10.23/src/sljit/sljitNativeSPARC_32.c | 7825 | /*
* Stack-less Just-In-Time compiler
*
* Copyright 2009-2012 Zoltan Herczeg (hzmester@freemail.hu). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source ... | mit |
thaim/ansible | test/units/modules/storage/netapp/test_netapp_e_mgmt_interface.py | 28142 | # coding=utf-8
# (c) 2018, NetApp Inc.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from ansible.modules.storage.netapp.netapp_e_mgmt_interface import MgmtInterface
from units.modules.utils import AnsibleExitJson, AnsibleFailJson, ModuleTestCase, set_module_args
__metac... | mit |
NaosProject/Naos.Serialization | Naos.Serialization.Test/.recipes/OBeautifulCode.Validation/Parameter.cs | 2753 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Parameter.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// <auto-generated>
// Sourced from NuGet package. Will be o... | mit |
tizbac/mediacomMP82S4 | kernel/drivers/misc/bp/chips/sc6610.c | 6729 | /* drivers/misc/bp/chips/sc6610.c
*
* Copyright (C) 2012-2015 ROCKCHIP.
* Author: luowei <lw@rock-chips.com>
*
* 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... | gpl-2.0 |
DDTChen/CookieVLC | vlc/contrib/android/live555/liveMedia/QCELPAudioRTPSource.cpp | 16387 | /**********
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; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | gpl-2.0 |
ghmajx/asuswrt-merlin | release/src/router/samba-3.5.8/source4/dsdb/schema/schema_convert_to_ol.c | 10025 | /*
schema conversion routines
Copyright (C) Andrew Bartlett 2006-2008
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any la... | gpl-2.0 |
MoKee/android_kernel_motorola_omap4-common | arch/arm/plat-omap/include/plat/serial.h | 3767 | /*
* arch/arm/plat-omap/include/mach/serial.h
*
* Copyright (C) 2009 Texas Instruments
* Addded OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com>
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FI... | gpl-2.0 |
liaoqingwei/ltp | testcases/kernel/syscalls/setgroups/setgroups03.c | 5762 | /*
*
* Copyright (c) International Business Machines Corp., 2001
*
* 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 l... | gpl-2.0 |
johnparker007/mame | src/devices/sound/zsg2.h | 2381 | // license:BSD-3-Clause
// copyright-holders:Olivier Galibert, R. Belmont, hap, superctr
/*
ZOOM ZSG-2 custom wavetable synthesizer
*/
#ifndef MAME_SOUND_ZSG2_H
#define MAME_SOUND_ZSG2_H
#pragma once
// ======================> zsg2_device
class zsg2_device : public device_t,
public device_sound_interface
{... | gpl-2.0 |
frenos/wireshark | epan/dissectors/packet-oipf.c | 6404 | /* packet-oipf.c
* Dissector for Open IPTV Forum protocols
* Copyright 2012, Martin Kaiser <martin@kaiser.cx>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or modify
* it under the t... | gpl-2.0 |
DirtyDevs/android_kernel_motorola_ghost | sound/soc/msm/msm8960.c | 69042 | /* Copyright (c) 2011-2013 The Linux Foundation. All rights reserved.
* Copyright (c) 2013, Motorola Mobility LLC
*
* 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 Foundati... | gpl-2.0 |
jskurka/PyChess-Learning-Module | doc/pychess.widgets.BookCellRenderer.html | 23470 |
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module pychess.widgets.BookCellRenderer</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff... | gpl-3.0 |
ShopwareHackathon/shopware_search_optimization | shopware.php | 3731 | <?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | agpl-3.0 |
ndufresne/gst-plugins-good | gst/rtp/gstrtptheorapay.c | 29116 | /* GStreamer
* Copyright (C) <2006> Wim Taymans <wim.taymans@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... | lgpl-2.1 |
xumingxin7398/angularjs-mdwhat | node_modules/angular-drag-and-drop-lists/demo/multi/multi-frame.html | 1083 | <h1>Demo: Multiselect Lists</h1>
<div class="alert alert-success">
<strong>Instructions:</strong>
Click on items to select/unselect them. When dragging, all selected items will be moved at once.
</div>
<div class="multiDemo row">
<div class="col-md-8">
<div class="row">
<div ng-repeat... | apache-2.0 |
Juni4567/meritscholarship | wp-content/plugins3/paid-memberships-pro/email/checkout_express_admin.html | 510 | <p>There was a new member checkout at !!sitename!!.</p>
<p>Below are details about the new membership account and a receipt for the initial membership invoice.</p>
<p>Account: !!display_name!! (!!user_email!!)</p>
<p>Membership Level: !!membership_level_name!!</p>
<p>Membership Fee: !!membership_cost!!</p>
!!membershi... | apache-2.0 |
zhencui/azure-powershell | src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs | 3485 | // ----------------------------------------------------------------------------------
//
// 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 |
irudyak/ignite | modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/AgentMetadataDemo.java | 3471 | /*
* 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 |
smartan/lucene | src/main/java/org/apache/lucene/search/similarities/LMDirichletSimilarity.java | 3519 | package org.apache.lucene.search.similarities;
/*
* 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 L... | apache-2.0 |
yaowee/libflame | lapack-test/3.5.0/EIG/dlahd2.f | 19347 | *> \brief \b DLAHD2
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE DLAHD2( IOUNIT, PATH )
*
* .. Scalar Arguments ..
* CHARACTER*3 PATH
* INTEGE... | bsd-3-clause |
iwinoto/v4l-media_build-devel | media/drivers/net/ethernet/sun/cassini.c | 142749 | /* cassini.c: Sun Microsystems Cassini(+) ethernet driver.
*
* Copyright (C) 2004 Sun Microsystems Inc.
* Copyright (C) 2003 Adrian Sun (asun@darksunrising.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 Fr... | gpl-2.0 |
markogresak/DefinitelyTyped | types/carbon__icons-react/lib/this-side-up/32.d.ts | 63 | import { ThisSideUp32 } from "../../";
export = ThisSideUp32;
| mit |
subash-a/DefinitelyTyped | facebook-js-sdk/index.d.ts | 2970 | // Type definitions for the Facebook Javascript SDK
// Project: https://developers.facebook.com/docs/javascript
// Definitions by: Amrit Kahlon <https://github.com/amritk/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import fb = facebook;
declare var FB: fb.FacebookStatic;
declare namespace face... | mit |
kairyan/ramda | test/add.js | 287 | var assert = require('assert');
var R = require('..');
describe('add', function() {
it('adds together two numbers', function() {
assert.strictEqual(R.add(3, 7), 10);
});
it('is curried', function() {
var incr = R.add(1);
assert.strictEqual(incr(42), 43);
});
});
| mit |
markogresak/DefinitelyTyped | types/carbon__icons-react/lib/send-to-back/32.d.ts | 63 | import { SendToBack32 } from "../../";
export = SendToBack32;
| mit |
bashrc/hubzilla-debian | src/library/intl/src/Language/LanguageRepository.php | 2786 | <?php
namespace CommerceGuys\Intl\Language;
use CommerceGuys\Intl\LocaleResolverTrait;
use CommerceGuys\Intl\Exception\UnknownLanguageException;
/**
* Manages languages based on JSON definitions.
*/
class LanguageRepository implements LanguageRepositoryInterface
{
use LocaleResolverTrait;
/**
* Per-l... | mit |
markogresak/DefinitelyTyped | types/carbon__icons-react/lib/wind-gusts/24.d.ts | 61 | import { WindGusts24 } from "../../";
export = WindGusts24;
| mit |
evansj/openhab | bundles/binding/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/model/adapter/TrimToNullStringAdapter.java | 1031 | /**
* Copyright (c) 2010-2016, openHAB.org 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... | epl-1.0 |
reuk/waveguide | wayverb/JuceLibraryCode/modules/juce_gui_basics/layout/juce_ComponentBuilder.cpp | 8800 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details... | gpl-2.0 |
Lehkeda/android_kernel_samsung_mint2g | drivers/video/spreadtrum/lcd_hx8369.c | 7918 | /*
* Copyright (C) 2012 Spreadtrum Communications 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 w... | gpl-2.0 |
AlexanderDolgan/sputnik | wp-content/themes/node_modules/gulp.spritesmith/node_modules/url2/test/url2-spec.js | 2582 |
var URL = require("../url2");
var tests = [
{
source: "",
target: "",
relative: ""
},
{
source: "foo/bar/",
target: "foo/bar/",
relative: ""
},
{
source: "foo/bar/baz",
target: "foo/bar/",
relative: "./"
},
{
... | gpl-2.0 |
ghmajx/asuswrt-merlin | release/src/router/madwimax-0.1.1/src/tap_dev.h | 1321 | /*
* This is a reverse-engineered driver for mobile WiMAX (802.16e) devices
* based on Samsung CMC-730 chip.
* Copyright (C) 2008-2009 Alexander Gordeev <lasaine@lvk.cs.msu.su>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... | gpl-2.0 |
gsambrotta/discourse | lib/freedom_patches/raw_handlebars.rb | 2215 | # barber patches to re-route raw compilation via ember compat handlebars
class Barber::Precompiler
def sources
[File.open("#{Rails.root}/vendor/assets/javascripts/handlebars.js"),
precompiler]
end
def precompiler
if !@precompiler
source = File.read("#{Rails.root}/app/assets/javascripts/disco... | gpl-2.0 |
philip-sorokin/joomla-cms | tests/unit/suites/libraries/joomla/linkedin/JLinkedinCommunicationsTest.php | 10137 | <?php
/**
* @package Joomla.UnitTest
* @subpackage Linkedin
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Test class for JLinkedinCommunications.
*
* @package Joomla.Unit... | gpl-2.0 |
gazoo74/linux | drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 24143 | /*
* Copyright 2012 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | gpl-2.0 |
JonnyH/pandora-kernel | arch/s390/kernel/asm-offsets.c | 1704 | /*
* Generate definitions needed by assembly language modules.
* This code generates raw asm output which is post-processed to extract
* and format the required data.
*/
#include <linux/sched.h>
#include <linux/kbuild.h>
int main(void)
{
DEFINE(__THREAD_info, offsetof(struct task_struct, stack));
DEFINE(__THREA... | gpl-2.0 |
duvall/android_kernel_samsung_smdk4412 | drivers/net/wireless/bcmdhd/dhd_sdio.c | 255126 | /*
* DHD Bus Module for SDIO
*
* Copyright (C) 1999-2012, 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 General Public License version 2 (the "GPL"),
* a... | gpl-2.0 |
ericbarns/WP-e-Commerce | wpsc-includes/currency.helpers.php | 1953 | <?php
function _wpsc_get_exchange_rate( $from, $to ) {
if ( $from == $to ) {
return 1;
}
$key = "wpsc_exchange_{$from}_{$to}";
if ( $rate = get_transient( $key ) ) {
return (float) $rate;
}
$url = add_query_arg(
array(
'a' => '1',
'from' => $from,
'to' => $to
),
'http://ww... | gpl-2.0 |
deetail/kimchi4u | client/collections/countries.js | 128 | import { Mongo } from "meteor/mongo";
/**
* Client side collections
*/
export const Countries = new Mongo.Collection(null);
| gpl-3.0 |
coderb0t/CouchPotatoServer | couchpotato/core/plugins/release/main.py | 20734 | from inspect import ismethod, isfunction
import os
import time
import traceback
from CodernityDB.database import RecordDeleted, RecordNotFound
from couchpotato import md5, get_db
from couchpotato.api import addApiView
from couchpotato.core.event import fireEvent, addEvent
from couchpotato.core.helpers.encoding import ... | gpl-3.0 |
hartzell/terraform | vendor/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_cloudwatch_event_target.go | 11014 | package aws
import (
"fmt"
"log"
"math"
"regexp"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/helper/schema"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
events "github.com/aws/aws-sdk-go/service/cloudwatchevents"
"github.com/hashicorp/terraform... | mpl-2.0 |
liuqr/edx-xiaodun | common/djangoapps/pipeline_mako/__init__.py | 2354 | from edxmako.shortcuts import render_to_string
from pipeline.conf import settings
from pipeline.packager import Packager
from pipeline.utils import guess_type
from static_replace import try_staticfiles_lookup
def compressed_css(package_name):
package = settings.PIPELINE_CSS.get(package_name, {})
if package:
... | agpl-3.0 |
backenklee/RIOT | sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c | 33189 | /*
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @{
*
* @file
*/
#include <assert.h>
#include <errno.h>
#includ... | lgpl-2.1 |
backenklee/RIOT | sys/net/gnrc/sock/ip/gnrc_sock_ip.c | 6053 | /*
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @{
*
* @file
* @brief GNRC implementation of @ref net_so... | lgpl-2.1 |
cdmdotnet/CQRS | wiki/docs/2.4/html/search/classes_14.html | 1018 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<link rel="stylesheet" type="text/css" href="search... | lgpl-2.1 |
ijokarumawak/nifi | nifi-nar-bundles/nifi-standard-services/nifi-hbase-client-service-api/src/main/java/org/apache/nifi/hbase/DeleteRequest.java | 2100 | /*
* 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 |
material-components/material-components-ios | components/Collections/src/private/MDCCollectionViewStyler.h | 1243 | // Copyright 2016-present the Material Components for iOS 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
//... | apache-2.0 |
kkk669/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/Module/Base.pm | 37133 | # 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 not u... | apache-2.0 |
physhi/roslyn | src/Workspaces/Core/Portable/Differencing/SequenceEdit.cs | 3081 | // 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.
#nullable disable
using System;
using System.Diagnostics;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysi... | apache-2.0 |
muzining/net | x/net/icmp/extension_test.go | 8186 | // Copyright 2015 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 icmp
import (
"fmt"
"net"
"reflect"
"testing"
"golang.org/x/net/internal/iana"
"golang.org/x/net/ipv4"
"golang.org/x/net/ipv6"
)
func TestMars... | bsd-3-clause |
6by9/userland | interface/mmal/test/examples/example_basic_2.c | 15866 | /*
Copyright (c) 2012, Broadcom Europe Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and t... | bsd-3-clause |
mxOBS/deb-pkg_trusty_chromium-browser | third_party/libc++/trunk/test/input.output/iostream.format/quoted.manip/quoted.pass.cpp | 5616 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | bsd-3-clause |
jpetto/olympia | src/olympia/discovery/templates/discovery/modules/go-mobile.html | 629 | <li class="panel">
<div id="go-mobile" class="feature promo">
<hgroup>
<h2>{{ _('Get Add-ons On The Go') }}</h2>
</hgroup>
<div class="wrap">
<div>
<p>{% trans url='http://www.firefox.com/m/' %}
Visit <a href="{{ url }}">firefox.com/m</a> to get Firefox on your phone
... | bsd-3-clause |
androidarmv6/android_external_chromium_org | components/wifi/wifi_service.h | 6323 | // Copyright 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 CHROME_UTILITY_WIFI_WIFI_SERVICE_H_
#define CHROME_UTILITY_WIFI_WIFI_SERVICE_H_
#include <list>
#include <string>
#include <vector>
#include "ba... | bsd-3-clause |
PeterDaveHello/jsdelivr | files/planck/0.1.34/planck-with-testbed.js | 464606 | /*
* Planck.js v0.1.34
*
* Copyright (c) 2016-2017 Ali Shakiba http://shakiba.me/planck.js
* Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from... | mit |
kennynaoh/cdnjs | ajax/libs/godlike.css/3.5.1/godlike.css | 4514 | @charset "UTF-8";
@-ms-viewport {
width: device-width;
initial-scale: 1;
}
@-moz-viewport {
width: device-width;
initial-scale: 1;
}
@-webkit-viewport {
width: device-width;
initial-scale: 1;
}
*,
:before,
:after {
box-sizing: border-box;
}
html {
height: 100%;
}
body {
position: relative;
min-heigh... | mit |
commaai/openpilot | third_party/android_hardware_libhardware/include/hardware/vibrator.h | 2301 | /*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | mit |
hdo/EmulationStation | data/converted/help_dpad_right_svg.cpp | 17883 | //this file was auto-generated from "dpad_right.svg" by res2h
#include "../Resources.h"
const size_t help_dpad_right_svg_size = 3216;
const unsigned char help_dpad_right_svg_data[3216] = {
0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,
0x69,0x6f,0x6e,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,
0x65,0x6e,0x63,... | mit |
Noah-Huppert/Website-2013 | vhosts/www.noahhuppert.com/htdocs/trex/deps/libxslt/tests/docbook/test/docbook.css | 87 | DIV.TITLEPAGE { text-align: center; }
DIV.TITLEPAGE DIV.ABSTRACT { text-align: left; }
| mit |
chrisdavidmills/express-local-library | node_modules/helmet-csp/lib/is-string.js | 116 | module.exports = function isString (value) {
return Object.prototype.toString.call(value) === '[object String]'
}
| mit |
GeeChao/mockito | test/org/mockitousage/verification/NoMoreInteractionsVerificationTest.java | 3508 | /*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockitousage.verification;
import static org.mockito.Mockito.*;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.junit.Before;
import org.junit.Test... | mit |
KatharineYe/ews-java-api | src/main/java/microsoft/exchange/webservices/data/core/request/MoveCopyItemRequest.java | 3795 | /*
* The MIT License
* Copyright (c) 2012 Microsoft Corporation
*
* 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,... | mit |
georgemarshall/DefinitelyTyped | types/carbon__pictograms-react/lib/teammates/index.d.ts | 57 | import { Teammates } from "../../";
export = Teammates;
| mit |
cdnjs/cdnjs | ajax/libs/highlight.js/10.7.3/styles/docco.min.css | 817 | .hljs{display:block;overflow-x:auto;padding:.5em;color:#000;background:#f8f8ff}.hljs-comment,.hljs-quote{color:#408080;font-style:italic}.hljs-keyword,.hljs-literal,.hljs-selector-tag,.hljs-subst{color:#954121}.hljs-number{color:#40a070}.hljs-doctag,.hljs-string{color:#219161}.hljs-section,.hljs-selector-class,.hljs-se... | mit |
kylon/pacman-fakeroot | test/pacman/tests/sync502.py | 513 | self.description = "Install a package from a sync db with fnmatch'ed NoExtract"
sp = pmpkg("dummy")
sp.files = ["bin/dummy",
"usr/share/man/man8",
"usr/share/man/man1/dummy.1"]
self.addpkg2db("sync", sp)
self.option["NoExtract"] = ["usr/share/man/*"]
self.args = "-S %s" % sp.name
self.addrul... | gpl-2.0 |
jmahler/linux-next | fs/pnode.c | 15669 | /*
* linux/fs/pnode.c
*
* (C) Copyright IBM Corporation 2005.
* Released under GPL v2.
* Author : Ram Pai (linuxram@us.ibm.com)
*
*/
#include <linux/mnt_namespace.h>
#include <linux/mount.h>
#include <linux/fs.h>
#include <linux/nsproxy.h>
#include <uapi/linux/mount.h>
#include "internal.h"
#include "pnode.h"
... | gpl-2.0 |
qtekfun/htcDesire820Kernel | external/chromium_org/content/browser/renderer_host/media/audio_sync_reader.cc | 6518 | // 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 "content/browser/renderer_host/media/audio_sync_reader.h"
#include <algorithm>
#include "base/command_line.h"
#include "base/memory/shared_... | gpl-2.0 |
kidmaple/CoolWall | linux-2.6.x/drivers/char/agp/parisc-agp.c | 10130 | /*
* HP Quicksilver AGP GART routines
*
* Copyright (c) 2006, Kyle McMartin <kyle@parisc-linux.org>
*
* Based on drivers/char/agpgart/hp-agp.c which is
* (c) Copyright 2002, 2003 Hewlett-Packard Development Company, L.P.
* Bjorn Helgaas <bjorn.helgaas@hp.com>
*
* This program is free software; you can redistri... | gpl-2.0 |
gazoo74/linux | drivers/gpu/drm/i915/intel_workarounds.h | 942 | /*
* SPDX-License-Identifier: MIT
*
* Copyright © 2014-2018 Intel Corporation
*/
#ifndef _I915_WORKAROUNDS_H_
#define _I915_WORKAROUNDS_H_
#include <linux/slab.h>
#include "intel_workarounds_types.h"
static inline void intel_wa_list_free(struct i915_wa_list *wal)
{
kfree(wal->list);
memset(wal, 0, sizeof(*wal... | gpl-2.0 |
ghmajx/asuswrt-merlin | release/src/router/openpam/lib/libpam/openpam_impl.h | 4165 | /*-
* Copyright (c) 2001-2003 Networks Associates Technology, Inc.
* Copyright (c) 2004-2011 Dag-Erling Smørgrav
* All rights reserved.
*
* This software was developed for the FreeBSD Project by ThinkSec AS and
* Network Associates Laboratories, the Security Research Division of
* Network Associates, Inc. under... | gpl-2.0 |
koct9i/linux | drivers/watchdog/da9052_wdt.c | 4824 | // SPDX-License-Identifier: GPL-2.0+
/*
* System monitoring driver for DA9052 PMICs.
*
* Copyright(c) 2012 Dialog Semiconductor Ltd.
*
* Author: Anthony Olech <Anthony.Olech@diasemi.com>
*
*/
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
#include <linux/platform_device.h>
#includ... | gpl-2.0 |
bourroush/blog-17aout | wp-content/themes/thematic/library/extensions/discussion.php | 2891 | <?php
/**
* Discussion
*
* @package ThematicCoreLibrary
* @subpackage Discussion
*/
/**
* Custom callback function to list comments in the Thematic style.
*
* If you want to use your own comments callback for wp_list_comments, filter list_comments_arg
*
* @param object $comment
* @param array $args
* ... | gpl-2.0 |
BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/drivers/gpu/drm/i915/gt/intel_gt.c | 6838 | // SPDX-License-Identifier: MIT
/*
* Copyright © 2019 Intel Corporation
*/
#include "i915_drv.h"
#include "intel_gt.h"
#include "intel_gt_pm.h"
#include "intel_uncore.h"
void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915)
{
gt->i915 = i915;
gt->uncore = &i915->uncore;
spin_lock_init(>... | gpl-2.0 |
mekinney/transparica | webapp/node_modules/express.io/compiled/request.js | 1285 | // Generated by CoffeeScript 1.4.0
(function() {
var RoomIO;
RoomIO = require('./room').RoomIO;
exports.RequestIO = (function() {
function RequestIO(socket, request, io) {
this.socket = socket;
this.request = request;
this.manager = io;
}
RequestIO.prototype.broadcast = function(... | gpl-2.0 |
md-5/jdk10 | test/jdk/java/awt/datatransfer/DataFlavor/MimeTypeSerializationTest.java | 3301 | /*
* Copyright (c) 2014, 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 ... | gpl-2.0 |
muet/Espruino | libs/filesystem/fat_sd/fattime.c | 424 | /* Martin Thomas 4/2009 */
#include "integer.h"
#include "fattime.h"
//#include "rtc.h"
DWORD get_fattime (void)
{
DWORD res;
/*RTC_t rtc;
rtc_gettime( &rtc );*/
res = (((DWORD)2012/*rtc.year*/ - 1980) << 25)
| ((DWORD)1/*rtc.month*/ << 21)
| ((DWORD)1/*rtc.mday*/ << 16)
| (WORD)(0/*r... | mpl-2.0 |
mjs/juju | cmd/juju/interact/package_test.go | 211 | // Copyright 2016 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package interact
import (
"testing"
gc "gopkg.in/check.v1"
)
func TestPackage(t *testing.T) {
gc.TestingT(t)
}
| agpl-3.0 |
sergiocorato/project-service | project_sla/__init__.py | 191 | # -*- coding: utf-8 -*-
from . import project_sla
from . import analytic_account
from . import project_sla_control
from . import project_issue
from . import project_task
from . import report
| agpl-3.0 |
zhushuchen/Ocean | 组件/zookeeper-3.3.6/src/c/include/recordio.h | 2912 | /**
* 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... | agpl-3.0 |
rdhyee/osf.io | scripts/tests/test_remove_wiki_title_forward_slashes.py | 1335 | from nose.tools import *
from framework.mongo import database as db
from scripts.remove_wiki_title_forward_slashes import main
from tests.base import OsfTestCase
from tests.factories import NodeWikiFactory, ProjectFactory
class TestRemoveWikiTitleForwardSlashes(OsfTestCase):
def test_forward_slash_is_removed_... | apache-2.0 |
dialoghq/runit | test/kitchen/cookbooks/runit_test/metadata.rb | 258 | name "runit_test"
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "This cookbook is used with test-kitchen to test the parent, runit cookbok"
version "1.0.0"
| apache-2.0 |
JasOXIII/sagetv | third_party/ffmpeg/libavcodec/i386/mathops.h | 1481 | /*
* simple math operations
* Copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> et al
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | apache-2.0 |
xanzy/terraform-provider-cosmic | vendor/github.com/hashicorp/go-hclog/int.go | 11348 | package hclog
import (
"bufio"
"bytes"
"encoding"
"encoding/json"
"fmt"
"log"
"os"
"reflect"
"runtime"
"sort"
"strconv"
"strings"
"sync"
"sync/atomic"
"time"
)
var (
_levelToBracket = map[Level]string{
Debug: "[DEBUG]",
Trace: "[TRACE]",
Info: "[INFO] ",
Warn: "[WARN] ",
Error: "[ERROR]",
... | apache-2.0 |
paladique/roslyn | src/Compilers/Test/Resources/Core/SymbolsTests/V2/V2.Designer.vb | 6546 | '------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.18326
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... | apache-2.0 |
victorgp/kubernetes | pkg/controller/podautoscaler/horizontal.go | 33818 | /*
Copyright 2015 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 |
usakey/kafka | core/src/test/scala/unit/kafka/server/KafkaConfigTest.scala | 27361 | /**
* 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 |
aospx-kitkat/platform_external_chromium_org | chrome/browser/ui/global_error/global_error_service.cc | 3238 | // 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 "chrome/browser/ui/global_error/global_error_service.h"
#include <algorithm>
#include "base/stl_util.h"
#include "chrome/browser/chrome_not... | bsd-3-clause |
Gateworks/platform-external-chromium_org | google_apis/gaia/gaia_oauth_client.cc | 13657 | // 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 "google_apis/gaia/gaia_oauth_client.h"
#include "base/json/json_reader.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#inc... | bsd-3-clause |
endlessm/chromium-browser | chrome/browser/usb/usb_chooser_context_factory.cc | 1559 | // 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 "chrome/browser/usb/usb_chooser_context_factory.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chro... | bsd-3-clause |
stanleyxu2005/zrender | doc/api/module-zrender_shape_Ring.html | 259267 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Module: zrender/shape/Ring</title>
<meta property="og:title" content=""/>
<meta property="og:type" content="website"/>
<meta property="og:image" content=""/>
<meta property="og:url" content=""/>
<s... | bsd-3-clause |
ae6rt/decap | web/vendor/github.com/gogo/protobuf/test/oneof3/combos/both/one.pb.go | 99707 | // Code generated by protoc-gen-gogo.
// source: combos/both/one.proto
// DO NOT EDIT!
/*
Package one is a generated protocol buffer package.
It is generated from these files:
combos/both/one.proto
It has these top-level messages:
Subby
SampleOneOf
*/
package one
import proto "github.com/gogo/protobuf/prot... | mit |
visi0nary/P8000-Kernel | drivers/misc/mediatek/mach/mt6735/include/mach/camera_isp_D2.h | 21235 | /*
* 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 WARRANTY;... | gpl-2.0 |
embecosm/gcc | gcc/testsuite/gcc.dg/ipa/inline-7.c | 417 | /* Check that early inliner works out that a is empty of parameter 0. */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-einline -fno-partial-inlining" } */
void t(void);
int a (int b)
{
if (!b)
{
t();
t();
t();
t();
t();
t();
t();
}
}
void
m()
{
a(1);
a(0);
}
/* { dg-final { scan-tree-dump-... | gpl-2.0 |
yiendos/pomander | tests/unit/suites/libraries/joomla/filesystem/JFolderTest.php | 10715 | <?php
/**
* @package Joomla.UnitTest
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
JLoader::register('JFolder', JPATH_PLATFORM . '/joomla/filesystem/folder.php');
/**
* Test class for JFolde... | gpl-2.0 |
mseaborn/nacl-glibc | sysdeps/pthread/aio_notify.c | 4961 | /* Notify initiator of AIO request.
Copyright (C) 1997-2001, 2003, 2004, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of t... | gpl-2.0 |
ligfx/dolphin | Source/Core/DolphinWX/Config/GameCubeConfigPane.h | 1282 | // Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <wx/arrstr.h>
#include <wx/panel.h>
class wxButton;
class wxCheckBox;
class wxChoice;
class wxString;
namespace ExpansionInterface
{
enum TEXIDevices : int;
}
class GameCubeConfigPan... | gpl-2.0 |
rduivenvoorde/QGIS | src/core/classification/qgsclassificationprettybreaks.h | 1751 | /***************************************************************************
qgsclassificationprettybreaks.h
---------------------
begin : September 2019
copyright : (C) 2019 by Denis Rouzaud
email : denis@opengis.ch
*****************************************... | gpl-2.0 |
ngwese/mod | xdk-asf-3.17.0/common/services/spi/master_example/at32uc3b0256_evk1101/iar/asf.h | 2906 | /**
* \file
*
* \brief Autogenerated API include file for the Atmel Software Framework (ASF)
*
* Copyright (c) 2012 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... | gpl-2.0 |
ssuthiku/linux | tools/perf/util/thread_map.c | 8344 | #include <dirent.h>
#include <limits.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "strlist.h"
#include <string.h>
#include <api/fs/fs.h>
#include "asm/bug.h"
#include "thread_map.h"
#include "util.h"
#include "debug.h"
/* Skip ... | gpl-2.0 |
FauxFaux/jdk9-langtools | test/tools/javac/enum/6350057/T6350057.java | 3605 | /*
* Copyright (c) 2006, 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 ... | gpl-2.0 |