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
<?php // vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: /** * Toc rule end renderer for Xhtml * * PHP versions 4 and 5 * * @category Text * @package Text_Wiki * @author Paul M. Jones <pmjones@php.net> * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @version CVS: ...
idoxlr8/HVAC
xataface/lib/Text/Wiki/Render/Xhtml/Toc.php
PHP
gpl-2.0
2,899
module Rails module VERSION #:nodoc: MAJOR = 2 MINOR = 1 TINY = 0 STRING = [MAJOR, MINOR, TINY].join('.') end end
YSATools/The-Ward-Menu
vendor/railties/lib/rails/version.rb
Ruby
gpl-2.0
136
/* * Copyright (C) 2005-2013 Team XBMC * http://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. * * ...
onetechgenius/XBMCast2TV
xbmc/interfaces/legacy/Control.cpp
C++
gpl-2.0
49,424
namespace WikiFunctions.Profiles { partial class AWBLogUploadProfilesForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
svn2github/autowikibrowser
tags/ServerPlugin/WikiFunctions/Profiles/AWBLogUploadProfilesForm.designer.cs
C#
gpl-2.0
14,307
/* *------------------------------------------------------------------------------ * Copyright (C) 2006-2014 University of Dundee & Open Microscopy Environment. * All rights reserved. * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
simleo/openmicroscopy
components/blitz/src/omero/gateway/util/NetworkChecker.java
Java
gpl-2.0
6,574
/* Delegate.java -- Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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)...
taciano-perez/JamVM-PH
src/classpath/org/omg/CORBA/portable/Delegate.java
Java
gpl-2.0
15,054
/* * Copyright (C) 2005-2012 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. * ...
koying/xbmc-pivos
xbmc/music/tags/MusicInfoTagLoaderMidi.cpp
C++
gpl-2.0
2,164
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
dvh11er/mage-cheatcode
magento/lib/Varien/Image.php
PHP
gpl-2.0
7,490
/* * Copyright (c) 1998, 2010, 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 ...
BobZhao/HotSpotResearch
src/share/vm/utilities/histogram.hpp
C++
gpl-2.0
3,519
/** * Authentication controller. * * Here we just bind together the Docs.Auth and AuthForm component. */ Ext.define('Docs.controller.Auth', { extend: 'Ext.app.Controller', requires: [ 'Docs.Auth', 'Docs.Comments' ], refs: [ { ref: "authHeaderForm", s...
ckeditor/jsduck
template/app/controller/Auth.js
JavaScript
gpl-3.0
2,613
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. * @license http://codei...
Karplyak/avtomag.url.ph
system/libraries/Session.php
PHP
gpl-3.0
19,399
package dockerimport import ( "fmt" "github.com/mitchellh/packer/builder/docker" "github.com/mitchellh/packer/common" "github.com/mitchellh/packer/packer" ) const BuilderId = "packer.post-processor.docker-import" type Config struct { common.PackerConfig `mapstructure:",squash"` Repository string `mapstructure...
uber/packer
post-processor/docker-import/post-processor.go
GO
mpl-2.0
2,142
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. package model import ( "strings" "testing" ) func TestInitialLoadJson(t *testing.T) { u := &User{Id: NewId()} o := InitialLoad{User: u} json := o.ToJson() ro := InitialLoadFromJson(strings.NewReader(json)) ...
rahulltkr/platform
model/initial_load_test.go
GO
agpl-3.0
385
/* * eXist Open Source Native XML Database * Copyright (C) 2007 The eXist Project * http://exist-db.org * * This program 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 * ...
shabanovd/exist
extensions/indexes/spatial/test/src/org/exist/indexing/spatial/AllSpatialTests.java
Java
lgpl-2.1
1,202
/*************************************************************************** * Copyright (c) 2009 Jürgen Riegel <juergen.riegel@web.de> * * * * This file is part of the FreeCAD CAx development system. * * ...
sanguinariojoe/FreeCAD
src/Gui/TaskView/TaskDialog.cpp
C++
lgpl-2.1
3,435
// Copyright 2012 Cloudera 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 wr...
brightchen/Impala
be/src/util/metrics.cc
C++
apache-2.0
7,566
/* * Copyright 2000-2014 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...
diorcety/intellij-community
platform/core-api/src/com/intellij/openapi/application/ModalityState.java
Java
apache-2.0
2,089
/* * 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 ...
u2009cf/spark-radar
launcher/src/main/java/org/apache/spark/launcher/LauncherServer.java
Java
apache-2.0
11,989
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('estraverse')) : typeof define === 'function' && define.amd ? define(['estraverse'], factory) : (global = global || self, global.esquery = factory(global.estraverse)); }(this, (function (e...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/esquery/dist/esquery.lite.js
JavaScript
apache-2.0
105,133
/* * 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 no...
PaytmLabs/cassandra
test/unit/org/apache/cassandra/service/AntiEntropyServiceTestAbstract.java
Java
apache-2.0
11,389
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The production x ^= y is the same as x = x ^ y * * @path ch11/11.13/11.13.2/S11.13.2_A4.10_T2.2.js * @description Type(x) is different from Type(y) and both types vary between N...
hippich/typescript
tests/Fidelity/test262/suite/ch11/11.13/11.13.2/S11.13.2_A4.10_T2.2.js
JavaScript
apache-2.0
1,611
/** * Copyright 2011, Big Switch Networks, Inc. * Originally created by David Erickson, Stanford University * * 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://w...
alberthitanaya/floodlight-dnscollector
src/main/java/net/floodlightcontroller/topology/web/SwitchClustersResource.java
Java
apache-2.0
2,712
/* * 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 ...
artem-aliev/tinkerpop
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/ExplainTest.java
Java
apache-2.0
4,122
class Minitube < Cask version 'latest' sha256 :no_check url 'http://flavio.tordini.org/files/minitube/minitube.dmg' appcast 'http://flavio.tordini.org/minitube-ws/appcast.xml' homepage 'http://flavio.tordini.org/minitube' link 'Minitube.app' end
NorthIsUp/homebrew-cask
Casks/minitube.rb
Ruby
bsd-2-clause
260
cask "lynx" do version "7.5.2.0" sha256 :no_check url "https://download.saharasupport.com/lynx#{version.major}/production/macx/Lynx#{version.major}-install.dmg", verified: "download.saharasupport.com" name "LYNX Whiteboard by Clevertouch" desc "Cross platform presentation and productivity app" homepa...
nrlquaker/homebrew-cask
Casks/lynx.rb
Ruby
bsd-2-clause
649
// 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. #include "chromeos/network/onc/onc_certificate_importer_impl.h" #include <cert.h> #include <certdb.h> #include <keyhi.h> #include <pk11pub.h> #include <s...
boundarydevices/android_external_chromium_org
chromeos/network/onc/onc_certificate_importer_impl_unittest.cc
C++
bsd-3-clause
12,260
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.react.modules.i18nmanager; import android.content.Context; import android.content.SharedPreferences; import a...
exponent/exponent
android/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/I18nUtil.java
Java
bsd-3-clause
3,388
cdb.admin.overlays.LayerSelector = cdb.core.View.extend({ tagName: 'div', className: 'cartodb-layer-selector-box', events: { "click": '_openDropdown', "dblclick": 'killEvent', "mousedown": 'killEvent' }, default_options: { timeout: 0, msg: '' }, initialize: function() { _...
nyimbi/cartodb
lib/assets/javascripts/cartodb/table/overlays/layer_selector.js
JavaScript
bsd-3-clause
6,825
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; const React = require('react'); const ReactDOM = require('react-dom'); describe('ReactMou...
jdlehman/react
packages/react-dom/src/__tests__/ReactMountDestruction-test.js
JavaScript
mit
2,971
//------------------------------------------------------------------------------ // <copyright file="XmlReservedNS.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> //-----------------------------------------...
sekcheong/referencesource
System.Xml/System/Xml/XmlReservedNs.cs
C#
mit
2,890
/** * @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 {ReflectiveInjector, ɵglobal as global} from '@angular/core'; import {ApplicationRef, ApplicationRef_} from '...
souvikbasu/angular
packages/platform-browser/test/browser/tools/spies.ts
TypeScript
mit
921
// This code is in the public domain -- Ignacio Castaño <castano@gmail.com> #include "Debug.h" #include "Array.inl" #include "StrLib.h" // StringBuilder #include "StdStream.h" // fileOpen #include <stdlib.h> // Extern #if NV_OS_WIN32 //&& NV_CC_MSVC # define WIN32_LEAN_AND_MEAN # define VC_EXTRALEA...
dmsovetov/nvidia-texture-tools
src/nvcore/Debug.cpp
C++
mit
40,281
module Fog module Compute class XenServer module Models class Vlans < Collection model Fog::Compute::XenServer::Models::Vlan end end end end end
jonpstone/portfolio-project-rails-mean-movie-reviews
vendor/bundle/ruby/2.3.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/models/vlans.rb
Ruby
mit
194
/** @module ember-data */ import Ember from 'ember'; import Model from "ember-data/model"; var get = Ember.get; var capitalize = Ember.String.capitalize; var underscore = Ember.String.underscore; const { assert } = Ember; /* Extend `Ember.DataAdapter` with ED specific code. @class DebugAdapter @namespace DS ...
r0zar/ember-rails-stocks
stocks/node_modules/ember-data/addon/-private/system/debug/debug-adapter.js
JavaScript
mit
3,163
<?php /** * @package wpml-core * @subpackage wpml-user-language */ class WPML_User_Language_Switcher_UI { /** * WPML_User_Language_Switcher_UI constructor. * * @param WPML_User_Language_Switcher $WPML_User_Language_Switcher * @param WPML_User_Language_Switcher_Resources $WPML_User_Language_Sw...
Bamboo3000/searchit
wp-content/plugins/sitepress-multilingual-cms/classes/user-language/class-wpml-user-language-switcher-ui.php
PHP
gpl-2.0
1,231
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013 Budiarto Herman * * 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 i...
pradeepnazareth/NS-3-begining
src/lte/test/test-lte-handover-target.cc
C++
gpl-2.0
16,072
from PyQt5.uic import properties
drnextgis/QGIS
python/PyQt/PyQt5/uic/properties.py
Python
gpl-2.0
33
<?php /** * Date Exception * * PHP version 5 * * Copyright (C) Villanova University 2011. * * 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 ...
ubtue/KrimDok
module/VuFind/src/VuFind/Exception/Date.php
PHP
gpl-2.0
1,319
<?php /** * This class is used for Manages all the options related With Magic Fields * */ class RCCWP_Options { /** * Update the options of Magic Fields * * @params array $options is a array with the options of Magic Fields */ function Update($options) { $options = serialize($options); update_opt...
matthewbirtch/birtchfarms.com
wp-content/plugins/magic-fields/RCCWP_Options.php
PHP
gpl-2.0
1,237
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation \\/ M anipulation | --------...
Atizar/RapidCFD-dev
src/TurbulenceModels/phaseIncompressible/PhaseIncompressibleTurbulenceModel/PhaseIncompressibleTurbulenceModel.H
C++
gpl-3.0
4,433
/*! * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ (function () { describe('startFromFilter', function() { var startFrom; beforeEach(module('piwikApp.filter')); beforeEach(inject(function($inject...
befair/soulShape
wp/soulshape.earth/piwik/plugins/CoreHome/angularjs/common/filters/startfrom.spec.js
JavaScript
agpl-3.0
1,121
// Accord Unit Tests // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at 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 F...
AnnaPeng/framework
Unit Tests/Accord.Tests.Statistics/Distributions/Univariate/Continuous/NormalDistributionTest.cs
C#
lgpl-2.1
15,010
// AForge Image Processing Library // AForge.NET framework // http://www.aforgenet.com/framework/ // // Copyright © Andrew Kirillov, 2005-2010 // andrew.kirillov@aforgenet.com // namespace AForge.Imaging.Filters { using System; using System.Collections.Generic; using System.Drawing; using ...
AnnaPeng/framework
Sources/Accord.Imaging/AForge/Filters/Color Filters/LevelsLinear.cs
C#
lgpl-2.1
10,124
/** * Vosao CMS. Simple CMS for Google App Engine. * * Copyright (C) 2009-2010 Vosao development team. * * 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 t...
vosaocms/vosao
api/src/org/vosao/business/PageBusiness.java
Java
lgpl-2.1
6,389
namespace AForge.Video.DirectShow { partial class VideoCaptureDeviceForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
AnnaPeng/framework
Sources/Accord.Video.DirectShow/VideoCaptureDeviceForm.Designer.cs
C#
lgpl-2.1
11,285
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
dbashyal/MagentoStarterBase
trunk/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/Edit/Tab/Main.php
PHP
lgpl-3.0
11,823
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OfficeDevPnP.Core; using Contoso.Provisioning.Hybrid.Contract; using System.IO; using System.Diagnostics; using Microsoft.SharePoint.Client; using OfficeDevPnP.Core.Entities; using Microsoft.Window...
stijnneirinckx/PnP
Solutions/Provisioning.Hybrid/Provisioning.Hybrid.Core/SiteTemplates/SiteProvisioningBase.cs
C#
apache-2.0
8,236
// Go support for Protocol Buffers - Google's data interchange format // // Copyright 2010 The Go Authors. All rights reserved. // http://code.google.com/p/goprotobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // m...
cvik/etcd
third_party/code.google.com/p/gogoprotobuf/proto/text_parser_test.go
GO
apache-2.0
10,773
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution...
dut3062796s/PTVS
Common/Tests/Utilities.UI/UI/VisualStudioApp.cs
C#
apache-2.0
42,155
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
dAck2cC2/m3e
src/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/d_gain_p.cpp
C++
apache-2.0
6,349
#region Copyright notice and license // Copyright 2015 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless req...
ctiller/grpc
src/csharp/Grpc.Core.Tests/FakeCredentials.cs
C#
apache-2.0
1,490
/* Copyright 2016 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, ...
Stackdriver/heapster
vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_pods_test.go
GO
apache-2.0
61,774
// Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum 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 of the License...
Getline-Network/getline
vendor/github.com/ethereum/go-ethereum/tests/block_test.go
GO
apache-2.0
1,637
package org.keycloak.provider; import org.jboss.logging.Logger; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.ServiceLoader; /** * @author <a href="mailto:sthorger@redhat.com">Stian Thorgersen</a> */ public class ProviderManager { private ...
matzew/keycloak
services/src/main/java/org/keycloak/provider/ProviderManager.java
Java
apache-2.0
2,461
/* * 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...
marsorp/blog
presto166/presto-parser/src/main/java/com/facebook/presto/sql/tree/GroupingSets.java
Java
apache-2.0
3,087
/* * 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/store/jdbc/CacheJdbcStoreSessionListenerSelfTest.java
Java
apache-2.0
6,111
// +build !windows package devices import ( "errors" "golang.org/x/sys/unix" ) func (d *Rule) Mkdev() (uint64, error) { if d.Major == Wildcard || d.Minor == Wildcard { return 0, errors.New("cannot mkdev() device with wildcards") } return unix.Mkdev(uint32(d.Major), uint32(d.Minor)), nil }
xychu/kubernetes
vendor/github.com/opencontainers/runc/libcontainer/devices/device_unix.go
GO
apache-2.0
301
package com.salesmanager.web.entity.shop; import org.hibernate.validator.constraints.Email; import org.hibernate.validator.constraints.NotEmpty; public class ContactForm { @NotEmpty private String name; @NotEmpty private String subject; @Email private String email; @NotEmpty private String comment; priv...
asheshsaraf/ecommerce-simple
sm-shop/src/main/java/com/salesmanager/web/entity/shop/ContactForm.java
Java
apache-2.0
1,264
/* * [The "BSD license"] * Copyright (c) 2013 Terence Parr * Copyright (c) 2013 Sam Harwell * 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 code...
hce/antlr4
runtime/CSharp/runtime/CSharp/Antlr4.Runtime/NoViableAltException.cs
C#
bsd-3-clause
4,073
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInitcdf72ff6e7f034c7d87f9bb5bd53f8da::getLoader();
ThreePeple/xjqjsjpgldjkkuiloojjloj
vendor/autoload.php
PHP
bsd-3-clause
183
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
elfprince13/Torque3D
Engine/source/platformWin32/winTime.cpp
C++
mit
4,979
require 'spec_helper' describe SCSSLint::Linter::DeclarationOrder do context 'when rule is empty' do let(:scss) { <<-SCSS } p { } SCSS it { should_not report_lint } end context 'when rule contains only properties' do let(:scss) { <<-SCSS } p { background: #000; ...
ingdir/scss-lint
spec/scss_lint/linter/declaration_order_spec.rb
Ruby
mit
10,847
/** * Module dependencies */ var fs = require('fs-extra') , _ = require('lodash') , path = require('path') , reportback = require('reportback')(); /** * Generate a JSON file * * @option {String} rootPath * @option {Object} data * [@option {Boolean} force=false] * * @handlers success * @handlers error *...
harindaka/node-mvc-starter
node_modules/sails/node_modules/sails-generate/lib/helpers/jsonfile/index.js
JavaScript
mit
1,395
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web.Http; using WebStack.QA.Share.Controllers.TypeLibrary; namespace WebStack.QA.Share.Controllers { public class CollectionController : ApiController { #region IEnumerable, IEnumerable<T> ...
lungisam/WebApi
OData/test/E2ETestV3/WebStack.QA.Share/Controllers/CollectionController.cs
C#
mit
2,854
require 'active_support/execution_wrapper' module ActiveSupport #-- # This class defines several callbacks: # # to_prepare -- Run once at application startup, and also from # +to_run+. # # to_run -- Run before a work run that is reloading. If # +reload_classes_only_on_change+ is true (the defau...
afuerstenau/daily-notes
vendor/cache/ruby/2.5.0/gems/activesupport-5.0.6/lib/active_support/reloader.rb
Ruby
mit
2,922
Boxen::Application.configure do config.action_controller.perform_caching = false config.action_dispatch.best_standards_support = :builtin config.active_record.auto_explain_threshold_in_seconds = 0.5 config.active_record.mass_assignment_sanitizer = :strict config.active_support.d...
wednesdayagency/boxen-web
config/environments/development.rb
Ruby
mit
685
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using Roslyn.Utilities; namespace M...
AlekseyTs/roslyn
src/Compilers/Core/Portable/InternalUtilities/FailFast.cs
C#
mit
3,898
/* * PhoneGap is available under *either* the terms of the modified BSD license *or* the * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * * Copyright (c) 2005-2010, Nitobi Software Inc. * Copyright (c) 2010, IBM Corporation */ package com.phonegap; import org.json.JSONArray...
roadlabs/android
appMobiLib/src/com/phonegap/ContactManager.java
Java
mit
3,535
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2016 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
matthewturnbull/xcsoar
src/Engine/Trace/Trace.cpp
C++
gpl-2.0
10,776
/* * 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 ...
zagnix/Mycat-Server
src/main/java/io/mycat/util/ByteBufferUtil.java
Java
gpl-2.0
14,659
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
lordhoto/scummvm
engines/mohawk/cstime_ui.cpp
C++
gpl-2.0
38,280
class PermalinkSerializer < ApplicationSerializer attributes :id, :url, :topic_id, :topic_title, :topic_url, :post_id, :post_url, :post_number, :post_topic_title, :category_id, :category_name, :category_url, :external_url def topic_title object&.topic&.title end def topic_url ...
andriy-kravchuck/discourse9323
app/serializers/permalink_serializer.rb
Ruby
gpl-2.0
670
package info.novatec.inspectit.indexing.aggregation.impl; import info.novatec.inspectit.communication.IAggregatedData; import info.novatec.inspectit.communication.data.ThreadInformationData; import info.novatec.inspectit.indexing.aggregation.IAggregator; import java.io.Serializable; /** * {@link IAggregator} for th...
kugelr/inspectIT
CommonsCS/src/info/novatec/inspectit/indexing/aggregation/impl/ThreadInformationDataAggregator.java
Java
agpl-3.0
1,820
/* Copyright 2017 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, ...
dobbymoodge/origin
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/apply_set_last_applied.go
GO
apache-2.0
7,729
/* Copyright 2012 Harri Smatt 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 wri...
yytang2012/android_page_curl
src/fi/harism/curl/CurlPage.java
Java
apache-2.0
5,100
/* * 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 ...
lincoln-lil/flink
flink-core/src/main/java/org/apache/flink/api/common/serialization/SimpleStringEncoder.java
Java
apache-2.0
2,282
<?php final class PhabricatorApplicationEditEngine extends PhabricatorEditEngine { const ENGINECONST = 'application.application'; public function getEngineApplicationClass() { return 'PhabricatorApplicationsApplication'; } public function getEngineName() { return pht('Applications'); } public...
folsom-labs/phabricator
src/applications/meta/editor/PhabricatorApplicationEditEngine.php
PHP
apache-2.0
1,428
/* * Copyright (C) 2013 salesforce.com, 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 ...
forcedotcom/aura
aura-components/src/test/components/iterationTest/iterationArrayValueChange_ObjectFromAttribute_PassThroughValue/iterationArrayValueChange_ObjectFromAttribute_PassThroughValueController.js
JavaScript
apache-2.0
919
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
pinotlytics/pinot
pinot-core/src/main/java/com/linkedin/pinot/core/query/aggregation/function/MaxAggregationNoDictionaryFunction.java
Java
apache-2.0
2,078
package services_test import ( "os" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" slclientfakes "github.com/maximilien/softlayer-go/client/fakes" softlayer "github.com/maximilien/softlayer-go/softlayer" testhelpers "github.com/maximilien/softlayer-go/test_helpers" ) var _ = Describe("SoftLayer_Network...
mattcui/softlayer-go
services/softlayer_network_storage_allowed_host_test.go
GO
apache-2.0
2,568
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
Ariloum/Algorithms
src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java
Java
apache-2.0
1,618
/** * 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...
mycFelix/heron
storm-compatibility/src/java/backtype/storm/generated/NotAliveException.java
Java
apache-2.0
962
/* * 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...
jdahlstrom/vaadin.react
server/src/main/java/com/vaadin/ui/PopupDateField.java
Java
apache-2.0
4,052
'''This module implements specialized container datatypes providing alternatives to Python's general purpose built-in containers, dict, list, set, and tuple. * namedtuple factory function for creating tuple subclasses with named fields * deque list-like container with fast appends and pops on either end * Cha...
mdanielwork/intellij-community
python/testData/MockSdk3.7/Lib/collections/__init__.py
Python
apache-2.0
47,640
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
varshavaradarajan/gocd
plugin-infra/go-plugin-api/src/main/java/com/thoughtworks/go/plugin/api/task/TaskView.java
Java
apache-2.0
1,405
/* Copyright 2016 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, ...
matthewdupre/kubernetes
staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/types.go
GO
apache-2.0
2,978
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
thomasdarimont/keycloak
wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyCacheManagerProvider.java
Java
apache-2.0
1,431
// Copyright 2009 the V8 project authors. 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 ...
zero-rp/miniblink49
v8_7_5/test/mjsunit/indexed-accessors.js
JavaScript
apache-2.0
3,743
/** * An assortment of Windows Store app-related tools. * * @module winstore * * @copyright * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * * @license * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */...
prop/titanium_mobile
node_modules/windowslib/lib/winstore.js
JavaScript
apache-2.0
12,463
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requ...
bhutchinson/rice
rice-middleware/kns/src/main/java/org/kuali/rice/kns/web/taglib/html/KNSTextareaTag.java
Java
apache-2.0
1,855
/* * 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
installer/factories/configuration/src/main/java/org/apache/sling/installer/factories/configuration/impl/ServicesListener.java
Java
apache-2.0
6,734
// 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. #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" #include "base/bind.h" #include "base/files/scoped_temp_dir.h" #include "bas...
Jonekee/chromium.src
chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
C++
bsd-3-clause
43,484
// 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. #include "ui/display/types/display_snapshot.h" namespace ui { DisplaySnapshot::DisplaySnapshot(int64_t display_id, cons...
Jonekee/chromium.src
ui/display/types/display_snapshot.cc
C++
bsd-3-clause
1,255
""" Helpers for embarrassingly parallel code. """ # Author: Gael Varoquaux < gael dot varoquaux at normalesup dot org > # Copyright: 2010, Gael Varoquaux # License: BSD 3 clause from __future__ import division import os import sys from math import sqrt import functools import time import threading import itertools fr...
herilalaina/scikit-learn
sklearn/externals/joblib/parallel.py
Python
bsd-3-clause
33,164
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
thaim/ansible
lib/ansible/modules/cloud/ovirt/ovirt_job.py
Python
mit
7,379
/* * 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 Software Foundation. Oracle designates this * particular file as subject to th...
rokn/Count_Words_2015
testing/openjdk/jdk/src/share/classes/sun/security/krb5/internal/KerberosTime.java
Java
mit
12,458
/*jslint node:true, vars:true, bitwise:true, unparam:true */ /*jshint unused:true */ /*global */ /* * Author: Zion Orent <zorent@ics.com> * Copyright (c) 2014 Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * ...
yoyojacky/upm
examples/javascript/grovemoisture.js
JavaScript
mit
2,103
# flake8: NOQA # "flake8: NOQA" to suppress warning "H104 File contains nothing but comments" # TODO(okuta): Implement packbits # TODO(okuta): Implement unpackbits
tigerneil/chainer
cupy/binary/packing.py
Python
mit
168
// 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. // The native type of Vector3 is struct {float x,y,z} whose size is 12 bytes. RyuJit uses 16-byte // register or sta...
LLITCHEV/coreclr
tests/src/JIT/SIMD/Vector3Interop.cs
C#
mit
22,259
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Views */ /** * @var Yoast_Form $yform */ if ( ! defined( 'WPSEO_VERSION' ) ) { header( 'Status: 403 Forbidden' ); header( 'HTTP/1.1 403 Forbidden' ); exit(); } /* translators: %1$s expands to Yoast SEO */ $submit_button_value = sprintf( __( 'Export you...
smpetrey/leahconstantine.com
web/app/plugins/wordpress-seo/admin/views/tabs/tool/wpseo-export.php
PHP
mit
1,073