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
#include "consoletools.h" #include "log/logger.h" #include <QTextStream> #include <Windows.h> LOGGER(ConsoleTools); class ConsoleTools::Private { public: Private() { hConsole = ::GetStdHandle(STD_INPUT_HANDLE); if (hConsole == INVALID_HANDLE_VALUE) { LOG_ERROR("Unable to ...
MKV21/glimpse_client
src/console/consoletools_win.cpp
C++
bsd-3-clause
1,142
// 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 "extensions/common/permissions/api_permission_set.h" #include "base/containers/contains.h" #include "base/logging.h" #include "base/ranges/algor...
chromium/chromium
extensions/common/permissions/api_permission_set.cc
C++
bsd-3-clause
11,420
# Copyright 2019 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. import os import sys import json from command_executor import CommandExecutor _THIS_DIR = os.path.abspath(os.path.dirname(__file__)) _PARENT_DIR = os.path.j...
chromium/chromium
chrome/test/chromedriver/client/websocket_connection.py
Python
bsd-3-clause
1,471
// Copyright 2019 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/autofill/core/browser/payments/test_authentication_requester.h" #include <string> #include "build/build_config.h" #include "compone...
chromium/chromium
components/autofill/core/browser/payments/test_authentication_requester.cc
C++
bsd-3-clause
2,142
package ping import ( "bytes" "errors" "io" "time" context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context" host "github.com/ipfs/go-ipfs/p2p/host" inet "github.com/ipfs/go-ipfs/p2p/net" peer "github.com/ipfs/go-ipfs/p2p/peer" logging "github.com/ipfs/go-ipfs/vendor/go-log-v1.0.0" u...
willglynn/go-ipfs
p2p/protocol/ping/ping.go
GO
mit
1,786
import * as React from 'react' import { ICommonImageDiffProperties } from './modified-image-diff' import { ImageContainer } from './image-container' interface IOnionSkinState { readonly crossfade: number } export class OnionSkin extends React.Component< ICommonImageDiffProperties, IOnionSkinState > { public c...
j-f1/forked-desktop
app/src/ui/diff/image-diffs/onion-skin.tsx
TypeScript
mit
2,059
'use strict'; const hljs = require('highlight.js'); const languages = hljs.listLanguages(); const fs = require('fs'); const result = { languages: languages, aliases: {} }; languages.forEach(lang => { result.aliases[lang] = lang; const def = require('highlight.js/lib/languages/' + lang)(hljs); const aliase...
hexojs/hexo-util
scripts/build_highlight_alias.js
JavaScript
mit
583
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace ScintillaNET { /// <summary> /// Provides data for the <see cref="Scintilla.DoubleClick" /> event. /// </summary> public class DoubleClickEventArgs : EventArgs { priv...
suvjunmd/ScintillaNET
src/ScintillaNET/DoubleClickEventArgs.cs
C#
mit
2,400
module Gitlab module SlashCommands class IssueShow < IssueCommand def self.match(text) /\Aissue\s+show\s+#{Issue.reference_prefix}?(?<iid>\d+)/.match(text) end def self.help_message "issue show <id>" end def execute(match) issue = find_by_iid(match[:iid]) ...
t-zuehlsdorff/gitlabhq
lib/gitlab/slash_commands/issue_show.rb
Ruby
mit
529
'use strict'; /* jQuery UI Sortable plugin wrapper @param [ui-sortable] {object} Options to pass to $.fn.sortable() merged onto ui.config */ angular.module('mpk').value('uiSortableConfig',{}).directive('uiSortable', [ 'uiSortableConfig', '$timeout', '$log', function(uiSortableConfig, $timeout, $log) { ...
mabotech/maboss-admin
public/kanban/scripts/directives/sortable.js
JavaScript
mit
8,434
using System; using ProvisioningLibrary; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; namespace ProvisioningLibrary { public class GroupBudgetState : TableEntity { private string _ResourceId = string.Empty; public GroupBudgetState() { } ...
GabrieleCastellani/SCAMP
ProvisioningLibrary/VolatileStorage/GroupBudgetState.cs
C#
mit
755
<?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...
hansbonini/cloud9-magento
www/app/code/core/Mage/GoogleBase/Model/Item.php
PHP
mit
12,442
// Copyright 2018 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/snapshot/roots-serializer.h" #include "src/execution/isolate.h" #include "src/heap/heap.h" #include "src/objects/objects-inl.h" #include ...
enclose-io/compiler
lts/deps/v8/src/snapshot/roots-serializer.cc
C++
mit
2,307
// 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 "gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h" #include <algorithm> #include "base/basictypes.h" #include "gpu/command_buff...
Teamxrtc/webrtc-streaming-node
third_party/webrtc/src/chromium/src/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc
C++
mit
22,247
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.resources.implementation; import com.fasterxml.j...
jianghaolu/azure-sdk-for-java
azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/PageImpl.java
Java
mit
1,747
@extends($master) @section('page', trans('ticketit::admin.category-edit-title', ['name' => ucwords($category->name)])) @section('content') @include('ticketit::shared.header') <div class="well bs-component"> {!! CollectiveForm::model($category, [ 'route' => [$setting-...
thekordy/ticketit
src/Views/bootstrap3/admin/category/edit.blade.php
PHP
mit
781
<?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...
hansbonini/cloud9-magento
www/app/code/core/Mage/Api2/Model/Request/Interpreter.php
PHP
mit
2,436
/*************************************************************************/ /* control_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
tomasy23/evertonkrosnodart
tools/editor/plugins/control_editor_plugin.cpp
C++
mit
22,889
// // ConvertLambdaBodyExpressionToStatementAction.cs // // Author: // Mansheng Yang <lightyang0@gmail.com> // // Copyright (c) 2012 Mansheng Yang <lightyang0@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (t...
praeclarum/Netjs
Netjs/Dependencies/NRefactory/ICSharpCode.NRefactory.CSharp/Refactoring/CodeActions/ConvertLambdaBodyExpressionToStatementAction.cs
C#
mit
2,431
<?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...
hansbonini/cloud9-magento
www/app/code/core/Mage/Cms/controllers/IndexController.php
PHP
mit
3,373
<?php /** * PHPUnit * * Copyright (c) 2002-2014, Sebastian Bergmann <sebastian@phpunit.de>. * 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 ...
drBenway/siteResearch
vendor/phpunit/dbunit/PHPUnit/Extensions/Database/Operation/Composite_1.php
PHP
mit
3,983
export { default, DimmerProps } from './Dimmer';
aabustamante/Semantic-UI-React
src/modules/Dimmer/index.d.ts
TypeScript
mit
49
package keyseq type TernaryTrie struct { root TernaryNode } func NewTernaryTrie() *TernaryTrie { return &TernaryTrie{} } func (t *TernaryTrie) Root() Node { return &t.root } func (t *TernaryTrie) GetList(k KeyList) Node { return Get(t, k) } func (t *TernaryTrie) Get(k Key) Node { return Get(t, KeyList{k}) } ...
dav009/peco
keyseq/ternary.go
GO
mit
3,295
using System; using System.IO; using Foundation; using UIKit; using CoreGraphics; using Dropbox.CoreApi.iOS; namespace DropboxCoreApiSample { public partial class TextViewController : UIViewController { // A TextField with Placeholder CustomUITextView textView; RestClient restClient; string filename; ...
JonDouglas/XamarinComponents
XPlat/DropboxCoreApi/iOS/samples/DropboxCoreApiSample/DropboxCoreApiSample/TextViewController.cs
C#
mit
3,244
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Data; using System.Drawing.Drawing2D; usi...
adilmughal/OpenLiveWriter
src/managed/OpenLiveWriter.PostEditor/PostPropertyEditing/PostPropertiesBandControl.cs
C#
mit
13,831
<?php /** * PHPExcel * * Copyright (c) 2006 - 2007 PHPExcel, Maarten Balliauw * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any...
ALTELMA/OfficeEquipmentManager
application/libraries/PHPExcel/branches/v1.1.1/Build/build.php
PHP
mit
3,220
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Microsoft.Bot.Connector { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Microsoft.R...
dr-em/BotBuilder
CSharp/Library/Microsoft.Bot.Connector/ConnectorAPI/Models/AttachmentView.cs
C#
mit
1,269
'use strict'; var path = require('path'); var fixtures = require('haraka-test-fixtures'); var Connection = fixtures.connection; var Plugin = fixtures.plugin; var _set_up = function(done) { this.backup = {}; // needed for tests this.plugin = new Plugin('auth/auth_vpopmaild'); thi...
slattery/Haraka
tests/plugins/auth/auth_vpopmaild.js
JavaScript
mit
2,773
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.Collections.Immutable; using System...
mavasani/roslyn
src/Compilers/CSharp/Portable/Symbols/Symbol.cs
C#
mit
68,726
//= require locastyle/templates/_popover.jst.eco //= require locastyle/templates/_dropdown.jst.eco
diegoeis/locawebstyle
source/assets/javascripts/templates.js
JavaScript
mit
99
// # Mail API // API for sending Mail var Promise = require('bluebird'), pipeline = require('../utils/pipeline'), errors = require('../errors'), mail = require('../mail'), Models = require('../models'), utils = require('./utils'), notifications = requir...
jordanwalsh23/jordanwalsh23.github.io
core/server/api/mail.js
JavaScript
mit
3,802
/** * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> * Build: `lodash modularize exports="amd" -o ./compat/` * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigat...
john-bixly/Morsel
app/vendor/lodash-amd/compat/collections/map.js
JavaScript
mit
2,696
// Copyright 2015-2018 Hans Dembinski // // 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) //[ guide_histogram_serialization #include <boost/archive/text_iarchive.hpp> #include <boost/archive/text_oarchive.hpp> #...
davehorton/drachtio-server
deps/boost_1_77_0/libs/histogram/examples/guide_histogram_serialization.cpp
C++
mit
1,128
window.Reactable = require('../build/reactable.common');
wemcdonald/reactable
src/reactable.global.js
JavaScript
mit
57
from __future__ import absolute_import import numpy import chainer from chainer import _backend from chainer.backends import _cpu from chainer.configuration import config _ideep_version = None _error = None try: import ideep4py as ideep # NOQA from ideep4py import mdarray # type: ignore # NOQA _ideep...
pfnet/chainer
chainer/backends/intel64.py
Python
mit
5,920
package com.prolificinteractive.materialcalendarview; import android.animation.Animator; import android.content.res.Resources; import android.text.TextUtils; import android.util.TypedValue; import android.view.ViewPropertyAnimator; import android.view.animation.DecelerateInterpolator; import android.view.animation.Int...
netcosports/material-calendarview
library/src/main/java/com/prolificinteractive/materialcalendarview/TitleChanger.java
Java
mit
5,089
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org http://www.cocos2d-x.org 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...
h-iwata/MultiplayPaint
proj.ios_mac/Photon-iOS_SDK/Demos/etc-bin/cocos2dx/cocos2dx/script_support/CCScriptSupport.cpp
C++
mit
5,005
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v20.2.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.leng...
sufuf3/cdnjs
ajax/libs/ag-grid/21.0.0/lib/dragAndDrop/dragService.js
JavaScript
mit
13,765
<?php namespace Kunstmaan\AdminBundle\Helper\Menu; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; /** * SettingsMenuAdaptor to add the Settings MenuItem to the top menu and build the Settings tree */ class SettingsMenuAdaptor implement...
Kunstmaan/KunstmaanBundlesCMS
src/Kunstmaan/AdminBundle/Helper/Menu/SettingsMenuAdaptor.php
PHP
mit
2,981
/* http://keith-wood.name/calculator.html Catalan initialisation for the jQuery calculator extension Written by Esteve Camps (ecamps at google dot com) June 2010. */ (function($) { // hide the namespace $.calculator.regionalOptions['ca'] = { decimalChar: ',', buttonText: '...', buttonStatus: 'Obrir la...
rsantellan/ventanas-html-proyecto
ventanas/src/AppBundle/Resources/public/admin/vendor/calculator/jquery.calculator-ca.js
JavaScript
mit
1,535
/** * EditorCommands.js * * Released under LGPL License. * Copyright (c) 1999-2015 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * This class enables you to add custom editor commands and it contains * overrides for nati...
michalgraczyk/calculus
web/js/tiny_mce/js/tinymce/classes/EditorCommands.js
JavaScript
mit
29,362
// "Therefore those skilled at the unorthodox // are infinite as heaven and earth, // inexhaustible as the great rivers. // When they come to an end, // they begin again, // like the days and months; // they die and are reborn, // like the four seasons." // // - Sun Tsu, // "The Art of War" using Perspex.Media; usin...
danwalmsley/Perspex
src/Perspex.HtmlRenderer/Adapters/FontAdapter.cs
C#
mit
2,736
<?php /** * WPSEO plugin file. * * @package WPSEO\Internals\Options */ /** * Option: wpseo. */ class WPSEO_Option_Wpseo extends WPSEO_Option { /** * @var string Option name. */ public $option_name = 'wpseo'; /** * @var array Array of defaults for the option. * Shouldn't be requested direc...
mandino/hotelmilosantabarbara.com
wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-wpseo.php
PHP
mit
10,210
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
utils/eclipselink.utils.workbench.test/utility/source/org/eclipse/persistence/tools/workbench/test/utility/events/ReflectiveListChangeListenerTests.java
Java
epl-1.0
22,586
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
utils/eclipselink.utils.workbench.test/mappingsplugin/source/org/eclipse/persistence/tools/workbench/test/mappingsmodel/query/MWUserDefinedQueryKeyTests.java
Java
epl-1.0
2,104
/******************************************************************************* * Copyright (c) 2006, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
jpa/org.eclipse.persistence.jpa.jpql/src/org/eclipse/persistence/jpa/jpql/parser/FunctionsReturningNumericsBNF.java
Java
epl-1.0
3,120
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * @version 2014.11.1 * @package kernel */ $tpl = eZTemplate::factory(); $Module = $Params['Module']; $roleID = $Params['RoleID']; $in...
CG77/ezpublish-legacy
kernel/role/edit.php
PHP
gpl-2.0
30,498
<?php /** * @file * Contains \Drupal\user\Form\UserPasswordForm. */ namespace Drupal\user\Form; use Drupal\Core\Field\Plugin\Field\FieldType\EmailItem; use Drupal\Core\Form\FormBase; use Drupal\Core\Language\Language; use Drupal\Core\Language\LanguageManager; use Drupal\user\UserStorageControllerInterface; use Sy...
allgood2386/lexrants-me
core/modules/user/lib/Drupal/user/Form/UserPasswordForm.php
PHP
gpl-2.0
4,512
<?php /** * This is a helper class for WordPress that allows format HTML tags, including inputs, textareas, etc * * @author Rinat Khaziev * @version 0.1 */ class Html_Helper { function __construct() { } /** * Render multiple choice checkboxes * * @param string $name * @param string $description *...
Luckynumberseven/project2
wp-content/plugins/frontend-uploader/lib/php/class-html-helper.php
PHP
gpl-2.0
6,132
<?php /** * @package EasyBlog * @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. * @license GNU/GPL, see LICENSE.php * * EasyBlog is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative ...
david-strejc/octopus
components/com_easyblog/themes/nomad/blog.item.photo.php
PHP
gpl-2.0
5,596
#include "gtest/gtest.h" #include "llt_mockcpp.h" #include <stdio.h> #include <stdlib.h> //½¨ÒéÕâÑùÒýÓ㬱ÜÃâÏÂÃæÓùؼü×ÖʱÐèÒª¼Óǰ׺ testing:: using namespace testing; #ifdef __cplusplus extern "C" { #endif extern unsigned int uttest_OM_AcpuCallBackMsgProc_case1(void); extern unsigned int ut...
slade87/ALE21-Kernel
drivers/hisi/modem_hi6xxx/oam/comm/acore/om/uttest_omappoutside.cpp
C++
gpl-2.0
2,725
/* SESC: Super ESCalar simulator Copyright (C) 2005 University of California, Santa Cruz Contributed by Jose Renau This file is part of SESC. SESC 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; eithe...
dilawar/sesc
src_without_LF/libpower/cacti/cacti_setup.cpp
C++
gpl-2.0
23,999
/* * Copyright (c) 2018, 2019, 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 ...
md-5/jdk10
test/jdk/sun/security/tools/keytool/NssTest.java
Java
gpl-2.0
2,505
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ChapterMarker.cs" company="HandBrake Project (http://handbrake.fr)"> // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Publ...
Rodeo314/hb-saintdev
win/CS/HandBrake.ApplicationServices/Services/Encode/Model/Models/ChapterMarker.cs
C#
gpl-2.0
2,905
// clang-format off /* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://www.lammps.org/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of ...
akohlmey/lammps
src/nstencil_half_multi_3d_tri.cpp
C++
gpl-2.0
3,559
<?php /** * File containing the eZXHTMLXMLOutput class. * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * @version //autogentag// * @package kernel */ class eZXHTMLXMLOutput extends eZXMLO...
guillaumelecerf/ezpublish-legacy
kernel/classes/datatypes/ezxmltext/handlers/output/ezxhtmlxmloutput.php
PHP
gpl-2.0
27,406
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2011-2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
vishwaAbhinav/OpenNMS
opennms-webapp/src/main/java/org/opennms/web/alarm/filter/NegativeEventParmLikeFilter.java
Java
gpl-2.0
2,058
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.3 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------...
tomlagier/NoblePower
wp-content/plugins/civicrm/civicrm/CRM/Core/I18n/SchemaStructure_3_4_0.php
PHP
gpl-2.0
7,148
<?php // phpcs:ignoreFile -- compatibility library for PHP 5-7.1 if (class_exists('ParagonIE_Sodium_Core_ChaCha20_IetfCtx', false)) { return; } /** * Class ParagonIE_Sodium_Core32_ChaCha20_IetfCtx */ class ParagonIE_Sodium_Core32_ChaCha20_IetfCtx extends ParagonIE_Sodium_Core32_ChaCha20_Ctx { /** * Par...
tstephen/srp-digital
wp-content/plugins/wordfence/crypto/vendor/paragonie/sodium_compat/src/Core32/ChaCha20/IetfCtx.php
PHP
gpl-2.0
1,562
#ifndef NETWORK_RULES_HPP #define NETWORK_RULES_HPP #include <map> #include "ReactionRule.hpp" #include "generator.hpp" class NetworkRules { public: typedef ReactionRule reaction_rule_type; typedef SpeciesTypeID species_id_type; typedef abstract_limited_generator<reaction_rule_type> reaction_rule_generato...
navoj/ecell4
ecell4/egfrd/legacy/NetworkRules.hpp
C++
gpl-2.0
821
""" color scheme source data """ schemes = {'classic': [(255, 237, 237), (255, 224, 224), (255, 209, 209), (255, 193, 193), (255, 176, 176), (255, 159, 159), (255, 142, 142), (255, 126, 126), (255, 110, 110), ...
ashmastaflash/IDCOAS
integration/heatmaps/heatmap/colorschemes.py
Python
gpl-2.0
33,688
<?php /** * File containing the ezpOauthBadRequestException class. * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * @version 2014.11.1 * @package kernel */ /** * This is the base excepti...
CG77/ezpublish-legacy
kernel/private/rest/classes/exceptions/bad_request.php
PHP
gpl-2.0
558
class Organization::Public::Piece::AllGroupsController < Sys::Controller::Public::Base def pre_dispatch @piece = Organization::Piece::AllGroup.where(id: Page.current_piece.id).first render :text => '' unless @piece @item = Page.current_item end def index sys_group_codes = @piece.content.root_sys...
tao-k/zomeki
app/controllers/organization/public/piece/all_groups_controller.rb
Ruby
gpl-3.0
441
package org.ovirt.engine.ui.uicommonweb.models.templates; import org.ovirt.engine.core.common.businessentities.VmBase; import org.ovirt.engine.core.common.businessentities.VmTemplate; import org.ovirt.engine.core.compat.Version; import org.ovirt.engine.ui.uicommonweb.builders.BuilderExecutor; import org.ovirt.engine.u...
jtux270/translate
ovirt/3.6_source/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/ExistingBlankTemplateModelBehavior.java
Java
gpl-3.0
2,954
using System; using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; using System.ComponentModel.Design; using Microsoft.Win32; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Shell; us...
UlyssesWu/dnSpy
ILSpy.AddIn/ILSpyAddInPackage.cs
C#
gpl-3.0
6,884
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
syslover33/ctank
java/android-sdk-linux_r24.4.1_src/sources/android-23/android/os/storage/VolumeRecord.java
Java
gpl-3.0
4,577
#include "AtomicMaker.h" #include <string> void AtomicMaker::readParam(std::istream& in) { read<Boundary>(in, "boundary", boundary_); readParamComposite(in, random_); read<int>(in, "nMolecule", nMolecule_); } void AtomicMaker::writeConfig(std::ostream& out) { Vector r; Vector v; int iMol; ...
jmysona/testing2
src/draft/tools/atomicMaker/AtomicMaker.cpp
C++
gpl-3.0
898
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * 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 * not...
vineodd/PIMSim
GEM5Simulation/gem5/src/dev/net/etherdump.cc
C++
gpl-3.0
3,646
namespace ArdupilotMega.Antenna { partial class Tracker { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
trunet/ardupilot
Tools/ArdupilotMegaPlanner/Antenna/Tracker.Designer.cs
C#
gpl-3.0
15,376
#!/usr/bin/python # # GEOMTERY.OUT to OpenDX # # Created: April 2009 (AVK) # Modified: February 2012 (AVK) # import math import sys def r3minv(a, b): t1 = a[0][2] * (a[1][0] * a[2][1] - a[1][1] * a[2][0]) + \ a[0][1] * (a[1][2] * a[2][0] - a[1][0] * a[2][2]) + \ a[0][0] * (a[1][1] * a[2][2]...
rgvanwesep/exciting-plus-rgvw-mod
utilities/geometry2dx__mtrx.py
Python
gpl-3.0
20,319
#Copyright (C) 2014 Marc Herndon # #This program is free software; you can redistribute it and/or #modify it under the terms of the GNU General Public License, #version 2, as published by the Free Software Foundation. # #This program is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY; without ...
scith/htpc-manager_ynh
sources/libs/pySMART/attribute.py
Python
gpl-3.0
3,070
define([ 'angular' , './view-rubberband-controller' , './view-rubberband-directive' ], function( angular , Controller , directive ) { "use strict"; return angular.module('mtk.viewRubberband', []) .controller('ViewRubberbandController', Controller) .directive('mtkViewRubberb...
jeroenbreen/metapolator
app/lib/ui/metapolator/view-rubberband/view-rubberband.js
JavaScript
gpl-3.0
354
from .main import Sabnzbd def start(): return Sabnzbd() config = [{ 'name': 'sabnzbd', 'groups': [ { 'tab': 'downloaders', 'list': 'download_providers', 'name': 'sabnzbd', 'label': 'Sabnzbd', 'description': 'Use <a href="http://sabnzbd.or...
jerbob92/CouchPotatoServer
couchpotato/core/downloaders/sabnzbd/__init__.py
Python
gpl-3.0
2,548
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
vineodd/PIMSim
GEM5Simulation/gem5/src/systemc/tests/systemc/1666-2011-compliance/sync_reset/sync_reset.cpp
C++
gpl-3.0
11,660
// UK lang variables tinyMCE.addI18n('pt.codehighlighting',{ codehighlighting_desc : "Code Highlighting", codehighlighting_title : "Code Highlighting", codehighlighting_langaugepicker : "Choose the language", codehighlighting_pagecode : "Paste your code here", codehighlighting_button_desc: "Insert code", codehig...
ahilles107/Newscoop
newscoop/js/tinymce/plugins/codehighlighting/langs/pt.js
JavaScript
gpl-3.0
494
// Copyright 2008 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 ...
victorzhao/miniblink49
v8_4_5/test/mjsunit/array-length.js
JavaScript
gpl-3.0
4,264
// // DO NOT REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. // // @Authors: // christiank // dinwiggy // // Copyright 2004-2010 by OM International // // This file is part of OpenPetra.org. // // OpenPetra.org is free software: you can redistribute it and/or modify // it under the terms of the GNU General Pu...
tpokorra/openpetra.js
csharp/ICT/Petra/Client/MPartner/Gui/UC_IndividualData_PreviousExperience.ManualCode.cs
C#
gpl-3.0
9,535
/* * This file is part of the PulseView project. * * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk> * * 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 th...
uwehermann/pulseview
pv/data/analogsegment.hpp
C++
gpl-3.0
2,563
package org.ovirt.engine.ui.uicommonweb.models.providers; import org.ovirt.engine.core.common.action.AddExternalSubnetParameters; import org.ovirt.engine.core.common.action.VdcActionType; import org.ovirt.engine.core.common.action.VdcReturnValueBase; import org.ovirt.engine.core.common.businessentities.network.Network...
jtux270/translate
ovirt/3.6_source/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/providers/NewExternalSubnetModel.java
Java
gpl-3.0
3,910
<?php /* * This file is part of Phraseanet * * (c) 2005-2016 Alchemy * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Guzzle\Http\Url; class media_adapter extends media_abstract { /** * Constructor * * Enfor...
nmaillat/Phraseanet
lib/classes/media/adapter.php
PHP
gpl-3.0
556
<?php /** * File: table_easywi_statistics.php. * Author: Ulrich Block * Date: 17.10.15 * Contact: <ulrich.block@easy-wi.com> * * This file is part of Easy-WI. * * Easy-WI 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 ...
TR-Host/easy-wi-mirror
web/stuff/data/table_easywi_statistics.php
PHP
gpl-3.0
8,010
/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved. This file is part of Navitia, the software to build cool stuff with public transport. Hope you'll enjoy and contribute to this project, powered by Canal TP (www.canaltp.fr). Help us simplify mobility and open public transport: ...
TeXitoi/navitia
source/calendar/calendar.cpp
C++
agpl-3.0
2,441
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2012 OpenERP S.A (<http://www.openerp.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms ...
poiesisconsulting/openerp-restaurant
portal/__openerp__.py
Python
agpl-3.0
2,288
define(['angular'], function(angular) { 'use strict'; return angular.module('superdesk.services.storage', []) /** * LocalStorage wrapper * * it stores data as json to keep its type */ .service('storage', function() { /** * Get item f...
plamut/superdesk
client/app/scripts/superdesk/services/storage.js
JavaScript
agpl-3.0
1,250
<?php /* * StatusNet - the distributed open-source microblogging tool * Copyright (C) 2008-2010, StatusNet, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 o...
gayathri6/stepstream_salute
lib_old/oembedhelper.php
PHP
agpl-3.0
12,206
// Copyright (c) 2013-2017 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package netsync import ( "container/list" "net" "sync" "sync/atomic" "time" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/chaincfg" "github.c...
adrianbrink/tendereum
vendor/github.com/cosmos/tendereum/vendor/github.com/btcsuite/btcd/netsync/manager.go
GO
agpl-3.0
46,884
<?php /** This file is part of KCFinder project * * @desc Autoload classes magic function * @package KCFinder * @version 2.21 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @lice...
yscdaxian/goweb
limesurvey/admin/scripts/kcfinder/core/autoload.php
PHP
agpl-3.0
3,384
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt erpnext.POS = Class.extend({ init: function(wrapper, frm) { this.wrapper = wrapper; this.frm = frm; this.wrapper.html('<div class="container">\ <div class="row" style="margin: -...
Tejal011089/Medsyn2_app
accounts/doctype/sales_invoice/pos.js
JavaScript
agpl-3.0
17,987
/* * eXist Open Source Native XML Database * Copyright (C) 2010 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/svn/src/org/exist/versioning/svn/xquery/SVNCleanup.java
Java
lgpl-2.1
3,112
// --------------------------------------------------------------------- // // Copyright (C) 2016 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 // Public Li...
shakirbsm/dealii
tests/manifold/spherical_manifold_04.cc
C++
lgpl-2.1
2,888
package org.jaudiotagger.issues; import org.jaudiotagger.AbstractTestCase; import org.jaudiotagger.audio.AudioFile; import org.jaudiotagger.audio.AudioFileIO; import org.jaudiotagger.tag.FieldKey; import java.io.File; /** * Test deletions of ID3v1 tag */ public class Issue383Test extends AbstractTestCa...
nhminus/jaudiotagger-androidpatch
srctest/org/jaudiotagger/issues/Issue383Test.java
Java
lgpl-2.1
2,217
/** * * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) ...
paulklinkenberg/Lucee4
lucee-java/lucee-core/src/lucee/runtime/functions/query/QueryDeleteRow.java
Java
lgpl-2.1
1,691
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
ivassile/wildfly-core
server/src/main/java/org/jboss/as/server/deployment/DeploymentFullReplaceHandler.java
Java
lgpl-2.1
12,747
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
ostash/qt-creator-i18n-uk
src/plugins/projectexplorer/currentprojectfind.cpp
C++
lgpl-2.1
3,806
package org.intermine.sql.writebatch; /* * Copyright (C) 2002-2015 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/less...
tomck/intermine
intermine/objectstore/main/src/org/intermine/sql/writebatch/BatchWriterPostgresCopyImpl.java
Java
lgpl-2.1
11,352
<?php /*************************************************************************************/ /* */ /* Thelia */ /* ...
vigourouxjulien/thelia
setup/update.php
PHP
lgpl-3.0
9,119
/* * Copyright (C) 2005-2010 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco 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, or * (at y...
Tybion/community-edition
projects/repository/source/java/org/alfresco/filesys/repo/rules/operations/OpenFileOperation.java
Java
lgpl-3.0
2,566
// // 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 requi...
nemanja88/azure-powershell
src/ResourceManager/Compute/Commands.Compute/Generated/VirtualMachineScaleSetVM/VirtualMachineScaleSetVMGetMethod.cs
C#
apache-2.0
9,368
/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package org.fcrepo.server.utilities.status; public class ServerState { public static final ServerSt...
andreasnef/fcrepo
fcrepo-server/src/main/java/org/fcrepo/server/utilities/status/ServerState.java
Java
apache-2.0
1,711
#include "cbase.h" #include "asw_weapon_hornet_barrage.h" #ifdef CLIENT_DLL #include "c_asw_player.h" #include "c_asw_marine.h" #include "c_asw_alien.h" #include "asw_input.h" #include "prediction.h" #else #include "asw_marine.h" #include "asw_player.h" #include "asw_alien.h" #include "particle_parse.h" #include "te_e...
ppittle/AlienSwarmDirectorMod
trunk/src/game/shared/swarm/asw_weapon_hornet_barrage.cpp
C++
apache-2.0
5,658