repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
ApplauseAQI/mysql_perf_analyzer
myperf/src/main/java/com/yahoo/dba/perf/myperf/common/Constants.java
1337
/* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the Apache License. * See the accompanying LICENSE file for terms. */ package com.yahoo.dba.perf.myperf.common; public class Constants { //Analyzer version public static final String VERSION = "2.0"; //Status public static final in...
apache-2.0
gemini-testing/selenium
py/selenium/webdriver/__init__.py
1524
#!/usr/bin/python # # Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this file # to you under the Apache License, Version 2.0 (the # "Li...
apache-2.0
nmldiegues/stibt
infinispan/server/websocket/src/main/java/org/infinispan/server/websocket/logging/Log.java
1424
/* * JBoss, Home of Professional Open Source. * Copyright 2000 - 2011, Red Hat Middleware LLC, 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 m...
apache-2.0
Apelon-VA/ISAAC
import-export/src/main/java/org/hl7/knowledgeartifact/r1/Not.java
1206
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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: 2014.09.30 at 06:15...
apache-2.0
zhangwei900808/structuremap
src/StructureMap.Testing/PoliciesTester.cs
1930
using NUnit.Framework; namespace StructureMap.Testing { [TestFixture] public class PoliciesTester { [Test] public void CanBeAutoFilledIsFalse() { new Policies().CanBeAutoFilled(typeof (ClassWithPrimitiveConstructorArguments)) .ShouldBeFalse();...
apache-2.0
devananda/ironic
ironic/tests/unit/api/v1/test_chassis.py
21807
# -*- encoding: utf-8 -*- # # 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
yancya/gcloud-ruby
google-cloud-vision/lib/google-cloud-vision.rb
4040
# Copyright 2016 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
apache-2.0
tombujok/hazelcast
hazelcast/src/test/java/com/hazelcast/executor/CompletableFutureTest.java
13827
/* * Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
apache-2.0
TNO/PhenotypeDatabase
web-app/js/studyView/studyView.js
1492
if( typeof( StudyView ) === "undefined" ) { StudyView = {}; } StudyView.initialize = function() { attachHelpTooltips(); } StudyView.initializePropertiesPage = function() { // Initialize help tooltips attachHelpTooltips(); } StudyView.studyChildren = { refresh: function( table ) { if( table.length == 0 ...
apache-2.0
GeoinformationSystems/Time4Maps
WebContent/js/dojo-release-1.9.0/dojox/mobile/ComboBox.js
4327
//>>built define("dojox/mobile/ComboBox",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom-geometry","dojo/dom-style","dojo/dom-attr","dojo/window","dojo/touch","dijit/form/_AutoCompleterMixin","dijit/popup","./_ComboBoxMenu","./TextBox","./sniff"],function(_1,_2,_3,_4,_5,_6,_7,_...
apache-2.0
google/traceur-compiler
test/feature/ArrowFunctions/InDerivedClassConstructor.js
247
class Base { bar() { return 1; } } class Derived extends Base { constructor() { super() this.foo = () => { return this.bar(); }; } bar() { return 2; } } let d = new Derived(); assert.equal(2, (0, d).foo());
apache-2.0
nikitamarchenko/open-kilda
services/src/messaging/src/test/java/org/openkilda/messaging/AbstractSerializer.java
843
/* Copyright 2017 Telstra Open Source * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
IvanGurtler/aerogear-unifiedpush-server
jaxrs/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/applications/AdmVariantEndpoint.java
4371
/** * JBoss, Home of Professional Open Source * Copyright Red Hat, Inc., and individual 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/licens...
apache-2.0
nhuntwalker/astroML
book_figures/chapter9/fig_bayes_DB_2d.py
2283
""" 2D Bayes Decision Boundary -------------------------- Plot a schematic of a two-dimensional decision boundary """ # Author: Jake VanderPlas # License: BSD # The figure produced by this code is published in the textbook # "Statistics, Data Mining, and Machine Learning in Astronomy" (2013) # For more informatio...
bsd-2-clause
otzy007/homebrew-cask
Casks/sigil.rb
302
class Sigil < Cask version '0.8.0' sha256 'cafe9a942f787d4588445bf9fc5cbbd62531724e955cb7eec2f714a745fa82b3' url "https://github.com/user-none/Sigil/releases/download/#{version}/Sigil-#{version}-Mac-Package.dmg" homepage 'http://code.google.com/p/sigil/' license :oss app 'Sigil.app' end
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/defineProperty/15.2.3.6-4-144.js
519
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.6-4-144 description: > Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string con...
bsd-2-clause
nathany/get-programming-with-go
lesson03/launch/launch.go
327
package main import ( "fmt" "math/rand" "time" ) func main() { rand.Seed(time.Now().UnixNano()) var count = 10 for count > 0 { fmt.Println(count) time.Sleep(time.Second) if rand.Intn(100) == 0 { break } count-- } if count == 0 { fmt.Println("Liftoff!") } else { fmt.Println("Launch failed."...
bsd-2-clause
nandub/homebrew-core
Formula/quvi.rb
1745
class Quvi < Formula desc "Parse video download URLs" homepage "https://quvi.sourceforge.io/" url "https://downloads.sourceforge.net/project/quvi/0.4/quvi/quvi-0.4.2.tar.bz2" sha256 "1f4e40c14373cb3d358ae1b14a427625774fd09a366b6da0c97d94cb1ff733c3" license "LGPL-2.1" livecheck do url :stable regex(...
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/defineProperty/15.2.3.6-4-483.js
997
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.6-4-483 description: > ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, ...
bsd-2-clause
ondrejvelisek/perun
perun-core/src/main/java/cz/metacentrum/perun/core/impl/modules/attributes/urn_perun_facility_attribute_def_def_uid_namespace.java
2888
package cz.metacentrum.perun.core.impl.modules.attributes; import java.util.ArrayList; import java.util.List; import cz.metacentrum.perun.core.api.Attribute; import cz.metacentrum.perun.core.api.AttributeDefinition; import cz.metacentrum.perun.core.api.AttributesManager; import cz.metacentrum.perun.core.api.Facility;...
bsd-2-clause
mstorsjo/openh264
test/api/decode_api_test.cpp
47569
#include <gtest/gtest.h> #include "codec_def.h" #include "utils/BufferedData.h" #include "utils/FileInputStream.h" #include "BaseDecoderTest.h" #include "BaseEncoderTest.h" #include "wels_common_defs.h" #include "utils/HashFunctions.h" #include <string> #include <vector> #include "encode_decode_api_test.h" using namesp...
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Promise/resolve/context-non-object-with-promise.js
1267
// Copyright (C) 2015 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 25.4.4.5 description: > Throws a TypeError if `this` is not an Object. info: | Promise.resolve ( x ) 1. Let C be the this value. 2. If Type(C) is not Object, throw a Ty...
bsd-2-clause
chrisfinazzo/homebrew-core
Formula/golangci-lint.rb
2732
class GolangciLint < Formula desc "Fast linters runner for Go" homepage "https://golangci-lint.run/" url "https://github.com/golangci/golangci-lint.git", tag: "v1.44.0", revision: "617470fa9e2c54dd91ab91c14e0d20030e183c20" license "GPL-3.0-only" head "https://github.com/golangci/golangci-lint...
bsd-2-clause
KingBowser/hatter-source-code
hatter.me/js/tinyencrypt/jsapp/cn.aprilsoft.jsapp.text.StringFormat.js
17853
// Copyright (c) 2002 M.Inamori,All rights reserved. // Coded 2/26/02 // usage: // format(strFormat[, arg1[, arg2...]]) // i.e.: // sprintf("%d", 12345)); 12345 // sprintf("%d", 123.6)); 123 // sprintf("%6d", 123)); 123 // sprintf("%06d", 123)); 000123 // ...
bsd-3-clause
NServiceKit/NServiceKit
src/NServiceKit/WebHost.Endpoints/Support/Markdown/Templates/VarStatementExprBlock.cs
2752
using System; using System.Collections.Generic; using System.IO; using NServiceKit.Markdown; namespace NServiceKit.WebHost.Endpoints.Support.Markdown.Templates { /// <summary> /// /// </summary> public class VarStatementExprBlock : EvalExprStatementBase { private string varName; pr...
bsd-3-clause
wuhengzhi/chromium-crosswalk
base/android/java/src/org/chromium/base/ApplicationStatusManager.java
8902
// 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. package org.chromium.base; import android.app.Activity; import android.app.Application; import android.os.Bundle; import android.view.Window; import jav...
bsd-3-clause
stoiczek/WebRTC
modules/video_render/main/source/video_render_impl.cc
35631
/* * Copyright (c) 2011 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
bsd-3-clause
ThreeTen/threetenbp
src/main/java/org/threeten/bp/format/SimpleDateTimeFormatStyleProvider.java
4487
/* * Copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos * * 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 abov...
bsd-3-clause
chirilo/remo
vendor-local/lib/python/rest_framework/pagination.py
26877
# coding: utf-8 """ Pagination serializers determine the structure of the output that should be used for paginated responses. """ from __future__ import unicode_literals from base64 import b64encode, b64decode from collections import namedtuple from django.core.paginator import InvalidPage, Paginator as DjangoPaginator...
bsd-3-clause
gopl-zh/gopl-zh.github.com
tools/lsdir.go
1926
// Copyright 2013 <chaishushan{AT}gmail.com>. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build ingore // // List files, support file/header regexp. // // Example: // lsdir dir // lsdir dir "\.go$" // lsdir dir "\.go$" "chaishushan" ...
bsd-3-clause
WillisXChen/django-oscar
oscar/lib/python2.7/site-packages/factory/helpers.py
4635
# -*- coding: utf-8 -*- # Copyright (c) 2010 Mark Sandstrom # Copyright (c) 2011-2013 Raphaël Barrois # # 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 ...
bsd-3-clause
tushar2708/Mach7
code/compile-time/compile-time-pat-power-a.cpp
2198
/// /// \file /// /// This file is a part of pattern matching testing suite. /// /// \author Yuriy Solodkyy <yuriy.solodkyy@gmail.com> /// /// This file is a part of Mach7 library (http://parasol.tamu.edu/mach7/). /// Copyright (C) 2011-2012 Texas A&M University. /// All rights reserved. /// #include <iost...
bsd-3-clause
development2015/kds
frontend/views/answer/view.php
972
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\Answer */ $this->title = $model->id_answer; $this->params['breadcrumbs'][] = ['label' => 'Answers', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="answer-view"> ...
bsd-3-clause
gmimano/commcaretest
corehq/apps/toggle_ui/urls.py
312
from django.conf.urls import * from corehq.apps.toggle_ui.views import ToggleListView, ToggleEditView urlpatterns = patterns('toggle.views', url(r'^$', ToggleListView.as_view(), name=ToggleListView.urlname), url(r'^edit/(?P<toggle>[\w_-]+)/$', ToggleEditView.as_view(), name=ToggleEditView.urlname), )
bsd-3-clause
devoncarew/sky_engine
tools/fuchsia/gather_flutter_runner_artifacts.py
2297
#!/usr/bin/env python # # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Gather all the fuchsia artifacts to a destination directory. """ import argparse import errno import json import os import platfor...
bsd-3-clause
zarelit/django-localflavor
tests/test_au/tests.py
4231
from __future__ import absolute_import, unicode_literals import re from django.test import TestCase from localflavor.au.forms import (AUPostCodeField, AUPhoneNumberField, AUStateSelect) from .forms import AustralianPlaceForm SELECTED_OPTION_PATTERN = r'<option value="%s" selected=...
bsd-3-clause
xkproject/Orchard2
src/OrchardCore.Modules/OrchardCore.Https/AdminMenu.cs
1149
using System; using System.Threading.Tasks; using Microsoft.Extensions.Localization; using OrchardCore.Navigation; namespace OrchardCore.Https { public class AdminMenu : INavigationProvider { private readonly IStringLocalizer S; public AdminMenu(IStringLocalizer<AdminMenu> localizer) {...
bsd-3-clause
xkproject/Orchard2
src/OrchardCore/OrchardCore.Indexing.Abstractions/Properties/AssemblyInfo.cs
803
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")]...
bsd-3-clause
351784144/DhtvWeiXin
vendor/doctrine/doctrine-module/src/DoctrineModule/Form/Element/ObjectSelect.php
2148
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBU...
bsd-3-clause
cawka/packaging-ndn-cpp
include/ndnboost/mpl/aux_/preprocessed/bcc/advance_forward.hpp
2185
// Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // *Preprocessed* version of the main "advance_forward.hpp" header // -- DO NOT modify by hand! namespace ndnboos...
bsd-3-clause
ayende/rhino-licensing
Rhino.Licensing.AdminTool/Views/AboutView.xaml.cs
318
namespace Rhino.Licensing.AdminTool.Views { public interface IAboutView { } /// <summary> /// Interaction logic for AboutView.xaml /// </summary> public partial class AboutView : IAboutView { public AboutView() { InitializeComponent(); } } }
bsd-3-clause
daaquan/pimcore
pimcore/models/Webservice/Data/ClassDefinition/Out.php
592
<?php /** * Pimcore * * 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://www.pimcore.org/license * * @category Pimcore * @package Webservice * @copyright C...
bsd-3-clause
lodyagin/bare_cxx
tests.HIDE/strings/basic.string/string.modifiers/string_erase/iter_iter.pass.cpp
6411
//===----------------------------------------------------------------------===// // // 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
Cantera/cantera-svn
interfaces/cython/cantera/examples/surface_chemistry/catalytic_combustion.py
4700
""" CATCOMB -- Catalytic combustion of methane on platinum. This script solves a catalytic combustion problem. A stagnation flow is set up, with a gas inlet 10 cm from a platinum surface at 900 K. The lean, premixed methane/air mixture enters at ~ 6 cm/s (0.06 kg/m2/s), and burns catalytically on the platinum surface...
bsd-3-clause
xin3liang/platform_external_chromium_org_third_party_skia
src/gpu/GrGpu.cpp
18019
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrGpu.h" #include "GrBufferAllocPool.h" #include "GrContext.h" #include "GrDrawTargetCaps.h" #include "GrIndexBuffer.h" #include "GrStencilBuffer.h" #include "GrV...
bsd-3-clause
chuan9/chromium-crosswalk
ui/file_manager/file_manager/foreground/js/file_manager_commands.js
45372
// 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. /** * Sets 'hidden' property of a cr.ui.Command instance and dispatches * 'hiddenChange' event manually so that associated cr.ui.MenuItem can handle...
bsd-3-clause
edisongustavo/asv
asv/branch_cache.py
1228
# Licensed under a 3-clause BSD style license - see LICENSE.rst # -*- coding: utf-8 -*- from __future__ import absolute_import, division, unicode_literals, print_function import tempfile import six from . import util class BranchCache(object): def __init__(self, conf, repo): self._branches = conf.branc...
bsd-3-clause
sschaef/scala-ide
org.scala-ide.sdt.core/src/org/scalaide/core/internal/project/SbtScopesBuildManager.scala
5323
package org.scalaide.core.internal.project import java.io.File import scala.tools.nsc.Settings import org.eclipse.core.resources.IFile import org.eclipse.core.resources.IMarker import org.eclipse.core.resources.IProject import org.eclipse.core.resources.IResource import org.eclipse.core.runtime.IProgressMonitor impo...
bsd-3-clause
looker/sentry
src/sentry/plugins/base/notifier.py
1131
""" sentry.plugins.base.notifier ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2013 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import, print_function __all__ = ('Notifier', ) from sentry import ratelimits class Notifier(ob...
bsd-3-clause
Nikola-K/django-recurrence
tests/test_fields.py
3906
from datetime import datetime from django import forms from recurrence import Recurrence, Rule from recurrence.forms import RecurrenceField import pytest import recurrence def test_clean_normal_value(): field = RecurrenceField() value = "RRULE:FREQ=WEEKLY;BYDAY=TU" obj = field.clean(value) assert le...
bsd-3-clause
JianfengXu/crosswalk-test-suite
misc/sampleapp-android-tests/sampleapp/hangonman_uninstall.py
2597
#!/usr/bin/env python # # Copyright (c) 2015 Intel Corporation. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of works must retain the original copyright notice, this # list of conditions and t...
bsd-3-clause
v4hn/ecto
test/scripts/test_modules.py
4712
#!/usr/bin/env python # # Copyright (c) 2011, Willow Garage, 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 # n...
bsd-3-clause
tkoolen/drake
systems/plants/massMatrixmex.cpp
803
#include <mex.h> #include <iostream> #include "drakeUtil.h" #include "RigidBodyManipulator.h" using namespace Eigen; using namespace std; void mexFunction(int nlhs, mxArray *plhs[],int nrhs, const mxArray *prhs[]) { string usage = "Usage [M, dM] = massMatrixmex(model_ptr)"; if (nrhs != 1) { mexErrMsgIdAndTx...
bsd-3-clause
SaltyDH/React.NET
src/React.Core/ICache.cs
1900
/* * Copyright (c) 2014-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ using S...
bsd-3-clause
bbqchickenrobot/Eto-1
Source/Eto.Gtk/Forms/GtkPanel.cs
3064
using System; using Eto.Forms; using Eto.Drawing; namespace Eto.GtkSharp.Forms { public abstract class GtkPanel<TControl, TWidget, TCallback> : GtkContainer<TControl, TWidget, TCallback> where TControl: Gtk.Widget where TWidget: Panel where TCallback: Panel.ICallback { readonly Gtk.Alignment alignment; Con...
bsd-3-clause
birm/Elemental
src/lapack_like/reflect-C.cpp
5888
/* Copyright (c) 2009-2015, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #include "El.hpp" #include "El.h" using namespace El; ...
bsd-3-clause
kuiche/chromium
chrome/tools/test/reference_build/chrome_mac/Chromium.app/Contents/Resources/inspector/BottomUpProfileDataGridTree.js
9940
/* * Copyright (C) 2009 280 North 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditio...
bsd-3-clause
ansendu/elephant.io
src/EngineInterface.php
1442
<?php /** * This file is part of the Elephant.io package * * For the full copyright and license information, please view the LICENSE file * that was distributed with this source code. * * @copyright Wisembly * @license http://www.opensource.org/licenses/MIT-License MIT License */ namespace ElephantIO; /** ...
mit
onderdelen/jwt-auth
resources/lang/cs/users.php
2082
<?php return array( /* |-------------------------------------------------------------------------- | User Repositiory Messages |-------------------------------------------------------------------------- */ 'created' => "Váš účet byl vytvořen. Zkontrolujte svůj e-mail pro potvrzení.", ...
mit
sottosviluppo/elcodi
src/Elcodi/Component/Product/Adapter/SimilarPurchasablesProvider/SameCategoryRelatedPurchasableProvider.php
3393
<?php /* * This file is part of the Elcodi package. * * Copyright (c) 2014-2016 Elcodi Networks S.L. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Feel free to edit as you please, and have fun. * * @author Marc Morera <yuhu@...
mit
1974kpkpkp/merb
merb-core/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/tag_helper.rb
323
class TagHelper < Merb::Controller def tag_with_content @content = "Astral Projection ~ Dancing Galaxy" render end def tag_with_content_in_the_block render end def nested_tags @content = "Astral Projection ~ In the Mix" render end def tag_with_attributes render end e...
mit
smaillet-ms/llilum
Zelig/Zelig/CompileTime/Llvm.NET/Llvm.NET/Instructions/Cast.cs
235
using Llvm.NET.Native; namespace Llvm.NET.Instructions { public class Cast : UnaryInstruction { internal Cast( LLVMValueRef valueRef ) : base( valueRef ) { } } }
mit
arunetm/ChakraCore_0114
test/typedarray/typedArrayProfile.js
1135
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
mit
dsebastien/DefinitelyTyped
types/mongodb/test/stats.ts
478
import { connect, MongoError, CollStats } from 'mongodb'; import { connectionString } from './index'; async function run() { const client = await connect(connectionString); const db = client.db('test'); const collection = db.collection('test.find'); collection.stats((err: MongoError, stats: CollStats) => {});...
mit
aizlewood/2015-old
panel/app/fields/date/date.php
1358
<?php class DateField extends InputField { static public $assets = array( 'js' => array( 'moment.min.js', 'pikaday.min.js', 'date.min.js' ), 'css' => array( 'pikaday.css' ) ); public function __construct() { $this->type = 'date'; $this->icon = 'calendar'; ...
mit
bissu/ui-acceptance
node_modules/generator-karma/node_modules/yeoman-generator/node_modules/inquirer/test/node_modules/inquirer/test/specs/prompts/base.js
837
var expect = require("chai").expect; var sinon = require("sinon"); var ReadlineStub = require("../../helpers/readline"); var Base = require("../../../lib/prompts/base"); // Prevent prompt from writing to screen // Confirm.prototype.write = function() { return this; }; describe("`base` prompt (e.g. prompt helpers)", ...
mit
holtkamp/doctrine2-spatial
lib/CrEOF/Spatial/DBAL/Platform/AbstractPlatform.php
4068
<?php /** * Copyright (C) 2015 Derek J. Lambert * * 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, me...
mit
abhisheksugam/Climate_Police
Climate_Police/__init__.py
23
__version__ = '1.0.0'
mit
emicklei/landskape
vendor/cloud.google.com/go/spanner/admin/instance/apiv1/instance_admin_client_example_test.go
5130
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
mit
rick111111/vscode
src/vs/workbench/parts/git/browser/gitServices.ts
27360
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
mit
flextry/Telerik-Academy
Programming with C#/0. Exams/Telerik 2012-2013 - OOP Exam/C# OOP - 25 March 2013 - Evening/Solutions/01. HTMLRenderer/HTMLElementFactory.cs
510
namespace HTMLRenderer { using System; using System.Linq; public class HTMLElementFactory : IElementFactory { public IElement CreateElement(string name) { return new HtmlElement(name); } public IElement CreateElement(string name, string content) { ...
mit
ljknight/gulp-jshint
test/specs/reporters/index.js
3142
var RcFixture = require('../../util').RcFixture; var lint = require('../../util').lint; var File = require('../../util').File; var jshint = require('../../../src'); var should = require('should'); function fileContent(content) { return new File({ path: './test/fixture/file.js', contents: content || 'wadup();...
mit
FAU-Inf2/spongycastle
prov/src/main/java/org/spongycastle/jce/ECKeyUtil.java
8881
package org.spongycastle.jce; import java.io.UnsupportedEncodingException; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.PrivateKey; import java.security.Provider; import java.security.PublicKey; import java.security.S...
mit
beecode/mikrotik-api
src/MikrotikAPI/Talker/TalkerReciever.php
2914
<?php namespace MikrotikAPI\Talker; use MikrotikAPI\Core\Connector, MikrotikAPI\Util\ResultUtil, MikrotikAPI\Util\Util, MikrotikAPI\Entity\Attribute, MikrotikAPI\Util\DebugDumper; /** * Description of TalkerReciever * * @author Lalu Erfandi Maula Yusnu nunenuh@gmail.com <http://vthink.web.id> * @...
mit
codeforboston/property_dashboard
node_modules/generator-flight/lib/generators/page/index.js
670
/** * Module dependencies. */ var path = require('path'); var util = require('util'); var yeoman = require('yeoman-generator'); /** * Module exports. */ module.exports = Generator; /** * Generator constructor. * * @api public */ function Generator() { yeoman.generators.NamedBase.apply(this, arguments); ...
mit
mgrman/Votyra
Assets/Plugins/UniRx/Scripts/System/Tuple.cs
37591
// defined from .NET Framework 4.0 and NETFX_CORE // This code is basaed from mono/mcs, but some performance modified // 1. class to struct // 2. implements IEquatable<T1, T2,...> // note, we need to create ValueTuple or UniRxTuple... #if !(NETFX_CORE || NET_4_6 || NET_STANDARD_2_0 || UNITY_WSA_10_0) using System; u...
mit
tisb-vikram/azure-iot-sdks
c/doc/api_reference/html/search/enums_0.js
558
var searchData= [ ['http_5fheaders_5fresult_5ftag',['HTTP_HEADERS_RESULT_TAG',['../httpheaders_8h.html#a8f45dc684b1c576d92316e46a253203c',1,'httpheaders.h']]], ['httpapi_5frequest_5ftype_5ftag',['HTTPAPI_REQUEST_TYPE_TAG',['../httpapi_8h.html#a81bf3649034ead3dd83e2fd34571e89c',1,'httpapi.h']]], ['httpapi_5fresult...
mit
azverkan/scons
test/Fortran/F95FILESUFFIXES.py
3937
#!/usr/bin/env python # # __COPYRIGHT__ # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, ...
mit
taylorzane/adelyte-boxen
modules/homebrew/spec/classes/homebrew_spec.rb
1148
require "spec_helper" describe "homebrew" do let(:facts) { default_test_facts } let(:dir) { facts[:homebrew_root] } let(:cmddir) { "#{dir}/Library/Taps/boxen/homebrew-brews/cmd" } it do should contain_exec("install homebrew to #{dir}").with({ :cwd => dir, :user => 'testuser', :creates =...
mit
QLGu/rubillow
spec/rubillow/configuration_spec.rb
479
require "spec_helper" describe Rubillow::Configuration do it { should have_configuration_option(:host).default("www.zillow.com") } it { should have_configuration_option(:port).default(80) } it { should have_configuration_option(:path).default("webservice/") } it { should have_configuration_option(:zwsid).defau...
mit
hoangnghiem/shareable
lib/shareable/railtie.rb
152
module Shareable class Railtie < ::Rails::Railtie #:nodoc: initializer 'shareable' do |_app| Shareable::Hooks.init end end end
mit
kbase/kb_sdk
src/java/us/kbase/narrativemethodstore/AppSteps.java
3018
package us.kbase.narrativemethodstore; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonInclude; import com...
mit
npakai/enhavo
src/Enhavo/Bundle/NavigationBundle/Exception/RenderException.php
187
<?php /** * Created by PhpStorm. * User: gseidel * Date: 28.08.18 * Time: 04:49 */ namespace Enhavo\Bundle\NavigationBundle\Exception; class RenderException extends \Exception { }
mit
shutchings/azure-sdk-for-net
src/SDKs/Batch/DataPlane/Azure.Batch/GeneratedProtocol/Models/PoolDisableAutoScaleOptions.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
doronuziel71/Merchello
src/Merchello.Bazaar/Models/AddressFormModel.cs
3084
namespace Merchello.Bazaar.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using Merchello.Core; using Merchello.Core.Models; /// <summary> /// A site address model. /// </summary> public class AddressFormModel : IAddre...
mit
kroepke/graphql-java
src/main/java/graphql/validation/ValidationErrorType.java
651
package graphql.validation; public enum ValidationErrorType { DefaultForNonNullArgument, WrongType, UnknownType, SubSelectionRequired, SubSelectionNotAllowed, InvalidSyntax, BadValueForDefaultArg, FieldUndefined, InlineFragmentTypeConditionInvalid, FragmentTypeConditionInvalid...
mit
lucasmazza/colors
node_modules/stylus/testing/index.js
384
/** * Module dependencies. */ var stylus = require('../') , fs = require('fs') , path = 'testing/small.styl' , str = fs.readFileSync(path, 'utf8'); var start = new Date; str = str.replace(/\s*,\s*/g, ', '); stylus(str) .set('filename', path) .render(function(err, css){ if (err) throw err; conso...
mit
puaykai/noodles
grails-app/assets/javascripts/dependencies/node_modules/material-ui/svg-icons/action/line-style.js
934
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
mit
tedyhy/SCI
kissy-1.4.9/tools/module-compiler/src/com/google/javascript/jscomp/SyntheticAst.java
1534
/* * Copyright 2009 The Closure Compiler 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...
mit
maysam/activeadmin
lib/active_admin/base_controller.rb
2697
require 'active_admin/base_controller/authorization' require 'active_admin/base_controller/menu' module ActiveAdmin # BaseController for ActiveAdmin. # It implements ActiveAdmin controllers core features. class BaseController < ::InheritedResources::Base helper ::ActiveAdmin::ViewHelpers helper_method :e...
mit
enderdickerson/allReady
AllReadyApp/Web-App/AllReady.UnitTest/ViewModels/Event/EventViewModelShould.cs
5825
using System; using System.Collections.Generic; using AllReady.Models; using AllReady.UnitTest.Extensions; using AllReady.ViewModels.Event; using AllReady.ViewModels.Task; using Xunit; namespace AllReady.UnitTest.ViewModels.Event { public class EventViewModelShould { //happy path test. set up data to ...
mit
electric-eloquence/fepper-wordpress
backend/wordpress/wp-admin/includes/class-wp-filesystem-base.php
23141
<?php /** * Base WordPress Filesystem * * @package WordPress * @subpackage Filesystem */ /** * Base WordPress Filesystem class which Filesystem implementations extend. * * @since 2.5.0 */ class WP_Filesystem_Base { /** * Whether to display debug data for the connection. * * @since 2.5.0 * @var bool ...
mit
AVDer/DRON_SW
DRON_Embedded/src/Timer.cpp
960
// // This file is part of the GNU ARM Eclipse distribution. // Copyright (c) 2014 Liviu Ionescu. // #include "Timer.h" #include "cortexm/ExceptionHandlers.h" // ---------------------------------------------------------------------------- #if defined(USE_HAL_DRIVER) extern "C" void HAL_IncTick(void); #endif // ----...
mit
eriawan/octokit.net
Octokit.Tests.Integration/Clients/IssuesLabelsClientTests.cs
43225
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Octokit; using Octokit.Tests.Integration; using Xunit; using Octokit.Tests.Integration.Helpers; public class IssuesLabelsClientTests : IDisposable { private readonly IIssuesLabelsClient _issuesLabelsClient; ...
mit
liangjg/openmc
src/tallies/filter_mesh.cpp
3158
#include "openmc/tallies/filter_mesh.h" #include <fmt/core.h> #include <gsl/gsl> #include "openmc/capi.h" #include "openmc/constants.h" #include "openmc/error.h" #include "openmc/mesh.h" #include "openmc/xml_interface.h" namespace openmc { void MeshFilter::from_xml(pugi::xml_node node) { auto bins_ = get_node_arr...
mit
kenfdev/angular-xeditable
docs/demos/bsdate/test.js
1624
describe('bsdate', function() { beforeEach(function() { browser().navigateTo(mainUrl); }); it('should show editor and submit new value', function() { var s = '[ng-controller="BsdateCtrl"] '; expect(element(s+'a[editable-bsdate]').css('display')).not().toBe('none'); expect(element(s+'a[editable-...
mit
daltomi/oxygine-framework
examples/Game/part5/proj.android/src/org/oxygine/GamePart5/MainActivity.java
128
package org.oxygine.GamePart5; import org.oxygine.lib.OxygineActivity; public class MainActivity extends OxygineActivity { }
mit
zloirock/core-js
packages/core-js/actual/reflect/own-keys.js
81
var parent = require('../../stable/reflect/own-keys'); module.exports = parent;
mit
lincoln131/rubyspanishxlsx
Portable/Ruby2.3.0/lib/ruby/2.3.0/irb/extend-command.rb
9949
# frozen_string_literal: false # # irb/extend-command.rb - irb extend command # $Release Version: 0.9.6$ # $Revision: 53141 $ # by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # # # module IRB # :nodoc: # Installs the default irb extensions command bundle. module ExtendCommandBundle EXCB = ExtendComma...
mit
abdllhbyrktr/Urho3D
Source/Urho3D/Graphics/Direct3D9/D3D9TextureCube.cpp
20984
// // Copyright (c) 2008-2017 the Urho3D project. // // 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, mod...
mit