text
stringlengths
7
995k
package org.crucial.dso.queue; import javax.persistence.Entity; import javax.persistence.Id; import java.util.Collection; import java.util.Iterator; import java.util.LinkedList; /** * @author Pierre Sutra */ @Entity public class Queue<T> implements java.util.Queue<T> { @Id public String name; public L...
/* * Copyright (c) 2001-2004 Caucho Technology, Inc. All rights reserved. * * The Apache Software License, Version 1.1 * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code mu...
package org.adonai.model; import javafx.beans.property.SimpleStringProperty; import javax.xml.bind.annotation.XmlID; import java.util.UUID; public class User { private String id; private SimpleStringProperty username = new SimpleStringProperty(); private SimpleStringProperty mail = new SimpleStringProperty(...
/* * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.diagnostics; import com.google.common.collect.ImmutableSet; import com.intellij....
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.pytorch; import org.bytedeco.pytorch.Allocator; import org.bytedeco.pytorch.Function; import org.bytedeco.pytorch.Module; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static...
package edu.jhu.isi.CLSign.verify; import edu.jhu.isi.CLSign.keygen.PublicKey; import edu.jhu.isi.CLSign.sign.Signature; import it.unisa.dia.gas.jpbc.Element; import it.unisa.dia.gas.jpbc.Pairing; import it.unisa.dia.gas.plaf.jpbc.field.z.ZrElement; import java.util.List; public class Verify { public static bool...
/******************************************************************************* * 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. * *...
/* * Copyright 2018 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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...
package com.mingsoft.mdiy.dao; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import com.mingsoft.base.dao.IBaseDao; import com.mingsoft.base.entity.BaseEntity; import com.mingsoft.mdiy.entity.ContentModelFieldEntity; /** * * * <p> * <b>铭飞CMS-铭飞内容管理系统</b> * </p> * *...
package prism.akash.tools.file; import org.springframework.web.servlet.ModelAndView; import prism.akash.container.BaseData; import java.util.List; /** * Excel灵活导出工具类 * * @author HaoNan Yan */ public interface ExcelImport { /** * Import Excel Tool * Excel灵活导出工具类「单sheet」 * * @param pageDa...
package com.denizenscript.denizen.objects.properties.material; import com.denizenscript.denizen.objects.MaterialTag; import com.denizenscript.denizen.utilities.debugging.Debug; import com.denizenscript.denizencore.objects.Mechanism; import com.denizenscript.denizencore.objects.ObjectTag; import com.denizenscript.deniz...
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package ru.mycubecraft.core; import lombok.Getter; import lombok.Setter; import lombok.ToString; import org.joml.Vector3f; import org.lwjgl.opengl.GL11; @Getter @Setter @ToString public class GameItem implements RenderObject { private final Vector3f position; private final Vector3f rotation; private Mes...
package com.madmensoftware.com.util; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runners.model.Statement; import java.util.concurrent.Callable; import io.reactivex.Scheduler; import io.reactivex.android.plugins.RxAndroidPlugins; import io.reactivex.functions.Function; impor...
package view; import java.util.List; public interface ISearchResultView { void showResult(); void showDialog(); void hideDialog(); void showFailure(); }
package com.nacho; public class Electrodomestico { private String marca; private String modelo; private int ancho; private int largo; private int profundidad; private double consumo; private double consumoKw; private double consumoXDía; private boolean estaEncendido; public E...
// The MIT License (MIT) // // Copyright © 2016, Raphael Cohn <raphael.cohn@stormmq.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 Software without restriction, including without limitatio...
/* * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the use...
package io.github.fablabsmc.fablabs.api.fiber.v1.annotation.processor; import java.lang.annotation.Annotation; import java.lang.annotation.ElementType; import java.lang.reflect.AnnotatedElement; import io.github.fablabsmc.fablabs.api.fiber.v1.annotation.AnnotatedSettings; import io.github.fablabsmc.fablabs.api.fiber....
package com.anysoftkeyboard.ui.settings.setup; import android.content.ComponentName; import android.content.Context; import android.provider.Settings; import android.support.annotation.NonNull; import android.support.annotation.VisibleForTesting; import android.text.TextUtils; public class SetupSupport { public ...
/* * ProcedureEntry.java * --------------------------------- * Copyright (c) 2020 * RESOLVE Software Research Group * School of Computing * Clemson University * All rights reserved. * --------------------------------- * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is...
package com.jmarkstar.core.domain.repository.database; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import com.jmarkstar.core.domain.repository.database.dao.JokeDao; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * Created by jmarkstar on 1/06/2017....
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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 * *...
package com.lades.sihv.model; // Generated 10/12/2018 16:25:52 by Hibernate Tools 4.3.1 import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import static javax.persistence.GenerationType.IDENTITY; import ...
package org.tain.sec05.exam01_treeset; import java.util.TreeSet; import org.springframework.stereotype.Component; import org.tain.utils.ClassUtil; @Component(value = "TreeSetExample1") public class TreeSetExample1 { public TreeSetExample1() { System.out.println(">>>>> " + ClassUtil.getClassInfo()); TreeSet<...
/** * <p>Title: DataSourceEnum.java</p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2018</p> * @author mmdai * @date 2018年12月12日 * @version 1.0 */ package cn.flood.datasource.enums; import java.util.stream.Stream; /** * <p>Title: DataSourceEnum</p> * <p>Description: </p> * @author mmdai...
package com.bumptech.glide.load.resource.gif; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Argum...
/* // This software is subject to the terms of the Eclipse Public License v1.0 // Agreement, available at the following URL: // http://www.eclipse.org/legal/epl-v10.html. // You must accept the terms of that agreement to use this software. // // Copyright (C) 2006-2011 Pentaho // All Rights Reserved. */ package mondria...
package org.broadinstitute.hellbender.tools.coveragemodel; import org.broadinstitute.hellbender.utils.Utils; import javax.annotation.Nonnull; import java.io.Serializable; import java.util.HashMap; import java.util.Map; /** * This class is used for communicating compound exit signals from computational subroutines. ...
/* * Copyright 2016 higherfrequencytrading.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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
package com.oberasoftware.jasdb.engine.query.operators; import com.oberasoftware.jasdb.api.exceptions.JasDBStorageException; import com.oberasoftware.jasdb.api.index.keys.Key; import com.oberasoftware.jasdb.core.index.keys.KeyUtil; import com.oberasoftware.jasdb.api.index.query.IndexSearchResultIteratorCollection; imp...
/* * 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...
/* * Copyright 2020 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * Technische Universität Darmstadt * * 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 * * htt...
package dfined.omnipatcher.data.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface FieldDataRegex { public Str...
package io.moh.datacollection.controller; import java.net.URI; import java.util.ArrayList; import java.util.List; import javax.validation.Valid; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; impo...
package com.lqb.thoughtworks.trains.server.exception; public class SystemException extends RuntimeException{ public SystemException() { } public SystemException(String message) { super(message); } public SystemException(String message, Throwable cause) { super(message, cause); ...
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: GrpcService.proto package com.bcs.bm.catalog_of_instruments_rudata.client.grpc; public interface InfoSecuritiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:InfoSecuritiesResponse) com.google.protobuf.MessageOrBui...
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
package com.lucasantos.pontoeletronico.api.enums; public enum PerfilEnum { ROLE_ADMIN, ROLE_USUARIO; }
package zin.zedEngine.core; import static org.lwjgl.opengl.GL11.GL_COLOR_BUFFER_BIT; import static org.lwjgl.opengl.GL11.GL_DEPTH_BUFFER_BIT; import static org.lwjgl.opengl.GL11.glClear; import java.util.ArrayList; import org.lwjgl.glfw.GLFW; import org.lwjgl.opengl.GL11; import zin.zedEngine.graphics.Display; impo...
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.ohmage.lifestreams.stores; import com.fasterxml.jackson.databind.node.ObjectNode; import com.mongodb.*; import org.joda.time.DateTime; import org.ohmage.lifestreams.models.StreamRecord; import org.ohmage.models.OhmageStream; import org.ohmage.models.OhmageUser; import org.ohmage.sdk.OhmageStreamIterator; ...
package com.kally.recipesapp.model; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.List; public class Categories implements Serializable { @SerializedName("categories") @Expose private List<Category> categories; ...
/* * Copyright (c) 2004-2022, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
/* * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 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 * * http://www....
/* * Copyright 2021 the original author or authors. * <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> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by...
package ca.mcgill.ecse321.tutoring_service.controller; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
/* * The MIT License * * Copyright: Copyright (C) 2014 T2Ti.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 Software without restriction, including without limitation the rights * to use, copy...
package org.message.logger.tools.annotations.sumologic.rest.processor.clients.model; public class SavedSearchWithScheduleSyncDefinition { private String type = "SavedSearchWithScheduleSyncDefinition"; private String name; private String description; private SearchContent search; public SavedSearchW...
package com.mooc.ppjoke.model; public class Destination { public String pageUrl; public int id; public boolean needLogin; public boolean asStarter; public boolean isFragment; public String className; // public String clazName; }
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands.climber; import edu.wpi.first.wpilibj.Preferences; import edu.wpi.first.wpilibj2.command.Seq...
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.lb; import com.google.common.collect.ImmutableSet; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.ClusterSpec; import com.y...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
/* * smart-doc https://github.com/shalousun/smart-doc * * Copyright (C) 2018-2021 smart-doc * * 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 ...
package com.javapatterns.state.web; abstract public class LoginState { public abstract String generatePage(); }
/* * 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 ...
/* * Copyright 2012 Netflix, 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 ...
package com.mvp.arm.commonmodule.util; import android.util.SparseArray; import android.view.View; /** * ListView GridView通用工具 */ public class ViewHolderUtil { @SuppressWarnings("unchecked") public static <T extends View> T get(View view, int id){ SparseArray<View> viewHolder = (SparseArray<View>) view.getTag();...
/* * Copyright 2012-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 * * Unless required by ap...
package com.andyron.pojo; import org.apache.ibatis.type.Alias; public class User { private int id; private String name; private String password; public User(int id, String name, String password) { this.id = id; this.name = name; this.password = password; } public Use...
/** * * 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"); ...
package com.salesmanager.shop.store.api.v1.product; import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.validatio...
/* * Copyright 2015-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. This * code is released under a tri EPL/GPL/LGPL license. You can use it, * redistribute it and/or modify it under the terms of the: * * Eclipse Public License version 1.0 * GNU General Public License version 2 * GNU Lesser General Public...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
package com.code.server.game.poker.cow; import com.code.server.constant.game.IGameConstant; import com.code.server.constant.kafka.KafkaMsgKey; import com.code.server.game.poker.config.ServerConfig; import com.code.server.game.poker.robot.ResponseRobotVo; import com.code.server.game.room.Room; import com.code.server.ga...
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
package uk.gov.hmcts.probate.model.template; import lombok.Data; @Data public class DocumentResponse { private final String name; private final String type; private final String url; }
package com.asepmo.application.browser; import com.asepmo.R; import android.app.Activity; import android.app.AlertDialog; import android.app.DownloadManager; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import an...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * Copyright 2000-2017 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...
//start of PreLz5Decoder.java //TEXT_STYLE:CODE=Shift_JIS(Japanese):RET_CODE=CRLF /** * PreLz5Decoder.java * * Copyright (C) 2001-2002 Michel Ishizuka All rights reserved. * * �ȉ��̏����ɓ��ӂ���Ȃ�΃\�[�X�ƃo�C�i���`���̍Ĕz�z�Ǝg�p�� * �ύX�̗L���ɂ�����炸���‚���B * * �P�D�\�[�X�R�[�h�̍Ĕz�z�ɂ����Ē��쌠�\���� ���̏����̃...
/* * Copyright 2010 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 2021 - 2022 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...
/* Copyright (C) 2013-2019 TU Dortmund * This file is part of AutomataLib, http://www.automatalib.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 at * * http://www.apache.org/li...
/** * 文件处理包 * @date 2015年10月28日 上午10:20:27 * @author maliang */ package com.mpms.utils.conf.file;
package g1601_1700.s1662_check_if_two_string_arrays_are_equivalent; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.jupiter.api.Test; class SolutionTest { @Test void arrayStringsAreEqual() { assertThat( new Solutio...
package cgeo.geocaching.ui; import android.app.Activity; import android.location.Address; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import org.apache.commons.lang3.StringUtils; import android.support...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package com.rakesh.tweeter.Database; import com.raizlabs.android.dbflow.annotation.Database; @Database(name = MyDatabase.NAME, version = MyDatabase.VERSION) public class MyDatabase { public static final String NAME = "RestClientDatabase"; public static final int VERSION = 1; }
package org.neuroph.nnet.learning; import static org.junit.Assert.*; import java.util.Random; import org.junit.Before; import org.junit.Test; import org.neuroph.core.data.DataSet; import org.neuroph.core.data.DataSetRow; import org.neuroph.core.learning.error.MeanSquaredError; import org.neuroph.nnet.Adaline; import...
package org.hibernate.type.descriptor.java; import org.junit.Test; import static org.junit.Assert.*; public class BooleanTypeDescriptorTest { private BooleanTypeDescriptor underTest = new BooleanTypeDescriptor(); @Test public void testWrapShouldReturnTrueWhenYStringGiven() { // given // ...
package org.cellocad.adaptors.ucfwriters.ucf_writers_Eco1C1G1T1; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Map; public class collection_writer_logic_constraints extends collection_writer { @Override public ArrayList<Map> getObjects() { ArrayList<Map> objects = new...
package io.ebeaninternal.server.type; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import io.ebean.config.JsonConfig; import io.ebean.core.type.DataBinder; import io.ebean.core.type.DataReader; import io.ebean.core.type.DocP...
/* * 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.trivago.cluecumber.rendering.pages.visitors; import com.trivago.cluecumber.constants.PluginSettings; import com.trivago.cluecumber.exceptions.CluecumberPluginException; import com.trivago.cluecumber.filesystem.FileIO; import com.trivago.cluecumber.json.pojo.Step; import com.trivago.cluecumber.properties.Pr...
package solent.ac.uk.ood.examples.cardvalidator.model; public interface CreditCardFactoryAndValidator { public CreditCard createCreditCard(String individualAccountIdentifier, String name, String endDate, String issueNo); public void setCvvAlgorythim(CvvAlgorythimStrategy cvvAlgorythimStrategy); public b...
/* 1: */ package vpt.algorithms.shape; /* 2: */ /* 3: */ import java.awt.Point; /* 4: */ import vpt.Algorithm; /* 5: */ import vpt.GlobalException; /* 6: */ import vpt.Image; /* 7: */ import vpt.algorithms.geometric.ImageCentroid; /* 8: */ import vpt.util.Distance; /* 9: */ import vpt.util.T...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__byte_rand_multiply_06.java Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-06.tmpl.java */ /* * @description * CWE: 191 Integer Underflow * BadSource: rand Set data to result of rand() * GoodSource: A hardcode...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE369_Divide_by_Zero__float_random_divide_53b.java Label Definition File: CWE369_Divide_by_Zero__float.label.xml Template File: sources-sinks-53b.tmpl.java */ /* * @description * CWE: 369 Divide by zero * BadSource: random Set data to a random value between 0.0f (inclus...
package com.dfire.platform.alchemy.connectors.dubbo; import org.apache.flink.api.common.typeinfo.TypeInformation; import org.apache.flink.api.java.typeutils.RowTypeInfo; import org.apache.flink.streaming.api.datastream.DataStream; import org.apache.flink.streaming.api.functions.sink.RichSinkFunction; import org.apache...
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 ...
/** * Copyright (C) 2011-2015 The XDocReport Team <xdocreport@googlegroups.com> * * All rights reserved. * * 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 restrictio...
package de.webis.copycat_spark.util; import java.io.Serializable; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.IntStream; import de.aitools.ir.fingerprinting.hashfunction.SimHash; import de.aitools.ir.fingerprinting.representation.HashVector; import de.aitoo...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.v7.recyclerview; public final class R { public static final class attr { public static final int la...
/* * This file is generated by jOOQ. */ package ws.nzen.tracking.splaintime.dao.jooq.tables.records; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Record1; import org.jooq.Record2; import org.jooq.Row2; import org.jooq.impl.UpdatableRecordImpl; import ws.nzen.tracking.splaintime.dao.jo...