code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/* * 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 ...
samaitra/ignite
modules/core/src/test/java/org/apache/ignite/cache/IgniteCacheEntryProcessorSequentialCallTest.java
Java
apache-2.0
11,581
/* * Copyright 2000-2014 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...
shahrzadmn/vaadin
server/src/com/vaadin/event/EventRouter.java
Java
apache-2.0
8,333
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright * (C) 2003-2008 Frederico Caldeira Knabben == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your choice: - * GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licen...
zhangjunfang/eclipse-dir
nsp/src/main/webapp/scripts/lib/fckeditor/editor/dialog/common/fck_dialog_common.js
JavaScript
bsd-2-clause
8,894
/* * Copyright (c) 2004-2006 The Regents of The University of Michigan * Copyright (c) 2010 The University of Edinburgh * Copyright (c) 2012 Mark D. Hill and David A. Wood * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
hoangt/tpzsimul.gem5
src/cpu/pred/bpred_unit.cc
C++
bsd-3-clause
2,246
// Copyright 2016 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. package org.chromium.components.minidump_uploader.util; import java.net.HttpURLConnection; /** * A factory class for creating a HttpURLConnection. */ ...
scheib/chromium
components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/util/HttpURLConnectionFactory.java
Java
bsd-3-clause
548
# -*- coding: utf-8 -*- # # Copyright (C) 2007-2010 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://genshi.edgewall.org/wiki/License. # # This software consist...
mitchellrj/genshi
genshi/filters/tests/i18n.py
Python
bsd-3-clause
89,114
// 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/chromeos/login/version_info_updater.h" #include <vector> #include "base/bind.h" #include "base/bind_helpers.h" #include "ba...
mohamed--abdel-maksoud/chromium.src
chrome/browser/chromeos/login/version_info_updater.cc
C++
bsd-3-clause
5,419
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Si...
Windows-Readiness/WinDevWorkshop
RU/!RU 01. Introduction/01. Lab B. Solution/Exercise 2/SimpleNavigation/Properties/AssemblyInfo.cs
C#
mit
1,052
// // Copyright 2012 Christian Henning // // Distributed under 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 // #ifndef BOOST_GIL_EXTENSION_IO_PNG_DETAIL_WRITER_BACKEND_HPP #define BOOST_GIL_EXTENSION_IO_PNG_DETAIL_WRITER_BACKEND_HPP ...
kumakoko/KumaGL
third_lib/boost/1.75.0/boost/gil/extension/io/png/detail/writer_backend.hpp
C++
mit
16,790
# encoding: utf-8 require 'spec_helper' def encode_base64(str) Mail::Encodings::Base64.encode(str) end def check_decoded(actual, expected) if RUBY_VERSION >= '1.9' expect(actual.encoding).to eq Encoding::BINARY expect(actual).to eq expected.force_encoding(Encoding::BINARY) else expect(actual).to eq ...
kjg/mail
spec/mail/attachments_list_spec.rb
Ruby
mit
13,083
/* * Copyright 2016 Rethink Robotics * * Copyright 2016 Chris Smith * * 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 * ...
tarquasso/softroboticfish6
fish/pi/ros/catkin_ws/src/rosserial/devel/share/gennodejs/ros/rosserial_msgs/find.js
JavaScript
mit
1,464
/** * @fileoverview Rule to flag wrapping non-iife in parens * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------------------ /** * Checks whether or not a given n...
EdwardStudy/myghostblog
versions/1.25.7/node_modules/eslint/lib/rules/accessor-pairs.js
JavaScript
mit
5,257
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This is the version of the Android-specific Chromium linker that uses // the crazy linker to load libraries. // This source code *cannot* depend on an...
junhuac/MQUIC
src/base/android/linker/legacy_linker_jni.cc
C++
mit
16,030
// 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.Win32.SafeHandles; using System.Diagnostics; using System.Threading; namespace System.Net.Sockets ...
nbarbettini/corefx
src/Common/src/System/Net/SafeCloseSocket.cs
C#
mit
9,141
// Package api provides a generic, low-level WebDriver API client for Go. // All methods map directly to endpoints of the WebDriver Wire Protocol: // https://code.google.com/p/selenium/wiki/JsonWireProtocol // // This package was previously internal to the agouti package. It currently // does not have a fixed API, but ...
johanbrandhorst/protobuf
vendor/github.com/sclevine/agouti/api/api.go
GO
mit
418
module ActiveRecord module AttributeMethods module Serialization extend ActiveSupport::Concern module ClassMethods # If you have an attribute that needs to be saved to the database as an # object, and retrieved as the same object, then specify the name of that # attribute usin...
afuerstenau/daily-notes
vendor/cache/ruby/2.5.0/gems/activerecord-5.0.6/lib/active_record/attribute_methods/serialization.rb
Ruby
mit
2,841
//------------------------------------------------------------------------------ // <copyright file="PerformanceCountersElement.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //-----------------------------------------------------------------------...
sekcheong/referencesource
System/net/System/Net/Configuration/PerformanceCountersElement.cs
C#
mit
1,389
//used for the media picker dialog angular.module("umbraco") .controller("Umbraco.Dialogs.MediaPickerController", function ($scope, mediaResource, umbRequestHelper, entityResource, $log, mediaHelper, eventsService, treeService, $cookies, $element, $timeout, notificationsService) { var dial...
gregoriusxu/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/views/common/dialogs/mediapicker.controller.js
JavaScript
mit
6,762
package volume import ( "bytes" "fmt" "io/ioutil" "testing" "github.com/docker/docker/api/types" "github.com/docker/docker/cli/internal/test" "github.com/pkg/errors" // Import builders to get the builder function as package function . "github.com/docker/docker/cli/internal/test/builders" "github.com/docker/...
Originate/exosphere
vendor/github.com/moby/moby/cli/command/volume/inspect_test.go
GO
mit
4,211
/* ********************************************************************************************* System Loader Implementation - Implemented to https://github.com/jorendorff/js-loaders/blob/master/browser-loader.js - <script type="module"> supported *********************************************************...
nfl/es6-module-loader
src/system.js
JavaScript
mit
1,825
<?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...
drupaals/demo.com
d8/core/modules/config/src/Tests/ConfigModuleOverridesTest.php
PHP
gpl-2.0
2,710
/// -*- 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 ...
andybarry/ardupilot
libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp
C++
gpl-3.0
60,871
<?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; /** ...
viniciusferreira/mautic
plugins/MauticCrmBundle/MauticCrmBundle.php
PHP
gpl-3.0
444
<?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...
neos/typo3cr
Tests/Functional/Domain/Fixtures/HappyNode.php
PHP
gpl-3.0
665
/*===================================================================== 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...
caoxiongkun/qgroundcontrol
src/CmdLineOptParser.cc
C++
agpl-3.0
2,813
// --------------------------------------------------------------------- // // 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...
pesser/dealii
tests/bits/cone_01.cc
C++
lgpl-2.1
1,753
//* 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...
nuclear-wizard/moose
framework/src/postprocessors/AreaPostprocessor.C
C++
lgpl-2.1
1,109
# 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(...
danielru/moose
python/PresentationBuilder/slidesets/MergeCoverSet.py
Python
lgpl-2.1
1,395
/** * 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...
department-of-veterans-affairs/ChartReview
web-app/js/ext-5.1.0/src/view/MultiSelectorSearch.js
JavaScript
apache-2.0
8,477
// // 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...
begoldsm/azure-sdk-for-node
test/services/blob/blobservice-tests.js
JavaScript
apache-2.0
59,746
// ================================================================================================= // Copyright 2011 Twitter, Inc. // ------------------------------------------------------------------------------------------------- // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use ...
abel-von/commons
src/java/com/twitter/common/net/UrlResolver.java
Java
apache-2.0
15,827
/* * 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 ...
ketralnis/elephant-bird
src/java/com/twitter/elephantbird/pig/piggybank/InvokeForDouble.java
Java
apache-2.0
1,672
define([ './addExtensionsRequired', './addToArray', './ForEach', './getAccessorByteStride', '../../Core/Cartesian3', '../../Core/Math', '../../Core/clone', '../../Core/defaultValue', '../../Core/defined', '../../Core/Quaternion', ...
EnquistLab/ffdm-frontend
public/assets/images/Workers/ThirdParty/GltfPipeline/updateVersion.js
JavaScript
apache-2.0
36,201
// 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....
jkotas/roslyn
src/VisualStudio/Core/Def/Implementation/Workspace/VisualStudioDocumentNavigationService.cs
C#
apache-2.0
15,102
/* * 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 ...
tr3vr/jena
jena-arq/src/main/java/org/apache/jena/sparql/expr/E_StrEncodeForURI.java
Java
apache-2.0
1,365
/* *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...
kasungayan/product-as
modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/appserver/ui/integration/test/webapp/spring/SpringWebApplicationDeploymentTestCase.java
Java
apache-2.0
8,185
/* * 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/flink
flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/proxy/KinesisProxyV2Interface.java
Java
apache-2.0
2,775
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...
mingzhi22/homebrew-cask
Casks/dragthing.rb
Ruby
bsd-2-clause
361
<?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 ...
exclie/Imagenologia
vendor/zendframework/zendframework/tests/ZendTest/Mvc/Router/Http/TestAsset/DummyRouteWithParam.php
PHP
bsd-3-clause
1,223
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 =...
nwjs/chromium.src
third_party/protobuf/js/experimental/runtime/kernel/conformance/conformance_testee.js
JavaScript
bsd-3-clause
3,602
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")...
eprislac/guard-yard
vendor/jruby/1.9/gems/rails_best_practices-1.15.7/spec/rails_best_practices/core/klasses_spec.rb
Ruby
mit
1,109
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================= ** ** Class: ArithmeticException ** ** ** Purpose: Exception class for bad arithmetic conditions! ** ** ============================================...
sekcheong/referencesource
mscorlib/system/arithmeticexception.cs
C#
mit
1,736
// 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...
AlexGhiondea/buildtools
src/Microsoft.DotNet.Build.VstsBuildsApi/VstsReleaseHttpClient.cs
C#
mit
2,198
// 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...
nbarbettini/corefx
src/shims/manual/mscorlib.forwards.cs
C#
mit
3,065
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...
MelanieGault/puppet-logrotate
spec/defines/rule_spec.rb
Ruby
mit
30,362
<?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; ...
Teisi/typo3-deploy
vendor/symfony/console/Tests/Style/SymfonyStyleTest.php
PHP
mit
3,826
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Channels { using System.Threading; enum AsyncReceiveResult { Completed, ...
akoeplinger/referencesource
System.ServiceModel/System/ServiceModel/Channels/IMessageSource.cs
C#
mit
733
/** * @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...
xcaliber-tech/angular
modules/@angular/core/test/di/forward_ref_spec.ts
TypeScript
mit
661
/* * 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...
josephwilk/finger-smudge
vendor/chromaprint/src/chroma_filter.cpp
C++
epl-1.0
1,885
<?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...
SayenkoDesign/selectahead
wp-content/plugins/woocommerce-quickbooks-pos-2013/QuickBooks/QBXML/Schema/Object/PaymentMethodQueryRq.php
PHP
gpl-2.0
3,453
/* * 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 ...
stain/jdk8u
src/share/classes/javax/swing/text/DefaultStyledDocument.java
Java
gpl-2.0
107,201
<?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...
isengartz/food
tmp/install_5662784dc4d75/admin/plugins/vmpayment/amazon/fields/ipnurl.php
PHP
gpl-2.0
1,639
///////////////////////////////////////////////////////////////////////////// // 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: ...
radiaku/decoda
libs/wxWidgets/src/msw/tbar95.cpp
C++
gpl-3.0
58,053
<?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 ...
enovation/moodle
filter/activitynames/version.php
PHP
gpl-3.0
1,206
<?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...
ivesbai/server
vendor/ZendFramework/library/Zend/Json/Server/Exception.php
PHP
agpl-3.0
1,173
/** Messages for Sinhala (සිංහල) * Exported from translatewiki.net * * Translators: * - Singhalawap */ var I18n = { on_leave_page: "ඔබගේ වෙනස්කිරීම් අහිමිවනු ඇත" };
railsfactory-sriman/knowledgeBase
public/javascripts/i18n/si.js
JavaScript
agpl-3.0
235
<?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...
ratliff/server
vendor/ZendFramework/library/Zend/Validate/Db/Abstract.php
PHP
agpl-3.0
4,823
//===- 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 // //===---------------------------...
root-mirror/root
interpreter/llvm/src/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
C++
lgpl-2.1
11,857
//===-- 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 // //===---------------------------...
root-mirror/root
interpreter/llvm/src/lib/Target/RISCV/RISCVFrameLowering.cpp
C++
lgpl-2.1
15,861
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...
amyzheng424/elasticsearch-net
src/Nest/Domain/Mapping/Descriptors/FieldDataFilterDescriptor.cs
C#
apache-2.0
893
//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...
SonyWWS/ATF
Framework/Atf.Gui.WinForms/Controls/SplitButton.cs
C#
apache-2.0
14,095
/* * 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...
carrchang/vaadin
uitest/src/com/vaadin/tests/themes/valo/TestIcon.java
Java
apache-2.0
1,580
//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...
jethac/ATF
Framework/Atf.Gui/Controls/PropertyEditing/PropertyChangedExtensions.cs
C#
apache-2.0
1,642
#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...
victorbriz/omim
coding/coding_tests/trie_test.cpp
C++
apache-2.0
9,466
// 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...
rgani/roslyn
src/Features/Core/Portable/CodeFixes/FixAllOccurrences/IFixAllGetFixesService.cs
C#
apache-2.0
1,008
/* * 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 ...
cleliameneghin/sling
bundles/commons/metrics/src/main/java/org/apache/sling/commons/metrics/Histogram.java
Java
apache-2.0
1,168
/* * 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 ...
hequn8128/flink
flink-runtime/src/main/java/org/apache/flink/runtime/blob/PermanentBlobCache.java
Java
apache-2.0
8,721
/* * 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...
kerwinxu/barcodeManager
zxing/zxing.appspot.com/src/com/google/zxing/web/generator/client/EmailGenerator.java
Java
bsd-2-clause
2,186
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...
dblock/rubinius
spec/ruby/shared/kernel/method_missing.rb
Ruby
bsd-3-clause
3,792
'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...
MichaelTsao/yanpei
web/js/node_modules/leancloud-realtime/node_modules/axios/lib/defaults.js
JavaScript
bsd-3-clause
1,867
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...
markogresak/DefinitelyTyped
types/node/v14/test/util.ts
TypeScript
mit
12,010
<?php function foo($foo, $bar, $foobar) {} ?>
drBenway/siteResearch
vendor/pdepend/pdepend/src/test/resources/files/issues/067/testParserHandlesParameterOptionalIsFalseForAllParameters_1.php
PHP
mit
46
// 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...
dsebastien/DefinitelyTyped
types/google-protobuf/google/protobuf/type_pb.d.ts
TypeScript
mit
7,723
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...
mcmil/wuff
examples/RcpApp-3/MyRcpApp/src/main/java/myrcpapp/View.java
Java
mit
435
module.exports = require('./lib/rework');
atomify/atomify-css
test/fixtures/css/node_modules/rework-clone/node_modules/rework/index.js
JavaScript
mit
42
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())) ...
josephyzhou/nsq
nsqd/test/cluster_test.go
GO
mit
3,316
<?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...
nsberrow/pi.parklands.co.za
wp-content/plugins/googleappslogin-enterprise/core/Google/Signer/PEM.php
PHP
gpl-2.0
1,783
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...
AftonTroll/WordPress-Android
WordPress/src/main/java/org/wordpress/android/ui/notifications/blocks/UserNoteBlock.java
Java
gpl-2.0
7,212
#!/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...
Zentyal/samba
selftest/selftesthelpers.py
Python
gpl-3.0
6,229
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...
orlera/introsde
lab09/Server/src/introsde/document/ws/PeopleImpl.java
Java
gpl-3.0
1,425
/* * 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 ...
happyjack27/autoredistrict
src/org/apache/commons/math3/linear/FieldDecompositionSolver.java
Java
gpl-3.0
3,261
<?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 ...
micaherne/moodle
question/type/calculated/lib.php
PHP
gpl-3.0
1,284
/* * 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...
mnovak1/activemq-artemis
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/client/ReceiveNoWaitTest.java
Java
apache-2.0
2,747
/* * Copyright 2000-2013 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...
asedunov/intellij-community
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/task/ToolWindowModuleService.java
Java
apache-2.0
4,952
/* * 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, software * distribut...
dabaitu/presto
presto-main/src/test/java/com/facebook/presto/execution/buffer/TestClientBuffer.java
Java
apache-2.0
15,131
package shingle import ( "container/ring" "fmt" "github.com/blevesearch/bleve/analysis" "github.com/blevesearch/bleve/registry" ) const Name = "shingle" type ShingleFilter struct { min int max int outputOriginal bool tokenSeparator string fill string ring *ring.Ri...
pmezard/bleve
analysis/token_filters/shingle/shingle.go
GO
apache-2.0
3,459
// 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.Linq; using System.IO; using Roslyn.Test.Utilities; using Microsoft.CodeAnalysis.Test.Utilities; using Xunit; using Microsoft.Code...
lorcanmooney/roslyn
src/Scripting/CoreTest.Desktop/MetadataShadowCopyProviderTests.cs
C#
apache-2.0
12,063
<?php /** Telugu (తెలుగు) * * See MessagesQqq.php for message documentation incl. usage of parameters * To improve a translation please visit http://translatewiki.net * * @ingroup Language * @file * * @author Arjunaraoc * @author Chaduvari * @author Jprmvnvijay5 * @author Kaganer * @author Kiranmayee * @au...
BRL-CAD/web
wiki/languages/messages/MessagesTe.php
PHP
bsd-2-clause
376,813
package cz.metacentrum.perun.webgui.json.authzResolver; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.json.client.JSONNumber; import com.google.gwt.json.client.JSONObject; import cz.metacentrum.perun.webgui.client.PerunWebSession; import cz.metacentrum.perun.webgui.client.UiElements; import...
zlamalp/perun
perun-web-gui/src/main/java/cz/metacentrum/perun/webgui/json/authzResolver/RemoveAdmin.java
Java
bsd-2-clause
13,511
/* * kmp_debug.cpp -- debug utilities for the Guide library */ //===----------------------------------------------------------------------===// // // 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: ...
endlessm/chromium-browser
third_party/llvm/openmp/runtime/src/kmp_debug.cpp
C++
bsd-3-clause
3,628
# Copyright (c) 2006-2010 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # 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, o...
michalliu/chromium-depot_tools
third_party/pylint/checkers/typecheck.py
Python
bsd-3-clause
16,288
// 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 "components/policy/core/common/cloud/device_management_service.h" #include <utility> #include "base/bind.h" #include "base/compiler_specifi...
7kbird/chrome
components/policy/core/common/cloud/device_management_service.cc
C++
bsd-3-clause
17,300
// RUN: %clang_cc1 -verify -fopenmp %s -Wuninitialized // RUN: %clang_cc1 -verify -fopenmp-simd %s -Wuninitialized extern int omp_default_mem_alloc; void xxx(int argc) { int i, lin, step; // expected-note {{initialize the variable 'lin' to silence this warning}} expected-note {{initialize the variable 'step' to si...
endlessm/chromium-browser
third_party/llvm/clang/test/OpenMP/for_simd_linear_messages.cpp
C++
bsd-3-clause
8,731
import { __extends } from "tslib"; /** * ============================================================================ * IMPORTS * ============================================================================ * @hidden */ import { dataLoader } from "./DataLoader"; import { JSONParser } from "./JSONParser"; ...
cdnjs/cdnjs
ajax/libs/amcharts4/4.10.9/.internal/core/data/DataSource.js
JavaScript
mit
20,447
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.javascript.drivers; import java.io.File; import java.io.FileReader; import java.io.IOExceptio...
NhlalukoG/android_samsung_j7e3g
vendor/samsung/preloads/UniversalMDMClient/rhino1_7R4/testsrc/org/mozilla/javascript/drivers/JsTestsBase.java
Java
gpl-2.0
2,042
// PR c++/82293 // { dg-do compile { target c++11 } } // { dg-options "-Wshadow" } template <typename> struct S { int f{[this](){return 42;}()}; }; int main(){ return S<int>{}.f; }
Gurgel100/gcc
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice24.C
C++
gpl-2.0
187
<?php /** * This file is automatically @generated by {@link BuildMetadataPHPFromXml}. * Please don't modify it directly. */ return array ( 'generalDesc' => array ( 'NationalNumberPattern' => ' [126-9]\\d{4,11}| 3(?: [0-79]\\d{3,10}| 8[2-9]\\d{2,9} ) ...
ingagecreative/cg
wp-content/plugins/constant-contact-api/vendor/giggsey/libphonenumber-for-php/src/libphonenumber/data/PhoneNumberMetadata_RS.php
PHP
gpl-2.0
5,064
<?php /* * Copyright 2016 Johannes M. Schmitt <schmittjoh@gmail.com> * * 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 re...
SheYo/bc
webform_handlers/vendor/jms/serializer/tests/Fixtures/ObjectWithNullProperty.php
PHP
gpl-2.0
980
// -*- c-basic-offset: 4 -*- /* * elementmap.{cc,hh} -- an element map class * Eddie Kohler * * Copyright (c) 1999-2000 Massachusetts Institute of Technology * Copyright (c) 2000 Mazu Networks, Inc. * Copyright (c) 2001 International Computer Science Institute * Copyright (c) 2008-2009 Meraki, Inc. * * Permiss...
NetSys/click
tools/lib/elementmap.cc
C++
gpl-2.0
21,491
/* * Copyright (C) 2005-2009 Team XBMC * http://www.xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * ...
j2carv/xbmc-1
xbmc/linux/DBusUtil.cpp
C++
gpl-2.0
4,822