code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Fre...
rathoresrikant/Implementation-of-Curvy-RED-in-ns-3
src/lte/model/lte-rrc-header.cc
C++
gpl-2.0
237,854
/* * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This code is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * only, as published by the Free Software Foun...
wufucious/moped
squawk/cldc/src/com/sun/cldc/util/j2me/CalendarImpl.java
Java
gpl-2.0
30,363
# This code is part of Ansible, but is an independent component. # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license # to the complete wo...
tux-00/ansible
lib/ansible/module_utils/netconf.py
Python
gpl-3.0
3,772
require 'active_support/core_ext/array' require 'active_support/core_ext/hash/except' require 'active_support/core_ext/kernel/singleton_class' require 'active_support/core_ext/object/blank' module ActiveRecord # = Active Record Named \Scopes module NamedScope extend ActiveSupport::Concern module ClassMeth...
mzemel/kpsu.org
vendor/gems/ruby/1.8/gems/activerecord-3.0.3/lib/active_record/named_scope.rb
Ruby
gpl-3.0
5,522
// ******* // This is an internal file of the IMMERSED BOUNDARY implementation // It should not be included by any main Espresso routines // Functions to be exported for Espresso are in ibm_main.hpp #include "config.hpp" #ifdef IMMERSED_BOUNDARY #include <mpi.h> #include "cells.hpp" #include "grid.hpp" #include "c...
sehrhardt/espresso
src/core/immersed_boundary/ibm_cuda_interface.cpp
C++
gpl-3.0
7,514
# -*- coding: utf-8 -*- ################################################################################## # # Copyright (c) 2005-2006 Axelor SARL. (http://www.axelor.com) # and 2004-2010 Tiny SPRL (<http://tiny.be>). # # $Id: hr.py 4656 2006-11-24 09:58:42Z Cyp $ # # This program is free software: you can redistri...
ncliam/serverpos
openerp/addons/hr_holidays/hr_holidays.py
Python
agpl-3.0
34,256
<?php /** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright (C) 2011 - 2018 SalesAgility Ltd. * * This program is f...
ChangezKhan/SuiteCRM
include/connectors/filters/default/filter.php
PHP
agpl-3.0
3,456
// --------------------------------------------------------------------- // // Copyright (C) 1998 - 2014 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
johntfoster/dealii
tests/base/quadrature_test.cc
C++
lgpl-2.1
6,728
// --------------------------------------------------------------------- // // Copyright (C) 2003 - 2014 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
natashasharma/dealii
tests/bits/cylinder_shell_01.cc
C++
lgpl-2.1
1,499
/* * 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...
jimczi/elasticsearch
core/src/test/java/org/elasticsearch/index/IndexingSlowLogTests.java
Java
apache-2.0
13,647
/* 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 required by applicable law or ag...
livingbio/kubernetes
pkg/apiserver/handlers_test.go
GO
apache-2.0
11,099
// Copyright 2011 Google Inc. All Rights Reserved. // This file was generated from .js source files by GYP. If you // want to make changes to this file you should either change the // javascript source files or the GYP script. #include "src/v8.h" #include "src/snapshot/natives.h" #include "src/utils.h" namespace v8...
weolar/miniblink49
gen/v8_5_7/experimental-extras-libraries.cc
C++
apache-2.0
2,451
import java.util.*; class Test { private Set<String> foo; void test(Test t1, String s) { t1.foo = new HashSet<>(); t1.foo.add(s); } }
siosio/intellij-community
plugins/IntentionPowerPak/test/com/siyeh/ipp/collections/to_mutable_collection/FieldAssignment_after.java
Java
apache-2.0
151
/// <reference path='fourslash.ts' /> ////function functionOverload(); ////function functionOverload(test: string); ////function functionOverload(test?: string) { } ////functionOverload(/*functionOverload1*/); ////functionOverload(""/*functionOverload2*/); verify.signatureHelp( { marker: "functi...
domchen/typescript-plus
tests/cases/fourslash/signatureHelpFunctionOverload.ts
TypeScript
apache-2.0
652
/* * Copyright 2010 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 applicable law...
spockframework/spock
spock-core/src/main/java/org/spockframework/runtime/condition/IObjectRendererService.java
Java
apache-2.0
809
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
elijah513/druid
server/src/test/java/io/druid/metadata/IndexerSQLMetadataStorageCoordinatorTest.java
Java
apache-2.0
11,028
// Copyright 2000-2020 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.ide.projectView.impl.nodes; import com.intellij.ide.IdeBundle; import com.intellij.ide.projectView.PresentationData; import com.intellij.ide.projectView.Proj...
siosio/intellij-community
platform/lang-impl/src/com/intellij/ide/projectView/impl/nodes/LibraryGroupNode.java
Java
apache-2.0
5,590
/** * @fileoverview Rule to enforce spacing around embedded expressions of template strings * @author Toru Nagashima */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ co...
BigBoss424/portfolio
v8/development/node_modules/gatsby/node_modules/eslint/lib/rules/template-curly-spacing.js
JavaScript
apache-2.0
4,149
# Copyright (c) 2017 Keith Ito """ from https://github.com/keithito/tacotron """ ''' Defines the set of symbols used in text input to the model. The default is a set of ASCII characters that works well for English or text that has been run through Unidecode. For other data, you can modify _characters. See TRAINING_DA...
mlperf/inference_results_v0.7
open/Inspur/code/rnnt/tensorrt/preprocessing/parts/text/symbols.py
Python
apache-2.0
749
/* * 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 ...
nikhilvibhav/camel
components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsAllowNullBodyTest.java
Java
apache-2.0
3,981
/* * * 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"); y...
hsbhathiya/stratos
components/org.apache.stratos.manager.console/modules/console/scripts/server.js
JavaScript
apache-2.0
1,188
package graph import ( "fmt" "io" "runtime" "time" "github.com/Sirupsen/logrus" "github.com/docker/docker/api/types" "github.com/docker/docker/utils" ) // Lookup looks up an image by name in a TagStore and returns it as an // ImageInspect structure. func (s *TagStore) Lookup(name string) (*types.ImageInspect,...
wcwxyz/docker
graph/service.go
GO
apache-2.0
2,129
/* * #%L * Native ARchive plugin for Maven * %% * Copyright (C) 2002 - 2014 NAR Maven Plugin developers. * %% * 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.or...
dugilos/nar-maven-plugin
src/test/java/com/github/maven_nar/cpptasks/compiler/TestAbstractCompiler.java
Java
apache-2.0
3,408
/// <reference path='fourslash.ts' /> // @Filename: goToTypeDefinitioAliases_module1.ts /////*definition*/interface I { //// p; ////} ////export {I as I2}; // @Filename: goToTypeDefinitioAliases_module2.ts ////import {I2 as I3} from "./goToTypeDefinitioAliases_module1"; ////var v1: I3; ////export {v1 as...
plantain-00/TypeScript
tests/cases/fourslash/goToTypeDefinitionAliases.ts
TypeScript
apache-2.0
645
/* * 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 ...
tdiesler/camel
components/camel-spring-redis/src/test/java/org/apache/camel/component/redis/RedisTestSupport.java
Java
apache-2.0
2,242
# 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. # pylint: disable=W0401,W0614 from telemetry import story from telemetry.page import page as page_module from telemetry.page import shared_page_state clas...
HalCanary/skia-hc
tools/skp/page_sets/skia_espn_desktop.py
Python
bsd-3-clause
1,170
// 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 <string> #include "chrome/app/chrome_command_ids.h" #include "chrome/browser/content_settings/cookie_settings_factory.h" #include "chrome/br...
SaschaMester/delicium
chrome/browser/collected_cookies_browsertest.cc
C++
bsd-3-clause
2,289
var get = Ember.get; Ember._ResolvedState = Ember.Object.extend({ manager: null, state: null, match: null, object: Ember.computed(function(key) { if (this._object) { return this._object; } else { var state = get(this, 'state'), match = get(this, 'match'), manager = get(...
teddyzeenny/ember.js
packages/ember-old-router/lib/resolved_state.js
JavaScript
mit
985
/* Project Orleans Cloud Service SDK ver. 1.0 Copyright (c) Microsoft Corporation All rights reserved. MIT License 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, in...
TedDBarr/orleans
Samples/TwitterSentiment/TwitterGrainInterfaces/ITweetGrain.cs
C#
mit
1,600
require('mocha'); require('should'); var assert = require('assert'); var support = require('./support'); var App = support.resolve(); var app; describe('app.option', function() { beforeEach(function() { app = new App(); }); it('should set a key-value pair on options:', function() { app.option('a', 'b');...
Gargitier5/tier5portal
vendors/update/test/app.option.js
JavaScript
mit
2,760
# encoding: utf-8 module Mongoid #:nodoc: module Extensions #:nodoc: module Boolean #:nodoc: module Conversions #:nodoc: def set(value) val = value.to_s val == "true" || val == "1" end def get(value) value end end end end end
listrophy/mongoid
lib/mongoid/extensions/boolean/conversions.rb
Ruby
mit
312
<?php class Foo extends Bar { public function bar($foobar = array(parent::FOOBAR)) {} } ?>
sowbiba/senegal-front
vendor/pdepend/pdepend/src/test/resources/files/Parser/testParserHandlesParentKeywordInMethodParameterDefaultValue.php
PHP
mit
95
/** * @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 */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js const u = undefined; expo...
mgechev/angular
packages/common/locales/extra/nb.ts
TypeScript
mit
848
<?php /** * Settings screen sidebar for free plugins with a pro version. Display the reasons to upgrade * and the mailing list. */ ?> <!-- Keep Updated --> <div class="postbox"> <div class="handlediv" title="Click to toggle"><br /></div> <h3 class="hndle"><span><?php _e('Keep Updated', $this->plugin->name); ?><...
TheOrchardSolutions/WordPress
wp-content/plugins/wp-to-buffer/_modules/dashboard/views/sidebar-upgrade.php
PHP
gpl-2.0
1,049
// SPDX-License-Identifier: GPL-2.0-or-later package org.dolphinemu.dolphinemu.adapters; import android.content.res.Resources; import android.view.ViewGroup; import androidx.leanback.widget.ImageCardView; import androidx.leanback.widget.Presenter; import org.dolphinemu.dolphinemu.model.TvSettingsItem; import org.do...
ZephyrSurfer/dolphin
Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/adapters/SettingsRowPresenter.java
Java
gpl-2.0
1,484
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
somaen/scummvm
engines/wintermute/ext/dll_httpconnect.cpp
C++
gpl-2.0
8,196
// errorcheck // Copyright 2017 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. // Issue 20227: panic while constructing constant "1i/1e-600000000" package p var _ = 1 / 1e-600000000i // ERROR "division by zero" var _ = 1i...
Gurgel100/gcc
gcc/testsuite/go.test/test/fixedbugs/issue20227.go
GO
gpl-2.0
565
<?php // $Id: panels-dashboard-link.tpl.php,v 1.3 2010/10/11 22:56:02 sdboyer Exp $ ?> <div class="dashboard-entry clearfix"> <div class="dashboard-text"> <div class="dashboard-link"> <?php print $link['title']; ?> </div> <div class="description"> <?php print $link['description']; ?> </div...
TransmissionStudios/Transmission
sites/default/modules/panels/templates/panels-dashboard-link.tpl.php
PHP
gpl-2.0
338
tinyMCE.addI18n('ka.wordcount',{words:"Words: "});
freaxmind/miage-l3
web/blog Tim Burton/tim_burton/protected/extensions/tinymce/assets/tiny_mce/plugins/wordc/langs/ka_dlg.js
JavaScript
gpl-3.0
50
/* * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2015 Daniel Marjamäki and Cppcheck team. * * 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 Foundation, either version 3 of th...
SkyroverTech/SkyroverCF
lib/cppcheck-1.71/gui/xmlreportv1.cpp
C++
gpl-3.0
5,973
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; namespace ICSharpCode.ILSpy.Debugger.Services { /// <summary> /// Very naiv...
damnya/dnSpy
ILSpy/Services/ParserService.cs
C#
gpl-3.0
2,300
// This file has been generated by Py++. #include "boost/python.hpp" #include "generators/include/python_CEGUI.h" #include "DefaultLogger.pypp.hpp" namespace bp = boost::python; struct DefaultLogger_wrapper : CEGUI::DefaultLogger, bp::wrapper< CEGUI::DefaultLogger > { DefaultLogger_wrapper( ) : CEGUI::Defau...
geminy/aidear
oss/cegui/cegui-0.8.7/cegui/src/ScriptModules/Python/bindings/output/CEGUI/DefaultLogger.pypp.cpp
C++
gpl-3.0
3,612
/* Copyright 2015 the SumatraPDF project authors (see AUTHORS file). License: GPLv3 */ // utils #include "BaseUtil.h" #include "Dpi.h" #include "FileUtil.h" #include "GdiPlusUtil.h" #include "LabelWithCloseWnd.h" #include "UITask.h" #include "WinUtil.h" // rendering engines #include "BaseEngine.h" #inc...
the7day/sumatrapdf
src/Favorites.cpp
C++
gpl-3.0
27,609
package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0 /** //indent:0 exp:0 * This test-input is intended to be checked using following configuration: //indent:1 exp:1 * ...
jochenvdv/checkstyle
src/test/resources/com/puppycrawl/tools/checkstyle/checks/indentation/indentation/InputIndentationInvalidWhileIndent.java
Java
lgpl-2.1
4,344
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
izzizz/pinot
pinot-transport/src/main/java/com/linkedin/pinot/routing/builder/RoutingTableInstancePruner.java
Java
apache-2.0
2,428
import dataclasses from typing import ClassVar, Dict, List, Set, Tuple, Type from collections import OrderedDict @dataclasses.dataclass class A: a: List[int] = <error descr="Mutable default '[]' is not allowed. Use 'default_factory'">[]</error> b: List[int] = <error descr="Mutable default 'list()' is not allo...
siosio/intellij-community
python/testData/inspections/PyDataclassInspection/defaultFieldValue.py
Python
apache-2.0
1,215
/* * 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; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.textstructure.structurefinder; imp...
GlenRSmith/elasticsearch
x-pack/plugin/text-structure/src/test/java/org/elasticsearch/xpack/textstructure/structurefinder/GrokPatternCreatorTests.java
Java
apache-2.0
37,348
/* * Copyright 2014 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 i...
ThiagoGarciaAlves/drools
drools-workbench-models/drools-workbench-models-guided-dtree/src/main/java/org/drools/workbench/models/guided/dtree/shared/model/nodes/TypeNode.java
Java
apache-2.0
791
/* * Copyright 2011 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 ...
culmat/gitblit
src/main/java/com/gitblit/utils/GitBlitDiffFormatter.java
Java
apache-2.0
6,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"); you may...
punkhorn/camel-upstream
components/camel-docker/src/test/java/org/apache/camel/component/docker/headers/WaitContainerCmdHeaderTest.java
Java
apache-2.0
2,429
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
tubemogul/druid
server/src/main/java/io/druid/server/coordinator/rules/LoadRule.java
Java
apache-2.0
9,453
/* * 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 ma...
rdicroce/deltaspike
deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ServiceUtils.java
Java
apache-2.0
3,022
/* * 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 ...
kidaa/jena
jena-core/src/main/java/jena/rdfcopy.java
Java
apache-2.0
5,015
/* * 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 ...
cxfeng1/incubator-weex
runtime/frameworks/legacy/app/register.js
JavaScript
apache-2.0
3,146
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
kasungayan/carbon-identity
components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/InboundAuthenticationRequestConfig.java
Java
apache-2.0
4,407
// ---------------------------------------------------------------------------------- // // 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...
atpham256/azure-powershell
src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs
C#
apache-2.0
2,292
/* * 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 ...
hengxin/cassandra
test/unit/org/apache/cassandra/utils/SerializationsTest.java
Java
apache-2.0
6,082
package gitserver import ( "fmt" "io/ioutil" "log" "net/http" "net/url" "os" "os/exec" "path/filepath" "regexp" "strings" "github.com/golang/glog" "github.com/openshift/origin/pkg/git" s2igit "github.com/openshift/source-to-image/pkg/scm/git" ) var lazyInitMatch = regexp.MustCompile("^/([^\\/]+?)/info...
wjiangjay/origin
pkg/gitserver/initializer.go
GO
apache-2.0
5,915
package com.tutsplus.vectordrawables; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
biwoodfengs/AndroidDemoProjects
VectorDrawables/app/src/androidTest/java/com/tutsplus/vectordrawables/ApplicationTest.java
Java
apache-2.0
359
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
keycloak/keycloak
testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/util/LDAPRule.java
Java
apache-2.0
15,403
/* * 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/main/java/org/elasticsearch/search/aggregations/pipeline/SerialDiffPipelineAggregator.java
Java
apache-2.0
4,241
std_trap = trap("INT") { exit! 130 } # no backtrace thanks require "pathname" HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.parent.join("Homebrew") $:.unshift(HOMEBREW_LIBRARY_PATH.to_s) require "global" if ARGV == %w[--version] || ARGV == %w[-v] puts "Homebrew #{Homebrew.homebrew_version_string}" puts ...
joshfriend/homebrew
Library/brew.rb
Ruby
bsd-2-clause
4,159
class Querious < Cask version 'latest' sha256 :no_check url 'http://www.araelium.com/querious/downloads/Querious.dmg' appcast 'https://store.araelium.com/updates/querious' homepage 'http://www.araelium.com/querious/' link 'Querious.app' end
NorthIsUp/homebrew-cask
Casks/querious.rb
Ruby
bsd-2-clause
255
// Copyright Louis Dionne 2013-2016 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/and.hpp> #include <boost/hana/assert.hpp> #include <boost/hana/bool.hpp> namespace hana = boost::hana; BOOST_HANA_CO...
bureau14/qdb-benchmark
thirdparty/boost/libs/hana/example/and.cpp
C++
bsd-2-clause
499
# 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. from telemetry.page import page as page_module from telemetry.page import page_set as page_set_module class BigJsPageSet(page_set_module.PageSet): """ Sit...
markYoungH/chromium.src
tools/perf/page_sets/big_js.py
Python
bsd-3-clause
935
// 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 "remoting/host/user_authenticator.h" #include <Security/Security.h> #include <string> #include "base/basictypes.h" #include "base/mac/mac_...
aYukiSekiguchi/ACCESS-Chromium
remoting/host/user_authenticator_mac.cc
C++
bsd-3-clause
2,647
// 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. (function() { // We are going to kill all of the builtins, so hold onto the ones we need. var defineGetter = Object.prototype.__defineGetter__; var defin...
Chilledheart/chromium
chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js
JavaScript
bsd-3-clause
11,033
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
annatisch/autorest
src/generator/AutoRest.Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/operations/formdata_operations.py
Python
mit
5,590
// Copyright 2012 The Closure Library 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 requ...
odajima-yu/closure-rails
vendor/assets/javascripts/goog/events/eventtargettester.js
JavaScript
mit
32,410
/* * Copyright (C) 2012 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...
madhavanks26/com.vliesaputra.deviceinformation
src/com/vliesaputra/cordova/plugins/android/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/OutsideTaskActivity.java
Java
mit
1,318
// No generics for getters and setters ({ set foo<T>(newFoo) {} })
facebook/flow
src/parser/test/flow/invalid_syntax/migrated_0012.js
JavaScript
mit
67
export const tinyNDArray: any;
markogresak/DefinitelyTyped
types/poisson-disk-sampling/src/tiny-ndarray.d.ts
TypeScript
mit
31
//------------------------------------------------------------------------------ // <copyright file="ValueOfAction.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="...
sekcheong/referencesource
System.Data.SqlXml/System/Xml/Xsl/XsltOld/ValueOfAction.cs
C#
mit
3,999
/** * @license * Copyright Google Inc. 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 {Component, Directive, ElementRef, Injector, Input, NgModule, destroyPlatform} from '@angular/core'; import {...
awerlang/angular
modules/@angular/upgrade/test/aot/integration/examples_spec.ts
TypeScript
mit
3,443
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
rokn/Count_Words_2015
testing/openjdk2/nashorn/src/jdk/nashorn/internal/objects/annotations/Getter.java
Java
mit
2,016
<?php /** * Hoa * * * @license * * New BSD License * * Copyright © 2007-2015, Hoa community. 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 ...
Halleck45/PhpMetricsZendServer
zray/vendor/hoa/iterator/Glob.php
PHP
mit
1,879
# testing/mock.py # Copyright (C) 2005-2016 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Import stub for mock library. NOTE: copied/adapted from SQLAlchemy master f...
pcu4dros/pandora-core
workspace/lib/python3.5/site-packages/alembic/testing/mock.py
Python
mit
791
// Type definitions for bootstrap4-toggle 3.6 // Project: https://github.com/gitbrent/bootstrap4-toggle, https://gitbrent.github.io/bootstrap4-toggle/ // Definitions by: Mitchell Grice <https://github.com/gricey432> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.7 /// <refe...
markogresak/DefinitelyTyped
types/bootstrap4-toggle/index.d.ts
TypeScript
mit
852
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var fs = require('fs'); var morgan = require('morgan'); var routes = require('./routes/index'); var ...
lmazuel/autorest
src/dev/TestServer/server/app.js
JavaScript
mit
18,237
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
theoweiss/openhab2
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/basic/CommandParameterType.java
Java
epl-1.0
1,157
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Tests\Constraints; use PHPUnit\Framework\Te...
isauragalafate/drupal8
vendor/symfony/validator/Tests/Constraints/RegexTest.php
PHP
gpl-2.0
3,009
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Notify\V1\Service; use Twilio\Options; use Twilio\Values; /** * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ abstract...
Haynie-Research-and-Development/jarvis
web/webapi/sms/vendor/twilio/sdk/Twilio/Rest/Notify/V1/Service/BindingOptions.php
PHP
gpl-2.0
5,550
<?php namespace Neos\Neos\Controller\Module; /* * This file is part of the Neos.Neos package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source c...
aertmann/neos-development-collection
Neos.Neos/Classes/Controller/Module/UserController.php
PHP
gpl-3.0
460
namespace MixERP.Net.WebControls.Flag { public partial class FlagControl { private bool disposed; public override void Dispose() { if (!this.disposed) { this.Dispose(true); base.Dispose(); } } private ...
gguruss/mixerp
src/Libraries/Server Controls/Project/MixERP.Net.WebControls.Flag/FlagControl/IDisposable.cs
C#
gpl-3.0
972
/* * Copyright (C) 2014 Arpit Khurana <arpitkh96@gmail.com> * * This file is part of Amaze File Manager. * * Amaze File Manager is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the Li...
jiyuren/AmazeFileManager-1
src/main/java/com/amaze/filemanager/utils/RootHelper.java
Java
gpl-3.0
7,137
package aws import ( "fmt" "reflect" "strings" "testing" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/service/autoscaling" "github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/terraform" ) func TestAccAWSAutoScalingGroup_basic(...
keen99/terraform
builtin/providers/aws/resource_aws_autoscaling_group_test.go
GO
mpl-2.0
15,294
/* * eXist Open Source Native XML Database * Copyright (C) 2009-2011 The eXist Project * http://exist-db.org * * This program 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 versio...
MjAbuz/exist
extensions/debuggee/src/org/exist/debuggee/dbgp/packets/StepInto.java
Java
lgpl-2.1
1,942
package bootstrappolicy import ( rbacrest "k8s.io/kubernetes/pkg/registry/rbac/rest" ) func Policy() *rbacrest.PolicyData { return &rbacrest.PolicyData{ ClusterRoles: GetBootstrapClusterRoles(), ClusterRoleBindings: GetBootstrapClusterRoleBindings(), Roles: GetBootstrapNamespaceRoles(), ...
kedgeproject/kedge
vendor/github.com/openshift/origin/pkg/cmd/server/bootstrappolicy/all.go
GO
apache-2.0
384
package com.codahale.metrics.health.jvm; import com.codahale.metrics.health.HealthCheck; import com.codahale.metrics.jvm.ThreadDeadlockDetector; import java.util.Set; /** * A health check which returns healthy if no threads are deadlocked. */ public class ThreadDeadlockHealthCheck extends HealthCheck { private...
gburton1/metrics
metrics-healthchecks/src/main/java/com/codahale/metrics/health/jvm/ThreadDeadlockHealthCheck.java
Java
apache-2.0
1,021
package io.dropwizard.jdbi.args; import org.skife.jdbi.v2.StatementContext; import org.skife.jdbi.v2.tweak.Argument; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Timestamp; import java.sql.Types; import java.time.Instant; import java.util.Calendar; import java.util.Optional; /** ...
patrox/dropwizard
dropwizard-jdbi/src/main/java/io/dropwizard/jdbi/args/InstantArgument.java
Java
apache-2.0
1,397
package cache import ( "time" kapi "k8s.io/kubernetes/pkg/api" errors "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/client/cache" "k8s.io/kubernetes/pkg/fields" "k8s.io/kubernetes/pkg/labels" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/watch" authorizationapi "github.com/openshift/ori...
yepengxj/df_st_origin1
pkg/authorization/cache/clusterpolicybinding.go
GO
apache-2.0
4,026
//// [tests/cases/compiler/pathMappingBasedModuleResolution5_classic.ts] //// //// [file1.ts] import {x} from "folder2/file1" import {y} from "folder3/file2" import {z} from "components/file3" import {z1} from "file4" declare function use(a: any): void; use(x.toExponential()); use(y.toExponential()); use(z.toExpo...
weswigham/TypeScript
tests/baselines/reference/pathMappingBasedModuleResolution5_classic.js
JavaScript
apache-2.0
1,513
/* * 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 ...
yanzhijun/jclouds-aliyun
providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/features/AWSInstanceApi.java
Java
apache-2.0
4,022
/* * 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 ...
BiryukovVA/ignite
modules/core/src/main/java/org/apache/ignite/internal/direct/DirectMessageWriter.java
Java
apache-2.0
12,148
/** * @license * Copyright Google Inc. 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 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory() : typeof define ==...
Geovanny0401/bookStore
bookstore-front/node_modules/zone.js/dist/zone-bluebird.js
JavaScript
apache-2.0
1,237
/* * 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...
asedunov/intellij-community
platform/lang-impl/src/com/intellij/testIntegration/TestFinderHelper.java
Java
apache-2.0
4,188
<?php namespace SleepingOwl\Admin; use SleepingOwl\Html\FormBuilder; use SleepingOwl\Html\HtmlBuilder; use SleepingOwl\Admin\Menu\MenuItem; use SleepingOwl\Admin\Models\ModelItem; use SleepingOwl\Admin\Models\Models; use Illuminate\Config\Repository; use Illuminate\Filesystem\Filesystem; use Illuminate\Routing\Router ...
dungbq89/lnews
vendor/sleeping-owl/admin/src/SleepingOwl/Admin/Admin.php
PHP
apache-2.0
3,169
Puppet::Type.newtype(:ec2_scalingpolicy) do @doc = 'Type representing an EC2 scaling policy.' ensurable newparam(:name, namevar: true) do desc 'The name of the scaling policy.' validate do |value| fail 'Scaling policies must have a name' if value == '' fail 'name should be a String' unless v...
MarsuperMammal/pw_gce
lib/puppet/type/ec2_scalingpolicy.rb
Ruby
apache-2.0
1,573
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
pinotlytics/pinot
pinot-core/src/test/java/com/linkedin/pinot/core/realtime/RealtimeIntegrationTest.java
Java
apache-2.0
877
/* * 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 ...
NSAmelchev/ignite
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/oom/IgniteQueryOOMTestSuite.java
Java
apache-2.0
1,192