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
const NamingMixin = { _name: null, getName() { return this._name; }, _shortName: null, getShortName() { return this._shortName || this.getName(); }, _abbreviation: null, getAbbreviation() { return this._abbreviation || this.getShortName(); }, }; export default NamingMixin;
kjirou/reversi-tactics
src/mixins/NamingMixin.js
JavaScript
apache-2.0
309
from mainapp import create_app app = create_app() if __name__ == '__main__': app.run(host='0.0.0.0')
jonaubf/flask-mongo-testapp
testapp/run.py
Python
apache-2.0
107
/* * Copyright (c) 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...
wattale/carbon-identity
components/identity/org.wso2.carbon.identity.entitlement.filter/src/main/java/org/wso2/carbon/identity/entitlement/filter/callback/BasicAuthCallBackHandler.java
Java
apache-2.0
1,973
package main import ( "github.com/ActiveState/tail" "github.com/ugorji/go/codec" "io/ioutil" "log" "os" "reflect" "regexp" "strconv" "strings" "time" ) type inputTail struct { path string format string tag string pos_file string offset int64 sync_interval int codec *codec.J...
hnlq715/gofluent
in_tail.go
GO
apache-2.0
4,521
# Copyright 2012 OpenStack Foundation # Copyright 2013 Nebula 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...
varunarya10/python-openstackclient
openstackclient/identity/v2_0/ec2creds.py
Python
apache-2.0
5,662
/* * Copyright 2010 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...
mariofusco/droolsjbpm-integration
drools-pipeline/src/main/java/org/drools/runtime/pipeline/Transformer.java
Java
apache-2.0
836
/******************************************************************************* * Copyright (c) 2015 IBM Corp. * * 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...
antelder/tool.lars
server/src/test/java/com/ibm/ws/lars/rest/TestUtils.java
Java
apache-2.0
2,655
# Copyright 2012 SINA Corporation # Copyright 2014 Cisco Systems, 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/licens...
frossigneux/blazar
climate/openstack/common/config/generator.py
Python
apache-2.0
10,412
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
pdxrunner/geode
geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CountDurableCQEventsCommand.java
Java
apache-2.0
4,255
/** * @author Oleksandr Prunyak (987456987p@gmail.com) * @version $Id$ * @since 0.1 */ package ru.job4j.loop;
Alex0889/oprunyak
chapter_001/src/test/java/ru/job4j/loop/package-info.java
Java
apache-2.0
110
/** * @license * Copyright 2018 Palantir Technologies, 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...
andy-hanson/tslint
src/rules/code-examples/preferWhile.examples.ts
TypeScript
apache-2.0
1,470
/* * Copyright 2021 Google LLC * * 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 ...
firebase/firebase-ios-sdk
Firestore/core/test/unit/local/memory_bundle_cache_test.cc
C++
apache-2.0
1,204
<?php /** * Copyright 2011 Crucial Web Studio, LLC 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 * * https://raw.githubusercontent.com/chargely/c...
chargely/chargify-sdk-php
src/Crucial/Service/Chargify.php
PHP
apache-2.0
7,766
/* * Copyright 2008 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 ...
Digaku/closure-template
java/src/com/google/template/soy/exprtree/OperatorNodes.java
Java
apache-2.0
7,510
/* * Copyright 2022 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
gocd/gocd
common/src/main/java/com/thoughtworks/go/remote/work/artifact/ArtifactRequestProcessor.java
Java
apache-2.0
5,906
package com.senseidb.search.node.impl; import org.json.JSONObject; import com.senseidb.search.node.SenseiQueryBuilder; import com.senseidb.search.node.SenseiQueryBuilderFactory; import com.senseidb.search.req.SenseiQuery; import com.senseidb.util.JSONUtil.FastJSONObject; public abstract class AbstractJsonQueryBuilde...
javasoze/sensei
sensei-core/src/main/java/com/senseidb/search/node/impl/AbstractJsonQueryBuilderFactory.java
Java
apache-2.0
774
var searchData= [ ['value',['value',['../structguac__pool__int.html#af76ff5f21c6e0f69d95cdd1385ea24a4',1,'guac_pool_int']]], ['vguac_5fclient_5fabort',['vguac_client_abort',['../client_8h.html#a4c0eccd7d0ed3dbf3e7941ce297e0224',1,'client.h']]], ['vguac_5fclient_5flog',['vguac_client_log',['../client_8h.html#a37a0...
mike-jumper/incubator-guacamole-website
doc/0.9.9/libguac/search/all_12.js
JavaScript
apache-2.0
644
package org.vertexium.util; import org.vertexium.Authorizations; import org.vertexium.Direction; import org.vertexium.Vertex; import java.util.Iterator; public class VerticesToEdgeIdsIterable implements Iterable<String> { private final Iterable<? extends Vertex> vertices; private final Authorizations authori...
visallo/vertexium
core/src/main/java/org/vertexium/util/VerticesToEdgeIdsIterable.java
Java
apache-2.0
855
package com.kit.db; public class Obj { }
BigAppOS/BigApp_Discuz_Android
libs/ZUtils/src/com/kit/db/Obj.java
Java
apache-2.0
43
/* * 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 ...
hwstreaming/flink
flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/JobSubmitTest.java
Java
apache-2.0
7,730
/* * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
ngs-mtech/drools
drools-core/src/main/java/org/drools/core/base/accumulators/CountAccumulateFunction.java
Java
apache-2.0
2,915
/* * 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...
ptkool/presto
presto-main/src/test/java/com/facebook/presto/type/TestIpPrefixOperators.java
Java
apache-2.0
13,240
package org.plasma.provisioning.rdb.mysql.v5_5.query; import org.plasma.provisioning.rdb.mysql.v5_5.TableColumnConstraint; import org.plasma.query.DataProperty; import org.plasma.query.Expression; import org.plasma.query.dsl.DataNode; import org.plasma.query.dsl.DomainRoot; import org.plasma.query.dsl.PathNode; import...
plasma-framework/plasma
plasma-provisioning/src/main/java/org/plasma/provisioning/rdb/mysql/v5_5/query/QTableColumnConstraint.java
Java
apache-2.0
3,301
// Code generated by protoc-gen-go. DO NOT EDIT. // source: hapi/chart/metadata.proto package chart import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf //...
appscode/helm
pkg/proto/hapi/chart/metadata.pb.go
GO
apache-2.0
11,564
/* * 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 may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
AuxMon/azure-sdk-for-node
lib/services/operationalInsightsManagement/lib/models/dataSourceListResult.js
JavaScript
apache-2.0
1,648
/* * * 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"); ...
adufilie/flex-falcon
compiler/src/org/apache/flex/compiler/problems/EmbedMultipleMetaTagsProblem.java
Java
apache-2.0
1,453
/* * Copyright 2022 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Skarlso/gocd
server/src/main/java/com/thoughtworks/go/server/materials/SCMMaterialSource.java
Java
apache-2.0
6,425
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
ge0ffrey/optaplanner
optaplanner-core/src/main/java/org/optaplanner/core/impl/score/stream/drools/quad/DroolsQuadToTriGroupByCollectorProcessor.java
Java
apache-2.0
3,217
# # Author:: Daniel DeLeo (<dan@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 # # ht...
BackSlasher/chef
spec/integration/client/ipv6_spec.rb
Ruby
apache-2.0
4,937
/** * Copyright (C) 2013-2016 The Rythm Engine project * for LICENSE and other details see: * https://github.com/rythmengine/rythmengine */ package org.rythmengine.cache; /*- * #%L * Rythm Template Engine * %% * Copyright (C) 2017 - 2021 OSGL (Open Source General Library) * %% * Licensed under the Apache Lic...
rythmengine/rythmengine
src/main/java/org/rythmengine/cache/EhCacheServiceFactory.java
Java
apache-2.0
1,271
/** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version 2...
openengsb-attic/openengsb-api
src/main/java/org/openengsb/core/api/security/OpenEngSBSecurityException.java
Java
apache-2.0
1,499
package org.andidev.applicationname.format.custom; import java.util.Locale; import org.andidev.applicationname.format.annotation.CustomFormat; import org.apache.commons.lang3.StringUtils; import org.springframework.expression.EvaluationContext; import org.springframework.expression.ExpressionParser; import org.springf...
andidev/spring-bootstrap-enterprise
src/main/java/org/andidev/applicationname/format/custom/CustomPrinter.java
Java
apache-2.0
1,468
/* * Copyright 2015 - 2017 Atlarge Research Team, * operating at Technische Universiteit Delft * and Vrije Universiteit Amsterdam, the Netherlands. * * 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...
tudelft-atlarge/granula
granula-modeller/src/main/java/science/atlarge/granula/modeller/rule/derivation/time/ParentalEndTimeDerivation.java
Java
apache-2.0
2,098
/* * Copyright (C) 2015 Apptik Project * Copyright (C) 2014 Kalin Maldzhanski * Copyright (C) 2011 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 * *...
djodjoni/jus
jus-java/src/main/java/io/apptik/comm/jus/error/AuthError.java
Java
apache-2.0
1,412
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.PageAccessibleLandmarkInfo. sap.ui.define(['sap/ui/core/Element', './library'], function(Element, library)...
icgretethe/AwarenessApp
resources/sap/m/PageAccessibleLandmarkInfo-dbg.js
JavaScript
apache-2.0
6,098
/** * File: app/project/ProjOpen.js * Author: liusha */ Ext.define('xdfn.project.ProjOpen', { extend: 'xdfn.project.ui.ProjOpen', grid: null, initComponent: function() { var me = this; me.openStore = Ext.create('xdfn.project.store.ProjOpenJsonStore'); me....
flowsha/zhwh
web_root/app/static/app/project/ProjOpen.js
JavaScript
apache-2.0
4,986
/* * Copyright 2006-2008 Kazuyuki Shudo. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
shudo/dht-access
src/dhtaccess/tools/Remove.java
Java
apache-2.0
3,313
/* * * 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"); ...
adufilie/flex-falcon
compiler/src/org/apache/flex/compiler/problems/ConflictingInheritedNameInNamespaceProblem.java
Java
apache-2.0
1,604
// jQueryTemplate.cs // Script#/Libraries/jQuery/Templating // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Collections; using System.Html; using System.Net; using System.Runtime.CompilerServices; using jQueryApi; namespace jQueryApi.Templating ...
nikhilk/scriptsharp
src/Libraries/jQuery/jQuery.Templating/jQueryTemplate.cs
C#
apache-2.0
602
/* * Copyright 2018 The Kubeflow 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
kubeflow/pipelines
frontend/src/atoms/Hr.test.tsx
TypeScript
apache-2.0
864
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * Content policy implementatio...
sergecodd/FireFox-OS
B2G/gecko/content/base/src/nsNoDataProtocolContentPolicy.cpp
C++
apache-2.0
3,310
/** * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual 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 Lice...
dans123456/pnc
rest/src/main/java/org/jboss/pnc/rest/provider/ProductMilestoneReleaseProvider.java
Java
apache-2.0
3,113
/** * Copyright (c) 2017, 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.o...
nu1silva/product-apim
product/carbon-home/resources/composer/web/js/ballerina/visitors/source-gen/connector-definition-visitor.js
JavaScript
apache-2.0
5,798
/* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* This program reads an ELF file and computes i...
sergecodd/FireFox-OS
B2G/gecko/tools/footprint/foldelf.cpp
C++
apache-2.0
8,544
/* * 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 ...
dkhwangbo/druid
java-util/src/main/java/org/apache/druid/java/util/common/CloseableIterators.java
Java
apache-2.0
2,771
//======= Copyright (c) Valve Corporation, All rights reserved. =============== using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine.Serialization; namespace Valve.VR { public class SteamVR_Settings : ScriptableObject { private static Ste...
googlevr/tilt-brush
Assets/ThirdParty/SteamVR/Scripts/SteamVR_Settings.cs
C#
apache-2.0
4,631
using System.Collections.Generic; namespace DocGenerator.Documentation.Blocks { /// <summary> /// Used to keep a line of code (could be multiple e.g fluent syntax) and its annotations in one logical unit. /// So they do not suffer from reordering based on line number when writing out the documentation /// </summa...
adam-mccoy/elasticsearch-net
src/CodeGeneration/DocGenerator/Documentation/Blocks/CombinedBlock.cs
C#
apache-2.0
661
package com.code.constant; /** * Created by niu on 2017/8/17. */ public class StringEvent { //网络状态改变 public static String NET_STATE_CHANGE = "net_state_change"; }
niuzhijun66/NiuStudyDemo
app/src/main/java/com/code/constant/StringEvent.java
Java
apache-2.0
187
import numpy as np from math import sin, pi, cos from banti.glyph import Glyph halfsize = 40 size = 2*halfsize + 1 picture = np.zeros((size, size)) for t in range(-135, 135): x = round(halfsize + halfsize * cos(pi * t / 180)) y = round(halfsize + halfsize * sin(pi * t / 180)) picture[x][y] = 1 zoomsz = 1 ...
rakeshvar/telugu_ocr_banti
tests/glyph_test.py
Python
apache-2.0
613
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
yanchen036/tensorflow
tensorflow/contrib/lite/testing/tflite_driver.cc
C++
apache-2.0
10,088
/* * Copyright 2013-2017 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 ap...
Orange-OpenSource/cf-java-client
cloudfoundry-util/src/main/java/org/cloudfoundry/util/ExceptionUtils.java
Java
apache-2.0
3,609
/* * Copyright 2012-2014 MarkLogic 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
laurelnaiad/marklogic-samplestack-old
appserver/java-spring/src/main/java/com/marklogic/samplestack/web/security/SamplestackAuthenticationEntryPoint.java
Java
apache-2.0
2,075
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { function goSlide(event) { var index = event.source.mod; var arrViews = $.scrollableView.getViews(); switch (index) { ...
hardikamal/xox
Resources/iphone/alloy/controllers/contact.js
JavaScript
apache-2.0
5,935
/* * Copyright 2016 LINE Corporation * * LINE Corporation 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
jmostella/armeria
core/src/main/java/com/linecorp/armeria/common/HttpData.java
Java
apache-2.0
9,114
extern alias SSmDsClient; using System; using System.Collections.Generic; using System.Linq; using OpenRiaServices.DomainServices.Client; using Cities; using Microsoft.Silverlight.Testing; using Microsoft.VisualStudio.TestTools.UnitTesting; using DataTests.Northwind.LTS; using System.ComponentModel.DataAnnotations; us...
jeffhandley/OpenRiaServices
OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/OperationTests.cs
C#
apache-2.0
17,162
require 'spec_helper' describe 'source install' do let(:chef_run) do runner = ChefSpec::Runner.new(platform: 'ubuntu', version: '12.04') runner.node.set['nrpe']['install_method'] = 'source' runner.converge 'nrpe::default' end it 'includes the nrpe source recipes' do expect(chef_run).to include_r...
alexanderkiel/chef-nrpe
spec/source_spec.rb
Ruby
apache-2.0
1,398
<?php namespace Fungku\NetSuite\Classes; class BudgetCategory extends Record { public $name; public $budgetType; public $isInactive; public $internalId; static $paramtypesmap = array( "name" => "string", "budgetType" => "boolean", "isInactive" => "boolean", "internalId" => "string", ); }
bitclaw/netsuite-php
src/Classes/BudgetCategory.php
PHP
apache-2.0
305
/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashMatrix. * * 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 ...
flashxio/FlashX
matrix/matrix_store.cpp
C++
apache-2.0
11,850
// Copyright 2018 The LUCI Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
luci/luci-go
cipd/appengine/impl/repo/acl.go
GO
apache-2.0
5,464
/* * 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...
lovepoem/dubbo
dubbo-registry/dubbo-registry-default/src/main/java/org/apache/dubbo/registry/dubbo/DubboRegistry.java
Java
apache-2.0
5,956
# The following comment should be removed at some point in the future. # mypy: disallow-untyped-defs=False from __future__ import absolute_import import logging import os.path import re from pip._vendor.packaging.version import parse as parse_version from pip._vendor.six.moves.urllib import parse as urllib_parse fro...
pantsbuild/pex
pex/vendor/_vendored/pip/pip/_internal/vcs/git.py
Python
apache-2.0
15,599
# coding: utf-8 # # Copyright (c) 2013 OpenStack Foundation # 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 # # Unle...
gaolichuang/py-essential
essential/db/sqlalchemy/migration.py
Python
apache-2.0
10,186
/** * Copyright 2016 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...
google/beautiful-audio-editor
src/js/original/audio/record/recording-job-created-event.js
JavaScript
apache-2.0
1,347
package org.cloudfoundry.autoscaler.data.couchdb.dao.impl; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import org.cloudfoundry.autoscaler.data.couchdb.dao.AppInstanceMetricsDAO; import org.cloudfoundry.autoscaler.data.couchdb.dao.base.TypedCouchDbRepositorySupport; import org.cl...
cfibmers/open-Autoscaler
server/src/main/java/org/cloudfoundry/autoscaler/data/couchdb/dao/impl/AppInstanceMetricsDAOImpl.java
Java
apache-2.0
6,943
package jef.common.wrapper; import java.io.Serializable; public interface IHolder<T> extends Serializable{ T get(); void set(T obj); }
xuse/ef-orm
common-core/src/main/java/jef/common/wrapper/IHolder.java
Java
apache-2.0
139
/* * Copyright 2019 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 appli...
jayway/rest-assured
rest-assured/src/main/java/io/restassured/response/Validatable.java
Java
apache-2.0
1,199
/* * Copyright 2010-2014 Ning, Inc. * Copyright 2014 The Billing Project, LLC * * Ning 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/lice...
killbill/killbill-meter-plugin
src/main/java/org/killbill/billing/plugin/meter/timeline/shutdown/StartTimes.java
Java
apache-2.0
3,097
/* * 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/sis
core/sis-utility/src/main/java/org/apache/sis/util/CharSequences.java
Java
apache-2.0
106,867
// Copyright 2006-2009 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...
pinkpegasus/omaha_vs2010
mi_exe_stub/process.cc
C++
apache-2.0
2,497
/* * 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 ...
Fabryprog/camel
components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyWorkerPoolBuilder.java
Java
apache-2.0
3,053
/* * 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/solr
solr/solrj/src/java/org/apache/solr/common/params/FacetParams.java
Java
apache-2.0
17,854
/* * Copyright 2015 Textocat * * 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 la...
textocat/textokit-core
Textokit.PosTagger.API/src/main/java/com/textocat/textokit/morph/commons/TagUtils.java
Java
apache-2.0
3,235
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
zhouyx/amphtml
extensions/amp-live-list/0.1/live-list-manager.js
JavaScript
apache-2.0
10,792
package org.eclipse.jetty.server.handler; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.BufferedReader; import java.io.EOFException; import java.io.IOException; import java.net.Socket; import java.util.LinkedHashMap; import java.util.Map; import java.util.regex...
thomasbecker/jetty-7
jetty-server/src/test/java/org/eclipse/jetty/server/handler/AbstractConnectHandlerTest.java
Java
apache-2.0
5,030
package org.apache.velocity.tools.view; /* * 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 Lice...
fluidinfo/velocity-tools-packaging
src/main/java/org/apache/velocity/tools/view/DataInfo.java
Java
apache-2.0
3,790
// ---------------------------------------------------------------------------------- // // 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...
ClogenyTechnologies/azure-powershell
src/ResourceManager/Compute/Commands.Compute/Extension/VMAccess/GetAzureVMAccessExtension.cs
C#
apache-2.0
4,615
/* * Licensed to Diennea S.r.l. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Diennea S.r.l. licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this ...
diegosalvi/docetproject
docet-core/src/main/java/docet/engine/DocetDocFormat.java
Java
apache-2.0
1,574
// Copyright 2021 The Oppia 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 ap...
brianrodri/oppia
core/templates/pages/delete-account-page/templates/delete-account-modal.component.ts
TypeScript
apache-2.0
1,586
/* * Javolution - Java(TM) Solution for Real-Time and Embedded Systems * Copyright (C) 2007 - Javolution (http://javolution.org/) * All rights reserved. * * Permission to use, copy, modify, and distribute this software is * freely granted, provided that this notice is preserved. */ package javolution.xml; impo...
mariusj/org.openntf.domino
domino/externals/javolution/src/main/java/javolution/xml/XMLSerializable.java
Java
apache-2.0
1,977
# Copyright 2008-2013 Software freedom conservancy # # 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 ...
RamaraoDonta/ramarao-clone
py/selenium/webdriver/remote/webelement.py
Python
apache-2.0
14,925
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/location/model/SearchForTextResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
jt70471/aws-sdk-cpp
aws-cpp-sdk-location/source/model/SearchForTextResult.cpp
C++
apache-2.0
1,031
"""This component provides support to the Ring Door Bell camera.""" import asyncio from datetime import timedelta import logging import voluptuous as vol from homeassistant.components.camera import PLATFORM_SCHEMA, Camera from homeassistant.components.ffmpeg import DATA_FFMPEG from homeassistant.const import ATTR_ATT...
jabesq/home-assistant
homeassistant/components/ring/camera.py
Python
apache-2.0
5,739
/** * Copyright 2014 * * 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, ...
cping/LGame
Java/old/OpenGL-1.0(old_ver)/Loon-backend-JavaSE/src/loon/core/graphics/component/table/TableLayout.java
Java
apache-2.0
4,975
/* * Copyright 2000-2016 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...
mglukhikh/intellij-community
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/expression/CodeFragmentEvaluator.java
Java
apache-2.0
4,502
package com.kit.imagelib.imagelooker; public interface OnPageSelectedListener { public void onPageSelected(); }
BigAppOS/BigApp_Discuz_Android
libs/ImageLib/src/com/kit/imagelib/imagelooker/OnPageSelectedListener.java
Java
apache-2.0
126
package matchers import ( "fmt" "github.com/onsi/gomega/format" "math" ) type BeNumericallyMatcher struct { Comparator string CompareTo []interface{} } func (matcher *BeNumericallyMatcher) Match(actual interface{}) (success bool, message string, err error) { if len(matcher.CompareTo) == 0 || len(matcher.Compa...
aminjam/onememberoauth2
Godeps/_workspace/src/github.com/onsi/gomega/matchers/be_numerically_matcher.go
GO
apache-2.0
3,596
/******************************************************************************* * Copyright 2015 Unicon (R) Licensed under the * Educational Community 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....
ccooper1/OpenDash
src/main/java/org/apereo/lai/Institution.java
Java
apache-2.0
967
var spawn = require('child_process').spawn var port = exports.port = 1337 exports.registry = "http://localhost:" + port exports.run = run function run (cmd, t, opts, cb) { if (!opts) opts = {} if (!Array.isArray(cmd)) throw new Error("cmd must be an Array") if (!t || !t.end) throw new Error("node-ta...
jplusui/xfly
xfly/node/node_modules/npm/test/common-tap.js
JavaScript
apache-2.0
731
# # Author:: Adam Jacob (<adam@chef.io>) # Copyright:: Copyright 2008-2017, Chef Software 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 # # ...
mal/chef
spec/unit/provider/package/apt_spec.rb
Ruby
apache-2.0
21,755
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.Remoting; using System.Threading; using Syste...
aelij/roslyn
src/EditorFeatures/TestUtilities/Remote/InProcRemostHostClient.cs
C#
apache-2.0
11,474
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
googleapis/google-cloud-dotnet
apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.GeneratedSnippets/UptimeCheckServiceClient.CreateUptimeCheckConfigSnippet.g.cs
C#
apache-2.0
1,776
package org.goodsManagement.service.impl.PoiUtils; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.goodsManagement.po.GetGoodsDto; import org.goodsManagement.vo.GetGoodsVO; import org.springframework.stereotype.Component; import java.util.ArrayList; import...
sunshine-life/GoodsManagement
src/main/java/org/goodsManagement/service/impl/PoiUtils/GetGoodsToExcel.java
Java
apache-2.0
2,120
/** * 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...
kevinearls/camel
platforms/spring-boot/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
Java
apache-2.0
6,273
//===- WriterUtils.cpp ----------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
google/llvm-propeller
lld/wasm/WriterUtils.cpp
C++
apache-2.0
7,617
# Copyright 2015 Rafe Kaplan # # 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, s...
slobberchops/booze
src/booze/gin/rule.py
Python
apache-2.0
2,341
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2019 */ package com.ibm.streamsx.topology.internal.logging; import java.util.logging.Level; import java.util.logging.Logger; public interface Logging { /** * Set the root logging levels from Python logging integer level. * @param leve...
ddebrunner/streamsx.topology
java/src/com/ibm/streamsx/topology/internal/logging/Logging.java
Java
apache-2.0
800
package wikokit.base.wikt.db; import android.util.Log; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; /** Decompress ziped file. * * @see http://www.jondev.net/articles/Unzipping_Files_with_...
componavt/wikokit
android/common_wiki_android/src/wikokit/base/wikt/db/Decompressor.java
Java
apache-2.0
1,533
// -------------------------------------------------------------------------------------------------------------------- // <summary> // The chat room controller. // </summary> // -------------------------------------------------------------------------------------------------------------------- namespace WebStreams...
daprlabs/WebStreamSamples
ChatRoomController.cs
C#
apache-2.0
4,330
/* * 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 ...
Fabryprog/camel
components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JMSTransactionalClientWithRollbackTest.java
Java
apache-2.0
2,206
(function() { var head = document.head || document.getElementsByTagName('head')[0]; var style = null; var mobileScreenWidth = 768; // Make sure this value is equal to the width of .wy-nav-content in overrides.css. var initialContentWidth = 960; // Make sure this value is equal to the width of .wy-nav-side ...
trustin/sphinx-gradle-plugin
src/site/sphinx/_static/center_page.js
JavaScript
apache-2.0
2,528