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
8c0cb34450b439df654644b9d292d3b8280a28f5
2,272
package com.gmail.htaihm.nytimessearch.model; import android.os.Parcel; import android.os.Parcelable; public class ArticleMultimedia implements Parcelable { private String mUrl; private String mType; private String mSubtype; private int width; private int height; public ArticleMultimedia() { ...
22.27451
86
0.567782
febc31d63e0f1615b40c0dfaf51a8066181760d5
2,122
/** * Copyright (C) 2012 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
21.876289
75
0.629595
224c38a96b0352052931cb25073d2285be98d10e
3,750
package com.github.lit.security.service.impl; import com.github.lit.jdbc.JdbcTools; import com.github.lit.jdbc.enums.Logic; import com.github.lit.plugin.exception.AppException; import com.github.lit.security.model.*; import com.github.lit.security.service.RoleService; import com.google.common.base.Strings; import org....
30.991736
108
0.607733
3015c3960991c4074804d7cf97ed18c4c363225c
285
package org.github.felipegutierrez.explore.akka.classic.clustering.chat; public class ChatUserForeverAlone { // public static void main(String[] args) { public static void run(String[] args) { ChatAppJ foreverAlone = new ChatAppJ("ForeverAlone", 2553, false); } }
31.666667
74
0.719298
6790a34ab95a0db120bb3337e8d85e7d19bb0642
2,951
package com.summithillsoftware.ultimate.ui.cloud; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import com.summithillsoftware.ultimate.R; import com.summithillsoftware.ultimate.model.Team; import com.summithillsoftware.ultimate.workflow.CloudWorkfl...
29.51
98
0.780075
a2354c0ac412d982cfccfd10473ba6be31f5325c
1,391
package net.thucydides.demo; import net.thucydides.core.annotations.Managed; import net.thucydides.core.annotations.ManagedPages; import net.thucydides.core.annotations.Steps; import net.thucydides.core.pages.Pages; import net.thucydides.demo.steps.GoogleSearchSteps; import net.thucydides.junit.runners.ThucydidesRunne...
30.23913
84
0.735442
6ce685b489f2da16cab45488e2f5dc6a0a3cd9be
4,224
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.progenia.sigdep01_01.data.entity; import com.progenia.sigdep01_01.systeme.data.entity.SystemeStructureRemboursement; impor...
46.933333
143
0.809186
cab3a22675ace7916206a84b397990d3a58068a7
5,635
/** * * Copyright (C) 2012-2013 DuyHai DOAN * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
31.480447
112
0.789885
f771e3448b86bc49f00d9c9cc5cc50f95f4a76fb
1,917
/* * Copyright 2012-2020 Hippo B.V. (http://www.onehippo.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 req...
27.782609
76
0.695357
f47a41d9307bfc91f2c5800119b0dcf5ec8975e7
11,555
package org.reporter.service.ets_reports.nosql; /** * ETS Project * ETS Custom Reporting Tool, using Structured and Big Data data stores.. * * Class used to store data from cassandra location_work table * The class is JSON enabled in order to facilitate the usage in RS services * Persistence is made using jdbc d...
29.179293
157
0.624145
f5b084ea9b0a0578e5d2f83851b15bd1431e48d2
3,558
package org.firebears.subsystems; import org.firebears.RobotMap; import org.firebears.commands.*; import edu.wpi.first.wpilibj.*; import edu.wpi.first.wpilibj.command.Subsystem; /** * Chassis.java */ public class Chassis extends Subsystem { // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARAT...
30.672414
97
0.614671
067d6e375d9e2f29d68b7a0c9a480150c084b707
1,391
// Don't take any of this to heart. // i have been really busy with work and family this break, // so i had to whip this up real quick. // if we can do something with this that would be great. // unless you have a better idea then that would be even greater. // This allows access to the scanner library import java.uti...
40.911765
87
0.678648
ecc5a0695a17d9e9a2ec69141377524ea1a823b4
356
package de.slothsoft.mp4spliterator.testplan.constants; /** * Constants interface so I won't have to change these strings in millions of tests. */ public interface Common { String BUTTON_OK = "OK"; String BUTTON_CANCEL = "Cancel"; String BUTTON_FINISH = "Finish"; String BUTTON_APPLY = "Apply and Clo...
22.25
85
0.699438
dd6ee5b120e7a9c7348bf524cc83ff1d0a5e08b5
3,835
/* LinphoneAddressImpl.java Copyright (C) 2010 Belledonne Communications, Grenoble, France This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any la...
29.960938
87
0.753846
a366a038011b2130521b3f879b32f26ae6184ca6
53,578
/* * 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...
94.327465
288
0.701874
3535867b907f59ced2b864c1da7084546729ec9d
1,651
package com.csc436.jz.sportsgroupup; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.ScrollView; import android.widget.TextView; import com.csc436...
34.395833
98
0.716535
68141de006cd2191dbb3836e8850ea5076d5182e
874
package cc.mallet.cluster.neighbor_evaluator; /** * Scores the value of changing the current {@link Clustering} to the * modified {@link Clustering} specified in a {@link Neighbor} object. * * A common implementation of this interface uses a {@link Classifier} * to assign a score to a {@link Neighbor}. * * @aut...
23
79
0.689931
8737accf40c0d8b01024c1da8018b44eac8d531c
31,563
package org.jivesoftware.openfire.plugin.packetFilter; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.jivesoftware.openfire.plugin.PacketFilterConstants; import org.jivesoftware.openfire.XMPPServer; import org.jivesoftware.openfire.component.InternalComponentManager; import...
46.96875
348
0.605836
0cb279e21c90cc54c3d91a1f295917e427627be8
985
package za.co.ltsmwebsystem.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.persist...
22.386364
53
0.770558
0e95ff2335ecfc546d53e725b4d3b26765b3ef1d
2,028
package com.example.hampo.modelo; public class Lectura { private String temperatura; private String humedad; private String iluminacion; private String bebida; private String comida; private String actividad; // private double adiestramiento; private String distancia; private ...
22.533333
162
0.623274
112206d8de3b43e8eac1dfc852d1e82515f6e4ad
2,212
/** * 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...
32.529412
78
0.66953
eb69c330f0d93f6504c776236bcbe1806632c2f3
286
package com.taibai.admin.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.taibai.admin.api.entity.RoleMenu; /** * <p> * 角色菜单表 Mapper 接口 * </p> * * @author Taibai * @since 2020-04-21 */ public interface RoleMenuMapper extends BaseMapper<RoleMenu> { }
16.823529
62
0.72028
450db0843922102189f968988ecb2463a187476c
1,056
package io.github.dvanherbergen.filelibrary.util; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.fasterxml.jackson.databind.MappingIterator; import com.fasterxml.jackson.dataformat.csv.CsvMapper; import com.fasterxml.jackson.dataformat.csv.CsvSchema; import i...
27.076923
106
0.74053
d6a32cabcab3a997dc380dad94f90ac6040147bb
4,319
package io.resys.hdes.client.spi.web; /*- * #%L * hdes-client * %% * Copyright (C) 2020 - 2022 Copyright 2020 ReSys 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 * * ...
27.163522
107
0.709192
55dd6eb515da6cb34e13cdbe02d9f567f9911508
6,066
/* * Copyright 2017 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 "license" ...
43.956522
133
0.727498
2cde5dddbd1f7b7c79cc65513fc891be38589f8d
730
package com.boohee.widgets; import android.content.Context; import android.util.AttributeSet; import android.view.View.MeasureSpec; import android.widget.GridView; public class ExpandGridView extends GridView { public ExpandGridView(Context context) { super(context); } public ExpandGridView(Conte...
28.076923
88
0.724658
5da333d44d6ef14a8896d583033e0e82c3bb782a
2,463
/* Copyright 2021 Norconex 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 agr...
31.987013
81
0.700365
f31c69350001fb82cf279fe6dbd9370e8bb3a34a
491
package model.motionless; import model.enumeration.BlockEffect; import model.enumeration.Opacity; import model.enumeration.Permeability; import model.enumeration.Solidity; import model.genercis.Position; public class BigPics extends MotionLess{ public BigPics(Position position) { super(0, 0, 1, "BigPic...
28.882353
142
0.763747
226509652c3f9ddd650f91927e063a7d14f18d21
481
package ja.burhanrashid52.photoeditor; import android.graphics.Paint; import android.graphics.Path; class LinePath { private final Paint mDrawPaint; private final Path mDrawPath; LinePath(final Path drawPath, final Paint drawPaints) { mDrawPaint = new Paint(drawPaints); mDrawPa...
21.863636
60
0.644491
949aaec153b9e39ff95b82e8b72153fee9b594a4
8,586
// Copyright (C) 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
28.715719
98
0.664454
f301a57c91789c8a77ff46b9fc6c38e3a023c7f4
7,661
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2002-2018 ymnk, JCraft,Inc. 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 retai...
30.043137
93
0.672236
99524228f588f0a8e5bf7a84f5e9dfd4304d1291
714
package nc.block.fluid; import nc.fluid.FluidFlammable; import net.minecraft.block.material.Material; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import net.minecraftforge.fluids.Fluid; public class BlockFluidFlammable extends BlockFluid { ...
23.8
83
0.787115
4118d49d8b1ff808af28d051201e4e9eedf7b2a5
1,954
/** * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not u...
41.574468
100
0.779427
5e1a2a2da26384f051b358b044fb2ac9399255cc
1,269
package de.unituebingen.validator.rest.representations; /** * Contains constants for describing the link relations used in the * representations. * */ public class LinkRelations { public static final String BATCH = "batch"; public static final String BATCHES = "batches"; public static final String BATCH_REPORT...
40.935484
68
0.775414
52cc5dc534024161238b48fcbe8a6b370ce4fe69
385
package de.schoar.braveintelserver.data; import java.util.LinkedList; import java.util.List; import de.schoar.braveintelserver.C; public class IntelResponse { public long timestamp = System.currentTimeMillis(); public List<Report> reports = new LinkedList<Report>(); public int submitterCount = 0; public int view...
25.666667
56
0.784416
4d78221bb5d9388b950ae19eb793d3c5f53a5b7c
1,202
package ideajoy; import java.util.ArrayList; import java.util.List; import com.garmin.fit.DeveloperDataIdMesg; import com.garmin.fit.DeveloperDataIdMesgListener; import com.garmin.fit.DeveloperFieldDescription; import com.garmin.fit.DeveloperFieldDescriptionListener; import com.garmin.fit.DeviceInfoMesg; import com.g...
26.711111
76
0.805324
266998ae8b86a8b7d5570aa0adba2ceb1f3e27d9
170
package Car; public abstract class Car { String model = ""; Car(String carModel) { this.model = carModel; } abstract public String getCarModel(); }
14.166667
39
0.635294
6178f59386f47244b672878b816c52086c3e1d7b
384
package com.pfm; import java.util.concurrent.ThreadLocalRandom; import org.junit.jupiter.api.Test; // Test class added ONLY to cover main() invocation not covered by application tests. public class ApplicationTest { @Test public void main() { int port = ThreadLocalRandom.current().nextInt(50000, 55000); ...
25.6
85
0.726563
f3772a7e6f48f3a7d2d31e4a5bc2f1c46d0628cb
3,132
// Copyright (c) 2021, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.classmerging.horizontal; import com.android.tools.r8.NeverInline; import com...
29.828571
91
0.675607
55c3666d108df56e9cbb812043e098e2d4c93427
892
package edu.uag.iidis.scec.modelo; import java.io.Serializable; import java.util.*; public class Try extends ClaseBase implements Serializable { private Long idTest; private Long id; private Long idUser; public Try() { } public Try(Long idTest,Long idUser){ this.idTest = id...
16.218182
48
0.571749
88c4eca3c19384f551138a970d1ce22e09da5f17
7,960
package com.info6250.packages.dao; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.query.Query; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.info6250.packages.entities.Cart_it...
31.462451
134
0.749121
aa4e8bba26b49d1703e386a6a2e595bcef043ec7
177
package net.minecraft.src; public class MovingObjectPosition { public EnumMovingObjectType typeOfHit; public int blockX; public int blockY; public int blockZ; }
22.125
42
0.751412
4fcd34b926df22b9aca8cf203384388786b1b6c8
3,423
/* * Copyright (c) 2012, JInterval Project. * 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 o...
45.039474
88
0.690622
9bac81e9d43ab73f950555b2ac10d49bfeccbea4
1,534
package com.elektrimasinad.aho.shared; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class Unit implements Serializable { /** * */ private static final long serialVersionUID = -342640462355108428L; private String unitKey; private String companyKey; private String uni...
18.707317
67
0.693611
6fd1e4cff7c0d146ffa575943b2d883678478d82
2,697
package com.easing.commons.android.manager; import android.app.ActivityManager; import android.app.AlarmManager; import android.app.NotificationManager; import android.app.Service; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; i...
36.945205
104
0.755654
499593f78da7492ca513dd87b1fffe1da01e9da8
935
package minijava.intermediate.tree; import minijava.intermediate.Label; import java.util.Arrays; import java.util.List; public class TreeStmJUMP extends TreeStm { public final TreeExp dest; public final List<Label> poss; public TreeStmJUMP(TreeExp dest, List<Label> poss) { if (dest == null || poss == null...
21.25
74
0.631016
b3f9533c013a3b4715c5a5566e45186e36845556
3,028
package com.udacity.course3.reviews.mysql.controller; import com.udacity.course3.reviews.mongo.entity.ReviewDocument; import com.udacity.course3.reviews.mongo.repository.MongoReviewRepository; import com.udacity.course3.reviews.mysql.entity.Product; import com.udacity.course3.reviews.mysql.entity.Review; import com.ud...
35.623529
125
0.729855
ffb6590f527a97b527c823a886480ca55187f936
1,709
package com.nepxion.discovery.plugin.strategy.service.sentinel.configuration; /** * <p>Title: Nepxion Discovery</p> * <p>Description: Nepxion Discovery</p> * <p>Copyright: Copyright (c) 2017-2050</p> * <p>Company: Nepxion</p> * @author Weihua Wang * @author Haojun Ren * @version 1.0 */ import org.springframew...
37.977778
154
0.802224
c696c0bffa8ee7022e3751390d13f85a53f99bf7
13,025
/** * Copyright 2015-现在 广州市领课网络科技有限公司 */ package com.roncoo.education.util.polyv; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.SortedMap; import java.u...
37.644509
113
0.693666
c7439afc753537f791a870c70c1e73247f4154bd
2,821
package org.nutz.ioc.impl; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import org.nutz.ioc.IocContext; import org.nutz.ioc.ObjectProxy; import org.nutz.lang.Lang; import org.nutz.log.Log; import org.nutz.log.Logs; /** * 自定义级别上下文对象 * * @author ...
25.1875
82
0.503013
532b9ffaf319d12ef7c52ec71f7451f2d61d6632
728
package com.tecnosols.budgetary; public class HelpModel { String heading, content; int image; public HelpModel(String heading, String content, int image) { this.heading = heading; this.content = content; this.image = image; } public HelpModel() { } public String g...
18.2
65
0.590659
012ffc34e07dbb8f49157d5bccd78cf7e50e1bb6
2,389
/* * Copyright 2020 Eric Medvet <eric.medvet@gmail.com> (as eric) * * 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 requir...
29.8625
83
0.678108
8dd78eece67277fa55a3042429a7c4a666faf328
241
import java.util.Comparator; public class OrdrePorteComparator implements Comparator<Porte> { @Override public int compare(Porte p1, Porte p2) { return Integer.compare(p1.getNumeroDePorte(), p2.getNumeroDePorte()); } }
24.1
77
0.721992
0ef858b589d8419968c97b2d8c4dcfff2c500841
4,690
/* * Copyright 2019-present Facebook, 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...
39.745763
94
0.756716
4d86fe20653a11ef8e4ba76c59262234ddd06e42
6,378
package com.qiniu.datasource; import com.obs.services.ObsClient; import com.obs.services.exception.ObsException; import com.obs.services.model.ListObjectsRequest; import com.obs.services.model.ObjectListing; import com.obs.services.model.ObsObject; import com.qiniu.common.SuitsException; import com.qiniu.interfaces.IS...
32.540816
140
0.597836
4544e75350b514228a101ad164b0fae93f6be025
4,467
package com.eu.habbo.threading.runnables.freeze; import com.eu.habbo.Emulator; import com.eu.habbo.habbohotel.achievements.AchievementManager; import com.eu.habbo.habbohotel.games.freeze.FreezeGame; import com.eu.habbo.habbohotel.games.freeze.FreezeGamePlayer; import com.eu.habbo.habbohotel.items.interactions.games.fr...
40.243243
166
0.558764
74fac36c7c4a7e42f61d3d6d2f61b379ca398e2c
1,433
package com.logicaldoc.gui.frontend.client.impex.archives; import com.logicaldoc.gui.common.client.Feature; import com.logicaldoc.gui.common.client.beans.GUIArchive; import com.logicaldoc.gui.common.client.i18n.I18N; import com.logicaldoc.gui.common.client.widgets.FeatureDisabled; import com.smartgwt.client.type...
33.325581
81
0.755757
ccbc4151462f6b4dc25f35885e798a7cfddc84c2
19,589
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.wearable; import android.os.Parcel; import com.google.android.gms.common.internal.ReflectedParcelable; import com.google.an...
40.306584
670
0.545765
66303101824acd1e9aedb3c3a8b6443110caf3b8
821
package io.aicloud.tools.netty; import io.netty.channel.EventLoopGroup; import java.util.concurrent.ScheduledExecutorService; import lombok.Getter; import lombok.Setter; /** * Description: * <pre> * Date: 2018-10-25 * Time: 17:04 * </pre> * * @author fagongzi */ @Getter @Setter class ConnectorOptions<T> exten...
24.147059
77
0.697929
00b8f0e755e0ad03064b5e7435adbff2372045e5
1,370
package com.webank.weevent.sample; import java.net.MalformedURLException; import java.net.URL; import java.nio.charset.StandardCharsets; import java.util.HashMap; import com.webank.weevent.sdk.BrokerException; import com.webank.weevent.sdk.SendResult; import com.webank.weevent.sdk.WeEvent; import com.webank.weevent.s...
37.027027
161
0.692701
f7d9ab3d58eb7a3f106a6d98ab82f2fc82b5e45a
1,208
package cn.stylefeng.guns.modular.system.mapper; import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.roses.core.datascope.DataScope; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.apache.ibatis.annotations.Param...
25.166667
239
0.668046
b089ae0371e41213ddfdace328ff7632e64fed5a
3,331
/* * This class is distributed as part of the Botania Mod. * Get the Source Code in github: * https://github.com/Vazkii/Botania * * Botania is Open Source and distributed under the * Botania License: http://botaniamod.net/license.php */ package vazkii.botania.client.patchouli.processor; import net.minecraft.cor...
33.31
132
0.720204
7c4ca99d4964c3d108837fe91895bb54066cdb5a
732
package io.ticktok.server.tick.http; import io.ticktok.server.tick.TickMessage; import lombok.*; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; import java.util.ArrayList; import java.util.Date; ...
22.181818
62
0.766393
39e67f9da1b3975473f115312196b8e15a8e3d0a
1,448
/* * Copyright (C) 2017 Miles Talmey. * Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). */ package com.emarte.regurgitator.extensions; import com.emarte.regurgitator.core.JsonLoader; import com.emarte.regurgitator.core.Log; import com.emarte.regurgitator.core.Regurgitato...
43.878788
110
0.800414
842f425b5f847a5d1874d85387ccb894c373ac86
2,226
package net.sf.esfinge.metadata.validate.field; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; import java.lang.reflect.Field; import net.sf.esfinge.metadata.AnnotationValidationException; import net.sf.esfinge.metadata.AnnotationValidator; import net.sf.esfinge.metadata.annotation...
29.68
110
0.68823
5af21e2b389c10667ceffa92b69df1229baeaa6e
1,428
package com.a4869.yazidmf.konversisuhu; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; public class MainActivity extends AppCompatActivity { EditText celcius,kelvin,farenheit,reamur; //Deklarasi var...
34.829268
74
0.67437
8dfe3b6c92b9bba763afbe3ffedd28217dc045c3
1,021
package models; import com.avaje.ebean.Model; import play.data.validation.Constraints.Required; import javax.persistence.*; import java.util.List; @Entity public class TipoTarefa extends Model{ @Id @GeneratedValue private long id; @Required(message = "Você precisa fornecer um nome do tipo da tarefa!") private ...
19.264151
99
0.727718
eca07193be1332d2c5b3e9091fee56478f1b07b7
3,296
/** * Copyright (c) 2015-2017 Polago AB * 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 restriction, including * without limitation the rights to use, copy, m...
32
88
0.667476
17abdfa96e3725765b469f4b458dee832ba5db4d
570
package uk.co.lukestevens.api.models; /** * The model for the api client and service * * @author Luke Stevens */ public class Example { private int id; private String value; private boolean enabled; public int getId() { return id; } public void setId(int id) { this.id = id; } pub...
16.285714
44
0.633333
546bce2aad3eaf7a47fef6e43aa46cd1c24e6999
76
package domain; public abstract class Employee extends Person { }
10.857143
48
0.697368
9b71f00db53d0da82fcc164aa2c6fce4e4bf5da4
12,110
/* * Copyright 2015 Adaptris 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
29.040767
91
0.672915
032bac9d67775f2c9f7dc68bbb125fe94e76ba0c
6,030
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 ...
17.082153
810
0.817247
636d0368bd2ff92d4333988d30e71a28bf9e86e5
197
package de.adorsys.opba.protocol.facade.exceptions; public class PsuRegisterException extends RuntimeException { public PsuRegisterException(String message) { super(message); } }
21.888889
60
0.756345
b0c3a70dce97cd0808ad6f068c1faccabf53c1f5
9,332
/* * 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 ...
36.030888
180
0.572332
d59c7b48cd3e4d1357718c16b8f7e1781d2d6949
8,654
package ca.team2706.frc.robot.subsystems; import ca.team2706.frc.robot.SubsystemStatus; import ca.team2706.frc.robot.commands.bling.BlingController; import ca.team2706.frc.robot.commands.bling.patterns.BlingPattern; import ca.team2706.frc.robot.logging.Log; import edu.wpi.first.networktables.NetworkTable; impor...
39.697248
159
0.621793
239ab9b6d7b4193f5e5d95015a93801377a04253
466
package com.ztwj.responses.handle; import com.ztwj.responses.BaseResponse; /** * Description: ztwj-iot-java-sdk * * @author : fire * @date : 2019/5/23 11:44 */ public class SendSmsResponse extends BaseResponse { private String[] failIccidList; public String[] getFailIccidList() { r...
21.181818
59
0.656652
89053db90a85c8b1e0636b02fe272ba962a8ee08
2,954
package im.wilk.vor.item.node; import im.wilk.vor.item.util.matchers.VorPathNodeMatcher; import org.hamcrest.MatcherAssert; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; class VorPathNodeTest { @Test public void whenUsingBuilders_validDataIsCreated() { VorPathNode node ...
38.868421
99
0.691943
a8e51ebad4d6fd6b06ab8a8df0055427c6178d33
2,783
import com.google.gson.Gson; import com.mysql.jdbc.Connection; import com.mysql.jdbc.PreparedStatement; import com.mysql.jdbc.Statement; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; impor...
36.142857
123
0.612648
5a09a5cc5c2df91e05fe924b88226f05bdf92cb2
601
package com.emilytrabert.minesweeper; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.Setter; @Builder @Getter @AllArgsConstructor public class Space { private final int row, col; private int nearby; @Setter private boolean mine, show, flagged, lastMine; ...
19.387097
76
0.612313
458b14ec811f8418786b847c41f1a2274bf74575
420
package com.djn.cn.auth.client.base.constants; /** * * <b>类 名:</b>CommonConfig<br/> * <b>类描述:</b>系统公共<br/> * <b>创建人:</b>聂冬佳<br/> * <b>创建时间:</b>2018年3月10日 下午10:49:50<br/> * <b>修改人:</b>聂冬佳<br/> * <b>修改时间:</b>2018年3月10日 下午10:49:50<br/> * <b>修改备注:</b><br/> * * @version 4.0<br/> * */ public final class Comm...
16.153846
55
0.554762
e5acd861f0f5ed42921eac5e7d4fd0b611ab369d
1,487
/* * -----------------------------------------------------------------------\ * PerfCake *   * Copyright (C) 2010 - 2016 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 cop...
26.553571
75
0.60659
426e2f52c0d9cbc5c2e0b5b604dd5d52efb06091
2,061
package lv.ctco.cukes.rest; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.util.ContextInitializer; import ch.qos.logback.core.joran.spi.JoranException; import com.google.inject.Guice; import com.google.inject.Injector; import com.yammer.dropwizard.Service; import com.yammer.dropwizard.conf...
40.411765
83
0.757885
e85f9a82edcd3f7d8fb75793db263a328f8e2001
5,363
package com.walkermanx.abstractlistadapters; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import java.lang.reflect.Constructor; import java.lang.refl...
27.932292
126
0.675741
7d441dc5bfdf0e53c9751436b0acfdb6c214a7d2
1,365
package org.aia2122.unit2; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.traversal.DocumentTraversal; import org.w3c.dom.traversal.NodeFilter; import org.w3c.dom.traversal.NodeIterator; import org.xml.sax.SAXException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.Docum...
31.022727
71
0.641758
2fc65ee92134801b03b23da7e34e84c4f1d721f6
6,304
package org.nhindirect.common.crypto.tools; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Properties; import org.apache.commons.io.FileUtils; import org.apache.commons....
29.596244
127
0.620876
c75ae84a089de139756989f24113b74032e9dd66
945
import java.util.Scanner; /** * Created by Toni on 3/16/2017. */ public class letterCombinations { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); char first = scanner.nextLine().charAt(0); char second = scanner.nextLine().charAt(0); char exclude...
35
102
0.512169
e34392eb9aeae1322df33cc20792c45bd6e3a3bb
926
/* * Java * * Copyright 2014 IS2T. All rights reserved. * Use of this source code is governed by a BSD-style license that can be found at http://www.is2t.com/open-source-bsd-license/. */ package com.is2t.mwt.widgets.spinner.float_; import com.is2t.mwt.widgets.spinner.Wheel; public class FloatWheel extends Whee...
22.585366
128
0.717063
9976c5fd2247eaf52098782202e1b442eb14c7c6
3,226
/* * Copyright 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://www.apache.org/licenses/LICENSE-2.0 * ...
45.43662
100
0.769994
ff1ee7a144dcca5f553870406f3cef78303bffb1
10,573
package com.cse545.hospitalSystem.services; import java.time.LocalDateTime; import java.util.Collection; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.UUID; import javax.transaction.Transactional; import org.slf4j.Logger; imp...
33.996785
151
0.684668
78f1096989325d6b9308e9e14d104348f39b3a5e
1,229
package com.fr.swift.reliance; import com.fr.swift.source.DataSource; import com.fr.swift.source.RelationSource; import com.fr.swift.source.RelationSourceType; import com.fr.swift.source.SourceKey; import java.util.HashMap; import java.util.List; /** * @author yee * @date 2018/4/18 */ public class RelationRelianc...
33.216216
140
0.70952
7520c4b22702ae0d6a6c415e5be862e70f0de582
4,113
package org.ws4d.coap.core.messages; import java.util.Collections; import java.util.Iterator; import java.util.Vector; import org.ws4d.coap.core.enumerations.CoapHeaderOptionType; public class CoapHeaderOptions implements Iterable<CoapHeaderOption> { private Vector<CoapHeaderOption> headerOptions = new Vector<Coap...
26.031646
89
0.714564
cf6bc8d73844b2864f9a28112d1fa2c141b9c743
2,069
package com.easemore.ezvizview.ezuiplayerview.view.widget; import android.content.Context; import android.graphics.Color; import android.graphics.Point; import android.util.AttributeSet; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.view.View; import android.view.ViewGroup; import ...
26.87013
82
0.677139
a5a1c623e95fe317dc8091757757b225a653f7ab
3,510
/** * Copyright (C) 2020 - present by Marc Henrard. */ package marc.henrard.murisq.pricer.capfloor; import com.opengamma.strata.basics.currency.CurrencyAmount; import com.opengamma.strata.basics.currency.MultiCurrencyAmount; import com.opengamma.strata.market.sensitivity.PointSensitivityBuilder; import com.opengamma...
35.1
114
0.733903
95a3804d1684a92fcb0ceed8ea22f85d413e32f1
2,859
import java.io.FileInputStream; import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.CharStreams; import org.antlr.v4.runtime.CommonTokenStream; import parser.ExecuteVM; import parser.SVMLexer; import parser.SVMParser; import util.SyntaxErrorListener; import org.apache.commons.cli.DefaultParser; impor...
24.435897
102
0.686604
7d5c6c6d9f4b996ba46d557f5f4efadd5a15a010
3,730
package com.siams.orientdb.evaluation; import com.orientechnologies.orient.core.Orient; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import com.orientechnologies.orient.core.intent.OIntentMassiveInsert; import com.orientechnologies.orient.core.iterator.ORecordIteratorClass; import com.orie...
33.909091
95
0.584718
f15690e411a552ce07852a5e6209ed1bd24385f0
485
package org.jessenpan.leetcode.math; import org.junit.Test; import java.util.List; import static java.util.Arrays.asList; import static org.junit.Assert.assertEquals; /** * @author jessenpan */ public class S119PascalTriangleIITest { private S119PascalTriangleII pascalTriangleII = new S119PascalTriangleII();...
20.208333
79
0.705155
57485d8cc5372d8b76228e56cf8a8b58ec1fcd35
284
class Arge { public static int nbYear(int p0, double percent, int aug, int p) { int count = 0; double percentDivided = percent / 100; while (p0 < p) { p0 += p0 * percentDivided + aug; count++; } return count; } }
25.818182
70
0.5
75dab88d70fb1aec213520b0661c449ed974e9af
699
package com.google.android.gms.internal.ads; import java.io.InputStream; import org.json.JSONObject; /* renamed from: com.google.android.gms.internal.ads.gj */ final /* synthetic */ class C9450gj implements zzczc { /* renamed from: a */ static final zzczc f22379a = new C9450gj(); private C9450gj() { ...
29.125
94
0.662375
2658e6930e63244c7b70da8d943308d6a38bf29a
1,029
/****************************************************************************** * 版权所有 刘大磊 2013-07-01 * * 作者:刘大磊 * * 电话:13336390671 * * email:ldlqdsd@126.com ...
30.264706
107
0.515063
a70ad29169956ab1a8eeb0cbab6317fc7b70f9cb
6,292
/* * 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...
24.387597
98
0.685156