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
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
gmrodrigues/crate
sql/src/test/java/io/crate/operation/scalar/cast/ToLongArrayFunctionTest.java
Java
apache-2.0
5,117
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _lodash = require('lodash'); var _lodash2 = _interopRequireDefault(_lodash); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = function (identifierNode, context) { if...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/react-scripts/node_modules/eslint-plugin-flowtype/dist/utilities/getParameterName.js
JavaScript
apache-2.0
2,290
/* * 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 n...
alexzaitzev/ignite
modules/core/src/main/java/org/apache/ignite/internal/commandline/Arguments.java
Java
apache-2.0
5,289
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/appstream/AppStream_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace AppStream { namespace Model { enum class UsageReportExecutionErr...
aws/aws-sdk-cpp
aws-cpp-sdk-appstream/include/aws/appstream/model/UsageReportExecutionErrorCode.h
C
apache-2.0
809
package com.xxmassdeveloper.mpchartexample.fragments; import android.graphics.Typeface; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.github.mikephil.charting.charts.LineChart; import com.github....
xsingHu/xs-android-architecture
study-view/xs-MPAndroidChartDemo/MPChartExample/src/com/xxmassdeveloper/mpchartexample/fragments/ComplexityFragment.java
Java
apache-2.0
1,590
/* * Copyright 2000-2013 JetBrains s.r.o. * * 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 agre...
mdanielwork/intellij-community
platform/external-system-api/src/com/intellij/openapi/externalSystem/settings/ExternalSystemSettingsListener.java
Java
apache-2.0
2,582
// RUN: %clang_cc1 -verify -fopenmp -x c++ -triple x86_64-unknown-unknown -emit-llvm %s -fexceptions -fcxx-exceptions -o - -fsanitize-address-use-after-scope | FileCheck %s --check-prefix=CHECK --check-prefix=LIFETIME // RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -triple x86_64-unknown-unknown -fexceptions -fcxx-except...
apple/swift-clang
test/OpenMP/for_codegen.cpp
C++
apache-2.0
24,690
/* * 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 ...
alexzaitzev/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteSequenceInternalCleanupTest.java
Java
apache-2.0
4,696
// preprocessed version of 'boost/mpl/vector/vector10.hpp' header // see the original for copyright information namespace boost { namespace mpl { template< typename T0 > struct vector1 : vector_node< 1 , T0 , vector0< > > { }; template< typename T0, typename T1 ...
OLR-xray/OLR-3.0
src/3rd party/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp
C++
apache-2.0
2,235
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" > <title>New Zealand 2013 - Proposal</title> <meta name="author" content="John Willis" > <link rel="alternate" type="ap...
benjohnson77/devopsdays-web
static/events/2013-newzealand/proposals/WhatIsaDevops/index.html
HTML
apache-2.0
7,765
/****************************************************************************** * Copyright 2018 The Apollo Authors. 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 ...
xiaoxq/apollo
cyber/transport/transceiver/shm_transceiver_test.cc
C++
apache-2.0
5,224
/* * Copyright 2014 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
emeroad/pinpoint
plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/interceptor/CassandraDriverConnectInterceptor.java
Java
apache-2.0
5,580
/****************************************************************************** * Copyright 2018 The Apollo Authors. 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 ...
xiaoxq/apollo
modules/planning/planner/navi/navi_planner_test.cc
C++
apache-2.0
1,424
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/N...
vovagrechka/fucking-everything
phizdets/phizdetsc/src/com/google/gwt/dev/js/rhino/IRFactory.java
Java
apache-2.0
12,742
#!/bin/bash errors=0 OUTPUT=$(mktemp) trap "{ rm -rf $OUTPUT; exit $?; }" SIGINT SIGTERM EXIT # Verify that the ZEROVM_ROOT var is set: if [ -z "${ZEROVM_ROOT}" ]; then echo "Error: ZEROVM_ROOT variable is not set" exit 1 fi cd $ZEROVM_ROOT/tests/functional/include make -s clean all for i in $(find $ZEROVM_...
zerovm/zerovm
ftests.sh
Shell
apache-2.0
765
# coding=utf-8 from django_sae.contrib.tasks.cron import OperationView from django_sae.contrib.tasks.operations import TaskOperationMixin class OperationViewMock(OperationView): def get_operation(self, request): return [TaskOperationMixin() for _ in range(0, 3)]
zl352773277/django-sae
django_sae/contrib/tasks/tests/views.py
Python
apache-2.0
276
<?php /** * PHP Version 5 * * @category Amazon * @package MarketplaceWebServiceOrders * @copyright Copyright 2008-2009 Amazon.com, Inc. or its affiliates. All Rights Reserved. * @link http://aws.amazon.com * @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0 * @ver...
ivory883/amazon-mws-php-fork
src/MarketplaceWebServiceOrders/Model/MaxResults.php
PHP
apache-2.0
1,720
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/diag/prdf/common/framework/resolution/xspprdFlagResolution.C $ */ /* ...
Over-enthusiastic/hostboot
src/usr/diag/prdf/common/framework/resolution/xspprdFlagResolution.C
C++
apache-2.0
2,687
/* * ContentModuleParserTest.java * JUnit based test * * Created on February 2, 2005, 3:35 PM */ package com.rometools.modules.content; import java.io.File; import java.util.List; import com.rometools.modules.AbstractTestCase; import com.rometools.modules.content.ContentItem; import com.rometools.modules.content...
icyerasor/rome-modules
src/test/java/com/rometools/modules/content/ContentModuleParserTest.java
Java
apache-2.0
1,930
import os import yaml from google.cloud import storage from google.oauth2 import service_account from .storage import Storage class GcsStorage(Storage): def __init__(self, bucket, path, project=None, json_path=None): if bucket is None: raise ValueError('Bucket must be supplied to GCS storage') ...
skim1420/spinnaker
spinbot/storage/gcs_storage.py
Python
apache-2.0
1,786
## Usage of objectives An objective function (or loss function, or optimization score function) is one of the two parameters required to compile a model: **Scala:** ```scala model.compile(loss = "mean_squared_error", optimizer = "sgd") ``` **Python:** ```python model.compile(loss='mean_squared_error',...
intel-analytics/analytics-zoo
docs/docs/KerasStyleAPIGuide/Optimization/objectives.md
Markdown
apache-2.0
7,752
// TODO: remove from `core-js@4` require('../../../modules/esnext.string.match-all'); var parent = require('../../../stable/string/virtual/match-all'); module.exports = parent;
cloudfoundry-community/asp.net5-buildpack
fixtures/node_apps/angular_dotnet/ClientApp/node_modules/core-js/features/string/virtual/match-all.js
JavaScript
apache-2.0
179
// Copyright © 2016 Google. All rights reserved. @import GoogleMobileAds; @import UIKit; @interface MDIBannerViewController : UIViewController /// Designated initializer. Initializes a new instance with ad size. - (instancetype)initWithAdSize:(GADAdSize)size NS_DESIGNATED_INITIALIZER; /// Unavailable. - (instancet...
InMobi/sdk-partners-code
partner-adapter-codes/admob/AdMob-Adapter-iOS-master/AdMob-iOSTestApp/TestApp/TestApp/MDIBannerViewController.h
C
apache-2.0
585
<div> <h3>第二十章</h3> <p>1厥后、摩押人、亚扪人、及米乌尼人、来攻约沙法、</p> <p>2或告约沙法曰、有群众自海外亚兰来攻尔、今在哈洗逊他玛、即隐基底、</p> <p>3约沙法惧、决意寻求耶和华、于犹大全地、宣告禁食、</p> <p>4犹大人自诸邑而来、会集寻求耶和华、</p> <p>5约沙法立于犹大及耶路撒冷会中、在耶和华室之新院前、</p> <p>6曰、我列祖之上帝耶和华欤、尔非天上上帝乎、尔非治万民诸国乎、尔手有能有力、无人能御尔也、</p> <p>7我上帝欤、斯土居民、尔非逐于尔民以色列前、以此地锡予尔友亚伯拉罕之裔、至于永久乎、</p> <p>8彼乃居之、为尔名而建圣所、</p...
yighu/wenli
wenliandroid/unpacked/assets/www/chapter471.html
HTML
apache-2.0
4,160
/************************************************************************************ Filename : VRTouchPadGestureDetector.java Content : Created : Authors : Copyright : Copyright 2014 Oculus VR, Inc. All Rights reserved. Licensed under the Oculus VR SDK License Version 3.0 (the "Licens...
nathan-almeida/GearVRf
GVRf/Sample/gvrf_immersivepedia/src/org/gearvrf/immersivepedia/util/VRTouchPadGestureDetector.java
Java
apache-2.0
8,923
<html> <head> <title>Docs For Class Wsdl</title> <link rel="stylesheet" type="text/css" href="../media/style.css"> </head> <body> <table border="0" cellspacing="0" cellpadding="0" height="48" width="100%"> <tr> <td class="header_top">default</td> </tr> <tr><td class="header_line"><img src="../media/empty.png...
intuit/QuickBooks-V3-PHP-SDK
src/XSD2PHP/docs/default/Wsdl.html
HTML
apache-2.0
67,292
# Copyright 2013 IBM Corp. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
zhangwenyu/packages
volt/volt/openstack/common/sslutils.py
Python
apache-2.0
2,842
/* * 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"); ...
salyh/javamailspec
geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobExecutionIsRunningException.java
Java
apache-2.0
1,344
"""Support to serve the Home Assistant API as WSGI application.""" from __future__ import annotations from ipaddress import ip_network import logging import os import ssl from typing import Any, Final, Optional, TypedDict, cast from aiohttp import web from aiohttp.typedefs import StrOrURL from aiohttp.web_exceptions ...
mezz64/home-assistant
homeassistant/components/http/__init__.py
Python
apache-2.0
14,018
/* * 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 ...
larroy/mxnet
src/operator/numpy/np_nonzero_op.cc
C++
apache-2.0
4,390
//===-- DataFlowSanitizer.cpp - dynamic data flow analysis ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fairly/opencor
src/plugins/thirdParty/LLVM/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
C++
apache-2.0
60,864
/* * 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 not u...
witgo/zen
ml/src/main/scala/com/github/cloudml/zen/ml/neuralNetwork/Layer.scala
Scala
apache-2.0
10,167
/* * #%L * SparkCommerce Framework * %% * Copyright (C) 2009 - 2013 Spark Commerce * %% * 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/LICEN...
akdasari/SparkCore
spark-framework/src/main/java/org/sparkcommerce/core/order/service/manipulation/OrderItemSplitContainer.java
Java
apache-2.0
1,428
#pragma checksum "C:\Users\kkrok\documents\visual studio 2015\Projects\inzChatApp\inzChatApp\dolacz.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6610DC8FD0898BC304E0799F78CF22F7" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by...
panpingusiowy/CzaterV0.1.0
obj/x86/Release/dolacz.g.i.cs
C#
apache-2.0
1,719
--- copyright: years: 2015,2016 --- {:new_window: target=_"blank"} {:shortdesc: .shortdesc} {:screen:.screen} {:codeblock:.codeblock} # Introduzione a {{site.data.keyword.iotrtinsights_full}} {: #gettingstartedtemplate} *Ultimo aggiornamento: 11 febbraio 2016* Con {{site.data.keyword.iotrtinsights_full}} su Blue...
jergirl/MCAProd
services/nl/it/iotrtinsights/index.md
Markdown
apache-2.0
9,429
/** * @license Copyright 2017 The Lighthouse Authors. 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 required by applica...
GoogleChrome/lighthouse
lighthouse-core/audits/accessibility/image-alt.js
JavaScript
apache-2.0
2,432
/** * Copyright 2008 Matthew Hillsdon * * 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 agre...
CoreFiling/reviki
wiki-src/net/hillsdon/reviki/vc/impl/AbstractDelegatingPageStore.java
Java
apache-2.0
5,668
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
gradle/gradle
subprojects/plugins/src/main/java/org/gradle/api/internal/plugins/WindowsStartScriptGenerator.java
Java
apache-2.0
1,080
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
flofreud/aws-sdk-java
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/ApplicationVersionDescription.java
Java
apache-2.0
14,874
/* * -----------------------------------------------------------------------\ * SilverWare *   * Copyright (C) 2010 - 2013 the original author or authors. *   * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a c...
px3/SilverWare-Demos
demos/devconf-2016/gateway/app/src/main/java/io/silverware/demos/devconf/mqtt/IntegrationRoutes.java
Java
apache-2.0
4,183
/* * 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 ...
alexzaitzev/ignite
modules/core/src/test/java/org/apache/ignite/testsuites/IgnitePdsTestSuite4.java
Java
apache-2.0
2,561
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * 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 ap...
karreiro/uberfire
uberfire-m2repo-editor/uberfire-m2repo-editor-api/src/main/java/org/guvnor/m2repo/utils/FileNameUtilities.java
Java
apache-2.0
3,166
<?php namespace Phine\Phar\Tests; use Phine\Phar\File\Reader; use Phine\Phar\Signature; use Phine\Phar\Signature\Algorithm\AlgorithmInterface; use Phine\Phar\Signature\Algorithm\SHA1; use Phine\Phar\Test\Algorithm; use Phine\Test\Property; use Phine\Test\Temp; use PHPUnit_Framework_TestCase as TestCase; /** * Tests...
milagro-docs/docs.milagro.io-english
vendor/phine/phar/src/tests/Phine/Phar/Tests/SignatureTest.php
PHP
apache-2.0
5,245
<?php require ('core/init.php'); ?> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="css/style.css" > <title>Activate</title> </head> <body> <div id="container"> <ul> <li><a href="index.php">Home</a></li> <li><a href="register.php">Register</a></l...
code-for-india/cfihacathon-rickshaw
cfihacathon-rickshaw/activate.php
PHP
apache-2.0
1,474
package com.alibaba.json.bvt.bug; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.annotation.JSONType; import com.alibaba.fastjson.serializer.SerializerFeature; public class Issue101 extends TestCase { public void test_for_issure() throws ...
alibaba/fastjson
src/test/java/com/alibaba/json/bvt/bug/Issue101.java
Java
apache-2.0
1,163
+++ Title = "Baron Schwartz" Twitter = "xaprb" image = "baron-schwartz.jpg" type = "speaker" linktitle = "baron-schwartz" +++ Baron Schwartz is the founder and CTO of VividCortex. He's a performance and scalability expert who participates in various database, open source, DevOps, and distributed systems communities. ...
gomex/devopsdays-web
content/events/2019-chicago/speakers/baron-schwartz.md
Markdown
apache-2.0
530
/* * * Copyright 2019 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
pszemus/grpc
src/objective-c/GRPCClient/private/GRPCTransport+Private.h
C
apache-2.0
2,970
/* * 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")...
svn2github/rave
rave-components/rave-jpa/src/test/java/org/apache/rave/portal/model/conversion/JpaApplicationDataConverterTest.java
Java
apache-2.0
3,115
// Copyright 2015 The Cockroach Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
mbonaci/cockroach
sql/drop.go
GO
apache-2.0
3,949
/* * Copyright (C) 2010-2014 Hamburg Sud and the contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
vbergmann/aludratest
src/main/java/org/aludratest/codecheck/rule/pmd/uimap/UIMapUtilityClassStructure.java
Java
apache-2.0
1,120
# `tomcat:9.0.59-jre8-openjdk-buster` ## Docker Metadata - Image ID: `sha256:640e97682eca638ff00bd02759ed0b3463defe502da5d8cffe821008e7e20a5c` - Created: `2022-03-02T11:23:39.529836884Z` - Virtual Size: ~ 288.39 Mb (total size of all layers on-disk) - Arch: `linux`/`amd64` - Command: `["catalina.sh","run"]` - Env...
docker-library/repo-info
repos/tomcat/local/9.0.59-jre8-openjdk-buster.md
Markdown
apache-2.0
121,052
export const cschDocs = { name: 'csch', category: 'Trigonometry', syntax: [ 'csch(x)' ], description: 'Compute the hyperbolic cosecant of x in radians. Defined as 1/sinh(x)', examples: [ 'csch(2)', '1 / sinh(2)' ], seealso: [ 'sech', 'coth', 'sinh' ] }
FSMaxB/mathjs
src/expression/embeddedDocs/function/trigonometry/csch.js
JavaScript
apache-2.0
295
// Copyright (C) 2013 The Android Open Source Project // // 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 ...
bootstraponline-archive/gerrit-mirror
gerrit-server/src/test/java/com/google/gerrit/server/change/CommentsTest.java
Java
apache-2.0
9,449
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
android-ia/platform_tools_idea
platform/util/src/com/intellij/util/containers/ConcurrentHashMap.java
Java
apache-2.0
45,553
/* * Copyright (C) 2011 Everit Kft. (http://www.everit.org) * * 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...
everit-org-archive/querydsl-sqltemplates-ecm
component/src/main/java/org/everit/persistence/querydsl/sqltemplates/ecm/internal/SQLTemplateConfigurator.java
Java
apache-2.0
3,663
program main use iso_c_binding, only: c_int, c_char, c_null_char, c_ptr use gzip, only: gzopen, gzwrite, gzclose implicit none character(kind=c_char,len=*), parameter :: path = & c_char_"test.gz"//c_null_char character(kind=c_char,len=*), parameter :: mode = & c_char_"wb9"//c_null_char inte...
thiblahute/meson
test cases/fortran/10 find library/main.f90
FORTRAN
apache-2.0
989
goog.provide('ol.format.ogc.filter.Or'); goog.require('ol'); goog.require('ol.format.ogc.filter.LogicalBinary'); /** * @classdesc * Represents a logical `<Or>` operator between two filter conditions. * * @constructor * @param {!ol.format.ogc.filter.Filter} conditionA First filter condition. * @param {!ol.forma...
fblackburn/ol3
src/ol/format/ogc/filter/or.js
JavaScript
bsd-2-clause
655
"""Remove uniqueness in Repo Revision ID: 51d493c4d3e1 Revises: 5ac5404bfcd9 Create Date: 2015-05-11 18:55:46.065354 """ # revision identifiers, used by Alembic. revision = '51d493c4d3e1' down_revision = '5ac5404bfcd9' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated b...
go-lab/appcomposer
alembic/versions/51d493c4d3e1_remove_uniqueness_in_repo.py
Python
bsd-2-clause
820
class Bc < Formula desc "Arbitrary precision numeric processing language" homepage "https://www.gnu.org/software/bc/" url "https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz" mirror "https://ftpmirror.gnu.org/bc/bc-1.07.1.tar.gz" sha256 "62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a" license "GP...
jabenninghoff/homebrew-core
Formula/bc.rb
Ruby
bsd-2-clause
1,601
package core // Clients _ type Clients []*Client // RLockRecursive _ func (cs *Clients) RLockRecursive() { for _, client := range *cs { client.RLockAnon() } } // RUnlockRecursive _ func (cs *Clients) RUnlockRecursive() { for _, client := range *cs { client.RUnlockAnon() } }
MG-RAST/AWE
lib/core/clients.go
GO
bsd-2-clause
286
/* * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. * All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include <asn_internal.h> #include <constr_SET.h> /* Check that all the mandatory members are present */ static int _SET_is_populated(const asn_TYPE_descript...
khmseu/asn1c
skeletons/constr_SET.c
C
bsd-2-clause
29,387
#ifndef SRC_COMMON_H_ #define SRC_COMMON_H_ #include <stdio.h> #include <string.h> #include "nan.h" #define WARN(msg) fprintf(stdout, "\033[01;33m native:%s \033[00m\n", msg) #define ERROR(msg) fprintf(stdout, "\033[01;32m native:%s \033[00m\n", msg) #define INFO(msg) fprintf(stdout, "\033[01;34m native:%s \033[00m\...
ssaroha/node-webrtc
src/common.h
C
bsd-2-clause
2,679
#include "catch.hpp" #include <osmium/geom/ogr.hpp> #include "area_helper.hpp" #include "wnl_helper.hpp" TEST_CASE("OGR point geometry") { osmium::geom::OGRFactory<> factory; SECTION("point") { std::unique_ptr<OGRPoint> point{factory.create_point(osmium::Location{3.2, 4.2})}; REQUIRE(3.2 == ...
duizendnegen/osrm-backend
third_party/libosmium/test/t/geom/test_ogr.cpp
C++
bsd-2-clause
3,910
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #include <ngx_channel.h> typedef struct { int signo; char *signame; char *name; void (*handler)(int signo, siginfo_t *siginfo, void *ucontext); } ngx_signal...
LomoX-Offical/nginx-openresty-windows
src/nginx/src/os/unix/ngx_process.c
C
bsd-2-clause
17,054
=pod =head1 NAME SSL_set_session - set a TLS/SSL session to be used during TLS/SSL connect =head1 SYNOPSIS #include <openssl/ssl.h> int SSL_set_session(SSL *ssl, SSL_SESSION *session); =head1 DESCRIPTION SSL_set_session() sets B<session> to be used when the TLS/SSL connection is to be establishe...
caidongyun/nginx-openresty-windows
nginx/objs/lib/openssl-1.0.1g/doc/ssl/SSL_set_session.pod
Perl
bsd-2-clause
1,676
cask 'duet' do version '2.0.5.1' sha256 '9f60e95aacc75510d3a3652210804cf5c09a6a155d895cdba5d58063967e7081' # duet.nyc3.cdn.digitaloceanspaces.com/Mac was verified as official when first introduced to the cask url "https://duet.nyc3.cdn.digitaloceanspaces.com/Mac/#{version.major_minor.dots_to_underscores}/duet-...
toonetown/homebrew-cask
Casks/duet.rb
Ruby
bsd-2-clause
547
class Entr < Formula desc "Run arbitrary commands when files change" homepage "http://entrproject.org/" url "http://entrproject.org/code/entr-3.9.tar.gz" mirror "https://bitbucket.org/eradman/entr/get/entr-3.9.tar.gz" sha256 "a49daac8c46290f9886ac4ef3143da5b042a696c3969f6b40383e591c137d1ce" bottle do c...
robohack/homebrew-core
Formula/entr.rb
Ruby
bsd-2-clause
1,091
#pragma once //======================================================================== // BoxEntity.h // // This code is part of Minotower Games Engine 1.0v // // (c) Copyright 2012 Muralev Evgeny //======================================================================== #include "Entities\Entity.h" class BoxEntity ...
Solidstatewater/Anubis-Engine
ZMotionBlurDemo/Source/Game/Entities/BoxEntity/BoxEntity.h
C
bsd-2-clause
388
static const uint8_t fs_imgui_image_swizz_glsl[425] = { 0x46, 0x53, 0x48, 0x04, 0x6f, 0x1e, 0x3e, 0x3c, 0x03, 0x00, 0x11, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima 0x67, 0x65, 0x4c, 0x6f, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x02, 0x01, 0x00, 0x00, // geLodEnabled.... 0x01, 0x00, 0x09, 0x75, 0x5f,...
ocornut/bgfx
examples/common/imgui/fs_imgui_image_swizz.bin.h
C
bsd-2-clause
10,103
<?php namespace Aura\Filter\Rule\Validate; class CallbackTest extends AbstractValidateTest { protected function getArgs() { return array(function ($subject, $field) { return is_bool($subject->$field); }); } public function providerIs() { return array( ...
jakejohns/Aura.Filter
tests/Rule/Validate/CallbackTest.php
PHP
bsd-2-clause
680
/* * Copyright © 2010 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
cyndis/bgfx
3rdparty/glsl-optimizer/src/glsl/ir_print_glsl_visitor.cpp
C++
bsd-2-clause
45,696
using System; using System.Globalization; using System.Reflection; namespace BLToolkit.Reflection { /// <Summary> /// Selects a member from a list of candidates, and performs type conversion /// from actual argument type to formal argument type. /// </Summary> [Serializable] public class GenericBinder...
EIDSS/EIDSS-Legacy
EIDSS v6/bltoolkit.3.2.dev/Reflection/GenericBinder.cs
C#
bsd-2-clause
2,686
cask 'without-languages' do version '1.2.3' sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage 'https://brew.sh' app 'Caffeine.app' end
sjackman/linuxbrew
Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb
Ruby
bsd-2-clause
231
class BoostPython < Formula desc "C++ library for C++/Python interoperability" homepage "http://www.boost.org" url "https://downloads.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.bz2" sha256 "fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5" head "https://github.com/boostorg/boo...
jbaum98/linuxbrew
Library/Formula/boost-python.rb
Ruby
bsd-2-clause
4,541
// // Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // 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 s...
luigiberrettini/NLog
src/NLog/LayoutRenderers/Wrappers/WrapperLayoutRendererBase.cs
C#
bsd-3-clause
5,423
/* * Copyright (c) 2007-2008, openmetaverse.org * All rights reserved. * * - Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this ...
jhs/libopenmetaverse
OpenMetaverse.Utilities/VoiceManagerBlocking.cs
C#
bsd-3-clause
5,700
// 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...
darkenk/vixl
test/traces/a64/sim-uabd-2s-trace-a64.h
C
bsd-3-clause
50,071
<?php /** * Pimcore * * 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://www.pimcore.org/license * * @category Pimcore * @package Object * @copyright Copyr...
yasarkunduz/pimcore
pimcore/models/Object/Classificationstore/KeyConfig/Resource.php
PHP
bsd-3-clause
3,824
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/browser_command_controller.h" #include "chrome/app/chrome_command_ids.h" #include "chrome/browser/ui/browser.h" #include ...
leiferikb/bitpop-private
chrome/browser/ui/browser_command_controller_browsertest.cc
C++
bsd-3-clause
1,667
/* * $Header$ * $Revision$ * $Date$ * * ==================================================================== * * Copyright 2005 Elliotte Rusty Harold. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
appcelerator/jaxen_titanium
src/java/test/org/jaxen/test/ArithmeticTest.java
Java
bsd-3-clause
3,828
from traits.api import Int, Tuple from enable.tools.api import ViewportPanTool class MPViewportPanTool(ViewportPanTool): cur_bid = Int(-1) _last_blob_pos = Tuple def normal_blob_down(self, event): if self.cur_bid == -1 and self.is_draggable(event.x, event.y): self.cur_bid = event.bi...
tommy-u/chaco
examples/demo/canvas/mp_viewport_pan_tool.py
Python
bsd-3-clause
1,535
using System; using SQLite; namespace Toggl.Phoebe.Data.DataObjects { [Table ("TaskModel")] public class TaskData : CommonData { public TaskData () { } public TaskData (TaskData other) : base (other) { Name = other.Name; IsActive = other.IsAc...
masterrr/mobile
Phoebe/Data/DataObjects/TaskData.cs
C#
bsd-3-clause
791
/******************************************************************************* Copyright (c) 2012, S-Core. All rights reserved. Use is subject to license terms. This distribution may include materials developed by third parties. **********************************************************************...
daejunpark/jsaf
tests/typing_tests/semantics/builtin_Math_pow6.js
JavaScript
bsd-3-clause
384
# Copyright (c) 2012-2013, Itzik Kotler # 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...
fr34k8/pythonect
pythonect/internal/parsers/test/test_p2y.py
Python
bsd-3-clause
3,355
// Test for ASAN_OPTIONS=start_deactivated=1 mode. // Main executable is uninstrumented, but linked to ASan runtime. The shared // library is instrumented. Memory errors before dlopen are not detected. // RUN: %clangxx_asan -O0 -DSHARED_LIB %s -std=c++11 -fPIC -shared -o %t-so.so // RUN: %clangxx -O0 %s -std=c++11 -c ...
youtube/cobalt
third_party/llvm-project/compiler-rt/test/asan/TestCases/Posix/start-deactivated.cc
C++
bsd-3-clause
4,966
<?php use tests\codeception\frontend\AcceptanceTester; use tests\codeception\frontend\_pages\AboutPage; /* @var $scenario Codeception\Scenario */ $I = new AcceptanceTester($scenario); $I->wantTo('ensure that about works'); AboutPage::openBy($I); $I->see('About', 'h1');
hucongyang/yii
tests/codeception/frontend/acceptance/AboutCept.php
PHP
bsd-3-clause
273
/* * Copyright (c) 2007, Michael Feathers, James Grenning and Bas Vodde * 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...
cpputest/cpputest
src/CppUTest/TestOutput.cpp
C++
bsd-3-clause
10,692
--- layout: data_model title: NetworkSocketObjectType 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/NetworkSocketObj/NetworkSocketObjectType">View the latest!</a> </...
johnwunder/johnwunder.github.io
data-model/1.1.1/NetworkSocketObj/NetworkSocketObjectType/index.html
HTML
bsd-3-clause
5,970
#! /usr/bin/env perl # Copyright 2005-2021 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the Apache License 2.0 (the "License"). You may not use # this file except in compliance with the License. You can obtain a copy # in the file LICENSE in the source distribution or at # https://www.openssl....
jens-maus/amissl
openssl/crypto/bn/asm/sparcv9-mont.pl
Perl
bsd-3-clause
14,168
//===-- LockFileWindows.cpp -----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
endlessm/chromium-browser
third_party/llvm/lldb/source/Host/windows/LockFileWindows.cpp
C++
bsd-3-clause
2,441
/* * File: AbstractRelation.java * Authors: Justin Basilico * Company: Sandia National Laboratories * Project: Cognitive Foundry * * Copyright March 18, 2009, Sandia Corporation. * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive * lice...
codeaudit/Foundry
Components/TextCore/Source/gov/sandia/cognition/text/relation/AbstractRelation.java
Java
bsd-3-clause
2,719
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Photos'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="photo-index"> <h1><?= Html::encode($this->title) ?></h1> <p> <?= Html::a('Crea...
ranvirp/discom
views/photo/index.php
PHP
bsd-3-clause
1,672
/* * Copyright (C) 2011 Apple 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 a...
windyuuy/opera
chromium/src/third_party/WebKit/Source/core/page/ConsoleTypes.h
C
bsd-3-clause
1,911
<?php /** * @copyright Copyright (c) 2013 2amigOS! Consulting Group LLC * @link http://2amigos.us * @license http://www.opensource.org/licenses/bsd-license.php New BSD License */ /** * WhPlugin class file. * Extends the plugins with common shared methods. * * @author Antonio Ramirez <amigo.cobos@gmail.com> * ...
reedboat/yiiwheels
behaviors/WhPlugin.php
PHP
bsd-3-clause
1,496
/* * 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
axinging/chromium-crosswalk
third_party/WebKit/Source/modules/mediastream/RTCDTMFSender.cpp
C++
bsd-3-clause
6,328
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef TERA_MASTER_MASTER_IMPL_H_ #define TERA_MASTER_MASTER_IMPL_H_ #include <stdint.h> #include <semaphore.h> #include <string> #include <vector> #incl...
flashbuckets/tera
src/master/master_impl.h
C
bsd-3-clause
25,148
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/net/chrome_url_request_context_getter.h" #include "base/bind.h" #include "base/compiler_specific.h" #include "base/message_loop/...
guorendong/iridium-browser-ubuntu
chrome/browser/net/chrome_url_request_context_getter.cc
C++
bsd-3-clause
9,730
// Copyright 2019 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "tools/fiddle/examples.h" // HASH=10172fca71b9dbdcade772513ffeb27e REG_FIDDLE(Image_makeShader_2, 256, 256, false, 5) { void draw(SkCanvas* canvas) { SkMatrix matrix; matri...
endlessm/chromium-browser
third_party/skia/docs/examples/Image_makeShader_2.cpp
C++
bsd-3-clause
489
module Backstop module Config def self.env!(key) ENV[key] || raise("missing #{key}") end def self.deploy; env!('DEPLOY'); end def self.port; env!('PORT').to_i; end def self.carbon_urls; env!('CARBON_URLS').split(','); end def self.prefixes; env!('PREFIXES').split(','); end def self....
optimizely/backstop
lib/backstop/config.rb
Ruby
bsd-3-clause
359
! ! This program does a correctness check for ! ARRAY = SCALAR and ARRAY = ARRAY ! program main implicit none integer, parameter :: n = 3 integer, parameter :: m = 4 ! Allocatable coarrays call one(-5, 1) call one(0, 0) call one(1, -5) call one(0, -11) ! Static coarrays call two() call three() ...
sourceryinstitute/opencoarrays
src/tests/unit/send-get/old_get_array_test.f90
FORTRAN
bsd-3-clause
9,853