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
// // Copyright (C) 2016 - present Instructure, Inc. // // This file is part of Canvas. // // Canvas 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, version 3 of the License. // // Canvas is distribut...
venturehive/canvas-lms
app/coffeescripts/api/enrollmentTermsApi.js
JavaScript
agpl-3.0
1,662
/*====================================================== ************ Pull To Refresh ************ ======================================================*/ app.initPullToRefresh = function (pageContainer) { var eventsTarget = $(pageContainer); if (!eventsTarget.hasClass('pull-to-refresh-content')) { ...
ayuzhin/web-apps
vendor/framework7/src/js/pull-to-refresh.js
JavaScript
agpl-3.0
8,596
/** * Copyright © MyCollab * * 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 of the License, or * (at your option) any later version. * * This program is distribu...
aglne/mycollab
mycollab-web/src/main/java/com/mycollab/vaadin/web/ui/CheckBoxDecor.java
Java
agpl-3.0
1,104
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2016-2016 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2016 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
aihua/opennms
features/poller/remote/src/test/java/org/opennms/netmgt/poller/remote/metadata/EmailValidatorTest.java
Java
agpl-3.0
2,394
/* * ProActive Parallel Suite(TM): * The Open Source library for parallel and distributed * Workflows & Scheduling, Orchestration, Cloud Automation * and Big Data Analysis on Enterprise Grids & Clouds. * * Copyright (c) 2007 - 2017 ActiveEon * Contact: contact@activeeon.com * * This library is free software: y...
paraita/programming
programming-core/src/main/java/org/objectweb/proactive/core/jmx/mbean/JMXClassLoaderMBean.java
Java
agpl-3.0
1,413
<?php /** * Copyright (C) 2020 Xibo Signage Ltd * * Xibo - Digital Signage - http://www.xibo.org.uk * * This file is part of Xibo. * * Xibo 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, eithe...
xibosignage/xibo-cms
lib/Widget/TwitterBase.php
PHP
agpl-3.0
4,380
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2016 Kuali, 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, eithe...
kuali/kc
coeus-impl/src/main/java/org/kuali/coeus/propdev/impl/action/ProposalDevelopmentRejectionRule.java
Java
agpl-3.0
1,586
"""Capa's specialized use of codejail.safe_exec.""" import hashlib from codejail.safe_exec import SafeExecException, json_safe from codejail.safe_exec import not_safe_exec as codejail_not_safe_exec from codejail.safe_exec import safe_exec as codejail_safe_exec from edx_django_utils.monitoring import function_trace i...
eduNEXT/edx-platform
common/lib/capa/capa/safe_exec/safe_exec.py
Python
agpl-3.0
6,279
<?php $module_name='Cosib_postsale'; $subpanel_layout = array ( 'top_buttons' => array ( 0 => array ( 'widget_class' => 'SubPanelTopCreateButton', ), 1 => array ( 'widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'Cosib_postsale', ), ), 'where' => '', ...
yonkon/nedvig
modules/Cosib_postsale/metadata/subpanels/default.php
PHP
agpl-3.0
756
class CreateIdentities < ActiveRecord::Migration def change create_table :identities do |t| t.references :user, index: true t.string :provider t.string :uid t.timestamps null: false end end end
asm-products/pay-it-forward
db/migrate/20141010013730_create_identities.rb
Ruby
agpl-3.0
231
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import time from odoo import api, fields, models class ProductProduct(models.Model): _inherit = "product.product" date_from = fields.Date(compute='_compute_product_margin_fields_values', string='Margin Date F...
ygol/odoo
addons/product_margin/models/product_product.py
Python
agpl-3.0
9,711
# clean sequences after alignment, criteria based on sequences # make inline with canonical ordering (no extra gaps) import os, datetime, time, re from itertools import izip from Bio.Align import MultipleSeqAlignment from Bio.Seq import Seq from scipy import stats import numpy as np class virus_clean(object): """doc...
doerlbh/Indie-nextflu
augur/src/virus_clean.py
Python
agpl-3.0
3,403
<?php // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. // See the LICENCE file in the repository root for full licence text. return [ 'availability' => [ 'disabled' => 'Ez a beatmap jelenleg nem letölthető.', 'parts-removed' => 'Ez a beatmap...
ppy/osu-web
resources/lang/hu/beatmapsets.php
PHP
agpl-3.0
8,051
/** \file * \author John Bridgman * \brief */ #include <Variant/Blob.h> #include <stdlib.h> #include <new> #include <string.h> #include <algorithm> namespace libvariant { static void MallocFree(void *ptr, void *) { free(ptr); } shared_ptr<Blob> Blob::Create(void *ptr, unsigned len, BlobFreeFunc ffunc, void ...
telefonicaid/fiware-IoTAgent-Cplusplus
third_party/variant/src/Blob.cc
C++
agpl-3.0
3,102
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2014 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
speixoto/zurmo-for-school
app/protected/modules/emailTemplates/elements/actions/MergeTagGuideAjaxLinkActionElement.php
PHP
agpl-3.0
4,382
class AddPublicDiscussionsCount < ActiveRecord::Migration def change add_column :groups, :public_discussions_count, :integer, null: false, default: 0 end end
mhjb/loomio
db/migrate/20160301094551_add_public_discussions_count.rb
Ruby
agpl-3.0
166
<?php use MapasCulturais\i; $section = ''; $groups = $this->getDictGroups(); $editEntity = $this->controller->action === 'create' || $this->controller->action === 'edit'; $texts = \MapasCulturais\Themes\BaseV1\Theme::_dict(); ?> <div id="texts" class="aba-content"> <p class="alert info"> <?php i::_e('Nest...
secultce/mapasculturais
src/protected/application/themes/BaseV1/layouts/parts/singles/subsite-texts.php
PHP
agpl-3.0
2,527
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2014 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
maruthisivaprasad/zurmo
app/protected/modules/reports/controllers/DefaultController1.php
PHP
agpl-3.0
30,234
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH & Co. KG (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 th...
ggiudetti/opencms-core
src/org/opencms/gwt/shared/sort/CmsComparatorType.java
Java
lgpl-2.1
1,889
/* eXokernel Development Kit (XDK) Based on code by Samsung Research America Copyright (C) 2013 The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of t...
dwaddington/xdk
drivers/nvme-ssd/nvme_common.cc
C++
lgpl-2.1
1,621
package railo.runtime.search.lucene2.query; import railo.commons.lang.StringUtil; public final class Concator implements Op { private Op left; private Op right; public Concator(Op left,Op right) { this.left=left; this.right=right; } @Override public String toString() { if(left instanceof Literal && ri...
modius/railo
railo-java/railo-core/src/railo/runtime/search/lucene2/query/Concator.java
Java
lgpl-2.1
516
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class XorgServer(AutotoolsPackage, XorgPackage): """X.Org Server is the free and open source imp...
iulian787/spack
var/spack/repos/builtin/packages/xorg-server/package.py
Python
lgpl-2.1
2,055
package org.hivedb.hibernate; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.shards.session.OpenSessionEvent; import java.sql.SQLException; public class RecordNodeOpenSessionEvent implements OpenSessionEvent { public static ThreadLocal<String> node = new ThreadLocal<Str...
britt/hivedb
src/main/java/org/hivedb/hibernate/RecordNodeOpenSessionEvent.java
Java
lgpl-2.1
834
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
TheTimmy/spack
lib/spack/spack/cmd/cd.py
Python
lgpl-2.1
1,684
/**************************************************************************** ** ** Copyright (C) 2013 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...
duythanhphan/qt-creator
src/plugins/qmlprofiler/qmlprofilertraceview.cpp
C++
lgpl-2.1
22,504
package railo.runtime.functions.dateTime; import java.util.TimeZone; import railo.runtime.PageContext; import railo.runtime.exp.ExpressionException; import railo.runtime.ext.function.Function; import railo.runtime.tag.util.DeprecatedUtil; import railo.runtime.type.dt.DateTime; import railo.runtime.type.dt.DateTimeImp...
JordanReiter/railo
railo-java/railo-core/src/railo/runtime/functions/dateTime/NowServer.java
Java
lgpl-2.1
870
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...
raghavaggarwal/moose
modules/phase_field/src/kernels/KKSACBulkF.C
C++
lgpl-2.1
2,419
// Boost.Geometry Index // // R-tree spatial query visitor implementation // // Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland. // // This file was modified by Oracle on 2019-2021. // Modifications copyright (c) 2019-2021 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf ...
qianqians/abelkhan
cpp_component/3rdparty/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp
C++
lgpl-2.1
8,657
# # Secret Labs' Regular Expression Engine # # various symbols used by the regular expression engine. # run this script to update the _sre include files! # # Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved. # # See the sre.py file for information on usage and redistribution. # """Internal su...
harmy/kbengine
kbe/res/scripts/common/Lib/sre_constants.py
Python
lgpl-3.0
7,444
<?php /** * @group regression * @covers ApiKeys_ApiKeyStruct::validSecret * User: dinies * Date: 21/06/16 * Time: 15.50 */ class GetUserApiKeyTest extends AbstractTest { protected $uid; private $test_data; function setup() { /** * environment initialization */ ...
riccio82/MateCat
test/unit/Structs/TestApiKeyStruct/GetUserApiKeyTest.php
PHP
lgpl-3.0
1,600
// // System.Web.UI.HtmlControls.HtmlSelect.cs // // Author: // Dick Porter <dick@ximian.com> // // Copyright (C) 2005-2010 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"), ...
edwinspire/VSharp
class/System.Web/System.Web.UI.HtmlControls/HtmlSelect.cs
C#
lgpl-3.0
17,515
// // ServiceCredentials.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2005 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 Sof...
edwinspire/VSharp
class/System.ServiceModel/System.ServiceModel.Description/ServiceCredentials.cs
C#
lgpl-3.0
4,458
"use strict"; var express = require('express'); var less = require('less-middleware'); function HttpServer(port, staticServedPath, logRequest) { this.port = port; this.staticServedPath = staticServedPath; this.logRequest = (typeof logRequest === "undefined") ? true : logRequest; } HttpServer.prototype.start = ...
o-schneider/heroesdesk-front-web
src/server/HttpServer.js
JavaScript
lgpl-3.0
917
using System; using System.Collections.Generic; using DoxygenWrapper.Wrappers.Compounds.Types; using System.Xml; namespace DoxygenWrapper.Wrappers.Compounds { public class CompoundMember: Compound { protected override void OnParse(XmlNode _node) { base.OnParse(_node); mCompoundType = new ...
blunted2night/MyGUI
Wrappers/DoxygenWrapper/DoxygenWrapper/Wrappers/Compounds/CompoundMember.cs
C#
lgpl-3.0
508
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Result' db.create_table('taxonomy_result', ( ('id', self.gf('django.db.models....
zuck/prometeo-erp
core/taxonomy/migrations/0001_initial.py
Python
lgpl-3.0
8,429
/* * World Calendars * https://github.com/alexcjohnson/world-calendars * * Batch-converted from kbwood/calendars * Many thanks to Keith Wood and all of the contributors to the original project! * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this sourc...
andrealmeid/ToT
node_modules/world-calendars/dist/calendars/taiwan-zh-TW.js
JavaScript
unlicense
1,220
/*** *mbsupr.c - Convert string upper case (MBCS) * * Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved. * *Purpose: * Convert string upper case (MBCS) * *******************************************************************************/ #ifdef _MBCS #if defined (_WIN32) #incl...
hyller/CodeLibrary
The_Standard_C_Library/MBSUPR.C
C++
unlicense
2,615
<!-- To change this template, choose Tools | Templates and open the template in the editor. --> <body> <legend><a href="<?php echo base_url(); ?>" >Home</a> | <a href="<?php echo base_url(); ?>reviewer" >Refresh</a> | <?php echo anchor('reviewer/samples_for_review/'.$reviewer_id,'Worksheets Uploaded For Review'); ?>...
johnotaalo/NQCL_LIMS
application/views/reviewer_v_tr.php
PHP
unlicense
1,312
'use strict'; import EventMap from 'eventmap'; import Log from './log'; var audioTypes = { 'mp3': 'audio/mpeg', 'wav': 'audio/wav', 'ogg': 'audio/ogg' }; var imageTypes = { 'png': 'image/png', 'jpg': 'image/jpg', 'gif': 'image/gif' }; class AssetLoader extends EventMap { constructor(assets) { supe...
maxwerr/gamebox
src/assetloader.js
JavaScript
unlicense
599
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/docdb/model/DescribePendingMaintenanceActionsResult.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> ...
jt70471/aws-sdk-cpp
aws-cpp-sdk-docdb/source/model/DescribePendingMaintenanceActionsResult.cpp
C++
apache-2.0
2,358
package examples.Bricklet.Moisture; import com.tinkerforge.BrickletMoisture; import com.tinkerforge.IPConnection; public class ExampleSimple { private static final String host = "localhost"; private static final int port = 4223; private static final String UID = "XYZ"; // Change to your UID // Note: To make the ...
jaggr2/ch.bfh.fbi.mobiComp.17herz
com.tinkerforge/src/examples/Bricklet/Moisture/ExampleSimple.java
Java
apache-2.0
1,020
/** * Copyright 2015 LinkedIn Corp. 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 applica...
alyiwang/WhereHows
wherehows-ingestion/src/test/java/wherehows/ingestion/converters/KafkaLogCompactionConverterTest.java
Java
apache-2.0
2,728
/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms * and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IBApi { ...
AvengersPy/MyPairs
testIBPython/csharpclient/EClientErrors.cs
C#
apache-2.0
6,913
/** * 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 m...
RanjithKumar5550/RanMifos
fineract-provider/src/main/java/org/apache/fineract/template/api/TemplatesApiResource.java
Java
apache-2.0
9,902
/* * 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 * distri...
amdtelecom/jsmpp
jsmpp/src/main/java/org/jsmpp/bean/SimpleDataCoding.java
Java
apache-2.0
3,967
/* * Copyright 2013-2014 Richard M. Hightower * 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...
wprice/boon
boon/src/main/java/org/boon/validation/annotations/Email.java
Java
apache-2.0
2,011
/* * 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...
signed/intellij-community
platform/usageView/src/com/intellij/usages/impl/rules/NonCodeUsageGroupingRule.java
Java
apache-2.0
4,612
(function () { function remap(fromValue, fromMin, fromMax, toMin, toMax) { // Compute the range of the data var fromRange = fromMax - fromMin, toRange = toMax - toMin, toValue; // If either range is 0, then the value can only be mapped to 1 value if (fromRange ==...
puyanLiu/LPYFramework
前端练习/10canvas/文档/KineticJS-master/src/filters/Enhance.js
JavaScript
apache-2.0
4,121
/* * Copyright 2010-2016 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...
flofreud/aws-sdk-java
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/transform/CreateAliasResultJsonUnmarshaller.java
Java
apache-2.0
2,842
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The String.prototype.charAt.length property has the attribute DontEnum es5id: 15.5.4.4_A8 description: > Checking if enumerating the String.prototype.charAt.length pro...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/String/prototype/charAt/S15.5.4.4_A8.js
JavaScript
apache-2.0
1,510
package imagestreamimport import ( "fmt" "net/http" "time" "github.com/golang/glog" gocontext "golang.org/x/net/context" kapierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/diff" utilruntime "k8s.io/ap...
chlunde/origin
pkg/image/registry/imagestreamimport/rest.go
GO
apache-2.0
18,453
/* This file is part of SableCC ( http://sablecc.org ). * * See the NOTICE file distributed with this work for copyright information. * * 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 * ...
Herve-M/sablecc
src/org/sablecc/sablecc/semantics/Context.java
Java
apache-2.0
794
package network // 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 // // Unl...
wojtekzw/imageproxy
vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-03-01/network/interfaces.go
GO
apache-2.0
42,507
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
marsorp/blog
presto166/presto-main/src/main/java/com/facebook/presto/operator/OperatorStats.java
Java
apache-2.0
15,302
/* * 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...
nezirus/elasticsearch
core/src/test/java/org/elasticsearch/client/AbstractClientHeadersTestCase.java
Java
apache-2.0
9,899
// Copyright 2014 The Oppia 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 ap...
amgowano/oppia
core/tests/protractor_utils/general.js
JavaScript
apache-2.0
6,076
package org.jetbrains.plugins.scala.lang.formatter; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.CommandProcessor; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.EditorFactory; import com.intellij.openapi.editor.impl.DocumentImpl; impo...
ilinum/intellij-scala
test/org/jetbrains/plugins/scala/lang/formatter/AbstractScalaFormatterTestBase.java
Java
apache-2.0
7,072
<?php /** * 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"...
cripure/openpne3
plugins/opOpenSocialPlugin/lib/vendor/Shindig/src/social/model/Activity.php
PHP
apache-2.0
4,000
/* * Copyright 2000-2009 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...
liveqmock/platform-tools-idea
platform/indexing-impl/src/com/intellij/openapi/module/impl/scopes/LibraryRuntimeClasspathScope.java
Java
apache-2.0
6,421
/** * Copyright (C) 2013-2014 EaseMob Technologies. 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 * Unles...
cf0566/CarMarket
src/com/easemob/chatuidemo/widget/photoview/ScrollerProxy.java
Java
apache-2.0
3,945
/* * 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 ...
implydata/druid
sql/src/main/java/org/apache/druid/sql/calcite/expression/builtin/LikeOperatorConversion.java
Java
apache-2.0
3,331
/// Copyright (c) 2009 Microsoft Corporation /// /// 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 conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37.js
JavaScript
apache-2.0
2,322
/* * 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 * "Licen...
ankitsinghal/phoenix
phoenix-pherf/src/main/java/org/apache/phoenix/pherf/rules/SequentialIntegerDataGenerator.java
Java
apache-2.0
2,431
// Copyright 2015 The Bazel 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 appl...
damienmg/bazel
src/test/java/com/google/devtools/build/lib/profiler/ProfilerTest.java
Java
apache-2.0
19,092
/* * 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.runtimefields.query; import org.apache.lucen...
nknize/elasticsearch
x-pack/plugin/runtime-fields/src/main/java/org/elasticsearch/xpack/runtimefields/query/StringScriptFieldRangeQuery.java
Java
apache-2.0
3,629
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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 la...
Ernesto99/IdentityManager
source/Core/Extensions/IdentityManagerResultExtensions.cs
C#
apache-2.0
1,056
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
xasx/camunda-bpm-platform
distro/wildfly8/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Java
apache-2.0
5,340
/* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Inc. * Copyright 2010, Real-Time Innovations, 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...
steveturner/datadistrib4j
srcJava/org/omg/dds/type/typeobject/UnionType.java
Java
apache-2.0
1,765
package alien4cloud.tosca.parser.postprocess; import static alien4cloud.utils.AlienUtils.safe; import javax.annotation.Resource; import org.alien4cloud.tosca.model.types.NodeType; import org.springframework.stereotype.Component; /** * Post process a node type. */ @Component public class NodeTypePostProcessor impl...
alien4cloud/alien4cloud
alien4cloud-tosca/src/main/java/alien4cloud/tosca/parser/postprocess/NodeTypePostProcessor.java
Java
apache-2.0
784
/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package protoutil import ( "bytes" "crypto/sha256" "encoding/asn1" "math/big" "github.com/golang/protobuf/proto" cb "github.com/hyperledger/fabric-protos-go/common" "github.com/pkg/errors" ) // NewBlock constructs a block wit...
hyperledger/fabric
protoutil/blockutils.go
GO
apache-2.0
6,557
/* * Copyright 2021 NAVER Corp. * * 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 w...
emeroad/pinpoint
profiler/src/main/java/com/navercorp/pinpoint/profiler/plugin/config/DefaultPluginLoadingConfig.java
Java
apache-2.0
2,527
/* * 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 ...
freeVM/freeVM
enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/agent/core/OptionParser.cpp
C++
apache-2.0
5,843
package org.jaudiotagger.audio.mp4; import org.jaudiotagger.audio.generic.GenericAudioHeader; import org.jaudiotagger.audio.mp4.atom.Mp4EsdsBox; /** * Store some additional attributes not available for all audio types */ public class Mp4AudioHeader extends GenericAudioHeader { /** * The key for the kind fi...
dubenju/javay
src/java/org/jaudiotagger/audio/mp4/Mp4AudioHeader.java
Java
apache-2.0
1,542
/** * @license * Copyright 2020 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.crunch.lite', name: 'MinMaxCapabilityRefinement', refines: 'foam.nanos.crunch.MinMaxCapability', implements: [ 'foam.nanos.crunch.lite.CapableCompati...
jacksonic/vjlofvhjfgm
src/foam/nanos/crunch/lite/MinMaxCapabilityRefinement.js
JavaScript
apache-2.0
3,413
/* * Copyright 2008-2013 LinkedIn, 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 agre...
HB-SI/voldemort
src/java/voldemort/cluster/Cluster.java
Java
apache-2.0
13,745
# Copyright 2015 Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
samstav/fastfood
fastfood/book.py
Python
apache-2.0
10,125
/* * 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...
qwerty4030/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/bucket/composite/CompositeValuesComparator.java
Java
apache-2.0
5,333
<?php App::uses('AppModel', 'Model'); App::uses('SimplePasswordHasher', 'Controller/Component/Auth'); class Product extends AppModel { }
katedoloverio/PCInventory
app/Model/Product.php
PHP
apache-2.0
138
class UsersController < ApplicationController include BatchProcessable # special find method before load_resource before_filter :build_user_with_proper_mission, :only => [:new, :create] # authorization via CanCan load_and_authorize_resource def index # sort and eager load @users = @users.by_name ...
nmckahd/AHDBurundi
app/controllers/users_controller.rb
Ruby
apache-2.0
4,362
<?php final class PhabricatorProjectIcon extends Phobject { public static function getIconMap() { return array( 'fa-briefcase' => pht('Briefcase'), 'fa-tags' => pht('Tag'), 'fa-folder' => pht('Folder'), 'fa-users' => pht('Team'), 'fa-bug' => pht('Bug'), 'fa-...
hach-que/unearth-phabricator
src/applications/project/icon/PhabricatorProjectIcon.php
PHP
apache-2.0
1,547
/* * 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 ...
syzer/incubator-tamaya
modules/events/src/test/java/org/apache/tamaya/events/TestConfigView.java
Java
apache-2.0
4,643
<?php /*+*********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initi...
basiljose1/byjcrm
modules/Products/models/Module.php
PHP
apache-2.0
5,293
/* * 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 ...
StephanEwen/incubator-flink
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/aggfunctions/AvgAggFunction.java
Java
apache-2.0
7,723
/* * 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 ...
mehant/incubator-calcite
core/src/main/java/org/apache/calcite/rel/convert/package-info.java
Java
apache-2.0
964
/*Copyright (C) 2012 Longerian (http://www.longerian.me) 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...
longerian/RC4A
src/org/rubychina/android/GlobalResource.java
Java
apache-2.0
1,797
package set import ( "encoding/json" "errors" "fmt" "io" "os" "path" "strings" "github.com/golang/glog" "github.com/spf13/cobra" kapi "k8s.io/kubernetes/pkg/api" apierrs "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/api/meta" kresource "k8s.io/kubernetes/pkg/api/resource" "k8s.io/kubernetes...
jeffvance/origin
pkg/cmd/cli/cmd/set/volume.go
GO
apache-2.0
29,411
/* * Copyright 2011 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
psiroky/kie-wb-common
kie-wb-common-widgets/kie-wb-common-ui/src/main/java/org/kie/workbench/common/widgets/client/widget/PercentageCalculator.java
Java
apache-2.0
979
/* * Copyright 2015 DuraSpace, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
ruebot/fcrepo4
fcrepo-http-api/src/main/java/org/fcrepo/http/api/FedoraHttpConfiguration.java
Java
apache-2.0
1,125
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # 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...
ntt-sic/nova
nova/api/openstack/compute/contrib/flavormanage.py
Python
apache-2.0
3,894
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/pubsub/v1/pubsub.proto namespace Google\Cloud\PubSub\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Request for the ModifyAckDeadline method. * * Gen...
googleapis/google-cloud-php-pubsub
src/V1/ModifyAckDeadlineRequest.php
PHP
apache-2.0
6,591
/* * Copyright 2000-2009 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...
paplorinc/intellij-community
xml/dom-openapi/src/com/intellij/util/xml/highlighting/DomElementAnnotationHolder.java
Java
apache-2.0
2,866
package com.mapswithme.maps.purchase; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import...
matsprea/omim
android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java
Java
apache-2.0
13,042
/* * Copyright 2010-2013 Coda Hale and Yammer, Inc., 2014-2017 Dropwizard Team * * 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 * *...
networknt/light-4j
metrics/src/test/java/io/dropwizard/metrics/SlidingWindowReservoirTest.java
Java
apache-2.0
1,479
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/codedeploy/model/TrafficRoutingType.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws:...
awslabs/aws-sdk-cpp
aws-cpp-sdk-codedeploy/source/model/TrafficRoutingType.cpp
C++
apache-2.0
2,400
/* * * Copyright 2019 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 agree...
Miciah/origin
vendor/google.golang.org/grpc/balancer_conn_wrappers_test.go
GO
apache-2.0
2,966
/* * Copyright 2010-2016 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...
flofreud/aws-sdk-java
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/transform/CreateConditionalForwarderResultJsonUnmarshaller.java
Java
apache-2.0
1,808
/* * Copyright 2000-2017 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
xml/dom-impl/src/com/intellij/util/xml/impl/DomManagerImpl.java
Java
apache-2.0
17,979
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/securityhub/model/StandardsSubscriptionRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; name...
awslabs/aws-sdk-cpp
aws-cpp-sdk-securityhub/source/model/StandardsSubscriptionRequest.cpp
C++
apache-2.0
1,905
require 'puppet/node/facts' require 'puppet/indirector/rest' require 'puppet/util/puppetdb' class Puppet::Node::Facts::Puppetdb < Puppet::Indirector::REST include Puppet::Util::Puppetdb include Puppet::Util::Puppetdb::CommandNames def save(request) facts = request.instance.dup facts.values = facts.value...
melissa/puppetdb
puppet/lib/puppet/indirector/facts/puppetdb.rb
Ruby
apache-2.0
3,402
/* * Copyright 2021 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
stianst/keycloak
quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/database/liquibase/QuarkusLiquibaseConnectionProvider.java
Java
apache-2.0
5,267