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
ff2e130f9b208be431d3ee97f760b59ac8fc4d48
3,448
package annotator.scanner; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.sun.source.tree.LambdaExpressionTree; import com.sun.source.tree.Tree; import com.sun.source.util.TreePath; /** * LambdaScanner stores information about the names and offsets of ...
31.345455
85
0.709687
2154c5490ed889386600472b89e57261360f0eae
3,728
package com.ider.mouse.clean; import android.app.Activity; import android.app.ActivityManager; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.view.KeyEvent; import android.view.View; import android.view.Window; import android.view.animation....
32.99115
108
0.64324
3e0e47ee7c8c898d88b25158b863219e13e23b46
85
/** * Created by shimn on 2017/11/13. */ package com.jhcomn.lambda.mllib.base;
17
38
0.647059
bbeec3da22a5bfdd7251604defbbaf6f9686e683
681
package github.KingVampyre.DeepTrenches.core.block.sapling; import net.minecraft.block.sapling.LargeTreeSaplingGenerator; import net.minecraft.world.gen.feature.ConfiguredFeature; import org.jetbrains.annotations.Nullable; import java.util.Random; import static github.KingVampyre.DeepTrenches.core.init.DTConfiguredF...
27.24
84
0.770925
1a9c6752521aff8f2984f89e3aa735e7aa42433b
2,551
/* * Copyright (c) 2018 Smilo Platform B.V. * * 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...
41.819672
144
0.72795
b51314a3c953f6dea8c90085f763ff667d2ed357
1,794
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://kpdus.tripod.com/jad.html // Decompiler options: packimports(3) // Source File Name: TreeNode.java package com.vrksa.util; import java.util.Vector; public class TreeNode { public TreeNode(String name) { attri...
22.425
63
0.507804
79f00f0725f118996b6e7287724603c57643e277
2,960
package org.tms.io.xml.dbms; import java.sql.SQLException; import org.tms.api.TableElement; import org.tms.api.exceptions.TableIOException; import org.tms.api.factories.TableFactory; import org.tms.io.LabeledReader; import org.tms.io.LabeledWriter; import org.tms.io.xml.ExternalDependenceTableConverter; import org.tm...
29.306931
125
0.699662
f50db8db74d77a47b1b0ecdffcea314f8af37b8b
3,253
import edu.princeton.cs.algs4.StdOut; import java.util.Iterator; /* ***************************************************************************** * Name: Ada Lovelace * Coursera User ID: 123456 * Last modified: October 16, 1842 *****************************************************************...
27.567797
121
0.447587
b59b157083c1799becadfd82e73fc40bb13b93bb
613
package com.qst.manger.utils; public class AttrNode { private Integer type=0; //0不选中 private Integer checked=0;//1选择 public AttrNode(Integer checked) { this.checked = checked; } public AttrNode(Integer type, Integer checked) { this.type = type; this.checked = checke...
19.15625
52
0.593801
feaaf0d7175526202ff6e8d7be0f540cd8dd7045
6,725
package org.apache.mesos.elasticsearch.scheduler.state; import org.apache.mesos.Protos; import org.apache.mesos.elasticsearch.scheduler.util.ProtoTestUtil; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; impor...
44.536424
181
0.715836
a31e4df0ac20e2ce83be227ede81620d03d19182
514
package com.infomaximum.cluster.core.remote.packer; import com.infomaximum.cluster.struct.Component; import java.lang.reflect.Type; /** * Created by user on 06.09.2017. */ public interface RemotePacker<T> { boolean isSupport(Class classType); default String getClassName(Class classType){ return c...
21.416667
73
0.72179
529c75b48db28da5bb77c3d0720b366278048e01
481
package com.burning8393.template.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.util.List; /** * @author Pang Xiaowei * @title Config * @projectName template * @description config * @date 2019-0...
17.178571
75
0.748441
d5dd7a2d4d192c7c2336fa333b50c8e94a399cd3
454
import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("x") public interface class0 { @ObfuscatedName("x") @ObfuscatedSignature( signature = "(Ljava/lang/Object;Lkb;B)V", garbageValue = "3" ) void vmethod64(Object var1, Buffer var2); @ObfuscatedName("m") ...
22.7
48
0.737885
6dd3f5b64c27d8ac6b61311cb60a3e459fdbc5c9
1,933
/******************************************************************************* * Copyright (c) 2016 Composent, Inc. 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, and is * a...
31.177419
105
0.690119
8c088314c6f45d57127c6e83320c03e1e9bba6d4
3,082
/** * 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 t...
28.018182
80
0.69695
0a3a7b3b3be357910f41ddc14428c68644782399
456
package com.heroku.session; import org.springframework.context.annotation.Scope; @Scope("session") public class UserSession { private String username; private String profile; public String getUsername() { return username; } public void setUsername(String username) { this.username = username; ...
19
53
0.70614
6f5918d44cd0521c1c0f373f6d03459507cde7e4
1,614
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
35.866667
80
0.628872
af14fe5b4846e3ff3f1cf9667fab6d1f2d2b7479
260
package com.structurizr.annotation; import java.lang.annotation.*; @Documented @Target({ElementType.TYPE, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface SoftwareSystemDependency { String target(); String description(); }
18.571429
46
0.773077
74baba0073c0a786b336b5475df9546293abaa0a
1,489
package com.lin.web.dto; import java.io.Serializable; public class MapEngineDTO implements Serializable { private long stateId; private String stateName; private long impressions; private long clicks; private long cityId; private String cityName; public MapEngineDTO() { } public MapEngineDTO(long sta...
16.920455
70
0.711216
b6cdde9111262d09844e059265e3cb74b3a8af84
1,396
package search.backtrack;/** * @author Weiyan Xiang on 2020/12/20 */ import java.util.ArrayList; import java.util.Arrays; import java.util.List; /*** * this one is very similar to CombinationSumOne */ public class CombinationSumTwo { /*** * 40. Combination Sum II * * https://leetcode.com/proble...
31.022222
112
0.563754
eafedb8ec1c580a46e4bd8bcd08e6e22b3e08e26
243
package io.whileaway.apit.base.trial; import io.whileaway.apit.account.entity.Developer; public abstract class BissBuilder { public static Biss<String, Developer, String> findByWhat(String arg) { return new Biss<>(arg); } }
22.090909
74
0.72428
98b789d3711866ef84c4c77be0e219ad3235b62f
1,692
package com.omar.abdotareq.meshkat.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import com.omar.abdotareq.meshkat.R; import com.omar.abdotareq.meshkat.model.Had...
24.171429
87
0.676123
f59bd4721ab17d50a70f70b32e862300224a1f0e
644
package io.gmind.java8.nashorn; import lombok.extern.slf4j.Slf4j; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import java.io.FileReader; import java.nio.file.Path; import java.nio.file.Paths; /** * Created by gmind on 14. 6. 23. */ @Slf4j public class Nashorn4 { public static vo...
25.76
92
0.72205
002a5b15404550316afe9680a7c59514542d0f4c
2,987
package com.tcc.easynutri.controller; import java.util.Date; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.security.crypto.bcry...
38.294872
112
0.815534
1cec34452ace7c869e4d7c045fe5b3199b07d793
1,272
package frc.robot.util; public class ArcadeDrive { // utility class private ArcadeDrive() { } // Code adapted from WPILib's DifferentialDrive public static double[] arcadeDrive(double speedForward, double speedTurn) { double forward = Math.copySign(speedForward * speedForward, speedForwa...
27.06383
94
0.513365
ec000b9f8fbf973f8394b6a1a5ea81fe17129867
15,826
/* * Algorithms Assignment 2nd Year * Implementing Kruskal's and Prims Algorithms * Written by:Dimiter Dinkov * Student Number: C15334276 */ import java.io.*; import java.util.Scanner; // Kruskal's Minimum Spanning Tree Algorithm // Union-find implemented using disjoint set trees without compression //Making an ...
24.460587
95
0.473967
58e16c95dd990c20703d6907d579318aa9109d77
11,282
/* Copyright (c) 2005-2009, Regents of the University of California 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 ...
32.512968
93
0.568428
ee2c550cd440cb5409dbe238829119a97fa0c909
2,919
/* * Copyright (c) 2008-2018, Hazelcast, Inc. 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 ...
26.536364
96
0.590956
b67a74bb3b492d7a1516597301a9919773dd76b0
2,268
package com.mgl.currencyconverter.server.api.rest.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.collect.ImmutableList; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AccessLevel; import lombok.Data; import lombok.Getter; imp...
31.5
78
0.712963
d9d7b0f38d555945e4941e331ed861b40baff701
5,167
/* * 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 ...
42.702479
118
0.597058
a2a45ff97977029227ecd49c414026fda849c018
369
package uk.gov.dft.bluebadge.service.printservice.referencedata; public enum RefDataGroupEnum { PARTY("PARTY"), DELIVER_TO("DELIVER"), DELIVERY_OPTIONS("DELOP"), GENDER("GENDER"), LA("LA"); public String getGroupKey() { return groupKey; } private final String groupKey; RefDataGroupEnum(String ...
17.571429
64
0.701897
545c93772ceb43d39c9a02264e4c73274344856b
4,023
package endpoint; import cloudstrike.Response; import cloudstrike.WebServer; import cloudstrike.WebService; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.uti...
30.022388
178
0.611981
27964d38881cccb3efc451f0be9d3aede26f5736
45,364
/** * * @author henrique */ package br.com.salessystem.view; import br.com.salessystem.dao.ClientesDAO; import br.com.salessystem.model.Clientes; import br.com.salessystem.model.Utilitarios; import java.awt.Color; import java.awt.event.KeyEvent; import java.util.List; import javax.swing.JOptionPane; import javax.s...
48.517647
241
0.63859
6cde114366244195f85e6fb8fb4029420db1effa
1,730
package com.yisu.international.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.LocaleResolver; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.ser...
28.360656
84
0.722543
6ee2bf9ad28992b48e6b217fe3bde2e595397424
10,479
/* Actor representing one of several refinements. Copyright (c) 2002-2015 The Regents of the University of California. All rights reserved. Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any ...
38.525735
81
0.642428
22bc3972570aa164ce9582d62cb2e4723ab64f8d
117
package com.company.controllers; public interface WindowsFunctions { public void setVisible(boolean visible); }
19.5
44
0.794872
e2f562674e55e7456fa220784188aae4cfdb4954
3,153
package com.abdelhakim.gestionetudiants.security.services; import com.abdelhakim.gestionetudiants.security.entities.AppUser; import com.abdelhakim.gestionetudiants.security.entities.UserRole; import com.abdelhakim.gestionetudiants.security.repositories.AppUserRepository; import com.abdelhakim.gestionetudiants.security...
39.4125
124
0.721852
0fcbc97ba2769708feae8a4efe78850b9fc1211b
5,200
package Project2_12306; import java.sql.SQLException; import java.util.ArrayList; public class PathQuery { String date; String first_train_num, first_train_type, first_from_name, first_to_name; int first_from_stop, first_to_stop; String first_depart, first_arrive; int first_seat1, first_seat2, first_seat3, first...
37.410072
159
0.726538
c4454773be5725d0f10c1cbbfdcfb100013704b1
3,771
package com.guojianyiliao.eryitianshi.page.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.TextView; impo...
32.791304
105
0.632458
fe8410b1be98b50dfffd7597b5e6e57f1f6e597d
804
package gsod; public class DataSet { public final static int YEAR_START = 15 - 1; public final static int YEAR_END = 18 - 1; public final static int TEMP_START = 25; public final static int TEMP_END = 30; public final static int MAX_START = 103; public final static int MAX_END = 108; public final static int...
23.647059
73
0.710199
0ab2c30de8b33f0411f270d5421cdae6c17b301d
73,467
/** * The MIT License (MIT) * * Copyright (c) 2009-2015 FoundationDB, LLC * * 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...
44.715155
193
0.572611
e192a47f35d0b9034679df4ac249eba60fa1e40d
1,664
package com.itheima.androidl.fragment; import android.graphics.Color; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.support.v7.graphics.Palette; import android.view.View; import android.widget.TextView; import com.itheima.androidl.R; public class DrawableF...
36.977778
76
0.769231
f254daaf29f20a49d1addd97df52334d727b5e8c
4,116
/* * Copyright 2018 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...
38.111111
131
0.73688
be01cd74ea896e2f99cb46025a0d261b735438ef
1,611
/* * 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 clasePadre; /** * * @author: CxrlosMX * @Git-Hub: https://github.com/CxrlosMX * @Phone: 953-212-97-27 * @Email: LuisCRend...
25.171875
158
0.654252
edc0262a2e50d4602758f979b0e6624a6051ea13
1,243
package solutions.digamma.damas.logging; import java.util.Arrays; import java.util.logging.Handler; import java.util.logging.Logger; import javax.inject.Inject; import org.junit.Test; import org.junit.runner.RunWith; import solutions.digamma.damas.cdi.ContainerRunner; @RunWith(ContainerRunner.class) public class Invo...
32.710526
80
0.757039
2291a8c943c307e13f0bf65f5c6a8030d1edde51
732
package com.huangtao.meetingroom.arcsoft; public class CompareResult { private String userName; private float similar; private int trackId; public CompareResult(String userName, float similar) { this.userName = userName; this.similar = similar; } public String getUserName()...
18.3
58
0.622951
ea7bab06de18136999f438d5fbc253cd08b0d7b2
2,119
package edu.utdallas.hltri.util; import java.io.BufferedReader; import java.io.Console; import java.io.FileReader; import java.io.IOException; import java.util.HashMap; import java.util.Map; /** * * @author trevor */ public class InquirerPolarityChecker { // Initialize our hash map to store 11,788 keys privat...
21.845361
75
0.579991
83028f71aa4e09c28dd45f723a48edc58179db3b
634
package miu.xphotocollage.models.util; import miu.xphotocollage.views.MiuXphcSettingGUIDialog; /** * * @author garrik brel */ public class MiuXphcIHMModel extends MiuXphcModelModel{ public MiuXphcIHMModel (){ } public void editDesign() { MiuXphcSettingGUIDialog dialog = new MiuXp...
20.451613
89
0.638801
2623b3da5d8dab238203e4ca39c3a58899c10606
1,644
package com.masaponto.android.ponstg; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Point; class Chara{ private Bitmap charaImage; private Point p; private Paint paint; private int displayX, displayY; public int hitDistance...
23.826087
58
0.563869
c47b5c4563c67c70e1e8c18984e664a598fda454
354
public int XXX(int x) { Long result = new Long(0); while (x != 0){ result = result*10 + x % 10; x = x / 10; if(result > Integer.MAX_VALUE || result < Integer.MIN_VALUE){ return 0; } } ret...
27.230769
77
0.381356
13ed585dbaf0ec15e14cae86d60a0ac6dd3fe552
605
package com.advent; import org.junit.jupiter.api.Test; import java.io.UnsupportedEncodingException; import java.security.NoSuchAlgorithmException; import static org.junit.jupiter.api.Assertions.*; class Day4Test { @Test void checkHashForNull() { assertFalse(Day4.checkHashForNull("abc", "000")); ...
26.304348
102
0.738843
32e677f7393eba1a96c15d48a5ca420c611ca07c
129
package br.com.designpattern.pojo; public abstract class Fisica extends Pessoa { protected String cpf; protected String rg; }
18.428571
45
0.790698
04a1bf12a5b91e553d8114725024927d4f34a153
1,991
package spork.benchmark.inject.method; import javax.inject.Inject; import spork.SporkInstance; import spork.benchmark.Benchmark; import spork.inject.ObjectGraph; import spork.inject.ObjectGraphs; import spork.inject.Provides; import spork.inject.internal.InjectMethodBinder; public final class InjectFiveMethodWarm ex...
19.144231
67
0.714214
7c8d5e486022608ccf993ed7b82ee7ccdf0d3e78
2,013
package com.github.kuxuxun.scotchtest.assertion; import org.junit.Before; import org.junit.Test; import com.github.kuxuxun.commonutil.ut.TestExpected; import com.github.kuxuxun.commonutil.ut.TestHelper; import com.github.kuxuxun.scotch.excel.ScSheet; import com.github.kuxuxun.scotch.excel.cell.ScColor; import com.git...
28.757143
81
0.770989
fbc45bf491afd04b9fde82fb19f20765e9eda11a
2,327
package org.artifactory.ui.rest.service.builds.buildsinfo.tabs.env; import org.artifactory.api.build.BuildProps; import org.artifactory.api.build.BuildService; import org.artifactory.api.build.diff.BuildParams; import org.artifactory.rest.common.service.ArtifactoryRestRequest; import org.artifactory.rest.common.servic...
43.90566
114
0.761925
ea5772f8b1db2db5e2a7f1a2c4ec2267cab52fe2
169
package com.aibiancheng.model.bo.organization; /** * 描述: * 作者:LevelCoder * 邮箱:LevelCoder@126.com * 版本:V1.0.0 * 时间:2018/7/24 */ public class AddOrganizationBO { }
14.083333
46
0.680473
14015eea88671624fa4056d270137d8c7c8d2c28
222
package mekfarm.machines.wrappers; import net.minecraft.item.ItemStack; import java.util.List; /** * Created by CF on 2017-02-25. */ public interface ITreeBlockWrapper { List<ItemStack> breakBlock(int fortune); }
17.076923
44
0.743243
416f701b8bc653d62511b6769ab475c1de54ff7e
2,085
/** * BMITest * * Author : Istvan Ferencsik * Created : 2017.11.02 * * Description : A tryout of the Parameterized test. */ package org.javabootcamp.BmiCalculator; import static org.hamcrest.CoreMatchers.is; import static org.javabootcamp.UnitsOfMeasurment.UnitsOfMeasurementsOfLength.cm; import...
33.629032
81
0.741487
84cb4228444a66265cb436f5855d90b8b5041b81
2,859
/** * * Copyright 2017 Florian Erhard * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
20.133803
77
0.689052
1d9c7351cf477fbd746e18ef3863d0843089c908
2,823
package org.attribyte.api.http.impl.jetty; import com.google.common.base.Charsets; import com.google.common.hash.Hashing; import com.google.common.io.ByteStreams; import org.attribyte.api.http.ClientOptions; import org.attribyte.api.http.GetRequestBuilder; import org.attribyte.api.http.Request; import org.attribyte.ap...
32.079545
98
0.700673
2ca5b12fe7034cb2412921c1854e99035275044c
927
package hd.dp.test; import java.util.List; import org.junit.Test; import hd.dp.composite.File; import hd.dp.composite.Folder; import hd.dp.composite.IFile; public class CompositeTest { @Test public void testComposite() { Folder rootFolder = new Folder("level01"); File aFile = new File("level01.txt"); Fold...
20.152174
55
0.648328
d924f84db9338c53037ae3af1c0073813ce18a24
642
// This file is part of PDQ (https://github.com/ProofDrivenQuerying/pdq) which is released under the MIT license. // See accompanying LICENSE for copyright notice and full details. package uk.ac.ox.cs.pdq.planner.linear.plantree; import org.jgrapht.Graph; import org.jgrapht.graph.DefaultEdge; /** * A tree. * * @a...
20.0625
113
0.685358
8f93c4c17706fa2823cda13dde998717ada9fcac
3,183
package pt.cm_vila_do_conde.artesanato_2.adapter; import android.os.Bundle; import android.text.format.DateUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.navigation.NavController; import androidx.recyclerview.widg...
35.764045
127
0.672636
3684e9f4efeea444a52428651ffbd0fc288eb84a
1,674
package hr.foi.rsc.lifeline.mvp.presenters.impl; import com.parse.FindCallback; import com.parse.ParseException; import com.parse.ParseObject; import java.util.ArrayList; import java.util.List; import hr.foi.rsc.lifeline.models.User; import hr.foi.rsc.lifeline.mvp.presenters.AchievementsPresenter; import hr.foi.rsc....
27.442623
86
0.655317
102c9add5d322ddb52fa229e0768b5aedd69437d
8,072
/* * Copyright © 2014 Cask Data, 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 t...
39.568627
118
0.687438
0b27bcd34c89d52b98901b998c1df0b31fca08fb
1,426
package customer; import javax.servlet.http.*; import org.apache.struts.action.*; import tools.*; /* @author stephan@stephanwiesner.de */ public final class FulfillOrderAction extends Action { java.util.logging.Logger logger = LoggerInitiator.getLogger(); public FulfillOrderAction() { logger.info("Fulfill...
31.688889
74
0.727209
02411d680dbdb2d17995a220ffcbec699a67a361
7,677
package cn.vfinance.demo; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.Toast; import ...
39.984375
121
0.504103
08bbf3d791ef62ab47786741aa425a6c68956a6f
252
package usuario; public class TestaUsuario { public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new TelaUsuario(); } }); } }
19.384615
56
0.527778
2d86615847797ba49c0669a54bb5521938f59adf
268
package org.jeecg.modules.system.entity.qianfu; import lombok.Data; /** * 物通博联设备网关数据 */ @Data public class WTBLMessageVO { private String varName; private String varValue; private String readTime; private String isWarn; private String varId; }
16.75
47
0.720149
02d9a40952a655cfddd8481b07c8a07371f2e509
946
package co.clai.util.cache; import java.util.HashMap; import java.util.Map; public class PermanentCache<T> implements Cache<T> { private static Map<String, CacheEntry> data = new HashMap<>(); public static final String SEPERATOR = ":@:"; private final String id; public PermanentCache(String id) { this.id = ...
18.92
70
0.706131
4c5f2efca7e07cfdb887f99964606b9363127cae
3,169
/* * Copyright (c) 2022 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS...
23.649254
87
0.550647
d7cbaea63cb144ee0759313f08a18969fafc8760
1,289
package gui.components; import java.awt.Toolkit; import javax.swing.text.AttributeSet; import javax.swing.text.BadLocationException; import javax.swing.text.DocumentFilter; import file.SyncropItem; public class SyncropDocumentFilter extends DocumentFilter { boolean allowWhiteSpace=true; boolean validateInput=tr...
28.021739
116
0.767261
03c1da4fd126f002e543cf5d34046c65907ea61d
3,241
/* Copyright 2018, Infor 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 writing, so...
25.124031
78
0.717371
3d26023ef4b598641599c2c640c9b244a108f7eb
1,218
package frc.robot.commands; import frc.robot.Robot; import frc.robot.subsystems.Drive; import frc.robot.subsystems.VisionLight; public class CameraSetDriveSetpoint extends Command { private static final int PERIOD = 10; //period in milliseconds private static final double TIME_FOR_RELAY_TO_SWITCH = 0.033; // ...
29
110
0.651888
1b98bcd509eff2c9c425d62948e6cba9d91b649f
3,656
package com.nepxion.swing.preference; /** * <p>Title: Nepxion Swing</p> * <p>Description: Nepxion Swing Repository</p> * <p>Copyright: Copyright (c) 2010</p> * <p>Company: Nepxion</p> * @author Neptune * @email 1394997@qq.com * @version 1.0 */ import javax.swing.BorderFactory; import javax.swing.Icon; import ...
21.892216
119
0.719639
a4384d4764be76332352f4f7333a6cb1c1cf9650
754
import javax.swing.*; import java.util.*; public class Listener extends JLabel implements Observer{ public Listener(){ super(); } public void update(Observable o, Object data){ display(data); } public void display(Object data){ if(data instanceof Integer){ ...
30.16
77
0.547745
aeb514f7a81767e37572d55674c68e644a274c0a
7,693
package com.pub.jmos; import java.net.Socket; import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.IOException; import java.io.File; import java.io.OutputStream; import java.io.FileInputStream; import java.util.Map; import java.util.HashMap; class ServerThread extends Thread { private S...
38.273632
159
0.495515
434208bf778d808d9310add35e1fb2b8105c5317
3,271
/** * The MIT License * Copyright © 2021 Heinz Nixdorf Chair for Distributed Information Systems, Friedrich Schiller University Jena * * 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 wi...
35.172043
111
0.740752
d413258f8df5c96978972306a2d89371e904e662
2,949
/* * 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...
36.407407
114
0.755171
30a995c970a147bfafc432310f65c0256c6e08c8
2,567
/* * 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 ...
40.109375
115
0.735489
530b10b456c37ba128d5f182cbf02aab1b87a5ca
2,321
package mantis.tests; import biz.futureware.mantis.rpc.soap.client.IssueData; import biz.futureware.mantis.rpc.soap.client.MantisConnectPortType; import mantis.appManager.AppManager; import org.openqa.selenium.remote.BrowserType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.SkipException;...
33.637681
145
0.745799
3e448f34049f203b4b43d54364175257b32ba461
1,266
package com.google.kpierudzki.driverassistant.obd.service.commands; import com.github.pires.obd.commands.ObdCommand; import com.github.pires.obd.commands.engine.MassAirFlowCommand; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Locale; /** * Created by Kamil on...
23.886792
96
0.682464
6ba0b2d9fa6b410c8189517920243d5620a1685b
931
package me.mrletsplay.mrcore.misc.classfile.pool.entry; import me.mrletsplay.mrcore.misc.classfile.pool.ConstantPool; import me.mrletsplay.mrcore.misc.classfile.pool.ConstantPoolTag; import me.mrletsplay.mrcore.misc.classfile.pool.MethodHandleReferenceType; public class ConstantPoolMethodHandleEntry extends AbstractC...
29.09375
97
0.821697
20322e9fde0f003288ea96b878a3b7df3b876d39
419
package com.kyperbox.umisc; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.Batch; public class ImageButton extends com.badlogic.gdx.scenes.scene2d.ui.ImageButton{ public ImageButton(ImageButtonStyle style) { super(style); } @Override public void draw(Batch batch, float parentA...
19.952381
80
0.75179
3d3ccc6781b7d6d5ec6be553da3c24d67bef65e6
3,134
/* * Copyright 2011-17 Fraunhofer ISE, energy & meteo Systems GmbH and other contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
27.491228
87
0.575303
2240cd28f5d13045403fbec9092472740ef0ced0
1,644
/* Copyright 2000-2005 University Duisburg-Essen, Working group "Information Systems" 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 ...
26.95082
102
0.680049
f54f69bafdd87141944f0c51cd39c6f91a81e64a
2,100
/* * Copyright (c) 2010-2014. Axon Framework * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
30
106
0.70619
bd3be77a299d230d1e93fca95f41d5b924589eda
3,191
/* * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
61.365385
473
0.684738
76d5fd989ac1d5d5b391927751015883f152ec87
9,901
/* * 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 ...
42.861472
189
0.577921
faa0762bdf59c07f2b8aabe2709e42aeca4b88fc
553
package com.addressbook.domain.exceptions; import org.springframework.validation.FieldError; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class BeanValidationException extends RuntimeException { private final List<FieldError> fieldErrors = new ArrayList<>(); publi...
25.136364
67
0.754069
ef1d17aaf1aaf7927e9fb3cad87d53fe97d33d66
12,518
/* * Copyright 2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
46.191882
129
0.711615
1d4b2818a168a02f2e582726119864711a40a014
1,290
void solve() { n = in.nextInt(); graph = new ArrayList[n]; for (int i = 0; i < n; i++) graph[i] = new ArrayList<>(); mas = new long[n][3]; used = new boolean[n]; for (int j = 0; j < 3; j++) for (int i = 0; i < n; i++) mas[i][j] = in.nextLong(); for (int i = 0; i < n - 1; i++) { int x...
30
86
0.427132
949347890c36e4aaa23afd3441c35a8bde897b52
1,379
package org.ontosoft.client; import org.ontosoft.client.authentication.SessionStorage; import com.google.gwt.core.client.Callback; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.ScriptInjector; /** * Entry point classes define <code>onModuleLoa...
33.634146
86
0.707034
eec189400236c1a571483f4f8027aac60d509657
859
package com.platform.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; /** * 系统页面视图Controller * @ClassName: SysPageController * @Description: * @Author: ...
26.030303
96
0.607683
844d73745c4dbd30a677d645098412d7cf7588d4
1,217
package com.twu.biblioteca.accounts.application; import com.twu.biblioteca.accounts.core.Account; import org.junit.Before; import org.junit.Test; import java.util.Optional; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.mock; import static org...
32.026316
84
0.746097
9d3b3a688adbd28a4b322e8df23aa4f58c0056cb
1,731
package com.android.haule.generateqrcode; import android.graphics.Bitmap; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import com.google.zxing.BarcodeFormat; import co...
33.941176
95
0.70364
8d7553c4d5055d98a46e7b88bc6466bc858c67e8
4,960
/* * Copyright 2012 FrostVoid Software * * 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 ag...
33.513514
135
0.627218
e77dce1ec4b53b585f19fcd69f75501d3907e63f
1,643
package recursive; public class Test1 { Node head; public static void main(String[] args) { Test1 test = new Test1(); test.head = test.init(5); System.out.println(test.getData()); System.out.println(test.getData()); System.out.println(test.getData()); System.out.println(tes...
16.938144
57
0.536823
977cfe3987e5eb6b2bfa8964f7cf31842745414c
9,763
package com.kayu.utils.location; import android.content.Context; import android.location.LocationManager; import com.amap.api.location.AMapLocation; import com.amap.api.location.AMapLocationClient; import com.amap.api.location.AMapLocationClientOption; import com.amap.api.location.AMapLocationListener; import com.ama...
36.981061
142
0.563249
882a1186e6dc9971ce0fec1e5cfffe1d93a46936
858
package com.xeiam.xchange.examples.anx.v2.trade; import java.io.IOException; import com.xeiam.xchange.Exchange; import com.xeiam.xchange.dto.marketdata.Trade; import com.xeiam.xchange.dto.marketdata.Trades; import com.xeiam.xchange.examples.anx.v2.ANXExamplesUtils; import com.xeiam.xchange.service.polling.trade.Polli...
28.6
90
0.768065