repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
jonbakerfish/kgraph
test.cpp
4008
/* Copyright (C) 2010,2011 Wei Dong <wdong.pku@gmail.com>. All Rights Reserved. DISTRIBUTION OF THIS PROGRAM IN EITHER BINARY OR SOURCE CODE FORM MUST BE PERMITTED BY THE AUTHOR. */ #ifndef KGRAPH_VALUE_TYPE #define KGRAPH_VALUE_TYPE float #endif #include <cctype> #include <type_traits> #include <iostrea...
bsd-2-clause
robohack/homebrew-core
Formula/speedtest-cli.rb
577
class SpeedtestCli < Formula desc "Command-line interface for https://speedtest.net bandwidth tests" homepage "https://github.com/sivel/speedtest-cli" url "https://github.com/sivel/speedtest-cli/archive/v1.0.7.tar.gz" sha256 "3853bb7a3d16f686441d0d10ebbfc1fd49e974ecf17248ce03456ad4ef2478b9" head "https://gith...
bsd-2-clause
attilaz/bgfx
examples/common/entry/entry.cpp
21992
/* * Copyright 2011-2019 Branimir Karadzic. All rights reserved. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #include <bx/bx.h> #include <bx/file.h> #include <bx/sort.h> #include <bgfx/bgfx.h> #include <time.h> #if BX_PLATFORM_EMSCRIPTEN # include <emscripten.h> #endif // BX_PLATFORM_EMSC...
bsd-2-clause
DrItanium/electron-platform
sys/src/electron/msgcom.c
40001
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.24 06/02/06 */ /* */ /* ...
bsd-2-clause
kit-transue/software-emancipation-discover
psethome/lib/Learn/src/ttt/include/application.H
2370
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
bsd-2-clause
eegeo/eegeo-example-app
src/SearchMenu/View/SearchWidgetController.cpp
14669
// Copyright WRLD Ltd (2018-), All Rights Reserved #include "SearchWidgetController.h" #include "SearchResultSectionItemSelectedMessage.h" #include "SearchServicesResult.h" #include "IMenuSectionViewModel.h" #include "NavigateToMessage.h" #include "IMenuView.h" #include "IMenuOption.h" #include "MenuItemModel.h" #incl...
bsd-2-clause
L2G/homebrew-cask
Casks/delivery-status.rb
658
cask :v1 => 'delivery-status' do version '6.1.2' sha256 'f39afd137c99df16baf149c60f1a982edb9485f6211f4aefb9cad19af7a51514' url "http://junecloud.com/get/delivery-status-widget?#{version}" homepage 'http://junecloud.com/software/mac/delivery-status.html' license :oss widget 'Delivery Status.wdgt' caveats...
bsd-2-clause
khmseu/asn1c
libasn1compiler/asn1compiler.h
2584
#ifndef ASN1_COMPILER_H #define ASN1_COMPILER_H #include <asn1parser.h> enum asn1c_flags { A1C_NOFLAGS, /* * Debug the compiler. */ A1C_DEBUG = 0x0001, /* * Do not split the target output in several files, just print it. * (Note: the output is not likely to be compilable in this case). */ A1C_PRINT_CO...
bsd-2-clause
renegelinas/mi-instrument
mi/dataset/parser/metbk_a_dcl.py
7536
#!/usr/bin/env python """ @package mi.dataset.parser.metbk_a_dcl @file marine-integrations/mi/dataset/parser/metbk_a_dcl.py @author Ronald Ronquillo @brief Parser for the metbk_a_dcl dataset driver This file contains code for the metbk_a_dcl parsers and code to produce data particles. For telemetered data, there is o...
bsd-2-clause
eegeo/eegeo-example-app
src/AboutPage/SdkModel/AboutPageMenuModule.h
1027
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #pragma once #include <string> #include <vector> #include "IAboutPageMenuModule.h" #include "AboutPage.h" #include "BidirectionalBus.h" #include "IIdentity.h" #include "IMetricsService.h" #include "Menu.h" #include "Reaction.h" #include "Search.h" #include "Typ...
bsd-2-clause
rolandshoemaker/cfssl
csr/csr.go
10628
// Package csr implements certificate requests for CFSSL. package csr import ( "crypto" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "errors" "net" "net/mail" "strings" cferr "github.com/cloudflare/cfssl/errors" "github.com/cloudflare/cfssl/...
bsd-2-clause
troyxmccall/homebrew-cask
Casks/gitahead.rb
404
cask 'gitahead' do version '2.6.1' sha256 'a4dbbbd7c72c34acfdcad94d5217dfba00a16c64440d3a2f155a937a94d87fff' url "https://github.com/gitahead/gitahead/releases/download/v#{version}/GitAhead-#{version}.dmg" appcast 'https://github.com/gitahead/gitahead/releases.atom' name 'GitAhead' homepage 'https://github...
bsd-2-clause
forkch/scrabble_ar
examples/book_androidstudio/VuforiaJME/app/src/main/jni/QCAR/ImageTarget.h
3422
/*=============================================================================== Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved. Vuforia is a trademark of QUALCOMM Incorporated, registered in the United States and other countries. Trademarks of QUALCOMM Incorporated are used with pe...
bsd-2-clause
rogeriopradoj/frapi-without-vhost
tests/phpunit/PHPUnit/Tests/Extensions/Database/AllTests.php
3257
<?php /** * PHPUnit * * Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>. * 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 m...
bsd-2-clause
DomT4/homebrew-core
Formula/amazon-ecs-cli.rb
1127
class AmazonEcsCli < Formula desc "CLI for Amazon ECS to manage clusters and tasks for development" homepage "https://aws.amazon.com/ecs" url "https://github.com/aws/amazon-ecs-cli/archive/v1.7.0.tar.gz" sha256 "b25d3defae2977aa696532b0e68afebd1e587f90eb4c39c64883a4c15906e19b" bottle do cellar :any_skip_...
bsd-2-clause
01org/TPM2.0-TSS
src/tss2-sys/api/Tss2_Sys_SetDecryptParam.c
2652
/* SPDX-License-Identifier: BSD-2-Clause */ /***********************************************************************; * Copyright (c) 2015 - 2018, Intel Corporation * All rights reserved. ***********************************************************************/ #ifdef HAVE_CONFIG_H #include <config.h> #endif #includ...
bsd-2-clause
Aweary/relay
src/tools/__tests__/transformRelayQueryPayload-test.js
4969
/** * Copyright 2013-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. * * @emails oncall+r...
bsd-3-clause
CyberAnalyticDevTeam/SimpleRock
roles/kibana/files/profile.d-kibanapw.sh
438
# Set passwords function kibanapw() { if [ $# -lt 2 ]; then echo -e "Usage: kibanapw USER PASSWORD\nUsers will be added to /etc/nginx/htpasswd.users"; else egrep "^${1}:" /etc/lighttpd/rock-htpasswd.user > /dev/null 2>&1; if [[ $? -eq 0 ]]; then sudo sed -i "/${1}\:/d" /etc/lighttpd/rock-htpasswd.user; fi; printf "${1}...
bsd-3-clause
flutter/engine
shell/platform/android/test/io/flutter/embedding/android/FlutterActivityAndFragmentDelegateTest.java
49478
package io.flutter.embedding.android; import static android.content.ComponentCallbacks2.*; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertThrows; import static org.mockito.ArgumentMatchers.any; i...
bsd-3-clause
tequa/ammisoft
ammimain/WinPython-64bit-2.7.13.1Zero/python-2.7.13.amd64/Lib/site-packages/jedi/evaluate/sys_path.py
10686
import glob import os import sys from jedi.evaluate.site import addsitedir from jedi._compatibility import exec_function, unicode from jedi.parser import tree from jedi.parser import ParserWithRecovery from jedi.evaluate.cache import memoize_default from jedi import debug from jedi import common from jedi.evaluate.com...
bsd-3-clause
pozdnyakov/chromium-crosswalk
ui/base/ui_base_switches.cc
4544
// 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 "ui/base/ui_base_switches.h" namespace switches { // Disables use of DWM composition for top level windows. const char kDisableDwmCompositi...
bsd-3-clause
alexkolar/Wooey
wooey/urls.py
3225
from __future__ import absolute_import from django.conf.urls import include, url from django.conf import settings from django.conf.urls.static import static from . import views from . import settings as wooey_settings wooey_patterns = [ url(r'^jobs/command$', views.celery_task_command, name='celery_task_command'...
bsd-3-clause
piyushsh/choco3
choco-solver/src/test/java/org/chocosolver/solver/search/ParetoTest.java
6565
/* * Copyright (c) 1999-2015, Ecole des Mines de Nantes * 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...
bsd-3-clause
kore/Phake
src/Phake/Stubber/Answers/ExceptionAnswer.php
2595
<?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...
bsd-3-clause
NCIP/cagrid
cagrid/Software/core/caGrid/projects/opensaml/src/gov/nih/nci/cagrid/opensaml/artifact/SAMLArtifactType0002.java
10727
/* * Copyright 2001-2005 Internet2 * * 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
g1o/trinityrnaseq
util/support_scripts/SAM_coordSorted_fragment_Read_coverage_writer.pl
2050
#!/usr/bin/env perl use strict; use warnings; use FindBin; use lib ("$FindBin::RealBin/../../PerlLib"); use SAM_reader; use SAM_entry; my $usage = "usage: $0 coordSorted.file.sam\n\n"; my $sam_file = $ARGV[0] or die $usage; main: { my %scaffold_to_coverage; # will retain all coverage information. my $sam_re...
bsd-3-clause
trueos/pcdm
src-qt5/PCDM/i18n/PCDM_en_ZA.ts
8374
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1"> <context> <name>FancySwitcher</name> <message> <source>Alt+Left</source> <translation>Alt+Left</translation> </message> <message> <source>Alt+Right</source> <translation>Alt+Right</translation> </...
bsd-3-clause
programerjakarta/tokojaya
frontend/views/transaksi/view.php
1021
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model frontend\models\Penjualan */ $this->title = $model->idpenjualan; $this->params['breadcrumbs'][] = ['label' => 'Penjualans', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="penjualan...
bsd-3-clause
ChromeDevTools/devtools-frontend
node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread.js
1330
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each"; import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js/object/get-own-property-descriptor"; import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter"; import _concatInstanceProperty ...
bsd-3-clause
ds-hwang/chromium-crosswalk
third_party/WebKit/Source/platform/TraceEvent.h
27889
/* * Copyright (C) 2011 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 condit...
bsd-3-clause
peskovsb/shopgit
widgets/views/categories.php
404
<?php use yii\widgets\Menu; /* @var $this yii\web\View */ /* @var $items array */ ?> <div class="panel panel-default"> <div class="panel-heading">Категории</div> <?= Menu::widget([ 'options' => ['class' => 'nav nav-pills nav-stacked'], 'items' => $items, 'submenuTemplate' => "\n<ul c...
bsd-3-clause
bcroq/kansha
kansha/services/dummyassetsmanager/dummyassetsmanager.py
1033
# -*- coding:utf-8 -*- #-- # Copyright (c) 2012-2014 Net-ng. # All rights reserved. # # This software is licensed under the BSD License, as described in # the file LICENSE.txt, which you should have received as part of # this distribution. #-- from nagare import log import pkg_resources from ..assetsmanager import As...
bsd-3-clause
mvaled/sentry
src/sentry/api/endpoints/api_application_details.py
4091
from __future__ import absolute_import import logging from rest_framework import serializers from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from uuid import uuid4 from sentry.api.base import Endpoint, SessionAuthentication from sentry.api.exceptions import Resourc...
bsd-3-clause
aeklant/scipy
scipy/signal/tests/test_ltisys.py
46195
import warnings import numpy as np from numpy.testing import (assert_almost_equal, assert_equal, assert_allclose, assert_, suppress_warnings) from pytest import raises as assert_raises from scipy.signal import (ss2tf, tf2ss, lsim2, impulse2, step2, lti, dlti, bode,...
bsd-3-clause
ixc/plata
plata/reporting/views.py
1080
from django.contrib.admin.views.decorators import staff_member_required from django.shortcuts import get_object_or_404 from pdfdocument.utils import pdf_response import plata import plata.reporting.product import plata.reporting.order @staff_member_required def product_xls(request): """ Returns an XLS conta...
bsd-3-clause
axinging/chromium-crosswalk
third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
8762
/* * Copyright (C) 2007-2011 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 con...
bsd-3-clause
Crystalnix/BitPop
content/renderer/media/video_capture_message_filter_unittest.cc
6977
// 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/message_loop.h" #include "base/shared_memory.h" #include "content/common/media/video_capture_messages.h" #include "content/renderer/med...
bsd-3-clause
daejunpark/jsaf
tests/bug_detector_tests/urierror1.js
100
// d. ii. If k + 2 is greater than or equal to strLen, throw a URIError exception. decodeURI('%1');
bsd-3-clause
chrismayer/geoext2
examples/layeropacityslider/layeropacityslider.js
3626
/* * Copyright (c) 2008-present The Open Source Geospatial Foundation * * Published under the BSD license. * See https://github.com/geoext/geoext2/blob/master/license.txt for the full * text of the license. */ /** api: example[layeropacityslider] * Layer Opacity Slider * -------------------- * Use a slide...
bsd-3-clause
jmock-developers/jmock-library
jmock-imposters-tests/src/test/java/org/jmock/test/acceptance/MockeryFinalizationAcceptanceTests.java
3971
package org.jmock.test.acceptance; import static org.hamcrest.Matchers.isEmptyOrNullString; import static org.junit.Assert.assertThat; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.lang.ref.WeakReference; import org.jmock.Mockery; import org.jmock.api.Imposteriser; import org.jmock.li...
bsd-3-clause
leiferikb/bitpop-private
chrome/browser/media_transfer_protocol/media_transfer_protocol_daemon_client.h
7976
// 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. // Client code to talk to the Media Transfer Protocol daemon. The MTP daemon is // responsible for communicating with PTP / MTP capable devices like c...
bsd-3-clause
darkenk/vixl
test/traces/a64/sim-pmull2-8h-trace-a64.h
25857
// Copyright 2015, ARM Limited // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions a...
bsd-3-clause
beni55/LambdaHack
GameDefinition/Content/ItemKindTemporary.hs
2960
-- | Temporary aspect pseudo-item definitions. module Content.ItemKindTemporary ( temporaries ) where import Data.Text (Text) import Game.LambdaHack.Common.Color import Game.LambdaHack.Common.Dice import Game.LambdaHack.Common.Flavour import Game.LambdaHack.Common.Misc import Game.LambdaHack.Common.Msg import Game.La...
bsd-3-clause
cdcarter/Cumulus
scripts/make_clean_slds_resource.sh
1830
#!/usr/bin/env bash clean_slds_files() { rm -fv $1/assets/fonts/License-for-font.txt rm -fv $1/assets/fonts/*.ttf rm -fv $1/assets/fonts/webfonts/*.eot rm -fv $1/assets/fonts/webfonts/*.svg rm -fv $1/assets/fonts/webfonts/SalesforceSans-Thin.woff rm -fv $1/assets/fonts/webfonts/SalesforceSans-T...
bsd-3-clause
tsheasha/rocksdb
db/merge_helper.cc
12636
// Copyright (c) 2011-present, 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 "db/merge_...
bsd-3-clause
scheib/chromium
content/browser/interest_group/storage_interest_group.cc
966
// Copyright 2021 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 "content/browser/interest_group/storage_interest_group.h" #include "content/services/auction_worklet/public/mojom/bidder_worklet.mojom.h" names...
bsd-3-clause
UITools/saleor
saleor/product/migrations/0038_auto_20171129_0616.py
383
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-11-29 12:16 from __future__ import unicode_literals from django.contrib.postgres.operations import BtreeGinExtension from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('product', '0037_auto_20171124_0847'...
bsd-3-clause
hainm/pythran
third_party/boost/simd/include/functions/simd/insert.hpp
196
#ifndef BOOST_SIMD_INCLUDE_FUNCTIONS_SIMD_INSERT_HPP_INCLUDED #define BOOST_SIMD_INCLUDE_FUNCTIONS_SIMD_INSERT_HPP_INCLUDED #include <boost/simd/memory/include/functions/simd/insert.hpp> #endif
bsd-3-clause
iamciera/IBAMR
ibtk/include/ibtk/private/LDataManager-inl.h
9603
// Filename: LDataManager-inl.h // Created on 10 Dec 2009 by Boyce Griffith // // Copyright (c) 2002-2014, Boyce Griffith // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistribut...
bsd-3-clause
staranjeet/fjord
vendor/packages/translate-toolkit/translate/lang/af.py
3846
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2007 Zuza Software Foundation # # This file is part of translate. # # translate is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of t...
bsd-3-clause
MarshedOut/android_external_pdfium
core/include/fpdfapi/fpdf_resource.h
22806
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ #define CORE_INCLUDE_FPDFAPI_FP...
bsd-3-clause
sudounlv/ircbot-php
Tests/Phergie/Event/HandlerTest.php
10066
<?php /** * Phergie * * PHP version 5 * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE. * It is also available through the world-wide-web at this URL: * http://phergie.org/license * * @category Phergie * @package Phergie_Tests * ...
bsd-3-clause
nyeholt/silverstripe-queuedjobs
src/Services/DefaultQueueHandler.php
497
<?php namespace Symbiote\QueuedJobs\Services; use Symbiote\QueuedJobs\DataObjects\QueuedJobDescriptor; /** * Default method for handling items run via the cron * * @author marcus@symbiote.com.au * @license BSD License http://silverstripe.org/bsd-license/ */ class DefaultQueueHandler { public function startJ...
bsd-3-clause
Brother-Simon/eva-engine
module/Payment/src/Payment/Controller/ResponseController.php
4610
<?php namespace Payment\Controller; use Eva\Mvc\Controller\ActionController, Payment\Service\Exception, Eva\View\Model\ViewModel; class ResponseController extends ActionController { protected $addResources = array( ); public function indexAction() { $adapter = $this->params()->fromQue...
bsd-3-clause
scheib/chromium
components/update_client/updater_state.cc
3368
// Copyright (c) 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/update_client/updater_state.h" #include <string> #include <utility> #include "base/enterprise_util.h" #include "base/strings/s...
bsd-3-clause
davizucon/ChatterBot
tests/corpus_tests/test_corpus.py
3023
from unittest import TestCase from chatterbot.corpus import Corpus import os class CorpusUtilsTestCase(TestCase): def setUp(self): self.corpus = Corpus() def test_get_file_path(self): """ Test that a dotted path is properly converted to a file address. """ path = self...
bsd-3-clause
shrtcww/pymel
maintenance/docs.py
3694
import sys import os import glob import shutil import datetime assert 'pymel' not in sys.modules or 'PYMEL_INCLUDE_EXAMPLES' in os.environ, "to generate docs PYMEL_INCLUDE_EXAMPLES env var must be set before pymel is imported" # remember, the processed command examples are not version specific. you must # run cmdcach...
bsd-3-clause
lucadelu/PDAL
vendor/pdalboost/boost/test/utils/basic_cstring/basic_cstring.hpp
21254
// (C) Copyright Gennadiy Rozental 2001. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version : ...
bsd-3-clause
gtcasl/gpuocelot
tests/parboil/benchmarks/mm/src/cuda/Makefile
399
# (c) 2010 The Board of Trustees of the University of Illinois. include $(PARBOIL_ROOT)/common/mk/common.mk include $(PARBOIL_ROOT)/common/mk/cuda.mk SRCDIR_OBJS=main.o io.o #compute_gold.o EXTRA_LIBS=-lm -lstdc++ EXTRA_CFLAGS=-ffast-math -g3 EXTRA_CXXFLAGS=-ffast-math -g3 LINK_MODE=CUDA all : $(BIN) include $(PA...
bsd-3-clause
guorendong/iridium-browser-ubuntu
chrome/test/base/tracing.cc
5907
// 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/test/base/tracing.h" #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/memory/singleton.h" #include...
bsd-3-clause
scheib/chromium
third_party/blink/renderer/modules/webcodecs/codec_logger.cc
2677
// 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. #include "third_party/blink/renderer/modules/webcodecs/codec_logger.h" #include <string> #include "media/base/media_util.h" #include "third_party/blink/...
bsd-3-clause
broadinstitute/hellbender
src/test/java/org/broadinstitute/hellbender/utils/dragstr/DoubleSequenceTest.java
2666
package org.broadinstitute.hellbender.utils.dragstr; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import java.util.Arrays; import java.util.Iterator; import java.util.stream.IntStream; /** * Unit tests for {@link DoubleSequence} */ public class DoubleSeq...
bsd-3-clause
kitsonk/expo
src/dojox/mobile/IconMenu.js
3265
define([ "dojo/_base/declare", "dojo/_base/sniff", "dojo/dom-class", "dojo/dom-construct", "dojo/dom-style", "dijit/_Contained", "dijit/_Container", "dijit/_WidgetBase", "./IconMenuItem" ], function(declare, has, domClass, domConstruct, domStyle, Contained, Container, WidgetBase){ // module: // dojox/mobile...
bsd-3-clause
zcth428/hpctoolkit111
src/tool/hpcserver/LRUList.hpp
5239
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research and development of //...
bsd-3-clause
youtube/cobalt
third_party/llvm-project/clang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
28706
// Test host codegen. // RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=45 -x c++ -triple powerpc64le-unknown-unknown -fopenmp-targets=powerpc64le-ibm-linux-gnu -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -fopenmp -fopenmp-version=45 -x c++ -std=c++11 -triple powerpc64le-unknown-unknown -fopenmp-targets=pow...
bsd-3-clause
nwjs/chromium.src
ui/platform_window/stub/stub_window.cc
2654
// 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 "ui/platform_window/stub/stub_window.h" #include "base/memory/scoped_refptr.h" #include "base/notreached.h" #include "ui/base/cursor/platform_cu...
bsd-3-clause
scheib/chromium
third_party/blink/renderer/core/layout/ng/inline/ng_inline_layout_algorithm_test.cc
22622
// 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. #include "third_party/blink/renderer/core/layout/ng/ng_base_layout_algorithm_test.h" #include <sstream> #include "third_party/blink/renderer/core/dom/tag...
bsd-3-clause
arthurgwatidzo/dhis2-android-sdk
app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ImportCount.java
3317
/* * Copyright (c) 2015, 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 above copyright notice, this * list of condition...
bsd-3-clause
leighpauls/k2cro4
third_party/libjingle/source/talk/app/webrtc/jsep.h
11642
/* * libjingle * Copyright 2012, Google Inc. * * 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 and the f...
bsd-3-clause
endlessm/chromium-browser
third_party/protobuf/java/core/src/main/java/com/google/protobuf/LongArrayList.java
7711
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
bsd-3-clause
Crystalnix/house-of-life-chromium
content/common/gpu/media/mft_angle_video_device.cc
1786
// 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 "content/common/gpu/media/mft_angle_video_device.h" #include <d3d9.h> #include "media/base/video_frame.h" #include "third_party/angle/src/l...
bsd-3-clause
codeaudit/Foundry
Components/CommonCore/Test/gov/sandia/cognition/evaluator/AbstractStatefulEvaluatorTest.java
5498
/* * File: AbstractStatefulEvaluatorTest.java * Authors: Kevin R. Dixon * Company: Sandia National Laboratories * Project: Cognitive Foundry * * Copyright Jul 7, 2009, Sandia Corporation. * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive...
bsd-3-clause
pawelmhm/splash
splash/response_middleware.py
2510
# -*- coding: utf-8 -*- """ Classes that process (and maybe abort) responses based on various conditions. They should be used with :class:`splash.network_manager.SplashQNetworkAccessManager`. """ from __future__ import absolute_import from PyQt5.QtNetwork import QNetworkRequest from splash.qtutils import request_repr f...
bsd-3-clause
darkrsw/safe
tests/typing_tests/TAJS_micro/test2.js
68
//2 var __result1 = 2; // for SAFE var __expect1 = 2; // for SAFE
bsd-3-clause
ychen820/microblog
src/application/templates/base.html
2403
<!DOCTYPE html> <html lang="en" class="no-js"> {% set bootstrap_version = '3.0.0' %} {% set modernizer_version = '2.6.2' %} {% set jquery_version = '1.9.1' %} {% set parsley_version = '1.1.16' %} {% set awesome_version = '4.0.1' %} {% set bootswatch_version = '3.0.0' %} {% set bootswatch_theme = 'cyborg' %} <head> ...
bsd-3-clause
ric2b/Vivaldi-browser
chromium/chrome/browser/resources/settings/chromeos/os_a11y_page/manage_a11y_page.js
23701
// 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. /** @const {number} */ const DEFAULT_BLACK_CURSOR_COLOR = 0; /** * @fileoverview * 'settings-manage-a11y-page' is the subpage with the accessibility *...
bsd-3-clause
robixnai/xinu-arm
shell/xsh_snoop.c
9885
/** * @file xsh_snoop.c * @provides xsh_snoop * * $Id: xsh_snoop.c 2121 2009-11-06 00:28:33Z kthurow $ */ /* Embedded Xinu, Copyright (C) 2009. All rights reserved. */ #include <stddef.h> #include <conf.h> #include <ipv4.h> #include <shell.h> #include <snoop.h> #include <stdio.h> #include <stdlib.h> #include...
bsd-3-clause
ruriwo/ErgoThumb072_firmware
tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h
18495
/******************************************************************************* * DISCLAIMER * This software is supplied by Renesas Electronics Corporation and is only * intended for use with Renesas products. No other uses are authorized. This * software is owned by Renesas Electronics Corporation and is protected un...
gpl-2.0
ayeletshpigelman/azure-sdk-for-net
sdk/core/Azure.Core/src/SyncAsyncEventHandler.cs
11132
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; namespace Azure.Core { /// <summary> /// Represents a method that can handle an event and execute either /// synchronously or asynchronously. /// </summary> /...
mit
mandino/www.bloggingshakespeare.com
wp-content/plugins/wordpress-seo/src/models/primary-term.php
750
<?php /** * Model for the Primary Term table. * * @package Yoast\YoastSEO\Models */ namespace Yoast\WP\SEO\Models; use Yoast\WP\Lib\Model; /** * Primary Term model definition. * * @property int $id Identifier. * @property int $post_id Post ID. * @property int $term_id Term ID. * @property ...
mit
belzeba/VR
Assets/VRTK/Scripts/VRTK_ControllerActions.cs
27336
// Controller Actions|Scripts|0020 namespace VRTK { using UnityEngine; using System.Collections; using System.Collections.Generic; using Highlighters; [System.Serializable] public class VRTK_ControllerModelElementPaths { public string bodyModelPath = ""; public string trigg...
mit
TracklistMe/client-web
static/fonts/Basic-picto/ie7/ie7.css
17763
.basic-pictohome { *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#x5f;'); } .basic-pictofilecross { *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#x201c;'); } .basic-pictofiledownload { *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#x2018;'); } ...
mit
erikdstock/force
src/v2/DevTools/MockRouter.tsx
1901
import { RouterConfig } from "v2/Artsy/Router" import { buildClientApp } from "v2/Artsy/Router/buildClientApp" import { createMockNetworkLayer, createMockNetworkLayer2, } from "v2/DevTools/createMockNetworkLayer" import { HistoryOptions } from "farce" import { RouteConfig } from "found" import { IMocks } from "grap...
mit
dbrumley/recfi
llvm-3.3/lib/CodeGen/AsmPrinter/DwarfDebug.h
23578
//===-- llvm/CodeGen/DwarfDebug.h - Dwarf Debug Framework ------*- C++ -*--===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
mit
mwoynarski/KunstmaanBundlesCMS
src/Kunstmaan/TaggingBundle/Tests/unit/DependencyInjection/ConfigurationTest.php
696
<?php namespace Kunstmaan\TaggingBundle\Tests\DependencyInjection; use Kunstmaan\TaggingBundle\DependencyInjection\Configuration; use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait; use PHPUnit\Framework\TestCase; /** * Class ConfigurationTest */ class ConfigurationTest extends TestCase { use Co...
mit
minhnguyen-balance/oro_platform
vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Tests/Unit/Event/ResponseHistoryListenerTest.php
8766
<?php namespace Oro\Bundle\NavigationBundle\Tests\Unit\Event; use Oro\Bundle\UserBundle\Entity\User; use Oro\Bundle\NavigationBundle\Entity\NavigationHistoryItem; use Oro\Bundle\NavigationBundle\Event\ResponseHistoryListener; use Oro\Bundle\NavigationBundle\Provider\TitleService; use Symfony\Component\HttpFoundation\...
mit
jonahpelfrey/Badgerloop_Competition_Dashboard
log/client/js/angular/docs/examples/example-ngAnimateChildren/index-production.html
948
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-ngAnimateChildren-production</title> <link href="animations.css" rel="stylesheet" type="text/css"> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.0/angular.min.js"></script> <script src="//ajax.googleapis.c...
mit
pierredup/CSBill
src/CoreBundle/Form/Type/ImageUploadType.php
1863
<?php declare(strict_types=1); /* * This file is part of SolidInvoice project. * * (c) Pierre du Plessis <open-source@solidworx.co> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace SolidInvoice\CoreBundle\Form\Type; use Symfony\Compo...
mit
zouzou73/medicme
src/medicme/ClientApp/app/components/controls/todo-demo.component.css
715
 .navbar .nav > li.toolbaritem > a { font-weight: bold; } input.form-control { border-left-width: 5px; } .control-box { margin-bottom: 5px; } .search-box { margin: 0; } .action-box { margin: 0 15px 0 0; min-height: 0; } .action-box .toolbaritem a { padding-top: 5px; pad...
mit
lucasa/Politicos
src/main/java/org/politicos/config/JacksonConfiguration.java
1060
package org.politicos.config; import com.fasterxml.jackson.datatype.jsr310.ser.ZonedDateTimeSerializer; import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import or...
mit
qiudesong/coreclr
src/vm/interpreter.cpp
418371
// 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. // #include "common.h" #ifdef FEATURE_INTERPRETER #include "interpreter.h" #include "interpreter.hpp" #include "cg...
mit
luberda-molinet/FFImageLoading
samples/ImageLoading.MvvmCross.Sample/FFImageLoading.MvvmCross.Sample.Core/ViewModels/Image.cs
476
using System; using System.Collections.Generic; using FFImageLoading.Transformations; using FFImageLoading.Work; namespace FFImageLoading.MvvmCross.Sample.Core { public class Image { public string Url { get; } public double DownsampleWidth => 200d; public List<ITransformation> Transfor...
mit
Azure/azure-sdk-for-python
sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_configuration.py
2179
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
mit
MSOpenTech/Vipr
src/Core/Vipr.Core/CodeModel/OdcmClass.cs
1000
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace Vipr.Core.CodeModel { public abstract class OdcmClass : OdcmType { public bool IsAbstract { get; ...
mit
appium/node-jscs
test/rules/require-space-after-prefix-unary-operators.js
2695
var Checker = require('../../lib/checker'); var assert = require('assert'); var operators = require('../../lib/utils').unaryOperators; describe('rules/require-space-after-prefix-unary-operators', function() { var checker; beforeEach(function() { checker = new Checker(); checker.registerDefaultR...
mit
pvskand/addictionRemoval
tinymce/src/ui/src/test/js/browser/content/LinkTargetsTest.js
4977
asynctest( 'browser.tinymce.ui.content.LinkTargetsTest', [ 'ephox.mcagar.api.LegacyUnit', 'ephox.agar.api.Pipeline', 'tinymce.ui.content.LinkTargets', 'tinymce.core.util.Arr', 'global!document' ], function (LegacyUnit, Pipeline, LinkTargets, Arr, document) { var success = arguments[argum...
mit
hyonholee/azure-rest-api-specs
specification/datalake-analytics/resource-manager/readme.md
5739
# DataLakeAnalytics > see https://aka.ms/autorest This is the AutoRest configuration file for DataLakeAnalytics. --- ## Getting Started To build the SDK for DataLakeAnalytics, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` To see additional help and options, run:...
mit
nmizoguchi/pfg-r-osgi
ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/util/ScheduleListener.java
2191
/* Copyright (c) 2006-2009 Jan S. Rellermeyer * Systems Group, * Department of Computer Science, ETH Zurich. * 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...
mit
RJFreund/OpenDSA
Exercises/Development/edit-KA.html
2667
<!DOCTYPE html> <!-- Edit Distance, Khan Academy Page Erich Brungraber --> <html data-require="math"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Edit Distance - Khan Academy</title> <script src="../../ODSAkhan-exercises/khan-exercise.js"></script> <script src="../../JS...
mit
kaicataldo/babel
packages/babel-generator/test/fixtures/types/LogicalExpression/output.js
215
foo || bar; (x => x) || bar; (function a(x) { return x; }) || 2; 0 || function () { return alpha; }; a && b && c; a && b && c; a || b || c; a || b || c; a || b && c; a && (b || c); (a || b) && c; a && b || c;
mit