repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
TrinkCore/TrinkCore
src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp
9258
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.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 ...
gpl-2.0
physycom/QGIS
src/gui/qgsfontbutton.cpp
28363
/*************************************************************************** qgsfontbutton.h --------------- Date : May 2017 Copyright : (C) 2017 by Nyall Dawson Email : nyall dot dawson at gmail dot com ***************************************************...
gpl-2.0
devudo/panopoly
profiles/panopoly/modules/contrib/media/js/wysiwyg-media.js
8446
/** * @file * Attach Media WYSIWYG behaviors. */ (function ($) { Drupal.media = Drupal.media || {}; /** * Register the plugin with WYSIWYG. */ Drupal.wysiwyg.plugins.media = { /** * Determine whether a DOM element belongs to this plugin. * * @param node * A DOM element */ isNode: functi...
gpl-2.0
loveyoupeng/rt
modules/graphics/src/main/java/com/sun/glass/ui/monocle/LinuxSimpleTouchProcessor.java
4052
/* * Copyright (c) 2013, 2014, 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
wgwoods/dnf
dnf/cli/commands/remove.py
3032
# remove_command.py # Remove CLI command. # # Copyright (C) 2012-2015 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 pro...
gpl-2.0
gmdimitriz/XCSoar
android/src/NativeView.java
14942
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2016 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
tempesta-tech/mariadb
storage/tokudb/PerconaFT/ft/logger/logfilemgr.cc
6323
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" /*====== This file is part of PerconaFT. Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved. PerconaFT is free software: you can redistribute it and/or modif...
gpl-2.0
santssoft/darkstar
src/map/packets/treasure_find_item.cpp
1853
/* =========================================================================== 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...
gpl-3.0
mj21181/ursus-swarm
lib/jfree/jcommon/1.0.21/source/org/jfree/ui/action/ActionRadioButton.java
9101
/* ======================================================================== * JCommon : a free general purpose class library for the Java(tm) platform * ======================================================================== * * (C) Copyright 2000-2005, by Object Refinery Limited and Contributors. * * Pro...
gpl-3.0
lmcro/vesta
install/ubuntu/17.10/roundcube/vesta.php
2202
<?php /** * Vesta Control Panel Password Driver * * @version 1.0 * @author Serghey Rodin <skid@vestacp.com> */ class rcube_vesta_password { function save($curpass, $passwd) { $rcmail = rcmail::get_instance(); $vesta_host = $rcmail->config->get('password_vesta_host'); if (empty($ve...
gpl-3.0
santssoft/darkstar
scripts/zones/Dynamis-Beaucedine/npcs/qm8.lua
375
----------------------------------- -- Area: Dynamis-Beaucedine -- NPC: ??? (qm8) -- Note: Spawns Velosareon ----------------------------------- require("scripts/globals/dynamis") ----------------------------------- function onTrade(player, npc, trade) dynamis.qmOnTrade(player, npc, trade) end function onTrigger...
gpl-3.0
mateor/pdroid
android-2.3.4_r1/tags/1.26/frameworks/base/telephony/java/android/telephony/ServiceState.java
19270
/* * Copyright (C) 2006 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...
gpl-3.0
jimxxx666/mtisig
geopaparazzispatialitelibrary/src/com/vividsolutions/jts/operation/relate/RelateComputer.java
14870
/* * The JTS Topology Suite is a collection of Java classes that * implement the fundamental operations required to validate a given * geo-spatial data set to a known topological specification. * * Copyright (C) 2001 Vivid Solutions * * This library is free software; you can redistribute it and/or * modify i...
gpl-3.0
Redcolaborar/Red-Colaborar
wp-content/plugins/redirection/database/schema/410.php
671
<?php class Red_Database_410 extends Red_Database_Upgrader { public function get_stages() { return [ 'handle_double_slash' => 'Support double-slash URLs', ]; } protected function handle_double_slash( $wpdb ) { // Update any URL with a double slash at the end $this->do_query( $wpdb, "UPDATE `{$wpdb->pref...
gpl-3.0
Ninos/woocommerce
tests/e2e/api/src/http/index.ts
154
export { HTTPResponse } from './http-client'; export type { HTTPClient } from './http-client'; export { HTTPClientFactory } from './http-client-factory';
gpl-3.0
cnr-isti-vclab/meshlab
src/external/tinygltf/json.hpp
982896
/* __ _____ _____ _____ __| | __| | | | JSON for Modern C++ | | |__ | | | | | | version 3.10.4 |_____|_____|_____|_|___| https://github.com/nlohmann/json Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2013-2019 Niels Lohmann <http:...
gpl-3.0
allox/axoloti
src/main/java/generatedobjects/Stochastics.java
7032
/** * Copyright (C) 2013, 2014 Johannes Taelman * * This file is part of Axoloti. * * Axoloti 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 lat...
gpl-3.0
yashaswi-reddy/icsisumm
icsisumm-primary-sys34_v1/nltk/nltk-0.9.2/nltk_contrib/lpath/translator.py
3229
from StringIO import StringIO import at_lite as at __all__ = ["translate", "translate_sub"] def translate_sub(t, selected, space): f = StringIO() scope = [None] while t: while scope[-1] and scope[-1] != t.lpScope: f.write('}'+space) scope.pop() if len(...
gpl-3.0
JacobHenner/Clementine
src/library/groupbydialog.cpp
4212
/* This file is part of Clementine. Copyright 2010, David Sansome <me@davidsansome.com> Clementine 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 optio...
gpl-3.0
vanpouckesven/cosnics
src/Chamilo/Libraries/Resources/Javascript/Plugin/MediaElementJS/src/js/mep-feature-jumpforward.js
1153
(function($) { // Jump forward button $.extend(mejs.MepDefaults, { jumpForwardInterval: 30, // %1 will be replaced with jumpForwardInterval in this string jumpForwardText: mejs.i18n.t('Jump forward %1 seconds') }); $.extend(MediaElementPlayer.prototype, { buildjumpforward: function(player, controls, layer...
gpl-3.0
anbox/anbox
android/opengl/tests/gles_android_wrapper/glesv1_emul_ifc.cpp
1231
/* * Copyright 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 applicable law or agr...
gpl-3.0
vijay21bharadwaz/formtools
sfproject/symfony/lib/plugins/sfDoctrinePlugin/test/functional/I18nTest.php
5283
<?php /* * This file is part of the symfony package. * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ $app = 'frontend'; require_once(dirname(__FILE__).'/../b...
gpl-3.0
merrill-oakland/moodle
mod/workshop/db/upgrade.php
3504
<?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
koson/MissionPlannerKMTI
ExtLibs/GMap.NET.Core/GMap.NET/MapType.cs
4035
 namespace GMap.NET { using System; /// <summary> /// types of great maps /// </summary> public enum MapType { None = 0, // displays no map //[Obsolete("check http://greatmaps.codeplex.com/discussions/252531", false)] GoogleMap = 1, //[Obsolete("check http://greatmaps.codepl...
gpl-3.0
matsuu/server
infra/general/BaseEnum.php
121
<?php /** * Marker interface, marks all core enums * * @package Core * @subpackage enum */ interface BaseEnum { }
agpl-3.0
dario-chiappetta/password-manager
frontend/gamma/js/Clipperz/PM/UI/Canvas/Marks/info.js
21626
/* Copyright 2008-2015 Clipperz Srl This file is part of Clipperz, the online password manager. For further information about its features and functionalities please refer to http://www.clipperz.com. * Clipperz is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Pub...
agpl-3.0
jessp01/server
api_v3/lib/types/delivery/filters/KalturaDeliveryProfileGenericAppleHttpFilter.php
165
<?php /** * @package api * @subpackage filters */ class KalturaDeliveryProfileGenericAppleHttpFilter extends KalturaDeliveryProfileGenericAppleHttpBaseFilter { }
agpl-3.0
fredericDelaporte/nhibernate-core
src/NHibernate/Event/IFlushEventListener.cs
323
namespace NHibernate.Event { /// <summary> Defines the contract for handling of session flush events. </summary> public partial interface IFlushEventListener { /// <summary>Handle the given flush event. </summary> /// <param name="event">The flush event to be handled.</param> void OnFlush(FlushEvent @event); ...
lgpl-2.1
dongjoon-hyun/elasticsearch
core/src/test/java/org/elasticsearch/index/mapper/TTLFieldMapperTests.java
18443
/* * 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
vladbailescu/sling
tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallFileMojo.java
6342
/* * 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
vineetgarg02/hive
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/write/ParquetRecordWriterWrapper.java
6747
/* * 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 * distributed u...
apache-2.0
pabloescribanoloza/xamarin-forms-book-preview-2
Chapter17/SimpleGridDemo/SimpleGridDemo/SimpleGridDemo.WinPhone81/App.xaml.cs
5173
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
apache-2.0
mglukhikh/intellij-community
platform/core-impl/src/com/intellij/mock/MockFileDocumentManagerImpl.java
3752
/* * Copyright 2000-2016 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
OuZhencong/log4j2
log4j-core/src/main/java/org/apache/logging/log4j/core/config/DefaultConfigurationMonitor.java
1111
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
apache-2.0
graetzer/arangodb
3rdParty/V8/v7.9.317/test/mjsunit/regress/wasm/regress-7364.js
1090
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. load('test/mjsunit/wasm/wasm-module-builder.js'); const exportingModuleBinary = (() => { const builder = new WasmModuleBuilder(); builder.addFuncti...
apache-2.0
sjug/origin
vendor/github.com/Azure/azure-sdk-for-go/profiles/latest/managedservices/mgmt/managedservices/models.go
5491
// +build go1.9 // Copyright 2019 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
apache-2.0
brettratner/TCNJ-IMM-Showcase-2016
IMM_Thesis_Website/seniors16.immtcnj.com/wp-content/themes/dusk-to-dawn/footer.php
813
<?php /** * @package Dusk_To_Dawn */ ?> </div><!-- #main --> </div><!-- #page --> <footer id="colophon" role="contentinfo"> <div id="site-generator"> <?php do_action( 'dusk_to_dawn_credits' ); ?> <a href="http://wordpress.org/" title="<?php esc_attr_e( 'A Semantic Personal Publishing Platform...
apache-2.0
youtube/doorman
vendor/github.com/coreos/etcd/Godeps/_workspace/src/google.golang.org/grpc/peer/peer.go
2513
/* * * Copyright 2014, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
apache-2.0
dpino/snabbswitch
src/lib/protocol/icmp/ptb.lua
1092
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local ffi = require("ffi") local C = ffi.C local lib = require("core.lib") local proto_header = require("lib.protocol.header") local ptb = subClass(proto_header) -- Class variables ptb._name = "packet too big" ...
apache-2.0
kedgeproject/kedge
vendor/github.com/openshift/origin/pkg/security/generated/clientset/typed/security/v1/fake/fake_podsecuritypolicyreview.go
1194
package fake import ( v1 "github.com/openshift/origin/pkg/security/apis/security/v1" schema "k8s.io/apimachinery/pkg/runtime/schema" testing "k8s.io/client-go/testing" ) // FakePodSecurityPolicyReviews implements PodSecurityPolicyReviewInterface type FakePodSecurityPolicyReviews struct { Fake *FakeSecurityV1 ns ...
apache-2.0
ewestfal/rice-svn2git-test
rice-middleware/core/api/src/main/java/org/kuali/rice/core/api/exception/RiceRemoteServiceConnectionException.java
1607
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requ...
apache-2.0
Thopap/camel
platforms/spring-boot/components-starter/camel-influxdb-starter/src/main/java/org/apache/camel/component/influxdb/springboot/InfluxDbComponentConfiguration.java
2007
/** * 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
Subasinghe/ode
bpel-api/src/main/java/org/apache/ode/bpel/evt/CorrelationNoMatchEvent.java
2078
/* * 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 ...
apache-2.0
groschovskiy/personfinder
app/pytz/zoneinfo/Pacific/Gambier.py
495
'''tzinfo timezone information for Pacific/Gambier.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Gambier(DstTzInfo): '''Pacific/Gambier timezone definition. See datetime.tzinfo for details''' zone = 'Pacific/Gambier' ...
apache-2.0
ClogenyTechnologies/azure-powershell
src/StackAdmin/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageBlobSasTest.cs
3880
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
humblec/glusterblock-provisioner
vendor/k8s.io/kubernetes/pkg/kubelet/images/image_gc_manager.go
11758
/* 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, ...
apache-2.0
mvp/presto
presto-main/src/main/java/com/facebook/presto/sql/planner/planPrinter/TextRenderer.java
11075
/* * 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
JaSpa/swift
tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp
20702
//===--- sourcekitd-repl.cpp ----------------------------------------------===// // // 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...
apache-2.0
cherrydocker/databus
databus-client/databus-client-api/src/main/java/com/linkedin/databus/client/pub/DbusPartitionInfo.java
1028
package com.linkedin.databus.client.pub; /* * * Copyright 2013 LinkedIn Corp. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
apache-2.0
Darsstar/framework
compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/SQLContainerTableQueryTest.java
46591
package com.vaadin.v7.data.util.sqlcontainer; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.hasItems; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import static org.hamcrest.core.IsNull.nullValue; import static org.junit.Assert.a...
apache-2.0
holmes/intellij-community
java/java-impl/src/com/intellij/codeInsight/editorActions/smartEnter/JavaSmartEnterProcessor.java
12899
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
tekcomms/JGroups
src/org/jgroups/stack/IpAddress.java
7295
package org.jgroups.stack; import org.jgroups.Address; import org.jgroups.Global; import org.jgroups.PhysicalAddress; import org.jgroups.util.Util; import java.io.*; import java.net.*; /** * Network-dependent address (Internet). Generated by the bottommost layer of the protocol * stack (UDP). Contains an InetAdd...
apache-2.0
linearregression/origin
pkg/cmd/cli/cmd/request_project.go
4192
package cmd import ( "errors" "fmt" "io" "github.com/spf13/cobra" kapi "k8s.io/kubernetes/pkg/api" kcmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util" "github.com/openshift/origin/pkg/client" cliconfig "github.com/openshift/origin/pkg/cmd/cli/config" "github.com/openshift/origin/pkg/cmd/util/clientcmd" proj...
apache-2.0
mms92/wire
lua/wire/stools/dynamic_button.lua
3282
WireToolSetup.setCategory( "Input, Output" ) WireToolSetup.open( "dynamic_button", "Dynamic Button", "gmod_wire_dynamic_button", nil, "Dynamic Buttons" ) if CLIENT then language.Add( "tool.wire_dynamic_button.name", "Dynamic Button Tool (Wire)" ) language.Add( "tool.wire_dynamic_button.desc", "Spawns a dynamic butto...
apache-2.0
mefarazath/carbon-identity
components/oauth/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java
81010
/* * Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
apache-2.0
mdb/incubator-trafficcontrol
traffic_monitor/tools/nagios-validate-peerpoller.go
2396
/* * 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 ...
apache-2.0
goxberry/homebrew-cask
Casks/pritunl.rb
1001
cask 'pritunl' do version '1.0.1653.28' sha256 'dc1349921f62f7ca88c4102ca6611ae1f743467b0fce2a99bca1d927edc56835' # github.com/pritunl/pritunl-client-electron was verified as official when first introduced to the cask url "https://github.com/pritunl/pritunl-client-electron/releases/download/#{version}/Pritunl....
bsd-2-clause
smessmer/homebrew-core
Formula/amtk.rb
2863
class Amtk < Formula desc "Actions, Menus and Toolbars Kit for GNOME" homepage "https://wiki.gnome.org/Projects/Amtk" url "https://download.gnome.org/sources/amtk/5.0/amtk-5.0.0.tar.xz" sha256 "12a996978a30b7b69a810ac0c5656d5cf2f58d9787b98a0c028ff1b64e8f31ff" bottle do sha256 "62f05f5fc282e1f9ac7cb6fef99...
bsd-2-clause
dednal/chromium.src
chrome/browser/resources/print_preview/print_preview.js
47639
// 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. // TODO(rltoscano): Move data/* into print_preview.data namespace <include src="component.js"> <include src="print_preview_focus_manager.js"> cr.def...
bsd-3-clause
phadej/igbinary
tests/igbinary_015.phpt
1371
--TEST-- Check for serialization handler --SKIPIF-- <?php if (!extension_loaded('session')) { exit('skip session extension not loaded'); } ob_start(); phpinfo(INFO_MODULES); $str = ob_get_clean(); $array = explode("\n", $str); $array = preg_grep('/^igbinary session support.*yes/', $array); if (!$array) { exit('...
bsd-3-clause
ltilve/ChromiumGStreamerBackend
content/public/android/javatests/src/org/chromium/content/browser/BackgroundSyncLauncherTest.java
5558
// Copyright 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. package org.chromium.content.browser; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import andro...
bsd-3-clause
nwjs/chromium.src
third_party/blink/renderer/core/editing/element_inner_text_test.cc
2414
// Copyright 2018 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 "third_party/blink/renderer/core/dom/element.h" #include "third_party/blink/renderer/core/dom/document.h" #include "third_party/blink/renderer/c...
bsd-3-clause
4ad/go
test/writebarrier.go
4173
// errorcheck -0 -l -d=wb // Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test where write barriers are and are not emitted. package p import "unsafe" func f(x **byte, y *byte) { *x = y // ERROR "writ...
bsd-3-clause
michaeldonatz/probab
bayes/pdisc.go
1403
// Copyright 2012 - 2013 The Probab Authors. All rights reserved. See the LICENSE file. package bayes // PropDisc returns the posterior distribution for a proportion for a discrete prior distribution. func PropDisc(p, prior []float64, succ, fail int) []float64 { //Arguments: // p vector of proportion values // pr...
bsd-3-clause
FrancoisRheaultUS/dipy
doc/examples/quick_start.py
6249
""" ========================= Getting started with DIPY ========================= In diffusion MRI (dMRI) usually we use three types of files, a Nifti file with the diffusion weighted data, and two text files one with b-values and one with the b-vectors. In DIPY_ we provide tools to load and process these files and w...
bsd-3-clause
mattseymour/django
django/db/transaction.py
11354
from contextlib import ContextDecorator from django.db import ( DEFAULT_DB_ALIAS, DatabaseError, Error, ProgrammingError, connections, ) class TransactionManagementError(ProgrammingError): """ This exception is thrown when transaction management is used improperly. """ pass def get_connection(u...
bsd-3-clause
coppedis/AliRoot
EVE/oldStuff/macros/VizDB_scan_transparentdark.C
7646
void VizDB_scan_transparentdark() { TEvePointSet *ps = 0; TEveStraightLineSet *ls = 0; //============================================================================ // Hits //============================================================================ ps = new TEvePointSet(); ps->SetMarkerColor...
bsd-3-clause
balena/sandboxed
chrome/sandbox/src/sidestep/ia32_modrm_map.cpp
5106
// Copyright 2008, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions a...
bsd-3-clause
hal3/vowpal_wabbit
cs/cs/VowpalWabbit.cs
21788
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="VowpalWabbit.cs"> // Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD // license as...
bsd-3-clause
michaelwang/study
avalon/practice/avalon-test-ui/vendor/avalon.oniui/mmPromise/avalon.mmPromise.js
338
/** * @cnName Promise组件 * @enName mmPromise * @introduce * <p>本模块提供的Promise完整实现ECMA262v6 的Promise规范,高级浏览器直接使用原生的Promise,低端浏览器则编码实现相同的功能和接口</p> */ // 该文件仅供生成文档使用,实际使用请引用mmPromise.js /** @links */
bsd-3-clause
dednal/chromium.src
ui/app_list/search/mixer_unittest.cc
11995
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <set> #include <string> #include "base/memory/scoped_vector.h" #include "base/strings/string16.h" #include "base/strings/stringprintf.h" #includ...
bsd-3-clause
lodyagin/bare_cxx
tests.HIDE/language.support/support.limits/limits/is_specialized.pass.cpp
2251
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
bsd-3-clause
spakzad/ocs
bundle/edu.gemini.spModel.pio/src/main/java/edu/gemini/spModel/pio/Document.java
462
// // $Id: Document.java 5303 2004-11-05 21:59:10Z shane $ // package edu.gemini.spModel.pio; /** * Document is the root node containing all the parameter information for an * application's state (for example, a Science Program or Phase 1 Document). * This interface corresponds to the <code>document</code> element ...
bsd-3-clause
llluiop/skia
bench/GrMemoryPoolBench.cpp
4742
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ // This tests a Gr class #if SK_SUPPORT_GPU #include "GrMemoryPool.h" #include "SkBenchmark.h" #include "SkRandom.h" #include "SkTDArray.h" #include "SkTemplates.h" // chang...
bsd-3-clause
temasek/android_external_chromium_org_third_party_WebKit
Source/core/editing/Editor.cpp
46628
/* * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions ...
bsd-3-clause
ywang007/odo
odo/tests/test_resource.py
291
from __future__ import absolute_import, division, print_function import os from odo.resource import resource from odo.utils import raises def test_raises_not_implemented_error(): assert raises(NotImplementedError, lambda: resource('5sdjkg9yg35420shfg083.3923.925y2560!'))
bsd-3-clause
kaushik94/sympy
sympy/codegen/cutils.py
387
from sympy.printing.ccode import C99CodePrinter def render_as_source_file(content, Printer=C99CodePrinter, settings=None): """ Renders a C source file (with required #include statements) """ printer = Printer(settings or {}) code_str = printer.doprint(content) includes = '\n'.join(['#include <%s>' % h ...
bsd-3-clause
dbkeys/zmark
src/qt/trafficgraphwidget.cpp
4838
// Original Code: Copyright (c) 2011-2014 The Bitcoin Core Developers // Modified Code: Copyright (c) 2014 Project Bitmark // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "trafficgraphwidget.h" #include "clientmodel...
mit
nawawi/poedit
deps/boost/libs/unordered/test/exception/swap_exception_tests.cpp
3904
// Copyright 2006-2009 Daniel James. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include "./containers.hpp" #include "../helpers/invariants.hpp" #include "../helpers/random_values.hpp" #include "../helpers/t...
mit
hi2017teamB/ChatAppProject
websocket-client/build/lib/websocket/__init__.py
1022
""" websocket - WebSocket client library for Python Copyright (C) 2010 Hiroki Ohtani(liris) 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, ...
mit
joshgarde/SpongeAPI
src/main/java/org/spongepowered/api/text/selector/SelectorBuilder.java
3318
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
mit
hotchandanisagar/odata.net
test/EndToEndTests/Services/ODataWCFLibrary/QueryContext.cs
22020
//--------------------------------------------------------------------- // <copyright file="QueryContext.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //----------------------------------------...
mit
ycsoft/FatCat-Server
LIBS/boost_1_58_0/libs/context/performance/performance.cpp
7423
// Copyright Oliver Kowalke 2009. // 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) #define BOOST_PP_LIMIT_MAG 10 #include <cstdio> #include <cstdlib> #include <iostream> #includ...
mit
substack/readable-stream
test/simple/test-stream2-fs.js
2180
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
mit
vebin/odata.net
test/FunctionalTests/Tests/DataOData/Tests/OData.Query.Tests/MetadataBinder/FilterBinderFunctionalTests.cs
32355
//--------------------------------------------------------------------- // <copyright file="FilterBinderFunctionalTests.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-------------------------...
mit
dsebastien/DefinitelyTyped
types/semver/functions/gte.d.ts
230
import SemVer = require('../classes/semver'); import semver = require('../'); /** * v1 >= v2 */ declare function gte(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | semver.Options): boolean; export = gte;
mit
rubensayshi/symfony-tryout
vendor/symfony/src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php
5183
<?php namespace Symfony\Component\Serializer\Normalizer; use Symfony\Component\Serializer\SerializerInterface; /* * This file is part of the Symfony framework. * * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * This source file is subject to the MIT license that is bundled * with this source c...
mit
mybsdc/fuelphp
fuel/vendor/mailgun/mailgun-php/src/Mailgun/Model/Route/Response/DeleteResponse.php
1184
<?php /* * Copyright (C) 2013-2016 Mailgun * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ namespace Mailgun\Model\Route\Response; use Mailgun\Model\ApiResponse; /** * @author David Garcia <me@davidgarcia.cat> */ final class DeleteR...
mit
alxmrtnz/portfolio2015
.bundle/gems/terminal-table-1.4.5/lib/terminal-table/core_ext.rb
146
class String def align position, length self.__send__ position, length end alias_method :left, :ljust alias_method :right, :rjust end
mit
ro0NL/symfony
src/Symfony/Bridge/Twig/Tests/Translation/TwigExtractorTest.php
6055
<?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\Bridge\Twig\Tests\Translation; use PHPUnit\Framework\TestCase; ...
mit
hotchandanisagar/odata.net
src/Microsoft.OData.Edm/Csdl/Parsing/Ast/CsdlBinaryTypeReference.cs
1207
//--------------------------------------------------------------------- // <copyright file="CsdlBinaryTypeReference.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //------------------------------...
mit
HeroicEric/ember-careers
ember/node_modules/ember-cli/node_modules/npm/lib/utils/error-handler.js
10173
module.exports = errorHandler var cbCalled = false , log = require("npmlog") , npm = require("../npm.js") , rm = require("rimraf") , itWorked = false , path = require("path") , wroteLogFile = false , exitCode = 0 process.on("exit", function (code) { // console.error("exit", code) if (!npm.config.l...
mit
peppertech/OracleJET-Samples
MagicEightBall/hybrid/www/js/libs/oj/v2.0.0/resources/nls/bg/localeElements.js
8050
define({main:{bg:{identity:{version:{_cldrVersion:"24",_number:"$Revision: 9287 $"},generation:{_date:"$Date: 2013-08-28 21:32:04 -0500 (Wed, 28 Aug 2013) $"},language:"bg"},dates:{calendars:{gregorian:{months:{format:{abbreviated:{1:"ян.",2:"февр.",3:"март",4:"апр.",5:"май",6:"юни",7:"юли",8:"авг.",9:"септ.",10:"окт."...
mit
tmtm/ruby-benchmark-suite
benchmarks/rdoc/ruby_trunk/lib/racc/parser.rb
11691
# # $originalId: parser.rb,v 1.8 2006/07/06 11:42:07 aamine Exp $ # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # # As a special exception, when this code is copied by Racc # into a Racc output file, you may use that out...
mit
SergioMadness/angular-gantt
demo/Gruntfile.js
10782
// Generated on 2014-09-22 using generator-angular 0.9.8 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Load grunt tasks au...
mit
kristianmandrup/mongoid
spec/unit/mongoid/indexes_spec.rb
1708
require "spec_helper" describe Mongoid::Indexes do describe ".included" do before do @class = Class.new do include Mongoid::Indexes end end it "adds an indexed accessor" do @class.should respond_to(:indexed) end it "defaults indexed to false" do @class.indexed....
mit
PenguinToast/quilt
db/hostname_test.go
1568
package db import ( "sort" "testing" "github.com/stretchr/testify/assert" ) func TestHostnameSelect(t *testing.T) { conn := New() err := conn.Txn(HostnameTable).Run(func(view Database) error { h := view.InsertHostname() h.Hostname = "hostname" h.IP = "ip" view.Commit(h) h = view.InsertHostname() h....
mit
vedmaka/Revive-wikibiz-modified
lib/OA/Maintenance/Auto.php
2105
<?php /* +---------------------------------------------------------------------------+ | Revive Adserver | | http://www.revive-adserver.com | | ...
gpl-2.0
Gurgel100/gcc
libgomp/testsuite/libgomp.c++/scan-10.C
2237
// { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } // { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } // { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target ss...
gpl-2.0
poojaprajod/cseaw
extensions/ConfirmEdit/FancyCaptcha.class.php
7006
<?php class FancyCaptcha extends SimpleCaptcha { /** * Check if the submitted form matches the captcha session data provided * by the plugin when the form was generated. * * @param string $answer * @param array $info * @return bool */ function keyMatch( $answer, $info ) { global $wgCaptchaSecret; ...
gpl-2.0