text stringlengths 7 995k |
|---|
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.android.example.wordlistsql.test;
public final class R {
public static final class attr {
}
public static final c... |
package com.chenpan.commoner;
import android.os.Bundle;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.Toolbar;
... |
package com.yy.example.service;
import com.yy.example.bean.User;
import com.yy.example.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.session.SessionRegistry;
import org.springframework.stereotype.Service;
@Service
public class UserService {
@Au... |
/***************************************************************************
* Copyright 2017 Kieker Project (http://kieker-monitoring.net)
*
* 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... |
/*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in co... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.kickstarter.factories;
import android.support.annotation.NonNull;
import com.kickstarter.models.Category;
import java.util.Arrays;
import java.util.List;
public final class CategoryFactory {
private CategoryFactory() {}
public static @NonNull Category category() {
return musicCategory();
}
... |
package org.openforis.collect.android.attributeconverter;
import org.openforis.collect.android.viewmodel.UiAttributeDefinition;
import org.openforis.collect.android.viewmodel.UiDoubleAttribute;
import org.openforis.collect.android.viewmodelmanager.NodeDto;
import org.openforis.idm.metamodel.NodeDefinition;
import org.... |
/**
*
* Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.com>
*
* ====================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the L... |
/**
* Copyright 2005 The Apache Software Foundation
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by ... |
/*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
/*
* Copyright (c) 2008-2014 MongoDB, 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 a... |
package com.laegler.openbanking.api.feature.businessCurrentAccounts;
import com.laegler.openbanking.AbstractFeatureSteps;
import com.laegler.openbanking.api.*;
import static io.restassured.RestAssured.*;
import static org.hamcrest.core.StringContains.*;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Th... |
package form.timeline;
import events.AbstractInstantEvent;
import events.AbstractSpanningEvent;
import properties.time.ITime;
import events.IMusicEvent;
import org.jetbrains.annotations.NotNull;
import java.util.*;
import java.util.stream.Stream;
/**
* <p> <b>Interface Overview:</b>
* The {@link ParallelTimeline} ... |
package com.boot.mytt.core.listener.rabbitmq;
import com.rabbitmq.client.Channel;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.listener.api.ChannelAwareMessageListener;
import org.springframework.stereotype.Component;
import java.util.HashMap;
import java.util.Map;
@Component
... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
/*
* Copyright (c) 2008-2021 The Aspectran 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 applicabl... |
package ViewHolder;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import com.pheth.hasee.sectionrecyclerview.R;
/**
* *************************************************************************
*
* @版权所有: 北京云图微动科技有限公司 (C) 2016
* @创建人: 孙旭光
* @创建时间: xxx(201... |
package org.insightech.er.editor.model.dbexport.html.page_generator.impl;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.insightech.er.ResourceString;
import org.insightech.er.editor.model.ERDiagram;
import org.insightech... |
/*****************************************************************
* 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
* ... |
/**
* asm-defuse: asm powered by definitions/uses analysis
* Copyright (c) 2013, 2020 Roberto Araujo (roberto.andrioli@gmail.com)
* 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. Red... |
package org.xmlcml.cml.converters.text;
import nu.xom.Element;
import nu.xom.Node;
import nu.xom.Text;
import org.apache.log4j.Logger;
import org.xmlcml.euclid.Int2;
public class Deleter extends Template {
@SuppressWarnings("unused")
private final static Logger LOG = Logger.getLogger(Deleter.class);
public stat... |
package testm;
import org.gradle.testkit.runner.GradleRunner;
import org.junit.jupiter.api.Test;
import java.io.File;
public class TestM {
@Test
void run() {
GradleRunner.create()
.withPluginClasspath()
.withProjectDir(new File("tmp"))
.forwardOutput()... |
/*
* Copyright (c) 2021 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.integrations.destination.mysql;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.collect.ImmutableMap;
import io.airbyte.commons.json.Jsons;
import io.airbyte.db.Databases;
import io.airbyte.db.jdbc.JdbcDatabas... |
/*
* Copyright (c) 2002-2019 Gargoyle 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 ... |
package com.sun.Service;
import com.sun.Entity.Item;
import com.sun.base.BaseService;
public interface ItemService extends BaseService<Item> {
} |
package base_ProbTools.summary;
import java.util.*;
import base_ProbTools.summary.base.baseProbSummary;
/**
* instances of this class will analyze and display statistical results relating to a data set; this will also provide an easy-access container to manage moments
* @author john
*
*/
public class myProbS... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.ms_snhu.springbootmongodbsecurity.domain;
import java.util.Set;
import org.springframework.data.annotation.Id;
import org.... |
package ve.com.abicelis.creditcardexpensemanager.exceptions;
/**
* Created by Alex on 3/9/2016.
*/
public class CreditCardNotFoundException extends Exception {
public static final String DEFAULT_MESSAGE = "Credit Card does not exist";
public CreditCardNotFoundException(String message) {
super(messa... |
/*
* Copyright 2017 8Kdata Technology
*
* 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 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.alcatel.as.http.proxy;
import com.alcatel.as.http.parser.HttpMessage;
public interface HttpProxyPlugin {
public HttpMessage handle (ClientContext ctx, HttpMessage message);
} |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
package com.apporelbotna.javaee.message;
import java.text.MessageFormat;
import java.util.Locale;
import java.util.ResourceBundle;
/**
* Extend this class to centralize the ResourceBundle creation on one
* point of your application.
*
* For any different {@link ResourceBundle} that an application might have,
* ... |
package edu.depaul.cdm.se450.concept.database.jdbc;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import lombok.extern.java.Log;
/**
* Demonstrate JDBC concepts
*/
@Log
public class JDBCDemo {
// static final String DB_URL = "jdbc:h2:mem:se450db";
static final String DB_URL = "jdbc:... |
/*
* Copyright 2013 Matt Corallo
* Copyright 2015 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... |
/**
* 1143. Longest Common Subsequence
* Given two strings text1 and text2, return the length of their longest common subsequence.
A subsequence of a string is a new string generated from the original string with some characters(can be none) deleted without changing the relative order of the remaining characters. (e... |
package ru.hh.consul;
import java.util.List;
import java.util.Map;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;
import ru.hh.consul.config.ClientConfig;
import ru.hh.consul.model.coordinate.Coordinate;
import ru.hh.consul.model.coordinate.Datacenter;
impo... |
import application.logging.LogLevel;
import autofixture.publicinterface.Any;
import application.logging.ToolLogger;
import application.logging.Logger;
import org.mockito.Mockito;
import org.testng.annotations.Test;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static o... |
/*
* 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 ... |
/*
* This file is part of Cube.
*
* The MIT License (MIT)
*
* Copyright (c) 2020-2022 Cube Team.
*
* 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 with... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package com.esri.hadoop.hive;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.hive.ql.exec.Description;
import org.apache.hadoop.io.BytesWritable;
import org.apache.hadoop.io.IntWritable;
import com.esri.core.geometry.ogc.OGCGeometry;
import com.esri.core.... |
package org.hisp.dhis.event;
/*
* 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 the above copyrigh... |
package classes;
class BoxDemo{
public static void main(String[] args) {
Box mybox1=new Box();
double val1;
mybox1.width=10;
mybox1.height=20;
mybox1.depth=15;
val1=mybox1.width * mybox1.height * mybox1.depth;
System.out.println("Volume is box 1 is "+val1);
Box mybox2=new Box();
double val2;
... |
package me.lordsaad.modeoff.api.capability;
import me.lordsaad.modeoff.api.plot.Plot;
import me.lordsaad.modeoff.api.plot.PlotRegistry;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.Capability;
import net.m... |
package wabri.MMU_UniversityManager;
public class NoTeacherFound extends Error {
private static final long serialVersionUID = -5091296786426427627L;
} |
package sps.core;
import java.awt.*;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
//http://stackoverflow.com/questions/18004150/desktop-api-is-not-supported-on-the-current-platform
public class DesktopApi {
public static boolean browse(URI uri) {
if (... |
/*
* 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 n... |
package me.gungunpriatna.stackwidget;
import android.appwidget.AppWidgetManager;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.widget.RemoteViews;
import android.widget.RemoteViewsService;
... |
package com.tuling.setInject;
import org.springframework.stereotype.Component;
/**
* Created by smlz on 2019/8/22.
*/
@Component
public class InstB {
} |
/*
Program: MountPointGhostOut.java
Author: Michael Stockman
Albert Einstein College of Medicine
*/
package pipegen.instances;
import java.io.*;
import java.util.*;
import java.awt.*;
import java.awt.geom.*;
import pipegen.*;
import pipegen.definitions.*;
/**
* Represents a temporary dra... |
package com.config;
import com.domain.UserVo;
import com.service.RedisService;
import com.util.RedisKeyUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.dat... |
/*
* This file was automatically generated by EvoSuite
* Thu Sep 26 02:49:20 GMT 2019
*/
package org.apache.commons.lang3;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.apache.commons.lang3.CharUtils;
import org.evosuite.runtime.EvoRunner;
i... |
package javalang.brewtab.com;
public class Example {
private int a;
private int b;
interface FuncInterface {
// An abstract function
void abstractFun(int x);
// A non-abstract (or default) function
default void normalFun() {
System.out.println("Hello");
... |
/*
* eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) 2017 eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* ... |
/*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org>
* Copyright (C) 2011 Google Inc. All rights reserved.
* Copyright (C) 2016 Maciej Gawinecki <mgawinecki@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* mod... |
/**
* 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 2015-18 Alexey O. Shigarov (shigarov@icc.ru)
*
* 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... |
/*
* The MIT License
*
* Copyright 2017 kpfalzer.
*
* 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... |
/*
* Copyright (c) 2020 XuYanhang
*
*/
/**
* There provide the containers to manage some objects.
*
* @author XuYanhang
* @since 2020-08-14
*/
package org.xuyh.container; |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.execution.services;
import com.intellij.execution.services.ServiceModel.ServiceViewItem;
import com.intellij.execution.services.ServiceViewDnDDescriptor.Posi... |
/*-------------------------------------------------------------------------
| RXTX License v 2.1 - LGPL v 2.1 + Linking Over Controlled Interface.
| RXTX is a native interface to serial ports in java.
| Copyright 1997-2007 by Trent Jarvi tjarvi@qbang.org and others who
| actually wrote it. See individual sourc... |
package com.example.demo.model;
import javax.persistence.Entity;
@Entity
public class Stock extends BaseEntity{
private String tsCode;
private String name;
private String area;
private String industry;
private String fullname;
private String enname;
private String market;
private Strin... |
package com.devops.helloworld;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class HelloworldApplication {
public static void main(String[] args) {
SpringApplication.run(HelloworldApplication.class, args);
}
} |
package ru.stqa.rft.sandbox;
/**
* Created by RomanovaD on 26.05.2017.
*/
public class Equation {
private double a;
private double b;
private double c;
private int n;
public Equation (double a, double b, double c) {
this.a = a;
this.b = b;
this.c = c;
double d = ... |
/*
* Copyright (c) 2017 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
package org.carlspring.strongbox.security.managers;
import org.carlspring.strongbox.configuration.AnonymousAccessConfiguration;
import org.carlspring.strongbox.configuration.AuthenticationConfiguration;
import org.carlspring.strongbox.resource.ConfigurationResourceResolver;
import org.carlspring.strongbox.xml.parsers.... |
/*
* Copyright 2014 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... |
/*
Copyright ©2017-2019 SyncPrem, all rights reserved.
Distributed under the MIT license: https://opensource.org/licenses/MIT
*/
package com.syncprem.uprising.streamingio.datamasking;
public interface ObfuscationSpec
{
Iterable<DictionarySpec> getDictionarySpecs();
void setDictionarySpecs(Iterable<DictionarySpec... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
/**
* Copyright 2011-2019 Asakusa Framework Team.
*
* 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 io.smallrye.graphql.execution.context;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicReference;
import org.dataloader.BatchLoaderContextProvider;
import org.dataloader.DataLoader;
// hacky way to pass the SmallRyeContext from data from data fetc... |
// This is a generated file. Not intended for manual editing.
package com.perl5.lang.perl.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
impor... |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002-2009 Oracle. All rights reserved.
*
* $Id$
*/
package com.sleepycat.collections.test;
import java.util.ArrayList;
import java.util.List;
import com.sleepycat.bind.EntityBinding;
import com.sleepycat.bind.EntryBinding;
import com... |
package mekanism.generators.common.tile;
import io.netty.buffer.ByteBuf;
import java.util.ArrayList;
import mekanism.api.MekanismConfig.general;
import mekanism.api.gas.Gas;
import mekanism.api.gas.GasRegistry;
import mekanism.api.gas.GasStack;
import mekanism.api.gas.GasTank;
import mekanism.api.gas.GasTransmission... |
package org.aspectj.lang.annotation;
import java.lang.annotation.Annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({java.lang.annotation.ElementType.METHOD})
public @interface AfterReturning
{... |
/*
* Copyright 2022 Starwhale, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright 2017 TomTom International B.V.
*
* 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... |
/*
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... |
package com.example.snaptoblockdemo;
import android.graphics.Rect;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.OrientationHelper;
import android.support.v7.widget.RecyclerView;
import andro... |
package au.gov.qld.fire.jms.dao;
import au.gov.qld.fire.dao.BaseDao;
import au.gov.qld.fire.jms.domain.file.FileAudit;
/**
* FileAudit DAO pattern.
* @author Valeri SHIBAEV (mailto:shibaevv@apollosoft.net)
*/
public interface FileAuditDao extends BaseDao<FileAudit>
{
} |
package com.bond.oncache.gui;
/*
* This is the source code of SpecNet project
* It is licensed under MIT License.
*
* Copyright (c) Dmitriy Bondarenko
* feel free to contact me: specnet.messenger@gmail.com
*/
import android.content.Context;
import android.graphics.Canvas;
import android.util.TypedValue;
import 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.gm.wj.config;
import com.gm.wj.filter.URLPathMatchingFilter;
import com.gm.wj.realm.WJRealm;
import org.apache.shiro.authc.credential.HashedCredentialsMatcher;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.spring.LifecycleBeanPostProcessor;
import org.apache.shiro.spring.security.int... |
package com.orkva.winter.asm;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
import java.io.IOException;
public class WinterAsm {
} |
/*
* 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... |
/*
* 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 com.uddernetworks.mspaint.code.gui;
import com.uddernetworks.mspaint.code.LangGUIOptionRequirement;
import com.uddernetworks.mspaint.code.languages.LanguageSettings;
import com.uddernetworks.mspaint.code.languages.Option;
import com.uddernetworks.mspaint.settings.SettingsAccessor;
import javafx.beans.property.... |
package com.gentics.mesh.search.index.microschema;
import java.util.Collections;
import java.util.Map;
import java.util.Set;
import javax.inject.Inject;
import javax.inject.Singleton;
import com.gentics.mesh.cli.BootstrapInitializer;
import com.gentics.mesh.context.InternalActionContext;
import com.gentics.mesh.core... |
package cgeo.geocaching.settings;
import cgeo.geocaching.R;
import cgeo.geocaching.activity.ActivityMixin;
import cgeo.geocaching.log.LogTemplateProvider;
import cgeo.geocaching.log.LogTemplateProvider.LogTemplate;
import cgeo.geocaching.ui.dialog.Dialogs;
import android.content.Context;
import android.content.res.Ty... |
package eindopdracht.genericobservertests;
import eindopdracht.domain.observers.Observer;
/**
* TestObserver
*/
public class TestObserver implements Observer<String> {
public String value;
@Override
public void update(String value) {
this.value = value;
}
} |
package datastructures.disjointsets;
import static org.junit.Assert.assertArrayEquals;
import java.util.ArrayList;
import java.util.List;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import datastructures.util.InputUtil;
public class TestDisjointSetWithPathCompression {
pri... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* 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, cop... |
package jp.caliconography.one_liners.model;
import android.graphics.Matrix;
/**
* Created by abeharuhiko on 2014/10/17.
*/
public class RectangleConfig extends ShapeConfig {
private final float mStartX;
private final float mStartY;
private final float mEndX;
private final float mEndY;
public R... |
// =================================================================================================
// Copyright 2011 Twitter, Inc.
// -------------------------------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... |
package moze_intel.projecte.gameObjs.items.armor;
import javax.annotation.Nonnull;
import moze_intel.projecte.PECore;
import net.minecraft.sounds.SoundEvent;
import net.minecraft.sounds.SoundEvents;
import net.minecraft.world.damagesource.DamageSource;
import net.minecraft.world.entity.EquipmentSlot;
import net.minecr... |
package com.ryanafzal.io.chat.core.resources.sendable;
import com.ryanafzal.io.chat.core.resources.user.User;
import com.ryanafzal.io.chat.core.resources.user.permission.Level;
public abstract class PacketDataFactory {
public static PacketData getToServerPacketData(long senderID) {
return new PacketData(senderID,... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE129_Improper_Validation_of_Array_Index__getCookies_Servlet_array_size_81_goodG2B.java
Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml
Template File: sources-sinks-81_goodG2B.tmpl.java
*/
/*
* @description
* CWE: 129 Improper Validation of Arr... |
package org.springframework.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.