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
/** @internal ** @file vl_siftdescriptor_python.cpp ** @author Andrea Vedaldi ** @author Mikael Rousson (Python wrapping) ** @brief SIFT descriptor - MEX **/ #include "../py_vlfeat.h" extern "C" { #include <vl/mathop.h> #include <vl/sift.h> } #include <math.h> #include <assert.h> #include <iostream>...
DerThorsten/pyvlfeat
vlfeat/sift/vl_siftdescriptor.cpp
C++
gpl-2.0
4,699
/*! * jQuery Form Plugin * version: 3.33.0-2013.05.02 * @requires jQuery v1.5 or later * Copyright (c) 2013 M. Alsup * Examples and documentation at: http://malsup.com/jquery/form/ * Project repository: https://github.com/malsup/form * Dual licensed under the MIT and GPL licenses. * https://github.com/malsup/fo...
12sm/erinmyers
wp-content/plugins/wp-toolbar-editor/js/jquery.form.js
JavaScript
gpl-2.0
41,603
<?php if (isset($_POST['gdsr_action']) && $_POST['gdsr_action'] == 'save') { $gdsr_options["bot_message"] = $_POST['gdsr_bot_message']; $gdsr_options["no_votes_percentage"] = $_POST['gdsr_no_votes_percentage']; $gdsr_options["cached_loading"] = isset($_POST['gdsr_cached_loading']) ? 1 : 0; $gdsr...
imshashank/The-Perfect-Self
wp-content/plugins/gd-star-rating/code/adm/save_settings.php
PHP
gpl-2.0
18,252
<?php require_once('../conexiones/conexione.php'); mysql_select_db($base_datos, $conectar); date_default_timezone_set("America/Bogota"); include ("../registro_movimientos/registro_movimientos.php"); //$cod_factura = $_GET['cod_factura']; $fecha_ini = $_GET['fecha_ini']; $fecha_fin = $_GET['fecha_fin']; $tabla = $_G...
dataxe/proyectos
panashopping/admin/descargar_factura_externa_temporal_archivo_csv_por_dias.php
PHP
gpl-3.0
1,184
package com.laytonsmith.abstraction; import com.laytonsmith.abstraction.enums.MCDisplaySlot; import java.util.Set; public interface MCScoreboard { public void clearSlot(MCDisplaySlot slot); public MCObjective getObjective(MCDisplaySlot slot); public MCObjective getObjective(String name); /** * * @return Set o...
Murreey/CommandHelper
src/main/java/com/laytonsmith/abstraction/MCScoreboard.java
Java
gpl-3.0
908
package cn.nukkit.block; import cn.nukkit.Player; import cn.nukkit.item.Item; import cn.nukkit.item.ItemTool; import cn.nukkit.level.Level; import cn.nukkit.level.sound.NoteBoxSound; import cn.nukkit.network.protocol.BlockEventPacket; /** * Created by Snake1999 on 2016/1/17. * Package cn.nukkit.block in project nuk...
yescallop/Nukkit
src/main/java/cn/nukkit/block/BlockNoteblock.java
Java
gpl-3.0
3,101
/* * Copyright (C) 2012 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...
s20121035/rk3288_android5.1_repo
cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/DnsSdResponseListenerTest.java
Java
gpl-3.0
4,616
/* Copyright (c) 2001-2008, The HSQL Development Group * 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...
danielbejaranogonzalez/Mobile-Network-Designer
db/hsqldb/src/org/hsqldb/util/SqlTool.java
Java
gpl-3.0
23,912
<?php namespace Drupal\language\Form; use Drupal\Core\Block\BlockManagerInterface; use Drupal\Component\Utility\Unicode; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Extension\ThemeHandlerInterface; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\F...
oeru/techblog
drupal8/core/modules/language/src/Form/NegotiationConfigureForm.php
PHP
gpl-3.0
11,818
<?php class Appconfig extends CI_Model { public function exists($key) { $this->db->from('app_config'); $this->db->where('app_config.key', $key); return ($this->db->get()->num_rows() == 1); } public function get_all() { $this->db->from('app_config'); $this->db->order_by('key', 'asc'); return $this...
digyna/digyna-CMS
application/models/mypanel/Appconfig.php
PHP
gpl-3.0
1,375
/* sdsl - succinct data structures library Copyright (C) 2010 Simon Gog 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 3 of the License, or (at your option) any la...
andmaj/unrank-bottleneck-bench
sdsl_linear/include/sdsl/algorithms_for_string_matching.hpp
C++
gpl-3.0
18,541
/* * Copyright (C) 2014 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...
Lee-Wills/-tv
mmd/library/src/main/java/com/google/android/exoplayer/text/tx3g/Tx3gParser.java
Java
gpl-3.0
1,720
#region Copyright & License Information /* * Copyright 2007-2015 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation. For more information, * see COP...
Sithil-F/OpenRA
OpenRA.Mods.Common/Widgets/Logic/Ingame/GameTimerLogic.cs
C#
gpl-3.0
1,876
# # Copyright 2006,2007 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later versi...
n4hy/gnuradio
gnuradio-core/src/python/gnuradio/blks2impl/fm_demod.py
Python
gpl-3.0
4,236
class PortalGroup::Admin::Piece::SiteAreasController < Cms::Admin::Piece::BaseController end
tao-k/zomeki
app/controllers/portal_group/admin/piece/site_areas_controller.rb
Ruby
gpl-3.0
93
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 // (at your option) any later version. // // Moodle ...
dslab-epfl/accessibility-checker
question/format.php
PHP
gpl-3.0
35,327
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 // (at your option) any later version. // // Moodle ...
VNageswararao/lms28
lib/outputcomponents.php
PHP
gpl-3.0
115,993
/// Copyright (c) 2008-2021 Emil Dotchevski and Reverge Studios, Inc. /// 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) #include <boost/qvm/gen/vec_mat_operations2.hpp>
rneiss/PocketTorah
ios/Pods/Flipper-Boost-iOSX/boost/qvm/vec_mat_operations2.hpp
C++
gpl-3.0
276
"use strict"; tutao.provide('tutao.entity.base.PersistenceResourcePostReturn'); /** * @constructor * @param {Object=} data The json data to store in this entity. */ tutao.entity.base.PersistenceResourcePostReturn = function(data) { if (data) { this.updateData(data); } else { this.__format = "0"; th...
msoftware/tutanota-1
web/js/generated/entity/base/PersistenceResourcePostReturn.js
JavaScript
gpl-3.0
3,838
/* * Minecraft Forge * Copyright (c) 2016. * * 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 version 2.1 * of the License. * * This library is distributed in the hope that it will...
Severed-Infinity/technium
build/tmp/recompileMc/sources/net/minecraftforge/event/terraingen/SaplingGrowTreeEvent.java
Java
gpl-3.0
2,229
# -*- coding: utf-8 -*- # Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import flt, add_months, cint, nowdate, getdate from frappe.model.document import Do...
emakis/erpnext
erpnext/accounts/doctype/asset/asset.py
Python
gpl-3.0
10,030
# encoding: utf-8 class Laby::Content::Base < Cms::Content end
tao-k/zomeki
app/models/laby/content/base.rb
Ruby
gpl-3.0
64
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInit8a8b7c48f14663b8905d3aebf4678cc4::getLoader();
oliverds/openclassifieds2
oc/vendor/pusher/autoload.php
PHP
gpl-3.0
183
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # This is a virtual module that is entirely implemented as an action plugin and runs on the controller from __future__ import absolute_import, ...
indrajitr/ansible
lib/ansible/modules/fetch.py
Python
gpl-3.0
3,790
# encoding: utf-8 # # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Author: Kyle Lahnakoski (kyle@lahnakoski.com) # from __future__ import unicode_literals from _...
klahnakoski/Bugzilla-ETL
vendor/pyLibrary/env/emailer.py
Python
mpl-2.0
4,306
# -*- coding: utf-8 -*- from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0001_initial'), ] operations = [ migrations.AddField( model_name='catalogintegration', name='service_username', fiel...
edx-solutions/edx-platform
openedx/core/djangoapps/catalog/migrations/0002_catalogintegration_username.py
Python
agpl-3.0
503
from __future__ import unicode_literals def execute(): """Make standard print formats readonly for system manager""" import webnotes.model.doc new_perms = [ { 'parent': 'Print Format', 'parentfield': 'permissions', 'parenttype': 'DocType', 'role': 'System Manager', 'permlevel': 1, 'read': 1, ...
gangadhar-kadam/mtn-erpnext
patches/may_2012/std_pf_readonly.py
Python
agpl-3.0
718
<?php /** * When appropriate, displays a plugin upgrade message "inline" within the plugin * admin screen. * * This is drawn from the Upgrade Notice section of the plugin readme.txt file (ie, * the one belonging to the current stable accessible via WP SVN - at least by * default). */ class Tribe__Admin__Notice__...
akvo/akvo-sites-zz-template
code/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Plugin_Upgrade_Notice.php
PHP
agpl-3.0
7,190
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# # ...
open-health-hub/openMAXIMS
openmaxims_workspace/ValueObjects/src/ims/generalmedical/vo/EpworthSleepAssessmentVo.java
Java
agpl-3.0
7,901
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# # ...
open-health-hub/openMAXIMS
openmaxims_workspace/ValueObjects/src/ims/nursing/vo/beans/MRSATreatmentVoBean.java
Java
agpl-3.0
4,677
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# # ...
open-health-hub/openMAXIMS
openmaxims_workspace/ValueObjects/src/ims/nursing/vo/Transfers.java
Java
agpl-3.0
7,494
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751) // Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved. // WARNING: DO NOT MODIFY the content of this file package ims.RefMan.vo; /** * Linked to RefMan.CatsReferral business object (ID: 1004100035). ...
open-health-hub/openMAXIMS
openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/CatsReferralForSessionManagementVo.java
Java
agpl-3.0
5,952
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2015 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
raymondlamwu/zurmotest
app/protected/modules/notes/rules/badges/CreateNoteGameBadgeRules.php
PHP
agpl-3.0
3,520
// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
timthelion/FreeCAD
src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp
C++
lgpl-2.1
138,589
/************************************************************************** ** ** 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/libs/cplusplus/ASTPath.cpp
C++
lgpl-2.1
2,743
//Version-IE: < 9 if ( 'function' !== typeof Array.prototype.reduce ) { Array.prototype.reduce = function( callback /*, initialValue*/ ) { 'use strict'; if ( null === this || 'undefined' === typeof this ) { throw new TypeError( 'Array.prototype.reduce called on null or undefined' ); } i...
OCamlPro-Henry/js_of_ocaml
runtime/polyfill/array.js
JavaScript
lgpl-2.1
9,421
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2011 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is free soft...
vrjuggler/vrjuggler
modules/gadgeteer/gadget/Devices/Sim/SimDigital.cpp
C++
lgpl-2.1
3,184
/* * Copyright 2014-present Open Networking Foundation * * 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 appli...
opennetworkinglab/onos
core/store/serializers/src/main/java/org/onosproject/store/serializers/LinkKeySerializer.java
Java
apache-2.0
1,671
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * If x is -Infinity and y>0 and y is an odd integer, Math.pow(x,y) is -Infinity * * @path ch15/15.8/15.8.2/15.8.2.13/S15.8.2.13_A13.js * @description Checking if Math.pow(x,y) equ...
popravich/typescript
tests/Fidelity/test262/suite/ch15/15.8/15.8.2/15.8.2.13/S15.8.2.13_A13.js
JavaScript
apache-2.0
604
var fs = require('fs') var path = require('path') var resolve = path.resolve var osenv = require('osenv') var mkdirp = require('mkdirp') var rimraf = require('rimraf') var test = require('tap').test var npm = require('../../lib/npm') var common = require('../common-tap') var chain = require('slide').chain var mockPath...
mrtequino/JSW
nodejs/pos-server/node_modules/npm/test/tap/install-shrinkwrapped-git.js
JavaScript
apache-2.0
4,407
#region License /* * Copyright 2002-2010 the original author or 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 ...
yonglehou/spring-net
src/Spring/Spring.Messaging/Messaging/Listener/DistributedTxMessageListenerContainer.cs
C#
apache-2.0
8,103
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using FluentAssertions.Collections; using FluentAssertions.Common; using FluentAssertions.Equivalency; using FluentAssertions.Numeric; using FluentAssertions.Primitives; using FluentAssertions....
SaroTasciyan/FluentAssertions
Src/Core/InternalAssertionExtensions.cs
C#
apache-2.0
19,975
/* * 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 ...
milleruntime/accumulo
shell/src/main/java/org/apache/accumulo/shell/commands/ConstraintCommand.java
Java
apache-2.0
5,893
/* * Copyright 2000-2010 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/platform-impl/src/com/intellij/ui/TableSpeedSearch.java
Java
apache-2.0
4,403
/* * Copyright 2012-2018 the original author or 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 ap...
bclozel/spring-boot
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/EndpointLinksResolver.java
Java
apache-2.0
3,528
/** * 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...
tomatoKiller/Hadoop_Source_Learn
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/BaseContainerManagerTest.java
Java
apache-2.0
11,919
/* * 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...
electrum/presto
service/trino-proxy/src/main/java/io/trino/proxy/ProxyConfig.java
Java
apache-2.0
1,534
# # 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 # ...
cryptickp/heat
heat/engine/clients/os/keystone.py
Python
apache-2.0
5,676
// test cube var assert = require('assert'), math = require('../../../index'), error = require('../../../lib/error/index'), unit = math.unit, bignumber = math.bignumber, matrix = math.matrix, range = math.range, cube = math.cube; describe('cube', function() { it('should return the cube of...
owenversteeg/mathjs
test/function/arithmetic/cube.test.js
JavaScript
apache-2.0
1,982
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "hl2mp_cvars.h" // Ready restart ConVar mp_readyrestart( "mp_readyresta...
TheCallSign/Clifton-Source
src/game/server/hl2mp/hl2mp_cvars.cpp
C++
apache-2.0
616
package servicebroker import ( "reflect" "testing" schema "github.com/lestrrat/go-jsschema" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "github.com/openshift/origin/pkg/openservicebroker/api" templateapi "github.com/openshift/origin/pkg/template/api" ) func TestServiceFromTemplate(t *testing.T) { template...
thrasher-redhat/origin
pkg/template/servicebroker/catalog_test.go
GO
apache-2.0
3,950
/** * 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...
tkopczynski/camel
components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpComponent.java
Java
apache-2.0
2,487
from threading import Timer class RepeatedTimer(object): def __init__(self, interval, function, *args, **kwargs): self._timer = None self.interval = interval self.function = function self.args = args self.kwargs = kwargs self.is_running = False ...
tecdct2941/nxos_dashboard
repeated_timer.py
Python
apache-2.0
721
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using NUnit.Framework; using OpenQA.Selenium.Environment; namespace OpenQA.Selenium { [TestFixture] public class TakesScreenshotTest : DriverTestFixture { [TearDown] public void SwitchToTop() { ...
asashour/selenium
dotnet/test/common/TakesScreenshotTest.cs
C#
apache-2.0
22,313
// Copyright 2008 The Closure Library 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 requ...
passy/traceur-todomvc
src/util/url.js
JavaScript
apache-2.0
8,826
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...
djs55/linuxkit
src/cmd/linuxkit/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-10-01/network/loadbalancerloadbalancingrules.go
GO
apache-2.0
10,169
# -*- coding: utf-8 -*- """ Covenant Add-on 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 3 of the License, or (at your option) any later version. This prog...
TheWardoctor/Wardoctors-repo
script.module.uncoded/lib/resources/lib/sources/de/horrorkino.py
Python
apache-2.0
3,418
/* * 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...
electrum/presto
core/trino-main/src/test/java/io/trino/sql/planner/assertions/ExpressionMatcher.java
Java
apache-2.0
3,920
require 'spec_helper' describe 'collectd::plugin::swap', :type => :class do context ':ensure => present, default params' do let :facts do {:osfamily => 'RedHat'} end it 'Will create /etc/collectd.d/10-swap.conf' do should contain_file('swap.load').with({ :ensure => 'present', ...
apache/infrastructure-puppet
modules/collectd/spec/classes/collectd_plugin_swap_spec.rb
Ruby
apache-2.0
1,936
/* * Copyright 2017-present Open Networking Foundation * * 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 appli...
gkatsikas/onos
core/api/src/main/java/org/onosproject/store/service/Version.java
Java
apache-2.0
2,369
/* * Copyright 2013 the original author or 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 applica...
gstevey/gradle
subprojects/platform-native/src/main/java/org/gradle/nativeplatform/internal/NativeBinarySpecInternal.java
Java
apache-2.0
2,517
/* * Copyright 2012 Amadeus s.a.s. * 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 i...
vcarle/ariatemplates
test/aria/storage/localStorage/NamespaceTestCase.js
JavaScript
apache-2.0
1,613
<?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 Ini...
basiljose1/byjcrm
pkg/vtiger/modules/Projects/Project/modules/Project/models/RelationListView.php
PHP
apache-2.0
1,041
using System.ComponentModel.DataAnnotations; using FluentMigrator.Infrastructure; namespace FluentMigrator.Expressions { /// <summary> /// Expression to delete a sequence /// </summary> public class DeleteSequenceExpression : MigrationExpressionBase, ISchemaExpression { /// <inheritdoc /> ...
schambers/fluentmigrator
src/FluentMigrator.Abstractions/Expressions/DeleteSequenceExpression.cs
C#
apache-2.0
978
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
praveennet/azure-powershell
src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs
C#
apache-2.0
23,374
/* * 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 ...
ty1er/incubator-asterixdb
hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/api/ITreeIndexMetadataFrameFactory.java
Java
apache-2.0
976
// Copyright 2017 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 applicabl...
googleapis/google-cloud-dotnet
apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2/BigtableVersion.cs
C#
apache-2.0
12,638
# Copyright 2015 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 applica...
tensorflow/tensorflow
tensorflow/python/training/session_manager.py
Python
apache-2.0
23,320
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.sabrcube; import static com.opengamma.engine.value.ValueRequirementNames.SABR_SURFACES; import com.opengamma.OpenGammaRuntimeExcepti...
jeorme/OG-Platform
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/sabrcube/SABRCMSSpreadNoExtrapolationYCNSFunction.java
Java
apache-2.0
6,665
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
keizer619/carbon-analytics-common
components/data-bridge/org.wso2.carbon.databridge.agent/src/main/java/org/wso2/carbon/databridge/agent/conf/DataEndpointConfiguration.java
Java
apache-2.0
3,842
/******************************************************************************* * 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 f...
apache/olingo-odata2
odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/BatchResponsePartImpl.java
Java
apache-2.0
2,137
/// <reference path='fourslash.ts' /> // @allowjs: true // @checkJs: true // @noEmit: true // @filename: a.js ////// @ts-check ////let x = ""; ////[|x|] = 1; // verify.codeFixAvailable([ // { description: ts.Diagnostics.Ignore_this_error_message.message }, // { description: ts.Diagnostics.Disabl...
Microsoft/TypeScript
tests/cases/fourslash/codeFixDisableJsDiagnosticsInFile9.ts
TypeScript
apache-2.0
538
//----------------------------------------------------------------------- // <copyright file="SourceSpec.cs" company="Akka.NET Project"> // Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //---...
derwasp/akka.net
src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs
C#
apache-2.0
14,043
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Protos.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::S...
masteryee/protoactor-dotnet
examples/Persistence/Messages/Protos.g.cs
C#
apache-2.0
12,536
/* 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...
stumoodie/PathwayEditor
libs/batik-1.7/contrib/rasterizertask/sources/org/apache/tools/ant/taskdefs/optional/RasterizerTaskSVGConverterController.java
Java
apache-2.0
3,878
# # Author:: Bryan McLellan <btm@opscode.com> # Copyright:: Copyright (c) 2012 Opscode, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ht...
elgalu/chef-depth-1
spec/unit/resource/ips_package_spec.rb
Ruby
apache-2.0
1,353
/* * 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 ...
salyh/geronimo-specs
geronimo-javamail_1.5_spec/src/main/java/javax/mail/MessageAware.java
Java
apache-2.0
952
<?php /** * ALIPAY API: alipay.eco.mycar.parking.lotbarcode.create request * * @author auto create * @since 1.0, 2016-06-14 15:08:52 */ class AlipayEcoMycarParkingLotbarcodeCreateRequest { /** * 物料二维码 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo;...
houdunwang/hdphp
vendor/houdunwang/alipay/src/org/aop/request/AlipayEcoMycarParkingLotbarcodeCreateRequest.php
PHP
apache-2.0
1,918
package com.github.dockerjava.core.command; import static com.google.common.base.Preconditions.checkNotNull; import java.util.List; import java.util.Map; import org.apache.commons.lang.builder.ReflectionToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import com.github.dockerjava.api.command.L...
ollie314/docker-java
src/main/java/com/github/dockerjava/core/command/ListImagesCmdImpl.java
Java
apache-2.0
2,238
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * Number.NEGATIVE_INFINITY is -Infinity * * @path ch15/15.7/15.7.3/15.7.3.5/S15.7.3.5_A1.js * @description Checking sign and finiteness of Number.NEGATIVE_INFINITY */ // CHECK#1...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.7/15.7.3/15.7.3.5/S15.7.3.5_A1.js
JavaScript
apache-2.0
555
/* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.rmi.server; /** * An obsolete subclass of {@link ExportException}. * * @author Ann Wo...
shun634501730/java_source_cn
src_en/java/rmi/server/SocketSecurityException.java
Java
apache-2.0
1,223
/* * 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...
goodwinnk/intellij-community
java/java-impl/src/com/intellij/codeInsight/navigation/JavaGotoSuperHandler.java
Java
apache-2.0
5,139
package brooklyn.location.jclouds.pool; import java.util.Map; import org.jclouds.compute.domain.NodeMetadata; import org.jclouds.compute.domain.Processor; import org.jclouds.domain.Location; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.base.Predicate; import com.google.common.bas...
bmwshop/brooklyn
locations/jclouds/src/main/java/brooklyn/location/jclouds/pool/MachinePoolPredicates.java
Java
apache-2.0
5,001
# encoding: utf-8 module RuboCop module Cop module Lint # This cop checks for uses of the deprecated class method usages. class DeprecatedClassMethods < Cop include AST::Sexp MSG = '`%s` is deprecated in favor of `%s`.' DEPRECATED_METHODS = [ [:File, :exists?, :exi...
cpbuckingham/cpbuckingham.github.io
vendor/bundle/gems/rubocop-0.32.1/lib/rubocop/cop/lint/deprecated_class_methods.rb
Ruby
apache-2.0
1,583
/* $Id$ */ /** * 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"); y...
kishorejangid/manifoldcf
connectors/documentum/build-stub/src/main/java/com/documentum/fc/client/DfIdentityException.java
Java
apache-2.0
954
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
pspaude/uPortal
uportal-war/src/main/java/org/jasig/portal/portlets/statistics/PortletMoveStatisticsController.java
Java
apache-2.0
2,682
#!/usr/bin/env python # example checkbutton.py import pygtk pygtk.require('2.0') import gtk class CheckButton: # Our callback. # The data passed to this method is printed to stdout def callback(self, widget, data=None): print "%s was toggled %s" % (data, ("OFF", "ON")[widget.get_active()]) #...
spaceone/pyjs
pygtkweb/demos/checkbutton.py
Python
apache-2.0
2,231
/* * Copyright 2013 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
immortius/Terasology
engine/src/main/java/org/terasology/entitySystem/prefab/internal/PojoPrefab.java
Java
apache-2.0
2,855
/*! * Module dependencies. */ var Command = require('./util/command'), phonegapbuild = require('./util/phonegap-build'), util = require('util'); /*! * Command setup. */ module.exports = { create: function(phonegap) { return new RemoteLogoutCommand(phonegap); } }; function RemoteLogoutCom...
mati191188/ecopueblo-mobile
node_modules/phonegap/lib/phonegap/remote.logout.js
JavaScript
apache-2.0
1,079
/* * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in com...
briandwyer/cas-hudson
cas-server-core/src/main/java/org/jasig/cas/services/jmx/AbstractServicesManagerMBean.java
Java
apache-2.0
3,919
//go:build 386 || amd64p32 || arm || mipsle || mips64p32le // +build 386 amd64p32 arm mipsle mips64p32le package sys import ( "unsafe" ) // Pointer wraps an unsafe.Pointer to be 64bit to // conform to the syscall specification. type Pointer struct { ptr unsafe.Pointer pad uint32 }
opencontainers/runc
vendor/github.com/cilium/ebpf/internal/sys/ptr_32_le.go
GO
apache-2.0
288
cask 'multibit' do version '0.5.19' sha256 'f84aefa0b3762e36659ea3e71806f747db4198641d658d88c8772978b23f99dc' url "https://multibit.org/releases/multibit-classic/multibit-classic-#{version}/multibit-classic-macos-#{version}.dmg" gpg "#{url}.asc", :key_id => '23f7fb7b' name 'MultiBit' homepage 'https:...
jppelteret/homebrew-cask
Casks/multibit.rb
Ruby
bsd-2-clause
378
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-ptrn-id-init-skipped.case // - src/dstr-binding/default/cls-decl-async-gen-meth-dflt.template /*--- description: Destructuring initializer is not evaluated when value is not `undefined` (class expression async generator method...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-skipped.js
JavaScript
bsd-2-clause
2,395
"""Tkinker gui for pylint""" from Tkinter import Tk, Frame, Listbox, Entry, Label, Button, Scrollbar from Tkinter import TOP, LEFT, RIGHT, BOTTOM, END, X, Y, BOTH import os import sys if sys.platform.startswith('win'): PYLINT = 'pylint.bat' else: PYLINT = 'pylint' class LintGui: """Build and control a wi...
dbbhattacharya/kitsune
vendor/packages/pylint/gui.py
Python
bsd-3-clause
2,790
<?php $this->breadcrumbs = [ Yii::t('StoreModule.category', 'Categories') => ['index'], $model->name, ]; $this->pageTitle = Yii::t('StoreModule.category', 'Categories - view'); $this->menu = [ ['icon' => 'fa fa-fw fa-list-alt', 'label' => Yii::t('StoreModule.category', 'Manage categories'), 'url' => ['/st...
mettoff/archive
protected/modules/store/views/categoryBackend/view.php
PHP
bsd-3-clause
2,603
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const EventEmitter = require('../../vendor/emitter/EventEmitter'); const RCTDeviceEventEmitt...
exponentjs/react-native
Libraries/EventEmitter/__mocks__/NativeEventEmitter.js
JavaScript
bsd-3-clause
592
# Generated by Django 2.2.6 on 2019-10-23 09:06 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import olympia.amo.models class Migration(migrations.Migration): dependencies = [ ('scanners', '0008_auto_20191021_1718'), ] operations = [ ...
bqbn/addons-server
src/olympia/scanners/migrations/0009_auto_20191023_0906.py
Python
bsd-3-clause
1,450
# # Copyright (c) 2012, NuoDB, Inc. # 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 conditions...
scarey/nuodb-drivers
ruby/activerecord-nuodb-adapter/lib/activerecord-nuodb-adapter.rb
Ruby
bsd-3-clause
1,595
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" #include <vector> #include "base/bind.h" #include "base/bind_helpers.h" #incl...
ondra-novak/chromium.src
chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc
C++
bsd-3-clause
38,460
/*! * jQuery twitter bootstrap wizard plugin * Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard * version 1.0 * Requires jQuery v1.3.2 or later * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.ht...
flesch91/uaweb-work.github.com
web/booster-install/assets/js/jquery.bootstrap.wizard.js
JavaScript
bsd-3-clause
7,891