repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
drbeermann/cordova-docs
docs/en/2.9.0/cordova/globalization/globalization.dateToString.md
3115
--- 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 ...
apache-2.0
danmcp/source-to-image
vendor/k8s.io/kubernetes/pkg/api/v1/conversion.go
21451
/* Copyright 2015 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...
apache-2.0
smmribeiro/intellij-community
platform/util/testSrc/com/intellij/ui/MixedColorProducerTest.java
4269
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.ui; import org.jetbrains.annotations.NotNull; import org.junit.Assert; import org.junit.Test; import java.awt.*; public final class MixedColorProducerTest { @Test public v...
apache-2.0
ilovesoup/hyracks
hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/edu/uci/ics/hyracks/hdfs/api/IKeyValueParser.java
1862
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
apache-2.0
knadikari/developer-studio
common/org.wso2.developerstudio.eclipse.artifact.security/src/org/wso2/developerstudio/eclipse/security/project/model/ServiceGroup.java
5773
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.12.11 at 12:17...
apache-2.0
wiltonlazary/arangodb
tests/js/server/recovery/collection-duplicate.js
2684
/* jshint globalstrict:false, strict:false, unused : false */ /* global assertEqual */ // ////////////////////////////////////////////////////////////////////////////// // / @brief tests for dump/reload // / // / @file // / // / DISCLAIMER // / // / Copyright 2010-2012 triagens GmbH, Cologne, Germany // / // / License...
apache-2.0
mehant/drill
exec/java-exec/src/main/java/org/apache/drill/exec/store/avro/AvroRecordReader.java
13522
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
nishantmonu51/druid
server/src/main/java/org/apache/druid/guice/RouterProcessingModule.java
3537
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
arenadata/ambari
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/assets/AssetResource.java
8219
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
centic9/subversion-ppa
subversion/bindings/javahl/native/org_apache_subversion_javahl_types_Version.cpp
2343
/** * @copyright * ==================================================================== * 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. ...
apache-2.0
chibenwa/james
protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPChannelUpstreamHandler.java
2858
/**************************************************************** * 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 ...
apache-2.0
Vaysman/maven-php-plugin
maven-plugins/it/src/test/resources/org/phpmaven/test/projects/mojos-phar/phar-with-dep1-folders/src/test/php/FooTest.php
423
<?php /** * The foo test class * * @author mepeisen */ class FooTest extends PHPUnit_Framework_TestCase { /** * tests the bar function */ public function testFoo() { include "folderA/MyClassA.php"; $o = new folderA\MyMavenTestClassA(); $this->assertEquals("foo", $o->getFoo()); include "folderB/My...
apache-2.0
hasinitg/airavata
modules/credential-store/credential-store-service/src/main/java/org/apache/airavata/credential/store/store/impl/db/CommunityUserDAO.java
9093
/* * * 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...
apache-2.0
countshadow/MyScriptJS
src/output/shape/shapeErased.js
532
'use strict'; (function (scope) { /** * Shape erased * * @class ShapeErased * @extends ShapeCandidate * @param {Object} [obj] * @constructor */ function ShapeErased(obj) { scope.ShapeCandidate.call(this, obj); } /** * Inheritance property */ Sha...
apache-2.0
googlearchive/caja
third_party/java/htmlparser/src/nu/validator/htmlparser/annotation/Inline.java
1211
/* * Copyright (c) 2009 Mozilla Foundation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merg...
apache-2.0
MRunFoss/NoahGameFrame
NFServer/NFGameServerScriptPlugin/NFCGameServerScriptModule.cpp
1286
// ------------------------------------------------------------------------- // @FileName : NFCGameServerScriptModule.cpp // @Author : LvSheng.Huang // @Date : 2013-01-02 // @Module : NFCGameServerScriptModule // @Desc : // --------------...
apache-2.0
goodwinnk/intellij-community
RegExpSupport/src/org/intellij/lang/regexp/RegExpLanguageHost.java
4005
/* * 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...
apache-2.0
LabAixBidouille/EmbeddedTeam
courses/examples/CMSIS/Device/ATMEL/sam4l/include/instance/picouart.h
3076
/** * \file * * \brief Instance description for PICOUART * * Copyright (c) 2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met...
apache-2.0
JingchengDu/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/ManagedParentQueue.java
18592
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
spinnaker/deck
packages/google/src/loadBalancer/configure/http/hostRule/hostRule.component.html
2086
<hr class="host-rule" ng-if="$ctrl.index > 0" /> <div class="container-fluid form-horizontal"> <div class="form-group"> <div class="col-md-4 sm-label-right"> Host Patterns <help-field key="gce.httpLoadBalancer.hostRule.hostPattern"> </help-field> </div> <div class="col-md-4"> <ui-select ...
apache-2.0
dbmalkovsky/flowable-engine
modules/flowable5-engine/src/main/java/org/activiti/engine/impl/jobexecutor/TimerDeclarationImpl.java
8975
/* 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...
apache-2.0
madhav123/gkmaster
appdomain/src/main/java/org/mifos/customers/checklist/business/CheckListBO.java
5902
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * * Unl...
apache-2.0
adfernandes/mbed
targets/TARGET_Cypress/TARGET_PSOC6/mtb-hal-cat1/include/cyhal_interconnect.h
4924
/***************************************************************************//** * \file cyhal_interconnect.h * * \brief * Provides a high level interface for interacting with the internal digital * routing on the chip. This interface abstracts out the chip specific details. * If any chip specific functionality is nece...
apache-2.0
pfalabella/rust
src/doc/README.md
2417
# Dependencies [Pandoc](http://johnmacfarlane.net/pandoc/installing.html), a universal document converter, is required to generate docs as HTML from Rust's source code. [po4a](http://po4a.alioth.debian.org/) is required for generating translated docs from the master (English) docs. [GNU gettext](http://www.gnu.org/s...
apache-2.0
alanorozco/amphtml
validator/cpp/htmlparser/iterators.h
2557
#ifndef CPP_HTMLPARSER_ITERATOR_H_ #define CPP_HTMLPARSER_ITERATOR_H_ #include <iterator> #include <stack> #include "cpp/htmlparser/node.h" namespace htmlparser { class Document; // A forward iterator that facilitates iterating dom tree (through root node), // in depth first traversal. // // Example usage: // auto...
apache-2.0
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js
2038
"use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const Document = require("../generated/Document"); const DocumentFragment = require("../generated/DocumentFragment"); const { cloningSteps, domSymbolTree } = require("../helpers/internal-constants"); const { clone } = require("../nod...
apache-2.0
atul-bhouraskar/closure-templates
java/src/com/google/template/soy/types/SoyObjectType.java
3172
/* * Copyright 2013 Google 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 ...
apache-2.0
quarian/dataverse
src/main/java/edu/harvard/iq/dataverse/api/imports/ImportUtil.java
352
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.harvard.iq.dataverse.api.imports; /** * * @author ellenk */ public interface ImportUtil { public enum ImportType{ NE...
apache-2.0
apache/incubator-asterixdb-hyracks
hyracks/hyracks-tests/hyracks-storage-am-btree-test/src/test/java/org/apache/hyracks/storage/am/btree/BTreeStatsTest.java
8109
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
schatt/lightwave
vmdir/server/vmkdc/globals.c
842
/* * Copyright © 2012-2015 VMware, 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 applic...
apache-2.0
andrewpsp/chef
spec/integration/recipes/recipe_dsl_spec.rb
55483
require 'support/shared/integration/integration_helper' describe "Recipe DSL methods" do include IntegrationSupport module Namer extend self attr_accessor :current_index end before(:all) { Namer.current_index = 1 } before { Namer.current_index += 1 } context "with resource 'base_thingy' declared...
apache-2.0
luna1x/chef-server
vendor/ruby/1.9.1/gems/chef-11.6.2/spec/integration/knife/upload_spec.rb
41092
# # Author:: John Keiser (<jkeiser@opscode.com>) # Copyright:: Copyright (c) 2013 Opscode, Inc. # License:: Apache License, Version 2.0 # # 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 # # ...
apache-2.0
gearpump/gearpump.github.io
releases/latest/api/scala/io/gearpump/cluster/AppJar.html
26118
<!DOCTYPE html > <html> <head> <title>AppJar - io.gearpump.cluster.AppJar</title> <meta name="description" content="AppJar - io.gearpump.cluster.AppJar" /> <meta name="keywords" content="AppJar io.gearpump.cluster.AppJar" /> <meta http-equiv="content-type" content="text/h...
apache-2.0
wswenyue/metadata-extractor
Source/com/drew/metadata/exif/makernotes/PentaxMakernoteDescriptor.java
4966
/* * Copyright 2002-2015 Drew Noakes * * 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 applicab...
apache-2.0
tkremenek/swift
include/swift/AST/ModuleLoader.h
10653
//===--- ModuleLoader.h - Module Loader Interface ---------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
apache-2.0
vaughnick/fco
wp-content/plugins/so-widgets-bundle/compat/visual-composer/styles.css
435
.siteorigin-widget-form .siteorigin-widget-field input { margin: 1px; padding: 2px 5px; } .siteorigin-widget-form .siteorigin-widget-field input[type="radio"] { width: inherit; } .siteorigin-widget-form .siteorigin-widget-field select { padding: 2px; height: 28px; width: inherit; margin: 1px; } .vc_elemen...
apache-2.0
mxrenkin/hibernate-validator
engine/src/test/java/org/hibernate/validator/test/internal/engine/methodvalidation/service/CustomerRepository.java
2001
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.test.internal.engine.methodvalidation.service; import java.util.List;...
apache-2.0
winger007/zstack
plugin/loadBalancer/src/main/java/org/zstack/network/service/lb/LoadBalancerBase.java
44011
package org.zstack.network.service.lb; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.springframework.transaction.annotation.Transactional; import org.zstack.core.P...
apache-2.0
tkunicki/geomesa
geomesa-filter/src/main/scala/org/locationtech/geomesa/filter/function/DateToLong.scala
1224
/*********************************************************************** * Copyright (c) 2013-2016 Commonwealth Computer Research, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is ...
apache-2.0
nvoron23/chorus
app/controllers/workspace_search_controller.rb
255
class WorkspaceSearchController < ApplicationController before_filter :require_full_search def show workspace = Workspace.find(params[:workspace_id]) authorize! :show, workspace present WorkspaceSearch.new(current_user, params) end end
apache-2.0
mvp/presto
presto-iceberg/src/main/java/com/facebook/presto/iceberg/PartitionFields.java
4926
/* * 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...
apache-2.0
petracvv/cas
docs/cas-server-documentation/installation/JDBC-Drivers.md
2981
--- layout: default title: CAS - JDBC Drivers --- # JDBC Drivers While in most cases this is unnecessary and handled by CAS automatically, you may need to also include the following module to account for various database drivers: ```xml <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-supp...
apache-2.0
caiomsouza/spark-notebook
project/Shared.scala
4816
import Dependencies._ import sbt.Keys._ import sbt._ object Shared { lazy val sparkVersion = SettingKey[String]("x-spark-version") lazy val hadoopVersion = SettingKey[String]("x-hadoop-version") lazy val jets3tVersion = SettingKey[String]("x-jets3t-version") lazy val jlineDef = SettingKey[(String, String)](...
apache-2.0
gstevey/gradle
subprojects/platform-play/src/main/java/org/gradle/play/internal/run/PlayRunSpec.java
1031
/* * Copyright 2014 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...
apache-2.0
lkabongoVC/box-python-sdk
demo/example.py
10222
# coding: utf-8 from __future__ import print_function, unicode_literals import os from boxsdk import Client from boxsdk.exception import BoxAPIException from boxsdk.object.collaboration import CollaborationRole from auth import authenticate def run_user_example(client): # 'me' is a handy value to get info on the...
apache-2.0
android-ia/platform_tools_idea
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/methodRef/ConstructorAssignability.java
978
class Foo<R> { public interface Factory<U> { U make(); } interface ASink<R, K extends ASink<R, K>> { public void combine(K other); } static <R, S extends ASink<R, S>> R reduce(Factory<S> factory) { return null; } public void foo() { reduce(Moo::new); ...
apache-2.0
jatin9896/incubator-carbondata
processing/src/main/java/org/apache/carbondata/processing/loading/converter/FieldConverter.java
1743
/* * 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 ...
apache-2.0
EArdeleanu/gateway
transport/wsr/src/main/java/org/kaazing/gateway/transport/wsr/RtmpProtocolDispatcher.java
1627
/** * Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved. * * 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 fil...
apache-2.0
Esri/ArcREST
samples/publishingGeoJSON.py
864
""" GeoJSON example using addItem Python 2/3 ArcREST version 3.5.0 """ from __future__ import print_function import arcrest if __name__ == "__main__": username = "" password = "" geojsonFile = r"" sh = arcrest.AGOLTokenSecurityHandler(username, password) admin = arcrest.manageorg.Administ...
apache-2.0
fbasso/ariatemplates
test/aria/widgets/container/tab/focusTab/FocusTabTestCase.js
1249
/* * Copyright 2017 Amadeus s.a.s. * 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...
apache-2.0
wiltonlazary/arangodb
3rdParty/immer/v0.7.0/test/set/B3.cpp
529
// // immer: immutable data structures for C++ // Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente // // This software is distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt // #include <immer/set.hpp> template <typename T, ...
apache-2.0
siconos/siconos-deb
externals/numeric_bindings/libs/numeric/bindings/doc/html/boost_numeric_bindings/reference/blas/level_2_blas/spmv.html
11836
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>spmv</title> <link rel="stylesheet" href="../../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;B...
apache-2.0
facebook/buck
test/com/facebook/buck/rules/macros/StringWithMacrosConverterTest.java
5254
/* * Copyright (c) Facebook, Inc. and 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 applic...
apache-2.0
JFLarvoire/the_silver_searcher
win32/pthread/pthread_attr_setschedparam.c
1847
/* * pthread_attr_setschedparam.c * * Description: * POSIX thread functions that deal with thread scheduling. * * -------------------------------------------------------------------------- * * Pthreads4w - POSIX Threads for Windows * Copyright 1998 John E. Bossom * Copyright 1999-2018, Pthread...
apache-2.0
facebook/buck
src/com/facebook/buck/cxx/CxxPreprocessorInput.java
3593
/* * Copyright (c) Facebook, Inc. and 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 applic...
apache-2.0
AzureAutomationTeam/azure-powershell
src/ResourceManager/ServiceFabric/Commands.ServiceFabric/help/Add-AzureRmServiceFabricClusterCertificate.md
6986
--- external help file: Microsoft.Azure.Commands.ServiceFabric.dll-Help.xml Module Name: AzureRM.ServiceFabric online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.servicefabric/add-azurermservicefabricclustercertificate schema: 2.0.0 --- # Add-AzureRmServiceFabricClusterCertificate ## SYNOPSIS ...
apache-2.0
akosyakov/intellij-community
xml/xml-psi-impl/src/com/intellij/embedding/MasqueradingPsiBuilderAdapter.java
11304
/* * Copyright 2000-2015 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...
apache-2.0
jfrazelle/notary
server/storage/errors.go
1372
package storage import ( "fmt" ) // ErrOldVersion is returned when a newer version of TUF metadata is already available type ErrOldVersion struct{} // ErrOldVersion is returned when a newer version of TUF metadata is already available func (err ErrOldVersion) Error() string { return fmt.Sprintf("Error updating met...
apache-2.0
emre-aydin/hazelcast
hazelcast/src/main/java/com/hazelcast/nio/serialization/TypedDataSerializable.java
1000
/* * 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 ...
apache-2.0
lord19871207/barber
api/src/main/java/io/sweers/barber/package-info.java
465
/** * View attribute injection library for Android which generates the obtainStyledAttributes() and * TypedArray boilerplate code for you at compile time. * <p> * No more handing to deal with context.obtainStyledAttributes(...) or manually retrieving values * from the resulting {@link android.content.res.TypedArra...
apache-2.0
thhiep/galen
galen-core/src/test/java/com/galenframework/components/report/FakeException.java
2298
/******************************************************************************* * Copyright 2015 Ivan Shubin http://galenframework.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 * * ...
apache-2.0
MuShiiii/commons-collections
src/test/java/org/apache/commons/collections4/comparators/ComparableComparatorTest.java
1878
/* * 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 ...
apache-2.0
HonzaKral/elasticsearch
x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/slm/SLMInfoTransportAction.java
1649
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.slm; import org.elasticsearch.action.support...
apache-2.0
selkhateeb/closure-compiler
test/com/google/javascript/jscomp/PolymerBehaviorExtractorTest.java
5025
/* * Copyright 2016 The Closure Compiler 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...
apache-2.0
Microsoft/TypeScript
tests/cases/compiler/destructuringControlFlowNoCrash.ts
323
// legal JS, if nonsensical, which also triggers the issue const { date, } = (inspectedElement: any) => 0; date.toISOString(); // Working flow code const { date2, } = (inspectedElement: any).props; date2.toISOString(); // It could also be an async function const { constructor } = async () => {}...
apache-2.0
hurricup/intellij-community
python/src/com/jetbrains/python/psi/impl/blockEvaluator/PyEvaluationResult.java
1369
/* * Copyright 2000-2014 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...
apache-2.0
brianjmoore/material-components-ios
components/BottomSheet/examples/supplemental/BottomSheetPresenterViewController.h
749
/* Copyright 2017-present the Material Components for iOS 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...
apache-2.0
abovelabs/aws-ios-sdk
src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequest.h
7556
/* * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
apache-2.0
aminmkhan/pentaho-kettle
engine/src/test/java/org/pentaho/di/trans/steps/reservoirsampling/ReservoirSamplingMetaTest.java
1856
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
apache-2.0
DavidKarlas/roslyn
src/Workspaces/Core/Portable/Formatting/Engine/NodeOperations.cs
2013
// 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.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Formatting.Rules; using Microsoft.CodeAn...
apache-2.0
P1start/rust
src/test/compile-fail/if-without-else-result.rs
621
// 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 ...
apache-2.0
brettfo/roslyn
src/Compilers/Core/Portable/Operations/OperationVisitor.cs
1874
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable namespace Microsoft.CodeAnalysis.Operations { /// <summary> /// Represents a <see cref="...
apache-2.0
mchavarriagam/clever-ruby
lib/clever-ruby/api_operations/results_list.rb
699
module Clever module APIOperations # Represents a list of results for a paged request. class ResultsList include Enumerable # Create a results list from a PageList # @api private # @return [ResultsList] def initialize(pagelist) @pages = pagelist end # Iterat...
apache-2.0
awakecoding/FreeRDP
winpr/libwinpr/file/test/TestFileFindNextFile.c
2603
#include <stdio.h> #include <winpr/crt.h> #include <winpr/file.h> #include <winpr/path.h> #include <winpr/tchar.h> #include <winpr/windows.h> static TCHAR testDirectory2File1[] = _T("TestDirectory2File1"); static TCHAR testDirectory2File2[] = _T("TestDirectory2File2"); int TestFileFindNextFile(int argc, char* argv[]...
apache-2.0
hackintoshrao/minio
cmd/storage-rpc-server_test.go
4913
/* * Minio Cloud Storage, (C) 2016, 2017 Minio, 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 applica...
apache-2.0
iharkhukhrakou/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/resources/web/dwa/common/nls/fi/menu.js
196
({ L_MENU_GRID: "Valikkoruudukko", L_MENU_ITEM_DISABLED: "%1 ei ole k\u00e4ytett\u00e4viss\u00e4", L_MENU_ITEM_SUBMENU: "%1 (alivalikko)", L_MENU_SUBMENU: "alivalikko", L_MENU_CHECK: "valinta" })
apache-2.0
google/google-ctf
third_party/edk2/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleOutDevice/PrimaryConsoleOutDevice.h
1047
/*++ Copyright (c) 2004, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at ...
apache-2.0
HebaKhaled/bposs
src/pt_antlr/antlr/CppCharFormatter.java
2509
package antlr; /* ANTLR Translator Generator * Project led by Terence Parr at http://www.jGuru.com * Software rights: http://www.antlr.org/RIGHTS.html * * $Id: CppCharFormatter.java,v 1.1 2003/06/04 20:54:22 greg Exp $ */ // C++ code generator by Pete Wells: pete@yamuna.demon.co.uk class CppCharForma...
apache-2.0
apache/incubator-trafodion
wms/src/test/java/org/trafodion/wms/SmallTests.java
909
/** * @@@ START COPYRIGHT @@@ * * 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 ...
apache-2.0
apache/incubator-trafodion
wms/bin/local-servers.sh
1338
#!/bin/sh #/** # @@@ START COPYRIGHT @@@ # #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, Versio...
apache-2.0
chandresh-pancholi/ignite
modules/hibernate-core/src/main/java/org/apache/ignite/cache/hibernate/HibernateCacheProxy.java
26223
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
apache-2.0
innerverse/typedoc
src/td/output/plugins/PrettyPrintPlugin.ts
5741
module td.output { /** * List of states the parser of [[PrettyPrintPlugin]] can be in. */ enum PrettyPrintState { /** * Default state of the parser. Empty lines will be removed and indention will be adjusted. */ Default, /** * Comment state, the pars...
apache-2.0
apache/incubator-trafodion
dcs/src/main/java/org/trafodion/dcs/master/listener/ConnectionContext.java
3102
/** * @@@ START COPYRIGHT @@@ 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 "Licen...
apache-2.0
RomanYudintsev/hunter
maintenance/local-upload/qt/win/run-win-vs-12-2013-win64.bat
486
REM { set TOOLCHAIN=vs-12-2013-win64 set PROJECT_DIR=examples/qt-widgets .\jenkins.py --verbose --clear-except-download || exit /b 1 set PROJECT_DIR=examples/qt-core .\jenkins.py --verbose --nocreate || exit /b 1 set PROJECT_DIR=examples/qt-qml .\jenkins.py --verbose --nocreate || exit /b 1 set PROJECT_DIR=exam...
bsd-2-clause
pgdoval/pgdeploy
pgdeploy/src/test/resources/installation/include/postgresql/server/catalog/pg_enum.h
1882
/*------------------------------------------------------------------------- * * pg_enum.h * definition of the system "enum" relation (pg_enum) * along with the relation's initial contents. * * * Copyright (c) 2006-2016, PostgreSQL Global Development Group * * src/include/catalog/pg_enum.h * * NOTES * ...
bsd-2-clause
MariaSolovyeva/watchkeeper
django_project/event_mapper/migrations/0006_auto_20150505_0922.py
789
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('event_mapper', '0005_user_is_confirmed'), ] operations = [ migrations.AlterField( model_name='event', ...
bsd-2-clause
tempbottle/idea-rust
src/java/main/vektah/rust/RustFileType.java
790
package vektah.rust; import com.intellij.openapi.fileTypes.LanguageFileType; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import vektah.rust.i18n.RustBundle; import javax.swing.*; public class RustFileType extends LanguageFileType { public static final RustFileType INSTANCE =...
bsd-2-clause
jawshooah/homebrew-cask
Casks/picka.rb
284
cask 'picka' do version '1.0.0' sha256 '981209f1bd432d99ce082429cbb182b17194063b6b0eb8ae9fa22a0dbe37bca8' url 'https://getpicka.com/downloads/Picka.zip' appcast 'https://getpicka.com/appcast-trial.xml' name 'Picka' homepage 'https://getpicka.com/' app 'Picka.app' end
bsd-2-clause
sscotth/homebrew-cask
Casks/watchguard-mobile-vpn-with-ssl.rb
518
cask 'watchguard-mobile-vpn-with-ssl' do version '12.5.3,615421' sha256 'b8a4f9ce908f19df6122fdf24445fdb233d812f2f6b5f08261ca2e4cca0c3784' url "http://cdn.watchguard.com/SoftwareCenter/Files/MUVPN_SSL/#{version.before_comma.dots_to_underscores}/WG-MVPN-SSL_#{version.before_comma.dots_to_underscores}.dmg" name ...
bsd-2-clause
jokereactive/ORB_Android
suitesparse/SuiteSparse/CXSparse/SourceWrappers/cs_permute_cl.o.c
106
#ifndef NCOMPLEX #define CS_LONG #define CS_COMPLEX #include <../Source/cs_permute.c> #endif // NCOMPLEX
bsd-2-clause
jokereactive/ORB_Android
suitesparse/SuiteSparse/UMFPACK/Source/umf_internal.h
25886
/* ========================================================================== */ /* === umf_internal.h ======================================================= */ /* ========================================================================== */ /* -------------------------------------------------------------------------...
bsd-2-clause
Alloyed/Play-
tools/McServTest/AppConfig.cpp
568
#include "AppConfig.h" #include "PathUtils.h" #define BASE_DATA_PATH (L"McServTest Data Files") #define CONFIG_FILENAME (L"config.xml") CAppConfig::CAppConfig() : CConfig(BuildConfigPath()) { } CAppConfig::~CAppConfig() { } Framework::CConfig::PathType CAppConfig::GetBasePath() { auto result = Framework::Pat...
bsd-2-clause
lxp/sulong
tests/sulong/c/truffle-c/bitFields/testOverflow2.c
103
struct test { unsigned int val : 3; }; int main() { struct test t; t.val = 9; return t.val; }
bsd-3-clause
chromium/chromium
chrome/browser/resources/print_preview/ui/advanced_options_settings.ts
1620
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; import './advanced_settings_dialog.js'; import './print_preview_shared_css.js'; import '...
bsd-3-clause
faclib/ezcomponents
Webdav/tests/client_ie6_auth_test.php
748
<?php /** * Client test for InternetExplorer 6 (auth). * * @package Webdav * @subpackage Tests * @version 1.1.4 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ require_once 'client_test_suite.php'; require_once 'client_test_co...
bsd-3-clause
scaryml1000/ZendSkeleton
vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php
2984
<?php /** * PSR1_Sniffs_Methods_CamelCapsMethodNameSniff. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600) * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.tx...
bsd-3-clause
SaschaMester/delicium
net/base/net_error_list.h
28541
// 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. // This file intentionally does not have header guards, it's included // inside a macro to generate enum values. // This file contains the list of ne...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/LAPACKE/src/lapacke_zgetri.c
3393
/***************************************************************************** Copyright (c) 2014, Intel Corp. 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 cod...
bsd-3-clause
Firehed/phpunit
tests/_files/Metadata/Attribute/tests/DoesNotPerformAssertionsTest.php
566
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\TestFixture\Metadata\Attribute; use PHPUnit\Fram...
bsd-3-clause
cetium/evproto
evproto/evproto.cc
2066
// Copyright 2010, Shuo Chen. All rights reserved. // http://code.google.com/p/evproto/ // // Use of this source code is governed by a BSD-style license // that can be found in the License file. // Author: Shuo Chen (chenshuo at chenshuo dot com) // #include "evproto/evproto.h" #include <gflags/gflags.h> #include <...
bsd-3-clause