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
c1f5f7afb58bb3f42aaa4540b5b39872f570cd71
10,421
package com.jerryjin.kit.graphics.view; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.DashPathEffect; import android.graphics.Paint; import android.graphics.Path; import android.graphics.PathEffect; import a...
33.724919
125
0.6247
31fb38dc5b5f76ccf41b88fcb2055898f2e0b275
489
package ca.georgebrown.comp3074.fragment_recyclerview; public class Person { String name; String hobby; public Person(String name, String hobby) { this.name = name; this.hobby = hobby; } public String getName() { return name; } public void setName(String name) { ...
17.464286
54
0.588957
1e047b89087a611ec8e6fff103abcd778e35171b
692
package com.interpreter.math.operators; import com.interpreter.math.MathStatement; import com.interpreter.math.MathValue; import com.interpreter.math.Operators; import org.junit.Test; import java.util.LinkedList; import static org.junit.jupiter.api.Assertions.assertTrue; public class TestCompere { @Test pu...
26.615385
64
0.716763
36618cb3e640c2cde6e5e079659815f20fce5667
2,828
package com.senac.petshop.infra; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import org.apache.log4j.Logger; /** * Classe que, posteriormente, será utilizada para armazenar dados de conexão * com banco de dados. * * @author lossurdo */ public abstract cla...
33.666667
113
0.579562
7f61eb890115b3c03295ce2283e6c3cd65feabfa
1,678
package pl.szczepanik.silencio.integration; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.util.Properties; import org.junit.Test; import pl.szczepanik.silencio.GenericTest; import pl.szczepanik.silencio.api.Format; import pl.szczepanik.silencio.api.Processor; import...
33.56
117
0.724672
61860b3886e18d6e979ae8a98a9407429af0b990
1,069
package actions; import com.fasterxml.jackson.annotation.JsonProperty; /** * informatia despre un consumator nou */ public final class NewConsumers { private int id; private int initialBudget; private int monthlyIncome; public NewConsumers(@JsonProperty("id") final int id, ...
22.744681
84
0.638915
79eb921c186af7b4e77a6979fa2503f9f4355357
404
package br.com.neobank.bank.test; import br.com.neobank.bank.model.CheckingAccount; public class TestingArrays { public static void main(String[] args) { CheckingAccount[] accounts = new CheckingAccount[2]; CheckingAccount c1 = new CheckingAccount(12, 2313); CheckingAccount c2 = new CheckingAccount(15, 5432...
18.363636
54
0.720297
2968c2125e47ca573a2d5da6440241188e6055a2
90,598
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Ve...
29.424488
230
0.629628
d27bd9b7a57da5bd4f4effcdece6aefece844556
450
package com.gitghub.thiagogarbazza.exemplos.restadapter; import com.gitghub.thiagogarbazza.exemplos.domain.AnyDomain; import com.gitghub.thiagogarbazza.exemplos.domain.AnyService; public class AnyDomainRestController { private AnyService anyService; public void criar(AnyDomain anyDomain) { anyServic...
25
61
0.764444
f746a857688e2bb681d526cc2f7be3d6687a1c59
13,458
/******************************************************************************* * Copyright FUJITSU LIMITED 2018 *******************************************************************************/ package org.oscm.serviceprovisioningservice.bean; import static org.junit.Assert.assertEquals; import static org.junit.A...
40.65861
88
0.651211
53dc39358d7c5cbc1c252e5be346d76979f4ac47
9,524
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.curve; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertFalse; import static org.testng.internal.j...
40.016807
109
0.706636
be0416d6165c9ab2e8881a9f2d0c321107414da2
3,614
/* OpenRemote, the Home of the Digital Home. * Copyright 2008-2011, OpenRemote Inc. * * See the contributors.txt file in the distribution for a * full listing of individual contributors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public...
35.431373
103
0.682623
1f8543df2f7da6570e5bb373fd2809032e608a04
1,982
package no.ssb.dc.core.handler; import com.fasterxml.jackson.databind.JsonNode; import no.ssb.dc.api.context.ExecutionContext; import no.ssb.dc.api.handler.DocumentParserFeature; import no.ssb.dc.api.handler.Handler; import no.ssb.dc.api.handler.QueryFeature; import no.ssb.dc.api.http.Response; import no.ssb.dc.api.no...
37.396226
143
0.712412
24fdc4c46910cc6aa5bda0d5cdd84467de9be6bb
626
package com.rnb.demo.persistence.dao.user; import com.github.pagehelper.PageHelper; import com.rnb.demo.entity.po.user.UserInfo; import com.rnb.demo.persistence.mapper.user.UserInfoMapper; import com.rnb.newbase.persistence.dao.BaseDao; import com.rnb.newbase.persistence.mapper.BaseMapper; import org.springframework.s...
28.454545
59
0.792332
a8a94d9afe8509065635f7950634361f8f3f3b61
1,668
package lsedit; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Graphics; import javax.swing.Icon; public class Elision_c_Button extends ToolBarButton implements Icon { protected static final String description = "Open/close container"; protected String ...
18.533333
69
0.576139
72ef9e6fea7a95f5f5d9f75c8023ae088a3fd44d
3,661
package ai.labs.parser.internal.matches; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import java.util.*; /** * @author ginccc */ public class MatchMatrix implements Iterable<Suggestion> { @AllArgsConstructor @Getter @Setter @EqualsA...
30.508333
95
0.586452
b5e9293f7cc0ae436150f3b95a9d9e94ac775576
199
class MissingSymbol { public static void main(String[] args) { System.out.println(new MS().run()); } } class MS { public int run() { x = y + 1; return z; } }
15.307692
44
0.507538
0c2208e5af9531e1aa06316b9b2943432771f06b
72
package com.viaden.sdk.script; class RetException extends Exception { }
18
38
0.805556
c723e8a5d0ceacad35f44f4e7369c9a403e6dc7f
953
package com.yozosoft.fileserver.service.aspects; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Pointcut; import org.springframework.stereotype.Component; /** * @author zhoufeng * @description * @...
29.78125
125
0.700944
f2c60afa481abc4bfb761a1954fe404ca3f2824f
1,648
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ProOF.apl.sample1.problem.real.multi; import ProOF.gen.codification.FunctionMulti.RealMulti; import ProOF.opt.abst.problem.meta.objective.BoundDbl; /** * <pre> * function with 2 objectives * name : Sriniva...
26.15873
67
0.554005
47e3e3c115ec8dcfe0638ffe05b7ea39a16e940b
18,766
/******************************************************************************* * Copyright (c) 2000, 2015 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
50.718919
240
0.654588
86f55a8225176d3cb76c8434036ccb2a274e06b2
3,651
package com.craftmend.openaudiomc.generic.commands.subcommands; import com.craftmend.openaudiomc.OpenAudioMc; import com.craftmend.openaudiomc.generic.commands.CommandModule; import com.craftmend.openaudiomc.generic.commands.interfaces.GenericExecutor; import com.craftmend.openaudiomc.generic.commands.interfaces.SubCo...
47.415584
145
0.640099
2c0b9596f85d537ecee49fc5f4c2fc0e5b8b60ca
5,313
/* * Copyright (c) 2014, Bruce Schubert <bruce@emxsys.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright ...
34.953947
84
0.661208
2ab8f55f3c6119e16c9a042ab0d873deb468ea90
464
package org.lilbaek.webstorm.testcafe.helpers.testcafe.result; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; @JsonIgnoreProperties(ignoreUnknown = true) public class TestCafeJson { @JsonProperty("passed") public Inte...
22.095238
62
0.773707
6d4c0be8ee551282ec7cac5e01c79d1a274ed03a
1,850
package com.supervisor.copying.cloning; import java.io.IOException; import java.util.Map; import java.util.UUID; import com.supervisor.copying.AbstractDataFieldOfSheetWriter; import com.supervisor.copying.generating.DataSheetGenerating; import com.supervisor.domain.DataFieldOfSheet; import com.supervisor.domain.DataM...
37.755102
142
0.821081
b883ae0790e06a301a9b69c0693eb22a95a79582
545
package top.geminix.circle.dao; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import top.geminix.circle.domain.AdminInfo; public interface IAdminInfoDao { /** * @Author Zachary * @param adminName * @param adminPassword * @return */ @Select("...
28.684211
130
0.72844
3c94feab274d1004d021e7cb7bb0fc39dad22b08
3,915
package Radium.ParticleSystem; import Radium.Color.Color; import Radium.Components.Particles.ParticleSystem; import Radium.Math.Mathf; import Radium.Math.QuaternionUtility; import Radium.Math.Random; import Radium.Math.Vector.Vector2; import Radium.Math.Vector.Vector3; import Radium.Time; import Radium.Variables; impo...
32.090164
138
0.667178
4741dbcb359df14c3b186655f20b7db1f68192dd
1,138
package org.opensource.demo.observer; import java.util.List; import java.util.ArrayList; public class Conference implements Topic { private List<Observer> listObservers; private int totalAttendees; private int totalSpeakers; private String nameEvent; public Conference() { listObservers = ...
27.756098
95
0.657293
fd5be44bf7cacd1ee08d5191495941b1ce82c482
759
import java.awt.Image; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JLabel; public class GameObject extends JLabel { private String name; private Image gameIcon; public GameObject() { this.name = null; this.gameIcon = null; } public GameObject(String na...
14.596154
48
0.641634
574d3d8dd1c4d0c2de9bd10c26120846c5c7f291
514
package org.anyline.wechat.entity; public class WechatTemplateMessageResult { private int errcode; private String errmsg; private long msgid; public int getErrcode() { return errcode; } public void setErrcode(int errcode) { this.errcode = errcode; } public String getErrmsg() { return errmsg;...
18.357143
42
0.678988
1b28580dccfa18ec81f1176b9f79df8dbc8502ae
2,179
package org.narrative.network.customizations.narrative.reputation.services; import org.narrative.network.core.quartz.NetworkJob; import org.narrative.network.customizations.narrative.reputation.EventMessage; import org.narrative.network.shared.tasktypes.GlobalTaskImpl; import org.narrative.network.shared.tasktypes.Tas...
34.587302
135
0.678293
b2dcf664c466cb2b80731d5c9707602c0109db02
661
package gr.istl.virtualtoolkitsc.api.listeners; public interface VirtualMouseListener extends VirtualListener { public void mousePressed(VirtualMouseEvent e); public void mouseReleased(VirtualMouseEvent e); public void mouseExited(VirtualMouseEvent e); public void mouseEntered(VirtualMouseEvent e); public voi...
24.481481
63
0.797277
cbbc2514c8a0dbcf9e03b78c21c172c53490576d
3,265
package com.accela; import com.google.inject.Inject; import org.apache.logging.log4j.util.Strings; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import picocli.CommandLine.Spec; import picocli.CommandLine.Command; import picocli.CommandLine.Option; import picocli.CommandLine.Model.CommandSpec; import javax...
34.368421
111
0.656355
1f2ba2cd287bc8d741a158d6ed0b2e959cc583b9
3,467
package pkovacs.aoc.y2016; import java.util.List; import pkovacs.aoc.util.CounterMap; import pkovacs.aoc.util.InputUtils; public class Day23 { // Original code for a = b * d; c = 0; d = 0; (7 commands) private static final String MULTIPLICATION_ORIG = "cpy 0 a\ncpy b c\ninc a\ndec c\njnz c -2\nd...
33.990196
114
0.445053
6f348b1d6b1b41ca92f68ab4e741758dae2d60d7
317
package com.example.application.backend.repository; import com.example.application.backend.entity.Friend; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; public interface FriendRepository extends JpaRepository<Friend,Integer> { List<Friend> findAllByUserId(int userId); }
26.416667
73
0.823344
1360ae8f669d188a891658b8e94c8de2405bd171
5,812
package modelo.estrategia; import java.io.IOException; import modelo.Barco; import modelo.Casilla; import modelo.EstadoCasilla; import modelo.Game; import modelo.Tablero; import vista.consola.GamePrinter; public abstract class Jugador { //definir variables del jugador protected Tablero t; private ...
32.288889
157
0.61958
a1063010c67d860ed641334e8ff19c94e5f06bc4
967
package util.test; import util.linalg.Matrix; import util.linalg.RectangularMatrix; import util.linalg.TridiagonalDecomposition; /** * A test of the tridiagonal decomposition * @author Andrew Guillory gtg008g@mail.gatech.edu * @version 1.0 */ public class TridiagonalDecompositionTest { /** * Test main, creat...
22.488372
64
0.625646
33414f234cf6ee8e455e4772d1bd3a1af616844d
3,844
/* * MIT License * * Copyright (c) 2021 EPAM Systems * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
38.44
98
0.745057
f77bd38e1e867e0cf3dcbaaf4af97f870603c226
3,971
package com.github.iweinzierl.moviedatabase.backend.controller; import com.github.iweinzierl.moviedatabase.backend.domain.LentMovieInfo; import com.github.iweinzierl.moviedatabase.backend.domain.Movie; import com.github.iweinzierl.moviedatabase.backend.persistence.LentMovieInfoRepository; import com.github.iweinzierl....
41.8
120
0.704608
65e4b3be3463a99f60299214c91d63d743ba3c4a
1,844
package com.cds.iot.data.source.remote; /** * Created by Administrator Chengzj * * @date 2018/11/7 17:35 */ import java.io.IOException; import okhttp3.MediaType; import okhttp3.ResponseBody; import okio.Buffer; import okio.BufferedSource; import okio.ForwardingSource; import okio.Okio; import okio.Source; /** ...
22.216867
86
0.619306
5283d28410fe8c66e0dd2783103489e581916d65
507
import java.io.FileOutputStream; import java.io.IOException; import java.nio.channels.FileChannel; public class TruncFile { public static void main(String[] args) throws IOException{ if(args.length < 2){ System.out.println("Usage: java TruncFile fileName newSize"); return; } //turn on "append" so it doesn...
28.166667
73
0.731755
5ac6a775be7505bd77e058817462798386ef5fc9
3,711
package com.r4sh33d.iblood.emailregistration; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGr...
33.133929
126
0.720291
7838f53703fca062df4d8ed26ffe795fd3188378
519
package com.casafacilimoveis.model.enums; /** * casa-facil-imoveis * Wender Galan * Todos os direitos reservados © * ********************************************* * Nome do arquivo: TipoNegocio.java * Criado por : Wender Galan * Data da criação : * Observação : * ********************************************* ...
17.896552
48
0.508671
a526a80cebed816a457d6b7ecd4fdb230bbf9f11
1,832
package TestUnit.commonTest; import java.sql.SQLException; public class TestAccess { /** * @param args * @throws SQLException */ public static void main(String[] args) throws SQLException { // TaskExcel task =new TaskExcel(); TestAccess test = new TestAccess(); // test.addTask(task); System.out.print...
26.550725
81
0.642467
b847d181743ac7b25d94e270a394503de2c0bba4
742
package org.cloudfoundry.autosleep.ui.web.model; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @Builder @AllArgsConstructor(access =...
23.1875
56
0.792453
939448c3bbf5f565dc1d1fd45376ca3f1ff62869
7,481
package com.oldratlee.land.launcher; import com.oldratlee.land.DelegateType; import com.oldratlee.land.LandClassLoader; import com.oldratlee.land.matcher.LandMatcher; import java.io.File; import java.io.IOException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URL; import java.u...
43.494186
141
0.639888
8d000f743ff5c1e862870ee54fb45f3af63fbbe9
4,898
package rest_assured; import java.util.*; import io.restassured.path.json.JsonPath; import io.restassured.http.Header; import io.restassured.http.Headers; import io.restassured.response.Response; import static io.restassured.RestAssured.get; import static io.restassured.RestAssured.given; import static io.restassured....
43.732143
169
0.660474
ff4e6bd8e286ddbe4af7f531b05afe31b3429af1
1,206
package com.bych.entity; public class Region { private Integer id; private String managerCode; private String county; private String code; private String name; private String remark; public Integer getId() { return id; } public void setId(Integer id) { this.id...
19.142857
75
0.583748
b70a7f9f7255178effc40a3e07394859829bcdf5
253
package io.cattle.platform.configitem.server.template; import io.cattle.platform.configitem.server.resource.Resource; import java.io.IOException; public interface TemplateFactory { Template loadTemplate(Resource resource) throws IOException; }
21.083333
64
0.818182
545677bd056cddf1feadbceb02f85c798400048f
3,073
package com.creact.steve.retrofitsample; import android.app.ProgressDialog; import android.os.Bundle; import android.os.Handler; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.To...
36.152941
94
0.664172
416b35b07b4e829f47c31d5fb061343462ba8ff7
371
package Clases; public class TipoUsuario { private int id; private String tipo; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getTipo() { return tipo; } public void setTipo(String tipo) { this.tipo = tipo; } public TipoUsuario(int id, String tipo) { s...
14.269231
42
0.644205
977a4b23c4492409911618722425ceaac89bc633
560
package it.uniroma2.art.semanticturkey.settings.alignmentservices; import it.uniroma2.art.semanticturkey.extension.settings.Settings; import it.uniroma2.art.semanticturkey.properties.STProperty; public class RemoteAlignmentServiceProjectSettings implements Settings { @Override public String getShortName() ...
32.941176
144
0.798214
2ff32c22187aa8e9ad3199ec55f71e943ffb0149
2,267
package algo.recursion; /** * Tower of Hanoi is a mathematical puzzle where we have three rods and n disks. * The objective of the puzzle is to move the entire stack to another rod, obeying the following simple rules: * 1) Only one disk can be moved at a time. * 2) Each move consists of taking the upper disk from...
33.338235
181
0.481694
48d80b99331eba77308e9ef75edef84902b76137
245
//package com.teamide.ide.engine; // //import javax.servlet.http.HttpSession; //import javax.websocket.Session; // //public interface Engine { // // public EngineSession open(HttpSession httpSession, Session websocketSession, String token); //}
24.5
94
0.759184
1c58112293a911d26f2b811bbc02b092b21e29af
2,388
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
41.172414
152
0.684255
b62dbb54bf250ba91b5240c9e7c4ef9a84ffa0d3
1,285
/** * Copyright (C) 2014-2016 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
29.883721
75
0.706615
082eeae26a1e1d2154342b7c55de22dfdffa4c08
8,928
package com.xht.android.companyhelp; import android.app.ActionBar; import android.app.Activity; import android.app.ProgressDialog; import android.content.ContentValues; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.Gravity; import android.view.MenuItem; imp...
33.066667
168
0.549619
25273ee784a107be5d5536011875873e8c7b2a40
941
package com.dianping.pigeon.console.domain; import java.io.Serializable; public class ServiceMethod implements Serializable { /** * */ private static final long serialVersionUID = 5762333205567884762L; private String name; private Class<?>[] parameterTypes; private Class<?> returnType; public ServiceMe...
18.82
84
0.718385
c940480e027793854d6a146a0d393ef0fcbf3a97
5,062
package com.springboot.rest.mapper; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Objects; import java.util.Set; import java.util.stream.Collectors; import org.mapstruct.BeanMapping; //import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.Nam...
34.910345
118
0.671869
2b1b156def6d99ae957815908f8f056afb3dc86d
1,670
package compal.storage; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; //@@author jaedonkey public class UserStorageManager implements Storage<String> { public static final String DEFAULT...
24.558824
95
0.573653
313f4e2c56ab4035ba177190526726bfb26dd63b
2,348
package com.luohz.tuantuan.member.controller; import java.util.Arrays; import java.util.Map; import com.luohz.tuantuan.member.feign.CouponFeignService; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annot...
23.48
93
0.666951
284a3cf0a217b19f56851c1e74adac6e18dc4644
3,531
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
23.858108
118
0.71906
d9c5adb18aa2cd93d7f467ffadbe114e5e0e325c
5,760
/* * -\-\- * Spotify Apollo API Implementations * -- * Copyright (C) 2013 - 2015 Spotify AB * -- * 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/licens...
33.488372
100
0.721181
b5301ae3b3996aa6d170a9e5d19a97b4544c153b
2,046
/* * Copyright (C) 2018 Velocity Contributors * * The Velocity API is licensed under the terms of the MIT License. For more details, * reference the LICENSE file in the api top-level directory. */ package com.velocitypowered.api.command; import com.google.common.collect.ImmutableList; import java.util.List; impo...
30.537313
93
0.729228
bb022ff4dd47f0a95a7058b5c80753b07c423912
1,089
package tk.tcomad.testsystem.model.persistence; import java.io.Serializable; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import com.vladmihalcea.hibernate.type.j...
25.928571
66
0.784206
c5ba662738ec68366d4a3c78e5c341a879b2bc0e
2,100
package com.newrelic.lib; import java.util.*; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import org.json.simple.JSONArray; import org.json.sim...
30.882353
98
0.629524
ee67f6aa415ab5452f68f4e3590a6f0c23100587
27,138
/** * GitLabRelatedData * * Copyright 2015 FraggedNoob on GitHub.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 *...
25.058172
103
0.648758
30a196e1bc2d050579d81b402fecd6e3e8bb19c5
1,712
package com.example.service.usuario; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.securi...
31.127273
107
0.795561
973cb27a87abbce27ca6c55da5314095ab3847cf
3,301
package com.ai.cas.webflow.handler; import com.ai.cas.domain.SysCaUser; import com.ai.cas.domain.UserCa; import com.ai.cas.exception.NoCAConfigException; import com.ai.cas.mvc.service.LoginService; import com.ai.cas.util.Encrypt; import com.ai.cas.webflow.authentication.UsernamePasswordSysCredential; import org.apereo...
39.297619
120
0.744926
2bf63dc56164484ec8305a830c19b83dbfada9d6
1,974
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
32.360656
80
0.745187
60503416ffc540374ba2211fdc3ee7cd2be18e36
12,005
/** * * :-::-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-+:-+:-+:-+:-++:-:+:-:+:-:+:-: * * This file is part of CHiLOⓇ - http://www.cccties.org/en/activities/chilo/ * CHiLOⓇ is a next-generation learning system utilizing ebooks, aiming * at dissemination of open education. * ...
29.352078
164
0.66414
f03deb1051bb19629fc3e82a02ed72b29016a515
606
package chess_game.game_object; import chess_game.util.Direction_enum; import org.joml.Vector3f; import org.joml.Vector3fc; import static org.lwjgl.glfw.GLFW.*; public class Player2 extends Player { public Player2(Vector3f position, Vector3fc color, int windowWidth, int windowHeight) { super(position, color, Dir...
23.307692
86
0.788779
ea43443add5446b8602f7090bd4723043170aa88
1,347
/* * 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 * distribu...
29.933333
81
0.719376
8dc204449b3756c28bd888e6c51d441c974649a5
1,977
/* * Copyright 2010-2015 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...
38.019231
110
0.738998
0f092e7858ec7e3e1a96a954458e37b712e27c68
2,532
package ir.jm.iranpostcode.model.dto.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import ir.jm.iranpostcode.model.dto.entity.interfaces.AbstractModel; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.ForeignKey; import javax.pers...
20.419355
115
0.676145
ad1b8ffbc5ae66c2a1979b9d739fc258dbdd5d30
1,105
package com.marlonn.devmov2.model; import java.io.Serializable; public class Usuario implements Serializable { private String id; private String nome; private String fotoPerfilGoogle; private String idUsuario; public Usuario (String id, String nome, String fotoPerfilGoogle, String idUsuario) { ...
19.385965
88
0.630769
15db407b328d6777e0d529586e4681fa7328421a
196
package org.apache.poi.ss.formula.ptg; public interface Pxg { int getExternalWorkbookNumber(); String getSheetName(); void setSheetName(String var1); String toFormulaString(); }
14
38
0.72449
6979afe9fc10c2e1707df83c1c100cb84b41bcf2
659
/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template */ package konversitipedata; /** * * @author Lenovo */ public class Konversitipedata { /** * @par...
27.458333
102
0.647951
0dde0d19fbebfa164da6fd1b8defd74ba762c6e6
706
package cn.itrip.mapper.itripUser; import cn.itrip.beans.pojo.ItripUser; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; public interface ItripUserMapper { public ItripUser getItripUserById(@Param(value = "id") Long id)throws Exception; public List<ItripUser> getI...
32.090909
90
0.790368
c05d692d644d02acdc3df4dd3039fce5758ea15a
5,357
package com.dataloom.integrations.iowacity; import static com.dataloom.integrations.iowacity.SharedDataModelConsts.MUGSHOT_FQN; import static com.dataloom.integrations.iowacity.SharedDataModelConsts.SUBJECTS_ALIAS; import static com.dataloom.integrations.iowacity.SharedDataModelConsts.SUBJECTS_NAME; import static com....
41.207692
117
0.598283
9f85751ab38265b112874a777f904add3d66c074
660
package com.song.deviceinfo.ui.base; import android.content.Context; import java.util.List; import androidx.recyclerview.widget.RecyclerView; /** * Created by chensongsong on 2020/5/25. */ public abstract class BaseAdapter<T, K extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<K> { protected List...
20.625
105
0.672727
b47435e29d28d27dc331dc2084524539203a5329
187
package something.exception; /** * @author chenyu * @date 2020-08-18 */ public class MyException extends Exception { public MyException(String message) { super(message); } }
14.384615
44
0.68984
e96c93576b848a7a5ca044e3ef44bb3e4767d2cd
2,278
package gui; import alert.AlertCollection; import javafx.fxml.FXML; import javafx.scene.control.DatePicker; import javafx.scene.control.TextField; import java.time.LocalDate; import java.util.GregorianCalendar; /** * GUI Controller class for adding/editing manual alerts. */ public class ManualAlertController exten...
29.205128
79
0.600088
864dac69b5ac0d27bfa410aaab507dda9350e73b
1,481
package io.github.kjarosh.javacon.testcontainers.service.database.config; import io.github.kjarosh.javacon.testcontainers.service.database.mappers.EventLogMapper; import lombok.RequiredArgsConstructor; import org.apache.ibatis.mapping.Environment; import org.apache.ibatis.session.Configuration; import org.apache.ibati...
33.659091
88
0.774477
ba56047d6dc4038bfa9d9588d08884256450c45a
5,311
package net.minecraft.world.gen.feature; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockDirt; import net.minecraft.block.BlockPlanks; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; import net.minecraft.util...
45.393162
152
0.650537
53921689a1bf78d3b5551b34c79ecd03f714a6ea
757
package com.tnb.f3r10.tutorinhome.tutorlist.di; import com.tnb.f3r10.tutorinhome.domain.TutorInHomeAppModule; import com.tnb.f3r10.tutorinhome.domain.di.DomainModule; import com.tnb.f3r10.tutorinhome.lib.di.LibsModule; import com.tnb.f3r10.tutorinhome.tutorlist.TutorListPresenter; import com.tnb.f3r10.tutorinhome.tuto...
31.541667
111
0.811096
dda114965559d041ac8a20ed61e5baff250cab8d
4,387
package com.github.microwww.bitcoin.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.github.microwww.bitcoin.JsonRpcResult; import java.util.List; public class AccountTransaction { public static class Result extends JsonRpcResult<AccountTransaction[]> { } public static final Strin...
20.791469
76
0.630043
6da78004c5d78175f12a86eed48cd6da14c64efc
3,368
package me.retrodaredevil.solarthing.message.event; import com.fasterxml.jackson.annotation.JsonTypeName; import me.retrodaredevil.solarthing.message.MessageSender; import me.retrodaredevil.solarthing.packets.Packet; import me.retrodaredevil.solarthing.packets.collection.FragmentedPacketGroup; import me.retrodaredevil...
37.010989
151
0.772862
3dcd6c834690e2cbbf2185994c8a943b7ca6132c
3,114
/* * Copyright 2019 Patrik Karlström. * * 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...
33.847826
174
0.65639
3eb87413c94324bd66b9b675ab751c790901f4a4
4,000
/* * 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. */ package org.fcrepo.kernel.api.models; import org.fcrepo.kernel.api.identifiers.FedoraId; import java.net.URI; import java.time.Instant; import java.util.Collectio...
23.668639
118
0.626
41949b00db7ceb3d5f05bf36c359df5030c02ac1
4,958
package com.github.izhangzhihao.SpringMVCSeedProject.Config; import com.github.izhangzhihao.SpringMVCSeedProject.Interceptor.AuthInterceptor; import com.github.izhangzhihao.SpringMVCSeedProject.Interceptor.AuthorityByRole; import org.springframework.context.annotation.Bean; import org.springframework.context.annotati...
40.308943
124
0.742235
41aef72d063b86de509a6f7b4e744d093b64e3ce
3,647
/** * generated by Xtext 2.19.0 */ package org.afplib.afpText.impl; import org.afplib.afpText.AfpTextPackage; import org.afplib.afpText.CTC; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.ENotificationImpl; /** * <!-- begin-user-doc --> ...
20.488764
112
0.589526
f0e30addb181a09e12a9686d5b9c862353325255
6,190
package com.anonymouser.book.utlis.http; import com.anonymouser.book.bean.CategoryBean; import com.anonymouser.book.bean.CategoryBookItemBean; import com.anonymouser.book.bean.CategoryItemBean; import com.anonymouser.book.bean.LastChapterBean; import com.anonymouser.book.bean.SearchBookInfoBean; import com.anonymouser...
43.286713
147
0.650242
64f434865d610ef6b26a7321e7322fd24f7334f5
100
package com.bloomhousemc.terrafabricraft.common.statuseffect; public class ThirstyStatusEffect { }
20
61
0.85
2dda582ef37c755e07808e52a628355ea0844f0b
1,383
/* * Copyright 2018, Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.systemtest.matchers; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; /** * <p>A LogHasNoUnexpectedErrors is custom matcher to check log...
30.065217
139
0.642805
70fba3453c98ad2376c8cbbc8d52ed4e604d872c
894
package VoiceMenuTest.constraints; /*Generated by MPS */ import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; import org.jetbrains.mps.openapi.language.SConcept; import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory; public class Command_Constraints extends BaseConstraintsDescriptor { pub...
37.25
183
0.806488
fd942c5469780fee6894f2201dfe17e202d99456
1,743
package com.datastax.driver.core; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import java.util.OptionalLong; import java.util.Set; public class M3PTokenFilter { private final TokenRange[] ranges; private final ProtocolVersion protocolVersion; private final CodecRegistry ...
36.3125
119
0.674125
bf2f25a5962c2bb892c59973902ac9a21554f724
2,441
/* * 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 ...
24.168317
80
0.687833
70a41b53ff3535363e8b2823552bc76eec1f723f
711
/** * This document is a part of the source code and related artifacts for * SMSystem. * www.brilapps.com * Copyright © 2016 brilapps * */ package com.brilapps.core.exceptions; /** * Exception for invalid argument. * * @author Pradeep * */ public class InvalidArgumentException extends Applica...
20.314286
77
0.656821
36805a8dff32a92d085e7993f76be199f5827bc3
733
package com.zup.bootcamp.configuration; import java.util.ArrayList; import java.util.List; public class ControllerError { private List<String> globalErrorsMessages = new ArrayList<>(); private List<FieldErrorController> fieldErrors = new ArrayList<>(); public void addError(String message){ globa...
23.645161
83
0.712142