text stringlengths 7 995k |
|---|
/**
* MIT License
*
* Copyright (c) 2017-2019 Vseslav Sekorin
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package com.perunlabs.jsolid;
import static com.perunlabs.jsolid.JSolid.cuboid;
import static org.testory.Testory.given;
import static org.testory.Testory.thenReturned;
import static org.testory.Testory.when;
import org.junit.Test;
import com.perunlabs.jsolid.d3.Cuboid;
import com.perunlabs.jsolid.d3.Solid;
public ... |
/* Copyright 2003, Carnegie Mellon, All Rights Reserved */
package edu.cmu.minorthird.classify.sequential;
import java.awt.BorderLayout;
import java.io.Serializable;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.border.TitledBo... |
/*
* Copyright 2021 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... |
/**
* 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.
*/
package com.microsoft.azure.management.network.v2019_07_01.implementation;
import retro... |
/*
* Copyright 2000-2013 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... |
package com.sailvan.easyexcel.test;
import static com.sailvan.easyexcel.test.util.DataUtil.*;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import com.sailvan.easyexcel.test.model.ReadModel;
import com.sailvan.easyexcel.test.model.Writ... |
public class Grid {
//0 = nothing
//1 = wall
//2 = player
//3 = THE ENEMY SPIDER
//4 = ammo
//5 = health
//6 = bullet
private int[][] grid;
private int[][] smell;
public Grid(int x, int px, int py, int pr, Rooms room) {
grid = new int[x][x];
updateGrid(pr,room);
grid[px][py] = 2;
smell = new int[x... |
package com.game.hitnmiss;
import org.andengine.engine.camera.Camera;
import org.andengine.entity.scene.CameraScene;
import org.andengine.entity.scene.background.SpriteBackground;
import org.andengine.entity.sprite.Sprite;
import org.andengine.entity.text.Text;
import org.andengine.opengl.texture.TextureManager;
impor... |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under
// the terms of the Eclipse Public License 2.0 which is available at
// https://www.eclipse.org/leg... |
/*
* Copyright 2002-2015 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.mindinformatics.services.connector.pubmed.dataaccess;
/**
* Common interface to facilitate generating UI for publications of different kinds
* @author Marco
*
*/
public interface PublicationI {
public String getId();
public String getAuthoritativeId();
public String getAuthorNamesString();
public S... |
/*
* Copyright 2013 Henner Zeller <h.zeller@acm.org>
*
* 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... |
import org.hyperledger.indy.sdk.pool.Pool;
import org.hyperledger.indy.sdk.did.Did;
import org.hyperledger.indy.sdk.did.DidJSONParameters;
import org.hyperledger.indy.sdk.did.DidResults.CreateAndStoreMyDidResult;
import org.hyperledger.indy.sdk.wallet.Wallet;
import org.json.JSONObject;
import utils.PoolUtils;
import ... |
public class Cachorro extends Animal {
public float peso;
public float altura;
public String cor;
public float getPeso() {
return this.peso;
}
public void setPeso(float peso) {
this.peso = peso;
}
public float getAltura() {
return this.altura;
}... |
/**
* Copyright 2016 JustWayward Team
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law... |
package com.wthfeng.learn.io.http;
import org.junit.Test;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
/**
* @author wangtonghe
* @date 2017/9/25 09:50
*/
public class HttpConnectionTest {
@Test
public void test() {
try ... |
/*
* Copyright (C) 2008 Temple University
* Copyright 2016 Temple University
*
* 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
*
* ... |
/*
* 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
* distributed u... |
/*
* Copyright (C) 2009 The Guava 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 agre... |
/*
* 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
* distributed u... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package it.vige.rubia.resttest.forummodule.test;
import static org.jboss.logging.Logger.getLogger;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.As... |
package com.icer.pattern.adapter;
public class FishingBoat {
public FishingBoat() {
}
void sail() {
System.out.println("靠帆前行");
}
} |
package icu.skitdev.melen.commands.mod;
import icu.skitdev.melen.Melen;
import icu.skitdev.melen.enumerations.Category;
import icu.skitdev.melen.objects.ICommand;
import icu.skitdev.melen.utils.useful.EmbedUtils;
import icu.skitdev.melen.utils.useful.RecurrentAction;
import net.dv8tion.jda.api.EmbedBuilder;
import net... |
package com.lllm.hotinfo.admin.service;
import com.lllm.hotinfo.domain.entity.Content;
public interface ContentService extends BaseService<Content> {
} |
package org.casinocoin.core;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Represents an "addr" message on the P2P network, which contains broadcast IP addresses of other peers. This is
* one of the ways peers can find... |
/*
Copyright 2011-2017 Frederic Langlet
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 ... |
package com.willkernel.www.daggerdemo.data;
import javax.inject.Inject;
/**
* Created by willkernel on 2018/3/12.
*/
public class Car {
Water water;
Oil oil;
//Error:(16, 12) 错误: Types may only contain one @Inject constructor.
// @Inject
// public Car() {
// }
// /**
// * Water 抽象类,@Inject... |
/*
* Copyright 2002-2016 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.emt.grpc.annotation;
import java.lang.annotation.*;
/**
* Created by emt on 26.08.2016.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface EnableGrpcServer {
} |
/*
* Copyright © Portable EHR inc, 2021
* https://portableehr.com/
*/
package com.portableehr.network.server.response.practitioner;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.data... |
/*
* Copyright 2015 Vincent Brison.
*
* 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 ... |
package todo.model.query;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.RequiredArgsConstructor;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;
@Value
@RequiredArgsConstructor(access = AccessLevel.PUBLIC)
@Builder
@Jacksonized
public class ListTodoListsQry {} |
package io.rong.example.group.ban.user;
import io.rong.RongCloud;
import io.rong.methods.group.Group;
import io.rong.models.Result;
import io.rong.models.group.GroupMember;
import io.rong.models.group.GroupModel;
import io.rong.models.response.ListGagGroupUserResult;
/**
*
* 群组成员全部禁言例子
* @author RongCloud
*
* @ve... |
package com.alibaba.ocr.demo;
import java.io.*;
import java.util.Base64;
public class Base64excel {
public static void convert2excel(String input, String output) {
final Base64.Decoder decoder = Base64.getDecoder();
String base64Code = input;
String targetPath = output;
OutputStr... |
/*
* Copyright (c) 2020. Vladimir Ulitin, Partners Healthcare and members of Forome Association
*
* Developed by Vladimir Ulitin and Michael Bouzinier
*
* 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 cop... |
/*
* BridJ - Dynamic and blazing-fast native interop for Java.
* http://bridj.googlecode.com/
*
* Copyright (c) 2010-2015, Olivier Chafik (http://ochafik.com/)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... |
public class Person {
String firstName;
String lastName;
int age;
char gender;
float height; // meters
float weight; // kilograms
} |
package co.fddittmar.j_aime.view.adapter;
import android.databinding.BindingAdapter;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import co.fddittmar.j_aime.R;
/**
* Binding adapter to load images into image views.
*/
public class CustomBindingAdapter {
@BindingAdapter({"imageUrl"})
... |
/*
* Copyright 2002-2017 Drew Noakes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package com.macro.mall.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
/**
* Order shipping parameters
* Created by macro on 2018/10/12.
*/
@Getter
@Setter
public class OmsOrderDeliveryParam {
@ApiModelProperty("Order ID")
private Long orderId;
@ApiModel... |
package com.oneandone.ejbcdiunit5.asynchmdb;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import javax.inject.Inject;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import com.oneandone.iocunit.analyzer.annotations.ExcludedClasse... |
package com.middle.stage.test.optimization.model.form;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
/**
* 接收参数
*
* @author zhaoyongqiang
* @date 2020/2/3
*/
@Data
@Slf4j
public class DinnerTypeModel {
/**
* 餐别主键id
*/
protected Integer dinnerTypeId;
/**
* 餐别名称
*/
prot... |
package com.ms.silverking.cloud.dht.meta;
import com.ms.silverking.cloud.meta.VersionedDefinition;
import com.ms.silverking.io.FileUtil;
import com.ms.silverking.text.FieldsRequirement;
import com.ms.silverking.text.ObjectDefParser2;
import java.io.File;
import java.io.IOException;
import java.util.Map;
public class... |
/*
* Copyright 2019 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 ... |
/*
* 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 ... |
/*
* 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 ... |
package pond.web.swagger;
import org.junit.Ignore;
import pond.common.S;
import pond.web.Pond;
import pond.web.restful.API;
import pond.web.restful.APIHandler;
import pond.web.restful.ParamDef;
import pond.web.restful.ResultDef;
@Ignore
public class SwaggerTest {
public static void swagger_integration() {
... |
/*
* Copyright 2019 The Eggroll 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 b... |
/*
* 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 ... |
package pl.poznan.put.roughset.alternative.ValueOnCriterion;
import pl.poznan.put.roughset.alternative.Relation;
import pl.poznan.put.roughset.criterion.CriterionType;
import pl.poznan.put.roughset.criterion.NumericalCriterion;
public class ValueOnNumericalCriterion extends ValueOnCriterion {
private NumericalCr... |
/**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... |
package com.ss.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* spu信息
*
* @author fangsheng
* @email 445317262@qq.com
* @d... |
/*
* Original author: Daniel Jaschob <djaschob .at. uw.edu>
*
* Copyright 2019 University of Washington - Seattle, WA
*
* 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
*
* ... |
/*
* Copyright (C) 2011 The Guava 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 ... |
package com.likewater.articleone.models;
import org.parceler.Parcel;
@Parcel
public class RepDetail {
private String mCongress;
private String mLastName;
private String mFirstName;
private String mTitle;
private String mState;
private String mDistrict;
private String mCurrentParty;
pri... |
/*
* Copyright (c) 2022 by MILOSZ GILGA <https://miloszgilga.pl>
*
* File name: UserMessagesServicesImplementation.java
* Last modified: 11/02/2022, 19:16
* Project name: digititles-imagine-backend
*
* Licensed under the MIT license; you may not use this file except in compliance with the License.
*
* Permissi... |
/*
* 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 ... |
/*
* 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 ... |
/*
* Copyright sablintolya@gmai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
// Copyright 2017 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 law... |
package org.lorislab.p6.process.events;
import io.quarkus.test.junit.NativeImageTest;
@NativeImageTest
public class StartProcessTestIT extends StartProcessTest {
} |
package org.springframework.samples.petclinic.repository;
import java.util.List;
import org.springframework.dao.DataAccessException;
import org.springframework.data.repository.CrudRepository;
import org.springframework.samples.petclinic.model.Cause;
public interface CauseRepository extends CrudRepository<Cause,Integ... |
/*
* Copyright 2011-2016 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 "li... |
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.platform.utils;
import com.google.common.collect.Maps;
import org.springframework.core.io.DefaultResourceLoader;
import java.io.File;
import java.io.IOException;
import java.util.Map;
/**
... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, 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:/... |
/*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for a... |
package io.falu.models.webhooks;
import io.falu.models.AbstractCreationRequest;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.experimental.SuperBuilder;
/**
* Information for creating a webhook endpoint.
*/
@NoArgsConstructor
@SuperBuilder
public class WebhookEndpointCreateRequest extends Ab... |
package com.eusecom.attendance.rxfirebase2.database;
import com.eusecom.attendance.rxfirebase2.auth.RxFirebaseAuth;
import com.eusecom.attendance.rxfirebase2.exception.FirebaseExpiredTokenException;
import com.eusecom.attendance.rxfirebase2.exception.FirebaseGeneralException;
import com.eusecom.attendance.rxfirebase2.... |
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE
package org.bytedeco.gsl;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.byt... |
package com.v7lin.android.env.webkit;
import android.annotation.SuppressLint;
import android.graphics.Color;
import android.os.Build;
import android.view.View;
import android.webkit.WebSettings;
import android.webkit.WebSettings.LayoutAlgorithm;
import android.webkit.WebSettings.RenderPriority;
import android.webkit.W... |
/**
* 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... |
/* $Id$
*******************************************************************************
* Copyright (c) 2009 Contributors - see below
* 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... |
// ============================================================================
//
// Copyright (C) 2006-2015 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package modelImpl;
import java.util.ArrayList;
import java.util.HashMap;
import dataTypes.TransactionEvents;
import dataTypesImpl.TransactionEventsImpl;
import model.Account;
import model.TransactionEvent;
abstract class AccountImpl implements Account{
private TransactionEvents myTEvents = new TransactionEventsIm... |
/**
* 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 ... |
package inter;
import symbols.*;
public class Else extends Stmt{
Expr expr;
Stmt stmt1, stmt2;
public Else(Expr x, Stmt s1, Stmt s2){
expr = x;
stmt1 = s1;
stmt2 = s2;
if(expr.type != Type.Bool) expr.error("boolean required in if");
}
public void gen(int b, int a){
int label1 = newlabel();
int label2 =... |
class Car{
int price;
void showPrice(){
// System.out.println("The Price is "+price);
System.out.println("The Price is "+this.price);
}
}
public class UseCar {
public static void main(String[] args){
Car obj = new Car();
Car obj1 = new Car();
obj.price=1000;
... |
/*
* 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 ... |
package com.android.sample;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android d... |
/*
* Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
*
* 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... |
/*
* Copyright 2018 Edmunds.com, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.life.equipmentlife.viewmodel;
import android.app.Application;
import android.arch.lifecycle.AndroidViewModel;
import android.arch.lifecycle.LiveData;
import android.support.annotation.NonNull;
import android.util.Log;
import com.life.equipmentlife.model.pojo.Equipment;
import com.life.equipmentlife.model.... |
package com.tduck.cloud.project.request;
import com.tduck.cloud.common.validator.group.AddGroup;
import com.tduck.cloud.common.validator.group.UpdateGroup;
import com.tduck.cloud.project.entity.enums.ProjectItemTypeEnum;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.util.List;
import ja... |
package com.ofdbox.core.xmlobj.customtags;
import lombok.Data;
import javax.validation.Valid;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
impo... |
package org.moe.xosrt.binding.test.foundation;
import static org.junit.Assert.*;
import ios.foundation.NSURL;
import org.junit.Test;
public class NSURLTests {
//Should be edited
@Test
public void simpleStaticCreationTest() {
NSURL testUrl = NSURL.URLWithString("some/url");
assertNotNull(... |
/*
* Copyright (c) 2019 Globo.com - ATeam
* All rights reserved.
*
* This source is subject to the Apache License, Version 2.0.
* Please see the LICENSE file for more information.
*
* Authors: See AUTHORS file
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the Lice... |
package dev.utils.common.validator;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import dev.utils.JCLogUtils;
/**
* detail: 居民身份证工具类
* @author AbrahamCaiJin
* @author Ttt ( 重写、规范注释、逻辑判断等 )
*/
... |
package com.wang.myapplication;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.scroll;
import android.animation.Animator;
import android.animation.ObjectAnimator;
import androi... |
/**
* MIT License
*
* Copyright (c) 2017-2019 Vseslav Sekorin
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... |
/*
* Copyright 2020 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 ... |
package beam.physsim.jdeqsim;
import beam.agentsim.events.PathTraversalEvent;
import beam.analysis.PathTraversalLib;
import beam.sim.common.GeoUtils;
import beam.utils.DebugLib;
import com.conveyal.r5.streets.EdgeStore;
import com.conveyal.r5.transit.TransportNetwork;
import org.matsim.api.core.v01.Coord;
import org.m... |
package org.jasig.cas.adaptors.x509.authentication.handler.support;
import org.jasig.cas.adaptors.x509.util.CertUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springfram... |
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.complex;
import java.util.List;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.example.dto.FluentPersonDto;
import or... |
// Copyright 2006, 2007, 2008 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 ... |
/*
* Copyright 2018 Schibsted ASA.
*
* 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... |
package com.cordova.plugins.sms;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.