text stringlengths 7 995k |
|---|
package io.github.annson24.sxtools;
import android.app.Activity;
import android.content.Intent;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbManager;
import android.os.Bundle;
// Ideally, this would be a Service, but Services can't handle USB Intents :(
public class USBHandlerActivity extends... |
/*
* This file is generated by jOOQ.
*/
package generated.rx.async.regular.tables.records;
import generated.rx.async.regular.tables.Somethingwithoutjson;
import generated.rx.async.regular.tables.interfaces.ISomethingwithoutjson;
import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo;
import org.jooq.Fi... |
package com.sekgua.gulimall.order.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;
/**
* 订单项信息
*
* @author sekgua
* @email 15671600255@163.com
* ... |
package ro.msg.learning.shop.security;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import ro.msg.learning.shop.domain.Customer;
import java.util.Collection;
import java.util.Collections;
public class CustomerDetails implements UserDetai... |
/*
* 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 ... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2018 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
/*
* 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 Netuno.org under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The Netuno.org licenses this file to You under the Apache License, Version
* 2.0 (the "License"); you may not use this fil... |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2005, 2006, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "Li... |
package com.seanthomascarroll.jmediator.sample.dropwizard;
import com.seanthomascarroll.jmediator.jersey.JmediatorFeature;
import io.dropwizard.Application;
import io.dropwizard.setup.Environment;
import org.glassfish.jersey.internal.inject.AbstractBinder;
//import org.glassfish.hk2.utilities.binding.AbstractBinder;
... |
package com.qq.wow.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qq.wow.domain.AdminLoginLog;
/**
* <p>
* 管理员用户登录日志表 服务类
* </p>
*
* @author QQ
* @since 2022-04-05
*/
public interface IAdminLoginLogService extends IService<AdminLoginLog> {
/**
* 保存登录日志
*
* @... |
package com.gzsll.hupu.ui.post;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.EditText;
impo... |
package eu.cendari.dip.tikaextensions.tika.json;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Collections;
import java.util.Set;
import org.apache.tika.exception.TikaException;
import org.apache.tika.io.TaggedInputStream;
import org.apache.tika.metadata.Me... |
package com.gigaspaces.internal.serialization.primitives;
import com.gigaspaces.internal.serialization.IClassSerializer;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
@com.gigaspaces.api.InternalApi
public class BooleanPrimitiveClassSerializer implements IClassSerializer<Boolea... |
/*
* Copyright 2014-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... |
package shortbread;
import com.google.auto.service.AutoService;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.Processor;
import javax.annotation.processing.RoundEnvironment;
import javax.annotation.pro... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* 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... |
/*
* Copyright (c) 2017, Kronos <https://github.com/KronosDesign>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notic... |
/*
* MIT License
*
* Copyright (c) 2022 Wasiq Bhamla
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... |
package com.openxc.sinks;
import org.junit.runner.RunWith;
import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import org.robolectric.annotation.Config;
import org.robolectric.RobolectricTestRunner;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.StringWriter;
... |
/**
* Copyright 2019 The JoyQueue 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... |
/**
* 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... |
package com.atguigu.gmall.pms;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class GmallPmsApplicationTests {
@Test
void contextLoads() {
}
} |
package py.lpz.nelson.pd.visitor;
public interface Visitor {
void visitElementA(ElementA e);
void visitElementB(ElementB e);
} |
package org.apache.helix.integration.rebalancer.DelayedAutoRebalancer;
/*
* 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
... |
package com.khelacademy.www.utils;
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
import java.text.DecimalFormat;
public class EnglishNumberToWords {
public static int nextPower... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE566_Authorization_Bypass_Through_SQL_Primary__Servlet_15.java
Label Definition File: CWE566_Authorization_Bypass_Through_SQL_Primary__Servlet.label.xml
Template File: sources-sink-15.tmpl.java
*/
/*
* @description
* CWE: 566 Authorization Bypass through SQL primary
* Bad... |
/*
* 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 ... |
/*
* IntPTI: integer error fixing by proper-type inference
* Copyright (c) 2017.
*
* Open-source component:
*
* CPAchecker
* Copyright (C) 2007-2014 Dirk Beyer
*
* Guava: Google Core Libraries for Java
* Copyright (C) 2010-2006 Google
*
*
*/
package org.sosy_lab.cpachecker.cpa.apron;
import org.sosy_lab... |
/*
* Zeebe Workflow Engine
* Copyright © 2017 camunda services GmbH (info@camunda.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... |
/*******************************************************************************
* Copyright 2016 Jalian Systems Pvt. Ltd.
*
* 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:... |
package com.xt.excelviewlib.dialog;
import android.content.Context;
import android.graphics.drawable.ColorDrawable;
import android.view.View;
import android.view.ViewGroup;
import android.widget.PopupWindow;
import android.widget.TextView;
import com.xt.excelviewlib.R;
import com.xt.excelviewlib.util.StringUtil;
/*... |
/*Stream class is from the Collection package*/
package com.javaconcepts.streamsAndFilters;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Stream;
public class StreamFilter {
public static void main(String[] args) {
// Count the number of names starting with the alphabet A
List<Strin... |
/*
* The MIT License
* Copyright (c) 2012 Microsoft Corporation
*
* 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 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package edu.harvard.iq.dataverse.api;
import com.jayway.restassured.RestAssured;
import com.jayway.restassured.path.json.JsonPath;
import com.jayway.restassured.response.Response;
import static edu.harvard.iq.dataverse.api.UtilIT.getRandomString;
import edu.harvard.iq.dataverse.authorization.providers.builtin.BuiltinA... |
/**
* Copyright (C) 2009-2012 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.docs.remoting;
import akka.actor.ActorRef;
import akka.actor.UntypedActor;
public class RemoteActorExample extends UntypedActor {
//#localNodeActor
ActorRef a1 = getContext().actorFor("/serviceA/retrieval");
//#localNo... |
/*
* Copyright (C) 2019 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.loader.csv;
import static com.opengamma.strata.collect.Guavate.toImmutableList;
import static com.opengamma.strata.loader.csv.CsvLoaderUtils.CONTRACT_SIZ... |
package uk.gov.ida;
import groovy.util.BuilderSupport;
import groovy.util.Node;
import java.util.ArrayList;
import java.util.Map;
public class NodeBuilder extends BuilderSupport {
public static NodeBuilder newInstance() {
return new NodeBuilder();
}
protected void setParent(Object parent, Objec... |
package com.gmt.myschool.dao;
public class SubjectsDao {
} |
/*******************************************************************************
* Copyright (c) 2015 Low Latency Trading Limited : Author Richard Rose
* 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 L... |
package controllers;
public class IDF {
//private static final double s = 1;
private static final double N = 100000;
private static final double partialHarmonicSum = 12.0901;
public static double computeIDF(String token) {
return Math.log(N / computeDF(token));
}
// deterministic + zipf
private static do... |
package com.getbase.android.db.provider;
import static com.google.common.truth.Truth.assertThat;
import static org.fest.assertions.api.ANDROID.assertThat;
import static org.fest.assertions.api.android.content.ContentValuesEntry.entry;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.isNotNull... |
// This is a generated file. Not intended for manual editing.
package edu.clemson.resolve.jetbrains.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
import com.intellij.psi.ResolveState;
public interface ResExp extends ResTypeOwner {
@Nullable
ResType getResType... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.PromoteDetailChannelModel;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: koubei.advert.data.promotedetail.channel.batch... |
package org.demis27.cbcm.comicbook;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
public interface ComicBookRepository {
Flux<ComicBook> list();
Mono<Boolean> save(ComicBook comicBook);
Mono<Boolean> update(ComicBook comicBook);
Mono<ComicBook> find(String id);
Mono<B... |
package com.platformlib.process.local;
import com.platformlib.process.api.ProcessInstance;
import com.platformlib.process.builder.ProcessBuilder;
import com.platformlib.process.factory.ProcessBuilders;
import com.platformlib.process.local.specification.LocalProcessSpec;
import org.junit.jupiter.params.ParameterizedTes... |
/*
* #%L
* wcm.io
* %%
* Copyright (C) 2018 wcm.io
* %%
* 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... |
package springmvc.validator;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import org.springframework.web.multipart.commons.CommonsMultipartFile;
import springmvc.model.FileUpload;
import springmvc.utils.CommonUtils;
@C... |
package br.com.basis.madre.farmacia.web.rest;
import br.com.basis.madre.farmacia.service.EstornoService;
import br.gov.nuvem.comum.microsservico.web.rest.errors.BadRequestAlertException;
import br.com.basis.madre.farmacia.service.dto.EstornoDTO;
import io.github.jhipster.web.util.HeaderUtil;
import io.github.jhipster... |
/*
* Licensed to Crate.io GmbH ("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 f... |
package com.suitapps.reglog;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import de.greenrobot.event.EventBus;
/**
* Created by antonio on 24/01/2016.
*/
public class RegLogBaseActivity extends AppComp... |
package com.codes.persistence.hibernate.listener;
import java.io.Serializable;
import java.util.Date;
import org.hibernate.criterion.Projections;
import org.hibernate.event.internal.DefaultSaveEventListener;
import org.hibernate.event.spi.EventSource;
import org.hibernate.event.spi.SaveOrUpdateEvent;
import static c... |
package org.shop.service;
import java.util.List;
import java.util.Map;
import org.shop.pojo.Sh;
public interface ShService {
int ck(Sh sh);
int cksh(Sh sh);
int jj(int id);
List cc(int sh);
List bb();
List hws(String hw);
Sh hwss(int id);
List bbs();
} |
/*
* (C) Copyright IBM Corp. 2021.
*
* 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 w... |
// Copyright 2017 The Nomulus 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 a... |
/*
* Copyright (C) 2008 Search Solution Corporation.
* Copyright (c) 2016 CUBRID Corporation.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright ... |
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
import java.util.function.IntPredicate;
/**
* @author Oleg Cherednik
* @since 09.08.2018
*/
public class Solution {
static int[] findCoefficients(int N) {
int max = 0;
int a = 0;
int b = 0;
for (int aa = ... |
package org.hsqldb.lib;
import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;
import org.springframework.nativex.substitutions.OnlyIfPresent;
// TODO To be removed when next version is released, see https://sourceforge.net/p/hsqldb/svn/6213/
@TargetClass(className = "org.hsq... |
/*
* Copyright (c) 2004-2019, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... |
package ua.ibt.clinic.api;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Created by Iryna Tkachova on 12.03.2017.
*/
@XmlRootElement
public class GraphicAPI extends SysMessage{
@XmlElement
public Long iduser;
@XmlElement
public String time;
... |
/*
* Copyright 2016-2021 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... |
public class Koordinate {
private int x; // Koordinaten
private int y;
public Koordinate(int x, int y) {
this.x = x;
this.y = y;
}
// relevante getter und setter
public int getY() {
return y;
}
public void setY(int y) {
this.y = y;
}
public int getX() {
return x;
}
public void setX(int x) ... |
/*
* 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... |
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.persistence;
import com.google.common.collect.ImmutableMap;
import com.yahoo.component.Version;
import com.yahoo.config.provision.ApplicationId;
import com.ya... |
/* Copyright 2021 Elastic Path 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 or agreed to in writi... |
package com.batch.android;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.filters.SmallTest;
import com.batch.android.json.JSONArray;
import com.batch.android.json.JSONException;
import com.batch.android.json.JSONObject;
import org.junit.Assert;
import org.junit.Test;
import org.junit.run... |
/*
* Copyright 2008 (C) Tom Parker <thpr@users.sourceforge.net>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... |
package com.mcoding.base.sns.web.controller.module;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.apache.commons.lang.StringUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.spri... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.domain.OperatorBasicInfo;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.open.auth.operator.info.query response.
*
* @author auto create
* @since 1.0, 2020-08-24 15:02:12
*/
public class Alip... |
/*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package tgits.random.dice;
import javax.inject.Singleton;
@Singleton
public final class D20 extends Dice {
public D20() {
super();
}
@Override
public int numberOfPossibleValues() {
return 20;
}
} |
// Copyright 2014 Cloudera 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 wr... |
/**
* Copyright 2011 The PlayN 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 ... |
// ----------------------------------------------------------------------------
// Copyright 2007-2015, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... |
/*
* Copyright 2018 Johnathan Louie.
*
* 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 org.terraform.biome.custombiomes;
import org.bukkit.block.Biome;
import org.terraform.data.TerraformWorld;
public abstract class CustomBiomeSupportedBiomeGrid {
public void setBiome(TerraformWorld tw, int x, int z, CustomBiomeType bio, Biome fallback) {
for (int y = tw.minY; y < tw.maxY; y+=4) {
... |
/*
* Copyright (c) 2017 Baidu, Inc. All Rights Reserve.
*
* 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... |
/*
* Copyright (c) 2014-2015 Janith Bandara, This source is a part of
* Audit4j - An open source auditing framework.
* http://audit4j.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 a... |
/*
* $Header: /home/cvspublic/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/ResourceSet.java,v 1.2 2001/04/25 20:30:37 craigmcc Exp $
* $Revision: 1.2 $
* $Date: 2001/04/25 20:30:37 $
*
* ====================================================================
*
* The Apache Software License, Versio... |
package com.ronrong.thymeleaf.mat.resourceresolver;
import com.ronrong.thymeleaf.mat.IDecorationConfiguration;
import com.ronrong.thymeleaf.mat.entity.Template;
/**
* @author:rongshaolin
*/
public abstract class AbstractResourceResolver implements IResourceResolver{
private String name = this.getClass().getN... |
package com.javaweb.common.exception.user;
import com.javaweb.common.exception.BaseException;
/**
* 用户异常处理类
*/
public class UserException extends BaseException {
private static final long serialVersionUID = 1L;
public UserException(String code, Object[] args) {
super("user", code, args, null);
... |
/*******************************************************************************
* # 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
... |
/*
* 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 ... |
/*
* ShiftLeft, Inc. CONFIDENTIAL
* Unpublished Copyright (c) 2017 ShiftLeft, Inc., All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains the property of ShiftLeft, Inc.
* The intellectual and technical concepts contained herein are proprietary to ShiftLeft, Inc.
* and may be covered b... |
package com.example.huhaichang.learn3.eight;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.example.huhaichang.learn3.R;
import com.example.huhaichang.learn3.ei... |
/*
* 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... |
/*
* Copyright (c) 2010-2017 Evolveum
*
* 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... |
/*
* Copyright 2019 Miroslav Pokorny (github.com/mP1)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* 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 org.dllwh.controller;
import java.lang.management.ManagementFactory;
import java.lang.management.OperatingSystemMXBean;
import org.dllwh.entity.server.SysInfo;
import org.dllwh.util.JavaMonitorHelper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
... |
/**
* Package for calculateTest task.
*
* @author Sergey Semenkov (sergey.semenkov.1993@gmail.com)
* @version $Id$
* @since 27/02/2018
*/
package ru.job4j; |
package dev.minecode.freeforall.spigot.manager;
import dev.minecode.core.api.object.CorePlayer;
import dev.minecode.freeforall.api.FFAAPI;
import dev.minecode.freeforall.spigot.object.ItemBuilder;
import dev.minecode.freeforall.spigot.object.ItemSerializer;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import ... |
package com.gildedrose;
import com.gildedrose.core.GildedRose;
import com.gildedrose.core.Item;
import com.gildedrose.core.ItemFactory;
public class RunSimulation {
public static void main(String[] args) throws Exception {
System.out.println("Welcome to the Gildedrose Inn!");
Item[] items = new... |
/*
* Copyright 2013 - 2014 The Original 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... |
package com.microsoft.mgl.pairhmm;
import com.intel.gkl.IntelGKLUtils;
import com.intel.gkl.NativeLibraryLoader;
import com.microsoft.mgl.pairhmm.MicrosoftPairHmm;
import org.broadinstitute.gatk.nativebindings.pairhmm.HaplotypeDataHolder;
import org.broadinstitute.gatk.nativebindings.pairhmm.PairHMMNativeArguments;
im... |
package edu.northeastern.ashish;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
public class Main {
public static void main(String[] args) {
// write your code here
}
public static int[][] mergeIntervals(int[][] interval) {
if (interval.... |
package com.google.appinventor.components.runtime;
import android.app.Activity;
import android.content.Intent;
import android.nfc.NfcAdapter;
import android.util.Log;
import com.google.appinventor.components.annotations.DesignerComponent;
import com.google.appinventor.components.annotations.DesignerProperty;
import co... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 license... |
/**
* Copyright 2019 Oleksandr Albul
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.