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
945e70ff4ea362296c3acef7943919adc0d67b4f
1,660
package com.cyberlink.cosmetic.modules.post.service.impl; import java.io.IOException; import java.util.ArrayList; import java.util.List; import com.cyberlink.cosmetic.modules.post.service.LanguageDetectService; import com.optimaize.langdetect.DetectedLanguage; import com.optimaize.langdetect.LanguageDetector; import ...
35.319149
80
0.808434
01675d989ba6566b1bfa86ac8e6c3e18fc115000
1,006
package com.massandy.mydaterangepicker; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.squareup.timessquare.CalendarPickerView; import java.util.Calendar; import java.util.Date; /** * Created by massandy on 22/06/17. * from lib : https://github.com/square/android-times-squar...
27.189189
73
0.708748
2a623f8260949ac3376fc9a86362746bec84b9d5
1,519
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInspection.htmlInspections; import com.intellij.codeInspection.ProblemHighlightType; import com.intellij.codeInspection.ProblemsHolder; import com.intel...
37.975
170
0.772219
b633f16518081da80f5a8aa13d1025e03637df06
9,694
/***************************************************************** * 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 * ...
32.861017
90
0.64411
97ee512c7ff342a166d6741cbba55d5c93cb4c4e
4,257
package org.apdoer.push.service.event.impl; import lombok.extern.slf4j.Slf4j; import org.apdoer.push.service.event.EventBusChannel; import org.apdoer.push.service.event.EventBusManager; import org.apdoer.push.service.event.SourceEvent; import org.apdoer.push.service.event.SourceEventListener; import java.util.HashMap...
31.072993
103
0.660089
0fc65172f19655898396791a549e628d82e60a74
1,759
package top.fosin.anan.cloudresource.service.inter; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping;...
36.645833
141
0.79079
263560866c2d5d1e09558189b03f30487e1d0dac
608
package engine.racedetectionengine.hb; import java.util.HashSet; import engine.racedetectionengine.RaceDetectionEngine; import event.Thread; import parse.ParserType; public class HBEngine extends RaceDetectionEngine<HBState, HBEvent> { public HBEngine(ParserType pType, String trace_folder) { super(pType); this...
24.32
69
0.782895
74e8c92dce69eef69189d96acafa5de1b0515b73
4,392
package com.cladonia.xml.schematron; import java.io.OutputStream; import java.io.PrintStream; import javax.swing.SwingUtilities; import javax.xml.transform.SourceLocator; import com.cladonia.xngreditor.ExchangerEditor; import net.sf.saxon.Controller; import net.sf.saxon.lib.Logger; import net.sf.saxon.s...
25.988166
144
0.686248
2667e766fdb32232767559eb7386ba94eda20fd4
4,493
package it.nextworks.nfvmano.libs.osmr4PlusDataModel.vnfDescriptor; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.HashMap; import ...
28.08125
96
0.655241
ec81ddf53d69ee0319b36034ab935655cbf1c36a
867
package api.config; import services.*; public enum EntityConfiguration { USER { @Override public Class<?> getEntityService() { return UserService.class; } }, CONSULTAR_HORAS { @Override public Class<?> getEntityService() { re...
20.162791
51
0.537486
6b22f1563a43c98ec7c459fdd57e78317eeae2e6
5,986
/** * */ package gov.va.med.imaging.core.interfaces.router; import java.lang.reflect.Proxy; import gov.va.med.IdentityProxyInvocationHandler; import gov.va.med.JndiUtility; import gov.va.med.imaging.core.interfaces.FacadeRouter; import gov.va.med.imaging.core.interfaces.Router; import gov.va.med.server.ServerAdapte...
32.532609
149
0.674908
8dc9280b1279137ba523f3937d6baa19871850c7
9,406
package edu.msu.cme.rdp.rarefaction; import edu.msu.cme.pyro.cluster.io.RDPClustParser; import edu.msu.cme.pyro.cluster.io.RDPClustParser.ClusterSample; import edu.msu.cme.pyro.cluster.io.RDPClustParser.Cutoff; import edu.msu.cme.pyro.cluster.utils.Cluster; import java.io.File; import java.io.IOException; import java....
36.038314
127
0.611099
83f1d2b352922120572bc705f61d4777e619367c
16,734
package uk.gov.pay.connector.charge.model; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStrin...
31.693182
127
0.609956
8552db8266ad82b44e69847d12c5bbde50401856
5,872
package com.example.cartoon.passwordmanager.PersonalInformation.login; import android.app.Activity; import android.app.ActivityManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.format.Formatter; import android.util.Log; import android.view.View; impor...
33.942197
109
0.614101
6b01a05d2351addec8113c61ed43ff8c83f2c34e
6,161
package my.test.myapplication.activity; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.os.Message; import android.view.View; import android.webkit.GeolocationPermissions; import android.webkit.WebChromeClient; import android.webkit.WebResourceRequest; import and...
44.323741
113
0.69453
bd7d2429e2ed8946798a53849c166ab794cf6689
3,188
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.externalSystem.model.task; import com.intellij.openapi.externalSystem.model.ProjectSystemId; import com.intellij.openapi.externalSystem.model.project...
27.964912
140
0.716437
1a2f6db21c60e54d9c70545b76fc8bac0309cf1d
898
package com.fishercoder.common.classes; import java.util.ArrayList; import java.util.List; /** * Created by fishercoder1534 on 9/30/16. */ public class UndirectedGraphNode { public int label; public List<UndirectedGraphNode> neighbors; @Override public boolean equals(Object o) { if (this ==...
27.212121
102
0.644766
b620c6998558f353312f77e1f39f7b96ddb865fa
8,196
package org.embulk.input; import static java.util.Locale.ENGLISH; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.URISyntaxException; import java.nio.charset.Charset; import java.sql.Connection; import java.sql.ResultSet; import java.s...
32.141176
124
0.571742
33f463e8e8140e2cb16e69c4b45ca7d2c9e83a24
983
package app.views.page; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.MouseMotionListener; import java.awt.geom.AffineTransform; import java.awt.geom.NoninvertibleTransformException; import java.awt.geom.Point2D; public class PageController extends MouseAdapter implements...
25.868421
81
0.724313
66161cfb1b3fe3414eb263b2ef4a5b762e1dc944
611
package org.elastos.wallet.ela.ui.crvote.bean; public class FindListBean { private int resouceId; private String upText; private String downText; public int getResouceId() { return resouceId; } public void setResouceId(int resouceId) { this.resouceId = resouceId; } pu...
19.09375
46
0.628478
4293a208831c347ed73188de6b7057610679ad6f
896
package semanticAnalyzer.types; public class Array implements Type { Type subtype; public Array(Type S) { this.subtype=S; } public Type getSubtype(){ return this.subtype; } @Override public int getSize() { // TODO Auto-generated method stub return 4; } @Override public String infoString() { // T...
20.363636
69
0.719866
882a5cf407cd7fe9601b587ab5e07c255ceb9732
2,414
/* * Copyright 2005--2008 Helsinki Institute for Information Technology * * This file is a part of Fuego middleware. Fuego middleware is free software; you can redistribute * it and/or modify it under the terms of the MIT license, included as the file MIT-LICENSE in the * Fuego middleware source distribution. If ...
30.556962
99
0.717067
856fef317bef26ffddcfcb94737c3043717bbee7
771
import java.util.Scanner; class p6 { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.print("Enter the Weight in Pounds : "); double weight = sc.nextDouble(); System.out.print("Enter the Height in Inches : "); double height = sc.nextDouble(); double bmi; bmi = ...
28.555556
62
0.658885
8bd7504b36c53c02fc7216b7a92c1a6fb0b6b0d6
1,302
package com.coredump.hc.Actions; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.Animation; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.scenes.scene2d.ui.Skin; import com.coredump.hc.Actors.Nodes.NodeActor; import com....
26.04
90
0.685868
3b0f7bd0bb0eaaf62170d98f5214f966091a39f2
1,465
package trainingAssignment11; import java.util.Scanner; import java.util.Stack; class StackList{ Stack<Integer> s = new Stack<Integer>(); Scanner sc = new Scanner(System.in); void addItem() { System.out.println("Enter the elements in the stack: "); s.push(sc.nextInt()); s.push(sc.nextInt()); s.push(sc.ne...
20.068493
103
0.643003
e021c197e1170fce2d85e39bc3899a3178bbc1e4
3,545
/* * Copyright (C) 2010-2017 Cyril Deguet * * 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...
31.651786
80
0.704937
7e6bfee9aa5786c19ff63b52d4b14592607a35ab
5,221
/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 */ package com.amazon.dataprepper.plugins.processor.date; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.validation.constraints.AssertTrue; import java.time.ZoneId...
28.221622
130
0.623444
04df3d9ab92a180100fb184b0cdeafd2b9908281
8,207
package weka.classifiers.meta; import dafdt.models.DataAttribute; import dafdt.models.OverlappedAreas; import dafdt.models.Rule; import dafdt.utils.Box; import dafdt.wekaex.ClassifierEx; import dafdt.wekaex.DecisionStumpEx; import dafdt.wekaex.J48Ex; import weka.classifiers.Classifier; import weka.classifiers.Classifi...
34.483193
170
0.603266
b0904d6aaffd2cba53b90401d627b8a56d4484d2
2,002
package com.kemalyanmaz.portfoliowork.business.concretes; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.kemalyanmaz.portfoliowork.business.abst...
26
72
0.78022
7016f675f913b9d539bddb0eedf53d56674d02d5
522
package org.argouml.language.csharp.importer.csparser.nodes.expressions; /** * Created by IntelliJ IDEA. * User: Thilina * Date: Jun 7, 2008 * Time: 7:18:34 PM */ public class TypeOfExpression extends PrimaryExpression { public TypeOfExpression() { } public TypeOfExpression(ExpressionNode expression) {...
18
72
0.703065
7f95b5959ca8dd0751410fc4176885d62347e1db
3,573
/* * Copyright (c) 2015-2020, David A. Bauer. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
33.392523
182
0.694374
19ba5ff29ca4d4d626b8f4d50b2ffb022cce62ac
3,349
package jw.kingdom.hall.kingdomtimer.data.file.save.record; import jw.kingdom.hall.kingdomtimer.config.model.Config; import jw.kingdom.hall.kingdomtimer.config.model.ConfigReadable; import jw.kingdom.hall.kingdomtimer.data.file.save.UniqueFileUtils; import jw.kingdom.hall.kingdomtimer.domain.countdown.Countdown; impor...
31.895238
97
0.617796
53579993c54accb6b806a1eea248344a9dfdfff4
460
package pw.lemmmy.ts3protocol.utils.properties; import java.util.Map; public abstract class ShortProperty extends Property<Short> { protected String name; @Override public void encodeProperty(Map<String, String> arguments) { arguments.put(name, Short.toString(getValue())); } @Override public void decodePr...
24.210526
61
0.758696
3feee88d06517a8909af75254a56d576da58ed17
1,477
package br.com.casadocodigo.cupom; import javax.validation.constraints.*; import java.math.BigDecimal; import java.time.LocalDate; public class CupomRequest { private @NotBlank(message ="Código Cupom Inválido") String codigoCupom; private @Positive(message ="Percentual Desconto Inválido") @NotNu...
32.108696
266
0.693297
000b2b41ac49281753b185d1cbe93196a118e803
6,860
package com.example.application.views.sync; import com.example.application.data.entity.Person; import com.example.application.data.entity.User; import com.example.application.data.service.PersonService; import com.example.application.data.service.ZkService; import com.example.application.views.main.MainView; import co...
33.300971
100
0.578571
c9bb41eeee949bf73bb04de5dd1fce479ec7c3c9
11,873
package com.efp.common.data; import com.intellij.database.model.DasNamespace; import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleManager; import com.intellij.openapi.project.Project; import java.util.ArrayList; import java.util.List; import java.util.Optional; /** * @author primerxi...
62.489474
156
0.677756
6b77ce6c461820bee091f7abc52fea2bb9b5e2b7
1,752
package com.goverse.capturer.transformation; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import java.io.ByteArrayOutputStream; public class QualityCompressTransformation implements ITransformation { private int ...
31.285714
94
0.671804
d78bb6ab1faed194efa283a3112cfe9cc5b6ffd5
3,536
package jat.application.EarthSatellite; import org.eclipse.swt.SWT; import org.eclipse.swt.opengl.GLCanvas; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.lwjgl.LWJGLException; import org.lwjgl....
28.747967
72
0.674208
6dd2069798f1d72b6b9070d3f2bcc5bfc535d689
269
package ${package}.source; /** * Testcase of ${classNameOfSource}. */ public class TestCaseOf${classNameOfSource} { // If you will know about this related testcase, //refer https://github.com/siddhi-io/siddhi-io-file/blob/master/component/src/test }
26.9
90
0.695167
8413b6a0a62a17a6b03594e6bfad0b759dd6b2e5
3,126
package com.studerw.activiti.model; import com.google.common.base.Objects; import org.activiti.engine.identity.User; import org.codehaus.jackson.annotate.JsonIgnore; import org.hibernate.validator.constraints.Email; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.io....
23.503759
118
0.616443
04d103ac04369a78249e45a424c08695f50b7430
3,929
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under // the terms of the Eclipse Public License 2.0 which is available at // https://www.eclipse.org/leg...
44.146067
171
0.69127
344f1f3a9e7c717ac0677ef9edddd8306f5b6fe9
6,850
package net.runelite.client.plugins.vorkath; import com.google.common.eventbus.Subscribe; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import net.runelite.api.Actor; import net.runelite.api.Client; import net.runelite.api.GameState; import net.runelite.api.NPC; import net.runelite.api.Projectile; import net...
21.20743
71
0.746569
769c6b30cdbf2ba51e7d0fb6d4bda2e45af2a094
4,740
package net.minestom.server.gamedata.loottables; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonDeserializer; import net.minestom.server.gamedata.Condition; import net.minestom.server.registry.ResourceGatherer; import net.minestom.server.utils.NamespaceID; import net.minest...
37.03125
147
0.691983
e4ee67b5c315e6ed263121e0fa97a899156e9cd2
10,124
package de.ieg.infra.utils; import java.io.File; import java.text.MessageFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.MissingResourceException; import java.util.ResourceBun...
27.889807
128
0.691229
1243df79a98c5711090131e64ebe60710ff178f3
2,835
package com.cottee.managerstore.adapter; import android.content.Context; import android.content.Intent; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Button; import android.widget.TextView; import com.cottee.managerstore.R; import com.cottee.managers...
32.965116
85
0.649735
66df0461102fbcd573f3aba8e3570e8020fb8dea
631
package ru.vyarus.guice.ext.managed.destroyable; import java.lang.reflect.Method; /** * Destroyable annotation used to call @PostConstruct annotated methods on context destroy. * * @author Vyacheslav Rusakov * @since 30.06.2014 */ public class AnnotatedMethodDestroyable implements Destroyable { private fina...
24.269231
91
0.721078
944037a5cef434ed173f3368636c42832833ae8c
3,535
package tk.beason.common.utils.location; import android.app.Dialog; import android.content.Context; import com.baidu.location.BDLocation; import com.baidu.location.BDLocationListener; import com.baidu.location.LocationClient; import com.baidu.location.LocationClientOption; import tk.beason.common.entries.Location; im...
30.474138
122
0.65686
b4aed4361ea53b69c31fac09ab1d804aa4051281
2,564
package org.fandev.utils; import javax.annotation.Nullable; import org.fandev.lang.fan.psi.api.modifiers.FanModifierListOwner; import org.fandev.lang.fan.psi.api.statements.FanTopLevelDefintion; import org.fandev.lang.fan.psi.api.statements.typeDefs.FanTypeDefinition; import org.fandev.lang.fan.psi.api.statements.typ...
35.123288
152
0.765211
a3211398802900fcc4ae841ed098777a444cadd7
10,727
/* * Copyright (C) 2014 Square, 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 agre...
33.946203
108
0.582922
9cfd795044cdea1142eccf2955c3eec120336c87
28,896
package com.shokry.games.states; import static com.shokry.games.handlers.B2DVars.PPM; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.maps.MapLayer; import com.badlogic.gdx.maps.MapObject; import com.badlogic.gdx.maps.o...
26.780352
87
0.661926
987ee7d7dec0e6cacef32ed1ae0f6296a40a33c2
1,373
/* * Copyright DataStax, 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 wri...
41.606061
92
0.79024
9c491ba55a122cdd67a2e36f1d108520cec2abce
3,668
package Main.Entities; import Packages.Chihab.Models.enums.RoleEnum; import com.jfoenix.controls.datamodels.treetable.RecursiveTreeObject; import de.ailis.pherialize.MixedArray; import java.sql.Timestamp; import java.util.Objects; public class User extends RecursiveTreeObject<User> { public static final String ...
23.512821
86
0.632497
2c652c2153af32a9524267034076e4aa28e7edd1
7,343
/** * Copyright 2016-2017 By_syk * * 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...
32.928251
111
0.59921
31c2748bd713d2db0ef372be77c10c0e98bb5fa9
5,238
package com.klinker.android.twitter_l.services.background_refresh; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.util.Log; import com.firebase.jobdispatcher.Constraint; import com.firebase.jobdispatcher.FirebaseJobDispatcher; import com.firebas...
37.414286
129
0.62753
29d409c2e4734c8a13253bcac3c2e0e2c8c21299
7,474
package org.apache.ofbiz.marketing.segment; import lombok.experimental.FieldNameConstants; import java.io.Serializable; import lombok.Getter; import lombok.Setter; import java.sql.Timestamp; import org.apache.ofbiz.entity.GenericValue; import java.util.List; import java.util.ArrayList; /** * Segment Group View Relat...
22.856269
74
0.737891
de09bb38a88ac878aea7c63fcb02285d7ee10b35
379
package com.zc.javabasic.designpatterns.composite; /** * @description: 抽象组件 * @author: Zhangc * @date: 2018-12-24 */ public interface Component { void operation(); } /** * 叶子组件 */ interface Leaf extends Component{ } /** * 容器组件 */ interface Composite extends Component{ void add(Component c); voi...
14.037037
50
0.667546
ffbab0fc508d838a652e7873b370219e6b09a0c0
1,035
package com.howtodoinjava.demo.gson; import java.lang.reflect.Type; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import c...
33.387097
92
0.805797
bebfc57849cffdde7a72a9144d315e423f4d59d1
97
package com.braintreepayments.api; enum DropInExitTransition { NO_ANIMATION, FADE_OUT }
13.857143
34
0.762887
bcf9234edeaf27d158ede7b8953dca7e41626d4e
12,597
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requ...
42.271812
137
0.652616
0dd875ad95ae30a6f2ca962da683e9e9ad0b9559
6,548
/* * 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 not ...
43.078947
100
0.647526
4a497348c88d0dd86292eaad5dc062ef5a18cc57
590
package com.trends.database; import org.apache.hadoop.io.WritableComparable; import org.apache.hadoop.io.WritableComparator; public class UserItemGroupingComparator extends WritableComparator { protected UserItemGroupingComparator() { super(UserItem.class, true); } @SuppressWarnings("rawtype...
24.583333
70
0.69661
c323c358854e2994b37d3658463aa4143c4b643f
40
anyMethod(<selection>"asd");</selection>
40
40
0.75
d089bac02aa3263708059a6d3ce5a2e1ac29138f
925
package com.example.timetrakr; import android.os.Bundle; import com.example.timetrakr.view.activities.durations.ActivitiesDurationsFragment; import com.example.timetrakr.view.activities.started.ActivitiesStartedFragment; import com.gorolykmaxim.android.commons.bottomnavigation.BottomNavigationActivity; /** * Main a...
33.035714
94
0.770811
8017195cf98881c81022f38b5d8b924548afba01
1,316
package me.earth.phobos.features.notifications; import me.earth.phobos.Phobos; import me.earth.phobos.features.modules.client.HUD; import me.earth.phobos.util.RenderUtil; import me.earth.phobos.util.Timer; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; public class Notificati...
45.37931
208
0.74848
8f608921cc87d7b76d777e50de11cde4f9db657c
1,384
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
34.6
96
0.764451
01e03e03aacee996f8e9238f39865b6b3a186b53
1,045
public void solve(int testNumber, InputReader in, OutputWriter out) { int N = in.nextInt(); int M = in.nextInt(); Items[] items = new Items[N]; int sum = 0; ArrayList<String> ans = new ArrayList<>(); for (int i = 0; i < N; i++) { items[i] = new Items(i + 1, in.nextInt()); sum += ...
28.243243
69
0.44689
24bb2101a1e1666bbb1e6be5176173f4d1bb1597
992
/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ public class Solution328 { public class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } public ListNode oddEvenLi...
22.545455
48
0.461694
66d82d09d6686d296ac0fcc10ffeeca53594c3fe
1,277
package edu.cmu.lti.tools.visualize.graphviz; /** * directed graph * @author nlao * */ public class Digraph extends Graph{ private static final long serialVersionUID = 2008042701L; // YYYYMMDD /* public Digraph( String graphName){ super("digraph", graphName); } public Digraph( ){ this( "G"); }*/ //commo...
24.557692
70
0.649961
fea81e010e428d210fee5f35ed027788a9a335ad
2,091
package com.ucsc.mcs.test; import de.daslaboratorium.machinelearning.classifier.Classifier; import de.daslaboratorium.machinelearning.classifier.bayes.BayesClassifier; import java.util.Arrays; /** * Created by JagathA on 10/1/2017. */ public class SentimentAnalysisTest { public SentimentAnalysisTest() { ...
36.684211
84
0.682927
d696466faffeb2d45a3052c3fa658429e1106739
1,572
package codeQuotient; import java.util.Scanner; class TimeSpan { // Write your code here private int hours,minutes; public TimeSpan(int hours,int minutes) { this.hours=hours; this.minutes=minutes; } public int getHours() { return hours; } public int getMinutes() { return mi...
21.243243
61
0.639949
c57aeb722ab744d365e925275b453a121e1ebaeb
2,939
package kr.co.programmers; import java.util.ArrayList; import java.util.List; public class P17679 { /** * @param m 판의 높이 * @param n 판의 폭 * @param board 판의 배치 정보 * @return 지워지는 블록의 갯수 */ public int solution(final int m, final int n, final String[] board) { int answer = ...
29.39
84
0.336509
7de307bbb2931c1e176d76bcf2ba9d2c07cd7209
2,997
package com.alibaba.rsocket.encoding.impl; import com.alibaba.rsocket.encoding.EncodingException; import com.alibaba.rsocket.encoding.ObjectEncodingHandler; import com.alibaba.rsocket.metadata.RSocketMimeType; import com.alibaba.rsocket.observability.RsocketErrorCode; import io.netty.buffer.ByteBuf; import io.netty.bu...
33.3
119
0.683684
3beec92ed881ea95fa3908a0bbb2d760c0a29635
170
package io.kimo.base.utils.domain.callback; import io.kimo.base.utils.domain.Callback; /** * SilentCallback. */ public interface SilentCallback extends Callback { }
15.454545
50
0.758824
d1b130a951b099a731e9a17abc042bc51586333e
4,251
package com.lswq.nio.rpc.rpc.handler; import com.lswq.nio.rpc.api.DemoI; import com.lswq.nio.rpc.demo.IDemoImpl; import com.lswq.nio.rpc.rpc.bean.RpcCommand; import com.lswq.nio.rpc.rpc.bean.RpcResponse; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.util.concurrent.ExecutorServic...
37.289474
130
0.479181
2eeb379c53ec4b3248294943c30e4fcc6b50a880
729
package ca.zandercraft.doorknockerforge; import net.minecraft.util.ResourceLocation; import net.minecraft.util.SoundEvent; public class KnockSounds { public static final ResourceLocation DOOR_KNOCK = new ResourceLocation("doorknockermod:door_knock"); public static SoundEvent DOOR_KNOCK_EVENT = new SoundEvent(...
52.071429
112
0.824417
cbabe1d48016e4bb86b63f1b013348dd2f3546cf
19,731
/* * ModeShape (http://www.modeshape.org) * * 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 o...
69.231579
130
0.610815
9bbbee7860b4596bdb76a0b08b939fcca1115e92
466
package com.gracelogic.platform.survey.dto.admin; import java.util.UUID; public class ImportCatalogItemsDTO { private UUID catalogId; private String[] items; public UUID getCatalogId() { return catalogId; } public void setCatalogId(UUID catalogId) { this.catalogId = catalogId; ...
18.64
49
0.639485
07c11f7282df0d447dfd302e55c970af9a540412
3,113
package net.haesleinhuepf.clijx.morpholibj; import ij.ImagePlus; import ij.measure.ResultsTable; import inra.ijpb.plugins.AnalyzeRegions3D; import inra.ijpb.plugins.Watershed3DPlugin; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; import net.haesleinhuepf.clij.coremem.enums.NativeTypeEnum; import net.haesleinhu...
33.117021
194
0.724382
a83f401a7ff077457e1142d241fed50a818fbadf
502
package com.nxist.controller.home; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; @Controller @RequestMapping(value="/admin") public class AdminIndexController { @RequestMapping(value="/index") ...
23.904762
62
0.74502
fee5b9e77dc9688fdbb82587e423ada853148380
589
package com.emailclue.api.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class CreateAccountResponse { private final Clue clue; private final String apiToken; @JsonCreator public CreateAccountResponse( @JsonPropert...
21.035714
54
0.662139
8e8f25bd72f316b0083ded4665aa781f410469cc
1,057
package com.lznby.jetpack.content.design.view; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; /** * 处理 ScrollView 与 RecyclerView 滑动冲突的RecyclerView * * @author Lzn...
31.088235
101
0.737938
5e962d4b0c8bacfb44f18a06a36e8190989bb591
4,694
/* * Copyright 2021 MeshDynamics. * 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 writ...
31.716216
96
0.753515
5f234d3d70b39d025b8b029d681c056db07de125
1,792
/* * Copyright 2015-2017 GenerallyCloud.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
29.377049
97
0.635045
00373a635216a4b5f9e7e6aebaa19c3f5ed2d49a
369
package de.twenty11.skysail.server.mgt.captures; import io.skysail.domain.Identifiable; import lombok.*; @Getter @Setter public class RequestCapture implements Identifiable { private String id; private Integer count; private String key; public RequestCapture(String key, Integer count) { this...
18.45
54
0.704607
5993d879bc3d5346830da0e34df1be89c5ab7721
1,170
package com.example.tenbillionfiles.startup; import com.example.tenbillionfiles.services.CounterService; import com.example.tenbillionfiles.services.FileStorageService; import com.example.tenbillionfiles.services.LuceneIndexService; import com.example.tenbillionfiles.services.RegexIndexService; import org.springframew...
30.789474
95
0.815385
f448387e5a34a64a222b1c39b650769d1be583fa
1,219
package com.artesseum.popr; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; /** * Created by apoca on 30/12/2017. */ public class RedBubble extends Bubble { Bitmap[] bubble = new Bitmap[4]; public RedBubble(Context context) { sup...
27.704545
94
0.637408
ce6466e5f891b025b28b49573bd65e8a6dc01edf
1,701
/* * Copyright 2019 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 by app...
43.615385
157
0.787772
64ba3c53ff4075799d62d0f77aea011e1ea17b4a
1,314
package org.apache.ode.bpel.extensions.comm.messages.engineOut; import java.io.Serializable; //@stmz: base class for all outgoing messages public class MessageBase implements Serializable { private static final long serialVersionUID = -1075592551376260168L; private Long MessageID; private Long TimeStamp; priv...
18.25
68
0.760274
ba71e268183c643c8ce6bfbe82d39b3c94928e1d
1,635
/** * Copyright (C) 2014 Xillio (support@xillio.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
34.0625
129
0.725994
e6729125056202918bfb58c96f5a00e0d19d77ff
277
package club.guanghao.service; import club.guanghao.entity.User; /** * @author 黄光昊 * @create 2019-09-23-15:17 */ public interface UserService { /** * 将前台拿到的 User到 dao 层查询,返回 User 对象 * @param user * @return */ public User getUser(User user); }
15.388889
38
0.620939
40ca399eee010745928f117a777e3b00479feefe
2,580
package com.stephenboyer.soapstore.domain; import com.stephenboyer.soapstore.util.Strings; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.ScopedProxyMode; import org.springframework.stereotype.Component; impor...
22.631579
93
0.602326
525b8a5dd28478de351834bd71493ccc48ac21ae
1,230
package kr.dogfoot.hwplib.reader.bodytext.paragraph.control.secd; import kr.dogfoot.hwplib.object.bodytext.control.sectiondefine.BatangPageInfo; import kr.dogfoot.hwplib.object.bodytext.control.sectiondefine.ListHeaderForBatangPage; import kr.dogfoot.hwplib.reader.bodytext.ForParagraphList; import kr.dogfoot.hwplib.ut...
28.604651
87
0.665041
a60e7f916de7af2da43138f3d9aa8f3f2d383066
2,815
package com.example; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.google.common.base.Objects; import java.io.Serializable; import java.util.List; @JsonInclude(JsonInclude.Include.NON_NU...
35.1875
132
0.77833
af1136cdbb84fe2208456ca742de3ef9e4f8fc70
427
package com.libqa.web.repository; import com.libqa.web.domain.FeedThread; import com.libqa.web.domain.FeedReply; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; public interface FeedReplyRepository extends JpaRepository<FeedReply, Integer> { List<FeedReply> findByFeedThreadFe...
32.846154
80
0.833724
b5aca1a01219221509d9c2257b15c10a93a80f8b
12,087
package telekit.desktop.tools.apiclient; import javafx.application.Platform; import javafx.collections.ObservableList; import javafx.concurrent.Task; import telekit.base.domain.LineSeparator; import telekit.base.domain.security.UsernamePasswordCredentials; import telekit.base.net.ApacheHttpClient; import telekit.base....
41.112245
119
0.632084
f4bb00361dc51efb1a3de2869d198c471541d614
2,799
package intro_to_statistics; import java.util.*; public class Warmup { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int arrayLength = sc.nextInt(); int[] arr = new int[arrayLength]; for (int i = 0; i < arr.length; i++) { arr[i]...
36.350649
103
0.53269
661408ba4149ca91811e5b9ff87e57d24c1dc3e5
913
package com.cloud.base.user.param; import com.cloud.base.common.core.entity.CommonEntity; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.io.Serializable; import java.util.Date; /** * 用户中心-岗位信息(SysPosition)实体类 * * @author lh0811 * @since 2021-08-10 21:55:23...
19.425532
60
0.696605
026facf24bad08dcd599ebe0b70ae8d90414c724
1,065
package it.polimi.ingsw.message.viewMsg; import it.polimi.ingsw.message.ViewObserver; import java.util.ArrayList; /** * PPController ---> VV ---> CLI * * msg from the Production Power controller to the client after a request of activating * this ability so after found which one/ones can be activated ask it to th...
28.783784
117
0.707042
301c6b68c0f5aae0f1f71236c3441c4ba03427ef
1,926
/* * Copyright 2019 ConsenSys AG. * * 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 wr...
32.644068
118
0.705088
0c595002efb73fe9608261987682c51ef113854e
3,229
package org.redquark.leetcode.challenge; import java.util.LinkedList; import java.util.Queue; /** * @author Anirudh Sharma * <p> * In an N by N square grid, each cell is either empty (0) or blocked (1). * <p> * A clear path from top-left to bottom-right has length k if and only if it is composed * of cells C_1,...
37.988235
100
0.518117