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 |
|---|---|---|---|---|---|
package org.buildmlearn.toolkit.fragment;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import org.buildmlearn.toolkit.R;
import org.buildmlearn.toolkit.activity.TemplateActivity;
/**
... | vishwesh3/BuildmLearn-Toolkit-Android | source-code/app/src/main/java/org/buildmlearn/toolkit/fragment/HomeFragment.java | Java | bsd-3-clause | 1,033 |
package com.xeiam.xchange.btcchina;
import java.io.IOException;
import javax.ws.rs.Consumes;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.w... | cinjoff/XChange-1 | xchange-btcchina/src/main/java/com/xeiam/xchange/btcchina/BTCChina.java | Java | mit | 14,863 |
<?php
namespace Test\TestBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony.c... | max05/bootstrap | src/Test/TestBundle/DependencyInjection/Configuration.php | PHP | mit | 873 |
package gforms
// Generate password input field: <input type="password" ...>
func PasswordInputWidget(attrs map[string]string) Widget {
w := new(textInputWidget)
w.Type = "password"
if attrs == nil {
attrs = map[string]string{}
}
w.Attrs = attrs
return w
}
| gernest/gforms | passwordinputwidget.go | GO | mit | 266 |
/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'colorbutton', 'bs', {
auto: 'Automatska',
bgColorTitle: 'Boja pozadine',
colors: {
'000': 'Black',
'800000': 'Maroon',
'... | zweidner/hubzero-cms | core/plugins/editors/ckeditor/assets/plugins/colorbutton/lang/bs.js | JavaScript | mit | 2,069 |
# encoding: utf-8
#
require 'spec_helper'
describe 'country descriptions' do
def self.it_splits number, expected
it { Phony.split(number).should == expected }
end
describe 'regression' do
it_splits '33630588659', ["33", "6", "30", "58", "86", "59"]
end
describe 'splitting' do
describe 'Ascensi... | tpena/phony | spec/lib/phony/countries_spec.rb | Ruby | mit | 56,003 |
var http = require("http");
var url = require("url");
var server;
// Diese Funktion reagiert auf HTTP Requests,
// hier wird also die Web Anwendung implementiert!
var simpleHTTPResponder = function(req, res) {
// Routing bedeutet, anhand der URL Adresse
// unterschiedliche Funktionen zu steuern.
// Dazu wird zunäc... | MaximilianKucher/vs1Lab | Beispiele/nodejs_webserver/web.js | JavaScript | mit | 1,328 |
package engine.menu.managers;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.util.List;
import engine.dialogue.InteractionBox;
import engine.gridobject.person.Player;
import engine.images.ScaledImage;
import engine.item.Weapon;
import engine.menu.MenuInteractionMatrix;
import... | yomikaze/OOGASalad | src/engine/menu/managers/WeaponManager.java | Java | mit | 2,233 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Composition;
using System.Threading... | mavasani/roslyn | src/Features/CSharp/Portable/Highlighting/KeywordHighlighters/UsingStatementHighlighter.cs | C# | mit | 1,116 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.H... | CyrusNajmabadi/roslyn | src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/VisualStudioWorkspace_OutOfProc.cs | C# | mit | 5,369 |
<?php
namespace SMW\Tests\SPARQLStore;
use SMW\SPARQLStore\RedirectLookup;
use SMW\InMemoryPoolCache;
use SMW\DIWikiPage;
use SMW\DIProperty;
use SMW\Exporter\Escaper;
use SMWExpNsResource as ExpNsResource;
use SMWExpLiteral as ExpLiteral;
use SMWExpResource as ExpResource;
use SMWExporter as Exporter;
/**
* @cove... | stuartbman/mediawiki-vagrant | mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/RedirectLookupTest.php | PHP | mit | 7,584 |
<?php
/*
* This file is part of the Sismo utility.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Sismo\Sismo;
use Sismo\BuildException;
use Symfony\Component\Console\Application;
use Symfony\C... | druid628/Sismo | src/console.php | PHP | mit | 9,948 |
#include "scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.hpp"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
#include "ui/UIVideoPlayer.h"
#include "scripting/lua-bindings/manual/tolua_fix.h"
#include "scripting/lua-bindings/manual/LuaBasicConversions... | tianxiawuzhei/cocos-quick-cpp | publibs/cocos2dx/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.cpp | C++ | mit | 2,501 |
/*
_____ __ ___ __ ____ _ __
/ ___/__ ___ _ ___ / |/ /__ ___ / /_____ __ __/ __/_______(_)__ / /_
/ (_ / _ `/ ' \/ -_) /|_/ / _ \/ _ \/ '_/ -_) // /\ \/ __/ __/ / _ \/ __/
\___/\_,_/_/_/_/\__/_/ /_/\___/_//_/_/\_\\__/\_, /___/\__/_/ /_/ .__/\__/
... | LothusMarque/Furnarchy | furnarchy2/furnarchyskin/gm/gmDebug.cpp | C++ | mit | 22,124 |
module Jasminerice
module ApplicationHelper
end
end
| ajacksified/restful-clients-in-rails-demo | rack-proxy/ruby/1.9.1/gems/jasminerice-0.0.8/app/helpers/jasminerice/application_helper.rb | Ruby | mit | 56 |
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.control');
goog.require('ol.layer.Tile');
goog.require('ol.layer.Vector');
goog.require('ol.source.GeoJSON');
goog.require('ol.source.OSM');
var map = new ol.Map({
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
}),
new ol.... | buddebej/ol3-dem | ol3/examples/export-map.js | JavaScript | mit | 1,180 |
'use strict';
angular.module('sumaAnalysis')
.factory('actsLocs', function () {
function calculateDepthAndTooltip (item, list, root, depth) {
var parent;
depth = depth || {depth: 0, tooltipTitle: item.title, ancestors: []};
if (parseInt(item.parent, 10) === parseInt(root, 10)) {
return... | cazzerson/Suma | analysis/src/scripts/services/actsLocs.js | JavaScript | mit | 3,247 |
"""
kombu.transport.pyamqp
======================
pure python amqp transport.
"""
from __future__ import absolute_import
import amqp
from kombu.five import items
from kombu.utils.amq_manager import get_manager
from kombu.utils.text import version_string_as_tuple
from . import base
DEFAULT_PORT = 5672
DEFAULT_SSL_... | sunze/py_flask | venv/lib/python3.4/site-packages/kombu/transport/pyamqp.py | Python | mit | 5,008 |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
use Concrete\Core\Entity\Sharing\SocialNetwork\Link;
use Concrete\Core\Form\Service\Form;
use Concrete\Core\Sharing\SocialNetwork\Service;
use Concrete\Core\Support\Facade\Application;
use Concrete\Core\Support\Facade\Url;
/** @var Link[] $links */
/** @var Link[... | mlocati/concrete5 | concrete/blocks/social_links/form.php | PHP | mit | 2,919 |
#! /usr/bin/env ruby
require 'spec_helper'
require 'matchers/json'
require 'puppet/util/instrumentation'
require 'puppet/util/instrumentation/listener'
describe Puppet::Util::Instrumentation::Listener do
Listener = Puppet::Util::Instrumentation::Listener
before(:each) do
@delegate = stub 'listener', :notif... | kieran-bamforth/our-boxen | vendor/bundle/ruby/2.0.0/gems/puppet-3.4.3/spec/unit/util/instrumentation/listener_spec.rb | Ruby | mit | 3,283 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2013 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | uspgamedev/3D-experiment | externals/Ogre/OgreMain/src/OgreWindowEventUtilities.cpp | C++ | mit | 14,140 |
#------------------------------------------------------------------------------
# pycparser: c_generator.py
#
# C code generator from pycparser AST nodes.
#
# Copyright (C) 2008-2012, Eli Bendersky
# License: BSD
#------------------------------------------------------------------------------
from . import c_ast
class... | bussiere/pypyjs | website/demo/home/rfk/repos/pypy/lib_pypy/cffi/_pycparser/c_generator.py | Python | mit | 13,798 |
<?php
namespace N98\Magento\Command\Developer\Theme;
use N98\Magento\Command\TestCase;
use Symfony\Component\Console\Tester\CommandTester;
class ListCommandTest extends TestCase
{
public function testExecute()
{
$application = $this->getApplication();
$application->add(new ListCommand());
... | pocallaghan/n98-magerun | tests/N98/Magento/Command/Developer/Theme/ListCommandTest.php | PHP | mit | 653 |
//===----------------- lib/Jit/options.cpp ----------------------*- C++ -*-===//
//
// LLILC
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
//
//===--------------------------------------------------------------... | dotnet/llilc | lib/Jit/jitoptions.cpp | C++ | mit | 9,832 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotat... | jianghaolu/azure-sdk-for-java | azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/AutoHealActions.java | Java | mit | 2,569 |
using UnityEngine;
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_Bounds : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
LuaDLL.lua_remove(l,1);
UnityEngine.Bounds o;
if(matchType(l,1,typ... | idada/slua | Assets/Slua/LuaObject/Lua_UnityEngine_Bounds.cs | C# | mit | 8,284 |
/*!
* screenfull
* v4.2.0 - 2019-04-01
* (c) Sindre Sorhus; MIT License
*/
(function () {
'use strict';
var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {};
var isCommonjs = typeof module !== 'undefined' && module.exports;
var keyboardAllowed = typeof Eleme... | quindar/quindar-ux | public/scripts/screenfull.js | JavaScript | mit | 4,129 |
class ExitStatus < Spinach::FeatureSteps
feature "Exit status"
include Integration::SpinachRunner
Given "I have a feature that has no error or failure" do
@feature = Integration::FeatureGenerator.success_feature
end
Given "I have a feature that has a failure" do
@feature = Integration::FeatureGene... | alkuzad/spinach | features/steps/exit_status.rb | Ruby | mit | 594 |
require 'rails/version'
require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator'
module Rails
module Generators
class StrongParametersControllerGenerator < ScaffoldControllerGenerator
argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"
s... | begriffs/strong_parameters | lib/generators/rails/strong_parameters_controller_generator.rb | Ruby | mit | 520 |
/* ====================================================================
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 Y... | tobyclemson/msci-project | vendor/poi-3.6/src/java/org/apache/poi/hssf/usermodel/HSSFSimpleShape.java | Java | mit | 3,641 |
// Generated by LiveScript 1.5.0
var onmessage, this$ = this;
function addEventListener(event, cb){
return this.thread.on(event, cb);
}
function close(){
return this.thread.emit('close');
}
function importScripts(){
var i$, len$, p, results$ = [];
for (i$ = 0, len$ = (arguments).length; i$ < len$; ++i$) {
p... | romainmnr/chatboteseo | node_modules/webworker-threads/src/load.js | JavaScript | mit | 558 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | phphatesme/LiveTest | src/lib/Zend/Form/Decorator/Captcha/Word.php | PHP | mit | 2,410 |
package com.laytonsmith.abstraction.entities;
import com.laytonsmith.abstraction.MCEntity;
import com.laytonsmith.abstraction.MCLivingEntity;
public interface MCEvokerFangs extends MCEntity {
MCLivingEntity getOwner();
void setOwner(MCLivingEntity owner);
}
| sk89q/CommandHelper | src/main/java/com/laytonsmith/abstraction/entities/MCEvokerFangs.java | Java | mit | 262 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\FrameworkBundle\Command;
use Symfony\Component\Console\C... | curry684/symfony | src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php | PHP | mit | 17,092 |
module.exports = {
"env": {
"browser": true
},
"plugins": [
"callback-function"
],
"globals": {
"_": true,
"$": true,
"ActErr": true,
"async": true,
"config": true,
"logger": true,
"moment": true,
"respondWithError": true,
"sendJSONResponse": true,
"util": true,... | himanshu0503/admiral | .eslintrc.js | JavaScript | mit | 1,174 |
//
// Copyright (c) 2008-2011, Kenneth Bell
//
// 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, m... | breezechen/DiscUtils | src/Vmdk/HostedSparseExtentStream.cs | C# | mit | 10,139 |
<?php
return [
'Names' => [
'Africa/Abidjan' => 'Waktu Greenwich (Abidjan)',
'Africa/Accra' => 'Waktu Greenwich (Accra)',
'Africa/Algiers' => 'Waktu Éropa Tengah (Algiers)',
'Africa/Bamako' => 'Waktu Greenwich (Bamako)',
'Africa/Banjul' => 'Waktu Greenwich (Banjul)',
... | Slamdunk/symfony | src/Symfony/Component/Intl/Resources/data/timezones/su.php | PHP | mit | 13,893 |
// textarea̳ðCu²ß·é
function adjustTextareaRows(obj, org, plus) {
var brlen = null;
if (obj.wrap) {
if (obj.wrap == 'virtual' || obj.wrap == 'soft') {
brlen = obj.cols;
}
}
var aLen = countLines(obj.value, brlen);
var aRows = aLen + plus;
var move = 0;
var scroll = 14;
if (org) {
if (Math... | okyada/p2-php | rep2/js/post_form.js | JavaScript | mit | 4,984 |
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
/// <summary>
/// Used to filter issue comments.
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class IssueCommentRequest : RequestParameters
{
/// <summary>
/// Initializes... | eriawan/octokit.net | Octokit/Models/Request/IssueCommentRequest.cs | C# | mit | 1,391 |
/*******************************************************************************
* Copyright (c) 2014 Salesforce.com, inc..
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availab... | dipakmankumbare/idecore | com.salesforce.ide.ui.test/src/com/salesforce/ide/ui/views/log/LogViewTest_unit.java | Java | epl-1.0 | 1,175 |
/**
* Copyright (c) 2010-2018 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | johannrichard/openhab2-addons | addons/binding/org.openhab.binding.satel/src/main/java/org/openhab/binding/satel/internal/command/ControlCommand.java | Java | epl-1.0 | 2,159 |
/*******************************************************************************
* Copyright (c) 2013, 2014 UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avail... | gorindn/ice | src/org.eclipse.ice.reactor.sfr/src/org/eclipse/ice/reactor/sfr/core/assembly/SFRAssembly.java | Java | epl-1.0 | 6,609 |
<?php
/**
* Test Generated example demonstrating the GroupNesting.delete API.
*
* @return array
* API result array
*/
function group_nesting_delete_example() {
$params = [
'id' => 1,
];
try{
$result = civicrm_api3('GroupNesting', 'delete', $params);
}
catch (CiviCRM_API3_Exception $e) {
//... | kreynen/civicrm-starterkit-drops-7 | profiles/civicrm_starterkit/modules/civicrm/api/v3/examples/GroupNesting/Delete.ex.php | PHP | gpl-2.0 | 1,670 |
/**
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*
* @author ralf57
* @author luciorota (lucio.rota@gmail.com)
* @author dugris (dugris@frxoops.fr)
*/
tinyMCEPopup.requireLangPack();
var XoopsimagemanagerDialog = {
preInit : f... | mambax7/XoopsCore25 | htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/js/xoopsimagemanager.js | JavaScript | gpl-2.0 | 16,092 |
<?php
/**
* @file
* Contains \Drupal\Core\Utility\UnroutedUrlAssembler.
*/
namespace Drupal\Core\Utility;
use Drupal\Component\Utility\SafeMarkup;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\GeneratedUrl;
use Drupal\Core\PathProcessor\OutboundPathProcesso... | cpjobling/proman-d8 | proman.swan.ac.uk/core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php | PHP | gpl-2.0 | 7,426 |
<?php
/**
* DmSetting filter form base class.
*
* @package retest
* @subpackage filter
* @author Your name here
* @version SVN: $Id: sfDoctrineFormFilterGeneratedTemplate.php 24171 2009-11-19 16:37:50Z Kris.Wallsmith $
*/
abstract class BaseDmSettingFormFilter extends BaseFormFilterDoctrine
{
public... | Teplitsa/bquest.ru | lib/vendor/diem/dmCorePlugin/test/project/lib/filter/doctrine/dmCorePlugin/base/BaseDmSettingFormFilter.class.php | PHP | gpl-2.0 | 2,784 |
/*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any l... | ironhead123/DeathCore_3.3.5 | src/server/shared/Database/Field.cpp | C++ | gpl-2.0 | 1,759 |
<?php
/**
* @package JCE
* @copyright Copyright (c)2016 Ryan Demmer
* @license GNU General Public License version 2, or later
*/
defined('_JEXEC') or die;
/**
* Handle commercial extension update authorization
*
* @package Joomla.Plugin
* @subpackage Installer.Jce
* @since 2.6
*/
class plgInst... | khuongdang/dongtrungtruongsinh | plugins/installer/jce/jce.php | PHP | gpl-2.0 | 1,570 |
var express = require('express');
var leaderRouter = express.Router();
leaderRouter.route('/')
.all(function(req, res, next) {
res.writeHead(200, { 'Content-Type': 'text/plain' });
next();
})
.get(function(req, res, next){
res.end('Will send all the leaders to you!');
})
.... | mikedanylov/full-stack-dev | NodeJS/week3/rest-server/routes/leaderRouter.js | JavaScript | gpl-2.0 | 1,220 |
# postgresql/pypostgresql.py
# Copyright (C) 2005-2020 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""
.. dialect:: postgresql+pypostgresql
:name: py-postgresql
:dba... | gltn/stdm | stdm/third_party/sqlalchemy/dialects/postgresql/pypostgresql.py | Python | gpl-2.0 | 2,915 |
<?php
/**
* Joomla! 1.5 component irbtools
*
* @version $Id: view.html.php 2010-10-13 07:12:40 svn $
* @author IRB Barcelona
* @package Joomla
* @subpackage irbtools
* @license GNU/GPL
*
* IRB Barcelona Tools
*
* This component file was created using the Joomla Component Creator by Not Web Design... | rbartolomeirb/joomlaatirb | tools/com_irbtools/build/administrator/components/com_irbtools/views/default/view.html.php | PHP | gpl-2.0 | 663 |
// $Id: Dynamic_Service_Dependency.cpp 96985 2013-04-11 15:50:32Z huangh $
#include "ace/ACE.h"
#include "ace/DLL_Manager.h"
#include "ace/Dynamic_Service_Dependency.h"
#include "ace/Service_Config.h"
#include "ace/Log_Category.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_Dynamic_Service_Dependency::ACE_Dynamic_Service... | xIchigox/ArkCORE-NG | dep/acelite/ace/Dynamic_Service_Dependency.cpp | C++ | gpl-2.0 | 1,326 |
<?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2016 VINADES.,JSC. All rights reserved
* @Language Français
* @License CC BY-SA (http://creativecommons.org/licenses/by-sa/4.0/)
* @Createdate Jul 31, 2015, 09:30:00 AM
*/
if (! defined('NV_ADMIN') or ! defined('NV_MAINFILE... | nhatnhatnet/nukecms | modules/news/language/block.global.block_news_cat_fr.php | PHP | gpl-2.0 | 1,084 |
/* java.lang.Number
Copyright (C) 1998, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your opti... | aosm/gcc3 | libjava/java/lang/Number.java | Java | gpl-2.0 | 3,524 |
<?php
require(__DATAGEN_META_CONTROLS__ . '/AssetModelCustomFieldHelperMetaControlGen.class.php');
/**
* This is a MetaControl customizable subclass, providing a QForm or QPanel access to event handlers
* and QControls to perform the Create, Edit, and Delete functionality of the
* AssetModelCustomFieldHelper c... | mmuir-ca/tracmor | includes/data_meta_controls/AssetModelCustomFieldHelperMetaControl.class.php | PHP | gpl-2.0 | 1,030 |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Various table operations
*
* @package PhpMyAdmin
*/
use PMA\libraries\Partition;
use PMA\libraries\Table;
use PMA\libraries\Response;
/**
*
*/
require_once 'libraries/common.inc.php';
/**
* functions implementation for this script
*/
require_once 'librarie... | ragnerok/phpmyadmin | tbl_operations.php | PHP | gpl-2.0 | 15,012 |
//===--- Diagnostics.cpp - Helper class for error diagnostics -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... | rutgers-apl/Atomicity-Violation-Detector | tdebug-llvm/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp | C++ | gpl-2.0 | 7,830 |
<?php
/**
*@file
* Corp theme's implementation to display a single drupal page.
*/
global $base_url;
$header_style = '';
//$header_bg_file = theme_get_setting('header_bg_file');
//if ($header_bg_file) {
// $header_style .= 'filter:;background: url(' . $header_bg_file . ') repeat ';
//}
$header_bg_... | billmagee/bottomline | sites/all/themes/corp/templates/page.tpl.php | PHP | gpl-2.0 | 6,771 |
/**
* \file Author.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "Author.h"
#include "support/lassert.h"
#include "support/lstrin... | bpiwowar/lyx | src/Author.cpp | C++ | gpl-2.0 | 3,160 |
//@tag dom,core
//@define Ext-more
//@require Ext.EventManager
/**
* @class Ext
*
* Ext is the global namespace for the whole Sencha Touch framework. Every class, function and configuration for the
* whole framework exists under this single global variable. The Ext singleton itself contains a set of useful helper
... | hackathon-3d/team-gryffindor-repo | www/touch/src/core/Ext-more.js | JavaScript | gpl-2.0 | 50,756 |
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | yuvalt/xbmc | xbmc/video/windows/GUIWindowFullScreen.cpp | C++ | gpl-2.0 | 19,632 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will b... | hamzasheikh/Seagull | seagull/trunk/src/generator-model/C_ProtocolControl.cpp | C++ | gpl-2.0 | 14,839 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147
// 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: 2012... | palomagc/MovieChatter | src/icaro/infraestructura/entidadesBasicas/descEntidadesOrganizacion/jaxb/ObjectFactory.java | Java | gpl-2.0 | 6,481 |
<?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Conditional that is met when the current request is an XML-RPC request.
*/
class XMLRPC_Conditional implements Conditional {
/**
* Returns whether the current request is an XML-RPC request.
*
* @return bool `true` when the current request is an XML-RPC reques... | TheThumbsupguy/Ross-Upholstery-Inc | wp-content/plugins/wordpress-seo/src/conditionals/xmlrpc-conditional.php | PHP | gpl-2.0 | 440 |
// Targeted by JavaCPP version 0.8-SNAPSHOT
package com.googlecode.javacpp;
import com.googlecode.javacpp.*;
import com.googlecode.javacpp.annotation.*;
import java.nio.*;
import static com.googlecode.javacpp.opencv_core.*;
import static com.googlecode.javacpp.opencv_imgproc.*;
public class opencv_highgui extends c... | duongtung4691/javacpp.presets | opencv/src/main/java/com/googlecode/javacpp/opencv_highgui.java | Java | gpl-2.0 | 75,386 |
<?php
namespace Drupal\admin_toolbar_tools\Controller;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\CronInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Drupal\Core\Menu\Contex... | hook42/towel | modules/contrib/admin_toolbar/admin_toolbar_tools/src/Controller/ToolbarController.php | PHP | gpl-2.0 | 4,942 |
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition 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 opt... | apnfq/oxid_test | out/azure/src/js/widgets/oxcenterelementonhover.js | JavaScript | gpl-3.0 | 1,679 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/go/vendor/PHPExcel/PHPExcel/Shared/Date.php | PHP | gpl-3.0 | 12,755 |
// Generated by CoffeeScript 1.5.0
var auth, changeDashboard, createGraph, dashboard, dataPoll, default_graphite_url, default_period, description, generateDataURL, generateEventsURL, generateGraphiteTargets, getTargetColor, graphScaffold, graphite_url, graphs, init, metrics, period, refresh, refreshSummary, refreshTime... | Stub-O-Matic-BA/stubo-app | stubo/static/giraffe/js/giraffe.js | JavaScript | gpl-3.0 | 20,491 |
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 you... | cwalther/Plasma-nobink-test | Sources/Plasma/NucleusLib/pnMessage/plServerReplyMsg.cpp | C++ | gpl-3.0 | 2,654 |
package org.whispersystems.signalservice.api.storage;
import org.whispersystems.libsignal.util.guava.Preconditions;
import org.whispersystems.signalservice.internal.storage.protos.ManifestRecord;
import java.util.Arrays;
import java.util.Objects;
public class StorageId {
private final int type;
private final ... | Turasa/libsignal-service-java | service/src/main/java/org/whispersystems/signalservice/api/storage/StorageId.java | Java | gpl-3.0 | 2,421 |
// -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2020 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope tha... | mvo5/snappy | kernel/validate.go | GO | gpl-3.0 | 2,124 |
<?php
/*
* @copyright 2015 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
$isPrototype = ($form->vars['name'] == '__name__');
$filterType = $form['field']->vars['value'];
$inGroup = $... | PatchRanger/mautic | app/bundles/LeadBundle/Views/FormTheme/Filter/_leadlist_filters_entry_widget.html.php | PHP | gpl-3.0 | 2,233 |
package org.limewire.collection;
import java.util.Iterator;
/**
* A convenience class to aid in developing iterators that cannot be modified.
*/
public abstract class UnmodifiableIterator<E> implements Iterator<E> {
/** Throws UnsupportedOperationException */
public final void remove() {
throw new Unsupp... | alejandroarturom/frostwire-desktop | src/org/limewire/collection/UnmodifiableIterator.java | Java | gpl-3.0 | 355 |
//===-- XCoreISelDAGToDAG.cpp - A dag to dag inst selector for XCore ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | vinutah/apps | tools/llvm/llvm_39/opt/lib/Target/XCore/XCoreISelDAGToDAG.cpp | C++ | gpl-3.0 | 10,390 |
/*
Copyright (C) 2010,2011,2012,2013,2014 The ESPResSo project
Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
Max-Planck-Institute for Polymer Research, Theory Group,
This file is part of ESPResSo.
ESPResSo is free software: you can redistribute it and/or modify
it under the terms of th... | Smiljanic/Esspresso-Code | src/core/lb-boundaries.cpp | C++ | gpl-3.0 | 25,248 |
/* -*- c++ -*- */
/*
* Copyright 2006 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 opti... | GREO/GNU-Radio | gr-atsc/src/lib/atsc_rs_decoder.cc | C++ | gpl-3.0 | 1,900 |
/*
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later versio... | Jackkal/jpexs-decompiler | libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/MorphShapeExporter.java | Java | gpl-3.0 | 6,261 |
<?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... | vuchannguyen/web | mod/lesson/pagetypes/shortanswer.php | PHP | gpl-3.0 | 15,979 |
#include <AP_HAL/AP_HAL.h>
#include "AC_PrecLand.h"
#include "AC_PrecLand_Backend.h"
#include "AC_PrecLand_Companion.h"
#include "AC_PrecLand_IRLock.h"
#include "AC_PrecLand_SITL_Gazebo.h"
#include "AC_PrecLand_SITL.h"
extern const AP_HAL::HAL& hal;
const AP_Param::GroupInfo AC_PrecLand::var_info[] = {
// @Param:... | farmer-martin/ardupilot | libraries/AC_PrecLand/AC_PrecLand.cpp | C++ | gpl-3.0 | 8,721 |
--TEST--
IntlTimeZone::createEnumeration(): variant with country
--SKIPIF--
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$tz = IntlTimeZone::createEnumeration('NL');
var_dump(get_class($tz));
$count = count(iterator_to_array($tz));
... | tukusejssirs/eSpievatko | spievatko/espievatko/prtbl/srv/php-5.5.11/ext/intl/tests/timezone_createEnumeration_variation2.phpt | PHP | gpl-3.0 | 504 |
function rewriteTaskTitles(blockid) {
forEach(
getElementsByTagAndClassName('a', 'task-title', 'tasktable_' + blockid),
function(element) {
disconnectAll(element);
connect(element, 'onclick', function(e) {
e.stop();
var description = getFirstEl... | eireford/mahara | htdocs/artefact/plans/blocktype/plans/js/plansblock.js | JavaScript | gpl-3.0 | 963 |
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, an... | Niky4000/UsefulUtils | projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/lookup/ClassScope.java | Java | gpl-3.0 | 40,473 |
# Copyright (C) 2007, One Laptop Per Child
#
# 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 program is distrib... | AbrahmAB/sugar | src/jarabe/journal/__init__.py | Python | gpl-3.0 | 679 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <jni.h>
#include <vector>
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/android/scoped_java_ref.... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/content/browser/android/content_view_statics.cc | C++ | gpl-3.0 | 4,753 |
#!/usr/bin/python
# Copyright (c) 2015 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.
"""Certificate chain with 1 intermediate and a non-self-signed trust anchor.
Verification should succeed, it doesn't matter that the ro... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/net/data/verify_certificate_chain_unittest/generate-unconstrained-non-self-signed-root.py | Python | gpl-3.0 | 1,019 |
var searchData=
[
['matrix_5fbase',['MATRIX_BASE',['../memorymap_8h.html#a096dcc80deb3676aeb5d5b8db13cfeba',1,'memorymap.h']]]
];
| Aghosh993/TARS_codebase | libopencm3/doc/sam3x/html/search/defines_7.js | JavaScript | gpl-3.0 | 132 |
namespace MissionPlanner
{
partial class GridUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | marcoarruda/MissionPlanner | ExtLibs/Grid/GridUI.Designer.cs | C# | gpl-3.0 | 60,645 |
/* eslint-disable jest/no-export, jest/no-disabled-tests */
/**
* Internal dependencies
*/
const {
shopper,
merchant,
createVariableProduct,
} = require( '@woocommerce/e2e-utils' );
let variablePostIdValue;
const cartDialogMessage = 'Please select some product options before adding this product to your cart.';
... | Ninos/woocommerce | tests/e2e/core-tests/specs/shopper/front-end-variable-product-updates.test.js | JavaScript | gpl-3.0 | 2,776 |
<?php
/*
* Copyright 2014 Google 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 t... | Merrick28/delain | web/vendor/google/apiclient-services/src/Google/Service/DataFusion/DataAccessOptions.php | PHP | gpl-3.0 | 837 |
package module
// no syscall.Stat_t on windows, return 0 for inodes
func inode(path string) (uint64, error) {
return 0, nil
}
| grange74/terraform | config/module/inode_windows.go | GO | mpl-2.0 | 128 |
package profitbricks
import (
"encoding/json"
"errors"
"fmt"
"strconv"
"strings"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"github.com/profitbricks/profitbricks-sdk-go"
)
type stepCreateServer struct{}
func (s *stepCreateServer) Run(state multistep.StateBag) multistep.Ste... | dayglojesus/packer | builder/profitbricks/step_create_server.go | GO | mpl-2.0 | 6,663 |
/**
* <p>
* The scrollview module does not add any new classes. It simply plugs the ScrollViewScrollbars plugin into the
* base ScrollView class implementation provided by the scrollview-base module, so that all scrollview instances
* have scrollbars enabled.
* </p>
*
* <ul>
* <li><a href="../classes/Scro... | co-ment/comt | src/cm/media/js/lib/yui/yui3-3.15.0/src/scrollview/js/scrollview.js | JavaScript | agpl-3.0 | 556 |
<?php
/*
* Spring Signage Ltd - http://www.springsignage.com
* Copyright (C) 2015 Spring Signage Ltd
* (CommandFactory.php)
*/
namespace Xibo\Factory;
use Xibo\Entity\Command;
use Xibo\Entity\User;
use Xibo\Exception\NotFoundException;
use Xibo\Service\LogServiceInterface;
use Xibo\Service\SanitizerServiceInter... | alexhuang888/xibo-cms | lib/Factory/CommandFactory.php | PHP | agpl-3.0 | 4,638 |
/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the Lic... | Open365/spice-web-client | misc/spice-0.12.0/client/red_channel.cpp | C++ | agpl-3.0 | 27,728 |
<?php
namespace Safe;
use Safe\Exceptions\SwooleException;
/**
*
*
* @param string $filename The filename being written.
* @param string $content The content writing to the file.
* @param int $offset The offset.
* @param callable $callback
* @throws SwooleException
*
*/
function swoole_async_write(string $f... | Irstea/collec | vendor/thecodingmachine/safe/generated/swoole.php | PHP | agpl-3.0 | 2,407 |
/*
* BrainBrowser: Web-based Neurological Visualization Tools
* (https://brainbrowser.cbrain.mcgill.ca)
*
* Copyright (C) 2011
* The Royal Institution for the Advancement of Learning
* McGill University
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero Gener... | rdvincent/brainbrowser | build/brainbrowser-2.1.1/workers/mniobj.intensity.worker.js | JavaScript | agpl-3.0 | 1,377 |
/*
* Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is on an "... | onursumer/cbioportal | core/src/main/java/org/mskcc/cbio/portal/util/SessionServiceRequestWrapper.java | Java | agpl-3.0 | 6,093 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 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... | sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/coeus/common/budget/framework/period/GenerateBudgetPeriodEvent.java | Java | agpl-3.0 | 1,109 |
odoo.define('website_slides/static/src/tests/activity_tests.js', function (require) {
'use strict';
const components = {
Activity: require('mail/static/src/components/activity/activity.js'),
};
const {
afterEach,
beforeEach,
createRootComponent,
start,
} = require('mail/static/src/utils/test_utils... | rven/odoo | addons/website_slides/static/src/components/activity/activity_tests.js | JavaScript | agpl-3.0 | 3,940 |