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 $container->loadFromExtension('security', array( 'firewalls' => array( 'main' => array( 'form_login' => array( 'login_path' => '/login', ), 'logout_on_user_change' => true, ), ), 'role_hierarchy' => array( 'FOO' => 'BAR', ...
smoers/bird
vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/php/merge_import.php
PHP
mit
351
const common = require('../../../../lib/common'); const commands = require('../../../schema').commands; const table = 'actions'; const message1 = `Adding table: ${table}`; const message2 = `Dropping table: ${table}`; module.exports.up = (options) => { const connection = options.connection; return connection.s...
dingotiles/ghost-for-cloudfoundry
versions/3.3.0/core/server/data/migrations/versions/2.14/1-add-actions-table.js
JavaScript
mit
998
from django import template register = template.Library() @register.simple_tag(takes_context=True) def table_specific(context, table_id): """Safely include a fragment specific to the given table, but handle no special info gracefully.""" try: fragment_path = "table/specific/%s.html" % table_id ...
uscensusbureau/censusreporter
censusreporter/apps/census/templatetags/tabletags.py
Python
mit
462
package org.spongycastle.bcpg; import java.io.IOException; import org.spongycastle.util.Arrays; import org.spongycastle.util.Strings; /** * Basic type for a user ID packet. */ public class UserIDPacket extends ContainedPacket { private byte[] idData; public UserIDPacket( BCPGInputS...
open-keychain/spongycastle
pg/src/main/java/org/spongycastle/bcpg/UserIDPacket.java
Java
mit
1,216
#include "allocator.hpp" #include <string.h> #include <assert.h> #include <stdlib.h> // Address sanitizer #if defined(__has_feature) # define ADDRESS_SANITIZER __has_feature(address_sanitizer) #else # if defined(__SANITIZE_ADDRESS__) # define ADDRESS_SANITIZER 1 # else # define ADDRESS_SANITIZER 0 # endif #endif /...
zeux/pugixml
tests/allocator.cpp
C++
mit
3,808
// Copyright (c) 2003 Daniel Wallin and Arvid Norberg // 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,...
luabind/luabind
luabind/detail/policy.hpp
C++
mit
23,365
<?php /* * This file is part of jwt-auth * * (c) Sean Tymon <tymon148@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tymon\JWTAuth\Providers\Auth; use Tymon\JWTAuth\Contracts\Providers\Auth; use Cartalyst\S...
levieraf/jwt-auth
src/Providers/Auth/Sentinel.php
PHP
mit
1,436
package org.spongycastle.asn1.cmp; import java.util.Enumeration; import org.spongycastle.asn1.ASN1EncodableVector; import org.spongycastle.asn1.ASN1Object; import org.spongycastle.asn1.ASN1Primitive; import org.spongycastle.asn1.ASN1Sequence; import org.spongycastle.asn1.ASN1TaggedObject; import org.spongycastle.asn1...
Skywalker-11/spongycastle
core/src/main/java/org/spongycastle/asn1/cmp/PKIFreeText.java
Java
mit
2,571
//----------------------------------------------------------------------------- // 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...
Bloodknight/Torque3D
Engine/source/platform/platformTimer.cpp
C++
mit
4,689
// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2014, 2018 Oracle and/or its affiliates. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle // Licensed under the Boost Software Lic...
nawawi/poedit
deps/boost/libs/geometry/test/algorithms/distance/distance_brute_force.hpp
C++
mit
34,417
// 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.Collections.Generic; namespace Microsoft.CodeAnalysis.Collections.Internal { /// <summary> //...
mavasani/roslyn
src/Dependencies/Collections/Internal/IEnumerableCalls`1.cs
C#
mit
1,063
require 'parslet' require 'parslet/ignore' module EDN class Parser < Parslet::Parser def parse_prefix(str, options={}) source = Parslet::Source.new(str.to_s) success, value = setup_and_apply(source, nil) unless success reporter = options[:reporter] || Parslet::ErrorReporter::Tree.new ...
samaaron/defining-pi
vendor/bundle/ruby/1.9.1/gems/edn-1.0.2/lib/edn/parser.rb
Ruby
mit
4,040
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBeachAccess extends React.Component<IconBaseProps, any> { }
smrq/DefinitelyTyped
types/react-icons/md/beach-access.d.ts
TypeScript
mit
164
using System; namespace SlackAPI.WebSocketMessages { [SlackSocketRouting("message", "message_deleted")] public class DeletedMessage : SlackSocketMessage { public string channel; public DateTime ts; public DateTime deleted_ts; public bool hidden; } }
smanabat/SlackAPI
WebSocketMessages/DeletedMessage.cs
C#
mit
302
var WOLF_WIDTH = 55; var WOLF_HEIGHT = 37; var WOLF_Y_OFFSET = 5; function Wolf(x, y, direction) { LandEnemy.call(this, x, y, direction, 'wolf', [0, 1], [2, 3], 150); this.sprite.body.setSize(WOLF_WIDTH, WOLF_HEIGHT, 0, WOLF_Y_OFFSET); } Wolf.spawn = function(spawnSettings, group) { spawnSettings.forEach(functi...
nickchulani99/ITE-445
final/alien/js/LandEnemy.js
JavaScript
mit
561
#include <streamer/core/Endian.h> #include <streamer/core/BitStream.h> #include <streamer/amf/types/AMFTypes.h> #include <streamer/amf/types/AMF0Object.h> #include <sstream> AMF0Object::AMF0Object(BitStream& bs) :AMFType(AMF0_TYPE_OBJECT, bs) { } AMF0Object::~AMF0Object() { removeElements(); } void AMF0Object::r...
silky/ProjectVictory
Test_VideoFX_Streamer_Two_Cameras/src/ofxVideoStreamer/src/streamer/amf/types/AMF0Object.cpp
C++
mit
2,975
<?php /** * REST API Product Attribute Terms controller * * Handles requests to the products/attributes/<attribute_id>/terms endpoint. * * @author WooThemes * @category API * @package WooCommerce/API * @since 2.6.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * REST API Product Attribute Terms cont...
Kilbourne/biosphaera
web/app/plugins/woocommerce/includes/api/class-wc-rest-product-attribute-terms-controller.php
PHP
mit
7,765
/** * @author mrdoob / http://mrdoob.com/ */ function WebGLBufferRenderer( gl, extensions, info, capabilities ) { var isWebGL2 = capabilities.isWebGL2; var mode; function setMode( value ) { mode = value; } function render( start, count ) { gl.drawArrays( mode, start, count ); info.update( count, m...
SpinVR/three.js
src/renderers/webgl/WebGLBufferRenderer.js
JavaScript
mit
1,103
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // 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...
ragnarstroberg/ragnar_imsrg
src/armadillo/armadillo_bits/spglue_plus_meat.hpp
C++
gpl-2.0
4,741
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
visi0nary/mediatek
mt6732/mediatek/platform/mt6752/hardware/mtkcam/acdk/src/acdk/AcdkMhalEng.cpp
C++
gpl-2.0
41,998
// Copyright (C) 2008-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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, or (at your op...
mickael-guene/gcc
libstdc++-v3/testsuite/22_locale/money_get/get/char/38399.cc
C++
gpl-2.0
1,494
<?php /** * @version $Id$ * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ class RokSprocket_Item { /** * @var */ protected $id; /** * @var string *...
C3Style/appuihec
tmp/install_5141d25be0783/com_roksprocket/site/lib/RokSprocket/Item.php
PHP
gpl-2.0
10,313
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
radekp/qtmoko
src/libraries/qtopiaphonemodem/qmodemsimfiles.cpp
C++
gpl-2.0
19,738
/* * reserved comment block * DO NOT REMOVE OR ALTER! */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under ...
YouDiSN/OpenJDK-Research
jdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_fr.java
Java
gpl-2.0
67,290
<?php /** * @file * Definition of Drupal\jssor\Plugin\views\style\Jssor. */ namespace Drupal\jssor\Plugin\views\style; use Drupal\views\Plugin\views\style\StylePluginBase; use Drupal\Core\Form\FormStateInterface; /** * Style plugin to render each item in an ordered or unordered list. * * @ingroup views_style_...
umandalroald/dcmanila2016
sites/default/files/tmp/update-extraction-acad5454/jssor/src/Plugin/views/style/Jssor.php
PHP
gpl-2.0
40,764
<?php /** * @package Joomla.Platform * @subpackage Table * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * Viewlevels table class. * * @package ...
songxiafeng/joomla-platform
libraries/joomla/table/viewlevel.php
PHP
gpl-2.0
1,478
/*************************************************************************** qgsprocessingtininputlayerswidget.cpp --------------------- Date : August 2020 Copyright : (C) 2020 by Vincent Cloarec Email : vcloarec at gmail dot com *************************************...
ghtmtt/QGIS
src/gui/processing/qgsprocessingtininputlayerswidget.cpp
C++
gpl-2.0
12,841
/* * * * Copyright 1990-2009 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program 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 ...
brendandahl/j2me.js
java/midp/com/sun/midp/midletsuite/MIDletInfo.java
Java
gpl-2.0
2,732
Info<< "Reading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); volTensorField gradU //= fvc::grad(U); ( IOob...
tmaric/foam-extend-3.0
applications/solvers/solidMechanics/elasticOrthoSolidFoam/createFields.H
C++
gpl-2.0
1,818
<?php namespace Drupal\commerce_payment\Plugin\Commerce\PaymentType; /** * Provides the manual payment type. * * @CommercePaymentType( * id = "payment_manual", * label = @Translation("Manual"), * workflow = "payment_manual", * ) */ class PaymentManual extends PaymentTypeBase { /** * {@inheritdoc} ...
jigish-addweb/d8commerce
web/modules/contrib/commerce/modules/payment/src/Plugin/Commerce/PaymentType/PaymentManual.php
PHP
gpl-2.0
392
// FreeBSD wants warning clean system headers: // { dg-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } } // { dg-do compile } // 1999-05-12 bkoz // Copyright (C) 1999-2014 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you c...
xinchoubiology/gcc
libstdc++-v3/testsuite/17_intro/headers/c++1998/stdc++_multiple_inclusion.cc
C++
gpl-2.0
1,914
// varargs test import varargs.*; public class varargs_runme { static { try { System.loadLibrary("varargs"); } catch (UnsatisfiedLinkError e) { System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e); ...
DGA-MI-SSI/YaCo
deps/swig-3.0.7/Examples/test-suite/java/varargs_runme.java
Java
gpl-3.0
927
<?php namespace Neos\Media\Validator; /* * This file is part of the Neos.Media 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 which was distributed with this * source code. ...
daniellienert/neos-development-collection
Neos.Media/Classes/Validator/ImageTypeValidator.php
PHP
gpl-3.0
2,654
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2016-2019 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hop...
sergiocazzolato/snapd
overlord/auth/auth.go
GO
gpl-3.0
10,413
'use strict'; var async = require('async'), db = require('./database'), topics = require('./topics'), categories = require('./categories'), posts = require('./posts'), plugins = require('./plugins'), batch = require('./batch'); (function(ThreadTools) { ThreadTools.delete = function(tid, uid, callback) { t...
mario56/nodebb-cn-mongo
src/threadTools.js
JavaScript
gpl-3.0
4,819
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the term...
testdoron/ClearCanvas
ImageViewer/Volumes/VolumeCache.cs
C#
gpl-3.0
27,676
/*! * * Super simple wysiwyg editor v0.8.16 * https://summernote.org * * * Copyright 2013- Alan Hong. and other contributors * summernote may be freely distributed under the MIT license. * * Date: 2020-02-19T09:12Z * */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === '...
rhomicom-systems-tech-gh/Rhomicom-ERP-Web
self/cs/plugins/summernote/lang/summernote-ca-ES.js
JavaScript
gpl-3.0
9,499
(function() {var implementors = {}; implementors["dbus"] = []; if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })()
servo/doc.servo.org
implementors/dbus/objpath/trait.PropertyROHandler.js
JavaScript
mpl-2.0
281
/* Built by: build_media_element_js.rake from https://github.com/johndyer/mediaelement.git revision: ceeb1a7f41b2557c4f6a865cee5564c82039201d YOU SHOULDN'T EDIT ME DIRECTLY */ define(['jquery'], function (jQuery){ /*! * * MediaElement.js * HTML5 <video> and <audio> shim and player * http://med...
shidao-fm/canvas-lms
public/javascripts/vendor/mediaelement-and-player.js
JavaScript
agpl-3.0
158,652
// CloudCoder - a web-based pedagogical programming environment // Copyright (C) 2011-2012, Jaime Spacco <jspacco@knox.edu> // Copyright (C) 2011-2012, David H. Hovemeyer <david.hovemeyer@gmail.com> // Copyright (C) 2014, York College of Pennsylvania // // This program is free software: you can redistribute it and/or m...
cloudcoderdotorg/CloudCoder
CloudCoder/src/org/cloudcoder/app/client/view/ProblemDescriptionView.java
Java
agpl-3.0
4,321
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace NHibernate.Cfg.MappingSchema { public partial class HbmOneToOne : AbstractDecoratable, IEntityPropertyMapping, IFormulasMapping, IRelationship { #region Implementation of IEntityPropertyMapping public string Name { ge...
RogerKratz/nhibernate-core
src/NHibernate/Cfg/MappingSchema/HbmOneToOne.cs
C#
lgpl-2.1
1,466
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Found...
julien-sobczak/sonarqube
server/sonar-server/src/main/java/org/sonar/server/permission/ApplyPermissionTemplateQuery.java
Java
lgpl-3.0
2,452
/* * $Id: InvalidPathException.java 471754 2006-11-06 14:55:09Z husted $ * * 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 fil...
lbndev/sonarqube
tests/upgrade/projects/struts-1.3.9-diet/core/src/main/java/org/apache/struts/chain/commands/InvalidPathException.java
Java
lgpl-3.0
1,876
// Todo: make autodate an option in the CiteTemplate object, not a preference // Global object if (typeof CiteTB == 'undefined') { var CiteTB = { "Templates" : {}, // All templates "Options" : {}, // Global options "UserOptions" : {}, // User options "DefaultOptions" : {}, // Script defaults "Err...
sakcret/apecc_src
css/jquery-ui/Shitō-ryū - Wikipedia, la enciclopedia libre_files/index(2).php
PHP
lgpl-3.0
26,767
# coding:utf-8 """ TokenStream represents a stream of tokens that a parser will consume. TokenStream can be used to consume tokens, peek ahead, and synchonize to a delimiter token. The tokens that the token stream operates on are either compiled regular expressions or strings. """ import re LBRACKET = '<' AT_SYMBO...
glyph/flanker
flanker/addresslib/tokenizer.py
Python
apache-2.0
5,495
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2019 Adobe * %% * 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...
bstopp/acs-aem-commons
bundle/src/main/java/com/adobe/acs/commons/marketo/MarketoForm.java
Java
apache-2.0
1,307
/* * 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 ...
gianm/druid
server/src/test/java/org/apache/druid/client/TestHttpClient.java
Java
apache-2.0
7,232
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
alb-i986/selenium
javascript/atoms/inject.js
JavaScript
apache-2.0
18,402
<?php /** * @file * Contains Drupal\Core\PathProcessor\PathProcessorDecode. */ namespace Drupal\Core\PathProcessor; use Drupal\Core\Config\ConfigFactory; use Symfony\Component\HttpFoundation\Request; /** * Processes the inbound path by urldecoding it. * * Parameters in the URL sometimes represent code-meaning...
nickopris/musicapp
www/core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php
PHP
apache-2.0
1,055
// Copyright 2010-2015 RethinkDB, all rights reserved. #ifndef CLUSTERING_IMMEDIATE_CONSISTENCY_REPLICA_HPP_ #define CLUSTERING_IMMEDIATE_CONSISTENCY_REPLICA_HPP_ #include "clustering/immediate_consistency/backfill_metadata.hpp" #include "clustering/immediate_consistency/backfiller.hpp" #include "concurrency/timestamp...
JackieXie168/rethinkdb
src/clustering/immediate_consistency/replica.hpp
C++
apache-2.0
2,615
/* * Copyright 2015 Evgeny Dolganov (evgenij.dolganov@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 requi...
elw00d/live-chat-engine
common/util/src/och/util/log/AsyncLogFactory.java
Java
apache-2.0
2,178
/** * 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...
apurtell/hadoop
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/webapp/TestHsWebServicesAcls.java
Java
apache-2.0
13,711
package com.github.dockerjava.api.model; import static org.apache.commons.lang.StringUtils.isEmpty; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.builder.Equa...
netvl/docker-java
src/main/java/com/github/dockerjava/api/model/Ports.java
Java
apache-2.0
10,941
/* * 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 ...
WilliamDo/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteBinaryMetadataUpdateNodeRestartTest.java
Java
apache-2.0
11,286
/*<license> Copyright 2004 - $Date$ by PeopleWare n.v.. 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 t...
jandppw/ppwcode-recovered-from-google-code
java/vernacular/l10n/dev/d20081116-0032/src/main/java/org/ppwcode/vernacular/resourcebundle_II/ResourceBundleNotFoundException.java
Java
apache-2.0
2,084
/* * 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 ...
zimmermatt/flink
flink-runtime/src/main/java/org/apache/flink/runtime/StoppingException.java
Java
apache-2.0
1,213
/* 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...
sgrebnov/cordova-windows
template/cordova/lib/MSBuildTools.js
JavaScript
apache-2.0
4,798
/* * 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 ...
dlnufox/ignite
modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutTxBenchmark.java
Java
apache-2.0
1,510
/* * Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.rmi; /** * From a server executing on JDK&nbsp;1.1, a * <code>ServerRuntimeException</c...
shun634501730/java_source_cn
src_en/java/rmi/ServerRuntimeException.java
Java
apache-2.0
1,533
/* * 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 ...
parthchandra/incubator-drill
exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/AvaticaDrillSqlAccessor.java
Java
apache-2.0
7,901
/* * 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 ...
deroneriksson/incubator-systemml
src/main/java/org/apache/sysml/runtime/instructions/mr/BinaryMInstruction.java
Java
apache-2.0
4,115
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
medicayun/medicayundicom
dcm4chee-usr/trunk/dcm4chee-usr-ui/src/main/java/org/dcm4chee/usr/ui/usermanagement/role/aet/CreateOrEditAETGroupPage.java
Java
apache-2.0
7,267
# # Author:: Jan Zimmek (<jan.zimmek@web.de>) # Author:: AJ Christensen (<aj@hjksolutions.com>) # Copyright:: Copyright (c) 2008 Opscode, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
luna1x/chef-server
vendor/ruby/1.9.1/gems/chef-11.6.2/spec/unit/provider/service/arch_service_spec.rb
Ruby
apache-2.0
13,083
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2011-2012. 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) // // See http://www.boost.org/libs/interp...
eProsima/Fast-DDS
thirdparty/boost/include/boost/interprocess/sync/windows/winapi_wrapper_common.hpp
C++
apache-2.0
2,717
// Copyright 2015 the V8 project 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 "src/compiler/common-operator.h" #include "src/compiler/graph.h" #include "src/compiler/js-operator.h" #include "src/compiler/linkage.h" #inclu...
weolar/miniblink49
v8_5_1/src/compiler/node-properties.cc
C++
apache-2.0
12,642
/** * Copyright 2007-2016, Kaazing Corporation. 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...
a-zuckut/gateway
transport/nio/src/main/java/org/kaazing/gateway/transport/nio/TcpTransport.java
Java
apache-2.0
2,867
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
welikecloud/bigtop
bigtop-packages/src/charm/kafka/layer-kafka/lib/charms/layer/bigtop_kafka.py
Python
apache-2.0
3,240
// 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.Editor.CSharp.SignatureHelp; using Microsoft.CodeAnalysis.Editor....
ValentinRueda/roslyn
src/EditorFeatures/CSharpTest/SignatureHelp/ConstructorInitializerSignatureHelpProviderTests.cs
C#
apache-2.0
19,018
/** * 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...
amirsojoodi/tez
tez-dag/src/main/java/org/apache/tez/dag/app/dag/event/TaskEventScheduleTask.java
Java
apache-2.0
1,505
/** * This class is generated by jOOQ */ package io.cattle.platform.core.model; /** * This class is generated by jOOQ. */ @javax.annotation.Generated(value = { "http://www.jooq.org", "3.3.0" }, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({ "all", "unchec...
dx9/cattle
code/iaas/model/src/main/java/io/cattle/platform/core/model/SnapshotStoragePoolMap.java
Java
apache-2.0
4,895
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2011 OpenStack, LLC. # 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...
gyang/nova
nova/rootwrap/volume.py
Python
apache-2.0
1,754
# Copyright 2016 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
chrisdunelm/grpc
src/python/grpcio_tests/tests/unit/_from_grpc_import_star.py
Python
apache-2.0
836
/* * Copyright (c) 2018-2019, Nuvoton Technology Corporation * * SPDX-License-Identifier: Apache-2.0 * * 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/lic...
mbedmicro/mbed
targets/TARGET_NUVOTON/TARGET_M2351/TARGET_M23_S/TARGET_TFM/target_cfg.cpp
C++
apache-2.0
3,196
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
springning/elasticsearch
core/src/main/java/org/elasticsearch/ElasticsearchException.java
Java
apache-2.0
31,754
/* * 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 ...
yunseong/reef
lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/time/runtime/event/ClientAlarm.java
Java
apache-2.0
1,158
cask 'adobe-master-collection-cs6' do version :latest sha256 :no_check # This Cask only works for Adobe dmgs containing the deploy folder, # i.e. the Adobe Collections, not the single Product Installers! # For correct download URL see links provided at # https://helpx.adobe.com/x-productkb/policy-pricing/...
zerrot/homebrew-versions
Casks/adobe-master-collection-cs6.rb
Ruby
bsd-2-clause
1,951
cask 'fastscripts' do version '2.6.13' sha256 '0324cf741f989e9f224259af2b79fcb163fcedcf45e790f8ccb747ffa1971b6c' url "https://www.red-sweater.com/fastscripts/FastScripts#{version}.zip" appcast 'https://red-sweater.com/fastscripts/appcast2.php' name 'FastScripts' homepage 'https://red-sweater.com/fastscript...
chadcatlett/caskroom-homebrew-cask
Casks/fastscripts.rb
Ruby
bsd-2-clause
353
class Jlog < Formula desc "Pure C message queue with subscribers and publishers for logs" homepage "https://labs.omniti.com/labs/jlog" url "https://github.com/omniti-labs/jlog/archive/2.3.0.tar.gz" sha256 "b8912e8de791701d664965c30357c4bbc68df3206b22f7ea0029e7179b02079a" head "https://github.com/omniti-labs/j...
robohack/homebrew-core
Formula/jlog.rb
Ruby
bsd-2-clause
2,340
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.media.ui; import android.content.Intent; import android.media.AudioManager; import android.support.test.Instrumentati...
ric2b/Vivaldi-browser
chromium/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/MediaSessionTest.java
Java
bsd-3-clause
5,144
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using Cosmos.Debug.Common; namespace Cosmos.Debug.VSDebugEngine.Host { public abstract class Base { protected NameValueCollection mParams; protected bool mUseGDB; publ...
Coder-666/COSMOS
source2/Debug/Cosmos.Debug.VSDebugEngine/Host/Base.cs
C#
bsd-3-clause
553
package com.openxc.units; /** * A Meter is the base unit of length in the SI. */ public class Meter extends Quantity<Number> { private final String TYPE_STRING = "m"; public Meter(Number value) { super(value); } @Override public String getTypeString() { return TYPE_STRING; }...
bibhrajit/openxc-androidStudio
openxc/src/com/openxc/units/Meter.java
Java
bsd-3-clause
323
/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ package com...
hgl888/conceal
benchmarks/src/com/facebook/crypto/benchmarks/cipher/BaseCipher.java
Java
bsd-3-clause
2,506
/* * Copyright (c) 2011-2015, Intel Corporation * 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 must retain the above copyright notice, this * list of...
miguelgaio/parameter-framework
parameter/SystemClass.cpp
C++
bsd-3-clause
8,364
// Copyright 2020 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/components/local_search_service/shared_structs.h" #include <utility> #include "base/strings/string_split.h" #include "base/strings/st...
ric2b/Vivaldi-browser
chromium/chromeos/components/local_search_service/shared_structs.cc
C++
bsd-3-clause
2,580
# # Specifying JenkinsApi::Client class capabilities # Author: Kannan Manickam <arangamani.kannan@gmail.com> # require File.expand_path('../spec_helper', __FILE__) require 'yaml' describe JenkinsApi::Client do context "Given valid credentials and server information are given" do before(:all) do @creds_fil...
yp-engineering/jenkins_api_client
spec/func_tests/client_spec.rb
Ruby
mit
3,244
module NamespacesHelper def namespaces_options(selected = :current_user, scope = :default) groups = current_user.owned_groups.select {|n| n.type == 'Group'} users = current_user.namespaces.reject {|n| n.type == 'Group'} group_opts = ["Groups", groups.sort_by(&:human_name).map {|g| [g.human_name, g.id]} ]...
inetfuture/gitlab-tweak
app/helpers/namespaces_helper.rb
Ruby
mit
652
<?php /** * jobberbase job board platform * * Cache class handles cache operations */ class Cache { var $cacheDir = null; var $cacheID = null; var $cacheTime = null; var $useCache = null; /** * @param $dir folder where cache will be saved * @param $time (int) time in seconds; if n...
myusufe/Job
public/_lib/class.Cache.php
PHP
mit
2,116
# Copyright 2008-2011 Nokia Siemens Networks Oyj # # 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...
ktan2020/legacy-automation
win/Lib/site-packages/SeleniumLibrary/select.py
Python
mit
9,556
""" Support for EnOcean sensors. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/sensor.enocean/ """ import logging import voluptuous as vol from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME, CONF_ID)...
Smart-Torvy/torvy-home-assistant
homeassistant/components/sensor/enocean.py
Python
mit
1,877
require 'spec_helper' describe Coercer::Integer, '#coerced?' do let(:object) { described_class.new } it_behaves_like 'Coercible::Coercer#coerced?' do let(:primitive_value) { 1 } let(:non_primitive_value) { 1.0 } end end
eprislac/guard-yard
vendor/ruby/2.0.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/coerced_predicate_spec.rb
Ruby
mit
240
/* Copyright (c) 2014 VMware, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
Tiger66639/jupiter-brain
vendor/src/github.com/vmware/govmomi/object/network_test.go
GO
mit
778
'''tzinfo timezone information for Asia/Manila.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Manila(DstTzInfo): '''Asia/Manila timezone definition. See datetime.tzinfo for details''' zone = 'Asia/Manila' _utc_tran...
newvem/pytz
pytz/zoneinfo/Asia/Manila.py
Python
mit
763
'''tzinfo timezone information for America/Kentucky/Monticello.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Monticello(DstTzInfo): '''America/Kentucky/Monticello timezone definition. See datetime.tzinfo for details''' ...
newvem/pytz
pytz/zoneinfo/America/Kentucky/Monticello.py
Python
mit
6,463
import { ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, ElementRef, EventEmitter, NgZone, Renderer, ViewContainerRef } from '@angular/core'; import { App } from '../app/app'; import { Config } from '../../config/config'; import { DeepLinker } from '../../navigation/deep-linker'; import { DomController } fro...
Spect-AR/Spect-AR
node_modules/node_modules/ionic-angular/umd/components/tabs/tab.d.ts
TypeScript
mit
6,555
//----------------------------------------------------------------------------- // 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...
Bloodknight/Torque3D
Engine/source/T3D/fps/guiClockHud.cpp
C++
mit
6,994
import { Omit } from '@material-ui/types'; import { CreateCSSProperties, StyledComponentProps, WithStylesOptions, } from '@material-ui/styles/withStyles'; import { Theme as DefaultTheme } from './createMuiTheme'; import * as React from 'react'; // These definitions are almost identical to the ones in @material-u...
cdnjs/cdnjs
ajax/libs/material-ui/4.9.9/styles/styled.d.ts
TypeScript
mit
1,273
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
slemeur/che
wsmaster/che-core-api-auth/src/main/java/org/eclipse/che/security/oauth/shared/User.java
Java
epl-1.0
939
/* * Copyright (c) 2002 Frodo * Portions Copyright (c) by the authors of ffmpeg and xvid * Copyright (C) 2002-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 * ...
gripped/xbmc
xbmc/storage/IoSupport.cpp
C++
gpl-2.0
7,593
<?php /** * Image select field class which uses images as radio options. */ class RWMB_Image_Select_Field extends RWMB_Field { /** * Enqueue scripts and styles */ static function admin_enqueue_scripts() { wp_enqueue_style( 'rwmb-image-select', RWMB_CSS_URL . 'image-select.css', array(), RWMB_VER ); wp_enq...
davydavv/carodech2
wp-content/themes/oshin/meta-box/inc/fields/image-select.php
PHP
gpl-2.0
1,589
/* * jQuery Plugin: Tokenizing Autocomplete Text Entry * Version 1.6.2 * * Copyright (c) 2009 James Smith (http://loopj.com) * Licensed jointly under the GPL and MIT licenses, * choose which one suits your project best! * */ ;(function ($) { var DEFAULT_SETTINGS = { // Search settings method: "GET", ...
younisd/domjudge
www/js/jquery.tokeninput.js
JavaScript
gpl-2.0
39,820