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
176507f86e48b6f4b606e5fe3c71b1abc0b78d31
766
package repositories.product; import javax.inject.Named; import javax.inject.Singleton; import models.product.Channel; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Modifying; impor...
24.709677
107
0.800261
cef36f35c038430faa289ee2303e33c9a99013b5
2,915
package org.fisco.bcos.web3j.tx.txdecode; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.JsonProcessingException; import java.util.ArrayList; import java.util.List; import org.fisco.bcos.web3j.abi.datatypes.Address; import org.fisco.bcos.web3j.abi.datatypes.Array; import org.fisc...
29.744898
88
0.61235
8c3e4b240a3bb9ab6e1b6343e461f5fbdafeb10f
367
package net.popo.demo.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import net.popo.demo.dao.DemoMapper; import net.popo.demo.po.Demo; @Service public class TestServiceImpl { @Autowired private DemoMapper testMapper; public int save(Demo ...
19.315789
62
0.790191
9c93902798d05ebf51b6c84d1d7016cd1f3c3636
1,000
package com.yxm.mygank.model; import com.yxm.mygank.model.bean.BannerBean; import com.yxm.mygank.network.core.RetrofitCallback; import com.yxm.mygank.network.core.RetrofitManager; import java.util.List; /** * Created by yxm on 2020/4/1 * * @function */ public class BannerModel extends RetrofitCallback<List<Banne...
22.222222
69
0.693
ac94fdc20f6c36631904a571bb3972c9e06ca15c
1,432
package com.enjin.sdk.models.identity; import com.enjin.sdk.models.wallet.Wallet; import com.enjin.sdk.services.identity.IdentitiesService; import lombok.Getter; import lombok.ToString; /** * Represents a Trusted Platform Identity. * * @author Evan Lindsay * @see IdentitiesService */ @ToString @Getter public cl...
18.842105
72
0.580307
d1d6a8ce41bb1aac5b353f5b99235129fc9d27af
3,146
package com.scooter1556.sms.server.domain; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.scooter1556.sms.server.SMS; import java.awt.Dimension; @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class VideoTranscode { private Integer id, qual...
28.342342
146
0.606484
ddc893cc38af60d74006e611f14c92af7a11bfeb
1,402
package io.hashimati.utils; import org.junit.jupiter.api.Test; import javax.xml.transform.TransformerException; import javax.xml.xpath.XPathExpressionException; import static org.junit.jupiter.api.Assertions.*; class GeneratorUtilsTest { // // @Test // void appendXML() throws XPathExpressionException, Transfo...
36.894737
87
0.445078
8ff2cf01e6bd26f0a6bc980d42fa6e0461ffdd8d
23,022
package qub; public interface QubDependenciesUpdate { String actionName = "update"; String actionDescription = "Update the dependencies of a project."; static QubDependenciesUpdateParameters getParameters(DesktopProcess process) { PreCondition.assertNotNull(process, "process"); QubDep...
67.911504
196
0.45639
631698c9ff801d86002957e5613c60cdbff2ccd0
1,703
package com.winterbe.java8.samples.stream; import com.winterbe.java8.samples.util.Score; import java.util.ArrayList; import java.util.Comparator; import java.util.List; /** * sorted 方法各种场景 */ public class Stream_sorted { public static void main(String[] args) { // test1(); test2(); } ...
27.467742
108
0.588961
10c48351de4200d0642dbf04e4dbf0f514e513ff
971
package org.sbelei.booksvis.nlp; import static java.util.stream.Collectors.toCollection; import static java.util.stream.Collectors.toMap; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.Map; import java.util.regex.Pattern; public class ResponseParser { public Map<String, Word> pars...
35.962963
113
0.601442
4d959293b378b9d49ca46c17fdd18605dc1590c6
1,342
package org.wildfly.swarm.ts.javaee.jsp.jstl; import org.apache.http.client.fluent.Request; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.RunAsClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.shrinkwrap.api.Archive; import org.jboss.shri...
36.27027
101
0.742176
5197c6d2745101f0a2193cbdd99224059a45957e
1,458
package kr.ac.kyonggi.swaig.handler.dto.user; public class UserTypeDTO { public int board_level, p3_level, thesis_level, resv_level, blog_level, table_level; public String type_name,class_type,for_header; public int getBoard_level() { return board_level; } public void setBoard_level(int board_level) { this....
18.455696
85
0.738683
c12b6f14b065a106edbb79369b5471ce7016c807
1,048
package com.wj.base.utils.demo; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import com.wj.base.util.KeyBoardUtils; /** * Created by 13932 on 2018/3/13. */ public class KeyBoardUtilsActivity extends BaseActivity{ private View mEdit; @Overr...
24.372093
67
0.669847
b3f87ecad1608d6171cb48f6e99eed054ee9978f
1,183
package com.nlf.extend.dao.sql.dbType.sqlserver; import com.nlf.Bean; import com.nlf.dao.paging.PageData; import com.nlf.extend.dao.sql.dbType.common.ASqlSelecter; import com.nlf.log.Logger; import java.util.List; /** * SQL查询器的sqlserver实现 * @author 6tail * */ public class SqlserverSelecter extends ASqlSelecter{ ...
24.645833
90
0.67202
bcd956ab6617b76c08f4ae720a1b2317dbaf9262
1,971
package socket; import java.io.*; import java.net.ServerSocket; import java.net.Socket; /** * Created by scott on 2017/3/9. */ public class EchoServerClient { private int port = 8000; private ServerSocket serverSocket; public EchoServerClient() throws IOException{ serverSocket = new ServerSocke...
29.41791
115
0.531202
adadaef2731d5fbcb5fb4cac3ff02c03a9a306f8
377
package com.techm.guestbook; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /* SpringBoot Main Class to run the GuestBook Application */ @SpringBootApplication public class GuestbookApplication { public static void main(String[] args) { Sprin...
25.133333
68
0.819629
766270249fcf1fb8cf75dbe7a300b4e81b5a8927
1,858
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 用户代扣垫资信息 * * @author auto create * @since 1.0, 2019-05-20 17:35:58 */ public class UserAdvanceInfo extends AlipayObject { private static final long serialVersionUID = 383936535...
25.452055
87
0.76803
5653353eff500d0d888c2e430a6952799ebe3a37
5,170
package org.gbif.pipelines.core.ws.metadata; import com.google.common.annotations.VisibleForTesting; import io.github.resilience4j.retry.Retry; import java.io.IOException; import java.util.List; import java.util.Objects; import java.util.Optional; import javax.xml.ws.WebServiceException; import org.gbif.pipelines.core...
35.170068
94
0.68472
3c1d6c6d628d8871e3903c9b178bac4aca9dac78
1,136
package microservice.workshop.movieawardservice.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Award { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; ...
19.586207
55
0.643486
740ac7724b14cc67571931430cb4f6ee0e614f6a
796
package com.jakduk.api.model.simple; import com.jakduk.api.common.Constants; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; /** * @author <a href="mailto:phjang1983@daum.net">Jang,Pyohwan</a> * @company : http://jakduk.com * @date : 2015. 1. 2. ...
18.090909
64
0.698492
4b189a3bb07cca89b70a3b9f6d3a6432f0e24ca9
1,009
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com package interfacebuilder.compress; import javax.persistence.AttributeConverter; import javax.persistence.Converter; import java.util.ArrayList; import java.ut...
27.27027
95
0.742319
ce7b05ceb7f5fb4e42a5c729596ef82cac63c11a
1,428
package ru.systemxfiles.jbrainfuck; import java.util.List; import java.util.Stack; /** * Created by System X - Files on 07.07.2014. */ public abstract class Optimizer { public static List<Opcode> optimize(String code) { return optimize(Tokenizer.tokenize(code)); } public static List<Opcode> opt...
26.943396
68
0.431373
928ae794c87e983bf6872e12cb937efbc74a6bd5
1,622
/* * 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 ...
39.560976
118
0.74106
2c0ac632528c9d65d99c10351836474e2757a9cc
624
package com.temple.web.cdi; import java.io.File; import java.util.List; /** * TODOC * * @author Florent Pallaver * @version 1.0 */ public interface WebConfiguration { /** * TODOC * * @return */ int getPageParameterIndex(); /** * TODOC * * @return */ String getHomePage(); /** * TODOC ...
11.142857
40
0.567308
4e39866a946e85fbd4109c313c4c2773d9bcbf6e
325
class Shit { void method(){ n = in.nextInt() * 2; m = in.nextInt() * 2; int queries = in.nextInt(); Pii[] q = new Pii[queries]; Pii[] qInverse = new Pii[queries]; for (int i = 0; i < queries; i++) { q[i] = Pii.of(in.nextInt() - 1, in.nextInt() - 1); qInverse[i] = Pii.of(n - 1 - q[i].first, m - 1 - q[i].second); } ...
23.214286
63
0.547692
6bdce45746df945eac5a844e12b0eb7dba150e35
1,671
package org.agan.pullrequestanalyzer.util; import org.agan.pullrequestanalyzer.domain.TimePeriod; import org.agan.pullrequestanalyzer.util.CalendarUtil; import org.junit.Assert; import org.junit.Test; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.TimeZone; public class Cal...
34.102041
95
0.7307
984cc39141b2cbeb4773e396d531a7a5fa6dc85c
4,503
package org.terraform.structure.pillager.mansion.tower; import java.util.Random; import java.util.AbstractMap.SimpleEntry; import org.bukkit.Material; import org.bukkit.block.BlockFace; import org.bukkit.block.data.Bisected.Half; import org.bukkit.block.data.type.Slab.Type; import org.terraform.coregen.PopulatorDataA...
37.840336
119
0.644903
eb66a9d73ad1a3fd3b6971e816f0251577060046
7,077
package com.revature.projects.trms.dao; import java.math.BigDecimal; import java.sql.CallableStatement; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.sql.Types; import java.time.ZonedDateTime; import java.util.Ha...
29.610879
141
0.644482
fd20d6bdafc57fd2b16beb47156dce1ccde751da
5,125
/** * 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...
34.863946
114
0.710049
2677f546a10a51e132e321a78186bf548f436f4a
3,700
package com.yandex.metrica.impl; import android.content.Context; import android.content.SharedPreferences; import android.text.TextUtils; import android.util.SparseArray; import com.yandex.metrica.CounterConfiguration; import com.yandex.metrica.impl.a; import com.yandex.metrica.impl.ai; import com.yandex.metrica.impl....
29.365079
89
0.525405
c5ea471a463b2daa25d2068cbda584fae29154b3
1,294
package com.example.administrator.myapplication; import android.os.Build; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Toast; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle...
34.052632
137
0.638331
489fc2bd849882cbd3f6f484a61831a4909199a4
1,183
/* * 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 addressbookmefx.graphicinterface; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.s...
29.575
131
0.668639
57f80ee2e940403f0768d30c9544403b7943ce6b
129
version https://git-lfs.github.com/spec/v1 oid sha256:9221b71ac0b192b639ffe7f524caa3d13ff76e46e09875ff15fc962f5accc4a0 size 2106
32.25
75
0.883721
1bc1413fa9dce5e7359ef059444fc889e526d1ab
5,074
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.ocs.indaba.po; import java.io.Serializable; import java.util.Date; import javax.persistence.*; import javax.xml.bind.annotation.XmlRootElement; /** * * @author Administrator */ @Entity @T...
27.879121
130
0.608987
f27841f9bbd3622d8f11ca62faf67a42dea98d3d
1,129
package com.paperspacecraft.login3j.ui; import com.paperspacecraft.login3j.Main; import lombok.AccessLevel; import lombok.NoArgsConstructor; import javax.swing.*; import java.awt.*; @NoArgsConstructor(access = AccessLevel.PRIVATE) public class PasswordDialog { public static String show(JComponent parent, String...
31.361111
66
0.618246
0a51ed36a63f2612005d9cbb8cd7332711480240
3,580
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE319_Cleartext_Tx_Sensitive_Info__URLConnection_passwordAuth_61a.java Label Definition File: CWE319_Cleartext_Tx_Sensitive_Info.label.xml Template File: sources-sinks-61a.tmpl.java */ /* * @description * CWE: 319 Cleartext Transmission of Sensitive Information * BadSou...
38.085106
117
0.694972
828c2635dfe012ff25a4b504e2b4227d79364104
1,941
package org.whitneyrobotics.ftc.teamcode.tests; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import org.whitneyrobotics.ftc.teamcode.lib.geometry.Coordinate; import org.whitneyrobotics.ftc.teamcode.subsys.WHSRobotImplOld; @TeleOp(name = "Estimate Posi...
40.4375
150
0.715095
fb56563ec56f3eea94009b0c6e2195a086f27a7d
3,972
/* * Copyright 2016 SteelBridge Laboratories, 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 * * Unless required by applica...
38.941176
121
0.702417
96a101281b8d3741aade34ae9e8b70efcb8e9290
549
package com.fei.springboot.dao; import java.util.List; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import com.fei.springboot.domain.User; @Mapper public interface UserMapper { @In...
22.875
67
0.76867
ec5b09fdcd1540852f7705649073a73fee0193e1
25,871
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: purekitV3_crypto.proto package com.virgilsecurity.purekit.protobuf.build; public final class PurekitProtosV3Crypto { private PurekitProtosV3Crypto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite r...
35.294679
200
0.662518
b41b68a191e174ba7555f5c05426e894bd890888
2,079
package com.encircle360.oss.straightmail.config; import static com.encircle360.oss.straightmail.config.MongoDbConfig.PROFILE; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.mongo.MongoProperties; import org.springframework.boot.context.properties.EnableConfigu...
37.8
167
0.771044
5d2f50bc3b3d363c6bb63862b5a04b7bc48f1a67
2,158
package com.github.airext.permissions.functions; import android.Manifest; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.provider.Settings; import android.util.Log; import com.adobe.fre.*; public class OpenSettingsFunction implements FREFunction { @Override ...
29.561644
76
0.636701
5a5a7eb10e296e8a1af34eefc062c9c28c8b0e1b
1,765
package com.udacity.gradle.joke.preview; import android.app.Activity; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.widget.TextView; /** * Created by elnoxvie on 16/9/15. */ public class PreviewActivity extends AppCompatActivity{ public...
32.090909
87
0.68272
9457cbe31c4571aa77b81d3fa5baf4d563ab2832
1,502
package com.example.a201835025; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.AppCompatButton; import androidx.appcompat.widget.AppCompatTextView; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import org.w3c.dom....
32.652174
80
0.710386
5242c927050b59422f126e15d22be2a876483844
11,111
/* * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
41.304833
87
0.705517
9f7b2ad64e1102aee6097a21e32b4c65587c892e
2,596
/* * #%L * BroadleafCommerce Common Libraries * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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...
47.2
118
0.764253
76468e7b32cfe138c00240771e49e9ade6a61333
3,420
package com.algaworks.brewer.model; import java.io.Serializable; import java.time.LocalDate; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence....
21.111111
86
0.732456
c9907b16c74e9c38b6cb543eae4da6e77f817343
352
package com.albo.marveljavaexam.dto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; @Data @AllArgsConstructor @NoArgsConstructor public class ComicDTO { private int id; private String name; private List<CreatorDTO> creators; private L...
16
42
0.775568
e52956f7bb5435beb7f1ef87cdc7c058e2170b97
796
package com.ibotta.gradle.aop.java; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; @Aspect public class JavaAspect { @Before("execution(* demonstrateJavaAOP(..))") public void before(JoinPoint j...
36.181818
93
0.738693
a5db0d314844ade8c6cef9368f33a15689f52695
1,029
package ru.job4j.collections; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; import org.junit.Test; /** * Created by pacman on 21.09.17. */ public class ListServiceTest { /** * Tests hasCycle(). */ @Test public void whenHasCycleThenTrue() { Node<In...
20.58
63
0.566569
dd9d1be7d2f51159151f32a016c133a6258692ad
4,654
/* * Copyright (c) 2011, dan.clark@nekocode.org * * Licensed under FreeBSD license. See README for details. */ package org.nekocode.nowplaying.components.modes.tagsdnd; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.nekocode.nowplaying.internals.NamedThre...
35.8
130
0.616459
f61971ec53705b1b06c8bfc0bcaf3cae80a09ae3
3,714
package me.carda.awesome_notifications.awesome_notifications_core.enumerators; import org.junit.Test; import static org.junit.Assert.*; public class NotificationCategoryTest { @Test public void testEnumOrder() { String errorMessage = ""; assertEquals(errorMessage, 0, NotificationCategory.Al...
58.952381
99
0.747442
f82006b159cf0804dbda765af2d7f29147f3d45e
3,520
/******************************************************************************* * This file is part of Minebot. * * Minebot is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License...
29.090909
87
0.635795
947d36ec2ed0b047840a822b3cd690b59def9f0d
952
package br.com.b2w.bit.planets.producer; import javax.enterprise.inject.Produces; import javax.enterprise.inject.spi.InjectionPoint; import javax.ws.rs.core.CacheControl; public class CacheControlProducer { @Produces public CacheControl create(InjectionPoint ip) { CacheControlConfig annotation = ip.g...
34
98
0.664916
5aa6fbea782e462d44bb6f5131e6d8e9d1d9e63b
6,279
package org.quickstart.redis.lettuce; import io.lettuce.core.RedisClient; import io.lettuce.core.RedisFuture; import io.lettuce.core.RedisURI; import io.lettuce.core.api.StatefulRedisConnection; import io.lettuce.core.api.async.RedisAsyncCommands; import io.lettuce.core.api.async.RedisStringAsyncCommands; import io.le...
32.874346
126
0.681
1a347b257daed35a29afe39c94f989d8b7beec49
785
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStream...
23.787879
83
0.63949
d500033758ae05f294c9d874e97704f36f027093
324
package com.kenshine.sqlite.mapper; import com.kenshine.sqlite.entity.Blog; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; import java.util.List; /** * @author :kenshine */ public interface BlogMapper { @Select(value = "select * from blog") List<Blog> query()...
20.25
49
0.740741
3a669b16705c9e390e20e5e0ba0f0b10f7552491
4,299
package com.beimi.web.model; import com.beimi.util.UKTools; import org.hibernate.annotations.GenericGenerator; import org.springframework.data.elasticsearch.annotations.Document; import javax.persistence.*; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; /** * Cr...
20.768116
76
0.628983
c71b18a8fc888cd76b3c1b6b2a3d421c225df467
472
package frc.robot; import edu.wpi.first.wpilibj.AnalogInput; public class UltrasonicSensor { AnalogInput input; private final double CM_PER_VOLT = 102.4; public UltrasonicSensor(AnalogInput input) { this.input = input; } /** * Get current distance in centimeters. * * @return double distance i...
19.666667
50
0.694915
d4dcfa923c506ae58f5e6d11c777db775486c598
2,628
package ax.schnitzel.infrastructure; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.slf4j.Logger; import or...
27.957447
94
0.710807
10839198e6ff6b8603a7a2677cb3efb638312366
15,710
/* * #%L * BroadleafCommerce Common Libraries * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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...
41.342105
132
0.679504
fd114c1dc8964841b4c168601a9fe856a38ad740
2,580
/** * Copyright (C) 2015 mxHero Inc (mxhero@mxhero.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
23.669725
79
0.679457
8f9d48ed350cbce1c243d4cc2403b3c86504e99f
4,825
/* * Copyright 2017 Hippo Seven * * 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 ...
23.197115
92
0.657617
bd45bb12331f41a8ddca0a31a99f39651b72ea3b
313
package devopsdistilled.operp.client.employee.panes.models; import devopsdistilled.operp.client.abstracts.PaneModel; import devopsdistilled.operp.client.employee.panes.models.observers.ListEmployeePaneModelObserver; public interface ListEmployeePaneModel extends PaneModel<ListEmployeePaneModelObserver> { }
31.3
98
0.86901
ab453aff0237458c90bc15aa10d285ac15684f82
38,147
package model.pieces; import exceptions.GameActionException; import exceptions.InvalidMovementException; import exceptions.OccupiedCellException; import exceptions.UnallowedMovementException; import exceptions.WrongTurnException; import model.game.Cell; import model.game.Direction; import model.game.Game; import model...
42.574777
161
0.491336
951e90be517034636a9b0c2ad3817c7a6fa0cd82
3,183
package waypoint.client; /** * Copyright 2018 Kenneth Bonilla, * * 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 ...
26.974576
86
0.560478
ff75ee3a6c75a9343a02925cf48fbb8ec082b9db
800
/* * Copyright (c) 2019- 2019 threefish(https://gitee.com/threefish https://github.com/threefish) All Rights Reserved. * 本项目完全开源,商用完全免费。但请勿侵犯作者合法权益,如申请软著等。 * 最后修改时间:2019/10/07 18:27:07 * 源 码 地 址:https://gitee.com/threefish/NutzFw */ package com.nutzfw.modules.organize.service; import com.nutzfw.core.common.serv...
21.621622
116
0.6775
6b2fbc68135e7d5c9a1add0a26ec7aeadd84e0d8
349
package com.twu.biblioteca; public class MenuOptionShowUserInfo extends MenuOption { private User activeUser; public MenuOptionShowUserInfo (User activeUser) { this.activeUser = activeUser; setName("Show User Information"); } public void execute() { System.out.println(activeU...
20.529412
56
0.687679
b76f22f9fbdad4045ba7e466ce20965c163c4538
931
package com.atlassian.connect.spring; import org.springframework.context.ApplicationEvent; /** * A Spring application event fired when the add-on has been successfully installed on a host. * * <strong>NOTE:</strong> This event is fired asynchronously and cannot affect the HTTP response returned to the * Atlassian...
26.6
112
0.67884
b71d5bfac89cd9a7e5cb16052035618b4f53b68e
2,030
package org.springframework.security.oauth2.core.converter; import org.springframework.core.convert.ConversionService; import org.springframework.core.convert.converter.ConverterRegistry; import org.springframework.core.convert.support.GenericConversionService; import org.springframework.security.oauth2.core.ClaimAcce...
35
90
0.796059
df43f604655c98ef2a4c8f0039043b84548047a8
770
package ch.webtiser.selenium.PaymentFiller; import ch.webtiser.selenium.model.payment.IdealMethod; import ch.webtiser.selenium.util.enums.Environment; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.ui.Select; public class IdealPaymentFiller extends AbstractPaym...
27.5
81
0.749351
45159ed328c48dc78263a164fc0490556d292660
2,592
package xyz.filipfloreani.overlapr.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import io.realm.OrderedRealmCollection; import io.realm.RealmRecyclerV...
35.027027
124
0.713349
f7811610ed3ff4656ca5f477d087037dde495eb3
906
package com.skytala.eCommerce.domain.marketing.relations.trackingCode.model.type; import java.util.Map; import java.math.BigDecimal; import java.sql.Timestamp; import java.util.Map; import java.io.Serializable; import com.skytala.eCommerce.domain.marketing.relations.trackingCode.mapper.type.TrackingCodeTypeMapper; pu...
24.486486
104
0.824503
6b564f93563e4b429235d12d3718e3ab5e5f765e
8,417
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.RandomAccessFile; import java.text.Normalizer; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import java.util.TreeMap; /** * 0) DEFINIR...
32.003802
132
0.534513
4c2eaba4e30c5e50902d706c68f28966ffd93287
1,162
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import static java.lang.System.exit; import java.util.logging.Level; import java.util.logging.Logger; public class AntColonyOptimization { public static void main(String[] args) { Graph grp = new Graph(); ...
26.409091
80
0.557659
40c8040db0df4cd53bdc78d3676d565713395878
1,563
package org.jchlabs.tasquemann.server.data.jpa.domain; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import jav...
24.046154
80
0.654511
efb85140ca30065456254c1d38ecd858a7bcfdb9
3,114
package psidev.psi.mi.jami.tab.io.writer; import psidev.psi.mi.jami.binary.BinaryInteraction; import psidev.psi.mi.jami.model.Participant; import psidev.psi.mi.jami.tab.MitabVersion; import psidev.psi.mi.jami.tab.io.writer.feeder.MitabColumnFeeder; import psidev.psi.mi.jami.tab.utils.MitabUtils; import java.io.File; ...
30.831683
145
0.672126
27ee0c1a56ad71c44ab80e528cc47f5e9904a4c8
1,329
package fr.ignishky.mtgcollection.infrastructure.spi.scryfall; import fr.ignishky.mtgcollection.configuration.ScryfallProperties; import fr.ignishky.mtgcollection.domain.set.Set; import fr.ignishky.mtgcollection.domain.set.SetReferer; import fr.ignishky.mtgcollection.infrastructure.spi.scryfall.model.SetScryfall; impo...
35.918919
102
0.782543
1e7e99e48489cb4a9b8f4eea6524895b10c06ee3
4,954
/* * Copyright (C) 2021-2021 Huawei Technologies Co., Ltd. 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 * *...
22.724771
101
0.606984
13bcc8820afccad569ef30a772fccdbfe6d1ef80
1,937
package illgirni.ds.ptde.pc.saveviewer.savefile.savedata.datatype; /** * The bonfires available in the game. * * @author illgirni * */ public enum Bonfire { //9E 71 18 ABYSS, //18 12 17 ANOR_LONDO, //19 12 17 ANOR_LONDO_KEEP, //E9 2B 14 ASH_LAKE, //6E ...
13.737589
66
0.524006
7a742cdbc1311c06aea1969eb3dcc494319262aa
5,176
package views; /** * this creates a frame so the user can view all the employees in the MySQL server * * * @version alpha build 1.0.0 * @date 2020.12.02 */ import model.Employee; import model.Manager; import java.awt.EventQueue; import java.awt.Panel; import java.awt.event.MouseAdapter; import java.awt.event.M...
33.179487
161
0.707689
64dd54c903fe6d0e82a6cf276dae619e8ef6790a
752
package com.github.hailouwang.demosforapi.canvas.basic; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.RectF; import android.os.Bundle; import com.github.hailouwang.demosforapi.canvas.BaseCanvasActivity; public class CanvasDrawOvalActivity extends BaseCanvasActivity { @Ov...
25.066667
67
0.724734
5d92ad26252ea3410fb23739e86b56c6015aa57b
2,677
package be.ac.ulb.crashcoin.common; import be.ac.ulb.crashcoin.common.utils.Cryptography; import java.nio.ByteBuffer; import java.util.Objects; import org.json.JSONObject; /** * Output of a transaction, from the doc * https://en.bitcoin.it/wiki/Transaction */ public class TransactionOutput implements JSONable { ...
27.040404
109
0.60777
2eb7d836674a1a3c318898b7114af79fe1b68f1c
945
package org.kyojo.core.validation; import java.util.Locale; import javax.validation.MessageInterpolator; public class ManualLocaleMessageInterpolator implements MessageInterpolator { private final MessageInterpolator delegate; private Locale locale; public ManualLocaleMessageInterpolator(MessageInterpolator del...
25.540541
86
0.771429
3ba103cb86ab2561e72218a3ba1cc75e8bb9a369
1,223
package de.example.michaelgruczel.betterexample.ui.presenter; import com.squareup.okhttp.OkHttpClient; import com.squareup.otto.Bus; import com.squareup.otto.Subscribe; import de.example.michaelgruczel.betterexample.data.CheckTask; import de.example.michaelgruczel.betterexample.events.CheckEvent; import timber.log.T...
25.479167
85
0.702371
6b4c9d348ae9c238ac204b6492d51d6461463ca3
13,049
package com.github.dc.number.rule.cache.impl; import com.github.dc.number.rule.cache.NumberCache; import com.github.dc.number.rule.constant.NumberRuleDetailField; import com.github.dc.number.rule.constant.NumberRuleField; import com.github.dc.number.rule.dto.NumberRuleDTO; import com.github.dc.number.rule.entity.Numb...
44.996552
180
0.655299
b8a2f085752a66d99e10efa6ff58acbb9b44cc2c
137
package com.tencent.hq.qq.config; public class Config { public static String applicationId = "87ab0f9bee41bce86dfadd69af692873"; }
15.222222
73
0.781022
5e4c5de244d24f319ebf4b6d6ad1ac4d136f8c5b
2,857
/* * Copyright 2021 The University of Pennsylvania and Penn Medicine * * Originally created at the University of Pennsylvania and Penn Medicine by: * Dr. David Asch; Dr. Lisa Bellini; Dr. Cecilia Livesey; Kelley Kugler; and Dr. Matthew Press. * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
34.011905
145
0.764438
a561adc042dc60250bf013e5a437e8acf4edc13d
3,311
/** * Code contributed to the Learning Layers project * http://www.learning-layers.eu * Development is partly funded by the FP7 Programme of the European * Commission under Grant Agreement FP7-ICT-318209. * Copyright (c) 2014, Karlsruhe University of Applied Sciences. * For a list of contributors see the AUTHORS ...
33.444444
77
0.718514
51d193ad98cc2be1dbf7adffc2db1040f4165705
2,407
package com.app.MavenSpringBootMvcWithExceptionHandlerResponseStatusAndControllerAdviceThruAnnotation.controller; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation...
38.206349
151
0.829248
1abd4b6e78de0bf28e3141a05b12a63771e19f56
1,684
package org.umlgraph.doclet; import java.util.regex.Pattern; import jdk.javadoc.doclet.DocletEnvironment; import javax.lang.model.element.TypeElement; import javax.lang.model.element.ElementKind; import javax.lang.model.element.Element; import javax.lang.model.type.TypeMirror; import java.util.List; import java.util.S...
30.618182
93
0.711401
eef93842d36d698ad12d99fbe3869cc67b9269c5
1,793
/* 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...
28.460317
75
0.733408
467ecd14fc5c0b1f95f91aeca6a00c9c08d0c896
548
package pl.grizzlysoftware.dotykacka.client.v1.api.dto.sales.report; import com.fasterxml.jackson.annotation.*; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) public class CashInOutTransaction { @JsonProperty("id") public Long id; @JsonProperty("dir") public Boo...
26.095238
68
0.728102
09b81c15566fe15cf458b24846a286da5629b25e
3,373
/* * Copyright 2018 Innova Bilişim Çözümleri A.Ş. <https://www.innova.com.tr> * * Türkçe: * Apache Lisansı, Sürüm 2.0 (işbu “Lisans”) ile lisanslanan bu dosyayı, işbu lisansla uyumlu olan * durumlar dışında kullanamazsınız. * * Lisansın bir kopyasını http://www.apache.org/licenses/LICENSE-2.0 adresinden temin ed...
37.065934
121
0.69493
109bad9ee23ddab05cce3c2715fbd1f2deeb580e
8,096
/** * Licensed to EsupPortail under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * EsupPortail licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file ...
35.047619
185
0.792614
db84c316f617890929d749e377cb5ad795082276
1,619
/* * This file was last modified at 2021.02.27 11:33 by Victor N. Skurikhin. * This is free and unencumbered software released into the public domain. * For more information, please refer to <http://unlicense.org> * AbstractRecordService.java * $Id$ */ package su.svn.daybook.services; import lombok.extern.slf4j...
37.651163
95
0.659666
747bd9ec16b36ec82347a1ad794f2141fe323fa7
1,067
import java.util.List; /** * Represents the match of two wave files * * Implements the comparison and matching methods according * to the optimal dynamic programming presented in the tutorial */ public interface IMatcher { /** * Compute the distance score and the match between * the two WavFiles * *...
18.084746
68
0.68135
f48fb63af898dda59e3180e8456e2130826a004e
4,865
// 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.wpilibj; import edu.wpi.first.hal.FRCNetComm.tResourceType; import edu.wpi.first.hal.HAL; import ...
31.387097
100
0.714491
9cc739810d267615f093b1157e8f1e1384daa65f
1,945
package circus.struct; import java.util.ArrayList; public class Vertex<T> implements Comparable<Vertex<T>> { public int index = 0; public int lowlink = 0; public int position = 0; public boolean visited ...
29.923077
67
0.506427
310189720c8c1e7ce35577503e443af6eec799de
2,088
package jo.alexa.sim.data; public class ResponseBean { private String mVersion; private String mOutputSpeechType; private String mOutputSpeechText; private String mCardType; private String mCardTitle; private String mCardContent; private String mRepromptType; private S...
23.727273
62
0.622126