code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
--- license: > Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the ...
drbeermann/cordova-docs
docs/en/2.9.0/cordova/globalization/globalization.dateToString.md
Markdown
apache-2.0
3,115
/* 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...
danmcp/source-to-image
vendor/k8s.io/kubernetes/pkg/api/v1/conversion.go
GO
apache-2.0
21,451
// 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...
smmribeiro/intellij-community
platform/util/testSrc/com/intellij/ui/MixedColorProducerTest.java
Java
apache-2.0
4,269
/* * 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...
ilovesoup/hyracks
hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/edu/uci/ics/hyracks/hdfs/api/IKeyValueParser.java
Java
apache-2.0
1,862
// // 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...
knadikari/developer-studio
common/org.wso2.developerstudio.eclipse.artifact.security/src/org/wso2/developerstudio/eclipse/security/project/model/ServiceGroup.java
Java
apache-2.0
5,773
/* jshint globalstrict:false, strict:false, unused : false */ /* global assertEqual */ // ////////////////////////////////////////////////////////////////////////////// // / @brief tests for dump/reload // / // / @file // / // / DISCLAIMER // / // / Copyright 2010-2012 triagens GmbH, Cologne, Germany // / // / License...
wiltonlazary/arangodb
tests/js/server/recovery/collection-duplicate.js
JavaScript
apache-2.0
2,684
/** * 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...
mehant/drill
exec/java-exec/src/main/java/org/apache/drill/exec/store/avro/AvroRecordReader.java
Java
apache-2.0
13,522
/* * 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 ...
nishantmonu51/druid
server/src/main/java/org/apache/druid/guice/RouterProcessingModule.java
Java
apache-2.0
3,537
/** * 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...
arenadata/ambari
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/assets/AssetResource.java
Java
apache-2.0
8,219
/** * @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. ...
centic9/subversion-ppa
subversion/bindings/javahl/native/org_apache_subversion_javahl_types_Version.cpp
C++
apache-2.0
2,343
/**************************************************************** * 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 ...
chibenwa/james
protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPChannelUpstreamHandler.java
Java
apache-2.0
2,858
<?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...
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
PHP
apache-2.0
423
/* * * 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...
hasinitg/airavata
modules/credential-store/credential-store-service/src/main/java/org/apache/airavata/credential/store/store/impl/db/CommunityUserDAO.java
Java
apache-2.0
9,093
'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...
countshadow/MyScriptJS
src/output/shape/shapeErased.js
JavaScript
apache-2.0
532
/* * 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...
googlearchive/caja
third_party/java/htmlparser/src/nu/validator/htmlparser/annotation/Inline.java
Java
apache-2.0
1,211
// ------------------------------------------------------------------------- // @FileName : NFCGameServerScriptModule.cpp // @Author : LvSheng.Huang // @Date : 2013-01-02 // @Module : NFCGameServerScriptModule // @Desc : // --------------...
MRunFoss/NoahGameFrame
NFServer/NFGameServerScriptPlugin/NFCGameServerScriptModule.cpp
C++
apache-2.0
1,286
/* * 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...
goodwinnk/intellij-community
RegExpSupport/src/org/intellij/lang/regexp/RegExpLanguageHost.java
Java
apache-2.0
4,005
/** * \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...
LabAixBidouille/EmbeddedTeam
courses/examples/CMSIS/Device/ATMEL/sam4l/include/instance/picouart.h
C
apache-2.0
3,076
/** * 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...
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
Java
apache-2.0
18,592
<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 ...
spinnaker/deck
packages/google/src/loadBalancer/configure/http/hostRule/hostRule.component.html
HTML
apache-2.0
2,086
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
dbmalkovsky/flowable-engine
modules/flowable5-engine/src/main/java/org/activiti/engine/impl/jobexecutor/TimerDeclarationImpl.java
Java
apache-2.0
8,975
/* * 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...
madhav123/gkmaster
appdomain/src/main/java/org/mifos/customers/checklist/business/CheckListBO.java
Java
apache-2.0
5,902
/***************************************************************************//** * \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...
adfernandes/mbed
targets/TARGET_Cypress/TARGET_PSOC6/mtb-hal-cat1/include/cyhal_interconnect.h
C
apache-2.0
4,924
# 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...
pfalabella/rust
src/doc/README.md
Markdown
apache-2.0
2,417
#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...
alanorozco/amphtml
validator/cpp/htmlparser/iterators.h
C
apache-2.0
2,557
"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...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js
JavaScript
apache-2.0
2,038
/* * 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 ...
atul-bhouraskar/closure-templates
java/src/com/google/template/soy/types/SoyObjectType.java
Java
apache-2.0
3,172
/* * 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...
quarian/dataverse
src/main/java/edu/harvard/iq/dataverse/api/imports/ImportUtil.java
Java
apache-2.0
352
/* * 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/incubator-asterixdb-hyracks
hyracks/hyracks-tests/hyracks-storage-am-btree-test/src/test/java/org/apache/hyracks/storage/am/btree/BTreeStatsTest.java
Java
apache-2.0
8,109
/* * 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...
schatt/lightwave
vmdir/server/vmkdc/globals.c
C
apache-2.0
842
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...
andrewpsp/chef
spec/integration/recipes/recipe_dsl_spec.rb
Ruby
apache-2.0
55,483
# # 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 # # ...
luna1x/chef-server
vendor/ruby/1.9.1/gems/chef-11.6.2/spec/integration/knife/upload_spec.rb
Ruby
apache-2.0
41,092
<!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...
gearpump/gearpump.github.io
releases/latest/api/scala/io/gearpump/cluster/AppJar.html
HTML
apache-2.0
26,118
/* * 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...
wswenyue/metadata-extractor
Source/com/drew/metadata/exif/makernotes/PentaxMakernoteDescriptor.java
Java
apache-2.0
4,966
//===--- 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...
tkremenek/swift
include/swift/AST/ModuleLoader.h
C
apache-2.0
10,653
.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...
vaughnick/fco
wp-content/plugins/so-widgets-bundle/compat/visual-composer/styles.css
CSS
apache-2.0
435
/* * 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;...
mxrenkin/hibernate-validator
engine/src/test/java/org/hibernate/validator/test/internal/engine/methodvalidation/service/CustomerRepository.java
Java
apache-2.0
2,001
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...
winger007/zstack
plugin/loadBalancer/src/main/java/org/zstack/network/service/lb/LoadBalancerBase.java
Java
apache-2.0
44,011
/*********************************************************************** * 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 ...
tkunicki/geomesa
geomesa-filter/src/main/scala/org/locationtech/geomesa/filter/function/DateToLong.scala
Scala
apache-2.0
1,224
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
nvoron23/chorus
app/controllers/workspace_search_controller.rb
Ruby
apache-2.0
255
/* * 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...
mvp/presto
presto-iceberg/src/main/java/com/facebook/presto/iceberg/PartitionFields.java
Java
apache-2.0
4,926
--- 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...
petracvv/cas
docs/cas-server-documentation/installation/JDBC-Drivers.md
Markdown
apache-2.0
2,981
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)](...
caiomsouza/spark-notebook
project/Shared.scala
Scala
apache-2.0
4,816
/* * 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...
gstevey/gradle
subprojects/platform-play/src/main/java/org/gradle/play/internal/run/PlayRunSpec.java
Java
apache-2.0
1,031
# 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...
lkabongoVC/box-python-sdk
demo/example.py
Python
apache-2.0
10,222
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); ...
android-ia/platform_tools_idea
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/methodRef/ConstructorAssignability.java
Java
apache-2.0
978
/* * 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 ...
jatin9896/incubator-carbondata
processing/src/main/java/org/apache/carbondata/processing/loading/converter/FieldConverter.java
Java
apache-2.0
1,743
/** * 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...
EArdeleanu/gateway
transport/wsr/src/main/java/org/kaazing/gateway/transport/wsr/RtmpProtocolDispatcher.java
Java
apache-2.0
1,627
""" 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...
Esri/ArcREST
samples/publishingGeoJSON.py
Python
apache-2.0
864
/* * 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...
fbasso/ariatemplates
test/aria/widgets/container/tab/focusTab/FocusTabTestCase.js
JavaScript
apache-2.0
1,249
// // 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, ...
wiltonlazary/arangodb
3rdParty/immer/v0.7.0/test/set/B3.cpp
C++
apache-2.0
529
<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...
siconos/siconos-deb
externals/numeric_bindings/libs/numeric/bindings/doc/html/boost_numeric_bindings/reference/blas/level_2_blas/spmv.html
HTML
apache-2.0
11,836
/* * 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...
facebook/buck
test/com/facebook/buck/rules/macros/StringWithMacrosConverterTest.java
Java
apache-2.0
5,254
/* * 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...
JFLarvoire/the_silver_searcher
win32/pthread/pthread_attr_setschedparam.c
C
apache-2.0
1,847
/* * 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...
facebook/buck
src/com/facebook/buck/cxx/CxxPreprocessorInput.java
Java
apache-2.0
3,593
--- 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 ...
AzureAutomationTeam/azure-powershell
src/ResourceManager/ServiceFabric/Commands.ServiceFabric/help/Add-AzureRmServiceFabricClusterCertificate.md
Markdown
apache-2.0
6,986
/* * 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...
akosyakov/intellij-community
xml/xml-psi-impl/src/com/intellij/embedding/MasqueradingPsiBuilderAdapter.java
Java
apache-2.0
11,304
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...
jfrazelle/notary
server/storage/errors.go
GO
apache-2.0
1,372
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
emre-aydin/hazelcast
hazelcast/src/main/java/com/hazelcast/nio/serialization/TypedDataSerializable.java
Java
apache-2.0
1,000
/** * 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...
lord19871207/barber
api/src/main/java/io/sweers/barber/package-info.java
Java
apache-2.0
465
/******************************************************************************* * 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 * * ...
thhiep/galen
galen-core/src/test/java/com/galenframework/components/report/FakeException.java
Java
apache-2.0
2,298
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
MuShiiii/commons-collections
src/test/java/org/apache/commons/collections4/comparators/ComparableComparatorTest.java
Java
apache-2.0
1,878
/* * 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...
HonzaKral/elasticsearch
x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/slm/SLMInfoTransportAction.java
Java
apache-2.0
1,649
/* * 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...
selkhateeb/closure-compiler
test/com/google/javascript/jscomp/PolymerBehaviorExtractorTest.java
Java
apache-2.0
5,025
// 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 () => {}...
Microsoft/TypeScript
tests/cases/compiler/destructuringControlFlowNoCrash.ts
TypeScript
apache-2.0
323
/* * 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...
hurricup/intellij-community
python/src/com/jetbrains/python/psi/impl/blockEvaluator/PyEvaluationResult.java
Java
apache-2.0
1,369
/* 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...
brianjmoore/material-components-ios
components/BottomSheet/examples/supplemental/BottomSheetPresenterViewController.h
C
apache-2.0
749
/* * 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...
abovelabs/aws-ios-sdk
src/include/AutoScaling/AutoScalingCreateLaunchConfigurationRequest.h
C
apache-2.0
7,556
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
aminmkhan/pentaho-kettle
engine/src/test/java/org/pentaho/di/trans/steps/reservoirsampling/ReservoirSamplingMetaTest.java
Java
apache-2.0
1,856
// 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...
DavidKarlas/roslyn
src/Workspaces/Core/Portable/Formatting/Engine/NodeOperations.cs
C#
apache-2.0
2,013
// 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 ...
P1start/rust
src/test/compile-fail/if-without-else-result.rs
Rust
apache-2.0
621
// 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="...
brettfo/roslyn
src/Compilers/Core/Portable/Operations/OperationVisitor.cs
C#
apache-2.0
1,874
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...
mchavarriagam/clever-ruby
lib/clever-ruby/api_operations/results_list.rb
Ruby
apache-2.0
699
#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[]...
awakecoding/FreeRDP
winpr/libwinpr/file/test/TestFileFindNextFile.c
C
apache-2.0
2,603
/* * 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...
hackintoshrao/minio
cmd/storage-rpc-server_test.go
GO
apache-2.0
4,913
({ 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" })
iharkhukhrakou/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/resources/web/dwa/common/nls/fi/menu.js
JavaScript
apache-2.0
196
/*++ 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 ...
google/google-ctf
third_party/edk2/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleOutDevice/PrimaryConsoleOutDevice.h
C
apache-2.0
1,047
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...
HebaKhaled/bposs
src/pt_antlr/antlr/CppCharFormatter.java
Java
apache-2.0
2,509
/** * @@@ 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/incubator-trafodion
wms/src/test/java/org/trafodion/wms/SmallTests.java
Java
apache-2.0
909
#!/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/incubator-trafodion
wms/bin/local-servers.sh
Shell
apache-2.0
1,338
/* * 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...
chandresh-pancholi/ignite
modules/hibernate-core/src/main/java/org/apache/ignite/cache/hibernate/HibernateCacheProxy.java
Java
apache-2.0
26,223
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...
innerverse/typedoc
src/td/output/plugins/PrettyPrintPlugin.ts
TypeScript
apache-2.0
5,741
/** * @@@ 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/incubator-trafodion
dcs/src/main/java/org/trafodion/dcs/master/listener/ConnectionContext.java
Java
apache-2.0
3,102
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...
RomanYudintsev/hunter
maintenance/local-upload/qt/win/run-win-vs-12-2013-win64.bat
Batchfile
bsd-2-clause
486
/*------------------------------------------------------------------------- * * 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 * ...
pgdoval/pgdeploy
pgdeploy/src/test/resources/installation/include/postgresql/server/catalog/pg_enum.h
C
bsd-2-clause
1,882
# -*- 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', ...
MariaSolovyeva/watchkeeper
django_project/event_mapper/migrations/0006_auto_20150505_0922.py
Python
bsd-2-clause
789
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 =...
tempbottle/idea-rust
src/java/main/vektah/rust/RustFileType.java
Java
bsd-2-clause
790
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
jawshooah/homebrew-cask
Casks/picka.rb
Ruby
bsd-2-clause
284
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 ...
sscotth/homebrew-cask
Casks/watchguard-mobile-vpn-with-ssl.rb
Ruby
bsd-2-clause
518
#ifndef NCOMPLEX #define CS_LONG #define CS_COMPLEX #include <../Source/cs_permute.c> #endif // NCOMPLEX
jokereactive/ORB_Android
suitesparse/SuiteSparse/CXSparse/SourceWrappers/cs_permute_cl.o.c
C
bsd-2-clause
106
/* ========================================================================== */ /* === umf_internal.h ======================================================= */ /* ========================================================================== */ /* -------------------------------------------------------------------------...
jokereactive/ORB_Android
suitesparse/SuiteSparse/UMFPACK/Source/umf_internal.h
C
bsd-2-clause
25,886
#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...
Alloyed/Play-
tools/McServTest/AppConfig.cpp
C++
bsd-2-clause
568
struct test { unsigned int val : 3; }; int main() { struct test t; t.val = 9; return t.val; }
lxp/sulong
tests/sulong/c/truffle-c/bitFields/testOverflow2.c
C
bsd-3-clause
103
// 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 '...
chromium/chromium
chrome/browser/resources/print_preview/ui/advanced_options_settings.ts
TypeScript
bsd-3-clause
1,620
<?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...
faclib/ezcomponents
Webdav/tests/client_ie6_auth_test.php
PHP
bsd-3-clause
748
<?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...
scaryml1000/ZendSkeleton
vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php
PHP
bsd-3-clause
2,984
// 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...
SaschaMester/delicium
net/base/net_error_list.h
C
bsd-3-clause
28,541
/***************************************************************************** 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...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/LAPACKE/src/lapacke_zgetri.c
C
bsd-3-clause
3,393
<?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...
Firehed/phpunit
tests/_files/Metadata/Attribute/tests/DoesNotPerformAssertionsTest.php
PHP
bsd-3-clause
566
// 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 <...
cetium/evproto
evproto/evproto.cc
C++
bsd-3-clause
2,066