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 DuraSpace under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * DuraSpace licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file excep...
dbernstein/fcrepo4
fcrepo-persistence-ocfl/src/test/java/org/fcrepo/persistence/ocfl/impl/OCFLPersistentSessionManagerTest.java
Java
apache-2.0
2,724
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.4/15.4.4/15.4.4.22/15.4.4.22-9-c-ii-32.js
JavaScript
apache-2.0
954
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_13) on Wed Aug 05 08:53:18 ICT 2009 --> <META http-equiv="Content-Type" content="text/html; charset=utf8"> <TITLE> Uses of Interface org.jgent...
OldRepoPreservation/jgentle
doc/org/jgentleframework/core/handling/class-use/IAbstractDefinitionExceptionCatcher.html
HTML
apache-2.0
11,812
/* * 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 ...
trekawek/jackrabbit-oak
oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/EmptyPermissionProviderTest.java
Java
apache-2.0
2,508
/* * 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 ...
aosagie/spark
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/grouping.scala
Scala
apache-2.0
5,380
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = getISODay; var _index = _interopRequireDefault(require("../toDate/index.js")); var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); function _interopRequireDefault(obj) { return obj && obj.__e...
BigBoss424/portfolio
v8/development/node_modules/date-fns/getISODay/index.js
JavaScript
apache-2.0
1,327
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
GBGamer/rust
src/test/run-pass/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs
Rust
apache-2.0
739
package storage import ( "encoding/hex" "fmt" "time" "github.com/docker/go/canonical/json" "github.com/docker/notary" "github.com/docker/notary/storage" "github.com/docker/notary/tuf/data" ) // TUFMetaStorage wraps a MetaStore in order to walk the TUF tree for GetCurrent in a consistent manner, // by always s...
umayr/notary
server/storage/tuf_store.go
GO
apache-2.0
4,661
<!--- 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 use this...
zouzhberk/ambaridemo
demo-server/docs/api/v1/create-cluster.md
Markdown
apache-2.0
1,583
/** * * Copyright (c) Microsoft and contributors. 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 r...
flydream2046/azure-sdk-for-java
service-management/azure-svc-mgmt-notificationhubs/src/main/java/com/microsoft/azure/management/notificationhubs/models/AuthorizationRulesListResponse.java
Java
apache-2.0
2,514
// Copyright 2015 Google 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 required by applicable...
tangfeixiong/dashboard
src/test/frontend/replicationcontrollerdetail/updatereplicas_controller_test.js
JavaScript
apache-2.0
3,190
/* * 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 ...
guanxi55nba/db-improvement
src/java/org/apache/cassandra/tools/SSTableRepairedAtSetter.java
Java
apache-2.0
3,787
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
dbmalkovsky/flowable-engine
modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/cmd/GetAppModelCmd.java
Java
apache-2.0
1,894
/* * 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 ...
shroman/ignite
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/SqlQueryHistoryFromClientSelfTest.java
Java
apache-2.0
1,732
var q = require('q') var apigeetool = require('apigeetool') var async = require('async') var gutil = require('gulp-util') function createApp(app){ var defer = q.defer() var sdk = apigeetool.getPromiseSDK() var opts=baseopts() opts.name = app.name opts.apiProducts = app.apiProducts opts.email = ...
rupamrai/openbank
lib/edge.js
JavaScript
apache-2.0
4,712
// +build linux /* Copyright 2014 The Kubernetes 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...
maciaszczykm/kubernetes
pkg/volume/util/hostutil/hostutil_linux.go
GO
apache-2.0
8,822
<?php /* * @version $Id$ ------------------------------------------------------------------------- GLPI - Gestionnaire Libre de Parc Informatique Copyright (C) 2015 Teclib'. http://glpi-project.org based on GLPI - Gestionnaire Libre de Parc Informatique Copyright (C) 2003-2014 by the INDEPNET Development Team....
ojedawinder/glpi_seducla
inc/knowbaseitemtranslation.class.php
PHP
apache-2.0
10,745
// bslmf_istriviallydefaultconstructible.t.cpp -*-C++-*- #include <bslmf_istriviallydefaultconstructible.h> #include <bslmf_nestedtraitdeclaration.h> #include <bsls_asserttest.h> #include <bsls_bsltestutil.h> #include <stdio.h> // 'printf' #include <stdlib.h> // 'atoi' using namespace Bloo...
idispatch/bde
groups/bsl/bslmf/bslmf_istriviallydefaultconstructible.t.cpp
C++
apache-2.0
14,203
package com.google.api.ads.adwords.jaxws.v201502.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * Operations for adding/removing labels from Campaign. * * * <p>Java class for Campaign...
stoksey69/googleads-java-lib
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201502/cm/CampaignLabelOperation.java
Java
apache-2.0
1,590
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
j16r/rust
src/test/run-pass/issue-4333.rs
Rust
apache-2.0
579
package org.onepf.oms; import junit.framework.Assert; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.onepf.oms.appstore.SamsungSkuFormatException; import org.onepf.oms.appstore.nokiaUtils.NokiaSkuFormatException; import org.robolectric.RobolectricTestRunner; import org.rob...
ptornhult/OpenIAB
library/src/androidTest/java/org/onepf/oms/SkuManagerTest.java
Java
apache-2.0
4,440
<html lang="or"> <p><span style="font-weight:400">କୁନ୍ତଳା</span></p> </html>
googlei18n/noto-source
test/Oriya/fontdiff-or-20180314.html
HTML
apache-2.0
93
/* * 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 ...
liangie/chooserTest
app/src/main/java/com/doplgangr/secrecy/filesystem/CryptStateListener.java
Java
apache-2.0
1,014
# Copyright 2017 The TensorFlow 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...
allenlavoie/tensorflow
tensorflow/contrib/distributions/python/ops/estimator.py
Python
apache-2.0
7,908
/* * Copyright 2004-2009 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...
baboune/compass
src/main/src/org/compass/core/engine/SearchEngineOptimizer.java
Java
apache-2.0
2,389
/* Copyright 2014 The Kubernetes 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 agreed to in writing, ...
inlandsee/origin
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/expose.go
GO
apache-2.0
12,252
/* * 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 ...
dashorst/wicket
wicket-examples/src/main/java/org/apache/wicket/examples/tree/TreeApplication.java
Java
apache-2.0
2,757
# Copyright 2012 OpenStack Foundation # # 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 ...
hanlind/nova
nova/db/sqlalchemy/migrate_repo/versions/216_havana.py
Python
apache-2.0
62,236
/* * 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 ...
DariusX/camel
components/camel-platform-http/src/main/java/org/apache/camel/component/platform/http/spi/PlatformHttpEngine.java
Java
apache-2.0
1,510
/* * Copyright 1999-2006 University of Chicago * * 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...
gridcf/gct
xio/src/test/close_barrier2_test.c
C
apache-2.0
6,404
/* * Copyright 2004-2009 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...
baboune/compass
src/main/src/org/compass/gps/device/jdbc/AbstractJdbcActiveMirrorGpsDevice.java
Java
apache-2.0
2,346
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
hawky-4s-/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/util/IoUtil.java
Java
apache-2.0
3,307
--- license: > 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 ...
drbeermann/cordova-docs
docs/ja/2.0.0/cordova/camera/parameter/cameraOptions.md
Markdown
apache-2.0
6,162
/* * Copyright (c) 2008-2021, Hazelcast, 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 required ...
emre-aydin/hazelcast
hazelcast/src/test/java/com/hazelcast/client/listeners/MultiMapEntryListenerOnReconnectTest.java
Java
apache-2.0
2,107
var LoadingScreen = { startLoad: function(successCallback, errorCallback, options) { if(!options) { options = {}; } var _options = { label: options.label ? options.label : 'Loading...', style: options.style ? options.style : LoadingScreen.STYLEWHITELARGE, ...
dynamicapp/dynamicapp
lib/www/js/loadingScreen.js
JavaScript
apache-2.0
870
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; using Roslyn.Utilities; na...
DustinCampbell/roslyn
src/Workspaces/Core/Portable/Shared/Extensions/INamespaceOrTypeSymbolExtensions.cs
C#
apache-2.0
4,500
/** @file @brief Test Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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...
ccccjason/OSVR_device_plugin
tests/cplusplus/TypePack/SplitList.cpp
C++
apache-2.0
1,078
""" Support for Vera sensors. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/sensor.vera/ """ import logging from homeassistant.const import ( TEMP_CELSIUS, TEMP_FAHRENHEIT) from homeassistant.helpers.entity import Entity from homeassistant.componen...
morphis/home-assistant
homeassistant/components/sensor/vera.py
Python
apache-2.0
2,532
import Enumerator from './enumerator'; import { makeSettledResult } from './enumerator'; import Promise from './promise'; import { o_create } from './utils'; function AllSettled(Constructor, entries, label) { this._superConstructor(Constructor, entries, false /* don't abort on reject */, label); } AllSettled.protot...
drdrej/webapi-skeleton
source/node_modules/rsvp/lib/rsvp/all-settled.js
JavaScript
apache-2.0
2,474
using Shouldly; using System.Diagnostics; using Xunit; namespace StructureMap.Testing.Bugs { public class container_configuration_with_generics_inheritance { public class Base { } public class Derived1 : Base { } public class Derived2 : Derived1 { } public class Derived3 : D...
DixonD-git/structuremap
src/StructureMap.Testing/Bugs/container_configuration_with_generics_inheritance.cs
C#
apache-2.0
10,985
/* * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * * * * * * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at * http://creativecommons.org/p...
shun634501730/java_source_cn
src_en/java/util/concurrent/Executor.java
Java
apache-2.0
3,748
/* * sesadmin.c - an sesman administration tool * (c) 2008 Simone Fedele * */ #include "arch.h" #include "tcp.h" #include "libscp.h" #include "parse.h" #include "log.h" #include "libscp.h" #include <stdio.h> #include <unistd.h> char user[257]; char pass[257]; char cmnd[257]; char serv[257]; char port[257]; stru...
lmcro/xrdp
sesman/tools/sesadmin.c
C
apache-2.0
4,922
//======================================================================== //Copyright 2007-2009 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance...
Shvid/protostuff
protostuff-api/src/main/java/io/protostuff/Message.java
Java
apache-2.0
1,166
using System.Threading; using Microsoft.CodeAnalysis.Internal.Log; namespace Roslyn.Hosting.Diagnostics.PerfMargin { // A slightly modified version of Roslyn.Services.Internal.Log.EtwLogger. // This version updates the DataModel whenever an operations starts or stops. There // isn't an efficient way to li...
DavidKarlas/roslyn
src/Test/Diagnostics/PerfMargin/PerfEventActivityLogger.cs
C#
apache-2.0
1,288
/* * 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/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/firestore/FirestoreV1FnListDocumentsTest.java
Java
apache-2.0
10,718
/* * © Copyright IBM Corp. 2011 * * 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 ...
iharkhukhrakou/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.domino.das/src/com/ibm/domino/das/resources/DocumentResource.java
Java
apache-2.0
16,715
package com.facebook.presto.operator.scalar; /* * 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 o...
propene/presto
presto-main/src/main/java/com/facebook/presto/operator/scalar/MapHashCodeOperator.java
Java
apache-2.0
3,557
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Runtime.InteropServices Imports System.Windows Imports Microsoft.CodeAnalysis Imports Microsoft.CodeAnalysis.Notification Imports Microsoft.Vis...
VSadov/roslyn
src/VisualStudio/VisualBasic/Impl/Options/NamingStylesOptionPage.vb
Visual Basic
apache-2.0
1,833
/* * Copyright (c) 2015 ARM Limited * * 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...
lbk003/mbed-cortexm
yotta_modules/core-util/test/EventHandler/main.cpp
C++
apache-2.0
14,103
/* Copyright 2019 The TensorFlow 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 applicable law or a...
paolodedios/tensorflow
tensorflow/lite/delegates/gpu/common/tasks/transpose.cc
C++
apache-2.0
4,098
using System; using System.Collections.Generic; using System.IO; namespace Lucene.Net.Search.Spans { /* * 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 copyri...
apache/lucenenet
src/Lucene.Net/Search/Spans/Spans.cs
C#
apache-2.0
5,395
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
treasure-data/presto
presto-main/src/test/java/io/prestosql/sql/planner/iterative/rule/TestPruneTopNColumns.java
Java
apache-2.0
3,495
// // Copyright 2014 RTMFPew // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
zhwzhang/rtmfpew
protocol/session/rendezvous.go
GO
apache-2.0
609
/* * Copyright (C) 2014 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 app...
daedric/buck
third-party/java/aosp/src/com/android/manifmerger/ManifestModel.java
Java
apache-2.0
29,298
/* * 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 ...
mxm/incubator-beam
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineRegistrar.java
Java
apache-2.0
2,118
using Newtonsoft.Json; using System; namespace Box.V2.Models { /// <summary> /// Box representation of a permission /// </summary> public class BoxPermission { /// <summary> /// Whether the item can be downloaded or not /// </summary> [JsonProperty("can_download")] ...
SudhersonV/DotNetRoot
Modules/Box/Box.V2/Models/BoxPermission.cs
C#
apache-2.0
649
/* * 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 ...
smgoller/geode
geode-core/src/jca/java/org/apache/geode/internal/ra/GFConnectionImpl.java
Java
apache-2.0
1,817
/* * Copyright (c) 2014, STMicroelectronics International N.V. * 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, ...
matt2048/optee_os
lib/libmpa/mpa_primetest.c
C
bsd-2-clause
7,676
from __future__ import print_function from pysb.simulator import ScipyOdeSimulator from tutorial_a import model t = [0, 10, 20, 30, 40, 50, 60] simulator = ScipyOdeSimulator(model, tspan=t) simresult = simulator.run() print(simresult.species)
LoLab-VU/pysb
pysb/examples/run_tutorial_a.py
Python
bsd-2-clause
244
#!/usr/bin/python # # Copyright (C) 2012 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of...
bitemyapp/ganeti
test/py/ganeti.tools.node_daemon_setup_unittest.py
Python
bsd-2-clause
2,901
/* * Copyright (c) 2000-2002, 2004, 2005, 2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this f...
wangchunling/react-native-for-APICloud
project/AwesomeProject/SystemConfiguration.framework/Headers/SCDynamicStoreKey.h
C
bsd-2-clause
10,213
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ #define CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ #include <stdint.h> #include "base/macro...
ssaroha/node-webrtc
third_party/webrtc/include/chromium/src/content/renderer/dom_automation_controller.h
C
bsd-2-clause
4,863
#define DLONG #include <../Partition/cholmod_nesdis.c>
jokereactive/ORB_Android
suitesparse/SuiteSparse/CHOLMOD/SourceWrappers/cholmod_l_nesdis.o.c
C
bsd-2-clause
55
/* @flow */ import {join, relative, resolve} from 'path'; import {format} from 'util'; import {exec, exists, mkdirp, readFile, unlink, writeFile} from '../async'; import {getTestsDir, defaultFlowConfigName} from '../constants'; import type {Args} from './new-testCommand'; async function newTest(bin: string, suiteNa...
AprilArcus/flow
tsrc/new-test/new-testRunner.js
JavaScript
bsd-3-clause
1,555
using System; namespace Org.BouncyCastle.Asn1.Cms { public class AuthEnvelopedData : Asn1Encodable { private DerInteger version; private OriginatorInfo originatorInfo; private Asn1Set recipientInfos; private EncryptedContentInfo authEncryptedContentInfo; private Asn1Set authAttrs;...
GaloisInc/hacrypto
src/C#/BouncyCastle/BouncyCastle-1.7/crypto/src/asn1/cms/AuthEnvelopedData.cs
C#
bsd-3-clause
5,282
#include <boost/make_shared.hpp> #include "aslamcv_helper.hpp" namespace aslam { template<typename DISTORTION_T, typename MASK_T> PinholeUndistorter<DISTORTION_T, MASK_T>::PinholeUndistorter() { _idealGeometry.reset(); } template<typename DISTORTION_T, typename MASK_T> PinholeUndistorter<DISTORTION_T, MASK_T>::Pin...
udrg/kalibr
aslam_cv/aslam_imgproc/include/aslam/implementation/PinholeUndistorter.hpp
C++
bsd-3-clause
6,157
<?php /** * This file is part of PHP Mess Detector. * * Copyright (c) 2008-2012, Manuel Pichler <mapi@phpmd.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: * * * Redistribution...
BernardoSilva/phpmd
src/test/php/PHPMD/Stubs/WriterStub.php
PHP
bsd-3-clause
2,873
// (C) Copyright John Maddock 2001 - 2003. // (C) Copyright Jens Maurer 2001. // (C) Copyright Peter Dimov 2001. // (C) Copyright David Abrahams 2002. // (C) Copyright Guillaume Melquiond 2003. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file...
pombredanne/pythran
third_party/boost/config/stdlib/dinkumware.hpp
C++
bsd-3-clause
9,511
package org.hisp.dhis.analytics.table; /* * Copyright (c) 2004-2017, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the abov...
troyel/dhis2-core
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcCompletenessTableManager.java
Java
bsd-3-clause
9,545
### # Copyright (c) 2015, Upnext Technologies Sp. z o.o. # All rights reserved. # # This source code is licensed under the BSD 3-Clause License found in the # LICENSE.txt file in the root directory of this source tree. ### module BeaconControl module PresenceExtension class ZoneLocationStorage # # ...
ElanII/BeaconControl-master
vendor/gems/beacon_control-presence_extension/app/storages/beacon_control/presence_extension/zone_location_storage.rb
Ruby
bsd-3-clause
1,881
/** * @file kmeans.hpp * @author Parikshit Ram (pram@cc.gatech.edu) * * K-Means clustering. */ #ifndef MLPACK_METHODS_KMEANS_KMEANS_HPP #define MLPACK_METHODS_KMEANS_KMEANS_HPP #include <mlpack/core.hpp> #include <mlpack/core/metrics/lmetric.hpp> #include "sample_initialization.hpp" #include "max_variance_new_cl...
darcyliu/mlpack
src/mlpack/methods/kmeans/kmeans.hpp
C++
bsd-3-clause
7,939
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_22) on Tue Sep 18 20:44:16 GMT+01:00 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class org.apache.ht...
espadrine/opera
chromium/src/third_party/httpcomponents-core/binary-distribution/javadoc/org/apache/http/class-use/ContentTooLongException.html
HTML
bsd-3-clause
6,003
package org.hisp.dhis.schema.descriptors; /* * Copyright (c) 2004-2016, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the a...
minagri-rwanda/DHIS2-Agriculture
dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/schema/descriptors/UserCredentialsSchemaDescriptor.java
Java
bsd-3-clause
2,275
// 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. package org.chromium.chrome.browser.tabmodel.document; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; ...
SaschaMester/delicium
chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/DocumentTabModelImpl.java
Java
bsd-3-clause
36,099
using System; namespace Org.BouncyCastle.Math.EC.Custom.Sec { internal class SecT409R1Point : AbstractF2mPoint { /** * @deprecated Use ECCurve.createPoint to construct points */ public SecT409R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) : thi...
tobiasge/OutlookPrivacyPlugin
3rdParty/bccrypto-net-05282015/crypto/src/math/ec/custom/sec/SecT409R1Point.cs
C#
bsd-3-clause
8,783
/* * Copyright (C) yajin 2008 <yajinzhou@gmail.com > * * This file is part of the virtualmips distribution. * See LICENSE file for terms of the license. * */ /*JZ4740 UART Emulation. * * JZ4740 UART is compatible with 16c550 . * * Linux use uart interrupt to receive and send data. * * For sim...
RetroBSD/retrobsd
tools/virtualmips/jz4740/jz4740_dev_uart.c
C
bsd-3-clause
7,904
// 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 "ash/webui/file_manager/resource_loader.h" #include "content/public/test/browser_task_environment.h" #include "content/public/test/test_web_ui_d...
chromium/chromium
ash/webui/file_manager/resource_loader_unittest.cc
C++
bsd-3-clause
1,786
<!DOCTYPE html> <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <link rel="import" href="/tracing/extras/importer/linux_perf/parser.html"> <link rel="import" href="/tracing/model/counter_series.html...
zeptonaut/catapult
tracing/tracing/extras/importer/linux_perf/bus_parser.html
HTML
bsd-3-clause
2,583
#region Copyright notice and license // 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 fol...
axinging/chromium-crosswalk
third_party/protobuf/csharp/src/Google.Protobuf/CodedInputStream.cs
C#
bsd-3-clause
44,033
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_SERVICES_SECURE_CHANNEL_PUBLIC_CPP_CLIENT_FAKE_CLIENT_CHANNEL_OBSERVER_H_ #define ASH_SERVICES_SECURE_CHANNEL_PUBLIC_CPP_CLIENT_FAKE_CLIENT_CH...
chromium/chromium
ash/services/secure_channel/public/cpp/client/fake_client_channel_observer.h
C
bsd-3-clause
1,325
#-*- coding: ISO-8859-1 -*- # pysqlite2/test/factory.py: tests for the various factories in pysqlite # # Copyright (C) 2005-2007 Gerhard Häring <gh@ghaering.de> # # This file is part of pysqlite. # # This software is provided 'as-is', without any express or implied # warranty. In no event will the authors be held liab...
wdv4758h/ZipPy
lib-python/3/sqlite3/test/factory.py
Python
bsd-3-clause
9,209
// // Copyright (C) 2020-2021 Brian P Kelley, Joann Prescott-Roy and other RDKit // contributors // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source t...
bp-kelley/rdkit
Code/GraphMol/Deprotect/Deprotect.h
C
bsd-3-clause
3,471
<style> #topicSourceTitle { color: var(--cros-text-color-primary); font: var(--personalization-app-label-font); margin-bottom: 16px; margin-top: 34px; } topic-source-item { align-items: center; height: 64px; } iron-list > *:not(:first-of-type) { border-top: var(--cr-separator-lin...
chromium/chromium
ash/webui/personalization_app/resources/trusted/ambient/topic_source_list_element.html
HTML
bsd-3-clause
895
// Copyright 2018 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 "ash/services/secure_channel/fake_connection_attempt_delegate.h" #include "ash/services/secure_channel/authenticated_channel.h" #include "base/c...
chromium/chromium
ash/services/secure_channel/fake_connection_attempt_delegate.cc
C++
bsd-3-clause
1,131
//===- subzero/src/IceBuildDefs.h - Translator build defines ----*- C++ -*-===// // // The Subzero Code Generator // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------...
endlessm/chromium-browser
third_party/swiftshader/third_party/subzero/src/IceBuildDefs.h
C
bsd-3-clause
3,776
Travailler avec des bases de données ====================== Cette section décrit comment créer une nouvelle page qui affiche des données pays récupérées dans une table de base de données nommée `country`. Pour ce faire, vous allez configurer une connexion à une base de données, créer une classe [Active Record](db-ac...
mikehaertl/yii2
docs/guide-fr/start-databases.md
Markdown
bsd-3-clause
12,527
<?php /** * File containing the ezcWorkflowTestExecution class. * * @package Workflow * @version 1.4.1 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ /** * Workflow execution engine for testing workflows. * * @package Workf...
evp/ezcomponents
Workflow/tests/execution.php
PHP
bsd-3-clause
3,572
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CROSS_VALIDATE_OBJECT_DETECTION_TRaINER_H__ #define DLIB_CROSS_VALIDATE_OBJECT_DETECTION_TRaINER_H__ #include "cross_validate_object_detection_trainer_abstract.h" #include <vect...
Chpark/itomp
itomp_cio_planner/dlib/dlib/svm/cross_validate_object_detection_trainer.h
C
bsd-3-clause
15,607
/* Copyright 1994, LongView Technologies L.L.C. $Revision: 1.13 $ */ /* Copyright (c) 2006, Sun Microsystems, 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 m...
szKarlen/strongtalk
vm/code/codeTable.hpp
C++
bsd-3-clause
3,618
require("@fatso83/mini-mocha").install(); const sinon = require("sinon"); const referee = require("@sinonjs/referee"); const assert = referee.assert; const fs = require("fs"); describe("FakeTest", function () { it("should create a fake that 'yields asynchronously'", function () { const fake = sinon.fake.yi...
cjohansen/Sinon.JS
docs/release-source/release/examples/fakes-8-yields-async.test.js
JavaScript
bsd-3-clause
807
// Copyright 2014 Gary Burd // // Licensed under the Apache License, Version 2.0 (the "License"): you may // not use this file except in compliance with the License. You may obtain // a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
bjwschaap/copper-caple
vendor/src/github.com/kataras/go-sessions/vendor/github.com/garyburd/redigo/internal/commandinfo.go
GO
mit
1,424
// +build linux package overlay import ( "fmt" "io" "os" "path/filepath" "syscall" "github.com/docker/docker/pkg/system" ) type copyFlags int const ( copyHardlink copyFlags = 1 << iota ) func copyRegular(srcPath, dstPath string, mode os.FileMode) error { srcFile, err := os.Open(srcPath) if err != nil { ...
jwhonce/graphc
graphdriver/overlay/copy.go
GO
apache-2.0
3,561
/* SPDX-License-Identifier: GPL-2.0 */ /* * This header provides constants for the MVEBU ICU driver. */ #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_MVEBU_ICU_H #define _DT_BINDINGS_INTERRUPT_CONTROLLER_MVEBU_ICU_H /* interrupt specifier cell 0 */ #define ICU_GRP_NSR 0x0 #define ICU_GRP_SR 0x1 #define ICU_GRP_SEI ...
CSE3320/kernel-code
linux-5.8/include/dt-bindings/interrupt-controller/mvebu-icu.h
C
gpl-2.0
357
/* * arch/blackfin/include/asm/mem_init.h - reprogram clocks / memory * * Copyright 2004-2008 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef __MEM_INIT_H__ #define __MEM_INIT_H__ #if defined(EBIU_SDGCTL) #if defined(CONFIG_MEM_MT48LC16M16A2TG_75) || \ defined(CONFIG_MEM_MT48LC64M4A2FB...
AiJiaZone/linux-4.0
virt/arch/blackfin/include/asm/mem_init.h
C
gpl-2.0
13,417
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Communication.Models { public partial class LinkNotificationHubParameters : IUtf8JsonSerializable {...
ayeletshpigelman/azure-sdk-for-net
sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/LinkNotificationHubParameters.Serialization.cs
C#
mit
703
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Vue.js Modal Example</title> <!-- Delete ".min" for console warnings in development --> <script src="../../dist/vue.min.js"></script> <link rel="stylesheet" href="style.css"> </head> <body> <!-- template for the modal co...
sreesirisha/GITMidtermexam
examples/modal/index.html
HTML
mit
1,893
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.10.1_A1_T4; * @section: 15.10.1; * @assertion: RegExp syntax errors must be caught when matcher(s) compiles; * @description: Tested RegExp is "a+++"; */ //CHECK#1 try { ...
seraum/nectarjs
tests/ES3/Conformance/15_Native_ECMA_Script_Objects/15.10_RegExp_Objects/15.10.1_Patterns/S15.10.1_A1_T4.js
JavaScript
mit
544
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Index modifiers</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../index.html" title="Cha...
vslavik/poedit
deps/boost/libs/vmd/doc/html/variadic_macro_data/vmd_modifiers/vmd_modifiers_index.html
HTML
mit
13,740
version https://git-lfs.github.com/spec/v1 oid sha256:7bb2ff95b5b5b8b9381c3164c00724bbcf60a5e3a249bffc29cd3c7030ebda2a size 5862
yogeshsaroya/new-cdnjs
ajax/libs/jQuery.mmenu/4.3.6/js/addons/jquery.mmenu.dragopen.js
JavaScript
mit
129
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AsyncTestCompleter, beforeEach, describe, expect, inject, it} from '@angular/core/testing/src/testing_interna...
wKoza/angular
packages/core/test/event_emitter_spec.ts
TypeScript
mit
6,262