text
stringlengths
7
995k
/*L * Copyright SAIC * Copyright SAIC-Frederick * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/camod/LICENSE.txt for details. */ /* * DuplicateUtil.java * * October 19, 2005, 3:44 PM * * $Id: DuplicateUtil.java,v 1.12 2008-02-08 16:47:20 pandyas Exp $ * * $L...
package com.alexgilleran.icesoap.observer; import com.alexgilleran.icesoap.exception.SOAPException; import com.alexgilleran.icesoap.request.Request; /** * Used to receive events from a running SOAP Request (in a background thread) * on the Android UI thread. * * @author Alex Gilleran * * @param <ReturnType> ...
package dev.utils.common; import java.math.BigDecimal; import dev.utils.JCLogUtils; /** * detail: 资金运算工具类 * @author Ttt * <pre> * @see <a href="https://www.cnblogs.com/liqforstudy/p/5652517.html"/> * @see <a href="https://blog.csdn.net/mo_cold_rain/article/details/81366310"/> * 向下取 round = BigDecim...
package com.xthena.gcgl.manager; import com.xthena.core.hibernate.HibernateEntityDao; import com.xthena.gcgl.domain.PjVisitV; import org.springframework.stereotype.Service; @Service public class PjVisitVManager extends HibernateEntityDao<PjVisitV> { }
package com.java110.fee.listener.tempCarFeeConfigAttr; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.java110.po.tempCarFeeConfigAttr.TempCarFeeConfigAttrPo; import com.java110.utils.constant.BusinessTypeConstant; import com.java110.utils.constant.ResponseConstant; import com...
/* * Copyright 2002-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package org.hisp.dhis.security.vote; /* * Copyright (c) 2004-2018, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above ...
// Copyright 2015 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
/* * Copyright 2013-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package clone.airbnb.cost; import clone.airbnb.accommodation.Accommodation; import clone.airbnb.common.entity.BaseEntity; import lombok.Getter; import javax.persistence.*; import java.time.LocalDateTime; @Getter @Entity public class Cost extends BaseEntity { @Id @GeneratedValue @Column(name = "cost_id") ...
package org.smartframework.cloud.starter.swagger.validators.plugins.parameter; import javax.validation.constraints.NotBlank; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import com.google.common.base.Optional; import lombok.extern.slf4j.Slf4j; import springfox.b...
package io.swagger.v3.parser.util; import io.swagger.v3.oas.models.Components; import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.Operation; import io.swagger.v3.oas.models.PathItem; import io.swagger.v3.oas.models.Paths; import io.swagger.v3.oas.models.callbacks.Callback; import io.swagger.v3.oa...
/* * Copyright 2016-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
package data; import static helpers.Artist.QuickLoad; public class ProjectileIceBall extends Projectile { public ProjectileIceBall(ProjectileType type, Enemy target, float x, float y, int width, int height) { super(type, target, x, y, width, height); } /** * Overrides projDamage() in order to execute properly...
package org.squiddev.plethora.gameplay.client; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.model.ModelRenderer; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.entity.Entity; import net.minecraft.util.ResourceLocation; import org.squiddev.plethora.gameplay.Pletho...
package ru.kibis.servlets; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.Mockito; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.*; import static ...
package com.github.gl8080.metagrid.core.infrastructure.jdbc.id; public interface GenerateIdStrategy { long generate(); }
package org.kyojo.schemaorg.m3n3.gson.healthLifesci.medicalSpecialty; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import org.kyojo.gson.JsonDeserializ...
/* * 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_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 com.atguigu.gmall.pms.dao; import com.atguigu.gmall.pms.entity.AttrEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 商品属性 * * @author gao * @email 1052651354@qq.com * @date 2019-12-03 04:03:53 */ @Mapper public interface AttrDao extends B...
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package example.cc3200.kafka; import akka.actor.typed.ActorRef; import example.cc3200.actor.CC3200ServerActor; import example.cc3200.bean.KafkaData; import org.apache.kafka.clients.consumer.ConsumerRecord; import org.apache.kafka.clients.consumer.ConsumerRecords; import org.apache.kafka.clients.consumer.KafkaConsumer;...
/* * 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 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.android_webview.devui.util; import org.chromium.android_webview.common.crash.CrashInfo; import java.io.BufferedReader; import java....
package com.paremus.example.webservice.adapter; import javax.servlet.Servlet; import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.ServiceScope; import org.osgi.service.http.whiteboard.propertytypes.HttpWhiteboardContextSelect; import org.osgi.service.http.whiteboard....
/** * Copyright (c) 2016-2019 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.guli.mall.common.utils; import com.baomidou.mybatisplus.core.metadata.IPage; import java.io.Serializable; import java.util.List; /** * 分页工具类 * * @author Mark sunlightcs@gmail.com */ public class...
package com.myorg.springaction.springdo1; /** * Created by huyan on 15/6/17. */ public class Ticket { public void showTicket(){ System.out.println("This is ticket"); } }
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE606_Unchecked_Loop_Condition__listen_tcp_14.java Label Definition File: CWE606_Unchecked_Loop_Condition.label.xml Template File: sources-sinks-14.tmpl.java */ /* * @description * CWE: 606 Unchecked Input for Loop Condition * BadSource: listen_tcp Read data using a listen...
/* * 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...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
package cn.hutool.json; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.io.FileUtil; import cn.hutool.core.lang.Console; import cn.hutool.core.lang.Dict; import cn.hutool.core.util.CharsetUtil; import cn.hutool.json.test.bean.Exam; import cn.hutool.json.test.bean.JsonNode; import cn.hutool.json.test.b...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.ujuji.navigation.util; import com.ujuji.navigation.core.Constants; import java.util.regex.Matcher; import java.util.regex.Pattern; public class MyUtils { public static Boolean isLink(String link) { Pattern compile = Pattern.compile(Constants.REGEX.LINK_REGEX); Matcher matcher = compil...
/* * Copyright 2012-2018 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package fr.gouv.bo.configuration; import org.jsoup.Jsoup; import org.jsoup.safety.Whitelist; import org.owasp.esapi.ESAPI; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; public class XSSRequestWrapper extends HttpServletRequestWrapper { XSSRequestWrapper(HttpS...
package com.wxw.cloud.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.io.Serializable; import java...
package com.qidao.project.system.config.controller; import java.util.List; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.va...
package com.msgkatz.ratesapp.data.entities.mappers; import com.msgkatz.ratesapp.data.entities.rest.PriceSimpleDT; import com.msgkatz.ratesapp.data.entities.wsocks.StreamMarketTickerMini; import java.util.ArrayList; import java.util.List; /** * Created by msgkatz on 24/08/2018. */ public class PriceSimpleDTDataMap...
package com.team4.ysms.command; import java.util.ArrayList; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.apache.ibatis.session.SqlSession; import org.springframework.ui.Model; import com.team4.ysms.dao.Dao_SearchPlace; import com.team4.ysms.da...
/* * Copyright 2019 - 2021 Acosix GmbH * * 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 ca.team2706.fvts.core.interfaces; import java.util.ArrayList; import java.util.List; import ca.team2706.fvts.core.Log; import ca.team2706.fvts.core.MainThread; import ca.team2706.fvts.core.data.VisionData; import ca.team2706.fvts.core.params.AttributeOptions; public abstract class AbstractInterface { public...
/** * Copyright 2016 Toni Kocjan * * 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 org.openapitools.model; import java.net.URI; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProp...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.provider.calculator.inflation; import com.opengamma.analytics.financial.interestrate.InstrumentDerivativeVisitorAdapter; import com.opengam...
package com.gentics.mesh.alexa.dagger; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; import io.vertx.core.Vertx; import io.vertx.core.VertxOptions; import io.vertx.core.file.FileSystem; import io.vertx.core.http.HttpClient; @Module public class AppModule { @Provides @Singleton publ...
package org.hzero.message.api.controller.v1; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import org.hzero.boot.message.config.MessageClientProperties; import org.hzero.boot.platform.lov.a...
package com.ecreditpal.vodka.variable.handler.source; import com.ecreditpal.vodka.variable.handler.Invoke; import com.ecreditpal.vodka.variable.handler.Source; import com.ecreditpal.vodka.variable.handler.SourceHandler; /** * Created by {{.Author}} on {{.Datetime}} */ @Source(value = "{{.Lower}}", alias = "{{.Lowe...
package org.thunlp.tagsuggest.contentbase; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.ArrayList; imp...
/** * Copyright 2009-2018 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 * * Unle...
package analyze; import org.junit.Before; import org.junit.Test; import java.io.BufferedReader; import java.io.FileReader; import static org.junit.Assert.*; import static org.hamcrest.Matchers.is; public class AnalizyTest { private Analizy analizy; @Before public void setAnalizy() { analizy = n...
package com.wrq.controller.portal; import com.wrq.commons.Const; import com.wrq.commons.ResponseCode; import com.wrq.commons.ServerResponse; import com.wrq.form.CreateOrderForm; import com.wrq.form.GetPriceForm; import com.wrq.pojo.User; import com.wrq.service.IOrderService; import com.wrq.service.IShopPriceService; i...
/* * 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 ...
import java.util.Scanner; public class p14_Bills4 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int months = Integer.parseInt(scan.nextLine()); double water = months * 20.0; double internet = months * 15.0; double electricity = 0.0; ...
package games.common.model.board; public class CannotAddTileAtException extends RuntimeException { public CannotAddTileAtException(String message) { super(message); } }
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.cc.mobilesafe.Bean; import java.util.List; public class CommonPhoneGroupCombineChild { public int idx; public String name; public List<CommonPhoneChildBean> child; }
package io.github.pak3nuh.util.lang.sealed.car; import io.github.pak3nuh.util.lang.sealed.SealedType; @SealedType public final class Fiat extends Car { public String model() { return "Punto"; } }
package nicelee.bilibili.downloaders.impl; import java.io.File; import nicelee.bilibili.annotations.Bilibili; import nicelee.bilibili.enums.StatusEnum; import nicelee.bilibili.util.CmdUtil; import nicelee.bilibili.util.HttpHeaders; import nicelee.ui.Global; @Bilibili(name = "m4s-downloader", type = "downloader", ...
/** * Copyright © 2016-2018 The Thingsboard Authors * Modifications © 2017-2018 Hashmap, 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/LIC...
package org.jabref.gui.push; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.List; import javax.swing.Icon; import javax.swing.JLabel; import javax.swing.JPanel; import org.jabref.Globals; import org.jabref.JabRefExecutorService; import org....
package com.ihtsdo.snomed.service; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.text.ParseException; import java.util.HashSet; import java.util.Set; import java.util.concurrent.TimeUnit; import javax.per...
/* * Copyright 2018 Addicticks. * * 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...
/* * � 2001-2009, Progress Software Corporation and/or its subsidiaries or 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....
/* * Copyright 2018 Niall Scott * * 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.facebook.imagepipeline.producers; import com.facebook.cache.common.CacheKey; import com.facebook.common.internal.ImmutableMap; import com.facebook.common.internal.VisibleForTesting; import com.facebook.common.references.CloseableReference; import com.facebook.imagepipeline.cache.CacheKeyFactory; import com...
/* * Copyright (C) 2017 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 no.nav.foreldrepenger.behandlingslager.kodeverk; import java.io.IOException; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonNode...
package com.landstryder.terramagica.init; import com.landstryder.terramagica.blocks.BlockRuneAltar; import com.landstryder.terramagica.blocks.BlockTM; import com.landstryder.terramagica.reference.Reference; import cpw.mods.fml.common.registry.GameRegistry; @GameRegistry.ObjectHolder(Reference.MOD_ID) public class Mod...
// Copyright (C) 2009 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 applicable ...
package org.seasar.doma.internal.apt; import static java.util.stream.Collectors.toList; import static org.seasar.doma.internal.util.AssertionUtil.assertNotNull; import java.io.Writer; import java.lang.annotation.Annotation; import java.util.Arrays; import java.util.Collections; import java.util.EnumSet; import java.u...
/* * 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 fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_1865 { }
package com.codezzz.mall.common.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.toolkit.Constants; import com.codezzz.mall.common.entity.UmsGrowthChangeHistory; import org.apache.ibatis.annotations.Param; /** * 成长值变化历史记录表 Mapper 接口 * * @author starzyn * @since ...
/* * Copyright © 2017 Cask Data, 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 t...
/* * This file is part of FlightControl, which is licensed under the MIT License * * Copyright (c) 2019 Spazzinq * * 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, ...
/* * 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 ...
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 br.com.mercadolivre.novoproduto; import org.springframework.context.annotation.Primary; import org.springframework.stereotype.Component; import org.springframework.web.multipart.MultipartFile; import java.util.List; import java.util.Set; import java.util.stream.Collectors; @Component @Primary public class Up...
package org.openapitools.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.openapitools.model.Animal; import javax.validation.Vali...
/* * Copyright © 2018 Andrew Rice (acr31@cam.ac.uk) * * 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...
/* * Constellation - An open source and standard compliant SDI * http://www.constellation-sdi.org * * Copyright 2014 Geomatys. * * 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 uff.dew.svp.engine.flworprocessor; import java.util.ArrayList; import java.util.Hashtable; import uff.dew.svp.algebra.basic.TreeNode; import uff.dew.svp.algebra.operators.AbstractOperator; import uff.dew.svp.algebra.operators.ConstructOperator; import uff.dew.svp.algebra.operators.SelectOperator; import uff.d...
package org.linkeddatafragments.datasource; import com.google.gson.JsonObject; import org.apache.jena.query.Dataset; import org.apache.jena.rdf.model.Model; import org.apache.jena.tdb.TDBFactory; import java.io.File; import java.io.InputStream; import org.apache.jena.rdf.model.RDFNode; import org.apache.jena.riot.L...
package com.akhgupta.easylocation.demo.gallery; import android.content.Context; import android.graphics.Bitmap; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.a...
/* * Cryptonose * * Copyright © 2019-2021 Dawid Motyka * * 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...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE400_Resource_Exhaustion__sleep_database_71b.java Label Definition File: CWE400_Resource_Exhaustion__sleep.label.xml Template File: sources-sinks-71b.tmpl.java */ /* * @description * CWE: 400 Resource Exhaustion * BadSource: database Read count from a database * GoodS...
/* * Copyright 2002-2018 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...
/* * [New BSD License] * Copyright (c) 2011-2012, Brackit Project Team <info@brackit.org> * 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 ...
package jp.co.future.uroborosql.client.command; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.sql.DriverManager; import java.util.Properties; import org.jline.reader.LineReader...
public class PocExample { static { System.out.println("load poc ..."); System.loadLibrary("poc"); System.out.println("load poc ... OK "); } public static void main(String args[]) { System.out.println("poc"); System.out.println("sumitems:"); int[] arrayB = new int[10000000]; //...
public class UsingReadOnlyInterfaces { public static class Collections { public static <E> void useICollection(ICollection<E> iCollection, E elem, java.util.Collection<E> other) { java.util.Iterator<E> iter = iCollection.iterator(); iCollection.addAll(other); iCollection....
package com.kpframework.imagepicker; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import j...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.wing.element; import org.dspace.app.xmlui.wing.WingContext; import org.ds...
package br.com.fmchagas.cobranca.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import br.com.fmchagas.cobranca.model.Titulo; public interface Titulos extends JpaRepository<Titulo, Long>{ public List<Titulo> findByDescricaoContaining(String descricao); }
/* * 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 * distribut...
package com.sk89q.worldedit.function.operation; import com.fastasyncworldedit.core.math.MutableBlockVector3; import com.fastasyncworldedit.core.math.MutableVector3; import com.sk89q.worldedit.WorldEditException; import com.sk89q.worldedit.function.RegionFunction; import com.sk89q.worldedit.function.visitor.RegionVisit...
/* * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * (c) Copyright 2019 Palantir Technologies 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 ...
package com.alibaba.otter.canal.parse.driver.mysql; import java.io.IOException; import java.nio.channels.SocketChannel; import java.util.ArrayList; import java.util.List; import com.alibaba.otter.canal.parse.driver.mysql.packets.HeaderPacket; import com.alibaba.otter.canal.parse.driver.mysql.packets.client.QueryComma...