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
2413aed2a25cbc771ef2361a8fedcf9768c9bb15
7,765
package com.thinkgem.jeesite.modules.sys.security.wx; import com.thinkgem.jeesite.common.config.Global; import com.thinkgem.jeesite.common.utils.SpringContextHolder; import com.thinkgem.jeesite.common.web.Servlets; import com.thinkgem.jeesite.modules.sys.entity.Menu; import com.thinkgem.jeesite.modules.sys.entity.Off...
35.619266
137
0.636832
e5924fbe01113a283e9691a73df8919eb5e10afa
2,403
/** * project name: ns-crm * file name:TldCouponService * package name:com.ns.tld.service * date:2018-03-06 10:11 * author: wq * Copyright (c) CD Technology Co.,Ltd. All rights reserved. */ package com.ns.tld.service; import com.ns.common.model.TldCoupon; import com.ns.common.utils.DateUtil; import com.ns.commo...
33.84507
169
0.65335
38f88c5bbfc321e3316cb24cbec744349ea423cb
2,219
package se.l4.commons.serialization.enums; import java.lang.reflect.Constructor; import java.util.Optional; import se.l4.commons.serialization.SerializationException; import se.l4.commons.serialization.Serializer; import se.l4.commons.serialization.SerializerResolver; import se.l4.commons.serialization.TypeEncounter;...
26.416667
103
0.711582
90af126b4a11fddfc5c34b1e2b1f195614507bfe
1,150
/* * 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 ch.hslu.ad.sw07; import ch.hslu.ad.sw07.ParkingStrategies.ParkingStrategy; import java.util.concurrent.Callable; import org.ap...
27.380952
79
0.701739
4d910bb9b02febef4d2f7003c05b9f85c33e0bf3
8,028
package org.iii.ideas.catering_service.controller; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.math.BigInteger; import java.net.InetAddress; import java.net.UnknownHostException; import java.security.InvalidKeyException; import java.security.Message...
24.035928
136
0.677255
227eaa719640a1d175c8f364e3fb8ac652b759bc
287
package com.vtapadia.experiments.repository; import com.vtapadia.experiments.domain.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface UserRepository extends JpaRepository<User, Long> { }
26.090909
67
0.843206
ce55dac013345b8e3fd70381dd9b5e9bd708013c
17,351
/** * generated by Xtext 2.21.0 */ package io.github.niccomlt.showdown.showdownGrammar; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; /** * <!-- begin-user-doc --> * The <b>Package</b> for the model. *...
30.547535
153
0.612357
8abac7d4e51c554d08d575fd26f697d53162271b
2,195
package shengchengqimoshi; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import java.util.ArrayList; /** * Created with IntelliJ IDEA. * Description: * User: wjx * Date: 2019-05-04 * Time: 16:55 */ public class Vacation { private ArrayList<VacationDay> vacationDayLi...
24.943182
66
0.597722
a33ae8b54560e28882eb796690c16c040ada039d
349
package com.copernicus.resultservice.controller.interfaces; import com.copernicus.resultservice.DTO.RequestDTO; import com.copernicus.resultservice.enums.Status; import org.springframework.web.bind.annotation.RequestHeader; public interface IResultController { Status getResult(Integer id); Integer changeStat...
29.083333
61
0.830946
5c98b7c428e52060b8024527dc2c42377a56b224
3,029
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.github.lxyscls.jvmjava.bytecode.constant; import com.github.lxyscls.jvmjava.bytecode.base.Index16ByteCode; import ...
38.341772
84
0.623968
ea9611981529d1742a418a52054e2253fad951c8
16,500
package com.paulo.miaudota.Controllers; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.app.DatePickerDialog; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.text.InputFilter; import android.util.Log; import and...
38.461538
151
0.564545
81763cd95fa31a0e28e8d78f79d23e3ed7aa57ed
10,760
package com.example.android.sunshine.app; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.util.Log; import android....
36.598639
119
0.599257
2b1c84b467e9df4f8ee04ef17aeaa697fbcbed65
820
package com.SpaceWreck.sprites; import com.badlogic.gdx.math.Polyline; import com.badlogic.gdx.physics.box2d.World; import com.SpaceWreck.screens.PlayScreen; /** * Created by harsh on 06/21/17. */ public class Wall { protected PlayScreen playScreen; protected World world; protected float x...
22.162162
55
0.614634
0a67cf41effe903b898c60879733424fca19cf16
4,708
/* * Copyright 2021 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 a...
55.388235
153
0.770816
2d4ac1479511b1485e8d7015ac4e4050ae955026
3,751
// Copyright © 2019-2021 Andy Goryachev <andy@goryachev.com> package goryachev.fxtexteditor.internal; import goryachev.common.util.text.IBreakIterator; import java.util.Arrays; /** * Text Glyph Info provides bidirectional offset translation * between chars and glyphs. */ public abstract class AGlyphInfo ...
23.89172
177
0.668089
0c7d3811b9402bc6fceec4bc81d1caeb23e378f2
509
package de.accso.library.customers; import de.accso.library.datamanagement.model.Customer; public interface CustomerAdministration { /** * Einen neuen Kundern registrieren * * @param customer * @throws CustomerBusinessException falls der Kunde bereits registriert ist */ public void register(Customer cus...
21.208333
77
0.750491
fa4e7f65014d1fb8075fc8dd72b623e2dcc2254b
4,178
package com.baidu.agile.agent.hook.bos; import com.baidu.agile.agent.hook.HookExecuteFactory; import com.baidu.agile.agent.log.IJobLogger; import com.baidu.agile.server.job.bean.hook.ShellHookResponse; import com.baidu.agile.server.job.bean.hook.bos.BosUploadHook; import com.baidu.agile.server.job.bean.hook.bos.BosUpl...
38.330275
100
0.714935
529f038c7dc053fd3c18a53bf1f73b35fd17d8bf
827
package com.udacity.silver.courtcounter.ui; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.udacity.silver.courtcounter.R; public class MainActivity extends AppCompatActivity { TeamFragment team1; TeamFragment team2; @Override protect...
25.060606
81
0.713422
07533ce7bd020e5c7a7ebcfaaab557e2bdb85ac3
3,677
package com.redhat.pantheon.util.pool; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Answers.RETURNS_MOCKS; import static org....
25.894366
74
0.59641
e8da0fd2489d608febdb8a0ccd64866da757b0e7
2,298
package io.choerodon.iam.api.controller.v1; import io.choerodon.base.annotation.Permission; import io.choerodon.base.enums.ResourceType; import io.choerodon.iam.infra.dto.PasswordPolicyDTO; import io.swagger.annotations.ApiOperation; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseE...
35.353846
131
0.726719
d6ab8048dfa77fd7adedc42281fa0c8b28c7b853
1,100
package orxanimeditor.io; import java.io.IOException; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectStreamClass; import java.util.regex.Matcher; import java.util.regex.Pattern; public class PackageNameModifiedObjectInputStream extends ObjectInputStream { // I use this class to re...
31.428571
107
0.746364
ac272b6cd4e5411e2f18788d2f4e9dfbb0351d13
6,423
package si.gos.transpiler.ui.dialogs; import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.viewers.ComboViewer; import org.eclipse.jface.viewers.ISelectionChangedListener; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.viewers.SelectionChangedEvent; import org.eclipse.jfac...
33.279793
184
0.753698
6f41c45bfe20d0d55d0f009c1d4c62a8f195e438
2,587
/* * Copyright 2015 NAVER 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...
37.492754
98
0.684963
7cc2174a5fa20e9f6763aaa7ed924ab7c4fb3060
9,728
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.07....
31.79085
133
0.569593
b0e0e1c60ee0888c17cb07a9b4e5548ca5d39a2e
32,544
/******************************************************************************* * Copyright (c) 2007, 2008 Actuate Corporation. * 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 av...
29.266187
136
0.684765
61c7a2e4af9e75227e996f1121ae84b50fe16b83
357
package com.rjh.jwtredissessiondemo; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class JwtRedisSessionDemoApplicationTests { @Test...
21
60
0.820728
c321a88e986f2677ffdfbeccd53c35501f00508e
2,075
/* * Copyright 2017 JBoss, by Red Hat, 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 ...
34.583333
132
0.704096
617d22a3e6a15e0b1b344f755e7e948a9ff970c0
10,255
package com.hedera.services.txns.span; /*- * ‌ * Hedera Services Node * ​ * Copyright (C) 2018 - 2021 Hedera Hashgraph, LLC * ​ * 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 * * ...
43.088235
116
0.811409
2ff139b82749879afc69b68c2d34c569a407bdab
680
package hlaa.tdm.messages; import cz.cuni.amis.pogamut.base3d.worldview.object.Location; import cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId; import cz.cuni.amis.pogamut.ut2004.teamcomm.mina.messages.TCMessageData; import cz.cuni.amis.utils.token.IToken; import cz.cuni.amis.utils.token.Tokens; import lo...
27.2
95
0.798529
69ed47f9ab08a1395dbd7fb05a3a801de39436ac
3,238
/* * Copyright 2018 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 ...
31.134615
96
0.653181
dcc894777c726e00b82bbefc4a2ac50ba914fe08
1,112
package dev.aura.aurabot.commands; import com.jagrosh.jdautilities.command.Command; import com.jagrosh.jdautilities.command.CommandEvent; import java.awt.Color; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import net.dv8tion.jda.core.EmbedBuilder; import net.dv8tion.jda.core.Perm...
29.263158
75
0.67536
d7e341bebea5deec1f6212f0005ace8f636399ea
598
package org.kyojo.schemaOrg.m3n3.doma.core.container; import java.util.Date; import org.seasar.doma.ExternalDomain; import org.seasar.doma.jdbc.domain.DomainConverter; import org.kyojo.schemaOrg.m3n3.core.impl.OWNED_THROUGH; import org.kyojo.schemaOrg.m3n3.core.Container.OwnedThrough; @ExternalDomain public class Ow...
24.916667
83
0.811037
7494a15b0cf8ab7a7a83f99a483fd4310083a365
2,658
package com.spirit21.javadoc2swagger.example.rest; import javax.enterprise.context.RequestScoped; import javax.transaction.Transactional; import javax.validation.Valid; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Pa...
25.557692
106
0.656509
ecd981f103e1af2f8b42f15bdb4f3b3ecc814440
656
package br.com.lab.exception; public class NoCategoryFoundException extends RuntimeException { private static final long serialVersionUID = -7177619774079194970L; public NoCategoryFoundException() { super(); } public NoCategoryFoundException(String message, Throwable cause, boolean enableSuppression, boolea...
23.428571
92
0.786585
037dad13b45baab7d97aa476cd0431cc5c4d2927
278
package com.github.cccy0.mogublog.xo.mapper; import com.github.cccy0.mogublog.commons.entity.Tag; import com.github.cccy0.mogublog.base.mapper.SuperMapper; /** * 标签表 Mapper 接口 * * @author 陌溪 * @since 2018-09-08 */ public interface TagMapper extends SuperMapper<Tag> { }
18.533333
57
0.744604
b302372d2b7057d2552d15abd04eb05c5a264d00
410
package com.lts.example.spring; import org.springframework.context.support.ClassPathXmlApplicationContext; import java.io.IOException; /** * @author Robert HG (254963746@qq.com) on 8/4/15. */ public class SpringTaskTrackerTest { public static void main(String[] args) throws IOException { new ClassPat...
21.578947
74
0.726829
ce750af343098545d6a52b51f4b28f843deaab5e
9,664
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
32.42953
109
0.638762
d62f602683381ffd9a3831a5580142c3ce8d84b5
6,191
package com.ywl5320.wlmedia.sample; import android.os.Bundle; import android.view.View; import android.view.WindowManager; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.RecyclerView; imp...
31.426396
139
0.625586
654bc3fe4d31ddf2b30c7106f63fc2d4c3e8443b
1,484
package math; import java.io.BufferedReader; import java.io.InputStreamReader; /** * * @author exponential-e * 백준 17291번: 새끼치기 * * @see https://www.acmicpc.net/problem/17291/ * */ public class Boj17291 { private static class Cell{ int divide; int count; public Cell(int divide, int count) { this.d...
20.611111
75
0.570081
1d37dc8c7812e9ea6320f06c5de527697123da4c
14,801
package com.chenpan.commoner.fragment; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Bitmap; import android.media.AudioManager; import android.os.Build; import android.os.Bundle; import android.suppo...
32.387309
142
0.609891
588ee62cec5a1ff6e7c897f069e4641f1782f4dd
437
package uk.co.bigsoft.apps.cfgen4j.gen; import com.contentful.java.cda.CDAEntry; class CfGen4jCoord { private Double lon; private Double lat; CfGen4jCoord(CDAEntry entry) { lon = entry.getField("lon"); lat = entry.getField("lat"); } Double getLon() { return lon; } void setLon(Double lon) { this.lon...
15.607143
60
0.661327
efc4df8e86ec01978ac8453b61b40fdfde73474f
4,725
package com.squareup.square.models; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonGetter; public class CreateRefundRequest { @JsonCreator public CreateRefundRequest( ...
32.8125
119
0.615238
8608b9bb3019a043c0adee2b6d951722a78dbfa9
4,994
package com.example.presentation.restapi.message; import com.example.presentation.restapi.ExampleChatRestTestBase; import com.fasterxml.jackson.databind.ObjectMapper; import com.jayway.jsonassert.JsonAssert; import nablarch.fw.web.HttpResponse; import nablarch.fw.web.RestMockHttpRequest; import org.junit.Test; import...
41.272727
130
0.689628
366b2ee4374a14af972db1b167158665cdca168a
2,470
/* * Copyright 2017 flow.ci * * 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...
26.847826
84
0.665182
07901a084b25c827b5ff43eaf2a85327e3da4093
1,060
package com.github.cjqcn.htty.sample.helloworld; import com.github.cjqcn.htty.core.HttyServerBuilder; import com.github.cjqcn.htty.core.http.HttyMethod; import com.github.cjqcn.htty.core.http.HttyRequest; import com.github.cjqcn.htty.core.http.HttyResponse; import com.github.cjqcn.htty.core.worker.HttyWorker; import ...
24.651163
74
0.748113
84c827cc72cc7fe16d4145fa449c52b22b485de2
799
package zam.hzh.aop.expression.within.classType.aop; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; import org.springframework.stereotype.Component; /** * - within表达式:class-type部分 */ @Aspect @Component public class WithinClassTypeAop { @After("within(zam.hzh.aop.expression...
27.551724
99
0.720901
e9a6191cc86e7f2e6e06c0f2e636c6a799843210
9,529
package com.tabeldata.dao; import com.tabeldata.dto.LoadKomponenDto; import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections4.map.HashedMap; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; import org.springframew...
52.071038
131
0.488404
0722ad547a49b7770e8e9eb6c8dab3e5349791ff
436
package de.ahus1.bdd.calculator; import com.shazam.gwen.collaborators.Arranger; public class CalculatorArranger implements Arranger { private final Calculator device; public CalculatorArranger(Calculator device) { this.device = device; } public CalculatorArranger isInitializedWith(long val)...
20.761905
59
0.681193
6c53e5bfe82b51411f4ea01eed58188221e708c3
1,357
package uk.gov.hmcts.reform.sendletter.config; import org.springframework.boot.context.properties.ConfigurationProperties; import java.util.List; import java.util.Map; import java.util.Optional; import static java.util.stream.Collectors.toMap; @ConfigurationProperties(prefix = "reports") public class ReportsService...
24.232143
75
0.649226
2bd4c9d0193e3947bc12b99fddd987c14f7b1ccd
32,803
package net.minidev.ovh.api; import com.fasterxml.jackson.core.type.TypeReference; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import net.minidev.ovh.api.horizonview.OvhAccessPointTypeEnum; import net.minidev.ovh.api.horizonview.OvhCustomerNetwork; import net.minidev.ovh.api.horiz...
45.750349
225
0.75676
ee4b219ce15a1224e200a8d2f46a1344ce3c0e05
7,536
package com.iflytransporter.common.bean; import java.util.Date; public class GoodsSource { private String id; private Date createDate; private Date updateDate; private Short dataStatus; private String desp; private Integer defaultStatus; private String userId; ...
24.789474
106
0.63535
b5dfbdf44355db14c4993ae0eaf8d14ef6a20a1c
1,868
/* * 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...
27.072464
119
0.711991
f213a0e45d7c38d523bccaa21fe5658e5b16ae5c
8,865
package com.sin.orb.service; import com.sin.orb.domain.TaskCard; import com.sin.orb.domain.User; import com.sin.orb.exception.ResourceNotFoundException; import com.sin.orb.repository.TaskCardRepository; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; ...
38.881579
108
0.703553
fa709a6bd5f6e29314f1cf04f708b4a55688fe6d
790
import java.util.*; import java.math.*; import java.io.*; public class anti11 { public static void main(String[] args) throws Exception { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); int n ...
25.483871
92
0.629114
ba8f87e508d04c77341dc7abe7272ce16e2293ed
1,252
/* * Copyright 2014 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 applicable l...
26.638298
75
0.724441
3d2b52b0739ae1f5f2648c76e531121f8f2f8133
2,291
package com.example.yeelin.homework.weatherberry.networkUtils; import android.annotation.TargetApi; import android.app.job.JobInfo; import android.app.job.JobScheduler; import android.content.ComponentName; import android.content.Context; import android.os.Build; import android.util.Log; import com.example.yeelin.hom...
33.202899
107
0.672196
9ccc78403850f9260d23eb047c496f2052de84df
533
public class Adventurer implements Skill{ String name; int attack, qskill, wskill; public Adventurer(String name, int attack, int qskill, int wskill){ this.name = name; this.attack = attack; this.qskill = qskill; this.wskill = wskill; } public void Attack(){ ...
19.740741
71
0.570356
b24aca1105e7e03bcea25badedc359878f4ec7b9
563
package sessao8.OO.Introducao; import java.util.Locale; import java.util.Scanner; public class CurrencyConverterPrincipal { public static void main(String[] args) { Locale.setDefault(Locale.US); Scanner sc = new Scanner(System.in); System.out.print("What is the dollar price? "); CurrencyConve...
25.590909
89
0.69627
94b2a9ba8d996ffa7dd92db39dd6784a63a86858
1,243
package com.coderbd.scdb.web.dto; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "institutes") public class Institute implements Serializable { ...
19.123077
69
0.746581
013cd1447d5dcb74a8fdc90cceec7d329a1deaba
16,348
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
27.755518
144
0.580744
51d932b52d23567d70561ebc8ae458feb186e97a
6,712
/* * #%L * FHIR Implementation * %% * Copyright (C) 2018 DataScience 9 LLC * %% * 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 *...
40.433735
155
0.758641
a8d141d48e857d8becc43714326d09b94580711a
270
package com.cs122b.catsneeze.dao; import com.cs122b.catsneeze.pojo.Genres; import java.util.List; public interface IGenresDao { List<Genres> selectGenresByMovieId(String movieId); Genres selectGenreById(int genreId); List<Genres> selectAllGenres(); }
16.875
55
0.759259
c7a36ae2c8fe678f9c6e66de8a98ca9683a51380
243
package com.gonnect.chakravyuh.repository; import com.gonnect.chakravyuh.model.Chakravyuh; import org.springframework.data.neo4j.repository.Neo4jRepository; public interface ChakravyuhRepository extends Neo4jRepository<Chakravyuh, Long> { }
30.375
81
0.851852
d409b400c7b7a2dcaf6f67c9bab2c2a4f239c6ac
8,086
package org.hadatac.console.controllers.objectcollections; import java.util.ArrayList; import java.util.List; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import javax.inject.Inject; import org.hadatac.Constants; import org.hadatac.console.controllers.Application; import org.pac4j.play.jav...
42.783069
219
0.653599
65384f2063b9f63b7dbe09ba79859e0a81810418
959
package traverse; import java.util.*; public class InheritInfoRegistry { public static final InheritInfoRegistry REGISTRY = new InheritInfoRegistry(); Map<String, InheritInfo> infos = new LinkedHashMap<String, InheritInfo> (); public InheritInfoRegistry() { List<FieldInfo> fields = null; Inhe...
26.638889
79
0.667362
a9979fc618afaecefb548a1c19494a773e7f2df9
1,800
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.cognitiveservices.contentmoderator.implementation; import java.util.List; import com.microsoft.azure.cognitiveservices.con...
25.714286
107
0.675
afde83133d650adbb7aa49d64a579466b88ad88b
6,831
package com.alibaba.intl.voddemo.controllers; import com.alibaba.intl.voddemo.models.UploadableVideo; import com.alibaba.intl.voddemo.models.Video; import com.alibaba.intl.voddemo.models.VideoPlayUrl; import com.alibaba.intl.voddemo.models.VideoUploadDestination; import com.aliyuncs.DefaultAcsClient; import com.aliyun...
41.4
124
0.644269
768ac7dc1db6c6821aecd950a5f5b109d751b72e
2,032
package com.TealNerd.SkyNet; import net.minecraft.client.Minecraft; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftServer; import net.minecraft.util.math.BlockPos; import net.minecraft.ut...
27.835616
200
0.718504
349c54fa92da6eebaf070347749f87dd7a5b9cbe
207
package com.hit.math.observer.mime; /** * author:Charies Gavin * date:2017/10/18,23:11 * https:github.com/guobinhit * description:观察者模式(展示接口) */ public interface DisplayElement { void display(); }
17.25
35
0.705314
fa637f473019c6b76817fdf7106054026881ba78
199
class Test { Test(String arg) { System.out.println("arg is: " + arg); } } public class App { public static void main(String[] args) { Test[] test = new Test[42]; } }
16.583333
45
0.537688
3da4ab6c19ee79c89fb5c14d8f925a66c7c1267a
70
package com.github.yingzhuo.playground.dao; interface UserDaoExt { }
14
43
0.8
f29e23c3fd6d8ca3448f80971fbdb8934fbfd611
1,012
/* * title: Subject.java * copyright:©2018-2020 gackey. All Rights Reserved. */ package com.gackey.patterns.observerpattern; /** * Desc: 通知者接口 * ClassName: Subject * author: gackey * date: 2018-11-24 23:10 */ interface Subject { /** * Desc: 添加观察者 * Title: subAttach * param @param observer ...
16.590164
52
0.5583
9535525661fd6b45c183fe21e13780e9caeba601
9,660
package com.navigationhybrid; import android.app.Activity; import android.content.DialogInterface; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.widget.Toolbar; import android.util.Log; import an...
39.428571
133
0.648033
742c58c066cfd95205a1e379c9d295f3c81ffb6e
2,461
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.lab1se.ecommercelab15club; /** * * @author biar */ import javax.ws.rs.*; import javax.ws.rs.core.Response; import java....
24.366337
79
0.556278
92454ec10903fc347d41442b62f11ce78207a4c5
1,013
package fr.tse.fise2.heapoverflow.database; public class FirstAppearanceRow { private String character; private String date; private String comic; public FirstAppearanceRow(String character, String date, String comic) { this.character = character; this.date = date; this.comic =...
21.553191
76
0.551826
6d0580fff03fa4b4ec081e61135ef453e768b0c2
4,792
package seedu.address.logic.commands.remindercommands; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_REMINDER_DISPLAYED_INDEX; import static seedu.address.logic.commands.CommandTes...
42.40708
120
0.776294
bf98afac8590b2ea91d048984fcf8e3fd801be04
1,591
package wusc.edu.pay.web.bankreceive.interceptor; import wusc.edu.pay.common.config.PublicConfig; import javax.servlet.ServletContext; import javax.servlet.http.HttpServlet; /** * className:ContextLoaderInit </br> * Function: Struts2 启动时加载方法 </br> * date: 2014-10-16-下午3:56:38 </br> * * @author la...
33.145833
85
0.692018
4d6e449db99a2fcca457dfa820c14919a0ee02a3
42
annotation string bar foo foo override foo
42
42
0.857143
487fe56c238e25397403db0cab24f84bdbd135d3
5,253
package org.k3a.springboot.reloadvalue.config; import org.k3a.springboot.reloadvalue.utils.SimplePlaceHolderResolver; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.Map; import java.util.function.Consumer; /** * Created by k3a * on 2019/1/22 AM 9:45 */ public interfa...
26.265
116
0.501428
921a6ddc35b577c08b3460680ae12568d65f2b30
1,739
/* * Copyright © 2016 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...
32.203704
96
0.737205
8bf19c190427e56a316d36e7f52b21f90c2e2842
3,003
package RawData_fd_6; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; //TODO: 80% I think it's because of the order of sorting public class Main { public static void main(String[] args) throws IOException { B...
31.28125
85
0.504163
e37976c939ce0cfaa5a1507c6ce4a018250be920
5,968
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
39.786667
88
0.745308
42acbff7fa1b75480a21c2ef9ed74352da78e7d1
1,576
package de.metas.material.dispo.commons.repository.atp; import java.util.List; import com.google.common.collect.ImmutableList; import lombok.NonNull; import lombok.Value; /* * #%L * metasfresh-material-dispo-commons * %% * Copyright (C) 2017 metas GmbH * %% * This program is free software: you can redistribut...
27.649123
98
0.76269
c9f866a7159aaa7b76802d99956cbf90fda59d30
2,687
package ExamPrep.Exam28June2020; import java.util.*; import java.util.stream.Collectors; public class P01Bombs { public static void main(String[] args) { Scanner scan = new Scanner(System.in); ArrayDeque<Integer> bombEffects = new ArrayDeque<>(); Arrays.stream(scan.nextLine().split(",\\s+"...
39.514706
122
0.55601
761e1cd486abf29c3a581c45c37680b8ce807c6b
4,143
package org.opencm.priv; // -----( IS Java Code Template v1.2 import com.wm.data.*; import com.wm.util.Values; import com.wm.app.b2b.server.Service; import com.wm.app.b2b.server.ServiceException; // --- <<IS-START-IMPORTS>> --- import com.fasterxml.jackson.databind.ObjectMapper; import java.util.ArrayList; import jav...
29.176056
97
0.565532
bd8200d8de155c359c41c59b575bf64703d9a043
1,185
package com.sergivb01.base.listener; import com.sergivb01.base.BasePlugin; import com.sergivb01.base.user.BaseUser; import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerJoinE...
39.5
176
0.779747
b545b8cebb19246d578040a40352809ea69e15b7
1,635
package cn.hp.hp.model; /** * Created by liyu on 2016/12/1. */ public class UpdateInfo { /** * app : 就看苏州 * versionCode : 4 * versionName : 1.1 * updateTime : 2016-11-11 18:00:00 * information : 新增多语言设置 * foreUpdate : false * url : http://7xp1a1.com1.z0.glb.clouddn.com/app-d...
19.464286
64
0.610398
1077a66a7ad8cc55e388c49c3ffc785d1d2d4798
1,090
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. package com.mojang.brigadier.exceptions; import com.mojang.brigadier.LiteralMessage; import com.mojang.brigadier.StringReader; import org.junit.Before; import org.junit.Test; import static org.hamcrest.Matchers.is; import...
34.0625
99
0.731193
77b8936f96633dedd6cb8e11066e499216b05038
3,651
package ch.sysout.emubro.ui; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.AbstractButton; import javax.swing.ImageIcon; import javax.swing.JMenu; import javax.swing.JMenuItem; import javax.swing.JPopupMenu; import javax.swing.JSeparator; import javax.swing.Swi...
30.425
94
0.666393
53fce23c8f91d5b01c781c766278e49f9ded1f7d
5,033
package com.java110.common.listener.machineRecord; import com.alibaba.fastjson.JSONObject; import com.java110.common.dao.IMachineRecordServiceDao; import com.java110.entity.center.Business; import com.java110.core.event.service.AbstractBusinessServiceDataFlowListener; import com.java110.utils.constant.ResponseConstant...
49.343137
124
0.753825
2b27872bb138a5bfa0ebaef7364442822850a2c2
5,310
/* * Copyright (c) 2020-2021 - for information on the respective copyright owner * see the NOTICE file and/or the repository at * https://github.com/hyperledger-labs/business-partner-agent * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the...
43.52459
117
0.648588
6c1b1e76e97975b1c1be234e74af2f418744274f
932
package com.bigr.applestore; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.bigr.applestore.maincategories.MainCategories; public class SplashScreen extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) ...
28.242424
64
0.559013
e314a9648f6a24a545ff06923681b37cd2b2033a
573
package org.sonatype.flexmojos.plugin.compiler; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.mockito.Mockito; import org.testng.annotations.Test; public class MockObject { @Test public void mockObject() { ...
21.222222
72
0.626527
7d9875ec759e4e73e06bc0fe685cb7491b8846f6
1,488
package com.wirelust.aa.data.model; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Lob; import javax.persistence.ManyToOne; import javax.persistence.PrePersist; import javax....
17.302326
52
0.733199
2de42b231697ccc2b8ed09f9afa5836931939090
693
package calisthenics.wrapprimitives; /** * Created by thaodang on 18/8/15. */ public class Soldier { private final String weapon; public Soldier(String weapon) { this.weapon = weapon; } public void fight() { if(weapon.equals("knife")) { stab(); } else if(...
18.72973
47
0.510823
99de8481e14a499b7b3ebc61a7444d409a6b3151
5,167
// Generated automatically from android.content.IntentFilter for testing purposes package android.content; import android.content.ContentResolver; import android.content.Intent; import android.net.Uri; import android.os.Parcel; import android.os.Parcelable; import android.os.PatternMatcher; import android.util.Androi...
49.209524
107
0.736985
45f443b159ba730aee82148fa0a165feb1302f65
1,583
package com.example.myeisti.controleur; import android.content.Context; import com.example.myeisti.bdd.AccesDistant; import com.example.myeisti.vue.HistoriqueDetail; import com.example.myeisti.vue.Solde; import org.json.JSONArray; public final class Controle { public static Controle instance = null...
29.314815
88
0.604548
f7e0713646a7a6cc4089db2fc6b670f3ed686802
6,815
package com.scalar.db.storage.cassandra; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatCode; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.doReturn; im...
30.560538
94
0.703155
e5b01af0abab9cf719eb1ac87d354d388abfd2e0
357
package cf.ystapi.explains.util; import cf.ystapi.util.JsonReader; import org.json.JSONObject; import java.io.IOException; public class jsonreader_ex { public static void main(String[] args) { try { JSONObject j = JsonReader.ReadFromUrl("URL"); } catch (IOException e) { e....
21
57
0.633053
70855af1155119bbb69e22e437c523e94e1ada49
1,367
package com.simoncherry.artest.model; import io.realm.RealmObject; import io.realm.annotations.PrimaryKey; /** * Created by Simon on 2017/6/23. */ public class ImageBean extends RealmObject { @PrimaryKey private long id; private String path; private String name; private long date; private ...
18.472973
45
0.520849