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
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2014, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
pford68/nupic.research
sensorimotor/sensorimotor/sensorimotor_experiment_runner.py
Python
gpl-3.0
9,403
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
qtproject/qt-creator
src/plugins/qmldesigner/components/formeditor/resizecontroller.cpp
C++
gpl-3.0
11,008
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkPathEffect.h" #include "SkPictureRecorder.h" #include "SkShadowPaintFilterCanvas.h" #include "SkShadowShader.h" #include "SkSurface.h" #ifdef SK_...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/skia/gm/shadowmaps.cpp
C++
gpl-3.0
3,576
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 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 hope tha...
mvo5/snappy
cmd/snap/cmd_model.go
GO
gpl-3.0
12,390
using System.Collections.Generic; using System.Linq; namespace PKHeX.Core { /// <summary> /// Editor object that unpacks <see cref="EventWork{T}"/> into flags & work groups, and handles value get/set operations. /// </summary> /// <typeparam name="T"></typeparam> public sealed class SplitEventEdit...
ReignOfComputer/PKHeX
PKHeX.Core/Editing/Saves/Editors/EventWork/SplitEventEditor.cs
C#
gpl-3.0
2,434
package net.minecraft.entity.monster; import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityCreature; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.player.EntityPlayer; i...
aebert1/BigTransport
build/tmp/recompileMc/sources/net/minecraft/entity/monster/EntityMob.java
Java
gpl-3.0
6,264
package system // import "github.com/docker/docker/pkg/system" import ( "os" "path/filepath" "regexp" "strconv" "strings" "sync" "syscall" "time" "unsafe" winio "github.com/Microsoft/go-winio" "golang.org/x/sys/windows" ) const ( // SddlAdministratorsLocalSystem is local administrators plus NT AUTHORITY\...
mudler/docker-companion
vendor/github.com/docker/docker/pkg/system/filesys_windows.go
GO
gpl-3.0
9,173
modules.define( 'spec', ['button', 'i-bem__dom', 'chai', 'jquery', 'BEMHTML'], function(provide, Button, BEMDOM, chai, $, BEMHTML) { var expect = chai.expect; describe('button_type_link', function() { var button; beforeEach(function() { button = buildButton({ block : 'button',...
dojdev/bem-components
common.blocks/button/_type/button_type_link.spec.js
JavaScript
mpl-2.0
2,043
/** * 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/ * * Software distributed under the License is distributed on an "AS IS" * ba...
mark47/OESandbox
app/src/us/mn/state/health/lims/codeelementtype/action/CodeElementTypeNextPreviousAction.java
Java
mpl-2.0
5,173
import java.util.Scanner; public class SegmentTree { private static class Node { public int left, right; public long add, sum; public Node(int left, int right, long sum) { this.left = left; this.right = right; this.sum = sum; }...
DevinZ1993/Pieces-of-Code
java/Sets/src/SegmentTree.java
Java
mpl-2.0
3,871
""" Tests for Blocks api.py """ from django.test.client import RequestFactory from course_blocks.tests.helpers import EnableTransformerRegistryMixin from student.tests.factories import UserFactory from xmodule.modulestore import ModuleStoreEnum from xmodule.modulestore.tests.django_utils import SharedModuleStoreTestC...
antoviaque/edx-platform
lms/djangoapps/course_api/blocks/tests/test_api.py
Python
agpl-3.0
2,533
"""This *was* the parser for the current HTML format on parl.gc.ca. But now we have XML. See parl_document.py. This module is organized like so: __init__.py - utility functions, simple parse interface common.py - infrastructure used in the parsers, i.e. regexes current.py - parser for the Hansard format used from 200...
twhyte/openparliament
parliament/imports/hans_old/current.py
Python
agpl-3.0
11,722
require_relative 'test_helper' class BoxesTest < ActiveSupport::TestCase def setup create_and_activate_user login_api end kinds= %w[Profile Community Person Enterprise Environment] kinds.each do |kind| should "get_boxes_from_#{kind.downcase.pluralize}" do context_obj = fast_create(kind.cons...
coletivoEITA/noosfero-ecosol
test/api/boxes_test.rb
Ruby
agpl-3.0
4,177
/* * This file is part of ToroDB. * * ToroDB 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 of the License, or * (at your option) any later version. * * ...
ahachete/torodb
torod/torod-core/src/main/java/com/torodb/torod/core/language/querycriteria/IsGreaterOrEqualQueryCriteria.java
Java
agpl-3.0
1,681
import Analyzer from 'parser/core/Analyzer'; import RESOURCE_TYPES from 'game/RESOURCE_TYPES'; class Insanity extends Analyzer { _insanityEvents = []; on_toPlayer_energize(event) { if (event.resourceChangeType === RESOURCE_TYPES.INSANITY.id) { this._insanityEvents = [ ...this._insanityEvents, ...
ronaldpereira/WoWAnalyzer
src/parser/priest/shadow/modules/core/Insanity.js
JavaScript
agpl-3.0
435
/* * This file is part of CoAnSys project. * Copyright (c) 2012-2015 ICM-UW * * CoAnSys 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 of the License, or * (at your option) any...
acz-icm/coansys
disambiguation-author/disambiguation-author-logic/src/main/java/pl/edu/icm/coansys/disambiguation/author/pig/merger/MergeDocumentWithOrcid.java
Java
agpl-3.0
6,921
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2007-2014 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
roskens/opennms-pre-github
opennms-webapp/src/main/java/org/opennms/web/command/StatisticsReportCommand.java
Java
agpl-3.0
1,870
// Copyright 2020 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package azuretesting import ( "encoding/json" "reflect" ) // JsonMarshalRaw does the same a json.Marshal, except that it does not // use the MarshalJSON methods of the value being marshaled. If any types // are specified i...
freyes/juju
provider/azure/internal/azuretesting/json.go
GO
agpl-3.0
2,870
<?php /********************************************************************************* * TimeTrex is a Payroll and Time Management program developed by * TimeTrex Software Inc. Copyright (C) 2003 - 2014 TimeTrex Software Inc. * * This program is free software; you can redistribute it and/or modify it under * the...
BrunoChauvet/timetrex
classes/modules/api/accrual/APIAccrualBalance.class.php
PHP
agpl-3.0
4,549
Clazz.declarePackage ("org.jmol.shapespecial"); Clazz.load (["org.jmol.shape.AtomShape", "org.jmol.atomdata.RadiusData", "org.jmol.util.BitSet"], "org.jmol.shapespecial.Dots", ["java.util.Hashtable", "org.jmol.constant.EnumVdw", "org.jmol.geodesic.EnvelopeCalculation", "org.jmol.util.BitSetUtil", "$.Colix", "$.Escape",...
ksripathi/edx-demo-course
static/jsmol/j2s/org/jmol/shapespecial/Dots.js
JavaScript
agpl-3.0
7,637
import re import uuid from xmodule.assetstore.assetmgr import AssetManager XASSET_LOCATION_TAG = 'c4x' XASSET_SRCREF_PREFIX = 'xasset:' XASSET_THUMBNAIL_TAIL_NAME = '.jpg' STREAM_DATA_CHUNK_SIZE = 1024 import os import logging import StringIO from urlparse import urlparse, urlunparse, parse_qsl from urllib import ...
MakeHer/edx-platform
common/lib/xmodule/xmodule/contentstore/content.py
Python
agpl-3.0
14,964
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
hannesk001/SPHERE-Framework
Library/MOC-V/Component/Database/Vendor/Doctrine2ORM/2.5.0/lib/Doctrine/ORM/Query/AST/JoinVariableDeclaration.php
PHP
agpl-3.0
1,810
/* * * * (c) 2010-2020 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from './Globals.js'; import Point from './Point.js'; import U from './Utilities.js'; var seriesType = U.seriesType; var seri...
burki/jewish-history-online
web/vendor/highcharts/es-modules/parts/OHLCSeries.js
JavaScript
agpl-3.0
11,563
# -*- coding: utf-8 -*- # Copyright(C) 2010-2015 Julien Veyssier, Laurent Bachelier # # This file is part of weboob. # # weboob 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 of the L...
sputnick-dev/weboob
modules/piratebay/browser.py
Python
agpl-3.0
2,463
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2007-2014 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
aihua/opennms
core/tasks/src/main/java/org/opennms/core/tasks/AsyncTask.java
Java
agpl-3.0
3,889
# frozen_string_literal: true class Settings::PreferencesController < ApplicationController layout 'admin' before_action :authenticate_user! def show; end def update user_settings.update(user_settings_params.to_h) if current_user.update(user_params) I18n.locale = current_user.locale red...
TootCat/mastodon
app/controllers/settings/preferences_controller.rb
Ruby
agpl-3.0
946
<?php // created: 2015-12-11 14:01:20 $dictionary['Contact']['fields']['salutation']['len']=100; $dictionary['Contact']['fields']['salutation']['inline_edit']=true; $dictionary['Contact']['fields']['salutation']['comments']='Contact salutation (e.g., Mr, Ms)'; $dictionary['Contact']['fields']['salutation']['merge_filt...
auf/crm_auf_org
metadata/custom/modulebuilder/builds/all_auf/Extension/modules/Contacts/Ext/Vardefs/sugarfield_salutation.php
PHP
agpl-3.0
341
"""This module implement decorators for wrapping data sources so as to simplify their construction and attribution of properties. """ import functools def data_source_generator(name=None, **properties): """Decorator for applying to a simple data source which directly returns an iterable/generator with the me...
GbalsaC/bitnamiP
venv/lib/python2.7/site-packages/newrelic-2.46.0.37/newrelic/samplers/decorators.py
Python
agpl-3.0
1,626
<?php if (!defined('sugarEntry') || !sugarEntry) { die('Not A Valid Entry Point'); } /** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by Sales...
JimMackin/SuiteCRM
include/utils/LogicHook.php
PHP
agpl-3.0
9,433
package tc.oc.api.ocn; import java.util.Collection; import javax.inject.Singleton; import com.google.common.util.concurrent.ListenableFuture; import tc.oc.api.docs.MapRating; import tc.oc.api.docs.virtual.MapDoc; import tc.oc.api.docs.virtual.UserDoc; import tc.oc.api.exceptions.NotFound; import tc.oc.api.http.HttpOp...
OvercastNetwork/ProjectAres
API/ocn/src/main/java/tc/oc/api/ocn/OCNMapService.java
Java
agpl-3.0
1,908
/*-------------------------------------------------------------------- Copyright (c) 2011 Local Projects. All rights reserved. Licensed under the Affero GNU GPL v3, see LICENSE for more details. --------------------------------------------------------------------*/ tc.gam.widgetVisibilityHandler = function(option...
localprojects/Change-By-Us
static/js/tc.gam.widget-visibility-handler.js
JavaScript
agpl-3.0
2,065
# -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # LICENSE # # Copyright (c) 2010-2017, GEM Foundation, G. Weatherill, M. Pagani, # D. Monelli. # # The Hazard Modeller's Toolkit is free software: you can redistribute # it and/or modify it under the terms of the GNU Affero General Public #License a...
gem/oq-hazardlib
openquake/hmtk/strain/regionalisation/__init__.py
Python
agpl-3.0
1,925
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as ...
carlos-lopez-garces/mapnik-trunk
include/mapnik/style.hpp
C++
lgpl-2.1
1,310
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
serrapos/opencms-core
src-modules/org/opencms/workplace/tools/content/CmsPropertyDelete.java
Java
lgpl-2.1
15,467
#!/usr/bin/python import math import Sofa def tostr(L): return str(L).replace('[', '').replace("]", '').replace(",", ' ') def transform(T,p): return [T[0][0]*p[0]+T[0][1]*p[1]+T[0][2]*p[2]+T[1][0],T[0][3]*p[0]+T[0][4]*p[1]+T[0][5]*p[2]+T[1][1],T[0][6]*p[0]+T[0][7]*p[1]+T[0][8]*p[2]+T[1][2]] def transformF(T,F): re...
FabienPean/sofa
applications/plugins/Flexible/examples/patch_test/FEM.py
Python
lgpl-2.1
6,005
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
maui-packages/qt-creator
src/plugins/clangcodemodel/test/cxx_regression_2.cpp
C++
lgpl-2.1
1,722
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
AltarBeastiful/qt-creator
src/plugins/qmljstools/qmlconsoleview.cpp
C++
lgpl-2.1
10,425
/********************************************************************************/ /* Projeto: Biblioteca ZeusDFe */ /* Biblioteca C# para auxiliar no desenvolvimento das demais bibliotecas DFe */ /* ...
adrbarros/Zeus.Net.NFe.NFCe
Shared.DFe.Classes/Assinatura/Transform.cs
C#
lgpl-2.1
3,142
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Li...
RLovelett/qt
src/xmlpatterns/utils/qdelegatingnamespaceresolver.cpp
C++
lgpl-2.1
3,480
#ifndef BOOST_CORE_LIGHTWEIGHT_TEST_TRAIT_HPP #define BOOST_CORE_LIGHTWEIGHT_TEST_TRAIT_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif // boost/core/lightweight_test_trait.hpp // // BOOST_TEST_TRAIT_TRUE, BOOST_TEST_TRAIT_FALSE, BOOST_TEST_TRAIT_SAME // // Copyright 20...
qianqians/abelkhan
cpp_component/3rdparty/boost/boost/core/lightweight_test_trait.hpp
C++
lgpl-2.1
2,747
#region License // Copyright (c) 2007 James Newton-King // // 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, /...
consumentor/Server
trunk/tools/Json.Net/Source/Src/Newtonsoft.Json/Schema/JsonSchemaWriter.cs
C#
lgpl-3.0
8,106
/** * This file is part of FNLP (formerly FudanNLP). * * FNLP 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 your option) any later version. * * FNLP...
xpqiu/fnlp
fnlp-core/src/main/java/org/fnlp/util/exception/LoadModelException.java
Java
lgpl-3.0
1,512
// // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // 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, cop...
edwinspire/VSharp
v#/corlib/System.Runtime.InteropServices/DESCKIND.cs
C#
lgpl-3.0
1,520
namespace StockSharp.Algo.Export { using System; using System.Collections.Generic; using System.Linq; using System.Xml; using Ecng.Common; using StockSharp.BusinessEntities; using StockSharp.Messages; /// <summary> /// Ýêñïîðò â xml. /// </summary> public class XmlExporter : BaseExporter { private cons...
donaldlee2008/StockSharp
Algo/Export/XmlExporter.cs
C#
lgpl-3.0
11,023
{ "translatorID": "cd587058-6125-4b33-a876-8c6aae48b5e8", "label": "WHO", "creator": "Mario Trojan, Philipp Zumstein", "target": "^http://apps\\.who\\.int/iris/", "minVersion": "3.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSupport": "gcsibv", "lastUpdated": "201...
ZotPlus/zotero-better-bibtex
test/fixtures/profile/zotero/zotero/translators/WHO.js
JavaScript
unlicense
9,219
'use strict'; angular.module('mgcrea.ngStrap.typeahead', ['mgcrea.ngStrap.tooltip', 'mgcrea.ngStrap.helpers.parseOptions']) .provider('$typeahead', function() { var defaults = this.defaults = { animation: 'am-fade', prefixClass: 'typeahead', prefixEvent: '$typeahead', placement: 'bottom...
anirvann/testApp
vendor/angular-strap/src/typeahead/typeahead.js
JavaScript
unlicense
8,390
namespace TinderApp.Library.Controls { public interface IApp { CustomPhoneApplicationFrame RootFrameInstance { get; } void Logout(); } }
brianhama/tinder
TinderApp.Library/Controls/IApp.cs
C#
unlicense
168
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
okalmanRH/jboss-activemq-artemis
tests/joram-tests/src/test/java/org/apache/activemq/artemis/common/AbstractAdmin.java
Java
apache-2.0
9,253
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache/qpid-jms
qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/JMSContextIntegrationTest.java
Java
apache-2.0
7,660
package org.apereo.cas.authentication; import com.google.common.base.Splitter; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.services.MultifactorAuthenticationProvider; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.services.RegisteredServiceMultifactorPolicy;...
creamer/cas
core/cas-server-core-services/src/main/java/org/apereo/cas/authentication/DefaultMultifactorTriggerSelectionStrategy.java
Java
apache-2.0
4,960
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2017 F5 Networks 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 # ...
mcgonagle/ansible_f5
library_old/iworkflow_license_pool.py
Python
apache-2.0
10,879
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may ...
apache/jmeter
src/core/src/main/java/org/apache/jmeter/gui/HtmlReportAction.java
Java
apache-2.0
2,972
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
camunda/camunda-bpmn-model
src/main/java/org/camunda/bpm/model/bpmn/impl/instance/camunda/CamundaConnectorImpl.java
Java
apache-2.0
3,445
/* * Copyright 2000-2015 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...
Soya93/Extract-Refactoring
python/educational-core/student/src/com/jetbrains/edu/learning/stepic/StudyCoursesUpdater.java
Java
apache-2.0
2,161
///<reference path="app.js" /> define(['Dexie', 'Dexie.Observable', './console'], function (Dexie, DexieObservable, console) { // Declare Dexie instance and explicitely apply the addon: var db = new Dexie("appdb2", { addons: [DexieObservable] }); // Define database schema db.version(1).stores({ ...
YuriSolovyov/Dexie.js
samples/requirejs-with-addons/scripts/db.js
JavaScript
apache-2.0
643
/* 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 * distributed...
AlexMinsk/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/api/runtime/util/IncrementCounterListener.java
Java
apache-2.0
977
package foo; public class ControllerB2 extends grails.TopB { public void foo() { super.foo(); System.out.println("ControllerB.foo() running again!"); } }
spring-projects/spring-loaded
testdata/src/main/java/foo/ControllerB2.java
Java
apache-2.0
162
/* * Copyright (c) 2015 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
wangcy6/storm_app
frame/c++/webrtc-master/test/fuzzers/h264_depacketizer_fuzzer.cc
C++
apache-2.0
701
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual 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 Licen...
rhusar/undertow
core/src/main/java/io/undertow/conduits/ReadTimeoutStreamSourceConduit.java
Java
apache-2.0
8,603
// Copyright (c) 2019 The Jaeger Authors. // Copyright (c) 2017 Uber Technologies, 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 //...
uber/jaeger
pkg/cache/lru.go
GO
apache-2.0
4,507
require_relative '../../puppet_x/puppetlabs/property/tag.rb' require_relative '../../puppet_x/puppetlabs/property/region.rb' require_relative '../../puppet_x/puppetlabs/aws_ingress_rules_parser' Puppet::Type.newtype(:ec2_securitygroup) do @doc = 'type representing an EC2 security group' ensurable newparam(:nam...
gregohardy/puppetlabs-aws
lib/puppet/type/ec2_securitygroup.rb
Ruby
apache-2.0
1,842
/*! * Copyright 2014 Apereo Foundation (AF) 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://opensource.org/licenses/ECL-2.0 * * Unless required by applicab...
nicolaasmatthijs/3akai-ux
node_modules/oae-core/editprofile/js/editprofile.js
JavaScript
apache-2.0
16,154
# ./darwinpush/xb/raw/sm.py # -*- coding: utf-8 -*- # PyXB bindings for NM:8eb48f8f0e727f488907a816c69d6ed98ba221c7 # Generated 2015-04-23 16:42:14.513978 by PyXB version 1.2.4 using Python 3.4.1.final.0 # Namespace http://www.thalesgroup.com/rtti/PushPort/StationMessages/v1 [xmlns:sm] from __future__ import unicode_l...
HackTrain/darwinpush
darwinpush/xb/raw/sm.py
Python
apache-2.0
22,743
/** * 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...
vega113/incubator-wave
wave/src/test/java/org/waveprotocol/wave/client/editor/content/paragraph/RenumbererTestBase.java
Java
apache-2.0
16,472
from urlparse import urlparse from api_tests.nodes.views.test_node_contributors_list import NodeCRUDTestCase from nose.tools import * # flake8: noqa from api.base.settings.defaults import API_BASE from framework.auth.core import Auth from tests.base import fake from osf_tests.factories import ( ProjectFactory, ...
monikagrabowska/osf.io
api_tests/registrations/views/test_withdrawn_registrations.py
Python
apache-2.0
7,865
//where /** Generate code to create an array with given element type and number * of dimensions. */ Item makeNewArray(DiagnosticPosition pos, Type type, int ndims) { try {//我加上的 DEBUG.P(this,"makeNewArray(3)"); DEBUG.P("type="+type); DEBUG.P("ndims="+ndims); Type elemtype = types.elemtype(ty...
mashuai/Open-Source-Research
Javac2007/流程/jvm/16Gen/makeNewArray.java
Java
apache-2.0
914
/* * 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 ...
xhoong/incubator-calcite
core/src/main/java/org/apache/calcite/util/TimeString.java
Java
apache-2.0
7,356
# # Cookbook Name:: graphite # Library:: ChefGraphite # # Copyright 2014, Heavy Water Ops, LLC # # 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 #...
mbabic/graphite
libraries/chef_graphite.rb
Ruby
apache-2.0
2,028
/** * <copyright> * Copyright (c) 2008 IBM Corporation and others. * 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 at * http://www.eclipse.org/legal/epl-v10.html * *...
chanakaudaya/developer-studio
bps/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/adapters/MessageExchangesAdapter.java
Java
apache-2.0
2,792
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
mgillian/uPortal
uportal-war/src/main/java/org/jasig/portal/layout/dlm/DeleteManager.java
Java
apache-2.0
8,567
/* * Copyright (c) 2013-2016 Cinchapi 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 a...
remiemalik/concourse
concourse-server/src/main/java/com/cinchapi/concourse/server/model/Position.java
Java
apache-2.0
5,815
<?php /** * This example adds text ads to an ad group that uses upgraded URLs. * * To get ad groups, run GetAdGroups.php. * * Restriction: adwords-only * * Copyright 2014, Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in...
a1pro/adwordsAPI
examples/AdWords/v201506/AdvancedOperations/AddTextAdWithUpgradedUrls.php
PHP
apache-2.0
5,203
from collections import OrderedDict from app.master.atom_grouper import AtomGrouper class TimeBasedAtomGrouper(object): """ This class implements the algorithm to best split & group atoms based on historic time values. This algorithm is somewhat complicated, so I'm going to give a summary here. ~~~~~...
nickzuber/ClusterRunner
app/master/time_based_atom_grouper.py
Python
apache-2.0
11,090
// Copyright 2012 Google 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...
andyj24/googleads-java-lib
modules/ads_lib/src/main/java/com/google/api/ads/common/lib/soap/SoapCallReturn.java
Java
apache-2.0
3,736
/** * Copyright 2020 The AMP HTML Authors. 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...
lannka/amphtml
extensions/amp-a4a/0.1/head-validation.js
JavaScript
apache-2.0
6,308
/* * 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 ...
prestoncarman/vxquery
vxquery-core/src/main/java/org/apache/vxquery/compiler/rewriter/rules/IntroduceTwoStepAggregateRule.java
Java
apache-2.0
5,872
/* * Copyright 2000-2012 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...
ThiagoGarciaAlves/intellij-community
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/JdkComboBox.java
Java
apache-2.0
15,058
/** * 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...
tseen/Federated-HDFS
tseenliu/FedHDFS-hadoop-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSLeafQueue.java
Java
apache-2.0
10,600
/* * Copyright 2013 Netflix, 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 ...
skinzer/governator
governator-legacy/src/test/java/com/netflix/governator/lifecycle/warmup/Flat.java
Java
apache-2.0
1,291
/* 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...
zwets/flowable-engine
modules/flowable-idm-engine/src/main/java/org/flowable/idm/engine/impl/cmd/SetUserPictureCmd.java
Java
apache-2.0
2,022
/* Copyright 2016 Goldman Sachs. 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...
goldmansachs/reladomo
reladomo/src/test/java/com/gs/fw/common/mithra/test/tax/FormRoleList.java
Java
apache-2.0
1,001
/** * Purpose of package - find largest number from 2 and 3 numbers. * @since 1.0 * @author skuznetsov * @version 2.0 */ package ru.skuznetsov;
kuznetsovsergeyymailcom/homework
chapter_001/maximumFromTwoNumbers/src/test/java/ru/skuznetsov/package-info.java
Java
apache-2.0
145
/* Copyright 2014 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, ...
caesarxuchao/kubernetes
test/e2e/framework/statefulset_utils.go
GO
apache-2.0
23,045
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.parser; import gw.lang.reflect.IMethodInfo; /** */ public class ReducedDelegateFunctionSymbol extends ReducedDynamicFunctionSymbol implements IReducedDelegateFunctionSymbol { private IMethodInfo _targetMethodInfo; ReducedDelegateFunctio...
dumitru-petrusca/gosu-lang
gosu-core/src/main/java/gw/internal/gosu/parser/ReducedDelegateFunctionSymbol.java
Java
apache-2.0
511
/* Copyright 2017 The TensorFlow Authors. 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 a...
horance-liu/tensorflow
tensorflow/compiler/xla/service/cpu/layout_assignment.cc
C++
apache-2.0
7,084
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* eslint-env node */ /* vim: set ts=2 ft=javascript: */ /// <reference types="../node_modules/@types/node/" /> const n = "xlsx"; import X = require("xlsx"); import 'exit-on-epipe'; import * as fs from 'fs'; import program = require('commander'); program .v...
SheetJS/js-xlsx
types/bin_xlsx.ts
TypeScript
apache-2.0
8,728
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace DTcms.Web.admin.manager { public pa...
LutherW/MTMS
Source/DTcms.Web/admin/manager/role_edit.aspx.designer.cs
C#
apache-2.0
2,149
package org.apereo.cas.ticket.registry; import org.apereo.cas.ticket.Ticket; import org.infinispan.Cache; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Collection; import java.util.concurrent.TimeUnit; /** * This is {@link InfinispanTicketRegistry}. Infinispan is a distributed in-memory ...
petracvv/cas
support/cas-server-support-infinispan-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/InfinispanTicketRegistry.java
Java
apache-2.0
2,994
# 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 u...
MJJoyce/climate
ocw/tests/test_dataset.py
Python
apache-2.0
8,091
'use strict'; module.exports = function (math) { var util = require('../../util/index'), BigNumber = math.type.BigNumber, collection = require('../../type/collection'), isNumber = util.number.isNumber, isBoolean = util['boolean'].isBoolean, isInteger = util.number.isInteger, isC...
wyom/mathjs
lib/function/probability/factorial.js
JavaScript
apache-2.0
2,388
/* * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
XidongHuang/aws-sdk-for-java
src/main/java/com/amazonaws/services/ec2/model/transform/DescribeTagsResultStaxUnmarshaller.java
Java
apache-2.0
2,423
/* * 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")...
howepeng/isis
core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/disabled/DisabledFacetForPropertyAnnotation.java
Java
apache-2.0
2,470
module ActionMailer # Returns the version of the currently loaded ActionMailer as a <tt>Gem::Version</tt> def self.gem_version Gem::Version.new VERSION::STRING end module VERSION MAJOR = 4 MINOR = 1 TINY = 6 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end end
WilliamFdosS/os-management
vendor/bundle/ruby/2.1.0/gems/actionmailer-4.1.6/lib/action_mailer/gem_version.rb
Ruby
apache-2.0
318
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.security.authc.support.mapper; import org.apa...
coding0011/elasticsearch
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStore.java
Java
apache-2.0
18,616
# This is the Ruby 2.0-specific kernel file. # Currently, all 1.9 features are in 2.0. We will need to # differentiate when there are features from 1.9 removed # in 2.0. # These are loads so they don't pollute LOADED_FEATURES load 'jruby/kernel19.rb' load 'jruby/kernel20/enumerable.rb' load 'jruby/kernel20/range.rb' ...
evandor/skysail-framework
skysail.server.text.asciidoc/resources/jruby/kernel20.rb
Ruby
apache-2.0
355
/* * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 2004,2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
shun634501730/java_source_cn
src_en/com/sun/org/apache/xerces/internal/impl/dv/xs/YearMonthDurationDV.java
Java
apache-2.0
2,247
package depends import ( "fmt" "sync" logutil "github.com/docker/infrakit/pkg/log" "github.com/docker/infrakit/pkg/types" ) var log = logutil.New("module", "run/depends") // ParseDependsFunc returns a list of dependencies of this spec. type ParseDependsFunc func(types.Spec) (Runnables, error) var ( parsers = ...
kaufers/infrakit
pkg/run/depends/depends.go
GO
apache-2.0
1,571
/* * Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved * http://www.griddynamics.com * * This library is free software; you can redistribute it and/or modify it under the terms of * the Apache License; either * version 2.0 of the License, or any later version. * * THIS SOFTWARE...
Nmishin/jagger
dbapi/src/main/java/com/griddynamics/jagger/dbapi/parameter/GroupKey.java
Java
apache-2.0
2,536
using Newtonsoft.Json.Linq; using System; namespace Kudu.Core.Functions { public interface IKeyJsonOps<T> { int NumberOfKeysInDefaultFormat { get; } // key generation is based on run time string GenerateKeyJson(Tuple<string,string>[] keyPairs, strin...
EricSten-MSFT/kudu
Kudu.Contracts/Functions/IKeyJsonOps.cs
C#
apache-2.0
611
# 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 ...
tmgstevens/flume
flume-ng-doc/sphinx/conf.py
Python
apache-2.0
3,274