repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
CnZoom/XcSoarPull
src/Engine/Contest/Solvers/XContestFree.cpp
1422
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
gpl-2.0
thomasdbcklr/duivendagboek
vendor/drupal/console-core/src/Application.php
14921
<?php namespace Drupal\Console\Core; use Drupal\Console\Core\Utils\TranslatorManagerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Input\InputInterface; ...
gpl-2.0
indigo423/nagvis
share/server/core/ext/php-gettext-1.0.9/gettext.php
11599
<?php /* Copyright (c) 2003, 2009 Danilo Segan <danilo@kvota.net>. Copyright (c) 2005 Nico Kaiser <nico@siriux.net> This file is part of PHP-gettext. PHP-gettext 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 Soft...
gpl-2.0
ryoon/eCos
packages/language/cxx/ustl/current/tests/bvt24.cpp
2886
// This file is part of the uSTL library, an STL implementation. // // Copyright (c) 2005 by Mike Sharov <msharov@users.sourceforge.net> // This file is free software, distributed under the MIT License. #include "stdtest.h" static void HeapSize (size_t nElements, size_t& layerWidth, size_t& nLayers) { layerWidth ...
gpl-2.0
shitizadmirer/unimap.ns-3noc
bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py
23506
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers def register_types(module): root_module = module.get_root() ## csma-channel.h: ns3::WireState [enumeration] module.add_enum('WireState', ['IDLE', 'TRANSMITTING', 'PROPAGATING']) ## backoff.h: ns3::Backoff [class] ...
gpl-2.0
bsantana/bsantana
wp-content/plugins/jetpack/class.jetpack-network.php
21477
<?php /** * Used to manage Jetpack installation on Multisite Network installs * * SINGLETON: To use call Jetpack_Network::init() * * DO NOT USE ANY STATIC METHODS IN THIS CLASS!!!!!! * * @since 2.9 */ class Jetpack_Network { /** * Holds a static copy of Jetpack_Network for the singleton * * @since 2.9 ...
gpl-2.0
romaniabex/exchange
jsdev/bitex/ui/remittance_box.js
2415
goog.provide('bitex.ui.RemittanceBox'); goog.require('bitex.ui.RemittancesBox.templates'); goog.require('goog.dom'); goog.require('goog.object'); goog.require('goog.ui.Component'); goog.require('goog.ui.registry'); goog.require('goog.debug.Logger'); goog.require('goog.events.Event'); goog.require('goog.i18n.NumberForm...
gpl-3.0
greasydeal/darkstar
scripts/globals/abilities/sublimation.lua
2210
----------------------------------- -- Ability: Sublimation -- Gradually creates a storage of MP while reducing your HP. The effect ends once an MP limit is reached, or your HP has gone too low. The stored MP is then transferred to your MP pool by using the ability a second time. -- Obtained: Scholar Level 35 -- Re...
gpl-3.0
geoporalis/MarlinOrg
Marlin/temperature.cpp
57810
/** * Marlin 3D Printer Firmware * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
gpl-3.0
ibm2431/darkstar
src/map/ai/states/weaponskill_state.cpp
4484
/* =========================================================================== Copyright (c) 2010-2015 Darkstar Dev Teams 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 Lice...
gpl-3.0
redFrik/supercollider
external_libraries/boost/boost/thread/detail/thread.hpp
26312
#ifndef BOOST_THREAD_THREAD_COMMON_HPP #define BOOST_THREAD_THREAD_COMMON_HPP // 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) // (C) Copyright 2007-2010 Anthony Williams // (C) Copyright 2011-2012 Vicente J. Bote...
gpl-3.0
inabeel/mixerp
src/Libraries/DAL/Core/IGetTaxMasterIdByTaxMasterCodeRepository.cs
441
// ReSharper disable All using System; using System.Collections.Generic; using System.Dynamic; using PetaPoco; using MixERP.Net.Entities.Core; namespace MixERP.Net.Schemas.Core.Data { public interface IGetTaxMasterIdByTaxMasterCodeRepository { string PgArg0 { get; set; } /// <summary> ...
gpl-3.0
PeaceWorksTechnologySolutions/atom
vendor/FluentDOM/examples/filter-fn.php
795
<?php /** * * @version $Id: filter-fn.php 429 2010-03-29 08:05:32Z subjective $ * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @copyright Copyright (c) 2009 Bastian Feder, Thomas Weinert */ header('Content-type: text/plain'); $xml = <<<XML <html> <head></head> <body> <div id="first">...
agpl-3.0
clemensgeibel/inspectIT
CMR/src/info/novatec/inspectit/cmr/dao/impl/MethodIdentToSensorTypeDaoImpl.java
1596
package info.novatec.inspectit.cmr.dao.impl; import info.novatec.inspectit.cmr.dao.MethodIdentToSensorTypeDao; import info.novatec.inspectit.cmr.model.MethodIdentToSensorType; import java.util.List; import javax.persistence.TypedQuery; import org.springframework.stereotype.Repository; /** * The default implementa...
agpl-3.0
boredherobrine13/morefuelsmod-1.10
build/tmp/recompileMc/sources/net/minecraft/network/play/server/SPacketUpdateScore.java
2943
package net.minecraft.network.play.server; import java.io.IOException; import net.minecraft.network.Packet; import net.minecraft.network.PacketBuffer; import net.minecraft.network.play.INetHandlerPlayClient; import net.minecraft.scoreboard.Score; import net.minecraft.scoreboard.ScoreObjective; import net.minecraftforg...
lgpl-2.1
soul2zimate/wildfly-core
testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/slavereconnect/deployment/ServiceActivatorDeploymentFour.java
1555
/* * JBoss, Home of Professional Open Source. * Copyright ${year}, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * u...
lgpl-2.1
PatidarWeb/opencms-core
modules/org.opencms.workplace/resources/system/workplace/galleries/imagegallery/js/integrator_editor.js
20860
<%@ page import="org.opencms.util.CmsStringUtil, org.opencms.workplace.galleries.*" %><% A_CmsAjaxGallery wp = new CmsAjaxImageGallery(pageContext, request, response); String editedResource = ""; if (CmsStringUtil.isNotEmpty(wp.getParamResource())) { editedResource = wp.getParamResource(); } %><%= wp.getJsp().getCo...
lgpl-2.1
Hitcents/iOS4Unity
Assets/NUnitLite/NUnitLite-0.7.0/Constraints/TrueConstraint.cs
1652
// *********************************************************************** // Copyright (c) 2008 Charlie Poole // // 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, inclu...
apache-2.0
q474818917/solr-5.2.0
lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleAnalyzerWrapper.java
5671
package org.apache.lucene.analysis.shingle; /* * 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 Lice...
apache-2.0
NSAmelchev/ignite
modules/platforms/dotnet/Apache.Ignite.Core/IIgnite.cs
24582
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
Susankha/developer-studio
bps/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/details/providers/PortTypeTreeContentProvider.java
2436
/******************************************************************************* * Copyright (c) 2005, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
apache-2.0
andyao/dagger
compiler/src/main/java/dagger/internal/codegen/ComponentProcessingStep.java
7765
/* * Copyright (C) 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 to...
apache-2.0
avinogradovgg/ignite
modules/core/src/main/java/org/apache/ignite/cache/CacheExistsException.java
1559
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
lokinell/spock
spock-core/src/main/java/org/spockframework/builder/SpockConfigurationGestalt.java
2255
/* * Copyright 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 * Unless required by applicable law...
apache-2.0
aldian/tensorflow
tensorflow/python/kernel_tests/sparse_split_op_test.py
12572
# 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...
apache-2.0
hgschmie/presto
presto-matching/src/test/java/io/prestosql/matching/example/rel/Expression.java
634
/* * 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...
apache-2.0
GPUOpen-Drivers/llvm
unittests/Analysis/SparsePropagation.cpp
21268
//===- SparsePropagation.cpp - Unit tests for the generic solver ----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
apache-2.0
cripure/openpne3
plugins/opOpenSocialPlugin/lib/vendor/Shindig/features/i18n/data/DateTimeConstants__ms_MY.js
2343
/* * 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 ma...
apache-2.0
BetterTi/ti.debugger
testprojects/KitchenSink2/Resources/ui/handheld/ios/platform/custom_properties.js
1019
function custom_props(_args) { var win = Titanium.UI.createWindow({ title:_args.title }); var tab = _args.containingTab; var l = Titanium.UI.createLabel({ top:10, width:300, height:'auto', color:'#777', font:{fontSize:16}, text:'We are going to place custom properties on a new window then retrieve t...
apache-2.0
Asimov4/elasticsearch
src/test/java/org/elasticsearch/search/MultiValueModeTests.java
22690
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
apache-2.0
crowell/modpagespeed_tmp
net/instaweb/rewriter/resource_namer_test.cc
10693
/* * Copyright 2010 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 to...
apache-2.0
devsoulwolf/DatePicker
DatePicker/src/main/java/cn/aigestudio/datepicker/bizs/themes/DPBaseTheme.java
901
package cn.aigestudio.datepicker.bizs.themes; /** * 主题的默认实现类 * * The default implement of theme * * @author AigeStudio 2015-06-17 */ public class DPBaseTheme extends DPTheme { @Override public int colorBG() { return 0xFFFFFFFF; } @Override public int colorBGCircle() { return...
apache-2.0
ftomassetti/effectivejava
test-resources/sample-codebases/spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlUpdate.java
10107
/* * Copyright 2002-2012 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...
apache-2.0
robin13/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/Aggregations.java
5008
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
apache-2.0
hgschmie/presto
presto-client/src/main/java/io/prestosql/client/NodeVersion.java
1705
/* * 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...
apache-2.0
ryano144/intellij-community
java/java-tests/testSrc/com/intellij/lang/java/parser/JavaParsingTestCase.java
5059
/* * 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...
apache-2.0
vladisav/ignite
modules/core/src/test/java/org/apache/ignite/cache/store/CacheStoreSessionListenerAbstractSelfTest.java
10964
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
duke2906/traccar
test/org/traccar/protocol/CradlepointProtocolDecoderTest.java
466
package org.traccar.protocol; import org.junit.Test; import org.traccar.ProtocolTest; public class CradlepointProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { CradlepointProtocolDecoder decoder = new CradlepointProtocolDecoder(new CradlepointProtocol()); ...
apache-2.0
dongjiaqiang/docker
daemon/volumes.go
6624
package daemon import ( "errors" "fmt" "io/ioutil" "os" "path/filepath" "strings" "sync" "github.com/Sirupsen/logrus" derr "github.com/docker/docker/api/errors" "github.com/docker/docker/api/types" "github.com/docker/docker/pkg/chrootarchive" "github.com/docker/docker/pkg/system" "github.com/docker/docke...
apache-2.0
dvirgiln/fuse-bxms-integ
switchyard/switchyard-component-common-knowledge/src/main/java/org/switchyard/component/common/knowledge/config/model/OperationModel.java
3297
/* * Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors. * * 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 req...
apache-2.0
chandresh-pancholi/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/QueryEntityTypeDescriptor.java
7739
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
Cloudyle/hapi-fhir
hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/client/HttpProxyTest.java
5059
package ca.uhn.fhir.rest.client; import static org.junit.Assert.*; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.collections.EnumerationUtils; import org.apache.http.HttpHost; ...
apache-2.0
TheWardoctor/Wardoctors-repo
script.module.schism.common/lib/requests/structures.py
5513
# -*- coding: utf-8 -*- """ requests.structures ~~~~~~~~~~~~~~~~~~~ Data structures that power Requests. """ import collections import time from .compat import OrderedDict current_time = getattr(time, 'monotonic', time.time) class CaseInsensitiveDict(collections.MutableMapping): """A case-insensitive ``dict`...
apache-2.0
etirelli/jbpm
jbpm-test-coverage/src/test/java/org/jbpm/test/functional/correlation/StartProcessWithCorrelationKeyNoPersistenceTest.java
879
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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...
apache-2.0
cernops/rally
tests/unit/plugins/common/runners/test_serial.py
2233
# Copyright (C) 2014 Yahoo! Inc. All Rights Reserved. # 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 # ...
apache-2.0
rzyns/homebrew-cask
Casks/texturepacker.rb
296
class Texturepacker < Cask url 'http://www.codeandweb.com/download/texturepacker/3.3.1/TexturePacker-3.3.1-uni.dmg' homepage 'http://www.codeandweb.com/texturepacker' version '3.3.1' sha256 '00f922d036bd7ec991bbe5ee5fcad1431c3c4884bc2b371fdff92cecdaa11339' link 'TexturePacker.app' end
bsd-2-clause
tom--/yii2
tests/framework/console/FakeHelpController.php
512
<?php namespace yiiunit\framework\console; use yii\console\controllers\HelpController; class FakeHelpController extends HelpController { private static $_actionIndexLastCallParams; public function actionIndex($command = null) { self::$_actionIndexLastCallParams = func_get_args(); } publ...
bsd-3-clause
travis-repos/rubinius
spec/core/hash/trie/delete_spec.rb
527
require File.expand_path('../../../../spec_helper', __FILE__) with_feature :hash_hamt do describe "Hash::Trie#delete" do before :each do @state = Hash::State.new @trie = Hash::Trie.new @state, 0 @entry = Hash::Item.new :a, 1, @state @trie.add @entry, :b, :b.hash, 2 end it "return...
bsd-3-clause
slawosz/rubinius
mspec/spec/helpers/ducktype_spec.rb
1073
require File.dirname(__FILE__) + '/../spec_helper' require 'mspec/helpers/ducktype' describe Object, "#responds_to" do it "returns true for specified symbols" do obj = mock("obj") obj.responds_to(:to_flo) obj.should respond_to(:to_flo) obj.should respond_to(:to_s) end end describe Object, "#does_n...
bsd-3-clause
qizenguf/MLC-STT
src/mem/ruby/structures/CacheMemory.cc
20345
/* * Copyright (c) 1999-2012 Mark D. Hill and David A. Wood * Copyright (c) 2013 Advanced Micro Devices, 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 cod...
bsd-3-clause
reinout/django
django/contrib/gis/forms/widgets.py
3405
import logging from django.conf import settings from django.contrib.gis import gdal from django.contrib.gis.geos import GEOSException, GEOSGeometry from django.forms.widgets import Widget from django.utils import translation logger = logging.getLogger('django.contrib.gis') class BaseGeometryWidget(Widget): """ ...
bsd-3-clause
printedheart/vowpal_wabbit
vowpalwabbit/loss_functions.cc
9419
/* Copyright (c) by respective owners including Yahoo!, Microsoft, and individual contributors. All rights reserved. Released under a BSD (revised) license as described in the file LICENSE. */ #include<math.h> #include<iostream> #include<stdlib.h> #include<float.h> using namespace std; #include "global_data.h" #incl...
bsd-3-clause
kf6kjg/halcyon
ThirdParty/libopenmetaverse/CSJ2K/Icc/ICCMonochromeInputProfile.cs
1728
/// <summary>************************************************************************** /// /// $Id: ICCMonochromeInputProfile.java,v 1.1 2002/07/25 14:56:54 grosbois Exp $ /// /// Copyright Eastman Kodak Company, 343 State Street, Rochester, NY 14650 /// $Date $ /// **************************************************...
bsd-3-clause
tefasmile/Mi_Blog
node_modules/knex/lib/dialects/oracle/schema/schema.js
2657
'use strict'; // Oracle Schema Builder & Compiler // ------- module.exports = function(client) { var inherits = require('inherits'); var Schema = require('../../../schema'); var utils = require('../utils'); // Schema Builder // ------- function SchemaBuilder_Oracle() { this.client = client; Schema.Builder....
mit
andre77/XChange
xchange-bleutrade/src/main/java/org/knowm/xchange/bleutrade/BleutradeException.java
2065
package org.knowm.xchange.bleutrade; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fa...
mit
ayeletshpigelman/azure-sdk-for-net
sdk/storsimple/Microsoft.Azure.Management.StorSimple/src/Generated/Models/StorageDomain.cs
3711
// <auto-generated> // 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. // Changes may cause incorrect behavior and will be lost if the code is // re...
mit
felipedaragon/sailor
src/sailor/blank-app/tests/helper.lua
167
-- Test helper module -- This module contains functions to be shared with among tests local helper = {} function helper.example() -- do something end return helper
mit
venyii/Sylius
src/Sylius/Bundle/ThemeBundle/HierarchyProvider/NoopThemeHierarchyProvider.php
583
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\ThemeBundle\HierarchyProvider; use Sylius\Bundle\Th...
mit
umbraco/Umbraco-CMS
src/Umbraco.Web.UI.Client/lib/umbraco/Extensions.js
11794
(function () { //JavaScript extension methods on the core JavaScript objects (like String, Date, etc...) if (!Date.prototype.toIsoDateTimeString) { /** Converts a Date object to a globally acceptable ISO string, NOTE: This is different from the built in JavaScript toISOString method which...
mit
Vegetam/BootstrapPageGenerator
ckeditor/plugins/about/lang/gl.js
478
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'about', 'gl', { copy: 'Copyright &copy; $1. Todos os dereitos reservados.', dlgTitle: 'Sobre o CKEditor', help: 'Consulte $1 para obter axuda.', ...
mit
dsebastien/DefinitelyTyped
types/vxna__mini-html-webpack-template/index.d.ts
585
// Type definitions for @vxna/mini-html-webpack-template 2.0 // Project: https://github.com/vxna/mini-html-webpack-template#readme // Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import { PluginContext } from 'mini-html-webpa...
mit
JuanLuisClaure/vistas
node_modules/@angular/common/esm/src/forms-deprecated/model.js
15370
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { PromiseObservable } from 'rxjs/observable/PromiseObservable'; import { EventEmitter } from '../facade/async'...
mit
ValiMail/arc_test_suite
sig_gen/dkim/asn1.py
4184
# This software is provided 'as-is', without any express or implied # warranty. In no event will the author be held liable for any damages # arising from the use of this software. # # Permission is granted to anyone to use this software for any purpose, # including commercial applications, and to alter it and redistri...
mit
lookout/protobuffy
lib/protobuf/field/sint32_field.rb
276
require 'protobuf/field/signed_integer_field' module Protobuf module Field class Sint32Field < SignedIntegerField ## # Class Methods # def self.max INT32_MAX end def self.min INT32_MIN end end end end
mit
partheinstein/bc-java
pkix/src/main/jdk1.3/org/bouncycastle/cms/jcajce/JceKeyTransRecipientId.java
927
package org.bouncycastle.cms.jcajce; import java.security.cert.CertificateEncodingException; import java.security.cert.X509Certificate; import org.bouncycastle.asn1.x500.X500Name; import org.bouncycastle.cms.KeyTransRecipientId; import org.bouncycastle.jce.PrincipalUtil; import org.bouncycastle.jce.X509Principal; pu...
mit
azazdeaz/component-playground
demo/webpack.config.hot.js
415
"use strict"; var _ = require("lodash"); var base = require("./webpack.config.dev"); // Update our own module version. var mod = _.cloneDeep(base.module); // First loader needs react hot. mod.loaders[0].loaders = ["react-hot"].concat(mod.loaders[0].loaders); module.exports = _.merge({}, _.omit(base, "entry", "module...
mit
AndeyR/AngularNet
source/ResourceMetadata/ResourceMetadata.Data/Repositories/ResourceActivityRepository.cs
619
using ResourceMetadata.Data.Infrastructure; using ResourceMetadata.Model; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ResourceMetadata.Data.Repositories { public class ResourceActivityRepository : Repositor...
mit
BijayaDas/catarse
db/migrate/20160426160341_add_unique_index_to_category_totals.rb
294
class AddUniqueIndexToCategoryTotals < ActiveRecord::Migration disable_ddl_transaction! def up execute %Q{ CREATE UNIQUE INDEX CONCURRENTLY category_totals_idx ON "1".category_totals(category_id); } end def down execute %Q{ DROP INDEX category_totals_idx; } end end
mit
c72578/poedit
deps/boost/libs/hana/test/ext/boost/mpl/list/comparable.cpp
709
// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/ext/boost/mpl/list.hpp> #include <boost/hana/tuple.hpp> #include <laws/comparable.hpp> #include <boost/mpl/list.hpp...
mit
parjong/coreclr
src/mscorlib/src/System/Guid.CoreCLR.cs
521
// 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 Microsoft.Win32; using System.Runtime.InteropServices; namespace System { partial struct Guid { ...
mit
aredotna/case
ios/Pods/boost-for-react-native/boost/asio/detail/signal_op.hpp
1197
// // detail/signal_op.hpp // ~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) // #ifndef BOOST_ASI...
mit
jkroepke/2Moons
chat/js/lang/en.js
3942
/* * @package AJAX_Chat * @author Sebastian Tschan * @copyright (c) Sebastian Tschan * @license Modified MIT License * @link https://blueimp.net/ajax/ */ // Ajax Chat language Object: var ajaxChatLang = { login: '%s logs into the Chat.', logout: '%s logs out of the Chat.', logoutTimeout: '%s has been logged...
mit
fabianoleittes/rails
actionpack/lib/action_dispatch/request/utils.rb
2279
# frozen_string_literal: true require "active_support/core_ext/hash/indifferent_access" module ActionDispatch class Request class Utils # :nodoc: mattr_accessor :perform_deep_munge, default: true def self.each_param_value(params, &block) case params when Array params.each ...
mit
awesomerobot/discourse
app/serializers/invited_user_serializer.rb
1009
class InvitedUserSerializer < BasicUserSerializer attributes :topics_entered, :posts_read_count, :last_seen_at, :time_read, :days_visited, :days_since_created attr_accessor :invited_by def time_read object.user_stat.time_read end def inc...
gpl-2.0
kosmosby/medicine-prof
administrator/components/com_virtuemart/views/product/view.json.php
8569
<?php /** * * Description * * @package VirtueMart * @subpackage * @author * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2012 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modi...
gpl-2.0
md-5/jdk10
test/langtools/tools/javac/modules/ProvidesTest.java
23553
/* * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
mulkieran/blivet
blivet/tsort.py
3455
# tsort.py # Topological sorting. # # Copyright (C) 2010 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions of # the GNU General Public License v.2, or (at your option) any later version. # This program is distr...
gpl-2.0
wnsonsa/destin-foot
vendor/tedivm/stash-bundle/Tests/Adapters/DoctrineAdapterTest.php
3072
<?php /* * This file is part of the StashBundle package. * * (c) Josh Hall-Bachner <jhallbachner@gmail.com> * (c) Robert Hafner <tedivm@tedivm.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tedivm\StashBundle\Tes...
gpl-2.0
md-5/jdk10
test/hotspot/jtreg/vmTestbase/vm/mlvm/indy/func/jvmti/share/IndyRedefineTest.java
2456
/* * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
marcel-dancak/QGIS
python/plugins/db_manager/db_plugins/postgis/plugins/versioning/dlg_versioning.py
12091
# -*- coding: utf-8 -*- """ /*************************************************************************** Name : Versioning plugin for DB Manager Description : Set up versioning support for a table Date : Mar 12, 2012 copyright : (C) 2012 by Giuseppe Sucameli email ...
gpl-2.0
stweil/Froxlor
lib/functions/filedir/function.makeChownWithNewStats.php
1435
<?php /** * This file is part of the Froxlor project. * Copyright (c) 2010 the Froxlor Team (see authors). * * For the full copyright and license information, please view the COPYING * file that was distributed with this source code. You can also view the * COPYING file online at http://files.froxlor.org/misc/CO...
gpl-2.0
alexkasko/openjdk-icedtea7
jdk/src/share/classes/sun/security/provider/certpath/ReverseBuilder.java
20065
/* * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
odomin2/ait642-Dominguez-project2-
Task 13 Detect Desing Smells/Monopoly/src/edu/towson/cis/cosc603/project2/monopoly/gui/TestDiceRollDialog.java
2533
package edu.towson.cis.cosc603.project2.monopoly.gui; import java.awt.Container; import java.awt.Frame; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JOptionPane...
gpl-3.0
chirag52999/thinkAgain
node_modules/grunt-bower-installer/node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/number/to-integer.js
271
'use strict'; module.exports = function (t, a) { a(t({}), 0, "NaN"); a(t(20), 20, "Positive integer"); a(t('-20'), -20, "String negative integer"); a(t(Infinity), Infinity, "Infinity"); a(t(15.343), 15, "Float"); a(t(-15.343), -15, "Negative float"); };
gpl-3.0
IronBrushTattoo/cj
packages/traveling-ruby/packaging/vendor/ruby/2.1.0/gems/chronic-0.10.2/lib/chronic/pointer.rb
734
module Chronic class Pointer < Tag # Scan an Array of Token objects and apply any necessary Pointer # tags to each token. # # tokens - An Array of tokens to scan. # options - The Hash of options specified in Chronic::parse. # # Returns an Array of tokens. def self.scan(tokens, options...
gpl-3.0
rjnl/moodle26
mod/assign/classes/event/statement_accepted.php
2663
<?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 ...
gpl-3.0
HexHive/datashield
compiler/llvm/projects/compiler-rt/test/asan/TestCases/Windows/aligned_mallocs.cc
624
// RUN: %clang_cl_asan -O0 %s -Fe%t // RUN: %run %t #include <windows.h> #define CHECK_ALIGNED(ptr,alignment) \ do { \ if (((uintptr_t)(ptr) % (alignment)) != 0) \ return __LINE__; \ } \ while(0) int main(void) { int *p = (int*)_aligned_malloc(1024 * sizeof(int), 32); CHECK_ALIGNED(p, 32); p[...
gpl-3.0
ta2-1/pootle
pootle/static/js/admin/AdminRouter.js
464
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import Backbone from 'backbone'; const AdminRouter = Bac...
gpl-3.0
skippy/vault
vault/dynamic_system_view.go
1941
package vault import ( "time" "github.com/hashicorp/vault/logical" ) type dynamicSystemView struct { core *Core mountEntry *MountEntry } func (d dynamicSystemView) DefaultLeaseTTL() time.Duration { def, _ := d.fetchTTLs() return def } func (d dynamicSystemView) MaxLeaseTTL() time.Duration { _, max := ...
mpl-2.0
Acidburn0zzz/servo
tests/wpt/web-platform-tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.worker.js
829
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. // OffscreenCanvas test in a worker:2d.strokeRect.globalcomposite // Description:strokeRect is not affected by globalCompositeOperation // Note: importScripts("/resources/testharness.js"); importScripts("/html/canvas/resources/canvas-tests....
mpl-2.0
tas50/packer
vendor/github.com/aws/aws-sdk-go/service/s3/s3manager/upload.go
21335
package s3manager import ( "bytes" "fmt" "io" "sort" "sync" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/a...
mpl-2.0
gody01/SuiteCRM
modules/AOR_Reports/AOR_Report_Before.js
8787
$(document).ready(function(){ SUGAR.util.doWhen("typeof $('#fieldTree').tree != 'undefined'", function(){ var $moduleTree = $('#fieldTree').tree({ data: {}, dragAndDrop: false, selectable: false, onDragStop: function(node, e,thing){ // var target = $(document.elementFrom...
agpl-3.0
cgvarela/tigase-server
src/main/java/tigase/server/package-info.java
98
/** * The main package with top level API for server side components. */ package tigase.server;
agpl-3.0
christophd/camel
core/camel-core/src/test/java/org/apache/camel/component/bean/MethodCallBeanTypeFunctionScopeTest.java
1921
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
YuryBY/pentaho-kettle
ui/src/org/pentaho/di/ui/trans/steps/excelinput/ExcelInputDialog.java
102644
//CHECKSTYLE:FileLength:OFF /*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apa...
apache-2.0
tubemogul/druid
extensions-contrib/cloudfiles-extensions/src/main/java/io/druid/firehose/cloudfiles/StaticCloudFilesFirehoseFactory.java
4772
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
apache-2.0
mglukhikh/intellij-community
platform/vcs-impl/src/com/intellij/openapi/vcs/configurable/VcsManagerConfigurable.java
5963
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
fanhattan/ExoPlayer
library/src/main/java/com/google/android/exoplayer2/text/SubtitleInputBuffer.java
1466
/* * Copyright (C) 2016 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...
apache-2.0
sheofir/aws-sdk-java
aws-java-sdk-swf-libraries/src/main/java/com/amazonaws/services/simpleworkflow/flow/WorkflowWorker.java
7969
/* * Copyright 2012-2015 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 "lice...
apache-2.0
Fudan-University/sakai
basiclti/tsugi-util/src/java/org/tsugi/basiclti/BasicLTIProviderUtil.java
2782
/* * $URL$ * $Id$ * * Copyright (c) 2008-2016 Charles R. Severance * * 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 requir...
apache-2.0