text stringlengths 7 995k |
|---|
/*
* Copyright (C) 2017-2018 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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 ... |
// Targeted by JavaCPP version 1.5.6: 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.central.mall.admin.mapper;
import com.central.mall.admin.model.OmsOrderItem;
import com.central.mall.admin.model.OmsOrderItemExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface OmsOrderItemMapper {
long countByExample(OmsOrderItemExample example);
int del... |
package fr.lab.bbox.bboxapirunner.Security;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.preference.PreferenceManager;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
im... |
package com.itwp.blog;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* Created by Carl Wu on 2020/3/29 15:11
*/
@ResponseStatus(HttpStatus.NOT_FOUND)
public class NotFoundException extends RuntimeException {
public NotFoundException() {
}
... |
package util.study.reflect;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.LOCAL_VAR... |
package com.google.android.exoplayer2.source.dash;
import android.util.Pair;
import android.util.SparseIntArray;
import com.google.android.exoplayer2.Format;
import com.google.android.exoplayer2.SeekParameters;
import com.google.android.exoplayer2.drm.DrmInitData;
import com.google.android.exoplayer2.drm.DrmSessionMan... |
/*
* Copyright (C) 2016 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... |
package org.springframework.data.tarantool.core.query;
import org.springframework.core.annotation.AnnotatedElementUtils;
import org.springframework.data.projection.ProjectionFactory;
import org.springframework.data.repository.core.RepositoryMetadata;
import org.springframework.data.repository.query.QueryMethod;
import... |
/*-
* #%L
* Extended authenticators for Cloud Endpoints v2
* ---
* Copyright (C) 2018 - 2021 AODocs (Altirnao 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... |
//import java.util.HashMap;
//import java.util.Map;
import java.util.*;
public class Main{
public static void main(String[] args){
Map<String, Planet_ADT> planets = new HashMap();
// Here use put() to add new objects into a map
planets.put("key-1",new Planet_ADT("Merkurius",0.06));
planets.put("key-2",new ... |
package uk.co.slc.sfd.cp.ft.jsf.contenteditable.editing;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class AccessibleStylingTest {
public static final String SAMPLE_TEXT = "sample text";
private AccessibleStyling accessibleStyling = new AccessibleStyling();
@Test
publ... |
package quasylab.sibilla.core.network.util;
import quasylab.sibilla.core.network.communication.TCPNetworkManagerType;
import quasylab.sibilla.core.network.communication.UDPNetworkManagerType;
import java.util.HashMap;
import java.util.Map;
/**
* Utility class used to create startup classes for new masters, slaves a... |
package com.template.flows;
import co.paralleluniverse.fibers.Suspendable;
import com.r3.corda.lib.accounts.contracts.states.AccountInfo;
import com.r3.corda.lib.accounts.workflows.UtilitiesKt;
import com.r3.corda.lib.accounts.workflows.flows.RequestKeyForAccount;
import com.r3.corda.lib.accounts.workflows.flows.Share... |
/*
* Copyright 2000-2012 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... |
/*
* Copyright Terracotta, 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 ... |
package gov.nih.nci.cananolab.restful.view;
import gov.nih.nci.cananolab.restful.bean.LabelValueBean;
import java.util.ArrayList;
import java.util.List;
import org.codehaus.jackson.annotate.JsonIgnore;
//import org.codehaus.jackson.annotate.JsonIgnore;
public class SimpleAdvancedSearchResultView {
@JsonIgnore
... |
/*
*
* Copyright (c) 2013 - 2020 Lijun Liao
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
package cn.melman.melleet;
import java.util.HashSet;
public class Q141 {
public boolean hasCycle(ListNode head) {
HashSet<ListNode> node = new HashSet<>();
while (true) {
if (head == null) {
return false;
}
if (node.contains(head)) {
... |
import java.io.File;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Jack
*/
public class NoWords extends Thread { //implements Runnable
private Strin... |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2000-2004 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... |
/*
* Copyright (c) 2011-2022 PrimeFaces Extensions
*
* 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... |
/*
* Copyright 2019 StreamSets 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... |
package com.jab125.thonkutil.mixin;
import com.jab125.thonkutil.config.ThonkUtilConfig;
import net.minecraft.entity.Entity;
import net.minecraft.util.math.MathHelper;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
@Mixi... |
/*
* Array-2 --> fizzArray
*
* Given a number n, create and return a new int array of length n, containing the numbers 0, 1, 2, ...
* n-1. The given n may be 0, in which case just return a length 0 array. You do not need a separate
* if-statement for the length-0 case; the for-loop should naturally execu... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/*
* This is adapted from the kstemmer code base which is Copyright 2003, CIIR University of Massachusetts
* Amherst (http://ciir.cs.umass.edu) and Licensed under the terms of a modified old-style BS... |
/*
*
* *
* * *
* * * * Copyright 2019-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
* * * *
* * ... |
package pojo;
import java.util.Date;
public class IoTFile {
private Integer pId;
private String path;
private Integer fId;
private String ioTFileName;
private Integer operator; // 即userId
private Date createTime;
public Integer getpId() {
return pId;
}
public void ... |
/*
* 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... |
package solver;
import ch.qos.logback.classic.Level;
import com.microsoft.z3.*;
import table.lang.Table;
import table.lang.datatype.ValType;
import table.lang.datatype.Value;
import util.Olog;
import java.util.ArrayList;
import java.util.List;
public class SelectWhereOptionalGroupby extends SelectWhereGroupby3 {
... |
package org.omg.PortableInterceptor;
/**
* org/omg/PortableInterceptor/INACTIVE.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u111/7883/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
* Thursday, September 22, 20... |
/*
* Copyright (C) 2014 Divide.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 applicable law or agreed to ... |
package com.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.SpuImagesEntity;
import java.util.Map;
/**
* spu图片
*
* @author zhangfeng
* @email 908980328@qq.com
* @date 2020-04-17 16:24:16
*/
publ... |
/*
* Copyright 2013-2016 consulo.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 applicable law or agreed to ... |
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... |
import java.util.ArrayList;
import java.util.List;
public class Party extends Event{
List<Event> events = new ArrayList<>();
Party(String title) {
super(title);
}
Party(String title, String date) {
super(title, date);
}
Party(String title, String date, String description) {
... |
package com.silabs.thunderboard.demos.ui;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AlertDialog;
import android.support.v7.widget.Toolbar;
i... |
package datastructures.graph;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
/... |
package com.sap.charging.util.performanceMeasurement.forecasting2018_11;
import com.sap.charging.util.Util;
import com.sap.charging.util.performanceMeasurement.PerformanceMeasurement;
import com.sap.charging.util.sqlite.SQLiteAttributeKey;
public class PerformanceMeasurementForecasting2018_11 extends PerformanceMeasu... |
package com.rzspider.project.common.file.utilt;
import java.awt.image.BufferedImage;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java... |
/*
* Copyright 2013 The Closure Compiler 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... |
/*
* Copyright (c) 2016-2017, Abel Briggs
* 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 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 licenses... |
package org.testng.internal.annotations;
import org.testng.IAnnotationTransformer;
import org.testng.annotations.ITestAnnotation;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
public class DefaultAnnotationTransformer
extends IgnoreListener
implements IAnnotationTransformer
{
@Overrid... |
package org.kyojo.schemaorg.m3n4.doma.healthLifesci.physicalActivityCategory;
import org.seasar.doma.ExternalDomain;
import org.seasar.doma.jdbc.domain.DomainConverter;
import org.kyojo.schemaorg.m3n4.healthLifesci.physicalActivityCategory.LEISURE_TIME_ACTIVITY;
import org.kyojo.schemaorg.m3n4.healthLifesci.PhysicalA... |
package com.jingpu.android.apersistance.ormlite;
import android.content.Context;
import com.j256.ormlite.dao.Dao;
import com.j256.ormlite.misc.TransactionManager;
import com.j256.ormlite.stmt.DeleteBuilder;
import com.j256.ormlite.stmt.UpdateBuilder;
import com.j256.ormlite.stmt.Where;
import com.j256.ormlite.support... |
/** See the file "LICENSE" for the full license governing this code. */
package au.org.ands.vocabs.registry.db.context;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import au.org.ands.vocabs.registry.utils.RegistryProperties;
/** Provide... |
/*
* Copyright 2014 - 2022 Blazebit.
*
* 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.littleshoot.proxy;
import static org.littleshoot.proxy.TransportProtocol.*;
import javax.net.ssl.SSLEngine;
import org.littleshoot.proxy.extras.SelfSignedSslEngineSource;
/**
* Tests that when client authentication is not required, it doesn't matter what
* certs the client sends.
*/
public class Mitm... |
package com.example.ddmeng.helloactivityandfragment.fragment;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.util.Log;
import android.widget.CompoundButton;
import com.example.ddmeng.helloac... |
package com.oku6er.likeAPro.model;
import com.oku6er.likeAPro.model.post.Post;
import lombok.*;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.NaturalId;
import org.hibernate.annotations.NaturalIdCac... |
package io.github.tropheusj.milk;
import static io.github.tropheusj.milk.Milk.FLOWING_MILK;
import static io.github.tropheusj.milk.Milk.STILL_MILK;
import static io.github.tropheusj.milk.Milk.id;
import java.util.function.Function;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.blockren... |
//
// 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 ... |
/*
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.graalvm.compiler.hotspot.nodes.aot;
import static org.graalvm.compiler.nodeinfo.NodeCycles.CYCL... |
/*
* Copyright 2018 ConsenSys AG.
*
* 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 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:/... |
package org.jruby.pg.io;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.ByteChannel;
/**
* A {@link FlushableByteChannel} wrapper around a {@link ByteChannel}.
* This implementation's {@link SocketByteChannel#flush()}
* always return true.
*/
public class SocketByteChannel implem... |
/*
* Copyright 2017-2018, EnMasse authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.enmasse.config.service.amqp;
import io.enmasse.config.service.model.ObserverKey;
import io.enmasse.config.service.model.Subscriber;
import io.vertx.core.Conte... |
package com.z0ltan.compilers.microenglish.scanner;
import java.util.List;
import java.util.ArrayList;
public class Source {
static class Character {
public char character;
public int line;
public int column;
public static final Character NUL = new Character('\u0000', -1, -1);
public Character(... |
// File generated from our OpenAPI spec
package com.stripe.model;
import com.stripe.google.custom.gson.annotations.SerializedName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public class SourceMandateNotification extends StripeObj... |
package com.mychaldea.setup.custominterface;
public interface EntityTest {
void testToString();
void testEquals();
} |
package org.kyojo.schemaorg.m3n5.core.impl;
import java.util.ArrayList;
import java.util.List;
import org.kyojo.schemaorg.SimpleJsonBuilder;
import org.kyojo.schemaorg.m3n5.core.Clazz;
import org.kyojo.schemaorg.m3n5.core.Container.AdditionalProperty;
import org.kyojo.schemaorg.m3n5.core.Container.AdditionalType;
imp... |
/*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
package net.minecraft.server;
import java.io.IOException;
public class PacketPlayOutRespawn implements Packet<PacketListenerPlayOut> {
private int a;
private EnumDifficulty b;
private EnumGamemode c;
private WorldType d;
public PacketPlayOutRespawn() {}
public PacketPlayOutRespawn(int i, En... |
package com.example.android.waitlist;
import android.content.Context;
import android.database.Cursor;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.example.android.waitlist.data.Wai... |
package com.alfanthariq.tts.model;
import com.google.gson.annotations.SerializedName;
/**
* Created by alfanthariq on 22/01/2018.
*/
public class LoginDetail {
@SerializedName("auth_type")
private int auth_type;
@SerializedName("email")
private String email;
@SerializedName("password_hash")
... |
package com.jf.entity;
/**
* Created with IntelliJ IDEA.
* Description: ResMsg Code
* User: admin
* Date: 2019-06-27
* Time: 14:00
*/
public enum DefaultResCode {
// 成功固定code为0
SUCCESS(0, "SUCCESS"),
FAIL(1, "FAIL");
private Integer code;
private String msg;
public Integer code() {
... |
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at the
* <a href="http://www.apache... |
package javaee.jdbc.data;
import java.io.Reader;
import java.sql.Connection;
import java.sql.SQLException;
/**
* The mapping in the Java™ programming language for the SQL {@code CLOB} type. An SQL {@code CLOB} is a built-in
* type that stores a Character Large Object as a column value in a row of a database t... |
package io.ebeaninternal.server.core;
import io.ebean.config.QueryPlanCapture;
import io.ebean.config.QueryPlanListener;
import io.ebean.meta.MetaQueryPlan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
final class DefaultQueryPlanListener implements QueryPlanListener {
static final QueryPlanListener IN... |
package com.xuegao.springboot_tool.spring.conditionbean.example.expression;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Created by @author yihui in 10:36 18/10/1... |
/*
* Copyright (c) 2022 SAP SE or an SAP affiliate company and XSK contributors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, v2.0
* which accompanies this distribution, and is available at
* http://www.apache.org/licenses/LICENSE-... |
package net.cartola.emissorfiscal.sped.fiscal.blocoD;
import java.math.BigDecimal;
import coffeepot.bean.wr.annotation.Field;
import coffeepot.bean.wr.annotation.Record;
import net.cartola.emissorfiscal.sped.fiscal.OutrasObrigacoesEAjustes;
/**
* 11/09/2020
* @author robson.costa
*/
@Record(fields = {
@Field(na... |
// ============================================================================
//
// Copyright (C) 2006-2016 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... |
/*
* Copyright 2013-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/* file: Pooling2dIndices.java */
/*******************************************************************************
* Copyright 2014-2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the... |
/*
* Copyright 2015-2020 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 2000-2009 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 edu.cmu.lti.oaqa.openqa.dso.framework.eval;
import org.apache.uima.UimaContext;
import org.apache.uima.analysis_component.JCasAnnotator_ImplBase;
import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
import org.apache.uima.jcas.JCas;
import org.apache.uima.resource.ResourceInitializationExcept... |
/*
* 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 ... |
/*
* 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 ... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_package
DECL|package|org.jabref.gui
package|package
name|org
operator|.
name|jabref
operator|.
name|gui
package|;
end_package
begin_import
import|import
name|java
operator|.
name|io
operator|.
name|File
import|;
end_import
begin_import
import|import
n... |
package net.minecraft.item;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityEgg;
import net.minecraft.init.SoundEvents;
import net.minecraft.stats.StatList;
import net.minecraft.util.ActionResult;
import net.minecraft.util.Enu... |
package addressbook.tests;
import addressbook.model.GroupData;
import org.testng.Assert;
import org.testng.annotations.Test;
import java.util.HashSet;
import java.util.List;
public class GroupModifyTest extends TestBase{
@Test
private void testGroupModification(){
app.getNavigationHelper().gotoGroup... |
/***************************************************************/
/****** DO NOT EDIT THIS CLASS bc-java SOURCE FILE ******/
/***************************************************************/
package org.bouncycastle.asn1.cmp;
import java.io.IOException;
import org.bouncycastle.asn1.ASN1Choice;
import org.bounc... |
package net.badowl.imot.jdbc;
import net.badowl.imot.AreaRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public class JdbcAreaRepo implements AreaRepo {
@A... |
/*
* 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.kotei.magicconch.clubspongebob.pojo;
import lombok.Data;
import java.util.Date;
@Data
public class Comment {
private int comm_id;
private int article_id;
private int admin_id;
private String comm_nickname;
private String comm_email;
private String comm_content;
private Date co... |
/*
* Copyright (C) 2018 Seoul National 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
*
* Unless required by applic... |
package uk.nhs.nhsx.highriskvenuesupload;
import java.util.Optional;
public class VenuesParsingResult {
private String json;
private String failure;
private VenuesParsingResult() {
}
public static VenuesParsingResult ok(String json) {
VenuesParsingResult result = new VenuesParsingResult... |
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
import org.bytedeco.pytorch.Allocator;
import org.bytedeco.pytorch.Function;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacp... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.gms.fitness.data;
import android.content.Intent;
import android.os.Parcel;
import android.text.TextUtils;
import com.google.and... |
/*
* Copyright 2018-2020 adorsys GmbH & Co KG
*
* 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 ... |
package module549packageJava0;
import java.lang.Integer;
public class Foo29 {
Integer int0;
Integer int1;
public void foo0() {
new module549packageJava0.Foo28().foo8();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public voi... |
/*
* This file is part of RebornCore, licensed under the MIT License (MIT).
*
* Copyright (c) 2021 TeamReborn
*
* 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, inc... |
package domain;
import json.*;
/**
* Created by Andrii_Rodionov on 1/5/2017.
*/
public class BasicStudent implements Jsonable {
protected String name;
protected String surname;
protected Integer year;
public BasicStudent() {
}
public BasicStudent(String name, String surname, Integer year)... |
/*
* Copyright (c) 2017 Data and Web Science Group, University of Mannheim, Germany (http://dws.informatik.uni-mannheim.de/)
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.