repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
vvavrychuk/glibc | misc/usleep.c | 1019 | /* Copyright (C) 1991-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 ... | gpl-2.0 |
hannes/linux | arch/x86/mm/cpu_entry_area.c | 5234 | // SPDX-License-Identifier: GPL-2.0
#include <linux/spinlock.h>
#include <linux/percpu.h>
#include <asm/cpu_entry_area.h>
#include <asm/pgtable.h>
#include <asm/fixmap.h>
#include <asm/desc.h>
static DEFINE_PER_CPU_PAGE_ALIGNED(struct entry_stack_page, entry_stack_storage);
#ifdef CONFIG_X86_64
static DEFINE_PER_CP... | gpl-2.0 |
rneugeba/linux-stable | drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 2696 | /*
* Copyright 2014 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 |
abg1979/git | t/t0025-crlf-renormalize.sh | 1012 | #!/bin/sh
test_description='CRLF renormalization'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success setup '
git config core.autocrlf false &&
printf "LINEONE\nLINETWO\nLINETHREE\n" >LF.txt &&
printf "LINEONE\r\nLINETWO\r\nLINETHREE\r\n" >CRLF.txt &&
printf "LINEONE\r\nLINETWO\nLINETHREE\n" >CRLF... | gpl-2.0 |
jongh90/kvm | drivers/gpu/drm/i915/intel_uncore.c | 39461 | /*
* Copyright © 2013 Intel 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, copy, modify, merge, pub... | gpl-2.0 |
chancegrissom/qmk_firmware | keyboards/dp60/dp60.h | 5454 | /**
* dp60.h
*
*/
#pragma once
#include "quantum.h"
// This a shortcut to help you visually see your layout.
// The first section contains all of the arguements
// The second converts the arguments into a two-dimensional array
#define LAYOUT_60_ansi( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, ... | gpl-2.0 |
drupaals/demo.com | d8/core/modules/config/src/Tests/ConfigModuleOverridesTest.php | 2710 | <?php
/**
* @file
* Definition of Drupal\config\Tests\ConfigModuleOverridesTest.
*/
namespace Drupal\config\Tests;
use Drupal\simpletest\DrupalUnitTestBase;
/**
* Tests module overrides of configuration using event subscribers.
*/
class ConfigModuleOverridesTest extends DrupalUnitTestBase {
public static $m... | gpl-2.0 |
laijs/linux-kernel-ancient-history | drivers/media/video/cx88/Makefile | 410 | cx88xx-objs := cx88-cards.o cx88-core.o cx88-i2c.o cx88-tvaudio.o \
cx88-input.o
cx8800-objs := cx88-video.o cx88-vbi.o
cx8802-objs := cx88-mpeg.o
obj-$(CONFIG_VIDEO_CX88) += cx88xx.o cx8800.o cx8802.o cx88-blackbird.o
obj-$(CONFIG_VIDEO_CX88_DVB) += cx88-dvb.o
EXTRA_CFLAGS += -I$(src)/..
EXTRA_CFLAGS += -I$(src... | gpl-2.0 |
gwq5210/litlib | thirdparty/sources/boost_1_60_0/libs/fusion/doc/html/fusion/adapted/adapt_tpl_adt.html | 19325 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>BOOST_FUSION_ADAPT_TPL_ADT</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.html"... | gpl-3.0 |
andybarry/ardupilot | libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp | 60871 | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include <AP_HAL.h>
#include "AP_InertialSensor_MPU6000.h"
extern const AP_HAL::HAL& hal;
// MPU6000 accelerometer scaling
#define MPU6000_ACCEL_SCALE_1G (GRAVITY_MSS / 4096.0f)
// MPU 6000 registers
#define MPUREG_XG_OFFS_TC ... | gpl-3.0 |
viniciusferreira/mautic | plugins/MauticCrmBundle/MauticCrmBundle.php | 444 | <?php
/**
* @package Mautic
* @copyright 2014 Mautic Contributors. All rights reserved.
* @author Mautic
* @link http://mautic.org
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace MauticPlugin\MauticCrmBundle;
use Mautic\PluginBundle\Bundle\PluginBundleBase;
/**
... | gpl-3.0 |
brion/gimp | libgimp/gimpmessage_pdb.c | 3415 | /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
*
* gimpmessage_pdb.c
*
* 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 3... | gpl-3.0 |
lthall/Leonard_ardupilot | libraries/AP_Baro/AP_Baro_BMP388.h | 1869 | #pragma once
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/Device.h>
#include <AP_HAL/utility/OwnPtr.h>
#include "AP_Baro_Backend.h"
#ifndef HAL_BARO_BMP388_I2C_ADDR
#define HAL_BARO_BMP388_I2C_ADDR (0x76)
#endif
#ifndef HAL_BARO_BMP388_I2C_ADDR2
#define HAL_BARO_BMP388_I2C_ADDR2 (0x77)
#endif
class AP_Baro_BMP388... | gpl-3.0 |
neos/typo3cr | Tests/Functional/Domain/Fixtures/HappyNode.php | 665 | <?php
namespace Neos\ContentRepository\Tests\Functional\Domain\Fixtures;
/*
* This file is part of the Neos.ContentRepository package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file wh... | gpl-3.0 |
caoxiongkun/qgroundcontrol | src/CmdLineOptParser.cc | 2813 | /*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or mod... | agpl-3.0 |
pesser/dealii | tests/bits/cone_01.cc | 1753 | // ---------------------------------------------------------------------
//
// Copyright (C) 2003 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | lgpl-2.1 |
nuclear-wizard/moose | framework/src/postprocessors/AreaPostprocessor.C | 1109 | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... | lgpl-2.1 |
danielru/moose | python/PresentationBuilder/slidesets/MergeCoverSet.py | 1395 | # Import the SlideSet base class
import math
from ..slidesets import RemarkSlideSet
##
# A special set of slides for creating cover page and contents
class MergeCoverSet(RemarkSlideSet):
##
# Extract the valid parameters for this object
@staticmethod
def validParams():
params = RemarkSlideSet.validParams(... | lgpl-2.1 |
department-of-veterans-affairs/ChartReview | web-app/js/ext-5.1.0/src/view/MultiSelectorSearch.js | 8477 | /**
* This component provides a grid holding selected items from a second store of potential
* members. The `store` of this component represents the selected items. The `searchStore`
* represents the potentially selected items.
*
* The default view defined by this class is intended to be easily replaced by derivin... | apache-2.0 |
begoldsm/azure-sdk-for-node | test/services/blob/blobservice-tests.js | 59746 | //
// Copyright (c) Microsoft and contributors. 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 require... | apache-2.0 |
abel-von/commons | src/java/com/twitter/common/net/UrlResolver.java | 15827 | // =================================================================================================
// Copyright 2011 Twitter, Inc.
// -------------------------------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... | apache-2.0 |
ketralnis/elephant-bird | src/java/com/twitter/elephantbird/pig/piggybank/InvokeForDouble.java | 1672 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
EnquistLab/ffdm-frontend | public/assets/images/Workers/ThirdParty/GltfPipeline/updateVersion.js | 36201 | define([
'./addExtensionsRequired',
'./addToArray',
'./ForEach',
'./getAccessorByteStride',
'../../Core/Cartesian3',
'../../Core/Math',
'../../Core/clone',
'../../Core/defaultValue',
'../../Core/defined',
'../../Core/Quaternion',
... | apache-2.0 |
jkotas/roslyn | src/VisualStudio/Core/Def/Implementation/Workspace/VisualStudioDocumentNavigationService.cs | 15102 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.... | apache-2.0 |
tr3vr/jena | jena-arq/src/main/java/org/apache/jena/sparql/expr/E_StrEncodeForURI.java | 1365 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
kasungayan/product-as | modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/appserver/ui/integration/test/webapp/spring/SpringWebApplicationDeploymentTestCase.java | 8185 | /*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LI... | apache-2.0 |
apache/flink | flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/proxy/KinesisProxyV2Interface.java | 2775 | /*
* 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 |
mingzhi22/homebrew-cask | Casks/dragthing.rb | 361 | cask 'dragthing' do
version '5.9.12'
sha256 '4a351c593aff1c3214613d622a4e81f184e8ae238df6db921dd822efeefe27e6'
# amazonaws.com is the official download host per the vendor homepage
url "https://s3.amazonaws.com/tlasystems/DragThing-#{version}.dmg"
name 'DragThing'
homepage 'http://www.dragthing.com'
lice... | bsd-2-clause |
exclie/Imagenologia | vendor/zendframework/zendframework/tests/ZendTest/Mvc/Router/Http/TestAsset/DummyRouteWithParam.php | 1223 | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | bsd-3-clause |
nwjs/chromium.src | third_party/protobuf/js/experimental/runtime/kernel/conformance/conformance_testee.js | 3602 | goog.module('javascript.protobuf.conformance');
const ConformanceRequest = goog.require('proto.conformance.ConformanceRequest');
const ConformanceResponse = goog.require('proto.conformance.ConformanceResponse');
const TestAllTypesProto2 = goog.require('proto.conformance.TestAllTypesProto2');
const TestAllTypesProto3 =... | bsd-3-clause |
eprislac/guard-yard | vendor/jruby/1.9/gems/rails_best_practices-1.15.7/spec/rails_best_practices/core/klasses_spec.rb | 1109 | require 'spec_helper'
module RailsBestPractices::Core
describe Klasses do
it { should be_a_kind_of Array }
context "Klass" do
context "#class_name" do
it "gets class name without module" do
klass = Klass.new("BlogPost", "Post", [])
expect(klass.class_name).to eq("BlogPost")... | mit |
sekcheong/referencesource | mscorlib/system/arithmeticexception.cs | 1736 | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: ArithmeticException
**
**
** Purpose: Exception class for bad arithmetic conditions!
**
**
============================================... | mit |
pniebla/test-repo-console | svn/git-1.8.3.3.tar/git-1.8.3.3/git-1.8.3.3/cache-tree.c | 16875 | #include "cache.h"
#include "tree.h"
#include "tree-walk.h"
#include "cache-tree.h"
#ifndef DEBUG
#define DEBUG 0
#endif
struct cache_tree *cache_tree(void)
{
struct cache_tree *it = xcalloc(1, sizeof(struct cache_tree));
it->entry_count = -1;
return it;
}
void cache_tree_free(struct cache_tree **it_p)
{
int i;
... | mit |
AlexGhiondea/buildtools | src/Microsoft.DotNet.Build.VstsBuildsApi/VstsReleaseHttpClient.cs | 2198 | // 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 Microsoft.DotNet.Build.VstsBuildsApi.Configuration;
using Newtonsoft.Json.Linq;
using System;
using System.Co... | mit |
nbarbettini/corefx | src/shims/manual/mscorlib.forwards.cs | 3065 | // 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.
// Add any internal types that we need to forward from mscorlib.
// These types are required for Desktop to Core s... | mit |
MelanieGault/puppet-logrotate | spec/defines/rule_spec.rb | 30362 | require 'spec_helper'
describe 'logrotate::rule' do
context 'with an alphanumeric title' do
let(:title) { 'test' }
context 'and ensure => absent' do
let(:params) { {:ensure => 'absent'} }
it do
should contain_file('/etc/logrotate.d/test').with_ensure('absent')
end
end
let... | mit |
Teisi/typo3-deploy | vendor/symfony/console/Tests/Style/SymfonyStyleTest.php | 3826 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Console\Tests\Style;
use PHPUnit\Framework\TestCase;
... | mit |
akoeplinger/referencesource | System.ServiceModel/System/ServiceModel/Channels/IMessageSource.cs | 733 | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Channels
{
using System.Threading;
enum AsyncReceiveResult
{
Completed,
... | mit |
xcaliber-tech/angular | modules/@angular/core/test/di/forward_ref_spec.ts | 661 | /**
* @license
* Copyright Google Inc. 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
*/
import {Type} from '@angular/core';
import {forwardRef, resolveForwardRef} from '@angular/core/src/di';
import {desc... | mit |
imadige/zephirbuild | zephir/ext/test/7__closure.zep.c | 658 |
#ifdef HAVE_CONFIG_H
#include "../ext_config.h"
#endif
#include <php.h>
#include "../php_ext.h"
#include "../ext.h"
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
#include <Zend/zend_interfaces.h>
#include "kernel/main.h"
#include "kernel/operators.h"
#include "kernel/memory.h"
ZEPHIR_INIT_CLA... | mit |
josephwilk/finger-smudge | vendor/chromaprint/src/chroma_filter.cpp | 1885 | /*
* Chromaprint -- Audio fingerprinting toolkit
* Copyright (C) 2010 Lukas Lalinsky <lalinsky@gmail.com>
*
* 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 o... | epl-1.0 |
tobiasjakobi/mpv | sub/draw_bmp.c | 19551 | /*
* This file is part of mpv.
*
* mpv 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.
*
* mpv is distributed in the h... | gpl-2.0 |
visi0nary/mediatek | mt6732/mediatek/kernel/drivers/combo/drv_wlan/mt6628/wlan/os/linux/gl_wext_priv.c | 76740 | /*
** $Id: //Department/DaVinci/BRANCHES/MT6620_WIFI_DRIVER_V2_3/os/linux/gl_wext_priv.c#4 $
*/
/*! \file gl_wext_priv.c
\brief This file includes private ioctl support.
*/
/*
** $Log: gl_wext_priv.c $
*
* 07 17 2012 yuche.tsai
* NULL
* Let netdev bring up.
*
* 06 13 2012 yuche.tsai
* NULL
* Update main... | gpl-2.0 |
Chong-Li/RTDS-ToolStack | tools/libxc/xc_compression.c | 16432 | /******************************************************************************
* xc_compression.c
*
* Checkpoint Compression using Page Delta Algorithm.
* - A LRU cache of recently dirtied guest pages is maintained.
* - For each dirty guest page in the checkpoint, if a previous version of the
* page exists in th... | gpl-2.0 |
neutrino-mp/neutrino-mp | lib/libmd5sum/libmd5sum.c | 1867 | #ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <sys/types.h>
#include <error.h>
#include <errno.h>
#include <string.h>
#include "libmd5sum.h"
#include "md5.h"
#include "getline.h"
#define STREQ(a, b) (strcmp ((a), (b)) == 0)
static int have_read_stdin;
#if O_BINARY
# define OPENOPTS(BINARY) ((BINARY) != ... | gpl-2.0 |
raumfeld/linux-am33xx | drivers/mmc/host/dw_mmc.c | 91646 | /*
* Synopsys DesignWare Multimedia Card Interface driver
* (Based on NXP driver for lpc 31xx)
*
* Copyright (C) 2009 NXP Semiconductors
* Copyright (C) 2009, 2010 Imagination Technologies Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | gpl-2.0 |
SayenkoDesign/selectahead | wp-content/plugins/woocommerce-quickbooks-pos-2013/QuickBooks/QBXML/Schema/Object/PaymentMethodQueryRq.php | 3453 | <?php
/**
* Schema object for: PaymentMethodQueryRq
*
* @author "Keith Palmer Jr." <Keith@ConsoliByte.com>
* @license LICENSE.txt
*
* @package QuickBooks
* @subpackage QBXML
*/
/**
*
*/
require_once 'QuickBooks.php';
/**
*
*/
require_once 'QuickBooks/QBXML/Schema/Object.php';
/**
*
*/
class Quick... | gpl-2.0 |
foucse/kamailio | obsolete/rls/rls_mod.h | 1178 | #ifndef __RLS_MOD_H
#define __RLS_MOD_H
#include "../../modules/tm/tm_load.h"
#include "../../lib/srdb2/db.h"
#include "rl_subscription.h"
#include "../dialog/dlg_mod.h"
#include "rls_data.h"
#include <xcap/xcap_client.h>
#include "../xcap/xcap_mod.h"
extern struct tm_binds tmb;
/** min interval for subscription exp... | gpl-2.0 |
stain/jdk8u | src/share/classes/javax/swing/text/DefaultStyledDocument.java | 107201 | /*
* Copyright (c) 1997, 2013, 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 |
armenrz/adempiere | migration/352a-353a/postgresql/327_BF2319604.sql | 282 | -- Nov 21, 2008 12:14:32 PM SGT
-- [ 2319604 ] Wrong SQL where clause in Inbound Asset Entry window
UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type = ''New''',Updated=TO_TIMESTAMP('2008-11-21 12:14:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53166
;
| gpl-2.0 |
koct9i/linux | drivers/media/radio/radio-keene.c | 11425 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2012 Hans Verkuil <hverkuil@xs4all.nl>
*/
/* kernel includes */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
#inc... | gpl-2.0 |
PIPplware/xbmc | xbmc/cores/RetroPlayer/streams/memory/LinearMemoryStream.h | 2099 | /*
* Copyright (C) 2016-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 "IMemoryStream.h"
#include <memory>
#include <stdint.h>
namespace KODI
{
namespace RETRO
{
class CLin... | gpl-2.0 |
isengartz/food | tmp/install_5662784dc4d75/admin/plugins/vmpayment/amazon/fields/ipnurl.php | 1639 | <?php
/**
*
* Amazon payment plugin
*
* @author Valerie Isaksen
* @version $Id: ipnurl.php 8703 2015-02-15 17:11:16Z alatak $
* @package VirtueMart
* @subpackage payment
* Copyright (C) 2004-2015 Virtuemart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* V... | gpl-2.0 |
paulalesius/kernel-devel | sound/usb/quirks.c | 38888 | /*
* 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.
*
* This program is distributed in the hope that it w... | gpl-2.0 |
radiaku/decoda | libs/wxWidgets/src/msw/tbar95.cpp | 58053 | /////////////////////////////////////////////////////////////////////////////
// Name: src/msw/tbar95.cpp
// Purpose: wxToolBar
// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id: tbar95.cpp 58446 2009-01-26 23:32:16Z VS $
// Copyright: (c) Julian Smart
// Licence: ... | gpl-3.0 |
enovation/moodle | filter/activitynames/version.php | 1206 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | gpl-3.0 |
newmessage/eathena-project | src/map/buyingstore.c | 14965 | // Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#include "../common/cbasetypes.h"
#include "../common/db.h" // ARR_FIND
#include "../common/showmsg.h" // ShowWarning
#include "../common/socket.h" // RBUF*
#include "../common/strlib.h" // safestrncp... | gpl-3.0 |
ivesbai/server | vendor/ZendFramework/library/Zend/Json/Server/Exception.php | 1173 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | agpl-3.0 |
railsfactory-sriman/knowledgeBase | public/javascripts/i18n/si.js | 235 | /** Messages for Sinhala (සිංහල)
* Exported from translatewiki.net
*
* Translators:
* - Singhalawap
*/
var I18n = {
on_leave_page: "ඔබගේ වෙනස්කිරීම් අහිමිවනු ඇත"
};
| agpl-3.0 |
ratliff/server | vendor/ZendFramework/library/Zend/Validate/Db/Abstract.php | 4823 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | agpl-3.0 |
root-mirror/root | interpreter/llvm/src/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp | 11857 | //===- CodeViewRecordIO.cpp -------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | lgpl-2.1 |
root-mirror/root | interpreter/llvm/src/lib/Target/RISCV/RISCVFrameLowering.cpp | 15861 | //===-- RISCVFrameLowering.cpp - RISCV Frame Information ------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | lgpl-2.1 |
PureSwift/libwebsockets | lib/client-parser.c | 11688 | /*
* libwebsockets - small server side websockets and web server implementation
*
* Copyright (C) 2010-2014 Andy Green <andy@warmcat.com>
*
* 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 F... | lgpl-2.1 |
amyzheng424/elasticsearch-net | src/Nest/Domain/Mapping/Descriptors/FieldDataFilterDescriptor.cs | 893 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nest
{
public class FieldDataFilterDescriptor
{
internal FieldDataFilter Filter { get; private set; }
public FieldDataFilterDescriptor()
{
this.Filter = new FieldDataFilter();
}
public FieldDataFilterDescr... | apache-2.0 |
SonyWWS/ATF | Framework/Atf.Gui.WinForms/Controls/SplitButton.cs | 14095 | //Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
namespace Sce.Atf.Controls
{
/// <summary>
/// Represents a combination of a standard button on th... | apache-2.0 |
carrchang/vaadin | uitest/src/com/vaadin/tests/themes/valo/TestIcon.java | 1580 | /*
* Copyright 2000-2013 Vaadin Ltd.
*
* 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... | apache-2.0 |
eile/ITK | Modules/Filtering/CurvatureFlow/itk-module.cmake | 555 | set(DOCUMENTATION "This module contains filters that implement variations of
Curvature Flow. This is a technique that uses an iterative solution of partial
differential equations to implement image denoising image filtering. These
classes are typically used as edge-preserving smoothing filters. You may also
find the \\... | apache-2.0 |
jethac/ATF | Framework/Atf.Gui/Controls/PropertyEditing/PropertyChangedExtensions.cs | 1642 | //Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq.Expressions;
namespace Sce.Atf.Controls.PropertyEditing
{
/// <summary>
/// Helper to support INotifyPropertyChanged using expression tre... | apache-2.0 |
victorbriz/omim | coding/coding_tests/trie_test.cpp | 9466 | #include "testing/testing.hpp"
#include "coding/trie.hpp"
#include "coding/trie_builder.hpp"
#include "coding/trie_reader.hpp"
#include "coding/byte_stream.hpp"
#include "coding/write_to_sink.hpp"
#include "base/logging.hpp"
#include "std/algorithm.hpp"
#include "std/string.hpp"
#include "std/vector.hpp"
#include "st... | apache-2.0 |
Quikling/gpdb | src/test/tinc/tincrepo/mpp/gpdb/tests/package/procedural_language/plpgsql_caching/functional/views_redefine_view_teardown.sql | 59 | drop view v1 cascade;
drop function if exists viewfunc();
| apache-2.0 |
rgani/roslyn | src/Features/Core/Portable/CodeFixes/FixAllOccurrences/IFixAllGetFixesService.cs | 1008 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.Host;
namespace Micro... | apache-2.0 |
cleliameneghin/sling | bundles/commons/metrics/src/main/java/org/apache/sling/commons/metrics/Histogram.java | 1168 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
hequn8128/flink | flink-runtime/src/main/java/org/apache/flink/runtime/blob/PermanentBlobCache.java | 8721 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
kerwinxu/barcodeManager | zxing/zxing.appspot.com/src/com/google/zxing/web/generator/client/EmailGenerator.java | 2186 | /*
* Copyright (C) 2008 ZXing 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 agr... | bsd-2-clause |
dblock/rubinius | spec/ruby/shared/kernel/method_missing.rb | 3792 | require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../../../fixtures/kernel/classes', __FILE__)
describe :method_missing_defined_module, :shared => true do
describe "for a Module with #method_missing defined" do
it "is not called when a defined method is called" do
@object... | bsd-3-clause |
MichaelTsao/yanpei | web/js/node_modules/leancloud-realtime/node_modules/axios/lib/defaults.js | 1867 | 'use strict';
var utils = require('./utils');
var normalizeHeaderName = require('./helpers/normalizeHeaderName');
var PROTECTION_PREFIX = /^\)\]\}',?\n/;
var DEFAULT_CONTENT_TYPE = {
'Content-Type': 'application/x-www-form-urlencoded'
};
function setContentTypeIfUnset(headers, value) {
if (!utils.isUndefined(hea... | bsd-3-clause |
markogresak/DefinitelyTyped | types/node/v14/test/util.ts | 12010 | import * as util from 'util';
import assert = require('assert');
import { readFile } from 'fs';
{
// Old and new util.inspect APIs
util.inspect(["This is nice"], false, 5);
util.inspect(["This is nice"], false, null);
util.inspect(["This is nice"], {
colors: true,
depth: 5,
cust... | mit |
ibigbug/ant-design | style/README.md | 394 | # style
ant-design 样式库
## 目录说明
|-- components (定义所有组件样式)
|-- core (定义全局样式)
|-- mixins (less mixins)
|-- themes (皮肤)
## 约定
@css-prefix 变量定义整个样式库的类名前缀,默认为 `ant-`,
各个组件中如要自定义类名前缀,请误重名变量,可参照如下定义:
`@btnPrefixClass: ~"@{css-prefix}btn";`
| mit |
drBenway/siteResearch | vendor/pdepend/pdepend/src/test/resources/files/issues/067/testParserHandlesParameterOptionalIsFalseForAllParameters_1.php | 46 | <?php
function foo($foo, $bar, $foobar) {}
?>
| mit |
dsebastien/DefinitelyTyped | types/google-protobuf/google/protobuf/type_pb.d.ts | 7723 | // package: google.protobuf
// file: type.proto
import * as jspb from "../../index";
import * as google_protobuf_any_pb from "./any_pb";
import * as google_protobuf_source_context_pb from "./source_context_pb";
export class Type extends jspb.Message {
getName(): string;
setName(value: string): void;
clearField... | mit |
elbidigital/confd | vendor/src/github.com/aws/aws-sdk-go/service/sqs/api.go | 73117 | // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Package sqs provides a client for Amazon Simple Queue Service.
package sqs
import (
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
)
const opAddPermission = "AddPermission"
// AddPermissionRequest generates a request for the... | mit |
mcmil/wuff | examples/RcpApp-3/MyRcpApp/src/main/java/myrcpapp/View.java | 435 | package myrcpapp;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.part.ViewPart;
public class View extends ViewPart {
@Override
public void createPartControl(final Composite parent) {
Text text = new Text(parent, SWT.MULTI | SWT.B... | mit |
atomify/atomify-css | test/fixtures/css/node_modules/rework-clone/node_modules/rework/index.js | 42 |
module.exports = require('./lib/rework'); | mit |
josephyzhou/nsq | nsqd/test/cluster_test.go | 3316 | package nsq
import (
"fmt"
"github.com/bitly/nsq/util"
"github.com/bmizerany/assert"
"io/ioutil"
"log"
"os"
"strconv"
"testing"
"time"
)
func TestNsqdToLookupd(t *testing.T) {
log.SetOutput(ioutil.Discard)
defer log.SetOutput(os.Stdout)
topicName := "cluster_test" + strconv.Itoa(int(time.Now().Unix()))
... | mit |
olegsvs/android_kernel_archos_persimmon_3_18 | drivers/misc/mediatek/thermal/common/mtk_thermal_dummy.c | 699 | #include <asm/uaccess.h>
/* #include <asm/system.h> */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/err.h>
#include <mtk_thermal_typedefs.h>
/* ************************************ */
/* Definition */
/* ************************************ */
unsigned long (*mtk_therm... | gpl-2.0 |
shminer/kernel-msm-3.18 | drivers/gpu/drm/msm/sde/sde_formats.c | 28085 | /* Copyright (c) 2015-2016, 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... | gpl-2.0 |
kgp700/nexroid-sgs4a-jb | arch/arm/mach-msm/smp2p.c | 50049 | /* arch/arm/mach-msm/smp2p.c
*
* Copyright (c) 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 pr... | gpl-2.0 |
BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.19/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 50329 | /******************************************************************************
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
* ... | gpl-2.0 |
nsberrow/pi.parklands.co.za | wp-content/plugins/googleappslogin-enterprise/core/Google/Signer/PEM.php | 1783 | <?php
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | gpl-2.0 |
AftonTroll/WordPress-Android | WordPress/src/main/java/org/wordpress/android/ui/notifications/blocks/UserNoteBlock.java | 7212 | package org.wordpress.android.ui.notifications.blocks;
import android.content.Context;
import android.text.TextUtils;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.DecelerateInterpolator;
import android.widget.TextView;
import org.json.JSONObject;
import org.wordpress.androi... | gpl-2.0 |
ptsmonteiro/XPAirbusSystems | usr/include/Widgets/XPWidgets.h | 23571 | #ifndef _XPWidgets_h_
#define _XPWidgets_h_
/*
* Copyright 2005-2012 Sandy Barbour and Ben Supnik
*
* All rights reserved. See license.txt for usage.
*
* X-Plane SDK Version: 2.1.1
*
*/
/*
* WIDGETS - THEORY OF OPERATION AND NOTES
*
* Widgets are persis... | gpl-2.0 |
ingted/resource-agents | rgmanager/src/resources/postgres-8.sh | 6052 | #!/bin/bash
#
# Copyright (C) 1997-2003 Sistina Software, Inc. All rights reserved.
# Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundatio... | gpl-2.0 |
Zentyal/samba | selftest/selftesthelpers.py | 6229 | #!/usr/bin/python
# This script generates a list of testsuites that should be run as part of
# the Samba 4 test suite.
# The output of this script is parsed by selftest.pl, which then decides
# which of the tests to actually run. It will, for example, skip all tests
# listed in selftest/skip or only run a subset durin... | gpl-3.0 |
mixerp/mixerp | src/FrontEnd/Scripts/semantic-ui/components/icon.css | 43375 | /*!
* # Semantic UI 2.1.3 - Icon
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2015 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Icon
*******************************/
@font-face {
font-family: 'Icons';... | gpl-3.0 |
orlera/introsde | lab09/Server/src/introsde/document/ws/PeopleImpl.java | 1425 | package introsde.document.ws;
import introsde.document.model.LifeStatus;
import introsde.document.model.Person;
import java.util.List;
import javax.jws.WebService;
//Service Implementation
@WebService(endpointInterface = "introsde.document.ws.People",
serviceName="PeopleService")
public class PeopleImpl implement... | gpl-3.0 |
gwq5210/litlib | thirdparty/sources/boost_1_60_0/doc/html/boost_asio/reference/basic_datagram_socket/send/overload1.html | 7465 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_datagram_socket::send (1 of 3 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" hre... | gpl-3.0 |
happyjack27/autoredistrict | src/org/apache/commons/math3/linear/FieldDecompositionSolver.java | 3261 | /*
* 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 ... | gpl-3.0 |
micaherne/moodle | question/type/calculated/lib.php | 1284 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | gpl-3.0 |
RomeroMalaquias/rsyslog | tests/libdbi-basic-vg.sh | 852 | #!/bin/bash
# This file is part of the rsyslog project, released under GPLv3
# this test is currently not included in the testbench as libdbi
# itself seems to have a memory leak
echo ===============================================================================
echo \[libdbi-basic.sh\]: basic test for libdbi-basic fu... | gpl-3.0 |
genome/genome | lib/perl/Genome/Model/Tools/Sx/Trim.pm | 254 | package Genome::Model::Tools::Sx::Trim;
use strict;
use warnings;
use Genome;
use Data::Dumper 'Dumper';
class Genome::Model::Tools::Sx::Trim {
is => 'Command::Tree',
is_abstract => 1,
};
sub help_brief {
return 'Trim sequences';
}
1;
| lgpl-3.0 |