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
import Ember from 'ember'; export default Ember.Controller.extend({ canCreateTask: Ember.computed('model.isAdmin', function() { return this.get('model.isAdmin'); }), });
singularities/circular-works
frontend/app/controllers/organizations/show.js
JavaScript
agpl-3.0
180
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('activities', '0004_manytomany_not_null'), ] operations = [ migrations.AddField( model_name='activity', ...
enjaz/enjaz
activities/migrations/0005_activity_is_approved.py
Python
agpl-3.0
587
/* * Copyright (C) 2011 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...
xin3liang/platform_external_arduino-ide
hardware/arduino/sam/system/AndroidAccessory/AndroidAccessory.cpp
C++
lgpl-2.1
9,423
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:L...
igor-sfdc/qt-wk
src/xmlpatterns/expr/qvaluecomparison.cpp
C++
lgpl-2.1
4,779
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Less...
kaltsi/qt-mobility
src/location/landmarks/qlandmarknamefilter.cpp
C++
lgpl-2.1
4,339
package org.skyve.domain; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This is an annotation used for indicating that the associated metadata document that generated the domain class * has at l...
skyvers/wildcat
skyve-core/src/main/java/org/skyve/domain/PolymorphicPersistentBean.java
Java
lgpl-2.1
752
/* * ParallelJ, framework for parallel computing * * Copyright (C) 2010, 2011, 2012 Atos Worldline or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. * * This library is free software; you can redistribute it an...
awltech/org.parallelj
parallelj-core-parent/parallelj-core-api/src/main/java/org/parallelj/internal/kernel/join/package-info.java
Java
lgpl-2.1
1,144
package net.minecraft.inventory; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.ChatComponentText; import net.minecraft.util.ChatComponentTranslation; import net.minecraft.util.IChatComponent; import ne...
trixmot/mod1
build/tmp/recompileMc/sources/net/minecraft/inventory/InventoryLargeChest.java
Java
lgpl-2.1
6,532
<?php // (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: phpunit.php 57962 2016-03-17 20:02:39Z jonnybradley $...
lorddavy/TikiWiki-Improvement-Project
lib/test/phpunit.php
PHP
lgpl-2.1
752
/***************************************************************************** * * 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
plugins/input/osm/osm_datasource.cpp
C++
lgpl-2.1
5,406
<?php // (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: MasterSlaveDispatch.php 57968 2016-03-17 20:06:57Z jon...
lorddavy/TikiWiki-Improvement-Project
lib/core/TikiDb/MasterSlaveDispatch.php
PHP
lgpl-2.1
3,672
var searchData= [ ['narrowing_5ferror',['narrowing_error',['../structgsl_1_1narrowing__error.html',1,'gsl']]], ['not_5fnull',['not_null',['../classgsl_1_1not__null.html',1,'gsl']]], ['null_5fspin_5fpolicy',['null_spin_policy',['../structquickcpplib_1_1__xxx_1_1configurable__spinlock_1_1null__spin__policy.html',1,...
FSMaxB/molch
outcome/include/outcome/quickcpplib/doc/html/search/classes_9.js
JavaScript
lgpl-2.1
369
package StevenDimDoors.mod_pocketDim.blocks; import java.util.Random; import net.minecraft.block.BlockDoor; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.IconFlipped; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.item.Item; import net.minecraft.u...
CannibalVox/DimDoors
src/main/java/StevenDimDoors/mod_pocketDim/blocks/BlockDoorGold.java
Java
lgpl-2.1
1,123
package org.skyve.impl.domain.messages; import org.skyve.domain.messages.DomainException; public class SecurityException extends DomainException { /** * For Serialization */ private static final long serialVersionUID = 2941808458696267548L; public SecurityException(String resource, String userName) { super(...
skyvers/wildcat
skyve-ext/src/main/java/org/skyve/impl/domain/messages/SecurityException.java
Java
lgpl-2.1
377
<?php // (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: flagnames.php 39469 2012-01-12 21:13:48Z changi67 $ ...
railfuture/tiki-website
img/flags/flagnames.php
PHP
lgpl-2.1
7,500
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2018 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
jonmbake/checkstyle
src/test/java/com/puppycrawl/tools/checkstyle/checks/design/OneTopLevelClassCheckTest.java
Java
lgpl-2.1
7,614
// This file was generated by qlalr - DO NOT EDIT! /**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Linguist of the Qt Toolkit. ** ** $QT_BEGIN_LICEN...
RLovelett/qt
tools/linguist/shared/qscript.cpp
C++
lgpl-2.1
84,936
// Copyright (c) 2012 The Chromium Embedded Framework 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 "libcef/common/scheme_registrar_impl.h" #include <string> #include "libcef/common/content_client.h" #include "base/bind...
desura/desura-cef3-full
libcef/common/scheme_registrar_impl.cc
C++
lgpl-2.1
1,711
#include "archive.hh" #include "binary-cache-store.hh" #include "compression.hh" #include "derivations.hh" #include "fs-accessor.hh" #include "globals.hh" #include "nar-info.hh" #include "sync.hh" #include "remote-fs-accessor.hh" #include "nar-info-disk-cache.hh" #include "nar-accessor.hh" #include "json.hh" #include "...
ehmry/nix
src/libstore/binary-cache-store.cc
C++
lgpl-2.1
13,452
// --------------------------------------------------------------------- // // Copyright (C) 2003 - 2013 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
flow123d/dealii
tests/bits/find_cell_alt_1.cc
C++
lgpl-2.1
2,263
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt3Support module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licen...
nonrational/qt-everywhere-opensource-src-4.8.6
src/qt3support/widgets/q3grid.cpp
C++
lgpl-2.1
4,161
/**************************************************************************** ** ** 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...
farseerri/git_code
src/plugins/debugger/debuggerplugin.cpp
C++
lgpl-2.1
133,201
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial licenses may u...
gidlbn/dlbn_02
src/plugins/qmldesigner/designercore/model/objectpropertybinding.cpp
C++
lgpl-2.1
1,611
############################################################################## # Copyright (c) 2013-2018, 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...
mfherbst/spack
var/spack/repos/builtin/packages/fp16/package.py
Python
lgpl-2.1
1,604
/* * !!!!! * NOTE: PLEASE ONLY EDIT THIS USING THE NETBEANS IDE 6.0.1 OR HIGHER!!!! * !!!!! * * ... an .xml file is associated with this class. Cheers. * * BotConsoleFrame.java * * Created on 28 March 2008, 08:35 */ package org.reprap.gui.botConsole; import org.reprap.Preferences; import org.reprap.utilit...
alex1818/host
src/org/reprap/gui/botConsole/BotConsoleFrame.java
Java
lgpl-2.1
9,111
/**************************************************************************** ** ** 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...
mornelon/QtCreator_compliments
src/plugins/qmljseditor/qmljseditoractionhandler.cpp
C++
lgpl-2.1
2,052
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2011 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 p...
yiqingj/work
include/mapnik/symbolizer.hpp
C++
lgpl-2.1
3,393
// This file was generated by the Gtk# code generator. // Any changes made will be lost if regenerated. namespace Gst { using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; #region Autogenerated code [StructLayout(LayoutKind.Sequential)] public partial...
gstreamer-sharp/gstreamer-sharp
sources/generated/Gst/CustomMeta.cs
C#
lgpl-2.1
2,690
# Copyright 2013-2021 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 PyBxPython(PythonPackage): """The bx-python project is a python library and associated set...
LLNL/spack
var/spack/repos/builtin/packages/py-bx-python/package.py
Python
lgpl-2.1
1,225
/////////////////////////////////////////////////////////////////////////////// // Name: src/gtk/infobar.cpp // Purpose: wxInfoBar implementation for GTK // Author: Vadim Zeitlin // Created: 2009-09-27 // RCS-ID: $Id$ // Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org> // Licence: ...
enachb/freetel-code
src/wxWidgets-2.9.4/src/gtk/infobar.cpp
C++
lgpl-2.1
7,415
<?php /* * LegionPE * * Copyright (C) 2015 PEMapModder and contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) a...
LegionPE/LegionPE-Theta-Base
src/legionpe/theta/command/RestartCommand.php
PHP
lgpl-3.0
1,320
import sys from services.spawn import MobileTemplate from services.spawn import WeaponTemplate from resources.datatables import WeaponType from resources.datatables import Difficulty from resources.datatables import Options from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate...
ProjectSWGCore/NGECore2
scripts/mobiles/corellia/greck_smuggler.py
Python
lgpl-3.0
1,924
import re from vFense.operations._constants import vFensePlugins VALID_NOTIFICATION_PLUGINS = ( vFensePlugins.RV_PLUGIN, vFensePlugins.MONITORING_PLUGIN ) INSTALL = 'install' UNINSTALL = 'uninstall' REBOOT = 'reboot' SHUTDOWN = 'shutdown' PASS = 'pass' FAIL = 'fail' CPU = 'cpu' MEM = 'mem' FS = 'filesystem' VALID...
dtklein/vFense
tp/src/notifications/__init__.py
Python
lgpl-3.0
3,134
// // ValidationException.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2008-2011 Novell Inc. http://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...
edwinspire/VSharp
class/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations/ValidationException.cs
C#
lgpl-3.0
2,799
def itemTemplate(): return ['object/tangible/component/weapon/lightsaber/shared_lightsaber_module_force_crystal.iff'] def customItemName(): return "Shard Of The Serpent" def biolink(): return 1 def customColor1(): return 3 def lootDescriptor(): return 'rarebuffitem' def itemStats(): stats =['pro...
agry/NGECore2
scripts/loot/lootItems/rarelootchest/shard_of_the_serpent.py
Python
lgpl-3.0
538
/* * Copyright 2010-2015 Bastian Eicher * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
OneGet/0install-win
src/Backend/DesktopIntegration/Windows/AppAlias.cs
C#
lgpl-3.0
7,765
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include <windows.h> #include <stdio.h> #include <tchar.h> #include <BWAPI.h> #include "BasicAIModule.h" namespace BWAPI { Game* Broodwar; } BOOL APIENTRY DllMain( HANDLE , DWORD ul_reason_for_call, ...
simingl/IM_Debug_Terran_GA_Micro
BasicAIModule/Source/Dll.cpp
C++
lgpl-3.0
668
/* * Copyright 2005 Joe Walker * * 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...
simeshev/parabuild-ci
3rdparty/dwr-2.0.1/src/java/org/directwebremoting/convert/ObjectConverter.java
Java
lgpl-3.0
3,798
#include <QtGui> #include <QStringList> #include "treeitem.h" #include "treemodel.h" TreeModel::TreeModel(const QStringList &headers, const QString &data, QObject *parent): QAbstractItemModel(parent) { QVector<QVariant> rootData; foreach (QString header, headers) rootData << heade...
newdebug/NewDebug
Qt/3DDigitalSystemMan/ScriptManager/treemodel.cpp
C++
lgpl-3.0
6,914
/* QMPlay2 is a video and audio player. Copyright (C) 2010-2022 Błażej Szczygieł This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (a...
arthurzam/QMPlay2
src/qmplay2/ModuleCommon.cpp
C++
lgpl-3.0
1,226
/* * Copyright © <Pascal Fares @ ISSAE - Cnam Liban> * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
ljug/java-tutorials
ACCOV/TPJanvier2017/PCaSem/src/pcasem/Consommateur.java
Java
lgpl-3.0
1,991
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty count_paragraphs modifier plugin * * Type: modifier<br> * Name: count_paragraphs<br> * Purpose: count the number of paragraphs in a text * * @link http://www.smarty.net/manual/en/lang...
croll/captainhook
mod/smarty/smarty/libs/plugins/modifiercompiler.count_paragraphs.php
PHP
lgpl-3.0
806
# -*- coding: iso-8859-1 -*- # # Copyright (C) 2009 Rene Liebscher # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 3 of the License, or (at your option) any # later ver...
arruda/pyfuzzy
fuzzy/doc/structure/dot/__init__.py
Python
lgpl-3.0
826
// // GEO2DLineStringGeometry.hpp // G3MiOSSDK // // Created by Diego Gomez Deck on 11/30/12. // // #ifndef __G3MiOSSDK__GEO2DLineStringGeometry__ #define __G3MiOSSDK__GEO2DLineStringGeometry__ #include "GEOGeometry2D.hpp" class Geodetic2D; #include <vector> class GEO2DLineStringGeometry : public GEOGeometry2D {...
ccarducci/Ushahidi_local
G3MiOSSDK/Commons/GEO/GEO2DLineStringGeometry.hpp
C++
lgpl-3.0
713
// Copyright (C) 2000-2007, Luca Padovani <padovani@sti.uniurb.it>. // // This file is part of GtkMathView, a flexible, high-quality rendering // engine for MathML documents. // // GtkMathView is free software; you can redistribute it and/or modify it // either under the terms of the GNU Lesser General Public License ...
khaledhosny/libmathview
src/engine/MathMLPhantomElement.hh
C++
lgpl-3.0
1,812
// <copyright file="CompositePredicate.cs" company="Allors bvba"> // Copyright (c) Allors bvba. All rights reserved. // Licensed under the LGPL license. See LICENSE file in the project root for full license information. // </copyright> namespace Allors.Database.Adapters.Npgsql { using System; using System.Coll...
Allors/allors2
Platform/Database/Adapters/Allors.Database.Adapters.Npgsql/Predicates/CompositePredicate.cs
C#
lgpl-3.0
9,590
/** * SPDX-FileCopyrightText: © 2014 Liferay, Inc. <https://liferay.com> * SPDX-License-Identifier: LGPL-3.0-or-later */ Loader.define( 'local-require/to-url', ['module', 'require'], (module, require) => { module.exports = require.toUrl('local-require/to-url'); } );
ipeychev/lfr-amd-loader
src/loader/__tests__/__fixtures__/loader/local-require/to-url.js
JavaScript
lgpl-3.0
278
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <owner name="Mike Krüger" email="mike@icsharpcode.net"/> // <version>$Revision$</version> // </file> using System; using System.Windows.Forms; namespace ICSharpCode.Core.WinForms { public class Men...
kingjiang/SharpDevelopLite
src/Main/ICSharpCode.Core.WinForms/Menu/MenuCheckBox.cs
C#
lgpl-3.0
2,415
/// <reference name="MicrosoftAjax.debug.js" /> /// <reference path="../ExtenderBase/BaseScripts.js" /> /// <reference path="../Common/Common.js" /> /// <reference path="../Animation/Animations.js" /> /// <reference path="../Animation/AnimationBehavior.js" /> (function() { var scriptName = "ExtendedPopup"...
consumentor/Server
trunk/tools/AspNetAjaxLibraryBeta0911/Scripts/extended/PopupExtender/PopupBehavior.debug.js
JavaScript
lgpl-3.0
30,754
#include "firtex/search/IndexFeature.h" FX_NS_USE(index); FX_NS_DEF(search); SETUP_STREAM_LOGGER(search, IndexFeature); IndexFeature::IndexFeature() : m_nTotalTermCount(0) , m_nTotalDocCount(0) { } IndexFeature::~IndexFeature() { } void IndexFeature::init(const IndexReaderPtr& pIndexReader) { m_nTota...
ruijieguo/firtex2
src/search/IndexFeature.cpp
C++
lgpl-3.0
1,305
/* Copyright (C) 2010 by Claas Wilke (claaswilke@gmx.net) This file is part of the XML Model Instance Plug-in of Dresden OCL2 for Eclipse. Dresden OCL2 for Eclipse 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 Soft...
dresden-ocl/dresdenocl
plugins/org.dresdenocl.modelinstancetype.xml/src/org/dresdenocl/modelinstancetype/xml/internal/modelinstance/XmlModelInstanceFactory.java
Java
lgpl-3.0
19,025
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using JetBrains.Annotations; namespace NetMQ { /// <summary> /// This static class serves to provide extension methods for IOutgoingSocket. /// </summary> public static class OutgoingSocketExtensions { ...
ashic/netmq
src/NetMQ/OutgoingSocketExtensions.cs
C#
lgpl-3.0
38,297
/* * Copyright (c) 2005-2016 Vincent Vandenschrick. All rights reserved. * * This file is part of the Jspresso framework. * * Jspresso 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 v...
jspresso/jspresso-ce
util/src/main/java/org/jspresso/framework/util/spring/NullFactoryBean.java
Java
lgpl-3.0
1,417
from dynamic_graph.sot.application.stabilizer.scenarii.seqplay_lqr_twoDof_coupled_stabilizer import SeqPlayLqrTwoDofCoupledStabilizer from dynamic_graph.sot.application.stabilizer.scenarii.hrp2_lqr_twoDof_coupled_stabilizer import HRP2LqrTwoDofCoupledStabilizer from dynamic_graph.sot.core.meta_tasks import GainAdaptive...
amifsud/sot-stabilizer
src/dynamic_graph/sot/application/stabilizer/scenarii/seqplay_lqr_twoDof_coupled_stabilizer_hrp2.py
Python
lgpl-3.0
2,157
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'pyweed/gui/uic/SpinnerWidget.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_SpinnerWidget(object): def setupUi(self, SpinnerW...
iris-edu/pyweed
pyweed/gui/uic/SpinnerWidget.py
Python
lgpl-3.0
2,674
import re from hashlib import sha256 from vFense.plugins.patching import AppsKey from vFense.plugins.patching._constants import CommonSeverityKeys def build_app_id(name, version): """ Return the 64 character hexdigest of the appid. The app_id is generated by creating a hexdigest based of the nam...
dtklein/vFense
tp/src/plugins/patching/utils/__init__.py
Python
lgpl-3.0
1,957
package fr.upond.syndic.repository.userRole; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import fr.upond.syndic.repository.ID...
MM2CSYNDIC/syndic
syndic-repository-core/src/main/java/fr/upond/syndic/repository/userRole/UserRoleDaoImpl.java
Java
lgpl-3.0
1,100
/** * <copyright> * </copyright> * * $Id$ */ package orgomg.cwm.resource.relational.impl; import java.util.Collection; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore...
dresden-ocl/dresdenocl
plugins/org.dresdenocl.tools.CWM/src/orgomg/cwm/resource/relational/impl/SQLStructuredTypeImpl.java
Java
lgpl-3.0
9,279
// Copyright (C) 2012 by Antonio El Khoury, CNRS. // // This file is part of the roboptim-capsule. // // roboptim-capsule 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 Lic...
roboptim/roboptim-capsule
include/roboptim/capsule/distance-capsule-point.hh
C++
lgpl-3.0
2,895
/* * SonarAnalyzer for .NET * Copyright (C) 2015-2016 SonarSource SA * mailto:contact@sonarsource.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the ...
tvsonar/sonarlint-vs
src/SonarAnalyzer.CSharp/Rules/WcfNonVoidOneWay.cs
C#
lgpl-3.0
4,697
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2022 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
psi4/psi4
psi4/driver/psifiles.py
Python
lgpl-3.0
10,284
/* KIARA - Middleware for efficient and QoS/Security-aware invocation of services and exchange of messages * * Copyright (C) 2014 Proyectos y Sistemas de Mantenimiento S.L. (eProsima) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * ...
Fiware/i2nd.KIARA
src/test/java/org/fiware/kiara/serialization/types/IDLText.java
Java
lgpl-3.0
1,565
<?php wa('shop'); $type_model = new shopTypeModel(); $types = $type_model->select('id,name')->fetchAll('id', true); $currencies = wa('shop')->getConfig()->getCurrencies(); foreach ($currencies as &$c) { $c = $c['title']; } unset($c); $payment_items = $shipping_items = array(); foreach (shopHelper::getPaymentMeth...
neeil1990/almamed
wa-apps/shop/lib/config/site.php
PHP
lgpl-3.0
14,862
package eiteam.esteemedinnovation.transport.fluid.screw; import net.minecraftforge.fluids.FluidStack; import net.minecraftforge.fluids.FluidTank; import net.minecraftforge.fluids.capability.IFluidHandler; import net.minecraftforge.fluids.capability.IFluidTankProperties; import javax.annotation.Nullable; public class...
Esteemed-Innovation/Flaxbeards-Steam-Power
old/main/java/eiteam/esteemedinnovation/transport/fluid/screw/InputOnlyFluidHandler.java
Java
lgpl-3.0
966
<?php $d['bbs']['layout'] = ""; $d['bbs']['skin'] = "_pc/list02"; $d['bbs']['m_skin'] = ""; $d['bbs']['c_skin'] = ""; $d['bbs']['c_mskin'] = ""; $d['bbs']['c_hidden'] = ""; $d['bbs']['c_open'] = ""; $d['bbs']['perm_g_list'] = ""; $d['bbs']['perm_g_view'] = ""; $d['bbs']['perm_g_write'] = ""; $d['bbs']['perm_g_down'] = ...
cubem2013/reservation2013
_package/rb/modules/bbs/var/var.www.php
PHP
lgpl-3.0
813
/** * Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite * contributors * * This file is part of EvoSuite. * * EvoSuite is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser Public License as published by the * Free Software Foundation, either version 3.0 ...
SoftwareEngineeringToolDemos/FSE-2011-EvoSuite
runtime/src/main/java/org/evosuite/runtime/mock/EvoSuiteMock.java
Java
lgpl-3.0
955
#coding: utf-8 """ @Author: Well @Date: 2014 - 04 - 16 """ import time def login(self, username, password): browser = self.browser # 输入用户名 browser.find_element_by_id('user_login').send_keys(username) # 输入密码 browser.find_element_by_id('user_pass').send_keys(password) # 点击登录按钮 browser.find_...
neiltest/neil_test_selenium
selenium_test/test_case/login.py
Python
unlicense
433
# unpack processing # Reader - ADIwg JSON to internal data structure # History: # Stan Smith 2019-09-23 original script require_relative 'module_identifier' require_relative 'module_citation' require_relative 'module_algorithm' module ADIWG module Mdtranslator module Readers module MdJson ...
adiwg/mdTranslator
lib/adiwg/mdtranslator/readers/mdJson/modules/module_processing.rb
Ruby
unlicense
3,891
from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import ( extract_attributes, int_or_none, str_to_int, unified_strdate, url_or_none, ) class YouPornIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?youporn\.com/(?:watch|embed)/(?P<id>\d+)(?:...
rg3/youtube-dl
youtube_dl/extractor/youporn.py
Python
unlicense
7,294
#!/usr/bin/env python # # ESP8266 make firmware image # # Arguments: dir of *.bin # # (c) vad7 import argparse import os argp = argparse.ArgumentParser() argp.add_argument('flashsize', action='store', help='Flash size, kb') argp.add_argument('dir', action='store', help='Directory of *.bin') args = argp.parse_args() ...
vad7/PowerMeter
bin/make_firmware_image.py
Python
unlicense
1,000
/*jslint nomen: true */ /*jslint plusplus: true */ /*jslint browser: true*/ /*jslint node: true*/ /*global d3, io, nunjucks*/ 'use strict'; // // JavaScript unit // Add-on for the string and number manipulation // // Copyright (c) 2005, 2006, 2007, 2010, 2011 by Ildar Shaimordanov // /* The following code is describ...
flower1024/nodePoloApi
public/string.js
JavaScript
unlicense
23,495
import sublime import sublime_plugin from html.entities import codepoint2name as cp2n class EncodeHtmlEntities(sublime_plugin.TextCommand): def run(self, edit, **args): view = self.view for sel in view.sel(): buf = [] for pt in range(sel.begin(), sel.end()): ...
twolfson/sublime-files
Packages/HTML/encode_html_entities.py
Python
unlicense
764
using System; using System.Timers; namespace JWLibrary.FFmpeg { class FrameDropChecker : IDisposable { #region delegate events public event EventHandler<EventArgs> FrameDroped; protected virtual void OnFrameDroped(object sender, EventArgs e) { if (FrameDroped != nul...
GuyFawkesFromKorea/RSBP
JWLibrary.FFmpeg/FrameDropChecker.cs
C#
unlicense
2,179
// @formatter:off /* * Unlicensed, generated by javafx.ftl */ package javafx.scene.media; /** * {@link Track}建構器延伸(供客製化) * * @author JarReflectionDataLoader-1.0.0 * @version jfxrt.jar * @param <Z> 要建構的物件型態(需繼承{@link Track}) * @param <B> 建構器本身的型態(需繼承{@link TrackMaker}) */ @javax.annotation.Gene...
AqD/JXTN
jxtn-jfx-makers/src/javafx/scene/media/TrackMakerExt.java
Java
unlicense
605
/* * Copyright 2022 ThoughtWorks, 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 agr...
gocd/gocd
server/src/main/java/com/thoughtworks/go/server/service/materials/NoOpPoller.java
Java
apache-2.0
1,712
/* * Copyright 2010-2017 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 "license" fil...
cedral/aws-sdk-cpp
aws-cpp-sdk-config/source/model/DeliverConfigSnapshotResult.cpp
C++
apache-2.0
1,479
package org.apache.maven.plugin.assembly.mojos; /* * 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 Apa...
kikinteractive/maven-plugins
maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/mojos/UnpackMojo.java
Java
apache-2.0
4,397
package a3.a3droid; /**This class is used in A3Channel and in Service, which implement the interface "TimerInterface". * After a 2 seconds timeout, it calls TimerInterface.timerFired(int), to notify the timeout fired. * @author Francesco * */ public class Timer extends Thread{ /**The TimerInterface to n...
danilomendonca/A3Droid_Test_MCS
src/a3/a3droid/Timer.java
Java
apache-2.0
1,579
/* * 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...
msebire/intellij-community
platform/diff-impl/src/com/intellij/openapi/diff/impl/dir/actions/DirDiffToolbarActions.java
Java
apache-2.0
2,587
(function() { var Detail; Detail = function(detailData) { // 詳細情報を載せるwindow表示(半透明) var t = windowAnimation(0); var win = Ti.UI.createWindow({ backgroundColor:'#333333', borderWidth:1, borderColor:'#666', width:"100%", height:"1...
kirou/books_app_list
sinkancheaker/Resources/ui/Detail.js
JavaScript
apache-2.0
3,996
/** * Test for Bidi restrictions on IDNs from RFC 3454 */ var Cc = Components.classes; var Ci = Components.interfaces; var idnService; function expected_pass(inputIDN) { var isASCII = {}; var displayIDN = idnService.convertToDisplayIDN(inputIDN, isASCII); do_check_eq(displayIDN, inputIDN); } function expecte...
sergecodd/FireFox-OS
B2G/gecko/netwerk/test/unit/test_bug427957.js
JavaScript
apache-2.0
3,088
/** * Copyright 2011-2019 Asakusa Framework 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 * * Unless required by applicable...
akirakw/asakusafw
info/model/src/main/java/com/asakusafw/info/ParameterInfo.java
Java
apache-2.0
3,504
//===--- SILGenPoly.cpp - Function Type Thunks ----------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
calebd/swift
lib/SILGen/SILGenPoly.cpp
C++
apache-2.0
141,662
#========================================================================== # # Copyright Insight Software Consortium # # 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...
daviddoria/itkHoughTransform
Wrapping/WrapITK/Languages/Python/Tests/SmoothingRecursiveGaussianImageFilter.py
Python
apache-2.0
1,366
/* * Minio Cloud Storage, (C) 2019 Minio, 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 la...
aead/minio
pkg/s3select/internal/parquet-go/endian.go
GO
apache-2.0
940
var welcomeText = ( ' ____ _ ____ \n'+ '| _ \\ __ __ | / ___| \n'+ '| |_) |\\ \\/ / | \\___ \\ \n'+ '| _ < > < |_| |___) | \n'+ '|_| \\_\\/_/\\_\\___/|____/ \n'+ '\n试试下面这段代码来开启 RxJS 之旅:\n'+ '\n var subscription = Rx.Observable.interval(500)'+ '.take(4).subscribe(function ...
SangKa/RxJS-Docs-CN
doc/asset/devtools-welcome.js
JavaScript
apache-2.0
826
/* * Copyright (C) 2011 The Bible Assistant 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 * * Unles...
johnidelight/bible-assistant
platform/android/tool/BibleGenerator/src/org/heavenus/bible/generator/Book.java
Java
apache-2.0
2,467
// Copyright (C) 2015 Nippon Telegraph and Telephone 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.apache.org/licenses/LICENSE-2.0 // // Unless required...
ramrunner/gobgp
gobgp/lib/path.go
GO
apache-2.0
3,283
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- * 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/. */ #include "prmem.h" #include "gfxAlp...
sergecodd/FireFox-OS
B2G/gecko/gfx/thebes/gfxImageSurface.cpp
C++
apache-2.0
10,870
/* Copyright 2019 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...
frreiss/tensorflow-fred
tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc
C++
apache-2.0
4,295
// Copyright 2022 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
googleapis/google-cloud-dotnet
apis/Google.Cloud.CertificateManager.V1/Google.Cloud.CertificateManager.V1.GeneratedSnippets/CertificateManagerClient.GetCertificateMapResourceNamesAsyncSnippet.g.cs
C#
apache-2.0
1,884
/** * 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 ...
srdo/storm
storm-server/src/main/java/org/apache/storm/scheduler/multitenant/DefaultPool.java
Java
apache-2.0
8,903
<?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...
carnegiespeech/translations
zh_cn/quizaccess_safebrowser.php
PHP
apache-2.0
1,084
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-792 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2011...
vthangathurai/SOA-Runtime
integration-tests/ProtoBufFindItemService/src/main/java/com/ebay/marketplace/search/v1/services/FieldValuesPair.java
Java
apache-2.0
3,008
require 'pathname' Puppet::Type.newtype(:dsc_xexcheventloglevel) do require Pathname.new(__FILE__).dirname + '../../' + 'puppet/type/base_dsc' require Pathname.new(__FILE__).dirname + '../../puppet_x/puppetlabs/dsc_type_helpers' @doc = %q{ The DSC xExchEventLogLevel resource type. Automatically generat...
ferventcoder/puppetlabs-dsc
lib/puppet/type/dsc_xexcheventloglevel.rb
Ruby
apache-2.0
4,027
/* * 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...
mafulafunk/wicket
wicket-core/src/main/java/org/apache/wicket/validation/validator/AbstractRangeValidator.java
Java
apache-2.0
5,358
/* * 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-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchv2/model/BuildSuggestersRequest.java
Java
apache-2.0
3,006
/* * Copyright 2012-2014 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...
snicoll/spring-boot
spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessorTests.java
Java
apache-2.0
15,218
/* Copyright 2015 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, ...
ahakanbaba/kubernetes
pkg/registry/core/node/storage/storage.go
GO
apache-2.0
4,861
/* * Copyright 2022 ThoughtWorks, 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 agr...
gocd/gocd
server/src/main/java/com/thoughtworks/go/server/cache/LazyCache.java
Java
apache-2.0
2,065