repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
youtube/cobalt
third_party/llvm-project/clang/test/OpenMP/parallel_firstprivate_codegen.cpp
29411
// RUN: %clang_cc1 -verify -fopenmp -x c++ -triple i386-pc-linux-gnu -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-32 // RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -triple i386-pc-linux-gnu -emit-pch -o %t %s // RUN: %clang_cc1 -fopenmp -x c++ -triple i386-pc-linux-gnu -std=c++11 -include-pc...
bsd-3-clause
wuhengzhi/chromium-crosswalk
chrome/browser/chrome_browser_main.cc
84736
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chrome_browser_main.h" #include <stddef.h> #include <stdint.h> #include <set> #include <string> #include <utility> #include...
bsd-3-clause
crosswalk-project/chromium-crosswalk-efl
cc/scheduler/scheduler_unittest.cc
74227
// Copyright 2011 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 "cc/scheduler/scheduler.h" #include <string> #include <vector> #include "base/debug/trace_event.h" #include "base/logging.h" #include "base/memo...
bsd-3-clause
ourochan/candescantNUI
CCT.NUI.Samples/ImageManipulation/ImageOperations.cs
4502
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Drawing.Drawing2D; namespace CCT.NUI.Samples.ImageManipulation { public class ImageOperations { public static decimal ProportionalScaleRatio(int actualWidth, int actualHeight, int t...
bsd-3-clause
scottstephens/boo
src/Boo.Lang.Compiler/Steps/Generators/GeneratorItemTypeInferrer.cs
2330
#region license // Copyright (c) 2009 Rodrigo B. de Oliveira (rbo@acm.org) // 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 c...
bsd-3-clause
gregorschatz/pymodbus3
pymodbus3/server/__init__.py
33
# -*- coding: utf-8 -*- """ """
bsd-3-clause
darkrsw/safe
tests/typing_tests/TAJS_micro/test112.js
910
var g = new Array(1,2,3,4,5,6) //dumpObject(g) var __result1 = g[0]; // for SAFE var __expect1 = 1; // for SAFE var __result2 = g[1]; // for SAFE var __expect2 = 2; // for SAFE var __result3 = g[2]; // for SAFE var __expect3 = 3; // for SAFE var __result4 = g[3]; // for SAFE var __expect4 = 4; // for SAFE v...
bsd-3-clause
pwz3n0/xenia
src/xenia/hid/input_system.cc
4575
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
bsd-3-clause
ChromeDevTools/devtools-frontend
node_modules/ramda/es/of.js
587
import _curry1 from "./internal/_curry1.js"; import _of from "./internal/_of.js"; /** * Returns a singleton array containing the value provided. * * Note this `of` is different from the ES6 `of`; See * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of * * @func * @memberOf...
bsd-3-clause
endlessm/chromium-browser
v8/src/builtins/x64/builtins-x64.cc
133194
// Copyright 2012 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. #if V8_TARGET_ARCH_X64 #include "src/api/api-arguments.h" #include "src/base/bits-iterator.h" #include "src/base/iterator.h" #include "src/codegen/code...
bsd-3-clause
justinpotts/mozillians
mozillians/users/migrations/0039_auto__add_externalaccount.py
12687
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'ExternalAccount' db.create_table('users_externalaccount', ( ('id', self.gf('djan...
bsd-3-clause
collin/spree_core
lib/spree_core/theme_support.rb
181
require 'spree_core/theme_support/hook' require 'spree_core/theme_support/hook_listener' require 'spree_core/theme_support/hook_modifier' #require 'spree/theme_support/more_patches'
bsd-3-clause
zhukaixy/ourjs
node_modules/cssshrink/node_modules/prettyugly/examples/ugly.js
204
var prettyugly = require('../index.js'); var read = require('fs').readFileSync; var gonzo = require('gonzales-ast'); var css = read('example.css', 'utf8').toString(); console.log(prettyugly.ugly(css));
bsd-3-clause
pongad/api-client-staging
generated/php/google-cloud-oslogin-v1beta/src/OsLogin/V1beta/resources/os_login_service_descriptor_config.php
117
<?php return [ 'interfaces' => [ 'google.cloud.oslogin.v1beta.OsLoginService' => [ ], ], ];
bsd-3-clause
bit-it-krayina/bit
plugins/i18n/i18n.page.tags.php
2563
<?php /* ==================== [BEGIN_COT_EXT] Hooks=page.tags Tags=page.tpl:{I18N_LANG_ROW_URL},{I18N_LANG_ROW_CODE},{I18N_LANG_ROW_TITLE},{I18N_LANG_ROW_CLASS},{I18N_LANG_ROW_SELECTED},{PAGE_I18N_TRANSLATE},{PAGE_I18N_DELETE} [END_COT_EXT] ==================== */ /** * Assigns i18n control tags for a page * * @pac...
bsd-3-clause
Hasimir/brython
www/tests/test_rmethods.py
1796
class Foo(object): def __init__(self): self.value = 10 def __rsub__(self, other): return 55 def __rlshift__(self, other): return other * self.value def __rmul__(self, other): return 77 assert 1.5 << Foo() == 15.0 assert 2 << Foo() == 20 assert 'a' << Foo() == 'aaaaaaaaaa' try: print(Foo()*Foo()) exce...
bsd-3-clause
stephens2424/php
testdata/fuzzdir/corpus/Zend_tests_add_005.php
120
<?php $i = 75636; $d = 2834681123.123123; $c = $i + $d; var_dump($c); $c = $d + $i; var_dump($c); echo "Done\n"; ?>
bsd-3-clause
davidx3601/ric
ric_mc/Arduino/libraries/CmdMessenger/CSharp/SendAndReceive/SendAndReceive.cs
3772
// *** SendandReceive *** // This example expands the previous Receive example. The Arduino will now send back a status. // It adds a demonstration of how to: // - Handle received commands that do not have a function attached // - Receive a command with a parameter from the Arduino using System; using System...
bsd-3-clause
Klaudit/inbox2_desktop
Code/Utils/Scraper/HtmlAgilityPack/NameValuePair.cs
597
// HtmlAgilityPack V1.0 - Simon Mourier <simon underscore mourier at hotmail dot com> using System; namespace HtmlAgilityPack { internal class NameValuePair { internal readonly string Name; internal string Value; internal NameValuePair() { } inter...
bsd-3-clause
JoKaWare/GViews
third_party/skia/src/core/SkBitmap.cpp
49523
/* * Copyright 2008 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBitmap.h" #include "SkColorPriv.h" #include "SkDither.h" #include "SkFlattenable.h" #include "SkMallocPixelRef.h" #include "SkMask.h" #includ...
bsd-3-clause
stephens2424/php
testdata/fuzzdir/corpus/tests_lang_foreachLoop.010.php
956
<?php $a = array(1,2,3); $container = array(&$a); // From php.net: // "Unless the array is referenced, foreach operates on a copy of // the specified array and not the array itself." // At this point, the array $a is referenced. // The following line ensures $a is no longer references as a consequen...
bsd-3-clause
aam/engine
shell/platform/windows/keyboard_key_channel_handler_unittests.cc
6603
// 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. #include "flutter/shell/platform/windows/keyboard_key_channel_handler.h" #include <memory> #include "flutter/shell/platform/common/json_message_codec.h" #...
bsd-3-clause
djrosl/travel
forum/language/ru/acp/email.php
4533
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ /** * DO NOT CHANGE */ if (!defined('IN_P...
bsd-3-clause
alexis-roche/nireg
scripts/scripting.py
6418
#!/usr/bin/env python # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """ A scripting wrapper around 4D registration (SpaceTimeRealign) """ from __future__ import absolute_import import os import os.path as op import numpy as np import numpy.linalg as ...
bsd-3-clause
rsadhu/phantomjs
src/qt/src/gui/painting/qdrawutil.cpp
49362
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
bsd-3-clause
thesocialstation/jcabi-http
src/test/java/com/jcabi/http/response/package-info.java
1642
/* * Copyright (c) 2011-2017, jcabi.com * 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 conditions...
bsd-3-clause
heiglandreas/zf2
tests/Zend/Db/Adapter/MysqliTest.php
9235
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
bsd-3-clause
rimbalinux/LMD3
django/conf/locale/th/formats.py
767
# -*- encoding: utf-8 -*- # This file is distributed under the same license as the Django package. # # The *_FORMAT strings use the Django date format syntax, # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date DATE_FORMAT = 'j F Y' TIME_FORMAT = 'G:i:s' DATETIME_FORMAT = 'j F Y, G:i:s' YE...
bsd-3-clause
axinging/chromium-crosswalk
chrome/browser/ui/views/tabs/window_finder_ash.cc
2205
// Copyright 2014 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 "chrome/browser/ui/views/tabs/window_finder.h" #include "ash/shell_window_ids.h" #include "ash/wm/aura/wm_window_aura.h" #include "ash/wm/common...
bsd-3-clause
Umisoft/umi.framework-dev
library/hmvc/component/AccessRestrictedComponent.php
807
<?php /** * UMI.Framework (http://umi-framework.ru/) * * @link http://github.com/Umisoft/framework for the canonical source repository * @copyright Copyright (c) 2007-2013 Umisoft ltd. (http://umisoft.ru/) * @license http://umi-framework.ru/license/bsd-3 BSD-3 License */ namespace umi\hmvc\component; use...
bsd-3-clause
drorweiss/petri
sample-extended-filters/src/main/java/dynamic/filters/SomeCustomFilter.java
530
package dynamic.filters; import com.wixpress.petri.experiments.domain.EligibilityCriteria; import com.wixpress.petri.experiments.domain.Filter; import com.wixpress.petri.experiments.domain.FilterTypeName; /** * Created by talyas on 2/1/15. */ @FilterTypeName("SomeCustomFilter") public class SomeCustomFilter impleme...
bsd-3-clause
rbaindourov/v8-inspector
Source/chrome/v8/src/mips64/macro-assembler-mips64.cc
193115
// Copyright 2012 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. #include <limits.h> // For LONG_MIN, LONG_MAX. #include "src/v8.h" #if V8_TARGET_ARCH_MIPS64 #include "src/base/division-by-constant.h" #include "sr...
bsd-3-clause
SmallAiTT/egret-core
src/egret/player/RenderContext.ts
17432
////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014-2015, Egret Technology 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: // ...
bsd-3-clause
zzuegg/jmonkeyengine
jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler14.java
6272
/* * Copyright (c) 2009-2012 jMonkeyEngine * 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 ...
bsd-3-clause
furore-fhir/spark
src/Spark.Engine/Core/LocalhostExtensions.cs
4107
using Hl7.Fhir.Model; using Hl7.Fhir.Rest; using System; using Spark.Engine.Extensions; namespace Spark.Engine.Core { public static class ILocalhostExtensions { public static bool IsLocal(this ILocalhost localhost, IKey key) { if (key.Base == null) return true; return l...
bsd-3-clause
mvaled/sentry
src/sentry/api/endpoints/organization_incident_activity_index.py
829
from __future__ import absolute_import from sentry.api.bases.incident import IncidentPermission, IncidentEndpoint from sentry.api.paginator import OffsetPaginator from sentry.api.serializers import serialize from sentry.incidents.logic import get_incident_activity class OrganizationIncidentActivityIndexEndpoint(Inci...
bsd-3-clause
tesserakt/cs_spree_fork
core/spec/models/spree/order/state_machine_spec.rb
6278
require 'spec_helper' describe Spree::Order do let(:order) { Spree::Order.new } before do # Ensure state machine has been re-defined correctly Spree::Order.define_state_machine! # We don't care about this validation here order.stub(:require_email) end context "#next!" do context "when curr...
bsd-3-clause
alexbocharov/Orchard2
src/Orchard.DependencyInjection/Attributes/OrchardSuppressDependencyAttribute.cs
387
using System; namespace Orchard.DependencyInjection { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] public class OrchardSuppressDependencyAttribute : Attribute { public OrchardSuppressDependencyAttribute(string fullName) { FullName = fullName...
bsd-3-clause
stephens2424/php
testdata/fuzzdir/corpus/ext_standard_tests_strings_bug53319.php
248
<?php $str = '<br /><br />USD<input type="text"/><br/>CDN<br><input type="text" />'; var_dump(strip_tags($str, '<input>')); var_dump(strip_tags($str, '<br><input>') === $str); var_dump(strip_tags($str)); var_dump(strip_tags('<a/b>', '<a>')); ?>
bsd-3-clause
XuanYeah/aurous-app
aurous-app/src/me/aurous/ui/widgets/SearchWidget.java
10132
package me.aurous.ui.widgets; import java.awt.Color; import java.awt.Component; import java.awt.EventQueue; import java.awt.Font; import java.awt.Window.Type; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event...
bsd-3-clause
OrchardCMS/Orchard
src/Orchard.Web/Modules/Orchard.Localization/Properties/AssemblyInfo.cs
1325
using System.Reflection; using System.Runtime.InteropServices; using System.Security; // 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: AssemblyTitle("Orchard.Localizati...
bsd-3-clause
Anak1nSkywalker/zf2angularjs
module/Application/config/module.config.php
4409
<?php namespace Application; return array( 'router' => array( 'routes' => array( 'home' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/', 'defaults' => array( ...
bsd-3-clause
surge-/libwebrtc
modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc
9962
/* * Copyright (c) 2012 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
anirudhSK/chromium
tools/telemetry/telemetry/core/backends/chrome/chrome_browser_options.py
1175
# 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. from telemetry.core import browser_options from telemetry.core.backends.chrome import cros_interface def CreateChromeBrowserOptions(br_options): browser_...
bsd-3-clause
meego-tablet-ux/meego-app-browser
media/audio/win/audio_manager_win.cc
9741
// Copyright (c) 2011 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 "media/audio/audio_io.h" #include <windows.h> #include <objbase.h> // This has to be before initguid.h #include <initguid.h> #include <mmsy...
bsd-3-clause
rvraghav93/scikit-learn
sklearn/tests/test_multiclass.py
29070
import numpy as np import scipy.sparse as sp from re import escape from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_true from sklearn.utils.testing import assert_false from...
bsd-3-clause
keishi/chromium
gpu/command_buffer/service/query_manager.cc
10030
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gpu/command_buffer/service/query_manager.h" #include "base/atomicops.h" #include "base/logging.h" #include "base/time.h" #include "gpu/comma...
bsd-3-clause
LWJGL-CI/lwjgl3
modules/lwjgl/opencl/src/generated/java/org/lwjgl/opencl/KHRILProgram.java
4463
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.opencl; import javax.annotation.*; import java.nio.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lwjgl.system.JNI.*; imp...
bsd-3-clause
axinging/chromium-crosswalk
chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
20348
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.h" #include <stddef.h> #include "ash/display/display_manager.h" #include "ash/shell.h...
bsd-3-clause
hzhao/galago-git
eval/src/main/java/org/lemurproject/galago/core/eval/metric/Recall.java
1563
/* * BSD License (http://www.galagosearch.org/license) */ package org.lemurproject.galago.core.eval.metric; import org.lemurproject.galago.core.eval.QueryJudgments; import org.lemurproject.galago.core.eval.QueryResults; /** * Returns the recall of the retrieval at a given number of documents retrieved. * The rec...
bsd-3-clause
glemaitre/scikit-learn
sklearn/mixture/tests/test_bayesian_mixture.py
20177
# Author: Wei Xue <xuewei4d@gmail.com> # Thierry Guillemot <thierry.guillemot.work@gmail.com> # License: BSD 3 clause import copy import re import numpy as np from scipy.special import gammaln import pytest from sklearn.utils._testing import assert_almost_equal from sklearn.utils._testing import assert_array_...
bsd-3-clause
Spuds/elkarte.net
elk/community/themes/default/scripts/register.js
12102
/** * @name ElkArte Forum * @copyright ElkArte Forum contributors * @license BSD http://opensource.org/licenses/BSD-3-Clause * * This software is a derived product, based on: * * Simple Machines Forum (SMF) * copyright: 2011 Simple Machines (http://www.simplemachines.org) * license: BSD, See included L...
bsd-3-clause
fsimkovic/conkit
docs/examples/code/plot_mat_simple.py
785
""" Simple contact cmap plotting 1 ============================= This script contains a simple example of how you can plot contact cmaps using ConKit """ import conkit.io import conkit.plot # Define the input variables sequence_file = "toxd/toxd.fasta" sequence_format = "fasta" contact_file = "toxd/toxd.mat" contac...
bsd-3-clause
nwsw/Elkarte
themes/default/GenericControls.template.php
8044
<?php /** * @name ElkArte Forum * @copyright ElkArte Forum contributors * @license BSD http://opensource.org/licenses/BSD-3-Clause * * This file contains code covered by: * copyright: 2011 Simple Machines (http://www.simplemachines.org) * license: BSD, See included LICENSE.TXT for terms and conditions....
bsd-3-clause
lobo12/ormlite-core
src/main/java/com/j256/ormlite/field/ForeignCollectionField.java
4059
package com.j256.ormlite.field; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; import com.j256.ormlite.dao.Dao; import com.j256.ormlite.dao.ForeignCollection; import com.j256....
isc
PaulHigin/PowerShell
src/Microsoft.PowerShell.Security/security/ExecutionPolicyCommands.cs
12935
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #region Using directives using System; // System.Management.Automation is the namespace which contains the types and // methods pertaining to the Microsoft Command Shell using System.Management.Automation; using System.Management.Automation.In...
mit
cfoxleyevans/RainfallAnalyzer
jfreechart-1.0.14/source/org/jfree/chart/renderer/xy/StackedXYAreaRenderer2.java
21861
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2011, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
mit
closemarketing/mute-screamer
libraries/mscr/Text_Diff_Render.php
7050
<?php if ( ! defined( 'ABSPATH' ) ) exit; class MSCR_Text_Diff_Renderer_Table extends WP_Text_Diff_Renderer_Table { /** * Number of context lines before * * @var int */ public $_leading_context_lines = 3; /** * Number of context lines after * * @var int */ public $_trailing_context_lines = 3; ...
mit
mi1980/projecthadoop3
udacity/ud036-python-foundations/code/lesson2/square.py
338
import turtle def draw_square(): window = turtle.Screen() window.bgcolor('red') joe = turtle.Turtle() joe.shape('turtle') joe.color('green') joe.speed(1) # on a scale of 1 to 10, where 10 is fastest for i in range(0,4): joe.forward(100) joe.right(90) window.exitonclic...
mit
kakashidinho/HQEngine
ThirdParty-mod/java2cpp/dalvik/system/VMRuntime.hpp
5026
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: dalvik.system.VMRuntime ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEMEN...
mit
codemon66/Urho3D
Source/Urho3D/Graphics/Direct3D9/D3D9GraphicsImpl.cpp
2218
// // 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
OfficeDev/PnP-Tools
Solutions/SharePoint.Visio.Scanner/SharePoint.Visio.Scanner/Options.cs
5372
using CommandLine; using SharePoint.Scanning.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SharePoint.Visio.Scanner { /// <summary> /// Possible scanning modes /// </summary> public enum Mode { Full ...
mit
dbolkensteyn/sonar-msbuild-runner
SonarQube.Common/VerbosityCalculator.cs
4143
//----------------------------------------------------------------------- // <copyright file="VerbosityCalculator.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the projec...
mit
donid/QuantityTypes
Source/QuantityTypes/Quantities/RadiationAbsorbedDose.cs
22673
// -------------------------------------------------------------------------------------------------------------------- // <auto-generated> // This code was generated by a T4 template. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-gener...
mit
henry-gobiernoabierto/geomoose
htdocs/libs/dojo/dojox/charting/action2d/Tooltip.js
5428
dojo.provide("dojox.charting.action2d.Tooltip"); dojo.require("dijit.Tooltip"); dojo.require("dojox.charting.action2d.Base"); dojo.require("dojox.gfx.matrix"); dojo.require("dojox.lang.functional"); dojo.require("dojox.lang.functional.scan"); dojo.require("dojox.lang.functional.fold"); /*===== dojo.declare("dojox.c...
mit
seryl/traefik
middlewares/accesslog/logger.go
4016
package accesslog import ( "context" "fmt" "net" "net/http" "net/url" "sync/atomic" "time" ) type key string const ( // DataTableKey is the key within the request context used to // store the Log Data Table DataTableKey key = "LogDataTable" ) // LogHandler will write each request and its response to the a...
mit
unaio/una
upgrade/files/9.0.0.B5-9.0.0.RC1/files/inc/classes/BxDolSearchExtendedQuery.php
3323
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup UnaCore UNA Core * @{ */ class BxDolSearchExtendedQuery extends BxDolDb { public function __construct($aObject = array()) { parent::__...
mit
MadManRises/Madgine
shared/assimp/port/PyAssimp/gen/materialgen.py
3618
#!/usr/bin/env python # -*- Coding: UTF-8 -*- # --------------------------------------------------------------------------- # Open Asset Import Library (ASSIMP) # --------------------------------------------------------------------------- # # Copyright (c) 2006-2010, ASSIMP Development Team # # All rights reserved. # ...
mit
trantorLiu/carrierwave-base64
lib/carrierwave/base64/version.rb
65
module Carrierwave module Base64 VERSION = "1.8" end end
mit
moonlitangel/moonlit_admin
src/app/shared/breadcrumb.component.ts
1524
import { Component } from '@angular/core'; import { Router, ActivatedRoute, NavigationEnd } from '@angular/router'; import 'rxjs/add/operator/filter'; @Component({ selector: 'breadcrumbs', template: ` <template ngFor let-breadcrumb [ngForOf]="breadcrumbs" let-last = last> <li class="breadcrumb-item" *ngIf="b...
mit
ist-dresden/composum
jslibs/src/main/resources/root/libs/jslibs/highlight/9.15.6/languages/java.js
3400
/* Language: Java Author: Vsevolod Solovyov <vsevolod.solovyov@gmail.com> Category: common, enterprise */ function(hljs) { var JAVA_IDENT_RE = '[\u00C0-\u02B8a-zA-Z_$][\u00C0-\u02B8a-zA-Z_$0-9]*'; var GENERIC_IDENT_RE = JAVA_IDENT_RE + '(<' + JAVA_IDENT_RE + '(\\s*,\\s*' + JAVA_IDENT_RE + ')*>)?'; var KEYWORDS =...
mit
adadesions/ohmysocial
node_modules/react-mounter/dist/index.js
1161
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray'); var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2); exports.mount = mount; exports.withOptions = withOptions; function _interopRequireDefau...
mit
enclose-io/compiler
lts/test/parallel/test-whatwg-url-custom-properties.js
7500
// Flags: --expose-internals 'use strict'; // Tests below are not from WPT. require('../common'); const URL = require('url').URL; const assert = require('assert'); const urlToOptions = require('internal/url').urlToOptions; const url = new URL('http://user:pass@foo.bar.com:21/aaa/zzz?l=24#test'); const oldParams = ur...
mit
disik69/codeigniter-migration
application/config/config.php
17476
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
mit
Cmcwebb/imagemat
markup/locale/lang.cy.js
9567
[ {"id": "align_relative_to", "title": "Alinio perthynas i ..."}, {"id": "bkgnd_color", "title": "Newid lliw cefndir / Didreiddiad"}, {"id": "circle_cx", "title": "CX Newid cylch yn cydlynu"}, {"id": "circle_cy", "title": "Newid cylch&#39;s cy gydgysylltu"}, {"id": "circle_r", "title": "Newid radiws cylch yn"}, {"id": ...
mit
lf2941270/Ghost
core/test/integration/model/model_users_spec.js
26933
var testUtils = require('../../utils'), should = require('should'), Promise = require('bluebird'), sinon = require('sinon'), uuid = require('node-uuid'), _ = require('lodash'), // Stuff we are testing utils = require('../../../server/utils'), grav...
mit
jeffthemaximum/jeffline
templates/rubix/meteor/meteor-example/imports/plugins.js
133
module.exports = [ '/bower_components/PACE/pace.min.js', '/js/jquery.js', '/js/modernizr.js', '/js/perfect-scrollbar.js', ];
mit
karthiick/ember.js
blueprints/controller-test/index.js
556
'use strict'; const stringUtil = require('ember-cli-string-utils'); const useTestFrameworkDetector = require('../test-framework-detector'); module.exports = useTestFrameworkDetector({ description: 'Generates a controller unit test.', locals: function(options) { let dasherizedModuleName = stringUtil.dasherize...
mit
inab/TeBactEn
web/javascripts/autocomplete.php
988
<?php include("config.php"); $term = $_GET['term']; $searchfor = $_GET['searchfor']; switch ($searchfor) { case "enzymes": $searchfor="enzyme"; break; case "compounds": $searchfor="compound"; break; case "species": $searchfor="organism"; break; } $conn = mysq...
mit
FabianLiebl/enhavo
src/Enhavo/Bundle/TaxonomyBundle/DependencyInjection/EnhavoTaxonomyExtension.php
1829
<?php namespace Enhavo\Bundle\TaxonomyBundle\DependencyInjection; use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension; use Sylius\Component\Resource\Factory; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component...
mit
harshich/automateallthings
Code/EndSolution/static/js/main.js
135
(function ( $ ) { 'use strict'; $(document).ready( function () { sayThatThisIsAJavascriptApplication(); }); }(jQuery));
mit
jmks/rubocop
lib/rubocop/cop/layout/indentation_width.rb
11135
# frozen_string_literal: true module RuboCop module Cop module Layout # This cop checks for indentation that doesn't use the specified number # of spaces. # # See also the IndentationConsistency cop which is the companion to this # one. # # @example # # bad ...
mit
katharosada/botchallenge
client/google/protobuf/internal/test_bad_identifiers_pb2.py
5702
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/protobuf/internal/test_bad_identifiers.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
mit
artivilla/desktop
app/src/ui/banners/update-available.tsx
2023
import * as React from 'react' import { Dispatcher } from '../dispatcher/index' import { LinkButton } from '../lib/link-button' import { updateStore } from '../lib/update-store' import { Octicon } from '../octicons' import * as OcticonSymbol from '../octicons/octicons.generated' import { PopupType } from '../../models/...
mit
darkrasid/gitlabhq
spec/lib/gitlab/import_export/wiki_repo_saver_spec.rb
948
require 'spec_helper' describe Gitlab::ImportExport::WikiRepoSaver, services: true do describe 'bundle a wiki Git repo' do let(:user) { create(:user) } let!(:project) { create(:empty_project, :public, name: 'searchable_project') } let(:export_path) { "#{Dir.tmpdir}/project_tree_saver_spec" } let(:sha...
mit
aspose-cells/Aspose.Cells-for-Cloud
SDKs/Aspose.Cells-Cloud-SDK-for-Ruby/lib/aspose_cells_cloud/models/cell.rb
3914
module AsposeCellsCloud # class Cell < BaseObject attr_accessor :name, :row, :column, :value, :type, :formula, :is_formula, :is_merged, :is_array_header, :is_in_array, :is_error_value, :is_in_table, :is_style_set, :html_string, :style, :worksheet, :link # attribute mapping from ruby-style variable name to ...
mit
moneta-project/moneta-2.0.1.0
src/qt/locale/moneta_hu.ts
84689
<TS language="hu" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>A cím vagy címke szerkeszteséhez kattintson a jobb gombbal</translation> </message> <message> <source>Create a new address</source>...
mit
steve600/JSON-RPC.NET
TestServer_Console/Properties/AssemblyInfo.cs
1412
using System.Reflection; using System.Runtime.CompilerServices; 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: AssemblyTitle("Te...
mit
MadushikaPerera/Coupley
public/js/components/chat/ChatPrevious.react.js
3645
import React from 'react'; import List from 'material-ui/lib/lists/list'; import ListItem from 'material-ui/lib/lists/list-item'; import Divider from 'material-ui/lib/divider'; import Avatar from 'material-ui/lib/avatar'; import Colors from 'material-ui/lib/styles/colors'; import IconButton from 'material-ui/lib/icon-b...
mit
SekulKamberov/Telerik-Academy
PHP Web Development/01. Creating an address book/01. Expenditure Monitoring System/functions.php
1580
<?php # Съдържа колоните на таблицата, типовете разходи, продуктите и тяхната информация и общата сума # Методи за четене съдържанието на файла и изчисляване на общата сума $tableColumns = array("Name", "Price", "Type", "Date"); define("TYPE_INDEX", array_search("Type", $tableColumns)); define("PRICE_INDEX", array_se...
mit
lizlove/sm_nyc
app/helpers/nyc_noise_helper.rb
26
module NycNoiseHelper end
mit
Behat/SahiClient
src/Behat/SahiClient/Accessor/DivAccessor.php
525
<?php /* * This file is part of the Behat\SahiClient. * (c) 2010 Konstantin Kudryashov <ever.zet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Behat\SahiClient\Accessor; /** * Div Element Accessor. * * @...
mit
DorianCMore/Sylius
src/Sylius/Bundle/ThemeBundle/spec/Templating/Locator/TemplateFileLocatorSpec.php
4022
<?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. */ namespace spec\Sylius\Bundle\ThemeBundle\Templating\Locator; use PhpSpec\ObjectBehavior; use Prophecy...
mit
pkozlowski-opensource/angular
aio/content/examples/i18n/src/app/i18n-providers.ts
1524
// #docplaster // #docregion without-missing-translation import { TRANSLATIONS, TRANSLATIONS_FORMAT, LOCALE_ID, MissingTranslationStrategy } from '@angular/core'; import { CompilerConfig } from '@angular/compiler'; export function getTranslationProviders(): Promise<Object[]> { // Get the locale id from the global ...
mit
ddo/crypto-js
enc-latin1.js
198
(function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core")):"function"==typeof define&&define.amd?define(["./core"],r):r(e.CryptoJS)})(this,function(e){return e.enc.Latin1});
mit
mans0954/f-spot
src/Clients/FSpot/FSpot.Filters/WhiteListFilter.cs
2100
// // WhiteListFilter.cs // // Author: // Stephane Delcroix <stephane@delcroix.org> // Stephen Shaw <sshaw@decriptor.com> // // Copyright (C) 2006-2007 Novell, Inc. // Copyright (C) 2006-2007 Stephane Delcroix // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and...
mit
oturpe/barcode-agent-client
plugins/com.phonegap.plugins.barcodescanner/plugin.xml.generate.php
6999
<?php class PluginHelper { public $basePath = 'src/android/LibraryProject/'; private function perror($msg) { file_put_contents('php://stderr', $msg, FILE_APPEND); } /** * Get contents of an XML file. * * @param string $xmlFilePath The XML file path relative to $this->basePath. * @param str...
mit
ndardenne/pymatgen
pymatgen/analysis/energy_models.py
5624
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from __future__ import division, unicode_literals """ This module implements a EnergyModel abstract class and some basic implementations. Basically, an EnergyModel is any model that returns an "energy" for any...
mit
amirlionor/admin
vendor/sonata-project/block-bundle/Tests/Block/BlockContextManagerTest.php
5416
<?php /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\BlockBundle\Tests\Block; use Doctrine\Common\U...
mit
redwoodfavorite/engine
renderers/test/UIManager.js
5409
/** * The MIT License (MIT) * * Copyright (c) 2015 Famous Industries Inc. * * 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...
mit