hexsha
stringlengths
40
40
size
int64
8
1.04M
content
stringlengths
8
1.04M
avg_line_length
float64
2.24
100
max_line_length
int64
4
1k
alphanum_fraction
float64
0.25
0.97
e338d08f75b37ce7f439d59cf6a9f75ada4c385e
3,831
/* ### * 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...
32.193277
92
0.742365
5ef58b12ff296368dcfde6c9349d43e1bea18193
3,224
package com.company.payment.payment.model.repository; import java.util.List; import org.hibernate.query.Query; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Repository; import org.springframework.transact...
28.530973
111
0.728598
0ed8022afb8cf704b7941b11f0c6ccab15181af5
1,058
package 题库; import java.util.List; /** * 在经典汉诺塔问题中,有 3 根柱子及 N 个不同大小的穿孔圆盘,盘子可以滑入任意一根柱子。一开始,所有盘子自上而下按升序依次套在第一根柱子上(即每一个盘子只能放在更大的盘子上面)。移动圆盘时受到以下限制: * (1) 每次只能移动一个盘子; * (2) 盘子只能从柱子顶端滑出移到下一根柱子; * (3) 盘子只能叠在比它大的盘子上。 * * 请编写程序,用栈将所有盘子从第一根柱子移到最后一根柱子。 * * 你需要原地修改栈。 * * 示例1: * * 输入:A = [2, 1, 0], B = [], C = [] * ...
20.745098
105
0.548204
df696c44ceefbb0aacb8c9b7ad930a9756149a31
3,496
/* * 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 desenho.formas; import controlador.Diagrama; import controlador.inspector.InspectorProperty; import desenho.linhas.PontoDeLinh...
28.892562
121
0.595252
25a5919ba423e2ec4d7e925858e2c500a011c8eb
4,292
package lab09.list; /** * An implementation of the List interface using a singly linked list of * Objects. * * @author Xiang Wei * @version 12/2/15 */ public class CS132SinglyLinkedList implements CS132List { private int size; private SinglyLinkedNode head; /** * Construct a new empty CS132SinglyLinkedLi...
25.099415
96
0.705033
b6665111960079a1cda6409b9d54373b6e04bdbd
10,248
/* * Copyright: (c) Mayo Foundation for Medical Education and * Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the * triple-shield Mayo logo are trademarks and service marks of MFMER. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/lexevs-service/LICENSE.txt for ...
38.965779
134
0.788154
26090765d2f01a866bb17805351c9e2bb5f0d6e2
318
package com.swayzetrain.inventory.common.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.swayzetrain.inventory.common.model.Role; public interface RoleRepository extends JpaRepository<Role, Long> { Role findByRoleid(Integer roleid); Role findByRolename(String rolename); }
24.461538
67
0.823899
ba31b253ff05d8a6a800c614d334d527e1ecc41e
2,091
package com.aimmac23.hub.videostorage; import java.io.InputStream; import com.aimmac23.hub.servlet.HubVideoInfoServlet; /** * An interface to describe a plugin which handles how we store videos. * * @author Alasdair Macmillan * */ public interface IVideoStore { /** * Store a video using this plugin. * ...
38.722222
104
0.755141
fcff9a9507b45f9e1c806a733f975fdf9dd6b503
621
package com.sparrow.bundle.framework.utils; import java.io.ByteArrayOutputStream; import java.io.InputStream; public class IOUtil { public static String streamToString(InputStream is) { try { ByteArrayOutputStream baos = new ByteArrayOutputStream(); int len = -1; byte[...
25.875
69
0.549114
03819251b2a69ec56fb28b38f9d6a8b029d2b829
16,312
package systemtests; import static org.junit.Assert.assertTrue; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_PERSON_DISPLAYED_INDEX; import static seedu.address.commons.core.Messages.MESSAGE_UNKNOWN_PARENT_COMMAND; import static seedu.address.logic.commands.person.PinCommand.MESSAGE_PIN_PERSON_SUC...
49.280967
119
0.701385
73faa9284c997bc7ef027e9a9e6046e8a6ef51c7
594
package com.savethislittle.userinfo.repository.repository.springdatarepositories; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.savethislittle.userinfo.repository.entity.SumAmountExpensesMonthYear; import com.savethis...
33
113
0.86532
3d4b411ad472371484baf374e6f8af4962c906f2
275
package com.freedy.common.to; import lombok.Data; import java.math.BigDecimal; /** * @author Freedy * @date 2021/2/7 15:17 */ @Data public class SpuBoundTo { private Long SpuId; private BigDecimal buyBounds; private BigDecimal growBounds; }
16.176471
35
0.669091
a4d0cfa13794e2a1131c44fcec4dfadf73d1378f
6,316
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 ...
16.405195
810
0.799398
1c99a3abd4263183e149a071cb765a53807b1183
2,882
/* * File: PoissonBayesianEstimatorTest.java * Authors: Kevin R. Dixon * Company: Sandia National Laboratories * Project: Cognitive Foundry * * Copyright Dec 15, 2009, Sandia Corporation. * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive...
30.659574
110
0.66898
cc52ccbc1569131998cd29f08d0683002fe8e60d
5,174
package org.egov.chat.service.valuefetch; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml....
38.902256
109
0.691148
525b89835af89231eb06ceca98bd34fdf24ba8f2
5,057
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.infinispan.test.hibernate.cache.commons.functional.cluster; import ja...
31.02454
142
0.775756
3b89aaf88d8c9f226740418815453b93147d94e0
19,068
package com.nutiteq.advancedmap.activity; import java.io.File; import java.io.FileFilter; import java.util.ArrayList; import java.util.List; import org.mapsforge.map.reader.MapDatabase; import org.mapsforge.map.reader.header.FileOpenResult; import org.mapsforge.map.reader.header.MapFileInfo; import org.mapsforge.map....
40.312896
168
0.621145
80cfb865b7fb66a59263bd9a560143b20791ce56
305
package net.sourceforge.pmd.util.viewer.gui; /** * contains action command constants * * @author Boris Gruschko ( boris at gruschko.org ) */ public final class ActionCommands { public static final String COMPILE_ACTION = "Compile"; public static final String EVALUATE_ACTION = "Evaluate"; }
23.461538
60
0.734426
4bf4ed3c20e5a26c25db7c2c01b969d46e427c1f
4,815
/* * 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 ...
41.869565
163
0.752856
8c7c89b1fb5bd364cf91b198453e3aee759cdac5
116
package cn.wrh.android.preference.model; /** * @author bruce.wu * @date 2018/7/2 */ public class EmptyModel { }
12.888889
40
0.672414
6a31ce4071affe4caaacd04e8952b9a97938da62
1,968
// ----------------------------------------------------------------------- // <copyright file="ArtifactDeserializer.java" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- package com.microso...
32.262295
86
0.661585
f621c55467b4265449a4aa80eb06e16e592c36b2
481
package ru.yammi.module.misc; import ru.yammi.Yammi; import ru.yammi.config.Config; import ru.yammi.event.EventTarget; import ru.yammi.module.Category; import ru.yammi.module.Module; public class Panic extends Module { public Panic(){ super("Panic", Category.Misc, "Disable all modules"); } publi...
20.913043
62
0.656965
4c8eb8d40da2151a5454930776fc73fbdea87e50
668
package org.apache.spark.sql.columnar.compression; // no position private class LongDelta extends org.apache.spark.sql.columnar.compression.IntegralDelta<org.apache.spark.sql.catalyst.types.LongType$> implements scala.Product, scala.Serializable { static public int typeId () { throw new RuntimeException(); } stat...
74.222222
182
0.770958
2d00a6c5bede3d63fafefb14a156f97b25451f7b
4,115
/* * Licensed to CRATE Technology GmbH ("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 us...
37.752294
117
0.677521
03efa224f1dd2f52f279f19154de95a6c6511ead
5,157
/* Galois, a framework to exploit amorphous data-parallelism in irregular programs. Copyright (C) 2010, The University of Texas at Austin. All rights reserved. UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR ANY ...
39.068182
111
0.695172
67a8e28a1fa5149144b0e18e810202f12ddf2204
4,824
package com.github.lixiang2114.netty.context; import java.io.File; import java.nio.charset.Charset; import com.github.lixiang2114.netty.servlet.DefaultAction; import com.github.lixiang2114.netty.servlet.Servlet; import io.netty.buffer.ByteBufAllocator; import io.netty.channel.MessageSizeEstimator; import io.netty.ch...
19.296
90
0.732794
ef0f3f8afbfd278989661c03562dc678be48c220
2,605
package fr.insee.vtl.engine.visitors.expression; import fr.insee.vtl.engine.exceptions.InvalidTypeException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import javax.script.ScriptContext; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.Scr...
37.753623
81
0.639923
304084450345a137a40c71789a106acecd43098d
842
package com.evil.cbs_ticketvalidator.util; import android.content.Context; public class ErrorDialogPresenter { private final Context context; private final String title; private final String message; public ErrorDialogPresenter(Context context, String title, String message) { this.context = ...
30.071429
95
0.612827
3d159526d4be42b1747a587e12486d4724a97527
1,355
package com.siakad.modul_penilaian.repository; import java.util.List; import java.util.UUID; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereo...
30.795455
176
0.790406
a2a86ddeadef1bb3944b759efd5e9889bc7a88a5
387
package com.github.tibolte.agendacalendarview; import com.github.tibolte.agendacalendarview.models.CalendarEvent; import com.github.tibolte.agendacalendarview.models.IDayItem; import java.util.Calendar; public interface CalendarPickerController { void onDaySelected(IDayItem dayItem); void onEventSelected(Ca...
25.8
66
0.821705
a3442ea43ec2bb25175d5f829d94dc322d0f4a14
1,654
package mskubilov.iterator; import java.util.Iterator; import java.util.NoSuchElementException; /** * //курс Петра Арсентьева job4j.ru. * * @author Maksim Skubilov skubilov89@yandex.ru * @version 1.0 * @since 15.04.17 */ /** * Iterator of even numbers only. */ public class EvenIterator implements Iterator { ...
21.205128
89
0.534462
7ba439361bd16ecb78ad36eee04bfe4150d106d7
6,821
/** * Copyright 2012 Universitat Pompeu Fabra. * * 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...
30.450893
135
0.664565
5a69c459e8569afaee40808bde0b7268812562d5
7,124
/******************************************************************************* * Copyright (c) 2022 Eclipse RDF4J contributors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, an...
32.381818
267
0.724593
a5effc126d789ca5f948993bea616a6b6a8a4458
2,745
/* * Copyright (c) 2016-2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * ...
28.59375
82
0.730055
6e09b0c144d6307b0fc6028e21fac8db8ae2895e
959
package com.xjbg.rocketmq.util; import com.xjbg.rocketmq.MqConstants; import org.apache.commons.lang3.StringUtils; /** * @author kesc * @since 2019/4/6 */ public class ProfileUtil { /** * set once and remove after get*Message() */ private static final ThreadLocal<String> TOPIC_PROFILE = new Threa...
24.589744
81
0.651721
1ec77a7cdf6cc39586c83bc6cf98f58482461222
619
/* * Copyright (c) 2017. 联思智云(北京)科技有限公司. All rights reserved. */ package com.smartsuites.interpreter; import java.io.Serializable; /** * Interpreter result message */ public class InterpreterResultMessage implements Serializable { InterpreterResult.Type type; String data; public InterpreterResultMessage(In...
19.34375
77
0.688207
b46bc3de3549055930974defec068a94b7e34946
6,730
/* * Copyright (c) 2015, Brno University of Technology, Faculty of Information Technology * 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 th...
48.071429
166
0.738336
6524fe3f1a26676e52fcf0cd3f45de14c48d232f
4,507
package com.exaroton.bungee; import com.exaroton.api.server.Server; import com.exaroton.api.server.ServerStatus; import com.exaroton.api.ws.subscriber.ServerStatusSubscriber; import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.ProxyServer; import net.md_5.bungee.a...
29.651316
120
0.634568
3c65d28eab366279acce68acdcbf0ee294664b3c
2,271
package es.Zakan.NeightbourFight; import java.util.*; import java.io.*; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import org.springframework.beans.factory.annotation.*; import org.springframework.http.*; import org.springframework.web.bind.anno...
23.905263
86
0.646852
e9c1e604785a70469ff8e8512a795eee25e99ada
6,818
package com.iuriX.ustglobalproject; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.DialogInterface; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.content.Intent; import android.app.Activity; import android.uti...
36.265957
119
0.608976
74a8101a1735fc62f511ab2f66d56471fc45cfb5
1,770
package com.vc.easy; /***** * Problem No: 9 * Category: Data Structures And Algorithms * Tags: Math, Leetcode, Easy * Title: Palindrome Number * MetaDescription: Java Solution to Data Structures And Algorithms problem, to determine whether an integer is a palindrome. It is an easy problem that uses the modul...
39.333333
206
0.641243
1934b5ff7640fb8bc0fa39925edb4e82b423dd62
481
package de.aservo.confapi.confluence.model; import de.aservo.confapi.commons.constants.ConfAPI; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.util.Collection; @Data @NoAr...
21.863636
51
0.817048
251e1811a29f9513a76ad866803a8bad3ea3f3f7
1,521
/* * ======================================================================== * * 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 th...
36.214286
79
0.648258
95c0ebae2a67b3b96db04873a7ca77da7eeb5a9b
1,710
package tcl.lang.cmd; import java.io.File; import tcl.lang.Command; import tcl.lang.Interp; import tcl.lang.TclException; import tcl.lang.TclIO; import tcl.lang.TclInteger; import tcl.lang.TclList; import tcl.lang.TclObject; import tcl.lang.channel.Channel; import tcl.lang.channel.PipelineChannel; /** * implement TC...
27.580645
96
0.67193
dfd8e6a55af46c322bc6041d6685b5eb0775f289
2,474
/* * Copyright (c) 2011-2014 Pivotal 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 ...
31.717949
104
0.655214
efd6ad5bf8cbc091cb8af05bc9d27639e70632d9
1,135
package pl.itcraft.appstract.core.dto; import pl.itcraft.appstract.core.enums.UserRole; public class UserDto { private Long id; private String email; private String firstName; private String lastName; private UserRole role; private String avatarUrl; private boolean uploaded; public Long getId() { return ...
15.763889
48
0.711013
a66ef580e0995848f99775675377c57dede66d04
228
package com.bignerdranch.android.loginapp.Interface; import android.view.View; /** * Created by leoni on 4/27/2018. */ public interface ItemClickListener { void onClick(View view, int position,boolean isLongClick); }
17.538462
63
0.745614
6f275e69ded8e8710d6599bb071a4b5dbc7dd2b7
1,907
package de.thecodelabs.spring.auth.entity; import de.thecodelabs.spring.auth.model.Role; import de.thecodelabs.spring.auth.model.UserType; import javax.persistence.*; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; @Entity @Table(name = "user") public class User { private Lon...
17.495413
57
0.706345
e5f249de991b4219d81974b899652a8857e9ce1a
2,057
/* Copyright (c) 2016 TOSHIBA 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 or agr...
36.087719
150
0.74526
2a6458df6f1bb005e37e11c0191bc4e7ac6030e0
2,121
package com.example.popularmovies.api; import com.example.popularmovies.BuildConfig; import com.example.popularmovies.constants.Constants; import com.example.popularmovies.interfaces.TMDbInterface; import com.example.popularmovies.model.Detail; import com.example.popularmovies.model.ResultMovies; import com.example.po...
31.191176
96
0.713343
e372ac06cc98049c964f1b8048e83a3f8ac314c3
3,855
/* * Copyright (c) 2004-2021, 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...
47.592593
104
0.703243
8469f4dee77bd27a9523176dcd0d108acfe91130
375
package com.example.demo.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @NoArgsConstructor @AllArgsConstructor @JsonIgnoreProperties public class Header { private St...
19.736842
61
0.826667
2efa6a3ec7995dc8851622d8b4a92170c6ee4570
657
package org.apache.spark.sql.execution.adaptive; public class BroadcastQueryStageExec$ implements scala.Serializable { /** * Static reference to the singleton instance of this Scala object. */ public static final BroadcastQueryStageExec$ MODULE$ = null; public BroadcastQueryStageExec$ () { throw new Run...
41.0625
126
0.738204
e63dc4c0e60021342ada994d321e2fd136029062
495
package eu.bcvsolutions.idm.core.api.event; import java.io.Serializable; /** * Empty processor - can be defined, when some result has to be added into event context outside some processor manually. * * @author Radek Tomiška * * @param <E> */ public class EmptyEntityEventProcessor<E extends Serializable> extend...
20.625
121
0.735354
dcc049c25ef8f97644ab396ae5af88a24d058b22
1,779
package com.draco18s.artifacts.block; import java.util.Random; import com.draco18s.artifacts.DragonArtifacts; import com.draco18s.artifacts.entity.TileEntityAntibuilder; import net.minecraft.block.Block; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.cli...
29.163934
94
0.749297
2bc5e5bec14f36357533de041b0cc29ddbaed203
20,178
/* * Copyright 2016 Development Entropy (deventropy.org) Contributors * * 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 r...
38.581262
114
0.735108
22bc6a279934ed5f7aa020a3722a1eacd75c6e85
5,013
package com.ctre.phoenix.motorcontrol; import com.ctre.phoenix.ErrorCode; import com.ctre.phoenix.motorcontrol.can.BaseTalon; import com.ctre.phoenix.motorcontrol.can.MotControllerJNI; /** * Collection of sensors available to the Talon FX. * <p> * For best performance and update-rate, we recommend using the * con...
43.591304
137
0.70377
77daef99267289d4ef5e6f0167d8847a70a03bff
317
package algorithm.settings.domain; import javax.xml.bind.annotation.XmlSeeAlso; /** * Superclass for all available UI settings. * * @author Lukas Brchl */ @XmlSeeAlso({PreprocessingSettings.class,PreviewSettings.class, MogSettings.class, EdgeDetectSettings.class}) public abstract class Settings { }
22.642857
110
0.760252
e6497a01905df33818e6f6959cae3b5a2b1eef4b
5,891
/* * Copyright 2018 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, softw...
39.804054
111
0.650314
3a12bfe1e1c9468d6f8e2a6103e2743695bb3b75
1,976
package com.ikouz.algorithm.leetcode; import com.ikouz.algorithm.leetcode.utils.TestUtil; import java.util.ArrayList; import java.util.HashMap; import java.util.List; /** * Given two arrays, write a function to compute their intersection. * <p> * Example: * Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, ...
32.933333
138
0.586538
a843585c8de52e3ef5ed76b7fab5d917e12bbb25
2,310
package com.airbnb.lottie.p089c.p090a; import android.graphics.PointF; import com.airbnb.lottie.C5851x; import com.airbnb.lottie.p085a.p086a.C5678c; import com.airbnb.lottie.p085a.p086a.C5689n; import com.airbnb.lottie.p085a.p087b.C5713o; import com.airbnb.lottie.p089c.p091b.C5736b; import com.airbnb.lottie.p089c.p092...
24.315789
159
0.622078
711ad59bac6e55aca4aba1a5714c13d7b0a4cfe7
645
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.search.api.config; import net.sf.mmm.util.xml.base.jaxb.JaxbBeanHolder; /** * This is the interface for a container {@link #getBean() holding} the {@link SearchConfigura...
30.714286
101
0.72093
b4c33671c42b533001da603f87b668baecb7d69d
2,605
package org.talend.mq; import java.util.Hashtable; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mockito; import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.PowerMockIgnore; import or...
37.214286
117
0.710173
86f519e0105db1ccf90f25944cac5070f599e9ef
8,421
/* * Copyright 2014 The Error Prone 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 ...
30.733577
112
0.646954
b3b6449533e21030b877b21eb885319e999cbf41
392
package info.dong4j.idea.plugin.sdk.qcloud.cos.exception; public class FileLockException extends CosClientException { private static final long serialVersionUID = 1L; public FileLockException(Throwable t) { super(t); } public FileLockException(String msg) { super(msg); } @Ov...
19.6
59
0.670918
4f156baa4fcb0b622b426a32608cb20cfedf894e
42,900
/* ==================================================================== 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 ...
39
136
0.56683
ca9df042043305165426fe511735d9347321f66d
2,379
package ResourceIO; import TextIO.ConfigEditor; import TextIO.TextParser; import Util.ColorIO; import Util.Tuple; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.util.HashMap; import java....
27.988235
97
0.617486
c795071c11e82da72ddedce2097ca967bfdd5323
1,898
/* * This file is part of the TinsPHP project published under the Apache License 2.0 * For the full copyright and license information, please have a look at LICENSE in the * root folder or visit the project's website http://tsphp.ch/wiki/display/TINS/License */ package ch.tsphp.tinsphp.inference_engine.test.integr...
38.734694
106
0.632244
c93901610d4e21bab1c3042d2508794eb4a42dc8
2,017
/* * Copyright 2013 JBoss, by Red Hat, 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...
34.186441
110
0.673773
4165648747f1f8ef2ea004cc6d569ef7e0e51cfe
4,541
package io.oilfox.backend.api.shared.repositories; import io.oilfox.backend.db.db.UnitOfWork; import io.oilfox.backend.api.shared.builders.ReportBuilder; import org.hibernate.Criteria; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.inject.Inject; import java.util.HashMap; import java.util.List;...
46.336735
104
0.681568
d73b11c59e14aec253a69344fd498c80b718cd3f
1,344
package com.server.impl; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.dao.AllusersMapper; import com.entity.Allusers; import com.server.AllusersServer; @Service public class AllusersServerImpi implements AllusersServer { ...
18.410959
63
0.732143
fb30a12db34220b5c38c72eeaa2589a91e69945d
4,325
package org.ninestar.crawling.pageanalyzer; import com.google.common.base.Joiner; import com.google.common.collect.Maps; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; import crawlercommons.robots.BaseRobotRules; impor...
44.132653
160
0.660116
83ab77cf3a5948780e4222b7f0b5f9f0697fb0f7
4,396
/* * Orika - simpler, better and faster Java bean mapping * * Copyright (C) 2011-2013 Orika 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/lic...
28.732026
111
0.586215
9cb65bf0b60ea8d3d44a7c813b5f3a73815e6e3f
892
package pom.equipo6.test; import org.junit.Test; import pom.equipo6.base.TestBase; import pom.equipo6.pages.VFAlojamientoPage; import pom.equipo6.pages.VFHomePage; public class alojamiento_falabella002 extends TestBase { protected VFHomePage pageHome = null; protected VFAlojamientoPage pageAlojamiento = null;...
33.037037
56
0.738789
bb97675417211526de3c3ff35c858961d0559bae
1,661
/** * Copyright 2020 Association for the promotion of open-source insurance software and for the establishment of open interface standards in the insurance industry (Verein zur Foerderung quelloffener Versicherungssoftware und Etablierung offener Schnittstellenstandards in der Versicherungsbranche) * * Licensed u...
40.512195
297
0.725467
b7ae3777a970306c5c9fb5b4c0e075181877e7a2
312
package com.yuyh.library.support; import android.support.annotation.IntDef; /** * 高亮区域形状 * * @author yuyh. * @date 2016/12/24. */ @IntDef({ HShape.CIRCLE, HShape.RECTANGLE, HShape.OVAL }) public @interface HShape { int CIRCLE = 0; int RECTANGLE = 1; int OVAL = 2; }
13
41
0.599359
1b97bc80e0fb97092c8cc6c23971218491cd2c2e
413
package cn.com.mfish.observer.fans; import cn.com.mfish.observer.blog.Blogger; /** * @author :qiufeng * @description:观察者抽象类 * @date :2022/4/4 19:40 */ public abstract class AbObserver implements Observer { public abstract void receiveNotify(String name); /** * 订阅某个博主 * * @param blogger ...
17.208333
54
0.646489
8ed9fb94ea4f08fe855ebdf1a7933623fdced55b
7,190
package tk.traiders.ui; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; im...
38.449198
132
0.66509
8f2bad262af923f5119456eafceefb3f9b2559ee
1,174
package me.i509.junkkyard.screen.api; import java.util.List; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.widget.AbstractButtonWidget; import net.minecraft.client.ren...
20.964286
60
0.717206
dac154ec54bbb65839c1a727988e6c14f1c0ff52
321
package arrays; public class Solution_905 { public int[] sortArrayByParity(int[] A) { int j = A.length - 1; int i = 0; while (i <= j) { if (A[i] % 2 == 1) { int tmp = A[i]; A[i] = A[j]; A[j] = tmp; j--; } else { i++; } } return A; } }...
13.956522
43
0.392523
a5460e67994c81484e013dea0874a034ad9aaac4
28,874
/* * 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 view; import dao.AlimentoDAO; import dao.EscolaDAO; import dao.EstoqueDAO; import dao.GastoDAO; import dao.RemessaDAO; import ...
49.782759
185
0.634758
922e9751e069d726ecd13cc07f09125a030dc67e
1,397
package com.gbozza.android.gigagal.util; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.utils.TimeUtils; public class Utils { public static void drawTexture...
31.75
117
0.606299
0c21a6277a8352dc88a39baf575e14d2f6d15700
573
package model; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import operation.ComboboxList; import system.DateAndClock; public class TransactionHistoryModel extends DateAndClock { public ObservableList<String> loadAllMonths() { ObservableList<String> list = FXCollections.obse...
24.913043
104
0.790576
086f0ebae6f14fc00f11682b6399233dfaf6f176
535
package com.wizzardo.tools.collections.flow.flows; import java.util.Comparator; /** * Created by wizzardo on 16.04.16. */ public class FlowMaxWithComparator<A> extends FlowProcessOnEnd<A, A> { private final Comparator<? super A> comparator; public FlowMaxWithComparator(A def, Comparator<? super A> comparat...
24.318182
75
0.652336
2c7a0b81a849c1449c0fb9a3e81ca8572bb27a40
640
package no.bouvet.sandvika.oauth2.resource.server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; import org.springframework.security.oauth2.co...
35.555556
102
0.839063
8b37f0001f7c68506a50320e2b56fd6dffb2ba2c
1,541
package com.handsomezhou.funnyalgorithm.model; /** * Created by zhoujq on 2017/10/31. */ public class AlgorithmQuestion { /** * id : 1 * question : 一个格子摆放的随机排序的算法? * questionDescription : 已知外部的大格子的总面积、长、宽是固定,其中分割的格子数也是固定的13个(不一定是13个,这个只是举例,但是随机前知道多少格)。现在我需求是想用某个算法,通过程序去做一个随机,让13个格子的位置随机变化(13个格子的...
24.460317
192
0.681376
75d80be1f14294a9d3e16797ce3aa78c75cd2327
256
package com.woodplantation.werwolf.network.objects; /** * Created by Sebu on 12.01.2017. */ public class KickedInformation extends Command { private static final long serialVersionUID = -8637561830191718634L; public String message; }
23.272727
72
0.730469
d802a4b0e950b9bf790416f4fee11a07579c68fb
4,816
package com.emistoolbox.common.excelMerge; import java.util.List; import java.util.Map; import com.emistoolbox.common.excelMerge.ExcelMergeConfig.CellType; import com.emistoolbox.common.model.analysis.EmisAggregatorDef; import com.emistoolbox.common.model.analysis.EmisIndicator; import com.emistoolbox.common....
35.674074
158
0.609427
25dedb6edef360fd06b9318e6502cb01001c13e5
3,796
package com.fc.v2.service; import java.util.List; import java.util.Arrays; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import cn.hutool.core.util.StrUtil; import com.fc.v2.c...
26.17931
125
0.726027
b0cd7886a0f845d52e40c3ff042940da0acf4d5c
221
package com.obdobion.billiardsFX.model.drills.sologames.bowlliards; /** * <p> * BreakModifier class. * </p> * * @author Chris DeGreef fedupforone@gmail.com */ public enum BreakModifier { SCRATCH }
15.785714
68
0.660633
c553c071bc1f00d3df1efd30a94f8caf81f0c820
22,426
import static org.junit.Assert.*; import java.io.File; import java.util.ArrayList; import java.util.HashSet; import java.util.Set; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import plantsInsects.Insect; import plantsInsects.Insec...
37.129139
160
0.720904
a481e03cf492672628eb1e668b8f15072dbb2a9a
3,676
package eu.cityopt.opt.io; import java.io.IOException; import java.io.InputStream; import java.nio.file.Path; import java.util.Collections; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import com.fasterxml.jackson.annotation.JsonCreator; import com.fast...
33.418182
78
0.693417
b5ca91a8f96f11f9f79f56be715f7b7fa8100fe6
10,600
/* * 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 simulator.gui; import analyzer.bl.AnalyzerManager; import general.beans.io_objects.CommandRun; import general.beans.io_objects...
38.129496
152
0.67283
4a77ed1ef3f03df5d600344957aa0638e1e8c128
623
package com.shizheng.lreanexpandablerectclervview.musiclistdetail; public class MusicListBean { private String musicTitle; private String musicActor; private String coverImageUrl; public MusicListBean(String musicTitle,String musicActor,String coverImageUrl){ this.coverImageUrl = coverImageUr...
23.074074
83
0.696629
7b520193a10d23d73ffc50cadf371858e274e64d
2,340
/* * Copyright (C) [SonicCloudOrg] Sonic 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 ap...
31.621622
106
0.744444
17bdaf803a256685862444500eca1ee8f2c635f4
2,584
/* * Licensed to the University Corporation for Advanced Internet Development, * Inc. (UCAID) under one or more contributor license agreements. See the * NOTICE file distributed with this work for additional information regarding * copyright ownership. The UCAID licenses this file to You under the Apache * Lic...
43.066667
116
0.759288
e1fd8f729b6a3043e02d7e14412f496820f74e75
378
package com.dmall.sso.service.impl.feign; import com.dmall.mms.api.service.ThirdPartyPlatformService; import org.springframework.cloud.openfeign.FeignClient; /** * @description: ThirdPartyPlatformFeign * @author: created by hang.yu on 2020/3/1 21:49 */ @FeignClient("dmall-service-impl-member") public interface Thi...
31.5
77
0.806878
c47517dc94cb50f3f5dfdb1b8d25e0035b1bece6
2,261
/* * Copyright 2018 TWO SIGMA OPEN SOURCE, 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 appl...
35.328125
113
0.770013
0d0d0e572072402009a56a49b2cef6f4d36ae302
1,908
// Copyright 2012 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; import org.chromium.base.annotations.CalledByNative; import org.chromium.base.annotations.JNINamespace; import org....
31.278689
96
0.709119
b28012ee83bfc9710d768e524b06bb84e853e0c7
13,915
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.sql.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; import com.azure.core.h...
57.263374
116
0.751922