code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/** * Copyright 2012 Comcast 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
KrithikaGanesh/cmb
src/com/comcast/cns/controller/CNSRawMessageDeliveryPolicyPage.java
Java
apache-2.0
5,387
package org.apereo.cas.ticket; import org.apereo.cas.support.oauth.OAuth20Constants; import org.apereo.cas.support.oauth.services.OAuthRegisteredService; import org.apereo.cas.token.JwtBuilder; import org.apereo.cas.util.EncodingUtils; import com.nimbusds.jwt.JWTClaimsSet; import lombok.AccessLevel; import lombok.Get...
fogbeam/cas_mirror
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/ticket/BaseTokenSigningAndEncryptionService.java
Java
apache-2.0
5,013
/* * 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 may ...
chenc10/Spark-PAF
examples/src/main/java/org/apache/spark/examples/ml/JavaPolynomialExpansionExample.java
Java
apache-2.0
2,545
/* * JBoss, Home of Professional Open Source * Copyright 2009 Red Hat Inc. and/or its affiliates and other * contributors as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a full listing of * individual contributors. * * This is free software; you can redistri...
nmldiegues/stibt
infinispan/core/src/test/java/org/infinispan/loaders/decorators/AsyncStoreTest.java
Java
apache-2.0
24,964
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
papicella/snappy-store
tests/core/src/main/java/versioning/newWan/WANConflictResolver.java
Java
apache-2.0
2,212
/* * 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 ...
lukecwik/incubator-beam
sdks/java/io/kinesis/src/main/java/org/apache/beam/sdk/io/kinesis/BasicKinesisProvider.java
Java
apache-2.0
4,391
<?php /** * Created by IntelliJ IDEA. * User: Nikolay Chervyakov * Date: 02.12.2014 * Time: 18:21 */ namespace VulnModule\Vulnerability; use VulnModule\Vulnerability; /** * Class SQL * @package VulnModule\Vulnerability * @Vuln\Vulnerability(name="Cross-site request forgery", "A type of ma...
AdrienKuhn/hackazon
modules/vulninjection/classes/VulnModule/Vulnerability/CSRF.php
PHP
apache-2.0
695
/* * 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")...
Qi4j/qi4j-sdk
core/api/src/main/java/org/apache/polygene/api/service/qualifier/Available.java
Java
apache-2.0
1,786
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.michelboudreau.test; import com.amazonaws.services.dynamodb.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodb.datamodeling.DynamoDBHashKey; import com.amazonaws.services.dynamodb.datamod...
mboudreau/Alternator
src/test/java/com/michelboudreau/test/TestClassWithHashRangeKey.java
Java
apache-2.0
1,515
package socialite.collection; import gnu.trove.map.hash.TLongIntHashMap; public class SLongIntHashMap extends TLongIntHashMap { long prevKey; int prevVal; public SLongIntHashMap(int initCapacity, float f, long noEntryKey, int noEntryValue) { super(initCapacity, f, noEntryKey, noEntryValue); prevKey = noEntry...
nvoron23/socialite
src/socialite/collection/SLongIntHashMap.java
Java
apache-2.0
886
/* * 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/syncope
client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/XMLEditorPanel.java
Java
apache-2.0
2,701
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
papicella/snappy-store
gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/engine/management/AggregateStatementMXBean.java
Java
apache-2.0
4,681
# line 1 'A module docstring.' import sys, inspect # line 5 # line 7 def spam(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h): eggs(b + d, c + f) # line 11 def eggs(x, y): "A docstring." global fr, st fr = inspect.currentframe() st = inspect.stack() p = x q = y // 0 # line 20 class StupidGit...
slozier/ironpython2
Src/StdLib/Lib/test/inspect_fodder.py
Python
apache-2.0
967
#!/usr/bin/env python # Copyright 2015, Rackspace US, 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 applicabl...
byronmccollum/rpc-openstack
maas/plugins/ceph_monitoring.py
Python
apache-2.0
6,319
/* 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...
jonbakerfish/kgraph
test.cpp
C++
bsd-2-clause
4,008
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...
robohack/homebrew-core
Formula/speedtest-cli.rb
Ruby
bsd-2-clause
577
/* * 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...
attilaz/bgfx
examples/common/entry/entry.cpp
C++
bsd-2-clause
21,992
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
kit-transue/software-emancipation-discover
psethome/lib/Learn/src/ttt/include/application.H
C++
bsd-2-clause
2,370
// 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...
eegeo/eegeo-example-app
src/SearchMenu/View/SearchWidgetController.cpp
C++
bsd-2-clause
14,669
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...
L2G/homebrew-cask
Casks/delivery-status.rb
Ruby
bsd-2-clause
658
#!/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...
renegelinas/mi-instrument
mi/dataset/parser/metbk_a_dcl.py
Python
bsd-2-clause
7,536
// 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/...
rolandshoemaker/cfssl
csr/csr.go
GO
bsd-2-clause
10,628
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...
troyxmccall/homebrew-cask
Casks/gitahead.rb
Ruby
bsd-2-clause
404
<?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...
rogeriopradoj/frapi-without-vhost
tests/phpunit/PHPUnit/Tests/Extensions/Database/AllTests.php
PHP
bsd-2-clause
3,257
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_...
DomT4/homebrew-core
Formula/amazon-ecs-cli.rb
Ruby
bsd-2-clause
1,127
/** * 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...
Aweary/relay
src/tools/__tests__/transformRelayQueryPayload-test.js
JavaScript
bsd-3-clause
4,969
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...
flutter/engine
shell/platform/android/test/io/flutter/embedding/android/FlutterActivityAndFragmentDelegateTest.java
Java
bsd-3-clause
49,478
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...
tequa/ammisoft
ammimain/WinPython-64bit-2.7.13.1Zero/python-2.7.13.amd64/Lib/site-packages/jedi/evaluate/sys_path.py
Python
bsd-3-clause
10,686
// 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...
pozdnyakov/chromium-crosswalk
ui/base/ui_base_switches.cc
C++
bsd-3-clause
4,544
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'...
alexkolar/Wooey
wooey/urls.py
Python
bsd-3-clause
3,225
/* * 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...
piyushsh/choco3
choco-solver/src/test/java/org/chocosolver/solver/search/ParetoTest.java
Java
bsd-3-clause
6,565
<?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/Stubber/Answers/ExceptionAnswer.php
PHP
bsd-3-clause
2,595
/* * 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...
NCIP/cagrid
cagrid/Software/core/caGrid/projects/opensaml/src/gov/nih/nci/cagrid/opensaml/artifact/SAMLArtifactType0002.java
Java
bsd-3-clause
10,727
<?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> </...
trueos/pcdm
src-qt5/PCDM/i18n/PCDM_en_ZA.ts
TypeScript
bsd-3-clause
8,374
<?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...
programerjakarta/tokojaya
frontend/views/transaksi/view.php
PHP
bsd-3-clause
1,021
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 ...
ChromeDevTools/devtools-frontend
node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread.js
JavaScript
bsd-3-clause
1,330
<?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...
peskovsb/shopgit
widgets/views/categories.php
PHP
bsd-3-clause
404
# -*- 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...
bcroq/kansha
kansha/services/dummyassetsmanager/dummyassetsmanager.py
Python
bsd-3-clause
1,033
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...
mvaled/sentry
src/sentry/api/endpoints/api_application_details.py
Python
bsd-3-clause
4,091
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,...
aeklant/scipy
scipy/signal/tests/test_ltisys.py
Python
bsd-3-clause
46,195
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...
ixc/plata
plata/reporting/views.py
Python
bsd-3-clause
1,080
/* * 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...
axinging/chromium-crosswalk
third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
C++
bsd-3-clause
8,762
// 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...
Crystalnix/BitPop
content/renderer/media/video_capture_message_filter_unittest.cc
C++
bsd-3-clause
6,977
// d. ii. If k + 2 is greater than or equal to strLen, throw a URIError exception. decodeURI('%1');
daejunpark/jsaf
tests/bug_detector_tests/urierror1.js
JavaScript
bsd-3-clause
100
/* * 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...
chrismayer/geoext2
examples/layeropacityslider/layeropacityslider.js
JavaScript
bsd-3-clause
3,626
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...
jmock-developers/jmock-library
jmock-imposters-tests/src/test/java/org/jmock/test/acceptance/MockeryFinalizationAcceptanceTests.java
Java
bsd-3-clause
3,971
// 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_...
tsheasha/rocksdb
db/merge_helper.cc
C++
bsd-3-clause
12,636
// 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...
scheib/chromium
content/browser/interest_group/storage_interest_group.cc
C++
bsd-3-clause
966
# -*- 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'...
UITools/saleor
saleor/product/migrations/0038_auto_20171129_0616.py
Python
bsd-3-clause
383
#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
hainm/pythran
third_party/boost/simd/include/functions/simd/insert.hpp
C++
bsd-3-clause
196
#!/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...
staranjeet/fjord
vendor/packages/translate-toolkit/translate/lang/af.py
Python
bsd-3-clause
3,846
<?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 * ...
sudounlv/ircbot-php
Tests/Phergie/Event/HandlerTest.php
PHP
bsd-3-clause
10,066
<?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...
nyeholt/silverstripe-queuedjobs
src/Services/DefaultQueueHandler.php
PHP
bsd-3-clause
497
<?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...
Brother-Simon/eva-engine
module/Payment/src/Payment/Controller/ResponseController.php
PHP
bsd-3-clause
4,610
// 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...
scheib/chromium
components/update_client/updater_state.cc
C++
bsd-3-clause
3,368
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...
davizucon/ChatterBot
tests/corpus_tests/test_corpus.py
Python
bsd-3-clause
3,023
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...
shrtcww/pymel
maintenance/docs.py
Python
bsd-3-clause
3,694
// (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 : ...
lucadelu/PDAL
vendor/pdalboost/boost/test/utils/basic_cstring/basic_cstring.hpp
C++
bsd-3-clause
21,254
// 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...
guorendong/iridium-browser-ubuntu
chrome/test/base/tracing.cc
C++
bsd-3-clause
5,907
// 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/...
scheib/chromium
third_party/blink/renderer/modules/webcodecs/codec_logger.cc
C++
bsd-3-clause
2,677
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...
broadinstitute/hellbender
src/test/java/org/broadinstitute/hellbender/utils/dragstr/DoubleSequenceTest.java
Java
bsd-3-clause
2,666
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...
kitsonk/expo
src/dojox/mobile/IconMenu.js
JavaScript
bsd-3-clause
3,265
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research and development of //...
zcth428/hpctoolkit111
src/tool/hpcserver/LRUList.hpp
C++
bsd-3-clause
5,239
// 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...
youtube/cobalt
third_party/llvm-project/clang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
C++
bsd-3-clause
28,706
// 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...
nwjs/chromium.src
ui/platform_window/stub/stub_window.cc
C++
bsd-3-clause
2,654
// 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...
scheib/chromium
third_party/blink/renderer/core/layout/ng/inline/ng_inline_layout_algorithm_test.cc
C++
bsd-3-clause
22,622
/* * 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...
arthurgwatidzo/dhis2-android-sdk
app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ImportCount.java
Java
bsd-3-clause
3,317
// 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: // // ...
endlessm/chromium-browser
third_party/protobuf/java/core/src/main/java/com/google/protobuf/LongArrayList.java
Java
bsd-3-clause
7,711
// 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...
Crystalnix/house-of-life-chromium
content/common/gpu/media/mft_angle_video_device.cc
C++
bsd-3-clause
1,786
/* * 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...
codeaudit/Foundry
Components/CommonCore/Test/gov/sandia/cognition/evaluator/AbstractStatefulEvaluatorTest.java
Java
bsd-3-clause
5,498
# -*- 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...
pawelmhm/splash
splash/response_middleware.py
Python
bsd-3-clause
2,510
//2 var __result1 = 2; // for SAFE var __expect1 = 2; // for SAFE
darkrsw/safe
tests/typing_tests/TAJS_micro/test2.js
JavaScript
bsd-3-clause
68
// 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 *...
ric2b/Vivaldi-browser
chromium/chrome/browser/resources/settings/chromeos/os_a11y_page/manage_a11y_page.js
JavaScript
bsd-3-clause
23,701
// 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> /...
ayeletshpigelman/azure-sdk-for-net
sdk/core/Azure.Core/src/SyncAsyncEventHandler.cs
C#
mit
11,132
<?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 ...
mandino/www.bloggingshakespeare.com
wp-content/plugins/wordpress-seo/src/models/primary-term.php
PHP
mit
750
// 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...
belzeba/VR
Assets/VRTK/Scripts/VRTK_ControllerActions.cs
C#
mit
27,336
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...
erikdstock/force
src/v2/DevTools/MockRouter.tsx
TypeScript
mit
1,901
<?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...
mwoynarski/KunstmaanBundlesCMS
src/Kunstmaan/TaggingBundle/Tests/unit/DependencyInjection/ConfigurationTest.php
PHP
mit
696
<?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\...
minhnguyen-balance/oro_platform
vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Tests/Unit/Event/ResponseHistoryListenerTest.php
PHP
mit
8,766
<?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...
pierredup/CSBill
src/CoreBundle/Form/Type/ImageUploadType.php
PHP
mit
1,863
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...
lucasa/Politicos
src/main/java/org/politicos/config/JacksonConfiguration.java
Java
mit
1,060
// 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...
qiudesong/coreclr
src/vm/interpreter.cpp
C++
mit
418,371
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...
luberda-molinet/FFImageLoading
samples/ImageLoading.MvvmCross.Sample/FFImageLoading.MvvmCross.Sample.Core/ViewModels/Image.cs
C#
mit
476
# 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 ...
Azure/azure-sdk-for-python
sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_configuration.py
Python
mit
2,179
// 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; ...
MSOpenTech/Vipr
src/Core/Vipr.Core/CodeModel/OdcmClass.cs
C#
mit
1,000
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...
appium/node-jscs
test/rules/require-space-after-prefix-unary-operators.js
JavaScript
mit
2,695
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...
pvskand/addictionRemoval
tinymce/src/ui/src/test/js/browser/content/LinkTargetsTest.js
JavaScript
mit
4,977
/* 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...
nmizoguchi/pfg-r-osgi
ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/util/ScheduleListener.java
Java
mit
2,191
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;
kaicataldo/babel
packages/babel-generator/test/fixtures/types/LogicalExpression/output.js
JavaScript
mit
215
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The "in" token can not be used as identifier es5id: 7.6.1.1_A1.13 description: Checking if execution of "in=1" fails negative: SyntaxError ---*/ in = 1;
PiotrDabkowski/Js2Py
tests/test_cases/language/keywords/S7.6.1.1_A1.13.js
JavaScript
mit
299
/*! * jQuery JavaScript Library v1.8.3 -ajax,-ajax/jsonp,-ajax/script,-ajax/xhr,-effects,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Feb 07...
eric-seekas/jquery-builder
dist/1.8.3/jquery-ajax-dimensions-effects.js
JavaScript
mit
217,443
/*global todomvc */ (function () { 'use strict'; /** * The main controller for the app. The controller: * - retrieves and persists the model via the todoStorage service * - exposes the model to the template and provides event handlers */ todomvc.controller('TodoCtrl', function TodoCtrl($scope, $location, todoStora...
xtrasmal/adaptive-speech
demo/js/controllers/todoCtrl.js
JavaScript
mit
5,691
/* * Copyright 2007-2008, Plutext Pty Ltd. * * This file is part of docx4j. docx4j is 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/...
aspose-words/Aspose.Words-for-Java
Plugins/Aspose_Words_Java_for_Docx4j/src/main/java/com/aspose/words/examples/featurescomparison/documents/comments/Docx4jCommentsSample.java
Java
mit
4,780
using System; using System.Collections.Generic; using Cake.Core.Diagnostics; using Cake.Core.Tooling; namespace Cake.Common.Tools.MSBuild { /// <summary> /// Contains settings used by <see cref="MSBuildRunner"/>. /// </summary> public sealed class MSBuildSettings : ToolSettings { private r...
andycmaj/cake
src/Cake.Common/Tools/MSBuild/MSBuildSettings.cs
C#
mit
3,061
'use strict'; var gulp = require('gulp'); var shell = require('gulp-shell'); module.exports = function () { gulp.task('git-add', function () { return gulp.src('*.js', { read: false }).pipe(shell(['git ls-files --others docroot/sites/all | egrep \'.css|.js|.png|.map\' | xargs git add -f'])); }); };
six519/disclose.ph
gulp/git.js
JavaScript
mit
318
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002, 2014 Oracle and/or its affiliates. All rights reserved. * */ package com.sleepycat.persist.evolve; import java.lang.reflect.Method; import com.sleepycat.compat.DbCompat; /** * A mutation for converting an old version of an obj...
prat0318/dbms
mini_dbms/je-5.0.103/src/com/sleepycat/persist/evolve/Converter.java
Java
mit
3,660
module Rack class Offline class Config def initialize(root, &block) @cache = [] @network = [] @fallback = {} @root = root instance_eval(&block) if block_given? end def cache(*names) @cache.concat(names) end def network(*names) ...
kakra/rack-offline
lib/rack/offline/config.rb
Ruby
mit
490
/* * 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...
plumer/codana
tomcat_files/8.0.22/Introspection.java
Java
mit
6,566
# # THIS IS WORK IN PROGRESS # # The Python Imaging Library. # $Id$ # # FlashPix support for PIL # # History: # 97-01-25 fl Created (reads uncompressed RGB images only) # # Copyright (c) Secret Labs AB 1997. # Copyright (c) Fredrik Lundh 1997. # # See the README file for information on usage and redistribution. # fr...
ryfeus/lambda-packs
pytorch/source/PIL/FpxImagePlugin.py
Python
mit
6,282
<?php namespace Backend\Modules\ContentBlocks\Event; final class ContentBlockCreated extends ContentBlockEvent { /** * @var string The name the listener needs to listen to to catch this event. */ const EVENT_NAME = 'content_blocks.event.content_block_created'; }
Thijzer/forkcms
src/Backend/Modules/ContentBlocks/Event/ContentBlockCreated.php
PHP
mit
283