code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2007 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this...
openscenegraph/osg
src/osgPlugins/gdal/ReaderWriterGDAL.cpp
C++
lgpl-2.1
36,961
from PySide.QtCore import * from PySide.QtGui import * import unittest class MyModel (QAbstractListModel): stupidLine = QLine(0, 0, 10, 10) def rowCount(self, parent): return 1 def data(self, index, role): return self.stupidLine class TestBug693(unittest.TestCase): def testIt(self)...
enthought/pyside
tests/QtGui/bug_693.py
Python
lgpl-2.1
670
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // // This file is part of Bytecoin. // // Bytecoin is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of t...
forknote/forknote
tests/IntegrationTests/WalletLegacyTests.cpp
C++
lgpl-3.0
1,965
#ifndef TEST_SDB_H #define TEST_SDB_H static void diff_cb(const SdbDiff *diff, void *user) { char buf[2048]; if (sdb_diff_format (buf, sizeof (buf), diff) < 0) { return; } printf ("%s\n", buf); } static inline void print_sdb(Sdb *sdb) { Sdb *e = sdb_new0 (); sdb_diff (e, sdb, diff_cb, NULL); sdb_free (e); } ...
unixfreaxjp/radare2
test/unit/test_sdb.h
C
lgpl-3.0
457
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_03) on Tue May 22 06:24:55 CEST 2012 --> <title>CollectionUtils (Apache Ant API)</title> <meta name="date" content="2012-05-22"> <link ...
SimoRihani/PFA-Qucit
www/node_modules/ant/ant/manual/api/org/apache/tools/ant/util/CollectionUtils.html
HTML
lgpl-3.0
19,356
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Example3 Tests</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> {{content-for 'head'}} {{content-for 'test-hea...
Rodic/emberjs-essentials
chapter-3/example3/tests/index.html
HTML
lgpl-3.0
969
<?php echo "Hello World!";
dmp1ce/decompose-nginx-php
skel/containers/source/http/index.php
PHP
unlicense
27
/****************************************************************************** * 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 ...
msbeta/apollo
modules/canbus/vehicle/gem/protocol/global_cmd_69.cc
C++
apache-2.0
3,874
package com.badlogic.gdx.backends.lwjgl3; /** * Convenience implementation of {@link Lwjgl3WindowListener}. Derive from this class * and only overwrite the methods you are interested in. * @author badlogic * */ public class Lwjgl3WindowAdapter implements Lwjgl3WindowListener { @Override public void iconified() ...
SidneyXu/libgdx
backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/Lwjgl3WindowAdapter.java
Java
apache-2.0
523
/** @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://...
shapesecurity/shift-website
vendor/@polymer/polymer/polymer-element.js
JavaScript
apache-2.0
1,270
/* * 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 ...
gillesgagniard/wso2-wsf-cpp-gg
wsf_c/axis2c/src/core/transport/amqp/receiver/qpid_receiver/axis2_qpid_receiver.cpp
C++
apache-2.0
5,262
/* 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...
subhrajyotim/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/batch/BatchJobDeclaration.java
Java
apache-2.0
2,056
/* * Copyright 2015-present Open Networking 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 appli...
gkatsikas/onos
protocols/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbPortType.java
Java
apache-2.0
1,884
/* * Copyright 2000-2017 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...
asedunov/intellij-community
java/debugger/impl/src/com/intellij/debugger/ui/ValueHint.java
Java
apache-2.0
14,440
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd"> <helpset version="2.0" xml:lang="hu-HU"> <title>Directory List v2.3</title> <maps> <homeID>directorylistv2_3</homeID> <m...
thc202/zap-extensions
addOns/directorylistv2_3/src/main/javahelp/help_hu_HU/helpset_hu_HU.hs
Haskell
apache-2.0
978
declare module "ui/layouts/wrap-layout" { import layout = require("ui/layouts/layout-base"); import dependencyObservable = require("ui/core/dependency-observable"); /** * WrapLayout position children in rows or columns depending on orientation property * until space is filled and then wraps them ...
PeterStaev/NativeScript-Status-Bar
sample/StatusBarSample/typings/tns-core-modules/ui/layouts/wrap-layout/wrap-layout.d.ts
TypeScript
apache-2.0
1,658
package io.cattle.platform.docker.storage.dao.impl; import static io.cattle.platform.core.model.tables.InstanceTable.*; import static io.cattle.platform.core.model.tables.ImageTable.*; import static io.cattle.platform.core.model.tables.StoragePoolTable.*; import io.cattle.platform.core.constants.InstanceConstants; im...
dx9/cattle
code/implementation/docker/storage/src/main/java/io/cattle/platform/docker/storage/dao/impl/DockerStorageDaoImpl.java
Java
apache-2.0
3,750
/* * 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 ...
mahak/hbase
hbase-client/src/main/java/org/apache/hadoop/hbase/client/MutableRegionInfo.java
Java
apache-2.0
11,012
/*************************GO-LICENSE-START********************************* * Copyright 2015 ThoughtWorks, 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...
jyotisingh/functional-tests
src/test/java/com/thoughtworks/cruise/page/CruiseAdminPage.java
Java
apache-2.0
2,207
' 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 Microsoft.CodeAnalysis.Rename.ConflictEngine Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp Public Class LocalConflictTests ...
amcasey/roslyn
src/EditorFeatures/Test2/Rename/CSharp/LocalConflictTests.vb
Visual Basic
apache-2.0
20,257
/* * Copyright 2014 gitblit.com. * * 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...
wellington-junio/gitblit
src/main/java/com/gitblit/tickets/FileTicketService.java
Java
apache-2.0
13,151
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.web.analytics.formatting; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeSet; import com.google.common.collect.Lists;...
DevStreet/FinanceAnalytics
projects/OG-Web/src/main/java/com/opengamma/web/analytics/formatting/BlackVolatilitySurfaceMoneynessFcnBackedByGridFormatter.java
Java
apache-2.0
2,954
/* * Copyright 2008 biaoping.yin * * 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 agr...
besom/bbossgroups-mvn
bboss_persistent/src/main/java/com/frameworkset/common/poolman/management/JMXClassLoader.java
Java
apache-2.0
1,595
import Ember from 'ember'; export function addAction(action, selector) { return function() { if ( Ember.Component.detectInstance(this) ) { this._super(); } else { this.get('controller').send(action); } Ember.run.next(this, function() { var matches = this.$(selector); ...
nrvale0/ui
app/utils/add-view-action.js
JavaScript
apache-2.0
469
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.Sql.Models { /// <summary> The LongTermRetentionDatabaseState. </summary> public readonly partial ...
yugangw-msft/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionDatabaseState.cs
C#
apache-2.0
2,810
/* ----------------------------------------------------------------------- *//** * * @file SymmetricPositiveDefiniteEigenDecomposition_impl.hpp * *//* ----------------------------------------------------------------------- */ #ifndef MADLIB_DBAL_EIGEN_INTEGRATION_SPDEIGENDECOMPOSITION_IMPL_HPP #define MADLIB_DBAL_...
lmatthieu/incubator-madlib
src/dbal/EigenIntegration/SymmetricPositiveDefiniteEigenDecomposition_impl.hpp
C++
apache-2.0
5,582
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
BeatCoding/droolsjbpm-integration
kie-remote/kie-remote-ws/kie-remote-ws-gen-wsdl/src/main/java/org/kie/remote/services/ws/sei/process/ProcessWebService.java
Java
apache-2.0
3,060
/** @file 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...
duke8253/trafficserver
plugins/experimental/slice/HttpHeader.cc
C++
apache-2.0
8,961
' 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.Collections.Generic Imports System.Collections.Immutable Imports System.Diagnostics.CodeAnalysis Imports System.Runtime.InteropServices Imports...
DavidKarlas/roslyn
src/Compilers/VisualBasic/Portable/Symbols/AnonymousTypes/AnonymousTypeDescriptor.vb
Visual Basic
apache-2.0
8,557
/** * Copyright 2018 The AMP HTML 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 require...
techhtml/amphtml
extensions/amp-subscriptions/0.1/test/test-platform-store.js
JavaScript
apache-2.0
25,782
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
MathieuDuponchelle/gdx
backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/GwtPreferences.java
Java
apache-2.0
5,413
@font-face { font-family: 'socicon'; src: url('font/socicon-webfont.eot'); src: url('font/socicon-webfont.eot?#iefix') format('embedded-opentype'), url('font/socicon-webfont.woff') format('woff'), url('font/socicon-webfont.woff2') format('woff2'), url('font/socicon-webfont.ttf') f...
nucleos-io/web
tools/socicon/socicon.css
CSS
apache-2.0
489
// Copyright 2012 the V8 project 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 "src/x64/codegen-x64.h" #if V8_TARGET_ARCH_X64 #include "src/codegen.h" #include "src/macro-assembler.h" namespace v8 { namespace internal {...
weolar/miniblink49
v8_5_7/src/x64/codegen-x64.cc
C++
apache-2.0
8,916
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * If x is +0, Math.atan(x) is +0 * * @path ch15/15.8/15.8.2/15.8.2.4/S15.8.2.4_A2.js * @description Checking if Math.atan(+0) equals to +0 */ // CHECK#1 var x = +0; if (Math.ata...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.8/15.8.2/15.8.2.4/S15.8.2.4_A2.js
JavaScript
apache-2.0
388
/* * Copyright 2017-present Facebook, 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 applicable law or...
LegNeato/buck
src/com/facebook/buck/rules/macros/AbstractClasspathAbiMacro.java
Java
apache-2.0
848
class Foo { constructor() { this.a = 42; this.b = 'hello'; this.emit('done'); } }
a1ph/puppeteer
utils/doclint/check_public_api/test/diff-properties/foo.js
JavaScript
apache-2.0
98
/* * 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 ...
yida-lxw/solr-5.3.1
lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/WordDictionary.java
Java
apache-2.0
18,324
/* * Copyright 2012 JBoss 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 applicable law or agreed to ...
Rikkola/uberfire
uberfire-nio2-backport/uberfire-nio2-impls/uberfire-nio2-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/NewProviderDefineDirTest.java
Java
apache-2.0
2,722
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title></title> <link rel="Stylesheet" href="../css/analysis.css" /> <script type="text/javascript"> function init() { if (window.location.hash) { var parentDiv, nodes, ...
aconyteds/Esri-Ozone-Map-Widget
vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/esri/dijit/analysis/help/fi/MergeLayers.html
HTML
apache-2.0
3,869
/* * 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 ...
ascherbakoff/ignite
modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ipfinder/multicast/TcpDiscoveryMulticastIpFinder.java
Java
apache-2.0
32,246
//>>built define("dojox/xmpp/UserService",["dijit","dojo","dojox"],function(h,e,c){e.provide("dojox.xmpp.UserService");e.declare("dojox.xmpp.UserService",null,{constructor:function(a){this.session=a},getPersonalProfile:function(){var a={id:this.session.getNextIqId(),type:"get"},d=new c.string.Builder(c.xmpp.util.create...
aconyteds/Esri-Ozone-Map-Widget
vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/xmpp/UserService.js
JavaScript
apache-2.0
2,217
/* * 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 ...
ascherbakoff/ignite
modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorPersistenceMetrics.java
Java
apache-2.0
12,132
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package source import ( "context" "fmt" "go/ast" "go/types" "golang.org/x/tools/internal/span" ) // ReferenceInfo holds information about reference to a...
pweil-/origin
vendor/golang.org/x/tools/internal/lsp/source/references.go
GO
apache-2.0
2,014
//===- BitstreamReader.h - Low-level bitstream reader interface -*- C++ -*-===// // // 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 // //===---------------------------...
GPUOpen-Drivers/llvm
include/llvm/Bitstream/BitstreamReader.h
C
apache-2.0
18,205
/* * Copyright 2018 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 app...
jomarko/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-backend/src/test/java/org/kie/workbench/common/stunner/bpmn/backend/converters/tostunner/associations/AssociationConverterTest.java
Java
apache-2.0
7,294
//===----------------------------------------------------------------------===// // // Peloton // // stats_storage_test.cpp // // Identification: test/optimizer/stats_storage_test.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===-----------------------...
AllisonWang/peloton
test/optimizer/stats_storage_test.cpp
C++
apache-2.0
9,196
// Copyright 2010 The Walk Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build windows package walk import ( "syscall" ) import ( "github.com/lxn/win" ) const groupBoxWindowClass = `\o/ Walk_GroupBox_Class \o/` func init...
admpub/spider
vendor/github.com/lxn/walk/groupbox.go
GO
apache-2.0
6,487
package com.mapswithme.maps.gdpr; import androidx.fragment.app.Fragment; import com.mapswithme.maps.base.BaseToolbarActivity; public class MwmOptOutActivity extends BaseToolbarActivity { @Override protected Class<? extends Fragment> getFragmentClass() { return OptOutFragment.class; } }
matsprea/omim
android/src/com/mapswithme/maps/gdpr/MwmOptOutActivity.java
Java
apache-2.0
302
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Thinktecture.IdentityManager; namespace Core.Tests.Core { [TestClass] public class IdentityManagerResult_Of_T_Tests { public class FooResult{} IdentityManagerResult<FooResult> subject; [Tes...
Ernesto99/IdentityManager
source/Core.Tests/Core/IdentityManagerResult`1Tests.cs
C#
apache-2.0
758
# Copyright 2020 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...
tensorflow/tensorflow
tensorflow/core/platform/ram_file_system_test.py
Python
apache-2.0
5,699
/* Copyright 2015 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...
HaebinShin/tensorflow
tensorflow/core/platform/mem.h
C
apache-2.0
3,694
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
andrewvc/elasticsearch
src/main/java/org/elasticsearch/common/lucene/search/AndFilter.java
Java
apache-2.0
3,118
/* * 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 ...
MikeThomsen/nifi
nifi-registry/nifi-registry-core/nifi-registry-client/src/main/java/org/apache/nifi/registry/client/impl/BucketItemDeserializer.java
Java
apache-2.0
3,299
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * Since applying the "call" method to Function constructor themself leads to creating a new function instance, the second argument must be a valid function body * * @path ch15/15.3...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.3/S15.3_A2_T1.js
JavaScript
apache-2.0
583
// ---------------------------------------------------------------------------------- // // Copyright Microsoft 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.apa...
kagamsft/azure-powershell
src/ResourceManager/Compute/Commands.Compute/Extension/CustomScript/RemoveAzureVMCustomScriptExtensionCommand.cs
C#
apache-2.0
2,606
#!/usr/bin/env python # -*- coding: utf-8 -*- """Script to run the tests.""" from __future__ import print_function import sys import unittest # Change PYTHONPATH to include dependencies. sys.path.insert(0, '.') import utils.dependencies # pylint: disable=wrong-import-position if __name__ == '__main__': print('...
log2timeline/dfwinreg
run_tests.py
Python
apache-2.0
1,027
/** * (C) Copyright IBM Corp. 2010, 2015 * * 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...
wjuncdl/systemml
system-ml/src/test/java/com/ibm/bi/dml/test/integration/functions/piggybacking/PiggybackingTest2.java
Java
apache-2.0
2,357
#!/bin/bash # Copyright 2014 The Kubernetes 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 require...
leroy-chen/kubernetes
cluster/vagrant/util.sh
Shell
apache-2.0
12,100
package sign import ( "testing" "github.com/coredns/caddy" ) func TestParse(t *testing.T) { tests := []struct { input string shouldErr bool exp *Signer }{ {`sign testdata/db.miek.nl miek.nl { key file testdata/Kmiek.nl.+013+59725 }`, false, &Signer{ keys: []Pair{}, ori...
miekg/coredns
plugin/sign/setup_test.go
GO
apache-2.0
1,784
/* * 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 ...
firzhan/wso2-ode
scheduler-simple/src/test/java/org/apache/ode/scheduler/simple/GeronimoDelegateSupport.java
Java
apache-2.0
3,782
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
alexksikes/elasticsearch
src/main/java/org/elasticsearch/common/lucene/search/function/FiltersFunctionScoreQuery.java
Java
apache-2.0
14,891
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
GlenRSmith/elasticsearch
server/src/internalClusterTest/java/org/elasticsearch/versioning/ConcurrentSeqNoVersioningIT.java
Java
apache-2.0
35,884
package com.gitonway.lee.niftymodaldialogeffects.lib.effects; import android.view.View; import com.nineoldandroids.animation.ObjectAnimator; /** * Created by lee on 2014/7/31. */ public class FlipV extends BaseEffects{ @Override protected void setupAnimation(View view) { getAnimatorSet().playToget...
zhujohnle/qbcp
QBLibrary/src/com/gitonway/lee/niftymodaldialogeffects/lib/effects/FlipV.java
Java
apache-2.0
434
/* * 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 ...
dongjoon-hyun/reef
lang/java/reef-examples/src/main/java/org/apache/reef/examples/group/bgd/data/parser/SVMLightParser.java
Java
apache-2.0
3,331
// Copyright 2009-2015 Josh Close and Contributors // This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. // See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. // http://csvhelper.co...
erdincay/CsvHelper
src/CsvHelper.Tests/Exceptions/ExceptionTests.cs
C#
apache-2.0
1,740
 <div class="page-header"> <h1> Roles <span ng-show="model.waiting" class="waiting label label-info">Searching...</span> <span ng-show="model.pager" class="badge">{{model.pager.total}} found</span> </h1> </div> <form ng-submit="search(model.filter)" class="form-group"> <div class="...
Ernesto99/IdentityManager
source/Core/Assets/Templates/roles/list.html
HTML
apache-2.0
1,979
package org.wiztools.restclient.jfx.req; import java.net.URL; import java.util.ResourceBundle; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.ComboBox; /** * FXML Controller class * * @author subhash */ public class UrlPaneController impleme...
geub/rest-client
restclient-jfx/src/main/java/org/wiztools/restclient/jfx/req/UrlPaneController.java
Java
apache-2.0
681
"use strict"; var _utils = require("./utils"); var _placeholders = require("./placeholders"); { (0, _utils.default)("Noop", { visitor: [] }); } (0, _utils.default)("Placeholder", { visitor: [], builder: ["expectedNode", "name"], fields: { name: { validate: (0, _utils.assertNodeType)("Identifi...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/@babel/types/lib/definitions/misc.js
JavaScript
apache-2.0
596
/* * Copyright 2011 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...
gstevey/gradle
subprojects/signing/src/main/java/org/gradle/plugins/signing/signatory/pgp/PgpKeyId.java
Java
apache-2.0
3,372
# Display KML network links Display a file with a KML network link, including displaying any network link control messages at launch. ![Image of display KML network links](DisplayKmlNetworkLinks.jpg) ## Use case KML files can reference other KML files on the network and support automatically refreshing content. Fo...
Esri/arcgis-runtime-samples-dotnet
src/iOS/Xamarin.iOS/Samples/Layers/DisplayKmlNetworkLinks/readme.md
Markdown
apache-2.0
1,631
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi; import com.intellij.lang.FileASTNode; import com.intellij.openapi.fileTypes.FileType; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.p...
ingokegel/intellij-community
platform/core-api/src/com/intellij/psi/PsiFile.java
Java
apache-2.0
3,843
/** * 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...
koscejev/camel
camel-core/src/test/java/org/apache/camel/model/GatherAllStaticEndpointUrisTest.java
Java
apache-2.0
2,605
/** * CreativePlaceholder.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201408; /** * A {@code CreativePlaceholder} describes a slot that a creative * is expected to * fill. This is u...
nafae/developer
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201408/CreativePlaceholder.java
Java
apache-2.0
19,799
class Virustotaluploader < Cask url 'https://www.virustotal.com/static/bin/VirusTotalUploader_1.1.dmg' homepage 'https://www.virustotal.com/' version '1.1' sha256 'e757f8eb49592dfe67169a5582bcc3cca01c8ecc6634853398813a2aa92f24a7' link 'VirusTotalUploader.app' end
tonyseek/homebrew-cask
Casks/virustotaluploader.rb
Ruby
bsd-2-clause
274
// 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. #ifndef WebEventListenerProperties_h #define WebEventListenerProperties_h #include "WebCommon.h" namespace blink { enum class WebEventListenerClass { ...
ssaroha/node-webrtc
third_party/webrtc/include/chromium/src/third_party/WebKit/public/platform/WebEventListenerProperties.h
C
bsd-2-clause
1,088
/* Copyright (c) Citrix Systems 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,...
agimofcarmen/xenadmin
XenModel/XenAPI-Extensions/VMPP.cs
C#
bsd-2-clause
12,194
// This file was procedurally generated from the following sources: // - src/dstr-binding-for-await/ary-ptrn-elision.case // - src/dstr-binding-for-await/default/for-await-of-async-func-let.template /*--- description: Elision advances iterator (for-await-of statement) esid: sec-for-in-and-for-of-statements-runtime-sema...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-await-of/async-func-dstr-let-ary-ptrn-elision.js
JavaScript
bsd-2-clause
2,376
cask "syncterm" do version "1.1" sha256 "24d7d0167a187336701fa1730fb4e04ed0d166204de73bb2d5cc2dd388a54308" # sourceforge.net/syncterm/ was verified as official when first introduced to the cask url "https://downloads.sourceforge.net/syncterm/syncterm/syncterm-#{version}/syncterm-#{version}-osx.zip" appcast "...
haha1903/homebrew-cask
Casks/syncterm.rb
Ruby
bsd-2-clause
555
#!/usr/bin/env python import time from concurrent.futures import ThreadPoolExecutor from eucaops import Eucaops from eucaops import S3ops from eutester.eutestcase import EutesterTestCase class WalrusConcurrent(EutesterTestCase): def __init__(self): self.setuptestcase() self.setup_parser() s...
nagyistoce/eutester
testcases/cloud_user/s3/walrus_concurrency.py
Python
bsd-2-clause
2,530
// Copyright 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. #ifndef COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_ #define COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_ ...
ssaroha/node-webrtc
third_party/webrtc/include/chromium/src/components/sync/engine/sync_manager_factory_for_profile_sync_test.h
C
bsd-2-clause
917
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="DOCTEXT"> <TITLE>MPI_Allgather</TITLE> </HEAD> <BODY BGCOLOR="FFFFFF"> <A NAME="MPI_Allgather"><H1>MPI_Allgather</H1></A> Gathers data from all tasks and distribute the combined data to all tasks <H2>Synopsis</H2> <PRE> int M...
hydrosolutions/model_RRMDA_Themi
java/resources/linux64_gnu/share/doc/www3/MPI_Allgather.html
HTML
bsd-2-clause
3,951
# # Copyright (c) 2005 # The President and Fellows of Harvard College. # # 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...
jf87/smap
python/tinyos/__init__.py
Python
bsd-2-clause
1,659
/** * */ package cz.metacentrum.perun.core.bl; import cz.metacentrum.perun.core.api.ActionType; import java.util.HashMap; import java.util.List; import cz.metacentrum.perun.core.api.Attribute; import cz.metacentrum.perun.core.api.AttributeDefinition; import cz.metacentrum.perun.core.api.AttributeRights; import cz....
jirmauritz/perun
perun-core/src/main/java/cz/metacentrum/perun/core/bl/AttributesManagerBl.java
Java
bsd-2-clause
193,360
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @emails oncall+react_native */ 'use strict'; jest.setMock('NativeModules', { BlobModule: require('../__mocks__/BlobModul...
hoastoolshop/react-native
Libraries/Blob/__tests__/Blob-test.js
JavaScript
bsd-3-clause
2,292
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the ...
Riges/KawaiViewModel
www/libs/Zend/Feed/Reader/Collection.php
PHP
bsd-3-clause
1,076
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SKSL_EXPRESSIONSTATEMENT #define SKSL_EXPRESSIONSTATEMENT #include "SkSLExpression.h" #include "SkSLStatement.h" namespace SkSL { /** * A lone expression being use...
Hikari-no-Tenshi/android_external_skia
src/sksl/ir/SkSLExpressionStatement.h
C
bsd-3-clause
911
#!/bin/sh RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" install_resource() { case $1 in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALI...
BeamApp/Transit
examples/objc-osx/Pods/Pods-resources.sh
Shell
bsd-3-clause
2,016
;***************************************************************************** ;* x86inc.asm: x264asm abstraction layer ;***************************************************************************** ;* Copyright (C) 2005-2015 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Anton Mitrofan...
liqianggao/libvpx
third_party/x86inc/x86inc.asm
Assembly
bsd-3-clause
45,789
using System.Reflection; using System.Runtime.InteropServices; using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Orchard.Cod...
smartnet-developers/Orchard
src/Orchard.Web/Modules/Orchard.CodeGeneration/Properties/AssemblyInfo.cs
C#
bsd-3-clause
1,359
// 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/prefs/pref_service_syncable_builder.h" #include "base/debug/trace_event.h" #include "base/prefs/default_pref_store.h" #inclu...
espadrine/opera
chromium/src/chrome/browser/prefs/pref_service_syncable_builder.cc
C++
bsd-3-clause
2,359
<?php /** * YiiBase class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2013 Yii Software LLC * @license http://www.yiiframework.com/license/ * @package system * @since 1.0 */ /** * Gets the application start timestamp. */ defined('YII_BEGIN_TIME') ...
nekulin/ontico
framework/YiiBase.php
PHP
bsd-3-clause
35,129
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard st, Cambridge MA, 02139 USA This program 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 F...
hlzz/dotfiles
science/igraph-0.7.1/examples/simple/igraph_layout_merge3.c
C
bsd-3-clause
1,338
#!/usr/bin/env vpython # 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. """A script to recover devices in a known bad state.""" import argparse import glob import logging import os import signal import sys ...
catapult-project/catapult
devil/devil/android/tools/device_recovery.py
Python
bsd-3-clause
9,284
// 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_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ #define CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ #include <string> #include <vector> #inc...
SaschaMester/delicium
content/common/gpu/client/gpu_channel_host.h
C
bsd-3-clause
9,332
// 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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ #...
danakj/chromium
chrome/browser/chromeos/input_method/input_method_manager_impl.h
C
bsd-3-clause
12,223
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
sandsmedia/zf
library/Zend/Rest/Controller.php
PHP
bsd-3-clause
2,542
/* * Copyright (c) 2011 Yahoo! Inc. All rights reserved. */ YUI.add('CM_NewsBinderIndex', function(Y, NAME) { /** * The CM_NewsBinderIndex module. * * @module CM_NewsBinderIndex */ /** * Constructor for the Binder class. * * @param mojitProxy {Object} The proxy to allow the binder to interact...
1950195/mojito
tests/func/applications/frameworkapp/common/mojits_subdir1/other_mojits/CM_News/binders/index.js
JavaScript
bsd-3-clause
1,853
// 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 "mojo/public/cpp/platform/platform_channel.h" #include <cstddef> #include <cstdint> #include <string> #include <tuple> #include <utility> #incl...
chromium/chromium
mojo/public/cpp/platform/platform_channel.cc
C++
bsd-3-clause
13,042
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * Copyright (C) 2000 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved. * * This library is free software; you can redistribute it and/or * mo...
js0701/chromium-crosswalk
third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
C++
bsd-3-clause
22,775
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkRWBuffer.h" #include "SkMakeUnique.h" #include "SkMalloc.h" #include "SkStream.h" #include "SkTo.h" #include <atomic> #include <new> // Force small chunks to be...
Hikari-no-Tenshi/android_external_skia
src/core/SkRWBuffer.cpp
C++
bsd-3-clause
10,413