repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
erwinmombay/amphtml | extensions/amp-story/1.0/amp-story.js | 82511 | /**
* Copyright 2017 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... | apache-2.0 |
intuit/QuickBooks-V3-PHP-SDK | src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php | 22940 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/replication/ReplicationPrefixPredicate.java | 1351 | /*
* Copyright 2011-2019 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.
* You may obtain a copy of the License at:
*
* http://aws.amazon.com/apache2.0
*
* This fil... | apache-2.0 |
tanhaichao/leopard-data | leopard-jdbc/src/test/java/io/leopard/jdbc/RequestStat.java | 2787 | package io.leopard.jdbc;
import java.util.Date;
public class RequestStat {
// 数量 总耗时 平均 数量 总耗时 平均 数量 总耗时 平均 发生时间
private Date time;// 时间段
private String projectId;
private String url;//
private String server;// APP服务器
// 新连接
private int allCount;// 数量
private double allTime;// 总耗时
// private Long newAvg... | apache-2.0 |
bozimmerman/CoffeeMud | com/planet_ink/coffee_mud/Abilities/Prayers/Prayer_AuraStrife.java | 5673 | package com.planet_ink.coffee_mud.Abilities.Prayers;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
impor... | apache-2.0 |
AquaticInformatics/Examples | TimeSeries/PublicApis/SdkExamples/SharpShooterReportsRunner/TimeSeries.cs | 329 | namespace SharpShooterReportsRunner
{
public class TimeSeries : DataSetBase
{
public string Identifier { get; set; }
public string OutputUnitId { get; set; }
public string QueryFrom { get; set; }
public string QueryTo { get; set; }
public GroupBy? GroupBy { get; set; }
... | apache-2.0 |
pravega/pravega | controller/src/main/java/io/pravega/controller/store/stream/InMemoryBucketStore.java | 4750 | /**
* Copyright Pravega 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 to... | apache-2.0 |
davidmigloz/supermarket-agent-system | src/main/java/com/davidflex/supermarket/ontologies/company/concepts/Warehouse.java | 911 | package com.davidflex.supermarket.ontologies.company.concepts;
import com.davidflex.supermarket.ontologies.ecommerce.concepts.Location;
import jade.content.Concept;
import jade.core.AID;
/**
* Warehouse.
*/
@SuppressWarnings("unused")
public class Warehouse implements Concept {
private AID warehous... | apache-2.0 |
neowu/core-ng-project | core-ng/src/test/java/core/framework/internal/web/route/PathTest.java | 1893 | package core.framework.internal.web.route;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
/**
* @author neo
*/
class PathTest {
@Test
void pa... | apache-2.0 |
AlSidorenko/Junior | chapter_003/src/test/java/ru/job4j/sorting/comparator/SortUserTest.java | 1825 | package ru.job4j.sorting.comparator;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Created on 05.06.2018.
*
* @author Aleks Sidorenko (alek.sidorenko1979@gmail.com).
* @ve... | apache-2.0 |
xorware/android_frameworks_base | packages/SystemUI/src/com/android/systemui/tuner/ColorAndAppearanceActivity.java | 3983 | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
google/gps-babel-tower | examples/sentiment.py | 1382 | # coding=utf-8
# 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... | apache-2.0 |
google/end-to-end | src/javascript/crypto/e2e/extension/preferences.js | 2939 | /**
* @license
* Copyright 2013 Google 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... | apache-2.0 |
ImABradley/Peach | src/main/java/imabradley/peach/util/yaml/Setting.java | 1243 | /*
* Copyright 2017 Bradley Steele
*
* 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 ... | apache-2.0 |
HuaweiSNC/OpsDev | src/plugins/com.huawei.networkos.ops/src/com/huawei/networkos/ops/views/OpsServerHandelWizard.java | 1012 | package com.huawei.networkos.ops.views;
import org.eclipse.core.resources.IProject;
import org.eclipse.jface.wizard.Wizard;
import com.huawei.tools.xml.config.OpsService;
import com.huawei.tools.xml.config.OpsServiceUrlHandle;
public class OpsServerHandelWizard extends Wizard {
private OpsServiceUrlHandle ... | apache-2.0 |
tokee/lucene | contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java | 14775 | package org.apache.lucene.benchmark.byTask.tasks;
/**
* 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 Apac... | apache-2.0 |
stuffer2325/Makagiga | src/org/makagiga/commons/swing/border/MBorder.java | 1771 | // Copyright 2010 Konrad Twardowski
//
// 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 |
topie/topie-oa | src/main/java/com/topie/internal/delegate/support/DelegateConnectorImpl.java | 1259 | package com.topie.internal.delegate.support;
import javax.annotation.Resource;
import com.topie.api.delegate.DelegateConnector;
import com.topie.internal.delegate.persistence.domain.DelegateInfo;
import com.topie.internal.delegate.service.DelegateService;
public class DelegateConnectorImpl implements DelegateConnec... | apache-2.0 |
cmmanish/OldUITempTest | examples/v201109/DeleteAdGroup.java | 2766 | // Copyright 2011, Google 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 applicable la... | apache-2.0 |
dufangyu1990/NewFarmTool | app/src/main/java/com/example/newframtool/view/TongjiView.java | 9648 | package com.example.newframtool.view;
import android.app.Activity;
import android.os.Handler;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widg... | apache-2.0 |
datastax/java-driver | core/src/main/java/com/datastax/oss/driver/internal/core/metadata/DefaultNodeInfo.java | 5705 | /*
* Copyright DataStax, 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 in wri... | apache-2.0 |
lei-xia/helix | helix-core/src/test/java/org/apache/helix/manager/zk/TestAddBuiltInStateModelDef.java | 3378 | package org.apache.helix.manager.zk;
/*
* 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... | apache-2.0 |
dongpf/hadoop-0.19.1 | src/mapred/org/apache/hadoop/mapred/MapFileOutputFormat.java | 4083 | /**
* 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 |
cityindex-attic/CIAPI.Samples | STREAMINGALL_adapter/STREAMINGALL_adapter/Properties/AssemblyInfo.cs | 1000 | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("STREAMINGALL_adapter")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")... | apache-2.0 |
WdWeaver/openid4java-gae-hacks | src/org/openid4java/httpclient/spi/commons/CommonsGetMethod.java | 415 | package org.openid4java.httpclient.spi.commons;
import org.apache.commons.httpclient.methods.GetMethod;
import org.openid4java.httpclient.StringRequestEntity;
class CommonsGetMethod extends CommonsHttpMethod {
CommonsGetMethod(String url) {
super(new GetMethod(url));
}
@Override
public void setReq... | apache-2.0 |
eevans/newts | api/src/main/java/org/opennms/newts/api/Timestamp.java | 4892 | /*
* Copyright 2014, The OpenNMS Group
*
* 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... | apache-2.0 |
SENA-CEET/1349397-Trimestre-4 | java/JSF/ejemploJSF2/src/main/java/co/edu/sena/ejemplojsf2/model/entities/TipoInstructor.java | 3591 | /*
* 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 co.edu.sena.ejemplojsf2.model.entities;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Bas... | apache-2.0 |
moreus/hadoop | hadoop-0.10.0/src/java/org/apache/hadoop/mapred/InputFormatBase.java | 6829 | /**
* 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 |
mokelab/android-RecyclerViewUtils | lib/src/main/java/com/mokelab/libs/recyclerview/BaseViewHolder.java | 828 | package com.mokelab.libs.recyclerview;
import android.support.v7.widget.RecyclerView;
import android.view.View;
/**
* Base ViewHolder. This holder has section and position in section
*/
public class BaseViewHolder extends RecyclerView.ViewHolder {
public int mSection;
public int mPositionInSection;
pub... | apache-2.0 |
yevhen/Orleankka | Samples/CSharp/EventSourcing/Idiomatic/Infrastructure.cs | 1615 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Orleankka;
using Orleankka.Meta;
namespace Example
{
public abstract class EventSourcedActor : DispatchActorGrain
{
StreamRef stream;
public override Task<object> Receive(object message)
{
... | apache-2.0 |
AspiroTV/Connect-SDK-Android-Core | test/src/com/connectsdk/service/NetCastTVServiceTest.java | 1525 | package com.connectsdk.service;
import com.connectsdk.service.config.ServiceConfig;
import com.connectsdk.service.config.ServiceDescription;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mockito;
import org.robolectric.RobolectricTe... | apache-2.0 |
theodi/odi-chef | site-cookbooks/odc-tools/metadata.rb | 277 | name 'odc-tools'
maintainer 'The Open Data Institute'
maintainer_email 'tech@theodi.org'
license 'MIT'
description 'Installs/Configures odc-tools'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0'
| apache-2.0 |
aslanbekirov/crate | sql/src/main/java/io/crate/analyze/CopyToAnalyzedStatement.java | 4924 | /*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... | apache-2.0 |
mhdSid/gulp | gulp.config.js | 963 | (function() {
module.exports = function () {
var GlobalConfig = {
env: process.env.NODE_ENV,
appName: 'App',
appPath: 'app/',
// configuration used in the app depending on the development environment
inAppConfig: require('./config/' + process.env.NODE_ENV + '.json')
};
return {
i... | apache-2.0 |
unchartedsoftware/salt | src/main/scala/software/uncharted/salt/core/generation/output/SeriesData.scala | 3351 | /*
* Copyright 2016 Uncharted Software 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 o... | apache-2.0 |
m-m-m/client | impl-gwt/src/main/java/net/sf/mmm/client/impl/base/place/package-info.java | 418 | /* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
/**
* Contains the place related base classes for this client framework.
* <a name="documentation"></a><h2>Client Base Place (GWT)</h2>
* This package contains the {@link net.sf.mmm.client... | apache-2.0 |
trane/finch | demo/src/main/scala/io/finch/demo/package.scala | 2559 | /*
* Copyright 2015, by Vladimir Kostyukov and Contributors.
*
* This file is a part of a Finch library that may be found at
*
* https://github.com/finagle/finch
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
* You may... | apache-2.0 |
BigBoss424/portfolio | v6/node_modules/sitemap/index.d.ts | 159 | export * from './lib/sitemap';
import errors = require('./lib/errors');
export { errors };
/**
* Framework version.
*/
export declare const version: string;
| apache-2.0 |
priimak/cloudkeeper | cloudkeeper-core/cloudkeeper-interpreter/src/test/java/com/svbio/cloudkeeper/interpreter/DependencyGraphTest.java | 9730 | package com.svbio.cloudkeeper.interpreter;
import com.svbio.cloudkeeper.interpreter.DependencyGraph.DependencyGraphNode;
import com.svbio.cloudkeeper.interpreter.DependencyGraph.InPortNode;
import com.svbio.cloudkeeper.interpreter.DependencyGraph.OutPortNode;
import com.svbio.cloudkeeper.interpreter.DependencyGraph.Su... | apache-2.0 |
schmittjoh/jmsDoctrinePlugin | lib/Template/Passwordable.class.php | 10672 | <?php
/*
* Copyright 2010 Johannes M. Schmitt
*
* 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... | apache-2.0 |
vam-google/google-cloud-java | google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java | 907 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto
package com.google.cloud.bigquery.datatransfer.v1;
public interface GetDataSourceRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datatran... | apache-2.0 |
adriancl1/AK-Engine | ModuleInput.cpp | 4329 | #include "Globals.h"
#include "Application.h"
#include "Brofiler-1.1.2\Brofiler.h"
#include "ModuleInput.h"
#define MAX_KEYS 300
ModuleInput::ModuleInput(Application* app, bool start_enabled) : Module(app, start_enabled)
{
keyboard = new KEY_STATE[MAX_KEYS];
memset(keyboard, KEY_IDLE, sizeof(KEY_STATE) * MAX_KEYS);... | apache-2.0 |
rdo-management/instack | setup.py | 791 | #!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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... | apache-2.0 |
radiodan/radiodan.js | test/state-emitters/test-player.js | 631 | 'use strict';
describe('state-emitter/player', function (){
beforeEach(function(){
this.subject = require(libDir + 'state-emitters/player');
});
it('returns a object per non-matching key', function(done) {
var newData = {a: '1', b: '2'},
oldData = {a: '2', b: '2'},
promise;
promise ... | apache-2.0 |
meruvian/workshop | jee/jaxrs/src/main/java/org/meruvian/workshop/jaxrs/entity/News.java | 649 | package org.meruvian.workshop.jaxrs.entity;
import java.util.Date;
public class News {
private long id;
private String title;
private String content;
private Date createDate;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getTitle() {
return title;
}
... | apache-2.0 |
google/flax | examples/sst2/train.py | 9394 | # Copyright 2022 The Flax 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 to in wri... | apache-2.0 |
bozimmerman/CoffeeMud | com/planet_ink/coffee_mud/Abilities/Spells/Spell_DivineBeauty.java | 4424 | package com.planet_ink.coffee_mud.Abilities.Spells;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... | apache-2.0 |
mikefero/cpp-driver | gtests/src/integration/scassandra/server/java-it-tests/driver30/src/test/java/queries/DelayTest30.java | 823 | /*
* Copyright (C) 2016 Christopher Batey and Dogan Narinc
*
* 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... | apache-2.0 |
ST-DDT/CrazySpawner | src/main/java/de/st_ddt/crazyspawner/entities/meta/CustomDamage.java | 295 | package de.st_ddt.crazyspawner.entities.meta;
import org.bukkit.metadata.MetadataValue;
public interface CustomDamage extends MetadataValue
{
public static final String METAHEADER = "DamageMeta";
public double getMinDamage();
public double getMaxDamage();
public double getDamage();
}
| apache-2.0 |
oehme/analysing-gradle-performance | my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p482/Test9657.java | 2111 | package org.gradle.test.performance.mediummonolithicjavaproject.p482;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test9657 {
Production9657 objectUnderTest = new Production9657();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.... | apache-2.0 |
googleads/google-ads-dotnet | src/V9/Services/MutateCampaignFeedsResponsePartialFailureSupport.cs | 1604 | // Copyright 2020 Google LLC. 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... | apache-2.0 |
httpchannel/httpchannel | httpchannel-util/src/main/java/com/rogiel/httpchannel/http/PostRequest.java | 2232 | /*
* 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")... | apache-2.0 |
111pontes/ydk-py | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ip_daps_oper.py | 63098 |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | apache-2.0 |
Maccimo/commons-bcel | src/main/java/org/apache/bcel/verifier/VerifierFactoryListModel.java | 2556 | /*
* 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 |
dagnir/aws-sdk-java | aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/transform/ModifyDBClusterParameterGroupRequestMarshaller.java | 5453 | /*
* Copyright 2012-2017 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 "licen... | apache-2.0 |
ericholscher/dropwizard | dropwizard-jdbi/src/main/java/com/yammer/dropwizard/jdbi/OptionalContainerFactory.java | 967 | package com.yammer.dropwizard.jdbi;
import com.google.common.base.Optional;
import org.skife.jdbi.v2.ContainerBuilder;
import org.skife.jdbi.v2.tweak.ContainerFactory;
public class OptionalContainerFactory implements ContainerFactory<Optional<?>> {
@Override
public boolean accepts(Class<?> type) {
... | apache-2.0 |
MobilityData/gtfs-validator | core/src/main/java/org/mobilitydata/gtfsvalidator/notice/StartAndEndRangeEqualNotice.java | 1987 | /*
* 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 in wr... | apache-2.0 |
AttwellBrian/dagger | compiler/src/main/java/dagger/internal/codegen/MultibindingsProcessingStep.java | 1966 | /*
* Copyright (C) 2015 The Dagger 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 ag... | apache-2.0 |
ctomc/jboss-modules | src/main/java/org/jboss/modules/JarFileResourceLoader.java | 19317 | /*
* 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 Licen... | apache-2.0 |
stdlib-js/stdlib | lib/node_modules/@stdlib/random/base/poisson/docs/types/index.d.ts | 5396 | /*
* @license Apache-2.0
*
* Copyright (c) 2019 The Stdlib 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... | apache-2.0 |
ShardPhoenix/SapiClient | src/au/com/sensis/sapi/requestmodel/SortBy.java | 92 | package au.com.sensis.sapi.requestmodel;
public enum SortBy {
RELEVANCE, NAME, DISTANCE
}
| apache-2.0 |
SAP/openui5 | src/sap.ui.testrecorder/src/sap/ui/testrecorder/inspector/ControlInspector.js | 10217 | /*!
* ${copyright}
*/
sap.ui.define([
"sap/ui/base/Object",
"sap/ui/thirdparty/jquery",
"sap/ui/testrecorder/CommunicationBus",
"sap/ui/testrecorder/CommunicationChannels",
"sap/ui/testrecorder/mutationObservers/AppMutationObserver",
"sap/ui/testrecorder/mutationObservers/ElementMutationObserver",
"sap/ui/sup... | apache-2.0 |
DimkaGorhover/zaremba | src/main/java/com/travelport/schema/air_v29_0/TicketEndorsement.java | 1443 |
package com.travelport.schema.air_v29_0;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous comp... | apache-2.0 |
thbonk/electron-openui5-boilerplate | libs/openui5-runtime/resources/sap/ui/commons/TextArea-dbg.js | 10930 | /*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2017 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.ui.commons.TextArea.
sap.ui.define(['jquery.sap.global', './TextField', './library'],
function(jQuery, TextF... | apache-2.0 |
VladoLavor/vpp-agent | proto/ligato/annotations.pb.go | 13252 | // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.12.4
// source: ligato/annotations.proto
package ligato
import (
proto "github.com/golang/protobuf/proto"
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
protoreflect "google.golang.org/pro... | apache-2.0 |
iljaosintsev/Apress-Gists | app/src/main/java/com/turlir/abakgists/allgists/view/listing/ErrorModelHolder.java | 541 | package com.turlir.abakgists.allgists.view.listing;
import android.view.View;
import android.widget.TextView;
import com.turlir.abakgists.model.ErrorModel;
import butterknife.BindView;
import butterknife.ButterKnife;
class ErrorModelHolder extends ModelViewHolder<ErrorModel> {
@BindView(android.R.id.text1)
... | apache-2.0 |
CredentialTransparencyInitiative/CredentialFinderSearch | Data/Counts_SiteTotals.cs | 833 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | apache-2.0 |
batumi/KartuliSpeechRecognition | jni/edu/cmu/pocketsphinx/Lattice.java | 1022 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.40
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | apache-2.0 |
dbeaver/dbeaver | plugins/org.jkiss.dbeaver.ui/src/org/jkiss/dbeaver/ui/controls/folders/TabbedFolderList.java | 36146 | /*
* Copyright (c) 2001, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contribut... | apache-2.0 |
Waldrus/AssertDroid | library/src/java/ru/waldrus/assertdroid/AssertDroidConfig.java | 1639 | package ru.waldrus.assertdroid;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import ru.waldrus.assertdroid.handlers.AggregateHandler;
/**
* Created by Wald on 13.04.2014.
*/
public class AssertDroidConfig {
/* package */ AssertDroidConfig(Context context){
this((context.get... | apache-2.0 |
eliogrin/CISEN | project-java/cisen-core/src/main/java/com/epam/cisen/core/api/AbstractConnector.java | 2770 | package com.epam.cisen.core.api;
import java.io.IOException;
import java.util.Map;
import org.apache.felix.scr.annotations.Component;
import org.jongo.MongoCollection;
import org.jongo.MongoCursor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.epam.cisen.core.api.dto.CiReport;
import com.epam.c... | apache-2.0 |
tellproject/telljava | java/src/main/ch/ethz/tell/ClientManager.java | 4187 | /*
* (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others.
*
* 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/LICENS... | apache-2.0 |
chrisekelley/zeprs | src/zeprs/org/cidrz/project/zeprs/valueobject/report/gen/PostnatalMaternalVisitReport.java | 33395 | package org.cidrz.project.zeprs.valueobject.report.gen;
import org.cidrz.project.zeprs.valueobject.EncounterData;
import org.cidrz.webapp.dynasite.valueobject.Patient;
import java.sql.Date;
import java.util.Set;
import java.sql.Time;
import java.sql.Timestamp;
import org.cidrz.webapp.dynasite.valueobject.AuditInfo;
im... | apache-2.0 |
funtl/framework | funtl-framework-tools/paypal-sdk/src/main/java/com/funtl/framework/paypal/base/exception/BaseException.java | 1000 | /*
* Copyright 2015-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... | apache-2.0 |
Panda-Programming-Language/Panda | panda-framework/src/main/java/org/panda_lang/panda/framework/design/interpreter/source/Source.java | 888 | /*
* Copyright (c) 2015-2019 Dzikoysk
*
* 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 |
UltraCart/rest_api_v2_sdk_csharp | src/com.ultracart.admin.v2/Model/UserGroupMembership.cs | 5602 | /*
* UltraCart Rest API V2
*
* UltraCart REST API Version 2
*
* OpenAPI spec version: 2.0.0
* Contact: support@ultracart.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using Sy... | apache-2.0 |
orange-buffalo/dozer | core/src/test/java/com/github/dozermapper/core/vo/deepindex/C.java | 806 | /*
* Copyright 2005-2018 Dozer Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | apache-2.0 |
ccfish86/sctalk | android/app/src/main/java/com/mogujie/tt/imservice/entity/MixMessage.java | 4589 | package com.mogujie.tt.imservice.entity;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.mogujie.tt.DB.entity.MessageEntity;
import com.mogujie.tt.config.DBConstant;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import ja... | apache-2.0 |
scouter-project/scouter | scouter.server/src/main/scala/scouter/server/db/ZipkinSpanWR.scala | 4530 | /*
* Copyright 2015 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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/licen... | apache-2.0 |
rennman/copfvtci | cli/server/spi/group_test.go | 1219 | /*
Copyright IBM Corp. 2016 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 |
bgp1984/WeixinShop | Application/Runtime/Cache/Admin/7fde83f59b7fe9a3399b547aa6382214.php | 4197 | <?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link href="/Public/css/admin/style.css" rel="stylesheet"/>
<title><?php echo L('website_manage');?></title>
<script>
var URL = '/index.php/adm... | apache-2.0 |
LorenzReinhart/ONOSnew | apps/restconf/api/src/main/java/org/onosproject/restconf/api/RestconfService.java | 6618 | /*
* Copyright 2016-present Open Networking Laboratory
*
* 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 applicabl... | apache-2.0 |
Dreamxiaoxuan/AndroidTvDemo | app/src/main/java/com/xiaoxuan/demo/tv/widget/view/SurfaceRenderView.java | 9226 | package com.xiaoxuan.demo.tv.widget.view;
import java.lang.ref.WeakReference;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.SurfaceTexture;
import android.os.Build;
import android.util.AttributeSet;
imp... | apache-2.0 |
gawkermedia/googleads-java-lib | modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201601/cm/ConversionTrackerServiceLocator.java | 6308 | /**
* ConversionTrackerServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201601.cm;
public class ConversionTrackerServiceLocator extends org.apache.axis.client.Service implements com.g... | apache-2.0 |
lei-xia/helix | helix-core/src/test/java/org/apache/helix/integration/TestDisablePartition.java | 8499 | package org.apache.helix.integration;
/*
* 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 Licens... | apache-2.0 |
LQJJ/demo | 126-go-common-master/app/interface/main/dm2/http/manage.go | 2893 | package http
import (
"strconv"
"go-common/app/interface/main/dm2/model"
"go-common/app/interface/main/dm2/model/oplog"
"go-common/library/ecode"
"go-common/library/log"
bm "go-common/library/net/http/blademaster"
"go-common/library/xstr"
)
// editState edit dm state.
// 0:正常1:删除 2:保护 3:取消保护
func editState(c ... | apache-2.0 |
googleads/google-ads-dotnet | src/V9/Types/VanityPharmaDisplayUrlMode.g.cs | 9643 | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/enums/vanity_pharma_display_url_mode.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Goo... | apache-2.0 |
jdgwartney/vsphere-ws | java/JAXWS/samples/com/vmware/vim25/UpdateServiceMessageRequestType.java | 2242 |
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for UpdateServiceMessageRequestType complex type.
*
* <p>The followin... | apache-2.0 |
jan-molak/serenity-js | packages/core/src/screenplay/activities/TrackedActivity.ts | 2122 | import { InteractionFinished, InteractionStarts, TaskFinished, TaskStarts } from '../../events';
import { ActivityDetails, ExecutionSuccessful } from '../../model';
import { Stage } from '../../stage';
import { Activity } from '../Activity';
import { AnswersQuestions, PerformsActivities, UsesAbilities } from '../actor'... | apache-2.0 |
FITeagle/fusecoplayground | source/conf.py | 10969 | # -*- coding: utf-8 -*-
#
# FUSECO Playground documentation build configuration file, created by
# sphinx-quickstart on Sun May 25 21:19:07 2014.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated f... | apache-2.0 |
bertilmuth/requirementsascode | requirementsascodeexamples/helloworld/src/main/java/helloworld/commandhandler/SaveName.java | 379 | package helloworld.commandhandler;
import java.util.function.Consumer;
import helloworld.command.EnterText;
import helloworld.domain.Person;
public class SaveName implements Consumer<EnterText> {
private Person person;
public SaveName(Person person) {
this.person = person;
}
@Override
public void acc... | apache-2.0 |
django-fluent/django-fluent-contents | fluent_contents/plugins/sharedcontent/managers.py | 1787 | from django.conf import settings
from django.db.models import Manager, Q
from parler.managers import TranslatableQuerySet
from fluent_contents import appsettings
from fluent_contents.plugins.sharedcontent import appsettings as sharedcontent_appsettings
class SharedContentQuerySet(TranslatableQuerySet):
"""
T... | apache-2.0 |
arkanister/minitickets | src/conf/menu.py | 1323 | # coding: utf-8
from django.utils.translation import ugettext as _
MAIN_NAV = [{
"verbose_name": _('Home'),
"action": "home",
"icon": "home",
"pattern": r"^/$",
}, {
"verbose_name": _('Dashboard'),
"action": "minitickets:dashboard",
"icon": "dashboard",
"per... | apache-2.0 |
mebigfatguy/java-driver | driver-mapping/src/main/java/com/datastax/driver/mapping/Mapper.java | 47634 | /*
* Copyright (C) 2012-2015 DataStax 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 app... | apache-2.0 |
ArloL/liquibase | liquibase-core/src/main/java/liquibase/datatype/core/NumberType.java | 918 | package liquibase.datatype.core;
import liquibase.database.Database;
import liquibase.database.core.*;
import liquibase.datatype.DataTypeInfo;
import liquibase.datatype.DatabaseDataType;
import liquibase.datatype.LiquibaseDataType;
@DataTypeInfo(name="number", aliases = {"numeric", "java.sql.Types.NUMERIC"}, minParam... | apache-2.0 |
dev-sirius/smart-home-controller | smarthouse/apps.py | 95 | from django.apps import AppConfig
class SmarthouseConfig(AppConfig):
name = 'smarthouse'
| apache-2.0 |
FINRAOS/herd | herd-code/herd-tools/herd-spark-data-source/src/main/scala/org/apache/spark/sql/herd/HerdFileIndex.scala | 9237 | /*
* Copyright 2015 herd contributors
*
* 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 ... | apache-2.0 |
erwelch/jolokia | agent/core/src/main/java/org/jolokia/backend/LocalRequestDispatcher.java | 7510 | package org.jolokia.backend;
/*
* Copyright 2009-2013 Roland Huss
*
* 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 req... | apache-2.0 |
davidzchen/tensorflow | tensorflow/python/keras/engine/base_layer_test.py | 56362 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | apache-2.0 |
sacloud/libsacloud | v2/helper/service/server/service.go | 902 | // Copyright 2016-2022 The Libsacloud 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... | apache-2.0 |