text stringlengths 7 1.01M |
|---|
package com.primehome.cisco;/**
* Created by USER on 4/29/2017.
*/
import com.rallydev.rest.RallyRestApi;
import com.rallydev.rest.client.ApiKeyClient;
import com.sun.org.apache.xpath.internal.SourceTree;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.scene.control.*;
import javaf... |
package systemtests.epiggy;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static seedu.address.commons.core.Messages.FORMAT_ERROR_MESSAGE;
import org.junit.Test;
import guitests.GuiRobot;
import guitests.guihandles.epiggy.Re... |
/*
* Copyright 2012-2015 org.opencloudb.
*
* 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 in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* "LLPAD" You can open a very big document (more than 10GBytes) with ease
*
* Copyright 2016-2017 Tom Misawa, riversun.org@gmail.com
*
* 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
* Sof... |
package ch.so.agi.landregisterparceldescription.webservice.controllers;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.xml.bind.JAXBException;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.transform.TransformerConf... |
package de.marcovogt.avrremote;
import java.awt.Font;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.JButton;
import javax.swing.JTextPane;
import javax.swing.UIManager;
import javax.swing.text.SimpleAttributeSet;
import javax.swing.text.StyleConstants;
imp... |
/*
* 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... |
package com.softicar.platform.core.module.page.navigation;
import com.softicar.platform.common.core.interfaces.IStaticObject;
import com.softicar.platform.dom.elements.testing.engine.IDomTestExecutionEngineMethods;
import com.softicar.platform.dom.elements.testing.node.iterable.IDomNodeIterable;
import com.softicar.pl... |
package com.megotechnologies.ecommerce_retronight.payment;
import android.app.AlertDialog;
import android.app.FragmentTransaction;
import android.content.DialogInterface;
import android.graphics.Paint;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import andr... |
package uk.co.jpawlak.maptoobjectconverter.examples._1_registeringsinglevalueconverters._1_optional;
import uk.co.jpawlak.maptoobjectconverter.examples._1_registeringsinglevalueconverters.Gender;
import java.util.Optional;
public class Employee {
public final Optional<Gender> gender;
public Employee(Gender... |
/*
* 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.basex.io.parse.json;
import static org.basex.query.QueryError.*;
import java.util.*;
import org.basex.build.json.*;
import org.basex.build.json.JsonParserOptions.JsonDuplicates;
import org.basex.query.*;
import org.basex.query.util.list.*;
import org.basex.query.value.*;
import org.basex.query.value.item... |
package ru.job4j.array;
import org.junit.Test;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
public class MatrixTest {
@Test
public void when2on2() {
Matrix matrix = new Matrix();
int[][] table = matrix.multiple(2);
int[][] expect = {
... |
package svenhjol.charm.module;
import svenhjol.charm.Charm;
import svenhjol.charm.base.CharmModule;
import svenhjol.charm.base.handler.ModuleHandler;
import svenhjol.charm.base.iface.Module;
@Module(mod = Charm.MOD_ID, description = "Removes the potion enchantment glint so you can see what the potion color is.")
publ... |
/*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2022, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.cutoffseq;
/**
* Abstract class to genera... |
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.core.WhitespaceAnalyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.*;
import org.apache.lucene.index.*;
import org.apache.lucene.queryparser.classic.ParseException;
import org.apache.lucene... |
/*
* 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 ... |
/*
* This file is part of BlueMap, licensed under the MIT License (MIT).
*
* Copyright (c) Blue (Lukas Rieger) <https://bluecolored.de>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package seedu.address.model;
import java.io.File;
import javafx.collections.ObservableList;
import seedu.address.model.explorer.FileList;
import seedu.address.model.tag.Tag;
/**
* Unmodifiable view of an address book
*/
public interface ReadOnlyAddressBook {
/**
* Returns an unmodifiable view of the tag ... |
package com.microsoft.schemas.crm._2011.contracts;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.Xm... |
/*
* Copyright 2014-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
package com.cms.service.admin;
import com.cms.entities.admin.CompetitionInfo;
import com.cms.pagination.Page;
import java.util.Map;
/**
* Created by Evan on 2016/4/3.
*/
public interface CompetitionService {
public Page<CompetitionInfo> queryList(Map<String, Object> paramMap);
public void saveCompetition... |
package screensaver;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontFormatException;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsEnvironment;
import java.awt.Polygon;
import java.awt.RadialGradientPaint;
import java.awt.Rectangle;
import ... |
package com.thermostat.server.security;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;
import com.thermostat.security.KeyPairStoreInterface;
public class PropertiesKeyPairStore implements KeyPairStoreInterface {... |
package castle.comp3021.assignment.textversion;
import castle.comp3021.assignment.piece.Archer;
import castle.comp3021.assignment.piece.Knight;
import castle.comp3021.assignment.player.ConsolePlayer;
import castle.comp3021.assignment.player.ComputerPlayer;
import castle.comp3021.assignment.protocol.Configuration;
impo... |
/*! ******************************************************************************
*
* Hop : The Hop Orchestration Platform
*
* http://www.project-hop.org
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... |
/*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.emmilletta.ccs;
import com.emmilletta.ccs.dto.ChargingSessionResponse;
import com.emmilletta.ccs.dto.StartChargingRequest;
import com.emmilletta.ccs.dto.StartChargingResponse;
import com.emmilletta.ccs.dto.StopChargingRequest;
import com.emmilletta.ccs.dto.DeregistrationUserRequest;
import com.emmilletta.c... |
/*
The MIT License (MIT)
Copyright (c) 2021 Pierre Lindenbaum
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, modify, me... |
package com.example.part3;
import android.os.Bundle;
import io.flutter.app.FlutterActivity;
import io.flutter.plugins.GeneratedPluginRegistrant;
public class MainActivity extends FlutterActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GeneratedP... |
package dev.rise.command;
import dev.rise.Rise;
import dev.rise.command.api.CommandInfo;
import lombok.Getter;
import net.minecraft.client.Minecraft;
@Getter
public abstract class Command {
protected final Minecraft mc = Minecraft.getMinecraft();
protected CommandInfo commandInfo;
public Command() {
... |
package info.ephyra.util;
/**
* Implementation of a stop watch.
*
* @author Nico Schlaefer
* @version 2004-11-04
*/
public class Clock {
/** Is the clock running? */
private static boolean isRunning;
/** Starting time. */
private static long startTime;
/** Stop time. */
private static long st... |
package com.jslsolucoes.nginx.admin.controller;
import br.com.caelum.vraptor.Controller;
import br.com.caelum.vraptor.Path;
import br.com.caelum.vraptor.Post;
import br.com.caelum.vraptor.Result;
import br.com.caelum.vraptor.observer.download.Download;
import br.com.caelum.vraptor.observer.download.InputStreamDownload... |
/*
* Copyright (C) 2011 Everit Kft. (http://www.everit.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... |
package com.verizon.dispatch.route.web.controllers;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4... |
// Copyright 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
/*
* Author: Stefan Andritoiu <stefan.andritoiu@intel.com>
* Copyright (c) 2015 Intel 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
* wi... |
package gnu.lists;
public class VoidConsumer extends FilterConsumer {
public static VoidConsumer instance = new VoidConsumer();
public static VoidConsumer getInstance() {
return instance;
}
public VoidConsumer() {
super((Consumer) null);
this.skipping = true;
}
public... |
/*
* Copyright © 2020 Apple Inc. and the ServiceTalk project 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 requi... |
package codecup2018.evaluator;
import codecup2018.data.Board;
public class MixedEvaluator implements Evaluator {
private Board board;
private int nFree = 0;
private int nUnused = 0;
private int totalUnused = 0;
private int totalHoleValue = 0;
private int totalFreeDegree = 0;
... |
package g;
public class User {
String name;
String email;
String code;
public User() {
}
public User(String name, String email, String code) {
this.name = name;
this.email = email;
this.code = code;
}
public String getName() {
return... |
package org.reveno.atp.core.views;
import org.reveno.atp.api.query.ViewsMapper;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class ViewsManager {
protected Map<Class<?>, ViewHandlerHolder<?, ?>> viewsHandlers = new ConcurrentHashMap<>();
protected Map<Class<?>, Class<?>> viewsT... |
/**
* Copyright (c) LambdaCraft Modding Team, 2013
* 版权许可:LambdaCraft 制作小组, 2013.
* http://lambdacraft.half-life.cn/
*
* LambdaCraft is open-source. It is distributed under the terms of the
* LambdaCraft Open Source License. It grants rights to read, modify, compile
* or run the code. It does *NOT* grant the r... |
package com.ims.server.controller;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotat... |
/*
The MIT License
Copyright (c) 2010-2013 Paul R. Holser, Jr.
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 top.srcrs.task.daily;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import top.srcrs.Task;
import top.srcrs.domain.Data;
import top.srcrs.util.Request;
/**
* 完成B站每日任务,观看,分享视频
* @author srcrs
* @Time 2020-10-13
*/
pub... |
/*
* Copyright 2002-2021 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 alancerpro.model;
import javafx.beans.property.SimpleStringProperty;
import java.util.HashMap;
public class User extends Person<User> {
public static User loggedInUser;
private SimpleStringProperty username;
private SimpleStringProperty userType;
public User(String id, String name, String us... |
package com.example.contextmenu;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.ColorRes;
import android.support.annotation.StyleRes;
import android.wid... |
/*
* The MIT License (MIT)
* Copyright (c) 2018 Hyperwallet Systems Inc.
*
* 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 t... |
package br.com.softop.imobiliaria.logic;
import br.com.softop.imobiliaria.entity.Banner;
import java.util.List;
/**
*
* @author danilo
*/
public interface BannerLogic extends GenericLogic<Banner, Integer> {
List<Banner> buscarAtivos();
}
|
/*
* <!--
*
* **************************************************************
* This Java source has been automatically generated.
* MODIFICATIONS TO THIS SOURCE MAY BE OVERWRITTEN - DO NOT MODIFY THIS FILE
* **************************************************************
*
*
* This file (CAL_Data... |
package de.restfulresponsehandler;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableMultimap;
import org.glassfish.jersey.internal.util.Producer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.ws.rs.ProcessingException;
import javax.ws.rs.core.Response;
imp... |
package com.gotkx;
import com.alipay.sofa.jraft.rhea.LeaderStateListener;
import com.alipay.sofa.jraft.rhea.client.DefaultRheaKVStore;
import com.alipay.sofa.jraft.rhea.client.RheaKVStore;
import com.alipay.sofa.jraft.rhea.options.PlacementDriverOptions;
import com.alipay.sofa.jraft.rhea.options.RheaKVStoreOptions;
im... |
package in.dragonbra.javasteam.steam.handlers.steamcloud.callback;
import in.dragonbra.javasteam.enums.EResult;
import in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSGetSingleFileInfoResponse;
import in.dragonbra.javasteam.steam.handlers.steamcloud.SteamCloud;
import in.dragonbr... |
package com.xw.repo;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.... |
package com.example.xialong.funplacesforkids;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.test.AndroidTestCase;
import com.example.xialong.funplacesforkids.data.PlaceContract;
import com.example.xialong.funplacesforkids.data.PlaceDbHelper;
import java.util.HashSet;
... |
/*
* Copyright 2003,2004 Jeremias Maerki.
*
* 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 view;
import javax.swing.*;
import java.awt.*;
public class SquareComponent extends JPanel {
private Color color;
public SquareComponent(int size, Color color) {
setLayout(new GridLayout(1, 1)); // Use 1x1 grid layout
setSize(size, size);
this.color = color;
}
... |
/**
* ImageRedirectCreative.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201311;
/**
* A {@code Creative} that loads an image asset from a specified URL.
*/
public class ImageRedirectCreative extends... |
package prrathi.commonmodel.ToxicLibShape.Object;
import java.util.ArrayList;
import prrathi.commonmodel.PRCBase;
import prrathi.commonmodel.ToxicLibShape.ITXLWorldModelSource;
import prrathi.commonmodel.ToxicLibShape.TXL2DBase;
import toxi.geom.Vec2D;
import toxi.physics2d.VerletMinDistanceSpring2D;
import toxi.physi... |
import java.awt.Color;
/** Cerle modélise un cerle géometrique dans un plan dans un repère cartesien.
* On peut effectuer plusieur opération sur un cercle comme le translater,
* changer sa couleur.
* On peut déterminer si un point est à l'interieur ou à l'exterieur du cerle.
* Un cerle peut être créer de trois diff... |
/*
* Copyright 2012-2018 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... |
package org.tdc.evaluator;
import org.tdc.evaluator.result.ValueResult;
import org.tdc.model.TDCNode;
import org.tdc.util.Util;
/**
* An {@link Evaluator} implementation for property values.
*
* <p>Supports providing a property value as an Evaluator result.
*
* <p>Properties, essentially, correspond to methods... |
package com.chinamobile.bcbsp.thirdPartyInterface.HDFS.impl;
import com.chinamobile.bcbsp.io.BSPFileOutputFormat;
import com.chinamobile.bcbsp.thirdPartyInterface.HDFS.BSPhdfsRW;
import com.chinamobile.bcbsp.util.BSPJob;
import com.chinamobile.bcbsp.util.StaffAttemptID;
import java.io.IOException;
import org.apache... |
package metric.python;
import lexer.event.LexerEventCenter;
import metric.LangRegister;
import metric.measure.MetricContext;
import metric.parser.python.PythonProcessor;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class TestLineOfCode {
@Test
public void test_mixed_comment_li... |
package com.tool.cnv.migrateLogic.util;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
import com.tool.cnv.migrateLogic.ReplacementParamet... |
package org.hisp.dhis.relationship.hibernate;
/*
* Copyright (c) 2004-2016, 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 t... |
/*
* 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 ... |
/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.outlook.impl;
import com.wilutions.com.*;
@SuppressWarnings("all")
@CoClass(guid="{C091A957-A463-DB41-5DAE-69E7A5F7FCBC}")
public class AttachmentsImpl extends Dispatch implements com.wilutions.mslib.outlook.Attachments {
@DeclDISPID(6144... |
package com.springreactgraphql.springreactgraphql.service.datafetchers;
import com.springreactgraphql.springreactgraphql.model.Country;
import com.springreactgraphql.springreactgraphql.repository.CountryRepository;
import graphql.schema.DataFetcher;
import graphql.schema.DataFetchingEnvironment;
import org.springframe... |
/*
* Copyright 2014 Toxic Bakery
*
* 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 ... |
/* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Esri Inc. licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
... |
/**
* 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 2013-2018 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... |
/*
* Kotak.java
*
* Copyright (C) 2014 Adnanto A.R. a.k.a BlackShadow <adnantoa@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... |
package com.lhy.commons.jms.adapter;
import java.util.Map;
import org.apache.log4j.Logger;
import com.lhy.commons.jms.IMessageDelegate;
public abstract class SerializableMessageDelegate implements IMessageDelegate {
private static Logger log = Logger.getLogger(SerializableMessageDelegate.class);
@Override
publi... |
/*
* Copyright [2017] [Andy Moncsek]
*
* 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 agree... |
/*
* Copyright (c) 2019, 2020 Oracle and/or its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
/*
* Functional-1 --> copies3
*
* Given a list of strings, return a list where each string is replaced by 3 copies of the string
* concatenated together.
*
* Tests:
* copies3(["a", "bb", "ccc"]) ? ["aaa", "bbbbbb", "ccccccccc"]
* copies3(["24", "a", ""]) ? ["242424", "aaa", ""]
* copies3(["hel... |
package com.anysoftkeyboard.ui.settings.setup;
import android.os.Build;
import com.anysoftkeyboard.AnySoftKeyboardTestRunner;
import com.anysoftkeyboard.ui.settings.MainSettingsActivity;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.R... |
/**
[Class description. The class models the c function call int atoi(const char *nptr);]
[Other notes. -]
@author Andreas Ibing
@version $Revision: x Date: x hour:
**/
package smtcodan.environment;
import org.eclipse.cdt.core.dom.IName;
import smtcodan.interpreter.Interpreter;
import smtcodan... |
package uk.gov.ida.hub.config.domain;
import ch.qos.logback.classic.Logger;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.read.ListAppender;
import org.junit.jupiter.api.Test;
import org.slf4j.LoggerFactory;
import org.slf4j.event.Level;
import uk.gov.ida.hub.config.dto.FederationEntityTy... |
/*
* (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package com.hp.hpl.jena.query.larq;
import java.io.File;
import org.apache.lucene.index.IndexWriter;
import com.hp.hpl.jena.graph.Node;
import com.hp.hpl.jena.rdf.model.Property;
impor... |
package kr.huny.authentication.common;
import kr.huny.common.CommonConst;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CommonPrincipal {
private long seq;
private String email;
... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.exporter.otlp;
import com.google.common.util.concurrent.FutureCallback;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.MoreExecutors;
import io.grpc.ConnectivitySta... |
package com.ocdsoft.bacta.swg.shared.collision;
import com.ocdsoft.bacta.swg.shared.object.GameObject;
/**
* Created by crush on 5/11/2016.
*/
public class BarrierObject extends GameObject {
}
|
package com.kimi.my.shop.web.api.service.Impl;
import com.kimi.my.shop.domain.Cart;
import com.kimi.my.shop.web.api.dao.CartDao;
import com.kimi.my.shop.web.api.service.CartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/*... |
package com.mx.pro.lib.fragmentation;
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.*;
/**
* Instrumented test, which will execute on an An... |
package com.nayang.handleutil;
public interface HttpCallbackListener {
void onFinish(String respond);
void onError(Exception e);
}
|
/*
* Copyright (c) 2007 - 2008 by Damien Di Fede <ddf@compartmental.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Software Foundation; either version 2 of the License, or
* (at your o... |
/*
* 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 com.isaac.stock.utils;
import org.apache.spark.ml.feature.MinMaxScaler;
import org.apache.spark.ml.feature.VectorAssembler;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.SparkSession;
import org.apache.spark.sql.functions;
import org.datavec.api.util.ClassPat... |
/** Provides functions for comparing the results of evaluating {@code Node} instances. */
package org.oakgp.function.compare;
|
package io.github.valfadeev.rundeck.plugin.nomad.nomad;
import com.dtolabs.rundeck.core.plugins.configuration.StringRenderingConstants;
import com.dtolabs.rundeck.plugins.util.DescriptionBuilder;
import com.dtolabs.rundeck.plugins.util.PropertyBuilder;
import io.github.valfadeev.rundeck.plugin.nomad.common.PropertyCom... |
/*
* Copyright (C) 2020, Peter Abeles. All Rights Reserved.
*
* This file is part of Geometric Regression Library (GeoRegression).
*
* 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 com.finogeeks.mop.interfaces;
import android.os.Handler;
import android.os.Looper;
import com.finogeeks.mop.service.MopPluginService;
public class FlutterInterface {
private static final String TAG = FlutterInterface.class.getSimpleName();
private Handler mHandler = new Handler(Looper.getMainLooper... |
package com.cefoler.configuration.core.exception.checked.time.impl;
import com.cefoler.configuration.core.exception.checked.time.TimeException;
public class UnsupportedTimeZoneException extends TimeException {
private static final long serialVersionUID = -1037865604777994446L;
public UnsupportedTimeZoneExceptio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.