code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package ru.stqa.pft.mantis.appmanager;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.remote.BrowserType;
import java.io.File;
import java.io.FileRe... | IvanOleynik/java_pft | mantis-tests/src/test/java/ru/stqa/pft/mantis/appmanager/ApplicationManager.java | Java | apache-2.0 | 1,992 |
package com.twu.biblioteca.Service;
import com.twu.biblioteca.Entity.Movie;
import java.util.ArrayList;
import java.util.List;
public class MovieService {
public static List<Movie> allMovies() {
List<Movie> movies = new ArrayList<Movie>();
Movie movie1 = new Movie("movie1", 2013, "director1", "1... | mumuyang1/twu-biblioteca-liyanzi | src/com/twu/biblioteca/Service/MovieService.java | Java | apache-2.0 | 1,777 |
/*
* Copyright 2011 The Netty Project
*
* The Netty Project 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/licenses/LICENSE-2.0
*
* Unless re... | jroper/netty | codec/src/main/java/io/netty/handler/codec/bytes/ByteArrayEncoder.java | Java | apache-2.0 | 2,625 |
/*
* Copyright 2013 Matt Sicker and 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 ... | jvz/dynunit | src/test/java/atg/tools/dynunit/nucleus/StartWithModulesTest.java | Java | apache-2.0 | 4,006 |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... | equella/Equella | Source/Plugins/Core/com.equella.core/src/com/tle/core/item/standard/operations/EditMetadataOperation.java | Java | apache-2.0 | 2,450 |
package com.planet_ink.coffee_mud.Items.Weapons;
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 co... | bozimmerman/CoffeeMud | com/planet_ink/coffee_mud/Items/Weapons/GenSiegeWeapon.java | Java | apache-2.0 | 6,903 |
/**
* Copyright (C) 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... | jstrachan/guicey | test/com/google/inject/EagerSingletonTest.java | Java | apache-2.0 | 1,904 |
package com.tjazi.profiles.service.core;
import com.tjazi.profiles.messages.GetProfileDetailsByUserNameEmailRequestMessage;
import com.tjazi.profiles.messages.GetProfileDetailsByUserNameEmailResponseMessage;
import com.tjazi.profiles.messages.GetProfileDetailsRequestMessage;
import com.tjazi.profiles.messages.GetProfi... | tjazi-com/profiles | core/src/main/java/com/tjazi/profiles/service/core/ProfilesInformationProvider.java | Java | apache-2.0 | 717 |
package jdepend.model.area;
import java.util.List;
import jdepend.model.AreaComponent;
import jdepend.model.result.AnalysisResult;
/**
* 组件区域创建器
*
* @author user
*
*/
public interface AreaCreator {
public String getName();
/**
* 可以确定属于Area的组件总数
*
* @param result
* @return
... | jdepend/cooper | cooper-model/cooper-model-core/src/main/java/jdepend/model/area/AreaCreator.java | Java | apache-2.0 | 602 |
/*
* 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 use... | cyChop/daily-tasks | src/main/java/org/keyboardplaying/dailytasks/core/events/ApplicationClosingListener.java | Java | apache-2.0 | 3,439 |
/*
* 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 ... | jcamachor/calcite | core/src/main/java/org/apache/calcite/sql/dialect/MssqlSqlDialect.java | Java | apache-2.0 | 10,248 |
/*
* Copyright 2018 Aleksander Jagiełł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 ag... | ShootGame/Arcade2 | src/main/java/pl/themolka/arcade/match/MatchEvent.java | Java | apache-2.0 | 999 |
package com.chiclaim.android.retrofit_sample.function;
import com.chiclaim.android.retrofit_sample.bean.ResponseModel;
import com.chiclaim.android.retrofit_sample.helper.ExceptionHelper;
import io.reactivex.Observable;
import io.reactivex.ObservableSource;
import io.reactivex.functions.Function;
public class ErrorFu... | chiclaim/android-sample | android-lib-retrofit/retrofit-sample/app/src/main/java/com/chiclaim/android/retrofit_sample/function/ErrorFunction.java | Java | apache-2.0 | 574 |
package generated.fliesenui.dto;
public class TextDTO {
private String text;
public String getText(){
return text;
}
public void setText(String text){
this.text = text;
}
}
| pheyse/fonotes | JavaProject/gen_src/generated/fliesenui/dto/TextDTO.java | Java | apache-2.0 | 213 |
package com.yeliang.photogalleryactivity.policy;
import com.yeliang.photogalleryactivity.request.BitmapRequest;
/**
* 逆序加载策略,即从最后加入队列的请求进行加载
*/
public class ReversePolicy implements LoadPolicy
{
@Override
public int compare(BitmapRequest request1, BitmapRequest request2)
{
return request2.serialNum - request1... | yexiaoguai/ImageLoaderv1 | src/com/yeliang/photogalleryactivity/policy/ReversePolicy.java | Java | apache-2.0 | 380 |
package com.troy.xifan.activity;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.Toolbar;
import android.text.Editable;
import android.text.TextWatcher;
import android... | betroy/xifan | app/src/main/java/com/troy/xifan/activity/SearchActivity.java | Java | apache-2.0 | 6,868 |
/*
* Copyright 2017 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 app... | wmedvede/kie-wb-common | kie-wb-common-dmn/kie-wb-common-dmn-api/src/main/java/org/kie/workbench/common/dmn/api/property/dmn/Question.java | Java | apache-2.0 | 1,742 |
/*
* Copyright (C) 2013 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... | ZhenisMadiyar/ProToi | ProToi/src/main/java/biz/franch/protoi2/cache/logger/LogView.java | Java | apache-2.0 | 5,128 |
package com.github.ckwen.je.spring.boot.ots.config; | ckwen/je | je-spring-boot/je-spring-boot-ots/je-spring-boot-ots-config/src/main/java/com/github/ckwen/je/spring/boot/ots/config/package-info.java | Java | apache-2.0 | 51 |
package br.edu.fema.sacheti.model;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
@SuppressWarnings("serial")
@Entity
@SequenceGenerator(name="seq... | jpsacheti/limasoftware-java-suporte | src/main/java/br/edu/fema/sacheti/model/Usuario.java | Java | apache-2.0 | 1,114 |
/*
* 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... | emag/codereading-undertow | servlet/src/test/java/io/undertow/servlet/test/defaultservlet/DefaultServletTestCase.java | Java | apache-2.0 | 5,440 |
package craptor.swing.editor;
import javax.swing.text.*;
/**
* Description: a document with SQL scipt content
* @author Jean Lazarou
* @version 1.0
*/
public class SQLEditorKit extends DefaultEditorKit
{
SQLContext preferences;
public SQLEditorKit()
{
}
public SQLContext getStylePreferences... | azeemmd/Craptor | src/craptor/swing/editor/SQLEditorKit.java | Java | apache-2.0 | 1,434 |
/*
* ICanShoot.java
*/
package iut.info1.spaceInvadersRebirth.gameObjects.abilities;
import iut.info1.spaceInvadersRebirth.gameObjects.Shot;
import java.util.List;
/**
* Définit si un GameObject peut tirer des projectiles.
* @author
* @version 1.0
*/
public interface ICanShoot {
/** Fait tirer un projecti... | MrBin99/spaceInvadersRebirth | src/iut/info1/spaceInvadersRebirth/gameObjects/abilities/ICanShoot.java | Java | apache-2.0 | 534 |
/*
* $Id$
*
* 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
* "Lice... | Ile2/struts2-showcase-demo | src/plugins/convention/src/test/java/org/apache/struts2/convention/actions/result/ActionLevelResultsNamesAction.java | Java | apache-2.0 | 1,608 |
/**
* SIX OVAL - https://nakamura5akihito.github.io/
* Copyright (C) 2010 Akihito Nakamura
*
* 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/LICE... | nakamura5akihito/six-oval | src/main/java/io/opensec/six/oval/model/windows/RegistryTypeEnumeration.java | Java | apache-2.0 | 2,189 |
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInspection.ui;
import com.intellij.ReviseWhenPortedToJDK;
import com.intellij.analysis.AnalysisScope;
import com.intellij.analysis.AnalysisUIOptions;
im... | da1z/intellij-community | platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java | Java | apache-2.0 | 39,783 |
package com.google.common.plus;
import com.google.common.collect.Sets;
import org.junit.Test;
import java.util.List;
import java.util.Set;
/**
* @author francois wauquier
*/
public class SetPlusTest {
@Test
public void testGetRandom() {
Set<Integer> set = Sets.newHashSet(1,2,3,4);
for (int... | wokier/guava-plus | src/test/java/com/google/common/plus/SetPlusTest.java | Java | apache-2.0 | 456 |
/*
* Copyright 2017-2022 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... | aws/aws-sdk-java | aws-java-sdk-applicationinsights/src/main/java/com/amazonaws/services/applicationinsights/model/ListComponentsResult.java | Java | apache-2.0 | 6,901 |
package org.woehlke.btw17.kandidaten.oodm.model;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.woehlke.btw17.kandidaten.oodm.model.listener.Btw17WahlperiodeListener;
import org.woehlke.btw17.kandidaten.oodm.model.parts.DomainObject;
import javax.pers... | phasenraum2010/btw17kandidaten | src/main/java/org/woehlke/btw17/kandidaten/oodm/model/Btw17Wahlperiode.java | Java | apache-2.0 | 8,028 |
package mn.devfest.sessions;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.sup... | GDGConferenceApp/Android | app/src/main/java/mn/devfest/sessions/SessionsFragment.java | Java | apache-2.0 | 9,777 |
package us.monoid.psql.async.converter;
import static org.junit.Assert.*;
import org.junit.Test;
import org.vertx.java.core.buffer.Buffer;
public class StringConverterTest {
@Test
public void test() {
StringConverter c = new StringConverter();
Buffer b = createBufferForString("bubu");
int pos = 0;
int ... | monoid-us/vertx-postgresql | src/test/java/us/monoid/psql/async/converter/StringConverterTest.java | Java | apache-2.0 | 2,169 |
/*
* Copyright 2014 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.o... | vert-x3/vertx-examples | metrics-examples/src/main/java/io/vertx/example/metrics/dashboard/Dashboard.java | Java | apache-2.0 | 2,436 |
package example.com.powerinterview.network;
import com.loopj.android.http.AsyncHttpResponseHandler;
import com.loopj.android.http.JsonHttpResponseHandler;
import com.loopj.android.http.RequestParams;
import java.io.File;
import java.io.FileNotFoundException;
import example.com.powerinterview.exceptions.EncryptionExc... | palatin/power-interview-android | app/src/main/java/example/com/powerinterview/network/AuthClient.java | Java | apache-2.0 | 1,782 |
package com.example.EssentialClasses;
/**
* Created by XPS on 11/4/2016.
*/
public class Photo {
}
| hristobakalov/BeFriendy | app/src/main/java/com/example/EssentialClasses/Photo.java | Java | apache-2.0 | 103 |
package com.adam.model;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
/**
* 图文消息
*
* @author adam
*/
public class Article {
@XStreamOmitField
private int id;// 数据库存储的id
// 图文消息名称
@XStreamAlias("Title")
private String title;
// 图文消息... | bddiudiu/diuwechat | src/com/adam/model/Article.java | Java | apache-2.0 | 1,793 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/common/user_lists.proto
package com.google.ads.googleads.v10.common;
public interface UserListActionInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.UserListActionInfo... | googleads/google-ads-java | google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/common/UserListActionInfoOrBuilder.java | Java | apache-2.0 | 1,844 |
/*
* 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 | platform/lang-impl/src/com/intellij/formatting/FormattingProgressTask.java | Java | apache-2.0 | 7,342 |
/*
* Copyright 2012-2013 inBloom, 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 appli... | inbloom/secure-data-service | tools/data-tools/src/org/slc/sli/test/generators/AttendanceEventGenerator.java | Java | apache-2.0 | 7,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 may ... | spepping/fop-cs | src/java/org/apache/fop/afp/goca/GraphicsSetCurrentPosition.java | Java | apache-2.0 | 1,270 |
package org.act.tstream.cluster;
import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.act.tstream.daemon.nimbus.StatusType;
/**
* author: lixin/longda
*
* Dedicate Topology status
*
* Topology statu... | greeenSY/Tstream | tstream-server/src/main/java/org/act/tstream/cluster/StormStatus.java | Java | apache-2.0 | 2,535 |
package me.donniesky.dailypaper.common.base;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.NavUtils;
import android.support.v7.widget.Toolbar;
imp... | donniesky/DailyPaper | app/src/main/java/me/donniesky/dailypaper/common/base/BaseActivity.java | Java | apache-2.0 | 4,023 |
package aQute.bnd.build;
import java.io.File;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.SortedMap;
import java.util.SortedSet;
import java.util.TreeMap;
import java.util.regex.Matcher;
import aQute.bnd.osgi.Builde... | mcculls/bnd | biz.aQute.bndlib/src/aQute/bnd/build/WorkspaceRepository.java | Java | apache-2.0 | 5,011 |
/*
* 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 r... | sigmod/asterixdb-analytics | pregelix/pregelix-dataflow/src/main/java/edu/uci/ics/pregelix/dataflow/MaterializingReadOperatorDescriptor.java | Java | apache-2.0 | 4,220 |
package net.skycrown.cuteassistant.network.ApiService;
/**
* Created by skycrown on 2018/6/10.
*/
public interface MusicApiService {
}
| skycrown/CuteAssistant | app/src/main/java/net/skycrown/cuteassistant/network/ApiService/MusicApiService.java | Java | apache-2.0 | 139 |
package yalantis.com.sidemenu.interfaces;
import android.graphics.Bitmap;
/**
* Created by Konstantin on 12.01.2015.
*/
public interface ScreenShotable {
void takeScreenShot();
Bitmap getBitmap();
}
| zzyakenzz/3000-words | library/src/main/java/yalantis/com/sidemenu/interfaces/ScreenShotable.java | Java | apache-2.0 | 212 |
/*
* 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... | sabi0/intellij-community | plugins/git4idea/src/git4idea/rollback/GitRollbackEnvironment.java | Java | apache-2.0 | 8,968 |
// Copyright 2015 The Bazel 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 appl... | ulfjack/bazel | src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java | Java | apache-2.0 | 51,681 |
// Copyright 2005 The Apache Software Foundation
//
// 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 l... | apache/tapestry4 | portlet/src/test/org/apache/tapestry/portlet/TestPortletHomeService.java | Java | apache-2.0 | 4,337 |
package com.sportsoutclass.outclassdl;
/**
* Created by Sachinda on 1/22/2016.
*/
public class AboutPageRecycler {
String title;
String subTitle;
}
| sachindayl/OutclassDL | app/src/main/java/Base/com/sportsoutclass/outclassdl/AboutPageRecycler.java | Java | apache-2.0 | 161 |
/****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | XClouded/t4f-core | java/io/src/main/java/io/aos/endpoint/url/handler/daytime/DayTimeUrlConnection.java | Java | apache-2.0 | 2,769 |
package org.wikipedia.feed.model;
import android.support.annotation.NonNull;
import com.google.gson.annotations.SerializedName;
import org.wikipedia.dataclient.restbase.page.RbPageSummary;
import org.wikipedia.json.annotations.Required;
/**
* An RbPageSummary plus a "normalizedtitle" field, injected by RESTBase f... | SAGROUP2/apps-android-wikipedia | app/src/main/java/org/wikipedia/feed/model/FeedPageSummary.java | Java | apache-2.0 | 1,060 |
/*
* Copyright 2012 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 i... | MystPhysX/solcoinj | core/src/main/java/com/google/bitcoin/core/AbstractBlockChain.java | Java | apache-2.0 | 81,231 |
package org.securegraph.elasticsearch;
import org.elasticsearch.action.search.SearchRequestBuilder;
import org.elasticsearch.client.transport.TransportClient;
import org.elasticsearch.index.query.*;
import org.securegraph.Authorizations;
import org.securegraph.Graph;
import org.securegraph.PropertyDefinition;
import o... | lumifyio/securegraph | securegraph-elasticsearch-parentchild/src/main/java/org/securegraph/elasticsearch/ElasticSearchParentChildGraphQuery.java | Java | apache-2.0 | 4,013 |
/*
* Copyright 2017-2022 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... | aws/aws-sdk-java | aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/DescribeMetricSetResult.java | Java | apache-2.0 | 26,126 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/services/ad_service.proto
package com.google.ads.googleads.v9.services;
/**
* <pre>
* The result for the ad mutate.
* </pre>
*
* Protobuf type {@code google.ads.googleads.v9.services.MutateAdResult}
*/
public final cl... | googleads/google-ads-java | google-ads-stubs-v9/src/main/java/com/google/ads/googleads/v9/services/MutateAdResult.java | Java | apache-2.0 | 28,275 |
/*******************************************************************************
* # Copyright 2015 InfinitiesSoft Solutions 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
... | infinitiessoft/keystone4j | keystone4j-entity/src/main/java/com/infinities/keystone4j/model/assignment/GroupDomainGrant.java | Java | apache-2.0 | 2,826 |
/*
* Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
*
* 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.... | freeVM/freeVM | enhanced/archive/classlib/modules/rmi2/src/ar/org/fitc/rmi/transport/jrmp/MessageResponse.java | Java | apache-2.0 | 2,113 |
/**
* Copyright 2010-2018 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 appl... | ralscha/extdirectspring | src/test/java/ch/ralscha/extdirectspring/util/SpringManagedSubBean.java | Java | apache-2.0 | 784 |
package org.aksw.sdw.ingestion;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* This class can be used to keep trac... | AKSW/SmartDataWebKG | Ingestion/src/org/aksw/sdw/ingestion/ConversionStats.java | Java | apache-2.0 | 4,708 |
package org.wrl.servlet3.upgrade.client;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import ... | wangruiling/samples | servlet3/src/main/java/org/wrl/servlet3/upgrade/client/TimeClientServlet.java | Java | apache-2.0 | 6,231 |
package cn.bishiti.base.patterns.Singleton;
/**
*
* @ClassName: Singleton
* @Description: 单例模式
* @author yangyw(yawen.yang@4wtrip.com)
* @date 2015年12月30日 下午7:02:00
*
*/
public class Singleton {
private static Singleton instance=null;
private Singleton(){
}
@SuppressWarnings("unused")
private stat... | LittleLazyCat/TXEYXXK | 2017workspace/TXLHT/src/main/java/cn/bishiti/base/patterns/Singleton/Singleton.java | Java | apache-2.0 | 633 |
package design_pattern.decorator;
/**
* Created by songheng on 9/8/16.
*/
public interface Encryptor {
void encrypt();
}
| songshu198907/LeetPractise | src/main/java/design_pattern/decorator/Encryptor.java | Java | apache-2.0 | 129 |
package com.example.rxusagi.myapplication;
import android.app.Dialog;
import android.app.WallpaperInfo;
import android.app.WallpaperManager;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.media.Ringtone;
import android.media.RingtoneManager;
import android.os.Bundle;
import an... | CE-KMITL-OOAD-2015/Move-Alarm_ORCA | MoveAlarmAnd/Volleyball nuedit/MyApplication5/app/src/main/java/com/example/rxusagi/myapplication/Accept_Reject.java | Java | apache-2.0 | 3,807 |
/**
* Copyright 2014 Torben Werner, Bridget Ryan
*
* 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... | imirp/imirp-app | imirp_core/src/main/java/org/imirp/imirp/akka/messages/mutgen/MutateSequenceMsg.java | Java | apache-2.0 | 1,044 |
package apple.uikit;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;
impo... | Sellegit/j2objc | runtime/src/main/java/apple/uikit/NSMutableParagraphStyle.java | Java | apache-2.0 | 4,211 |
/**
* Copyright 2015-2017 the original author or Howadd 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 requir... | howadd/commons-core | src/main/java/com/howadd/commons/core/CollectionUtils.java | Java | apache-2.0 | 19,702 |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2014.02.04... | milg0/onvif-java-lib | src/org/onvif/ver10/schema/SupportedAnalyticsModules.java | Java | apache-2.0 | 5,275 |
/**
*
*/
package org.cubieline.lplayer.media;
/**
*
* @author LeiGuoting
*/
public interface ITracksClient<Track> {
public boolean addTracks(Track[] tracks, int position, int from, long secondId);
public boolean addTrack(Track track, int from, long secondId);
public void addTracksAndPlay(Track[] tracks,... | WisapeAgency/WisapeAndroid | lplayer/src/main/java/org/cubieline/lplayer/media/ITracksClient.java | Java | apache-2.0 | 432 |
/**
*
* 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")... | angelowolf/SEW | SistemaElecciones/lib/commons-dbcp/src/test/java/org/apache/commons/dbcp2/managed/TestBasicManagedDataSource.java | Java | apache-2.0 | 3,161 |
package edward.godweather.fragment;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.Log;
import android.view.LayoutInf... | EdwardYSS/godweather | app/src/main/java/edward/godweather/fragment/ChooseAreaFragment.java | Java | apache-2.0 | 9,188 |
package shiver.me.timbers.aws.lambda.soap.stub;
class XsltTemplateException extends RuntimeException {
XsltTemplateException(String message, Throwable throwable) {
super(message, throwable);
}
}
| shiver-me-timbers/smt-aws-lambda-parent | smt-aws-lambda-soap-stub-parent/smt-aws-lambda-soap-stub/src/main/java/shiver/me/timbers/aws/lambda/soap/stub/XsltTemplateException.java | Java | apache-2.0 | 212 |
package com.pedromassango.programmers.data.remote;
import android.support.annotation.NonNull;
import com.google.android.gms.tasks.OnFailureListener;
import com.google.android.gms.tasks.OnSuccessListener;
import com.pedromassango.programmers.AppRules;
import com.pedromassango.programmers.data.MessageDataSource;
import... | pedromassango/Programmers | app/src/main/java/com/pedromassango/programmers/data/remote/MessageRemoteDataSource.java | Java | apache-2.0 | 2,313 |
package org.gradle.test.performance.mediummonolithicjavaproject.p344;
import org.gradle.test.performance.mediummonolithicjavaproject.p343.Production6871;
import org.gradle.test.performance.mediummonolithicjavaproject.p343.Production6875;
import org.gradle.test.performance.mediummonolithicjavaproject.p343.Production687... | oehme/analysing-gradle-performance | my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p344/Test6880.java | Java | apache-2.0 | 2,427 |
package com.huawei.esdk.fusionmanager.local.impl.resources.common;
import java.util.ArrayList;
import java.util.List;
import org.junit.BeforeClass;
import org.junit.Test;
import com.google.gson.Gson;
import com.huawei.esdk.fusionmanager.local.ServiceFactory;
import com.huawei.esdk.fusionmanager.local.model.ClientPro... | eSDK/esdk_cloud_fm_r3_native_java | source/FM/V1R5/esdk_fm_neadp_1.5_native_java/src/test/java/com/huawei/esdk/fusionmanager/local/impl/resources/common/VdcAddListResourceTest.java | Java | apache-2.0 | 3,227 |
package com.cardpay.pccredit.report.service;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.St... | JohnCny/TY_NEW | src/java/com/cardpay/pccredit/report/service/InputHmdService.java | Java | apache-2.0 | 8,590 |
package com.haulmont.cuba.web.gui.components;
import com.haulmont.cuba.core.global.MetadataTools;
import com.haulmont.cuba.gui.components.CaptionMode;
import com.haulmont.cuba.gui.components.RadioButtonGroup;
import com.haulmont.cuba.gui.components.data.meta.EntityValueSource;
import com.haulmont.cuba.gui.components.d... | dimone-kun/cuba | modules/web/src/com/haulmont/cuba/web/gui/components/WebRadioButtonGroup.java | Java | apache-2.0 | 4,940 |
package de.brockhaus.data.timeseries.util;
/**
* Some handy CQL statements
*
* Project: cassandra.timeseries
*
* Copyright (c) by Brockhaus Group
* www.brockhaus-gruppe.de
* @author mbohnen, Aug 16, 2015
*
*/
public class CQLHelper {
public static final String INSERT= "INSERT INTO sensor_data(SENSOR_ID, D... | brockhaus-gruppe/cassandra-timeseries | src/main/java/de/brockhaus/data/timeseries/util/CQLHelper.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... | chicagozer/rheosoft | components/camel-stringtemplate/src/main/java/org/apache/camel/component/stringtemplate/StringTemplateComponent.java | Java | apache-2.0 | 1,267 |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | o3project/openflowj-otn | src/main/java/org/projectfloodlight/openflow/protocol/bsntlv/OFBsnTlvExternalMac.java | Java | apache-2.0 | 1,758 |
/**
*
* 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/openejb | itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/entity/cmp/UnknownCmpObject.java | Java | apache-2.0 | 2,273 |
/*
* Copyright 2021 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... | marques-work/gocd | server/src/test-fast/java/com/thoughtworks/go/server/service/RevokeStaleAccessTokenServiceTest.java | Java | apache-2.0 | 9,172 |
/*
* Copyright 2005, Sixth and Red River Software
*
* 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... | consulo/consulo-metrics | src/com/sixrr/metrics/ui/FormatUtils.java | Java | apache-2.0 | 2,054 |
/*
* Copyright 2017-2022 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... | aws/aws-sdk-java | aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/InterfaceRequest.java | Java | apache-2.0 | 3,856 |
/*
* Copyright 2017-2022 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... | aws/aws-sdk-java | aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/SAMLOptionsInput.java | Java | apache-2.0 | 14,840 |
/*
* Copyright 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 "license" file ... | aws/aws-sdk-java-v2 | test/region-testing/src/test/java/software/amazon/awssdk/regiontesting/EndpointVariantsTest.java | Java | apache-2.0 | 12,518 |
/****************************************************************************
Copyright 2012, Colorado School of Mines 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.apac... | askogvold/jtk | src/test/java/edu/mines/jtk/ogl/JoglTest.java | Java | apache-2.0 | 3,217 |
/**
* Opensec OVAL - https://nakamura5akihito.github.io/
* Copyright (C) 2015 Akihito Nakamura
*
* 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/... | nakamura5akihito/opensec-oval | src/main/java/io/opensec/oval/model/definitions/EntityObjectIntType.java | Java | apache-2.0 | 3,377 |
package eu.lestard.assertj.javafx.internal;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.value.ObservableBooleanValue;
import org.junit.Test;
import static org.assertj.core.api.Assertions.*;
public class ObservableBooleanValueAssertions_isFalse_Test {
@Test
public void should_pass... | lestard/assertj-javafx | src/test/java/eu/lestard/assertj/javafx/internal/ObservableBooleanValueAssertions_isFalse_Test.java | Java | apache-2.0 | 1,059 |
/*******************************************************************************
* Copyright 2012 Yuriy Lagodiuk
*
* 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.apac... | lagodiuk/genetic-algorithm | src/test/java/com/lagodiuk/ga/ArrayChromosomeTest.java | Java | apache-2.0 | 5,852 |
/*
* Copyright 2014-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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-cognitoidentity/src/main/java/com/amazonaws/services/cognitoidentity/AmazonCognitoIdentityAsyncClient.java | Java | apache-2.0 | 42,169 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2017 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | zapbot/zaproxy | test/org/zaproxy/zap/extension/script/ScriptVarsUnitTest.java | Java | apache-2.0 | 14,662 |
package jvm.ncatz.netbour.pck_interface.interactor;
import java.util.List;
import jvm.ncatz.netbour.pck_pojo.PoEntry;
public interface InteractorEntry {
void addEntry(PoEntry entry, String code);
void attachFirebase();
void deleteEntry(PoEntry item);
void dettachFirebase();
void editEntry(Po... | JMedinilla/Netbour | app/src/main/java/jvm/ncatz/netbour/pck_interface/interactor/InteractorEntry.java | Java | apache-2.0 | 614 |
package com.cocosw.accessory.utils;
import android.content.Context;
import android.net.wifi.WifiManager;
import android.os.Build;
import android.provider.Settings;
import android.telephony.TelephonyManager;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFi... | soarcn/COCO-Accessory | utils/src/main/java/com/cocosw/accessory/utils/UID.java | Java | apache-2.0 | 6,584 |
/*
* Copyright 2012-2013 inBloom, 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 appli... | inbloom/secure-data-service | sli/simple-idp/src/main/java/org/slc/sli/sandbox/idp/controller/Login.java | Java | apache-2.0 | 20,214 |
package org.bpm.spring.cfg.initialize;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import java.util.HashMap;
import java.u... | tryndamere/bpm-adapter | bpm-adapter-spring/src/main/java/org/bpm/spring/cfg/initialize/MybatisInitalize.java | Java | apache-2.0 | 1,761 |
/*
* 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 ... | radicalbit/ambari | ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/FixCapacitySchedulerOrderingPolicyTest.java | Java | apache-2.0 | 5,150 |
/*
* 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 appli... | Shashikanth-Huawei/bmp | apps/bmp/protocol/src/main/java/org/onosproject/bmp/bmpio/protocol/ver3/BmpFactoryVer3.java | Java | apache-2.0 | 2,737 |
/*
* 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 ... | Tibor17/javaee-samples | frameworks/junit-mock-injection/src/test/java/javaee/samples/frameworks/injection/MethodRegexTest.java | Java | apache-2.0 | 1,196 |
/*
* Copyright 2016-present Facebook, 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... | illicitonion/buck | test/com/facebook/buck/doctor/DoctorReportHelperTest.java | Java | apache-2.0 | 4,040 |
/**
*
Package: MAG - VistA Imaging
WARNING: Per VHA Directive 2004-038, this routine should not be modified.
Date Created: Jun 13, 2012
Site Name: Washington OI Field Office, Silver Spring, MD
Developer: VHAISWWERFEJ
Description:
;; +------------------------------------------------------------... | VHAINNOVATIONS/Telepathology | Source/Java/PathologyWebApp/main/src/java/gov/va/med/imaging/pathology/rest/types/PathologyAcquisitionSiteType.java | Java | apache-2.0 | 2,506 |