code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
tbenthompson/actor-framework
libcaf_io/src/doorman.cpp
C++
bsd-3-clause
2,350
/***************************************************************************** Copyright (c) 2015, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source cod...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/LAPACKE/src/lapacke_zgghd3.c
C
bsd-3-clause
4,268
require 'test_helper' class SpiderKpisControllerTest < ActionController::TestCase # Replace this with your real tests. test "the truth" do assert true end end
cdebortoli/scpm
test/functional/spider_kpis_controller_test.rb
Ruby
bsd-3-clause
170
var searchData= [ ['gamepad_20axes',['Gamepad axes',['../group__gamepad__axes.html',1,'']]], ['gamepad_20buttons',['Gamepad buttons',['../group__gamepad__buttons.html',1,'']]] ];
DweebsUnited/CodeMonkey
resources/glfw3.3/docs/html/search/groups_2.js
JavaScript
bsd-3-clause
183
/* Copyright (c) by respective owners including Yahoo!, Microsoft, and individual contributors. All rights reserved. Released under a BSD (revised) license as described in the file LICENSE. */ #pragma once #include "vw_clr.h" #include "vw_base.h" #include "vw_example.h" #include "vowpalwabbit.h" namespace VW { ...
raosudha89/vowpal_wabbit
cs/cli/vw_builder.h
C
bsd-3-clause
4,202
from bravado_core.spec import Spec import mock from pyramid.config import Configurator from pyramid.registry import Registry import pytest from swagger_spec_validator.common import SwaggerValidationError import pyramid_swagger from pyramid_swagger.model import SwaggerSchema @mock.patch('pyramid_swagger.register_api_...
analogue/pyramid_swagger
tests/includeme_test.py
Python
bsd-3-clause
3,308
/* * Copyright (c) 2012, Michael Lehn, Klaus Pototzky * * 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...
d-tk/FLENS
cxxlapack/interface/lagtm.h
C
bsd-3-clause
3,962
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008-2016. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
JLLeitschuh/allwpilib
wpilibjIntegrationTests/src/main/java/edu/wpi/first/wpilibj/test/TestSuite.java
Java
bsd-3-clause
13,796
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013, Image Engine Design 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: // // * R...
chippey/gaffer
include/GafferImage/Grade.h
C
bsd-3-clause
4,179
#ifndef ALIANALYSISTASKCOMBINHF_H #define ALIANALYSISTASKCOMBINHF_H /* Copyright(c) 1998-2018, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id: $ */ ///************************************************************************* /// \c...
kreisl/AliPhysics
PWGHF/vertexingHF/AliAnalysisTaskCombinHF.h
C
bsd-3-clause
16,713
--TEST-- phpunit -c ../_files/configuration_stop_on_incomplete.xml ./tests/_files/StopOnErrorTestSuite.php --FILE-- <?php declare(strict_types=1); $_SERVER['argv'][] = '--do-not-cache-result'; $_SERVER['argv'][] = '-c'; $_SERVER['argv'][] = \realpath(__DIR__ . '/../../_files/configuration_stop_on_incomplete.xml'); $_SE...
Firehed/phpunit
tests/end-to-end/execution-order/stop-on-incomplete-via-config.phpt
PHP
bsd-3-clause
650
require('babel/register'); var pm2 = require('pm2'); pm2.connect(function() { pm2.start({ name: 'server', script: 'server/server.js', 'exec_mode': 'cluster', instances: '2', 'max_memory_restart': '900M' }, function() { pm2.disconnect(); }); });
mattkuo/freecodecamp
pm2Start.js
JavaScript
bsd-3-clause
275
<?php /** * Created by PhpStorm. * User: kristjan * Date: 9.03.15 * Time: 11:59 */ namespace Application\Entity\User; use Application\Entity\AbstractEntity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="user_provider") * */ class Provider extends AbstractEntity{ /** * @var...
kristjanAnd/skeletonSocialUser
module/Application/src/Application/Entity/User/Provider.php
PHP
bsd-3-clause
1,495
--- docid: absolute-position title: Absolute positioning layout: docs permalink: /docs/absolute-position/ --- The `Position` property tells Flexbox how you want your item to be positioned within its parent. There are 2 options: * `Relative` (default) * `Absolute` An item marked with `Position = Absolute` is position...
rmarinho/yoga
docs/_docs/flexbox/absolute-position.md
Markdown
bsd-3-clause
1,893
ZfcUserDoctrineORM ================== Version 0.0.1 Created by Evan Coury and the ZF-Commons team Introduction ------------ ZfcUserDoctrineORM is a Doctrine2 ORM storage adapter for [ZfcUser](https://github.com/ZF-Commons/ZfcUser). Dependencies ------------ - [ZfcUser](https://github.com/ZF-Commons/ZfcUser) - [Doctr...
Pol-Valentin/sooyoos
vendor/zf-commons/zfc-user-doctrine-orm/README.md
Markdown
bsd-3-clause
444
<!DOCTYPE html> <html> <style> div { position: absolute; width: 50px; height: 50px; -webkit-transform: rotate3d(0, 0, 1, 10deg) scale(5, 5); } #red { top: 200px; left: 200px; background-color: red; } #green { top: 200px; left: 200px; background-color: green; } </style> </hea...
ondra-novak/blink
LayoutTests/fast/sub-pixel/sub-pixel-composited-layer-with-transform-expected.html
HTML
bsd-3-clause
480
/* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the New BSD License. * See the accompanying LICENSE file for terms. */ package com.yahoo.gondola.container; import com.fasterxml.jackson.databind.ObjectMapper; import com.yahoo.gondola.Config; import org.apache.curator.framework.CuratorFramework; import...
patc888/gondola
containers/registration/src/main/java/com/yahoo/gondola/container/RegistryClients.java
Java
bsd-3-clause
1,376
package org.hisp.dhis.setting; /* * Copyright (c) 2004-2016, University of Oslo * 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...
mortenoh/dhis2-core
dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/setting/SystemSettingManagerTest.java
Java
bsd-3-clause
6,442
<div class='fossil-doc' data-title='bench::in - Benchmarking/Performance tools'> <style> HTML { background: #FFFFFF; color: black; } BODY { background: #FFFFFF; color: black; } DIV.doctools { margin-left: 10%; margin-right: 10%; } DIV.doctools H1,DIV.doctools H2 { margin-left: ...
macports/macports-base
vendor/tcllib-1.18/embedded/www/tcllib/files/modules/bench/bench_read.html
HTML
bsd-3-clause
6,872
/* * Copyright (c) 2018 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 condi...
zzuegg/jmonkeyengine
jme3-bullet/src/main/java/com/jme3/bullet/collision/CollisionFlag.java
Java
bsd-3-clause
3,292
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
0x0all/arrayfire
src/backend/opencl/kernel/match_template.hpp
C++
bsd-3-clause
3,203
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('hhlregistrations', '0004_auto_20150411_1935'), ] operations = [ migrations.AddField( model_name='event', ...
hacklab-fi/hhlevents
hhlevents/apps/hhlregistrations/migrations/0005_auto_20150412_1806.py
Python
bsd-3-clause
592
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @pack...
gustavoeidt/ceranium
vendor/zendframework/zendframework/library/Zend/Mail/Storage/Message.php
PHP
bsd-3-clause
2,562
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "go.h" /// uses arithmetic int mpcmpfixflt(Mpint *a, Mpflt *b) { char buf[500]; Mpflt c; snprint(buf, sizeof(buf), "%B", a); mpatoflt(&c, buf); ...
8l/go-learn
src/cmd/gc/mparith1.c
C
bsd-3-clause
6,306
var fs = require("fs"); var path = require("path"); var util = require("util"); var cssParse = require("css-parse"); var cssStringify = require("css-stringify"); var parseString = require("plist").parseString; function parseTheme(themeXml, callback) { parseString(themeXml, function(_, theme) { callback(the...
ezoapp/aceeditor
tool/tmtheme.js
JavaScript
bsd-3-clause
12,884
using System.Data; using Orchard.Data.Migration; using Orchard.ContentManagement.MetaData; using Orchard.Core.Contents.Extensions; using Orchard.Indexing; using oforms.Models; namespace oforms { public class Migrations : DataMigrationImpl { public int Create() { // Creating table OFormPartReco...
dminik/voda_code
src/packages/Orchard.Module.oforms.1.9.1/Content/Modules/oforms/Migrations.cs
C#
bsd-3-clause
7,099
/* * Copyright (C) 2009 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
axinging/chromium-crosswalk
third_party/WebKit/Source/modules/storage/StorageNamespace.cpp
C++
bsd-3-clause
2,623
// SDLECallInfo.h // #import "SDLRPCMessage.h" @class SDLVehicleDataNotificationStatus; @class SDLECallConfirmationStatus; @interface SDLECallInfo : SDLRPCStruct { } - (instancetype)init; - (instancetype)initWithDictionary:(NSMutableDictionary *)dict; @property (strong) SDLVehicleDataNotificationStatus *eCallNot...
davidswi/sdl_ios
SmartDeviceLink/SDLECallInfo.h
C
bsd-3-clause
496
// 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. #ifndef CHROME_BROWSER_UI_WINDOW_SIZER_H_ #define CHROME_BROWSER_UI_WINDOW_SIZER_H_ #pragma once #include "base/basictypes.h" #include "base/memory/s...
aYukiSekiguchi/ACCESS-Chromium
chrome/browser/ui/window_sizer.h
C
bsd-3-clause
6,177
# 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. from tracing.mre import job as job_module class Failure(object): def __init__(self, job, function_handle_string, trace_canonical_url, fai...
catapult-project/catapult
tracing/tracing/mre/failure.py
Python
bsd-3-clause
1,876
package org.broadinstitute.hellbender.tools.spark.sv.discovery.alignment; import htsjdk.samtools.Cigar; import htsjdk.samtools.CigarElement; import htsjdk.samtools.CigarOperator; import htsjdk.samtools.TextCigarCodec; import org.broadinstitute.hellbender.GATKBaseTest; import org.broadinstitute.hellbender.exceptions.GA...
magicDGS/gatk
src/test/java/org/broadinstitute/hellbender/tools/spark/sv/discovery/alignment/ContigAlignmentsModifierUnitTest.java
Java
bsd-3-clause
31,806
// // AboutWISTViewController.h // WIST SDK Version 1.0.0 // // Portions contributed by Retronyms (www.retronyms.com). // Copyright 2011 KORG INC. All rights reserved. // #import <UIKit/UIKit.h> @interface AboutWISTViewController : UIViewController <UIWebViewDelegate> { @private NSString* pageUrl_; UIWe...
Apolotary/KORG-Wist-SDK
WIST/AboutWISTViewController.h
C
bsd-3-clause
394
{% extends "pact/chw/pact_chw_profile_base.html" %} {% load i18n %} {% block actor-tab-container %} <div class="span6"> <table class="table table-striped table-bordered"> <tr> <th>{% trans "Username" %}</th> <td>{{ user_doc.username }}</td> </tr> ...
puttarajubr/commcare-hq
custom/_legacy/pact/templates/pact/chw/pact_chw_profile_info.html
HTML
bsd-3-clause
1,436
<?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\dispatcher; us...
Umisoft/umi.framework-dev
library/hmvc/dispatcher/DispatchContext.php
PHP
bsd-3-clause
2,663
from django import forms from django.contrib import admin from django.contrib.admin import AdminSite from django.contrib.auth.backends import ModelBackend from django.contrib.auth.middleware import AuthenticationMiddleware from django.contrib.contenttypes.admin import GenericStackedInline from django.contrib.messages.m...
wkschwartz/django
tests/admin_checks/tests.py
Python
bsd-3-clause
32,171
// 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 "sky/compositor/clip_rrect_layer.h" namespace sky { namespace compositor { ClipRRectLayer::ClipRRectLayer() { } ClipRRectLayer::~ClipRRectLaye...
mdakin/engine
sky/compositor/clip_rrect_layer.cc
C++
bsd-3-clause
611
/* * Copyright (c) 2009-2018 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 ...
atomixnmc/jmonkeyengine
jme3-lwjgl/src/main/java/com/jme3/input/lwjgl/LwjglMouseInput.java
Java
bsd-3-clause
7,267
# Non functional issues - ~~Fix broken build~~ - ~~Add a license~~ - ~~Build file~~ - ~~Test build on TeamCity~~ - ~~NuSpec~~ # Functional issues ## To complete - Extra tests that prove that an identifier can't be null (repository) - Complete tests for test result - Complete tests for aggregate scenario test specif...
yreynhout/AggregateSource
docs/backlog.md
Markdown
bsd-3-clause
1,480
// 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 "mojo/gles2/command_buffer_client_impl.h" #include <stddef.h> #include <stdint.h> #include <limits> #include <utility> #include "base/logging....
axinging/chromium-crosswalk
mojo/gles2/command_buffer_client_impl.cc
C++
bsd-3-clause
12,441
########################################################################## # # Copyright (c) 2013-2014, John Haddon. 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 ...
lucienfostier/gaffer
python/GafferOSLUI/OSLImageUI.py
Python
bsd-3-clause
9,411
// 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. Polymer({ is: 'viewer-error-screen', properties: { text: String, reloadFn: { type: Object, value: null, } }, show: funct...
Chilledheart/chromium
chrome/browser/resources/pdf/elements/viewer-error-screen/viewer-error-screen.js
JavaScript
bsd-3-clause
437
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
rserban/chrono
src/chrono_models/vehicle/marder/Marder_TrackAssemblySinglePin.h
C
bsd-3-clause
2,014
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
hainm/pythran
third_party/boost/simd/sdk/simd/pack/grammar.hpp
C++
bsd-3-clause
735
import django.db.models.deletion import oauthlib.common from django.db import migrations, models def move_existing_token(apps, schema_editor): ServiceAccount = apps.get_model("account", "ServiceAccount") for service_account in ServiceAccount.objects.iterator(): service_account.tokens.create( ...
maferelo/saleor
saleor/account/migrations/0034_service_account_token.py
Python
bsd-3-clause
1,717
// RUN: %clang_cc1 -fxray-instrument \ // RUN: -fxray-instrumentation-bundle=function-entry -x c++ \ // RUN: -std=c++11 -triple x86_64-unknown-unknown -emit-llvm -o - %s \ // RUN: | FileCheck --check-prefixes CHECK,SKIPEXIT %s // RUN: %clang_cc1 -fxray-instrument \ // RUN: -fxray-instrumentation-bundle=...
endlessm/chromium-browser
third_party/llvm/clang/test/CodeGen/xray-attributes-skip-entry-exit.cpp
C++
bsd-3-clause
1,120
import six from django import template from oscar.core.loading import get_model from django.utils.translation import ugettext_lazy as _ from django.core.urlresolvers import resolve, Resolver404 from oscar.apps.customer import history from oscar.core.compat import urlparse Site = get_model('sites', 'Site') register =...
MrReN/django-oscar
oscar/templatetags/history_tags.py
Python
bsd-3-clause
1,884
// Copyright 2013 tsuru 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 api import ( "encoding/json" "fmt" "net/http" "strconv" "time" "github.com/tsuru/tsuru/app" "github.com/tsuru/tsuru/auth" tsuruErrors "github.c...
ArxdSilva/tsuru
api/deploy.go
GO
bsd-3-clause
12,975
/* * Copyright (c) 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. * */ #include <gt...
linearregression/bistro
bistro/utils/test/test_background_thread.cpp
C++
bsd-3-clause
1,838
create index if not exists in_programinstance_trackedentityinstanceid on programinstance (trackedentityinstanceid); create index if not exists in_relationshipitem_trackedentityinstanceid on relationshipitem (trackedentityinstanceid); create index if not exists in_relationshipitem_programinstanceid on relationshipitem (...
dhis2/dhis2-core
dhis-2/dhis-support/dhis-support-db-migration/src/main/resources/org/hisp/dhis/db/migration/2.36/V2_36_29__Add_indexes_in_relationshipitem_and_programinstance_tables.sql
SQL
bsd-3-clause
456
<?php ############################################################################# # IMDBPHP (c) Giorgos Giagas & Itzchak Rehberg # # written by Giorgos Giagas # # extended & maintained by Itzchak Rehberg <izzysoft AT qumran DOT org> ...
GeoffreyDijkstra/spotweb
vendor/imdbphp/imdbphp/demo/movie.php
PHP
bsd-3-clause
17,085
// 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_MODULES_SHAPEDETECTION_TEXT_DETECTOR_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_SHAPEDETECTION_TEXT_DETECTOR_H_ #in...
scheib/chromium
third_party/blink/renderer/modules/shapedetection/text_detector.h
C
bsd-3-clause
1,743
/* * Copyright (C) 2013 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...
axinging/chromium-crosswalk
third_party/WebKit/Source/core/events/EventPath.h
C
bsd-3-clause
4,224
<?php /* * Phake - Mocking Framework * * Copyright (c) 2010-2012, Mike Lively <m@digitalsandwich.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: * * * Redistributions of sou...
kore/Phake
src/Phake/CallRecorder/IVerifierMode.php
PHP
bsd-3-clause
2,540
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
hainm/pythran
third_party/boost/simd/reduction/functions/simd/sse/sse2/all.hpp
C++
bsd-3-clause
1,367
package org.motechproject.testing.utils.server; import org.mortbay.jetty.Request; import org.mortbay.jetty.Server; import org.mortbay.jetty.servlet.Context; import org.mortbay.jetty.servlet.DefaultServlet; import org.mortbay.jetty.servlet.ServletHolder; import org.motechproject.commons.api.MotechException; import jav...
bruceMacLeod/motech-server-pillreminder-0.18
modules/testing-utils/testing-utils/src/main/java/org/motechproject/testing/utils/server/StubServer.java
Java
bsd-3-clause
2,714
// Copyright (c) 2015 The Chromium Embedded Framework 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 file was generated by the CEF translato...
zmike/cef-rebase
libcef_dll/ctocpp/pdf_print_callback_ctocpp.cc
C++
bsd-3-clause
1,792
/* * Copyright (c) 2016, The OpenThread Authors. * 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 ...
vaas-krish/openthread
src/core/thread/thread_uri_paths.hpp
C++
bsd-3-clause
5,620
// Copyright 2010-2015, 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 condit...
takahashikenichi/mozc
src/android/tests/src/com/google/android/inputmethod/japanese/session/SocketSessionHandlerTest.java
Java
bsd-3-clause
5,612
// 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 CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ #include <string> #include <vector>...
mou4e/zirconium
content/renderer/pepper/pepper_webplugin_impl.h
C
bsd-3-clause
4,383
// 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 "webkit/fileapi/async_file_util_adapter.h" #include "base/bind.h" #include "base/sequenced_task_runner.h" #include "base/task_runner_util.h"...
zcbenz/cefode-chromium
webkit/fileapi/async_file_util_adapter.cc
C++
bsd-3-clause
10,138
vtk_module(vtkInfovisBoostGraphAlgorithms DEPENDS vtkInfovisCore vtkCommonExecutionModel TEST_DEPENDS vtkRenderingOpenGL vtkTestingRendering vtkInteractionStyle vtkIOInfovis vtkViewsInfovis vtkRenderingFreeTypeOpenGL vtkChartsCore vtkViewsContext2D )
biddisco/VTK
Infovis/BoostGraphAlgorithms/module.cmake
CMake
bsd-3-clause
297
// 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 "components/safe_browsing_db/v4_get_hash_protocol_manager.h" #include <memory> #include <vector> #include "base/base64.h" #include "base/memory...
axinging/chromium-crosswalk
components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc
C++
bsd-3-clause
15,698
<?php /* Prototype : string convert_cyr_string ( string $str , string $from , string $to ) * Description: Convert from one Cyrillic character set to another * Source code: ext/standard/string.c */ echo "*** Testing convert_cyr_string() : basic functionality ***\n"; $str = "Convert from one Cyrillic character ...
JSchwehn/php
testdata/fuzzdir/corpus/ext_standard_tests_strings_convert_cyr_string_basic.php
PHP
bsd-3-clause
701
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
youtube/cobalt
third_party/llvm-project/libcxx/test/support/charconv_test_helpers.h
C
bsd-3-clause
5,765
public class FemaleBoss extends Woman { public FemaleBoss(){ super(); } public String react(String complement, String adj, String noun, String verb) { if(complementNumber==0) return "This is highly inappropriate."; else if(complementNumber==1){ if((noun.equals("work-ethic")||noun.equals("dream...
mike-n-7/PeepholeOptimizer
PeepholeBenchmarks/bench06/FemaleBoss.java
Java
bsd-3-clause
2,077
package org.scalajs.junit import org.junit.Assert._ import org.junit.Test import org.scalajs.junit.utils._ class AssertEqualsTest { @Test def test(): Unit = { assertEquals(false, true) } } class AssertEqualsTestAssertions extends JUnitTest with FailureFrameworkArgs { override val expectedFail: Int = 1 ...
xuwei-k/scala-js
junit-test/shared/src/test/scala/org/scalajs/junit/AssertEqualsTest.scala
Scala
bsd-3-clause
720
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" /> <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script> <script type="text/javascrip...
kidaa/elixir-json
docs/modules_list.html
HTML
bsd-3-clause
9,650
// // DifferentiableOperation.java: Source file for 'DifferentiableOperation' // Project xal // // Created by Tom Pelaia II on 4/29/11 // Copyright 2011 Oak Ridge National Lab. All rights reserved. // package xal.tools.math.differential; import org.junit.*; /** Test DifferentiableOperation */ public class TestDiffe...
EuropeanSpallationSource/openxal
test/src/test/java/xal/tools/math/differential/TestDifferentiableOperation.java
Java
bsd-3-clause
7,038
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2010-2015, Image Engine Design 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: // // ...
lento/cortex
include/IECoreHoudini/ToHoudiniQuatAttribConverter.h
C
bsd-3-clause
3,101
INC=. LIB=. # Get INC and LIB from Make.user ifeq (exists, $(shell [ -e ./Make.user ] && echo exists )) include ./Make.user endif test-salt2model : test_salt2model.o g++ -DUSELAPACK -DgFortran -g -Wall -O3 -Wl,-rpath,$(LIB) -L$(LIB) -o test-salt2model test_salt2model.o -lsnfit -llapack -lblas -llapack -lgfortran te...
sncosmo/sncosmo
misc/Makefile
Makefile
bsd-3-clause
609
--- layout: data_model title: AttachmentsType this_version: 1.1.1 --- <div class="alert alert-danger bs-alert-old-docs"> <strong>Heads up!</strong> These docs are for STIX 1.1.1, which is not the latest version (1.2). <a href="/data-model/1.2/EmailMessageObj/AttachmentsType">View the latest!</a> </div> <div class...
jburns12/stixproject.github.io
data-model/1.1.1/EmailMessageObj/AttachmentsType/index.html
HTML
bsd-3-clause
1,711
<?php /* Copyright (c) 2005, Till Brehm, projektfarm Gmbh 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...
idrassi/ispconfig_ovh_hosting
ispconfig3_install/interface/web/mail/mail_alias_del.php
PHP
bsd-3-clause
2,087
# Copyright 2019 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. import sys import config_util # pylint: disable=import-error # This class doesn't need an __init__ method, so we disable the warning # pylint: disable=no...
endlessm/chromium-browser
third_party/depot_tools/fetch_configs/devtools-frontend.py
Python
bsd-3-clause
1,092
<?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...
magicobject/zf2
tests/Zend/Text/FigletTest.php
PHP
bsd-3-clause
8,443
<?php function testfunc ($var) { echo "testfunc $var\n"; } class foo { public $arr = array('testfunc'); function bar () { $this->arr[0]('testvalue'); } } $a = new foo (); $a->bar (); ?>
JSchwehn/php
testdata/fuzzdir/corpus/tests_lang_bug25652.php
PHP
bsd-3-clause
210
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="https://ajax.googleapis.com/ajax/lib...
alaevka/olam
frontend/web/fonts/exo2_bold_macroman/Exo2-Bold-demo.html
HTML
bsd-3-clause
25,093
// Copyright 2019 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.chrome.browser.autofill_assistant; import static androidx.test.espresso.Espresso.onView; import static androidx.test.espresso.assert...
ric2b/Vivaldi-browser
chromium/chrome/android/features/autofill_assistant/javatests/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantInfoBoxUiTest.java
Java
bsd-3-clause
6,693
/* table reflow widget for TableSorter 2/7/2015 (v2.19.0) * Requires tablesorter v2.8+ and jQuery 1.7+ * Also, this widget requires the following default css (modify as desired) / * REQUIRED CSS: change your reflow breakpoint here (35em below) * / @media ( max-width: 35em ) { .ui-table-reflow td, .ui-tab...
herrthiesen/pb-webapp
web/lib/tablesorter-master/js/widgets/widget-reflow.js
JavaScript
mit
5,344
package org.ripple.bouncycastle.pqc.jcajce.provider.rainbow; import java.security.InvalidAlgorithmParameterException; import java.security.KeyPair; import java.security.SecureRandom; import java.security.spec.AlgorithmParameterSpec; import org.ripple.bouncycastle.crypto.AsymmetricCipherKeyPair; import org.ripple.boun...
xdv/ripple-lib-java
ripple-bouncycastle/src/main/java/org/ripple/bouncycastle/pqc/jcajce/provider/rainbow/RainbowKeyPairGeneratorSpi.java
Java
isc
2,494
<!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.5.0_13) on Fri Mar 28 02:22:43 EDT 2008 --> <TITLE> PolyShapes </TITLE> <META NAME="keywords" CONTENT="org.jbox2d.testbed.tests.PolyShapes class"> <LIN...
cr0ybot/MIRROR
libraries/JBox2D/doc/org/jbox2d/testbed/tests/PolyShapes.html
HTML
mit
10,992
require 'spec_helper' describe EmployeeDepartmentEvent do end
SumitMunot/fedena-upgradation
spec/models/employee_department_event_spec.rb
Ruby
mit
63
#include <math.h> #include "mex.h" void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { /* Variables */ int n, s,s1,s2,n1,n2,e, yInd, nNodes, nEdges, maxState, sizeEdgeBel[3], sizeLogZ[2], *y, *edgeEnds, *nStates; double pot,Z, *nodePot, *edgePot, *nodeBel...
ClaireXie/edgeGuidedSDSP
utils/UGM/mex/UGM_Infer_ExactC.c
C
mit
3,034
require 'test_helper' class ArticlesControllerTest < ActionController::TestCase test "should get index" do get :index assert_response :success assert_not_nil assigns(:articles) end test "should get new" do get :new assert_response :success end test "should create article" do assert_...
seouri/medvane3
test/functional/articles_controller_test.rb
Ruby
mit
1,040
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > If thisArg is null or undefined, the called function is passed the global object as the this value es5id: 15.3.4.4_A3_T9 description: Checking by using eval, argumen...
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/Function/prototype/call/S15.3.4.4_A3_T9.js
JavaScript
mit
564
'use strict'; /** * This module contains a variety of generic promise wrapped `node.child_process.spawn` commands * @module childProcess */ const R = require('ramda'); const Q = require('q'); /** this is not a constant for unit testing purposes */ let spawn = require('child_process').spawn; const util = require...
rangle/the-clusternator
src/cli-wrappers/child-process.js
JavaScript
mit
5,520
.contextMenu { font-family: Verdana,Arial,Helvetica,sans-serif; } .contextMenu li.reply a { background-image: url(/content/data/icons/png/comment_16.png); } .contextMenu li.subscribe a { background-image: url(/content/data/icons/png/cloudy_16.png); } .contextMenu li.unsubscribe a { background-image: url...
dragon96/nbproject
content/data/css/contextmenu.css
CSS
mit
1,357
"use strict"; const ICollectionBase = require("./ICollectionBase"); const IGuild = require("./IGuild"); const Utils = require("../core/Utils"); const rest = require("../networking/rest"); /** * @interface * @extends ICollectionBase */ class IGuildCollection extends ICollectionBase { constructor(discordie, value...
Gamecloud-Solutions/streambot
node_modules/discordie/lib/interfaces/IGuildCollection.js
JavaScript
mit
2,152
# Copyright (c) 2012 National ICT Australia Limited (NICTA). # This software may be used and distributed solely under the terms of the MIT license (License). # You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT. # By downloading or using this software you accept the terms and ...
mytestbed/omf
omf_rc/test/omf_rc/message_process_error_spec.rb
Ruby
mit
723
package openblocks.client.renderer.tileentity.tank; import net.minecraftforge.common.util.ForgeDirection; import openmods.utils.Diagonal; public interface ITankConnections { public VerticalConnection getTopConnection(); public VerticalConnection getBottomConnection(); public HorizontalConnection getHorizontalCo...
PrinceOfAmber/OpenBlocks
src/main/java/openblocks/client/renderer/tileentity/tank/ITankConnections.java
Java
mit
416
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param root: The root of binary tree. @return: True if this Binary tree is Balanced, or false. """ def isBalanced(self, root): # ...
Chasego/codirit
jiuzhang/Nine Chapters/3 Binary Tree & Divide Conquer/py/BalancedBinaryTree_rec.py
Python
mit
873
package org.sql2o; import org.sql2o.converters.Converter; import org.sql2o.converters.ConverterException; import org.sql2o.data.LazyTable; import org.sql2o.data.Row; import org.sql2o.data.Table; import org.sql2o.data.TableResultSetIterator; import org.sql2o.logging.LocalLoggerFactory; import org.sql2o.logging.Logger; ...
mugizico/sql2o
core/src/main/java/org/sql2o/Query.java
Java
mit
29,709
// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_VERSION_H #define BITCOIN_VERSION_H #include "clientversion.h" #include <string> // // client versioning // stat...
greencoin-dev/digitalcoin
src/version.h
C
mit
1,583
/** * @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 { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing'; import { Schema as Applicatio...
clydin/angular-cli
packages/schematics/angular/service-worker/index_spec.ts
TypeScript
mit
9,921
/* * Copyright (c) 2011-2015 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * 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/LICE...
donkeybonks/ts16-accumulator
firmware/ts16-bms-master/mbed-os/features/FEATURE_COMMON_PAL/mbed-client-c/source/libNsdl/src/include/sn_grs.h
C
mit
6,225
input { padding: 10px; font-size: 18px; }
gilbox/elegant-react-og
examples/phone-input/app.css
CSS
mit
46
require "rbconfig" require 'test/unit' require 'puma/cli' require 'tempfile' class TestCLI < Test::Unit::TestCase def setup @environment = 'production' @tmp_file = Tempfile.new("puma-test") @tmp_path = @tmp_file.path @tmp_file.close! @tmp_path2 = "#{@tmp_path}2" File.unlink @tmp_path if Fil...
vickeeyz/passty
vendor/bundle/ruby/2.0.0/gems/puma-2.0.1/test/test_cli.rb
Ruby
mit
4,000
# Changelog ## 0.4.5 (2016-03-27) This is a compatibility release that backports some changes from the v0.5 release branch. You should consider upgrading to the v0.5 release. * Fix: PHP 5.6+ uses new SSL/TLS context options backported (#65 by @clue) * Fix: Move SSL/TLS context options to SecureConnector (#43 by @clu...
AndreiMariusSili/EnactusMVC
vendor/react/socket-client/CHANGELOG.md
Markdown
mit
1,529
#include "rpcconsole.h" #include "ui_rpcconsole.h" #include "clientmodel.h" #include "bitcoinrpc.h" #include "guiutil.h" #include <QTime> #include <QTimer> #include <QThread> #include <QTextEdit> #include <QKeyEvent> #include <QUrl> #include <QScrollBar> #include <openssl/crypto.h> // TODO: make it possible to filt...
FairCoinTeam/fair-coin
src/qt/rpcconsole.cpp
C++
mit
14,507
/** * @file Scharr.cpp * @brief mex interface for Scharr * @author Kota Yamaguchi * @date 2011 */ #include "mexopencv.hpp" using namespace std; using namespace cv; /** * Main entry called from Matlab * @param nlhs number of left-hand-side arguments * @param plhs pointers to mxArrays in the left-hand-side * @p...
Rachine/VisualPlaceRecognition
urban_release/lib/cv_kota/src/+cv/Scharr.cpp
C++
mit
1,676
const ButtonBackToTop = FocusComponents.common.button.backToTop.component; const ButtonBTSample = React.createClass({ /** * Render the component. * @return {object} React node */ render() { return ( <div className='button-bt-example'> <img src="http://lorempixel....
Ephrame/focus-components
src/common/button/back-to-top/example/index.js
JavaScript
mit
919