repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
HardikDR/kubernetes
test/images/porter/Makefile
920
# Use: # # `make porter` will build porter. # `make tag` will suggest a tag. # `make container` will build a container-- you must supply a tag. # `make push` will push the container-- you must supply a tag. REPO ?= gcr.io/google_containers SUGGESTED_TAG = $(shell git rev-parse --verify HEAD) porter: porter.go CGO_EN...
apache-2.0
belliottsmith/cassandra
test/unit/org/apache/cassandra/auth/CassandraRoleManagerTest.java
7254
/* * 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
vishnuzimbra/zimbra
test/fixtures/cookbooks/aws_test/recipes/iam_user.rb
313
aws_iam_user 'test-kitchen-user' do aws_access_key node['aws_test']['key_id'] aws_secret_access_key node['aws_test']['access_key'] action :create end aws_iam_user 'test-kitchen-user' do aws_access_key node['aws_test']['key_id'] aws_secret_access_key node['aws_test']['access_key'] action :delete end
apache-2.0
hankduan/angular
modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts
1788
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util'; import {Promise} from 'angular2/src/core/facade/async'; describe('WebWorkers Kitchen Sink', function() { afterEach(() => { verifyNoBrowserErrors(); browser.ignoreSynchronization = false; }); var selector = "hello-app .greeting"; var U...
apache-2.0
tsugiproject/tsugi
vendor/google/apiclient-services/src/Google/Service/CloudKMS/KeyOperationAttestation.php
1447
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
apache-2.0
swarmsandbox/wildfly-swarm
fractions/javaee/datasources/src/main/java/org/wildfly/swarm/datasources/runtime/drivers/Hive2DriverInfo.java
1490
/** * Copyright 2015-2017 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/licenses/LICENSE-2.0 * * Unless require...
apache-2.0
uaraven/nano
sample/webservice/eBayDemoApp/src/com/ebay/trading/api/EBayMotorsProBestOfferEnabledDefinitionType.java
509
// Generated by xsd compiler for android/java // DO NOT CHANGE! package com.ebay.trading.api; import java.io.Serializable; import com.leansoft.nano.annotation.*; import java.util.List; /** * * Indicates whether Contact Seller is enabled for Classified Ads. * Added for EbayMotors Pro users. * */ public class EB...
apache-2.0
vongalpha/origin
pkg/user/registry/useridentitymapping/rest.go
10722
package useridentitymapping import ( "fmt" kapi "k8s.io/kubernetes/pkg/api" kerrs "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/api/rest" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/util" "k8s.io/kubernetes/pkg/util/fielderrors" "k8s.io/kubernetes/pkg/util/sets" "github.com/openshift/...
apache-2.0
dulems/azure-powershell
src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpointConfig.cs
2353
// ---------------------------------------------------------------------------------- // // 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
jppelteret/homebrew-cask
Casks/hunt-x.rb
307
cask 'hunt-x' do version :latest sha256 :no_check url 'http://huntx.mobilefirst.in/Apps/Hunt%20X.zip' name 'Hunt X' homepage 'http://huntx.mobilefirst.in/' license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder app 'Hunt X.app' end
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-await-of/async-func-dstr-var-obj-ptrn-prop-ary.js
1967
// This file was procedurally generated from the following sources: // - src/dstr-binding-for-await/obj-ptrn-prop-ary.case // - src/dstr-binding-for-await/default/for-await-of-async-func-var.template /*--- description: Object binding pattern with "nested" array binding pattern not using initializer (for-await-of statem...
bsd-2-clause
tonyseek/homebrew-cask
Casks/evernote.rb
268
class Evernote < Cask url 'https://www.evernote.com/about/download/get.php?file=EvernoteMac' appcast 'http://update.evernote.com/public/ENMac/EvernoteMacUpdate.xml' homepage 'https://evernote.com/' version 'latest' sha256 :no_check link 'Evernote.app' end
bsd-2-clause
mmicko/bx
tests/handle_test.cpp
2557
/* * Copyright 2010-2017 Branimir Karadzic. All rights reserved. * License: https://github.com/bkaradzic/bx#license-bsd-2-clause */ #include "test.h" #include <bx/handlealloc.h> #include <bx/hash.h> TEST_CASE("HandleListT", "") { bx::HandleListT<32> list; list.pushBack(16); REQUIRE(list.getFront() == 16); REQ...
bsd-2-clause
adamliter/homebrew-core
Formula/libwebsockets.rb
1637
class Libwebsockets < Formula desc "C websockets server library" homepage "https://libwebsockets.org" url "https://github.com/warmcat/libwebsockets/archive/v3.1.0.tar.gz" sha256 "db948be74c78fc13f1f1a55e76707d7baae3a1c8f62b625f639e8f2736298324" head "https://github.com/warmcat/libwebsockets.git" bottle do ...
bsd-2-clause
endlessm/chromium-browser
third_party/grpc/src/src/compiler/python_generator.h
1853
/* * * Copyright 2015 gRPC 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 agree...
bsd-3-clause
ethz-asl/Schweizer-Messer
sm_python/include/sm/python/Id.hpp
2754
#ifndef SM_PYTHON_ID_HPP #define SM_PYTHON_ID_HPP #include <numpy_eigen/boost_python_headers.hpp> #include <boost/python/to_python_converter.hpp> #include <Python.h> #include <boost/cstdint.hpp> namespace sm { namespace python { // to use: sm::python::Id_python_converter<FrameId>::register_converter(); ...
bsd-3-clause
chromium/chromium
ui/message_center/views/message_popup_collection_unittest.cc
38889
// Copyright (c) 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 "ui/message_center/views/message_popup_collection.h" #include "base/containers/cxx20_erase.h" #include "base/memory/raw_ptr.h" #include "bas...
bsd-3-clause
balena/sandboxed
chrome/base/thread_local_posix.cc
826
// Copyright (c) 2006-2008 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 "base/thread_local.h" #include <pthread.h> #include "base/logging.h" namespace base { // static void ThreadLocalPlatform::AllocateSl...
bsd-3-clause
mehulsbhatt/unbound
util/data/msgreply.h
14843
/* * util/data/msgreply.h - store message and reply data. * * Copyright (c) 2007, NLnet Labs. All rights reserved. * * This software is open source. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Re...
bsd-3-clause
chromium/chromium
third_party/blink/renderer/core/paint/paint_invalidator.cc
15422
// Copyright 2016 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/paint/paint_invalidator.h" #include "base/trace_event/trace_event.h" #include "third_party/abseil-cpp/absl/type...
bsd-3-clause
windyuuy/opera
chromium/src/ash/test/test_session_state_delegate.h
3514
// Copyright (c) 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. #ifndef ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ #define ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ #include "ash/session_state_delegate.h" #include "bas...
bsd-3-clause
js0701/chromium-crosswalk
components/html_viewer/layout_test_content_handler_impl.cc
4105
// 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. #include "components/html_viewer/layout_test_content_handler_impl.h" #include <utility> #include "base/bind.h" #include "base/macros.h" #include "compon...
bsd-3-clause
js0701/chromium-crosswalk
third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
3311
/* * Copyright (C) 2012 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 conditio...
bsd-3-clause
leighpauls/k2cro4
base/task_runner_util.h
2492
// 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. #ifndef BASE_TASK_RUNNER_UTIL_H_ #define BASE_TASK_RUNNER_UTIL_H_ #include "base/bind.h" #include "base/bind_helpers.h" #include "base/callback_inter...
bsd-3-clause
danakj/chromium
third_party/WebKit/LayoutTests/media/track/track-webvtt-tc028-unsupported-markup.html
1514
<!DOCTYPE html> <title>Tests that unsupported markup is properly ignored.</title> <script src="track-helpers.js"></script> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></script> <script> // TODO(srirama.m): Rewrite the test in a better way. // See https://cod...
bsd-3-clause
chromium/chromium
third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.h
5042
// Copyright 2016 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. #ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_CSSPAINT_PAINT_RENDERING_CONTEXT_2D_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_CSSPAINT_PAINT_RENDERING_CONT...
bsd-3-clause
espadrine/opera
chromium/src/chrome/browser/extensions/api/cookies/cookies_api.h
7506
// 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. // Defines the Chrome Extensions Cookies API functions for accessing internet // cookies, as specified in the extension API JSON. #ifndef CHROME_BROW...
bsd-3-clause
sumeetchhetri/FrameworkBenchmarks
frameworks/CSharp/aspnetcore/Benchmarks/Data/Fortune.cs
902
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Benchmarks.Data { [Tabl...
bsd-3-clause
ChromeDevTools/devtools-frontend
test/e2e/resources/sources/filesystem/special-characters.html
87
<script src="./with%20space.js"></script> <script src="./with%2520space.js"></script>
bsd-3-clause
robclark/chromium
chrome/browser/ui/view_ids.h
1902
// 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. // This defines an enumeration of IDs that can uniquely identify a view within // the scope of a container view. #ifndef CHROME_BROWSER_UI_VIEW_IDS_H...
bsd-3-clause
sumeetchhetri/FrameworkBenchmarks
frameworks/CSharp/aspnetcore/Benchmarks/Middleware/MultipleUpdatesRawMiddleware.cs
2038
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Text.Json; using System.Threading.Tasks; using Benchmarks.Configuration; using Benchmarks.Data; using Microsoft.AspNetCore.Bu...
bsd-3-clause
RIVeR-Lab/walrus
walrus_firmware/rosserial_teensyduino/teensyduino_sdk/arduino-1.0.6/hardware/teensy/cores/usb_midi/usb.c
21804
/* USB Serial Example for Teensy USB Development Board * http://www.pjrc.com/teensy/usb_serial.html * Copyright (c) 2008 PJRC.COM, LLC * * 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...
bsd-3-clause
BellScurry/gem5-fault-injection
src/cpu/o3/fetch_impl.hh
54320
/* * Copyright (c) 2010-2014 ARM Limited * Copyright (c) 2012-2013 AMD * All rights reserved. * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a...
bsd-3-clause
BreemsEmporiumMensToiletriesFragrances/webgl-fundamentals
webgl/lessons/webgl-shaders-and-glsl.md
14178
Title: WebGL Shaders and GLSL Description: What's a shader and what's GLSL This is a continuation from [WebGL Fundamentals](webgl-fundamentals.html). If you haven't read about how WebGL works you might want to [read this first](webgl-how-it-works.html). We've talked about shaders and GLSL but haven't really given th...
bsd-3-clause
bxshi/gem5
src/sim/sim_object.cc
4656
/* * Copyright (c) 2001-2005 The Regents of The University of Michigan * Copyright (c) 2010 Advanced Micro Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of...
bsd-3-clause
hucongyang/yii
vendor/kartik-v/yii2-grid/GridExportAsset.php
631
<?php /** * @package yii2-grid * @author Kartik Visweswaran <kartikv2@gmail.com> * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015 * @version 3.0.8 */ namespace kartik\grid; use kartik\base\AssetBundle; /** * Asset bundle for GridView Widget (for exporting content) * * @author...
bsd-3-clause
lilothar/walle-c11
walle/sys/Filesystem.cpp
5052
#include <walle/sys/wallesys.h> using namespace std; /// Web Application Library namaspace namespace walle { namespace sys { bool Filesystem::fileExist( const string &file ) { if ( ::access(file.c_str(),F_OK) == 0 ) return true; else return false; } bool Filesystem::isLink( const string &file ) { struct sta...
bsd-3-clause
windyuuy/opera
chromium/src/ash/launcher/launcher_tooltip_manager.h
3512
// 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. #ifndef ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ #define ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ #include "ash/ash_export.h" #include "ash/shelf/she...
bsd-3-clause
chromium/chromium
third_party/blink/renderer/core/css/cssom/css_numeric_array.h
1376
// Copyright 2017 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. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSSOM_CSS_NUMERIC_ARRAY_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSSOM_CSS_NUMERIC_ARRAY_H_ #include "t...
bsd-3-clause
bestrauc/seqan
tests/index/test_index_fm_stree.h
16008
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2016, Knut Reinert, FU Berlin // Copyright (c) 2013 NVIDIA Corporation // All rig...
bsd-3-clause
sgraham/nope
chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc
12107
// 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 "base/strings/utf_string_conversions.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/profile_sync_service.h" #i...
bsd-3-clause
chromium/chromium
tools/binary_size/libsupersize/zip_util.py
5188
# Copyright 2020 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. """Utilities to process compresssed files.""" import contextlib import logging import os import pathlib import re import shutil import struct import tempfil...
bsd-3-clause
adamkalmus/motech
platform/mds/mds/src/main/resources/db/migration/default/V22__MOTECH-1399.sql
266
-- adds crudEvents columns --- ALTER TABLE "Tracking" ADD "allowCreateEvent" boolean NOT NULL DEFAULT false; ALTER TABLE "Tracking" ADD "allowDeleteEvent" boolean NOT NULL DEFAULT false; ALTER TABLE "Tracking" ADD "allowUpdateEvent" boolean NOT NULL DEFAULT false;
bsd-3-clause
chromium/chromium
components/translate/core/browser/translate_ui_delegate.h
7760
// 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. #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ #include <stddef.h>...
bsd-3-clause
JavieChan/nanshaCity
yejin/templates/adminadd.html
1593
## adminadd.html <%inherit file="base.html" /> <div class="wrapper"> <input type="hidden" id="location" value="${location}" /> <!--导航--> <%include file="nav.html" /> <!--右侧功能栏--> <div class="projects"> <div class="tabbox"> <div class="bread"> <%include...
isc
pfalcon/micropython
ports/samd/main.c
3009
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2019 Damien P. George * * 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 ...
mit
clooket/YouTubeExtractor
YouTubeExtractor/External/gdata-objectivec-client/Source/Clients/WebmasterTools/GDataSitemapNews.h
1599
/* Copyright (c) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
mit
YOTOV-LIMITED/Windows-Driver-Frameworks
src/framework/umdf/fxlib/librarycommon/fxlibrarycommon.h
1287
// // Copyright (C) Microsoft. All rights reserved. // #ifndef __FX_LIBRARY_COMMON_H__ #define __FX_LIBRARY_COMMON_H__ #ifdef __cplusplus extern "C" { #endif // __cplusplus extern ULONG WdfLdrDbgPrintOn; extern PCHAR WdfLdrType; extern WDFVERSION WdfVersion; extern RTL_OSVERSIONINFOW gOsVersion; #define _LIT_...
mit
VivaceVivo/cucumber-mod-DI
core/src/main/java/cucumber/runtime/xstream/ListConverter.java
1391
package cucumber.runtime.xstream; import cucumber.deps.com.thoughtworks.xstream.converters.SingleValueConverter; import java.util.ArrayList; import java.util.List; class ListConverter implements SingleValueConverter { private final String delimiter; private final SingleValueConverter delegate; public Li...
mit
dreamsxin/LuxEngine
external/physx/Include/vs2013/geometry/PxHeightFieldSample.h
5119
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
mit
darlk/BeeFramework_Android
src/com/external/activeandroid/serializer/UtilDateSerializer.java
1106
package com.external.activeandroid.serializer; /* * Copyright (C) 2010 Michael Pardo * * 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....
mit
imzcy/JavaScriptExecutable
thirdparty/qt53/include/QtXmlPatterns/5.3.0/QtXmlPatterns/private/qacceltreebuilder_tpl_p.h
16410
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Li...
mit
northdakota/platform
src/Oro/Bundle/TranslationBundle/Tests/Unit/Command/OroTranslationPackCommandTest.php
7533
<?php namespace Oro\Bundle\TranslationBundle\Tests\Unit\Command; use Symfony\Component\Console\Tester\CommandTester; use Symfony\Bundle\FrameworkBundle\Console\Application; use Oro\Bundle\TranslationBundle\Tests\Unit\Command\Stubs\TestKernel; use Oro\Bundle\TranslationBundle\Command\OroTranslationPackCommand; class...
mit
lucas-ez/inaturalist
db/migrate/20150319205049_add_some_indices.rb
233
class AddSomeIndices < ActiveRecord::Migration def change add_index :updates, :created_at add_index :observations, :created_at add_index :observations, :observed_on add_index :identifications, :created_at end end
mit
pingdomserver/scout-plugins
freeradius_stats/test.rb
1566
require File.expand_path('../../test_helper.rb', __FILE__) require File.expand_path('../freeradius_stats.rb', __FILE__) class FreeradiusStatsTest < Test::Unit::TestCase def setup @options = parse_defaults("freeradius_stats") end def teardown end def test_clean_run # Stub the plugin instance where ...
mit
Jiayili1/corefx
src/System.IO.Ports/tests/SerialPort/Read_char_int_int_Generic.cs
18965
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.IO.PortsTests; using System.Text; using System.Threading; using System.Thread...
mit
johantenbroeke/zoekr
zoekr/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.h
2510
// // FKFlickrGroupsDiscussRepliesGetInfo.h // FlickrKit // // Generated by FKAPIBuilder. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef NS_ENUM(NSInteger, FKFlickrGroupsDiscussRepliesGe...
mit
mwoynarski/KunstmaanBundlesCMS
src/Kunstmaan/CacheBundle/Form/Varnish/BanType.php
844
<?php namespace Kunstmaan\CacheBundle\Form\Varnish; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; /** * Class BanType. */ class BanType extends AbstractT...
mit
spotify/robolectric
shadows/framework/src/main/java/org/robolectric/shadows/ShadowArrayAdapter.java
620
package org.robolectric.shadows; import android.widget.ArrayAdapter; import org.robolectric.annotation.Implements; import org.robolectric.annotation.RealObject; import org.robolectric.util.ReflectionHelpers; @SuppressWarnings("UnusedDeclaration") @Implements(ArrayAdapter.class) public class ShadowArrayAdapter<T> exte...
mit
nischay13144/railscasts
spec/lib/code_formatter_spec.rb
1988
require File.dirname(__FILE__) + '/../spec_helper' describe CodeFormatter do def format(text) CodeFormatter.new(text).to_html end it "determines language based on file path" do formatter = CodeFormatter.new("") formatter.language("unknown").should eq("unknown") formatter.language("hello.rb").sho...
mit
YOTOV-LIMITED/Windows-Driver-Frameworks
src/framework/shared/inc/primitives/um/mxpagedlockum.h
2118
/*++ Copyright (c) Microsoft Corporation ModuleName: MxPagedLockUm.h Abstract: User mode implementation of paged lock defined in MxPagedLock.h Author: Revision History: --*/ #pragma once typedef struct { CRITICAL_SECTION Lock; bool Initialized; DWORD OwnerThreadId; } MdPage...
mit
TelerikAcademy/JavaScript-UI-and-DOM
Practical Exams/28-March-2017/Task-3_Tabs/task/css/tabs.css
751
.list { margin: 0; padding: 0; list-style-type: none; font-size: 0; } .list .list-item { margin: 0; padding: 0; font-size: 1rem } .tabs-control { height: 600px; width: 600px; display: inline-block; border: 1px solid black; } .list-titles { background: #eee } .list-tit...
mit
egoitzro/poedit
deps/db/docs/java/com/sleepycat/util/package-frame.html
2168
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_03) on Fri Dec 18 17:26:35 EST 2009 --> <TITLE> com.sleepycat.util (Oracle - Berkeley DB Java API) </TITLE> <META NAME="date" CONTENT="2009-12-18"> ...
mit
arjes/rails
activesupport/lib/active_support/xml_mini/libxmlsax.rb
2092
require "libxml" require "active_support/core_ext/object/blank" require "stringio" module ActiveSupport module XmlMini_LibXMLSAX #:nodoc: extend self # Class that will build the hash while the XML document # is being parsed using SAX events. class HashBuilder include LibXML::XML::SaxParser::Ca...
mit
scstauf/ajax-docs
controls/spell/changes-and-backward-compatibility/overview.md
1728
--- title: Overview page_title: Changes and Backward Compatibility Overview | RadSpell for ASP.NET AJAX Documentation description: Overview slug: spell/changes-and-backward-compatibility/overview tags: overview published: True position: 0 --- # Changes and Backward Compatibility Overview ## Telerik RadSpe...
mit
scen/ionlib
src/sdk/hl2_ob/public/mathlib/vmatrix.h
29234
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// // // VMatrix always postmultiply vectors as in Ax = b. // Given a set of basis vectors ((F)orward, (L)eft, ...
mit
dwaynebailey/poedit
deps/db/docs/java/com/sleepycat/persist/class-use/DatabaseNamer.html
10075
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_03) on Fri Dec 18 17:26:37 EST 2009 --> <TITLE> Uses of Interface com.sleepycat.persist.DatabaseNamer (Oracle - Berkeley DB Java API) </TITLE> <META...
mit
vijayanandau/KnowledgeShare
makahiki/apps/widgets/prizes/tests/individual_prize_tests.py
5225
"""Individual test""" import datetime from django.test import TransactionTestCase from django.contrib.auth.models import User from apps.managers.player_mgr.models import Profile from apps.utils import test_utils from apps.managers.challenge_mgr.models import RoundSetting class OverallPrizeTest(TransactionTestCase):...
mit
ornicar/mithril.js
archive/v0.1.2/mithril.redraw.html
4726
<!doctype html> <html> <head> <title>Mithril</title> <link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic" rel="stylesheet" /> <link href="lib/prism/prism.css" rel="stylesheet" /> <link href="style.css" rel="stylesheet" /> </head> <body> <header> <nav class="container"> <a href="in...
mit
PiotrDabkowski/Js2Py
tests/test_cases/language/expressions/bitwise-xor/S11.10.2_A3_T2.3.js
802
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y) es5id: 11.10.2_A3_T2.3 description: > Type(x) is different from Type(y) and both types vary between Number (primitive ...
mit
petebacondarwin/angular
packages/bazel/test/protractor-utils/index_test.ts
557
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {runServer} from '../../src/protractor/utils'; describe('Bazel protractor utils', () => { it('should be a...
mit
jack0331/peddler
lib/mws/feeds.rb
27
require 'mws/feeds/client'
mit
genlu/roslyn
src/VisualStudio/Core/Test.Next/Services/PerformanceTrackerServiceTests.cs
7698
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; usi...
mit
ramonornela/Zebra
library/Zend/Gdata/YouTube/Extension/ReleaseDate.php
1444
<?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 a...
mit
ocombe/angular
packages/core/test/acceptance/inherit_definition_feature_spec.ts
155194
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {state, style, trigger} from '@angular/animations'; import {Component, ContentChildren, Directive, EventEmitte...
mit
maocubillos/pnt2015
src/bower_components/bootstrap/node_modules/npm-shrinkwrap/node_modules/npm/html/doc/cli/npm-dist-tag.html
5801
<!doctype html> <html> <title>npm-dist-tag</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-dist-tag.html"> <script async=true src="../../static/toc.js"></script>...
mit
liuderchi/atom
packages/one-light-ui/README.md
1321
## One Light UI theme A light UI theme that adapts to most syntax themes. ![One light UI](https://cloud.githubusercontent.com/assets/378023/26246819/0826f04e-3cd6-11e7-98eb-cd94bc48b090.png) > The font used in the screenshot is [Fira Mono](https://github.com/mozilla/Fira). ### Install This theme comes bundled wit...
mit
AxelSparkster/axelsparkster.github.io
node_modules/tsutils/typeguard/type.js
357
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); tslib_1.__exportStar(require("./2.9/type"), exports); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInR5cGUudHMiXSwibmFtZXMiOltdLCJ...
mit
shines77/jemalloc-win32-3.6.0
include/jemalloc/jemalloc_defs.h
859
/* include/jemalloc/jemalloc_defs.h. Generated from jemalloc_defs.h.in by configure. */ /* Defined if __attribute__((...)) syntax is supported. */ #ifndef _MSC_VER #define JEMALLOC_HAVE_ATTR #endif /* Support the experimental API. */ #define JEMALLOC_EXPERIMENTAL /* * Define overrides for non-standard allocator-re...
mit
okwow123/djangol2
example/env/lib/python2.7/site-packages/allauth/socialaccount/providers/douban/views.py
1354
import requests from django.utils.translation import ugettext as _ from allauth.socialaccount.providers.oauth2.views import ( OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView, ) from ..base import ProviderException from .provider import DoubanProvider class DoubanOAuth2Adapter(OAuth2Adapter): pro...
mit
LanceMcCarthy/ajax-docs
controls/ajax/client-side-programming/how-to/forcing-a-postback.md
1413
--- title: Forcing a Postback page_title: Forcing a Postback | RadAjax for ASP.NET AJAX Documentation description: Forcing a Postback slug: ajax/client-side-programming/how-to/forcing-a-postback tags: forcing,a,postback published: True position: 3 --- # Forcing a Postback ## If you want to perform...
mit
clanplaid/wow.clanplaid.net
vendor/plugins/authentication/app/models/role.rb
313
class Role < ActiveRecord::Base has_and_belongs_to_many :users before_validation :camelize_title validates_uniqueness_of :title def camelize_title(role_title = self.title) self.title = role_title.to_s.camelize end def self.[](title) find_or_create_by_title(title.to_s.camelize) end end
mit
abock/roslyn
src/Compilers/Core/CodeAnalysisTest/MetadataReferences/MetadataReferencePropertiesTests.cs
4674
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Linq; using Roslyn.Test.Utilities; using Xunit; nam...
mit
tchoulihan/frostwire-jlibtorrent
src/com/frostwire/jlibtorrent/SessionStatus.java
9844
package com.frostwire.jlibtorrent; import com.frostwire.jlibtorrent.swig.dht_lookup_vector; import com.frostwire.jlibtorrent.swig.dht_routing_bucket_vector; import com.frostwire.jlibtorrent.swig.session_status; import java.util.ArrayList; import java.util.List; /** * Contains session wide state and counters. * * ...
mit
angeloocana/ramda
test/compose.js
1837
var assert = require('assert'); var jsv = require('jsverify'); var R = require('..'); var eq = require('./shared/eq'); describe('compose', function() { it('is a variadic function', function() { eq(typeof R.compose, 'function'); eq(R.compose.length, 0); }); it('performs right-to-left function composit...
mit
Vlatombe/jenkins
core/src/main/java/hudson/cli/Connection.java
9707
/* * The MIT License * * Copyright (c) 2011, CloudBees, 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 * to use, c...
mit
velocic/opengl-tutorial-solutions
22-loading-3d-models/src/utilities.cpp
909
#include <utilities.h> #include <fstream> namespace Utilities { namespace Math { double degreesToRadians(double angle) { return (angle * PI) / 180; } double radiansToDegrees(double angle) { return angle * (180/PI); } } namespace...
mit
manorius/printing_with_node
node_modules/johnny-five/lib/evshield.js
6044
var Emitter = require("events").EventEmitter; var shared; function Bank(options) { this.address = options.address; this.io = options.io; this.io.i2cConfig(); } Bank.prototype.read = function(register, numBytes, callback) { if (register) { this.io.i2cRead(this.address, register, numBytes, callback); } el...
mit
gazarenkov/che-sketch
ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/editor/gutter/Gutters.java
1006
/******************************************************************************* * Copyright (c) 2012-2017 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
epl-1.0
gazarenkov/che-sketch
wsmaster/che-core-api-ssh-shared/src/main/java/org/eclipse/che/api/ssh/shared/Constants.java
1038
/******************************************************************************* * Copyright (c) 2012-2017 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
epl-1.0
mnmn111/ec-cube-global
tests/class/util/SC_Utils/SC_Utils_getRealURLTest.php
2732
<?php $HOME = realpath(dirname(__FILE__)) . "/../../../.."; require_once($HOME . "/tests/class/Common_TestCase.php"); /* * This file is part of EC-CUBE * * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * This program is free software; you can redistribute it and/or ...
gpl-2.0
T0MM0R/magento
web/lib/Zend/Validate/Barcode/Gtin14.php
1429
<?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...
gpl-2.0
eric-shell/badcamp-d8
modules/devel/devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php
16625
<?php /** * @file * Contains \Drupal\devel_generate\Plugin\DevelGenerate\ContentDevelGenerate. */ namespace Drupal\devel_generate\Plugin\DevelGenerate; use Drupal\comment\CommentManagerInterface; use Drupal\Component\Utility\SafeMarkup; use Drupal\Core\Datetime\DateFormatterInterface; use Drupal\Core\Entity\Entit...
gpl-2.0
TaymourReda/-https-github.com-adempiere-adempiere
base/src/org/compiere/model/X_AD_ImpFormat.java
6439
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
gpl-2.0
shakalaca/ASUS_ZenFone_A450CG
external/proguard/src/proguard/obfuscate/MappingPrinter.java
4505
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publ...
gpl-2.0
vk-com/kphp-kdb
drinkless/dl-utils.c
13193
/* This file is part of VK/KittenPHP-DB-Engine Library. VK/KittenPHP-DB-Engine 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 of the License, or (at your optio...
gpl-2.0
vanfanel/scummvm
engines/ags/engine/ac/dynobj/cc_gui.cpp
1695
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
gpl-2.0
sjmudd/MaxScale
Documentation/Tutorials/Notification-Service.md
2753
# MaxScale Notification Service and Feedback Support Massimiliano Pinto Last Updated: 10th March 2015 ## Contents ## Document History <table> <tr> <td>Date</td> <td>Change</td> <td>Who</td> </tr> <tr> <td>10th March 2015</td> <td>Initial version</td> <td>Massimiliano Pinto</td> </tr...
gpl-2.0
grate-driver/linux-2.6
drivers/scsi/lpfc/lpfc_nportdisc.c
66895
/******************************************************************* * This file is part of the Emulex Linux Device Driver for * * Fibre Channel Host Bus Adapters. * * Copyright (C) 2004-2009 Emulex. All rights reserved. * * EMULEX and SLI are trademarks of Emulex....
gpl-2.0
grueni/pacemaker
include/crm/common/iso8601.h
4567
/* * Copyright (C) 2005 Andrew Beekhof <andrew@beekhof.net> * * This program 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 of the License, or (at your option) any later vers...
gpl-2.0