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
2a992e840d0519f1682a7da17fdad78083151311
4,952
package com.sforce.soap.partner; /** * Generated by ComplexTypeCodeGenerator.java. Please do not edit. */ public class SearchResult implements com.sforce.ws.bind.XMLizable , ISearchResult{ /** * Constructor */ public SearchResult() {} /** * element : queryId of type {http://...
38.6875
168
0.676494
01923cd471d925c9c606fc4a53b8e5e3b3003b3f
37,443
package com.example.intelligentdoorlock; import android.annotation.SuppressLint; import android.app.TimePickerDialog; import android.bluetooth.BluetoothSocket; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android...
46.168927
142
0.506931
1c1a92c942b1f843162d02199a35a0e6d3f90ff5
1,532
package com.pcwerk.dedup; import java.io.File; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.oodt.cas.filemgr.metadata.CoreMetKeys; import org.apache.oodt.cas.filemgr.metadata.extractors.AbstractFilemgrMetExtractor; import org.apache.oodt.cas.filemgr.structs.Product; import org....
30.64
83
0.685379
5c1c133dc67a245ae3ec6fb314d091706e4288ef
569
package io.github.hotstu.tinyritro.anotations; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; /** * @author hglf * @since 2018/5/25 */ @Retention(CLASS) @Target(value = TYPE)...
19.62069
57
0.664323
a91d42be25f745fa2d8943b663d3449a83d232f0
1,126
package org.batfish.grammar.frr; import org.batfish.grammar.BatfishANTLRErrorStrategy; import org.batfish.grammar.BatfishANTLRErrorStrategy.BatfishANTLRErrorStrategyFactory; import org.batfish.grammar.BatfishCombinedParser; import org.batfish.grammar.BatfishLexerRecoveryStrategy; import org.batfish.grammar.GrammarSett...
35.1875
93
0.793073
0f7acd5b553742814f41a1241682e47775835ca9
11,995
package edu.scripps.yates.dbindex.io; import java.io.File; import edu.scripps.yates.dbindex.util.IndexUtil; import edu.scripps.yates.utilities.fasta.dbindex.DBIndexSearchParams; import edu.scripps.yates.utilities.fasta.dbindex.Enzyme; import edu.scripps.yates.utilities.fasta.dbindex.IndexType; import edu.scripps.yate...
24.038076
113
0.764569
c51c7d90c9cd7d7eb3e43baa6e98086d0b28e1ee
4,699
/* * Copyright (c) 2001-2009, Jean Tessier * 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...
37
109
0.710577
881386691a6f545171710d5f8252a7a7f2ec12ab
8,246
// 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.facebook; import android.content.ContentProvider; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri...
33.795082
122
0.547174
b9e05491c0b2082cfc9a2359a1e1ed06d19ba41f
456
package dev.natsuume.knp4j.parser; import dev.natsuume.knp4j.data.define.KnpResult; import dev.natsuume.knp4j.data.element.KnpResultBuilder; import java.util.List; public class KnpResultParser implements ResultParser<KnpResult> { @Override public KnpResult parse(List<String> list) { return new KnpR...
24
66
0.741228
939084a3937a96c65675fd464f9c6ab39fa6fc09
1,539
package com.madx.mybatis.data.utils.factory; import java.util.Properties; import javax.sql.DataSource; import org.apache.ibatis.datasource.jndi.JndiDataSourceFactory; import org.apache.ibatis.datasource.pooled.PooledDataSource; public enum FactoryType { DEVELOPMENT("com.mysql.jdbc.Driver", "jdbc:mysql://localhost:...
27.482143
100
0.740091
8c345b0ca15ac37ae268a0a5d5566e217783150b
691
package com.svyat.sample.alienclock; import android.test.ActivityInstrumentationTestCase2; import android.test.suitebuilder.annotation.SmallTest; /** * Created by shromyak on 09.07.16. * * Is activity able to create */ public class DrawerActivityTest extends ActivityInstrumentationTestCase2<DrawerActivity> { ...
20.939394
90
0.694645
4956bddd29756d6a40f8dcc6a20526d8c6b4d36b
596
/** * Copyright (c) Fivetran 2018 **/ package com.fivetran.agent.mysql.source; public class CleanupStaleSessions implements Runnable { /** * Mysql tends to leave orphaned sessions lying around on the server side * upon unclean disconnect. However rarely this happens, they accumulate * over time and...
29.8
77
0.70302
0cc4add887b5806f84dcd248512c82c047f5f916
2,664
/* * - * ============LICENSE_START======================================================= * Copyright (C) 2021 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
48.436364
139
0.711712
061b297748da5ce54fa68c66048307f70c966eba
2,994
/* * MIT License * * Copyright (c) 2018 Angel Castillo. * * 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...
37.898734
113
0.665665
33b398f2f5511a555122f9a788f1c6f201487edc
3,414
package Pages; import DAO_DB.BrandManagementDAO; import DAO_DB.TierProgramDAO; import DAO_DB.UserManagementDAO; import Objects_Data.Brand; import Objects_Data.TierProgram; import Objects_Data.UserAccount; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.List; import java.util.Scanner;...
40.642857
107
0.614821
62e49b671d8e8e9ee897892e4b397682033e449d
599
package eu.asangarin.monhun.monsters.data; import eu.asangarin.monhun.util.compare.IIntegerComparable; import lombok.Getter; import net.minecraft.item.ItemStack; public class MHDropData implements IIntegerComparable { private final ItemStack drop; @Getter private final double chance; private final int rawChance;...
20.655172
59
0.752922
9cee50c9b785b165358aea18d1909b86f1884108
2,405
package voogasalad.gameengine.executors.control.condition.game; import voogasalad.gameengine.executors.control.gamecontrol.Game; import voogasalad.gameengine.executors.control.action.game.GameAction; import voogasalad.gameengine.executors.control.condition.ConditionClassification; import java.util.Map; import java.ut...
26.428571
122
0.681081
7bdfab863d601535dcaff6993890f034728c107a
7,743
/* * 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 ...
49.634615
198
0.723234
deb4536a571e69dbdfc60124801e59809df20b99
650
package com.github.bingoohuang.springrestclient.provider; import lombok.val; import org.junit.Test; import static com.google.common.truth.Truth.assertThat; public class DefaultSignProviderTest { @Test public void testCreateProxy() { val signStr = new StringBuilder(); val logStr = new String...
27.083333
76
0.684615
48a791406a0279bd6636a36347809906ba4902c2
1,322
package mediabrowser.model.dto; import mediabrowser.model.entities.*; import mediabrowser.model.querying.*; public class DtoOptions { private java.util.ArrayList<ItemFields> Fields; public final java.util.ArrayList<ItemFields> getFields() { return Fields; } public final void setFields(java.util.ArrayList<ItemF...
21.322581
70
0.748865
5b8bb6496560a4e5729ea372ae40fbad78a2e156
6,826
package mod.hey.studios.moreblock.importer; import static mod.SketchwareUtil.getDip; import android.app.Activity; import android.graphics.drawable.Drawable; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.LinearLayout; ...
32.350711
130
0.589511
18219dccc3ad82ddfa6b3f66428339478b282982
4,617
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * 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 ...
41.972727
183
0.753303
a4992a06772435f514e1b6a983df735b6cbdd2ed
736
package com.googlecode.jsu.util; import java.util.Map; import com.atlassian.jira.issue.fields.Field; import com.opensymphony.workflow.loader.AbstractDescriptor; import com.opensymphony.workflow.loader.FunctionDescriptor; /** * @author Alexey Abashev */ public class WorkflowFactoryUtils { @SuppressW...
29.44
85
0.724185
3520d755405ebe9a0545b56b92f448b4f2eff75e
3,195
package org.apache.commons.ognl.internal; /* * 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 Li...
24.389313
84
0.579969
ec85b5535a515f4b05525bde92283e5b50337152
22,731
package br.com.mobiclub.quantoprima.ui.fragment.store; import android.accounts.OperationCanceledException; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.drawable.AnimationDrawable; import android.graphics.draw...
39.73951
122
0.62285
c4a495e933d7957b6735cae1a497e5f4b0340c4c
1,185
package io.dockstore.toolbackup.client.cli; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoUnit; import java.util.Date; /** * Created by kcao on 11/01/17. */ public class FormattedTimeGene...
34.852941
89
0.689451
96effc874a183ecd4deba565a2263415c07a55cf
2,358
package com.tianren.methane; import android.app.Activity; import android.app.Application; import android.content.Context; import android.support.multidex.MultiDex; import android.util.DisplayMetrics; import com.facebook.drawee.backends.pipeline.Fresco; import com.tianren.acommon.AppWsInfo; import com.tianren.acommon....
29.111111
98
0.66285
36a0d08638786abdbfc8b9c9f7e022f642a2ef76
309
package IM.Memento; import java.awt.image.BufferedImage; public class Memento { private BufferedImage bufferedImage; public Memento(BufferedImage bufferedImage) { this.bufferedImage = bufferedImage; } public BufferedImage getBufferedImage() { return bufferedImage; } }
19.3125
49
0.71521
ba88c74f742dbd8cf5897482ec746bcf456ec3f8
414
package com.nsysmon.server.processing; import com.nsysmon.server.data.json.EnvironmentNode; import com.nsysmon.server.data.json.ScalarNode; import com.nsysmon.server.data.json.TraceRootNode; /** * @author arno */ public interface NewDataListener { void onNewScalarData(ScalarNode scalarData); void onNewTrac...
25.875
63
0.797101
45276ce1ccb3cdc679f6a46fb3ec3b43d096429e
240
package com.qa.readTicket.persistance.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.qa.readTicket.persistance.domain.Tickets; public interface hqRepository extends JpaRepository<Tickets, Long> { }
24
68
0.833333
ea4e46e512e22ea317b8b5d2d6f485992f60f9c8
1,004
package com.sell.modules.sys.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.google.common.collect.Lists; import lombok.*; import org.apache.commons.lang3.StringUtils; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * @autho...
20.489796
76
0.744024
c7dd0074a07e8bd1a784fdf69bf3abc876d9208a
414
// Code generated by lark suite oapi sdk gen package com.larksuite.oapi.service.im.v1.model; import com.google.gson.annotations.SerializedName; public class ChatMembersIsInChatResult { @SerializedName("is_in_chat") private Boolean isInChat; public Boolean getIsInChat() { return this.isInChat; ...
23
50
0.717391
cebe6296157b01482abfffb28eb9562c257e01bf
1,562
package pl.wilenskid.compass.factory; import android.content.Context; import pl.wilenskid.compass.model.Direction; public class DirectionFactory { private final Context context; private final Direction[] directions; public DirectionFactory(Context context) { this.context = context; this....
31.24
74
0.542894
dda82d568ead672dd258b99b152c5c91f44dbbe6
1,300
/* * Copyright 2016-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...
30.952381
97
0.723846
028631e938534722a4e4deb0b91a1979bd155335
1,612
package androidcookbook.packtpub.com.persistentdata; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.TextView; public class MainActivity extends Activity {...
29.851852
107
0.690447
29072c825bbb6d28f735412d9936f6364cbd0a4e
3,243
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
35.25
126
0.683626
bdfaf07b663f5261e9e1d367f4a93db41537f2e0
2,844
/* Copyright (c) 2012 LinkedIn Corp. 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...
31.6
127
0.720113
831fa145fe4f4a0dc75ed4ab4a5fccd94602c63d
1,115
package s2.swing; import javax.swing.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; /** * * @author s@scalingbits.com */ public class MouseAdapterTest extends MouseAdapter { public MouseAdapterTest() { erzeugeGUI(); } /** * Hier geht es los! Das Hauptprogramm ...
27.195122
65
0.621525
a90afc7d78ac3dc1a8e25ff3dba2c37847d58ecd
2,118
package com.kidand.algorithms.and.data.structures.datastructures.binarysearchtree.test; import com.kidand.algorithms.and.data.structures.datastructures.binarysearchtree.BinarySearchTree; import java.util.ArrayList; import java.util.Random; /** * ██╗ ██╗██╗██████╗ █████╗ ███╗ ██╗██████╗ * ██║ ██╔╝██║██╔══██╗██╔...
28.24
98
0.484891
29f95a59df5534d40af75fe0102e38f8e806051a
287
package com.my.blog.service; import com.baomidou.mybatisplus.extension.service.IService; import com.my.blog.entity.Timeline; /** * <p> * 时间轴 服务类 * </p> * * @author jiaomingyu5778@gmail.com * @since 2020-04-07 */ public interface ITimelineService extends IService<Timeline> { }
16.882353
62
0.721254
e6bfaecee6f4b64d980545afab1a8c4d21c27d0c
11,002
// // LFXLANTransportManager.java // LIFX // // Created by Jarrod Boyes on 24/03/14. // Copyright (c) 2014 LIFX Labs. All rights reserved. // package lifx.java.android.network_context.internal.transport_manager.lan; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.S...
29.896739
221
0.754863
6e4b85afa29fea27e29208ead9b7244574c8e60e
715
package NewTest; import java.util.Scanner; public class UserLogin { public static void main(String[] args) { String username = new String("zhangsan"); String password = new String("123456"); for (int i = 0; i < 3; i++) { System.out.println("请输入用户名"); String inputnam...
29.791667
76
0.545455
8e184d96b275faf0dea8da0ac33b54754d9c5156
383
package com.ctrip.zeus.tag; public final class PropertyValues { private PropertyValues() { } public static class RelationTypes { public static final String TRAFFIC_MIGRATION = "trafficMigration"; public static final String EXTENDED_ROUTING = "extendedRouting"; publ...
22.529412
75
0.678851
8fae1c2900db3afaf602d12b45e7ae12d57b1d5c
4,393
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
45.28866
181
0.662417
6473cff40b043e40b9287ee90c13b53e26431442
1,577
/* * Copyright 2016 EMBL - European Bioinformatics Institute * * 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 b...
31.54
112
0.733037
791ae0b70a408a3e99237b713df4b488b88d3cac
327
package com.dazito.oauthexample.utils.converter; import com.dazito.oauthexample.model.AccountEntity; import com.dazito.oauthexample.service.dto.request.AccountDto; import com.dazito.oauthexample.utils.converter.config.AutoConverter; public class AccountDtoToAccountEntity extends AutoConverter<AccountDto, AccountEntit...
36.333333
89
0.856269
9ea43dd9f95fbf1b0ab187dc3839d37f10d085d8
651
/* See lda-top/LICENCE (or https://raw.github.com/epimorphics/elda/master/LICENCE) for the licence for this software. (c) Copyright 2011 Epimorphics Limited $Id$ */ package com.epimorphics.lda.vocabularies; import com.hp.hpl.jena.rdf.model.Resource; import com.hp.hpl.jena.rdf.model.ResourceFactor...
27.125
118
0.732719
4b6c16eb1b28c4da25377b3ca6d6d42731141815
7,339
package org.hpccsystems.pentaho.job.eclmerge; import java.util.ArrayList; import java.util.List; import org.hpccsystems.javaecl.Merge; import org.pentaho.di.cluster.SlaveServer; import org.pentaho.di.compatibility.Value; import org.pentaho.di.core.Const; import org.pentaho.di.core.Result; import org.pentaho.di.core.R...
32.188596
145
0.676386
40dbbc485da075ab266a76cf7de33656d40b60b3
941
package com.example.recyclerview; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.os.Bundle; import java.util.ArrayList; public class MainActivity extends AppCompatActivity { RecyclerView r...
31.366667
110
0.718385
d8b53362a04a90d449a76fba2b4f92e056ea64c8
732
package org.gbif.pipelines.diagnostics.strategy; import java.util.Collections; import java.util.Optional; import lombok.AccessLevel; import lombok.NoArgsConstructor; import org.gbif.pipelines.keygen.HBaseLockingKeyService; import org.gbif.pipelines.keygen.api.KeyLookupResult; @NoArgsConstructor(access = AccessLevel.P...
31.826087
89
0.756831
5ebde193d4788c07433c1bad90ccd133efd91472
5,578
package com.skycaster.mediaprojectindemo.activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.PixelFormat; import android.hardware.display.VirtualDisplay; import android.media.Image; import android.media.ImageReader; import android.media.projection.MediaProjection; import an...
33.005917
118
0.642166
c7396abe69c9c273e7a489640e3c2e71f2cc3e82
2,246
/** * 自动生成的PO,不要手动修改 * */ package com.sandrew.bury.model; import com.sandrew.bury.annotations.TableName; import com.sandrew.bury.annotations.ColumnName; import com.sandrew.bury.bean.PO; import java.util.Date; import java.math.BigDecimal; @TableName("tt_test") public class TestPO extends PO { public TestPO()...
19.876106
74
0.573019
b3b4b030979f71ed11efdb5eb9aa4fca62aee675
602
package APP; /** * 这是一个全局的配置文件,制定了elasticsearch的ip和芒果DB的ip等 * @author shilei * @date 2017年1月16日14:29:40 */ public class config { /** * 芒果DB的配置 */ public static String MongoDB_IP="localhost"; public static int MongoDB_Port=27017; public static String MongoDB_DataBase="SpiderNews"; public st...
23.153846
59
0.719269
ea1577dff69e3bd88e64467a88b37b7955a5afe4
338
package ezdb; public class DbException extends RuntimeException { private static final long serialVersionUID = 1L; public DbException() { super(); } public DbException(String s, Throwable t) { super(s, t); } public DbException(String s) { super(s); } public DbException(Throwable t) { ...
15.363636
51
0.656805
262457e18553e3d20c53e26f52a0ada6c2d63dd1
7,883
package org.noear.luffy.event.message.dso; import org.noear.luffy.dso.LogLevel; import org.noear.luffy.dso.LogUtil; import org.noear.luffy.model.AFileModel; import org.noear.luffy.event.message.Config; import org.noear.luffy.utils.Datetime; import org.noear.luffy.utils.ExceptionUtils; import org.noear.weed.DataItem; i...
33.121849
119
0.516935
308b8d133b521157fc6debeea5bcba4d2dce70ef
6,902
/* * The MIT License (MIT) * * Copyright (c) 2014 Justin Palinkas * * 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...
28.056911
95
0.687192
24ced3a2946f822a75060bfa87c3a63154c36760
2,801
package com.distrimind.bouncycastle.asn1.pkcs; import java.math.BigInteger; import com.distrimind.bouncycastle.asn1.ASN1EncodableVector; import com.distrimind.bouncycastle.asn1.ASN1Integer; import com.distrimind.bouncycastle.asn1.ASN1Object; import com.distrimind.bouncycastle.asn1.ASN1OctetString; import com.distrimi...
25.935185
94
0.615137
41f2eab116a54fb2a641ec2b121de0510eb5d8f4
3,096
/** * Copyright 2016 Red Hat, Inc. * * Red Hat 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.org/licenses/LICENSE-2.0 * * Unless required by...
35.586207
188
0.728359
055d4012a19b678cd097d449824bff9316dce8b8
194
package com.shadowcs.nightraven.rhea; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; /** * * * @author Josh "ShadowLordAlpha" * */ public class AudioScene { }
12.125
46
0.701031
86fc59bd1f0e472315fbc20d5b87608a90fb7575
1,280
package io.nadron.common.http.route; import io.nadron.common.http.Request; import io.nadron.common.http.Response; import io.nadron.common.http.url.UrlMatch; import java.util.Collection; import java.util.Map.Entry; public class Action { private Route route; private UrlMatch match; public Action(Route route, Url...
21.333333
75
0.705469
f1d02e3ccf4089bb879d9dc9f563c79716669ee8
1,958
/* * Copyright 2018, ConsenSys 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 ...
33.186441
118
0.742084
f803000728833e6039d38e6895fa9365658baaf9
8,415
/* * 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 ...
29.320557
123
0.690315
b7f9026f899a0178cdcba88f3ea54130051ff162
3,545
package com.example.janken.infrastructure.jdbctransaction; import com.example.janken.domain.model.janken.*; import com.example.janken.domain.transaction.Transaction; import com.example.janken.infrastructure.dao.JankenDetailDao; import com.example.janken.infrastructure.mysqldao.JankenDetailMySQLDao; import com.example....
32.522936
92
0.68378
35b893817e0494fa6a53ea1af3a64f5cfdb217ea
4,631
package com.tokelon.toktales.desktop.lwjgl.content; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.IntBuffer; import org.lwjgl.stb.STBTTFontinfo; import org.lwjgl.stb.STBTruetype; import org.lwjgl.system.MemoryStack; import com.tokelon.toktales.core.content.manage.codepoint.CodepointAsset; i...
42.486239
173
0.781041
d960abb4576f02d05c5eaaf89959f044bce78d46
2,753
/* * Copyright 2016 Tuntuni. * * 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...
28.381443
101
0.67708
bb60c0c22b9c48e6150f35c7cbe3327d226b0b0d
737
package org.ybiao.springcloud.feign.service; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.stereotype.Service; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.ybiao.springcloud.feign.bean.Patient...
25.413793
62
0.773406
014dc63f4d5b794c5bcd88c530248e2d29a7b7ff
4,986
package io.choerodon.test.manager.api.vo; import io.swagger.annotations.ApiModelProperty; import org.hzero.starter.keyencrypt.core.Encrypt; import java.util.Date; import java.util.Map; import io.choerodon.test.manager.api.vo.agile.ProductVersionDTO; import io.choerodon.test.manager.api.vo.agile.SprintNameDTO; import...
21.678261
75
0.662856
6652e5e2e89b91a3887447131fc5274fdee39641
599
package com.kymjs.arty; import android.app.Application; import com.kymjs.arty.utils.TypefaceUtils; import com.kymjs.common.Log; import com.kymjs.common.SystemTool; import com.kymjs.crash.CustomActivityOnCrash; import com.kymjs.rxvolley.toolbox.Loger; /** * Created by ZhangTao on 12/24/16. */ public class AppConte...
23.038462
45
0.722871
3ebab4ee876f70c00309f9e950139671802f7097
2,803
package de.kodestruktor.skeleton.vertx.service.content; import java.io.IOException; import java.net.URL; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.S...
28.602041
138
0.67178
7a399fc2e7988d3cd29208f8c6b32f7d191584b6
150
class C { interface I { boolean b(); } private boolean boolInverted() { I i = () -> { return true; }; return true; } }
11.538462
34
0.48
4da20a22e288ac8fe058560c32df3d3aad695d48
1,431
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package edu.wpi.first.hal; @SuppressWarnings("AbbreviationAsWordInName") public final class HALUtil extends JNIWrapper ...
32.522727
74
0.774284
0fcbb18c6f36fe9763944bb17be6c996f5ff924d
544
package uk.co.ribot.androidboilerplate.ui.CommentFragment; import java.util.List; import uk.co.ribot.androidboilerplate.data.model.Comment; import uk.co.ribot.androidboilerplate.ui.base.BaseFragment; public class CommentsFragment extends BaseFragment implements CommentsMvpView { //loadComments - метод выгрузки...
18.758621
79
0.733456
f5e416f2d6178038a0446d8601b91ec0b7181f77
414
package com.dianping.phoenix.bootstrap.tomcat6; import org.junit.Test; public class Tomcat6ProdServer extends AbstractTomcat6Bootstrap { @Test public void startServer() throws Exception { startTomcat("../phoenix-kernel/target/phoenix-kernel", "../phoenix-samples/sample-app1/target/sample-app1"); display("/inspe...
27.6
110
0.746377
f506d011ed3479af0bf4782d5560da40656c1ad5
3,115
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.packtpub.client.dto; import com.packtpub.beans.*; import java.io.Serializable; import java.util.List; /** * * @author Shamsuddin */ public class EmployeeDTO implements Serializable { private Intege...
19.967949
140
0.601284
49dc3f8b44fa1cdaa0f6e88686bd73ecc8d6ce09
2,938
package com.tunaprojects.morph.Model.Session; import android.content.Context; import android.content.Intent; import com.tunaprojects.morph.Model.Instance.Property; import com.tunaprojects.morph.Model.Instance.PropertyValue; import com.tunaprojects.morph.Model.Instance.TObject; import com.tunaprojects.morph.View.Bases...
30.926316
102
0.60211
4e37fb5f10a333694baa2377fbc6a10fbad9a7bb
2,716
/* * Copyright 2018 OpenTOSCA and * University of Stuttgart (Institute of Architecture of Application Systems, Institute for Parallel and Distributed Systems) * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
28.893617
125
0.727909
4275e1d0dc91d28cb3d5567714f67f166d967cd0
10,933
/* * 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 ...
31.326648
117
0.634867
39c5408e5fb4401fbe3696dc42bdbf22adbba2de
3,227
package svenhjol.charmonium.module.situational_ambience.sounds; import svenhjol.charmonium.handler.SoundHandler; import svenhjol.charmonium.helper.RegistryHelper; import svenhjol.charmonium.helper.WorldHelper; import svenhjol.charmonium.module.situational_ambience.SituationalSound; import java.util.List; import java....
38.879518
146
0.67493
5cb1d44628f9894840cb22012bb4cb4de800fe2b
10,595
/* * (C) Copyright IBM Corp. 2012, 2016 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 re...
32.700617
133
0.578575
331de7e825dfb49f27b3304dd4c79766ab5270a6
133
package Utility; public class Constants { public static final double RESULTS = -1.00; public static final int THRESHOLD = 5; }
16.625
45
0.729323
bd8b00d10c38f7bedbf15efddd5dc42eb0556386
15,774
package com.diviso.graeshoppe.shopkeepergateway.client.store.model; import java.util.Objects; import com.diviso.graeshoppe.shopkeepergateway.client.store.model.Banner; import com.diviso.graeshoppe.shopkeepergateway.client.store.model.DeliveryInfo; import com.diviso.graeshoppe.shopkeepergateway.client.store.model.PreOr...
23.791855
284
0.685559
44a56071274dc83334b63d23d580bd19a2ab4592
986
/* * Copyright (c) 2017-2019 Arrow Electronics, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License 2.0 * which accompanies this distribution, and is available at * http://apache.org/licenses/LICENSE-2.0 * * Contributors: * Arrow...
25.282051
72
0.767748
51c75d557bd2690e2ec7482611df33c6ea18ceb1
8,488
/** * Copyright 2018 The JASSISTANT Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
39.115207
174
0.689208
ac9fd87280ef2c20a5b8b17162a45819d3605b9a
1,655
package org.innovateuk.ifs.eugrant.overview.populator; import org.innovateuk.ifs.BaseServiceUnitTest; import org.innovateuk.ifs.eugrant.EuGrantResource; import org.innovateuk.ifs.eugrant.contact.populator.EuContactFormPopulator; import org.innovateuk.ifs.eugrant.overview.service.EuGrantCookieService; import org.innova...
38.488372
115
0.798792
9d3a99cbdd4cfe9767fb22483bb58d36543c84c0
3,622
package com.cloudera.companies.core.ingest.seq.mr; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.hadoop.fs.Path; import org.apache.hadoop....
32.053097
118
0.69492
0be8cb0a68435f20b9ec6cd040e8baa10b830430
2,692
package db.xml.xmlWrapper; import db.pojo.*; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetExceptio...
29.26087
119
0.613299
8e4d9d41fe12c9e342ada1b151c298ccfa19bc09
4,748
//DecodeMessage.java import java.awt.image.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.imageio.*; public class Decode extends JFrame implements ActionListener { JButton open = new JButton("Open"), decode = new JButton("Decode"), reset = new JButton("Reset"); JTextArea m...
34.656934
86
0.622157
c7b4ead3c23d911992d94706acb3eab1d56b7cef
1,682
/* * Copyright 2010 Ning, Inc. * * Ning 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.org/licenses/LICENSE-2.0 * * Unless required by applic...
25.484848
102
0.635553
0ad9a2dde5c1a8f401147db23cbe2709c98714a5
593
package org.archivemanager.services.scheduling; import java.io.Serializable; import java.util.List; import java.util.Map; public interface Job extends Serializable { Long getId(); String getUid(); String getGroup(); void execute(); Map<String,Object> getData(); List<Status> getStatus(); boo...
20.448276
49
0.721754
0872e4ea331bb92666aa4633d21afea4483b04b3
2,640
package is; import org.junit.Test; import static org.junit.Assert.*; import ru.fraction.calculator.Fraction; public class FractionTest { @Test public void testFractionCreate() { assertNotNull(Fraction.convert(5)); assertNotNull(Fraction.convert(2.8)); assertNotNull(Fraction.convert("8/9")); } ...
36.164384
92
0.681439
761824c476b526e4d6f03dd3324dd61093c22340
1,455
package org.wikipedia.richtext; import android.os.Parcel; import android.os.Parcelable; import android.text.TextPaint; import android.text.style.URLSpan; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuil...
29.693878
119
0.7189
f7433275c4c193205eef26ee521133acdccc1899
21,522
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
40.607547
187
0.621689
523ff661c50310c623313ab7c14f03a77591798d
215
package com.funmall.api.hystrix; import com.funmall.api.service.GoodsCategoryService; /** * @Author: WilliamDream * @Description: */ public class GoodsCategoryServiceHystrix implements GoodsCategoryService{ }
17.916667
73
0.790698
72b65a3b2891e6ab8055caa8ddc58ec216d27cc7
2,727
package io.neow3j.transaction; import io.neow3j.types.Hash160; import io.neow3j.wallet.Account; /** * A signer of a transaction. It defines a in which scope the witness/signature of an account is * valid, i.e., which contracts can use the witness in an invocation. */ public class AccountSigner extends Signer { ...
32.855422
97
0.671801
b86651cc740c6cb83e9ca9d9c10936f1fa40e91c
3,294
package com.github.ennoxhd.semver; import static com.github.ennoxhd.semver.AbstractSemanticVersionCreator.newVersion; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org....
25.534884
82
0.717365
850b14c2b0b5e6fdf833ebb044383568d399d5fb
2,263
/* * (c) Copyright 2019 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
53.880952
99
0.753425
c575fc5982bf6ff0d3260ab098aa828d8677fe57
12,472
/* * Copyright (C) 2007 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 app...
33.347594
99
0.619067
5b4e5322f3f7b8a339c3c32389470684fe16c56d
339
package controle; import java.util.Scanner; public class Ado { public static void main(String[] args) { Scanner input = new Scanner(System.in); String stop = ""; while (!stop.toLowerCase().equals("ado")) { System.out.println("Qual a palavra mágica ?"); //ado stop = input.next(); } inp...
14.73913
49
0.616519
532b8d0bb6118575e5c4f788f2ff1674cf219d09
288
package com.loki.yourpet.network; import com.loki.yourpet.models.Animals; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; public interface PetFinderAPI { @GET("animals") Call<Animals> getAnimals( @Query("type") String type ); }
16.941176
39
0.704861
d5ebbae18691c3a90c975d8b29eed7987cf0c2a4
8,406
package org.amfoss.templeapp.activities; import android.app.ProgressDialog; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android...
35.319328
140
0.483345