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
d19179fa9c95672d6ed0558b2000c8db402c6e05
1,793
/* * Copyright 2004-2014 ICEsoft Technologies Canada 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 appli...
30.389831
68
0.724484
57b0a47b82bcc56ac4c2fcc95d695b290dd947e1
168
package com.george200150.bsc.pleasefirebase.model; public class SubscriptionMessages { public static final String NOTIFICATION_ARRIVED = "NOTIFICATION_ARRIVED"; }
28
77
0.821429
c9a93a65a57f73c28983929560ada2bf6892d02b
1,698
package com.zhike.blogwebapi.config; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; import com.baomidou...
32.037736
96
0.753239
26afe22c045b70707f5eb6c4c624738310dff954
2,626
package com.capstone.nik.mixology.Activities; import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.widget.TextInputEditText; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import andro...
34.103896
133
0.698401
2684c13e554ad99a0855cb53ee9ad9224ab83182
7,233
/* * 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 ...
39.309783
104
0.673994
0ee10af750002ef741c4c9a25dfe1b7b743ddbb8
1,814
package it.polimi.ingsw.LM34.Model.Effects.ResourceRelatedBonus; import it.polimi.ingsw.LM34.Controller.AbstractGameContext; import it.polimi.ingsw.LM34.Controller.InteractivePlayerContexts.SpecialContexts.ResourcesExchangeContext; import it.polimi.ingsw.LM34.Enums.Controller.ContextType; import it.polimi.ingsw.LM34.M...
40.311111
160
0.745314
bcd15362886bc9a8d74a931247d454433488b5a3
1,538
package gameData.encounter; import gameData.Die; import gameData.enums.ActionType; import gameData.enums.AttackType; public class AttackAction extends Action { private int numDamage; private Die damageDie; private int numSubDamage; private Die subDamageDie; private AttackType attackType; publ...
24.412698
157
0.675553
ccc7b2c84e3ca367b7f680f4a0c4511dbf345266
2,322
package de.datexis.encoder.skipthought; import de.datexis.encoder.AbstractRESTAdapter; import de.datexis.encoder.serialization.DeserializationProvider; import de.datexis.encoder.serialization.JacksonProvider; import de.datexis.encoder.serialization.SerializationProvider; import org.slf4j.Logger; import org.slf4j.Logge...
32.25
121
0.780362
dfb48ad820ae021eaf423298af5cc815d4e7dcf4
3,056
/* * Copyright 2015 Allette Systems (Australia) * http://www.allette.com.au * * 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...
28.560748
92
0.683246
9f26af2b6c70bb9a93f00af6a1a86a10e0c2cd18
687
package xyz.studiomango.sekiei.util.optimizations; import org.apache.logging.log4j.Logger; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.ForkJoinWorkerThread; /** * @author UltimateBoomer/mc-smoothboot */ public class LoggingForkJoinWorkerThread extends ForkJoinWorkerThread { private final...
24.535714
71
0.765648
3e8c18589cd24133872c63f0298c395000bca24f
3,034
/* * Copyright (c) 2014 Martin W. Kirst (nitram509 at bitkings dot de) * * 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 * t...
39.921053
112
0.748517
9cd4f9cf217250a0bac10365bc184c3d3fe8073c
22,407
/* * 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 br.uff.ic.merge.conceptualcoupling; import br.uff.ic.coupling.ChunkInformation; import java.io.BufferedReader; import...
44.54672
227
0.578748
c10912e38214d6f0c6b3f27e08d7c1772efedd15
262
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package bingo_data.models; /** * * @author Luis */ public class Carton { private int id; private String idCarton; public Carton() { } }
13.789474
52
0.625954
14e696065dc49f68c6d8a6bc21d28a137b2f40b8
2,342
package cto.github.rent.douban; import cto.github.rent.douban.pipeline.DoubanPipeline; import cto.github.rent.douban.template.DoubanArticleDetail; import cto.github.rent.douban.template.DoubanArticleList; import cto.github.rent.enums.Platform; import org.springframework.beans.factory.annotation.Autowired; import org.s...
30.815789
145
0.74082
aeeea322644fc23355ec22527ee34569427b4281
8,187
package com.example.lyl.pullmore; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Context; import android.graphics.drawable.AnimationDrawable; import android.graphics.drawable.Drawable; import android.support.v4.widget.SwipeRefreshLayout; import android.suppo...
33.830579
119
0.648101
206120a77e34abdd186ed4e67b2a3e0bce56cf54
593
package de.slothsoft.random.types; public class IntegerRandomFieldPrimitiveTest extends AbstractNumberRandomFieldTest<Integer> { public static class Pojo { private int value; public int getValue() { return this.value; } public void setValue(int value) { this.value = value; } } ...
20.448276
94
0.718381
bbc1ad4c70102b988e07e4381b3be37c570578bd
1,587
package com.example.tiago.androidinvestimentoapp; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TextView; import java.util.ArrayList; public class Detalhes extends AppCompatActivity { @Override...
33.765957
124
0.676118
7880580106d06f2d253a37bef91ddd242f42da9c
3,934
/* * 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 ...
38.568627
100
0.660651
1dfd43ad072e962833c706808595c8b06324e4b5
8,840
package com.zenika.zpresence; import org.apache.commons.codec.binary.Base64; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.x...
47.021277
204
0.556787
d3743f5292c646ae84140656d87b4496d49d888f
1,143
/* * 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 w3employees; /** * * @author Steven Gordon <s.d.gordon@cqu.edu.au> */ public class EmployeeTester { public static ...
30.078947
98
0.609799
b6396f38e371c04a220ded4930a61d613c1fce66
2,000
/* * Copyright 2005-2013 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 requi...
30.30303
76
0.7055
1d63912f9eb26cfaee51eda8c8f1012643a6c3ff
1,055
package org.atlasapi.content.v2.serialization; import org.atlasapi.content.CrewMember; import org.atlasapi.media.entity.Publisher; import org.junit.Before; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.hamcrest.core.IsNull.nullValue; import static org.junit.Assert.assertThat; publi...
27.051282
82
0.624645
41ae5ceea0309d5e7b4557c676a743743be63160
1,415
/* * Copyright 2017 StreamSets 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...
31.444444
116
0.746996
71187ab4bca4cb6ea4d4d66a0c87bd132e826766
3,596
package org.jgroups.protocols; import org.jgroups.Message; import org.jgroups.annotations.MBean; import org.jgroups.annotations.ManagedAttribute; import org.jgroups.annotations.Property; import org.jgroups.conf.AttributeType; import org.jgroups.stack.Protocol; import org.jgroups.util.AverageMinMax; import org.jgroups....
34.912621
125
0.659344
d09269c9538dcea21f27f0ac67185374b32bad86
2,259
package com.jam2in.httpapi.response; import java.io.IOException; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeoutException; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org...
32.271429
92
0.749889
555df55cff0f4efbe22f5b853abfe5943a4ffc02
27,261
package com.github.wangji92.arthas.plugin.ui; import com.aliyun.oss.OSS; import com.github.wangji92.arthas.plugin.constants.ArthasCommandConstants; import com.github.wangji92.arthas.plugin.setting.AppSettingsState; import com.github.wangji92.arthas.plugin.utils.*; import com.intellij.notification.NotificationType; imp...
42.595313
279
0.685228
c34520f1cf6d6dace553e675f5df0194cf1b173a
1,634
package com.example.demo; import javax.persistence.*; @Entity class Employee { private @Id Long empid; private String empname; private String designation; Employee() {} public Long getEmpid() { return empid; } public void setEmpid(Long empid) { this.empid = empid; } public String getEmpname() { ...
19.926829
99
0.664015
33e0d98773339b207409750502413b59b0b2a241
924
package net.friedl.fling.persistence.entities; import java.time.Instant; import java.util.UUID; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Version; import org.hibernate.annotations.CreationTimestamp; import org...
23.692308
95
0.769481
d245a3f915a03bc9784e05da73964bac4f7122fe
5,433
package com.aayaffe.sailingracecoursemanager.initializinglayer; import com.aayaffe.sailingracecoursemanager.R; import com.aayaffe.sailingracecoursemanager.general.GeneralUtils; import com.aayaffe.sailingracecoursemanager.initializinglayer.RaceCourseDescription.GateConfiguration; import com.aayaffe.sailingracecourseman...
61.738636
229
0.758513
3176106142133e084cd822776c2d25f6a07eed4a
3,495
/** * This software is released as part of the Pumpernickel project. * * All com.pump resources in the Pumpernickel project are distributed under the * MIT License: * https://raw.githubusercontent.com/mickleness/pumpernickel/master/License.txt * * More information about the Pumpernickel project is available he...
29.125
128
0.681831
47e9b56b0109fd55c4594b327455900d455f2249
2,412
package hudson.plugins.jira.selector.perforce; import java.util.List; import java.util.Set; import java.util.logging.Logger; import org.jenkinsci.plugins.p4.changes.P4ChangeEntry; import org.kohsuke.stapler.DataBoundConstructor; import com.perforce.p4java.core.IFix; import hudson.Extension; import hudson.model.Desc...
32.594595
120
0.634328
4bccb691ef2b21446a591e63667c915c7a4f313e
1,528
package org.gitlab4j.api.models; import org.gitlab4j.api.utils.JacksonJson; public class WikiAttachment { public static class Link { private String url; private String markdown; public String getUrl() { return url; } public void setUrl(Str...
19.844156
53
0.540576
84c644825d921d504960af8ef10f895cbf1e0c42
2,504
package com.kristian.android.simpletodo; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import java.util.ArrayList; /** * Created by kristianss27 on 9/14/16. */ public c...
42.440678
113
0.698882
1e3d2a9f0498329470900fac061d12aceb655818
590
package com.duan.blogos.exception.api.parameter; import com.duan.blogos.exception.BaseRuntimeException; /** * Created on 2018/1/29. * 参数类型与目标类型不匹配 * * @author DuanJiaNing */ public class ParameterTypeMismatchException extends BaseRuntimeException { public static final int code = 19; public ParameterTyp...
21.851852
76
0.715254
386d926d7be4d482a57549c5b4bf7f2fd9d6de40
6,710
package com.newer.kt.Refactor.ui.Avtivity.Settings; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.os.Message; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.widget.RelativeLayout; import com.base...
24.578755
77
0.589717
e4c42734c93ebce2c6949bf1407418877ad80c23
1,873
package com.project.convertedCode.globalNamespace.functions; import com.project.convertedCode.globalNamespace.namespaces.Illuminate.namespaces.Support.classes.Str; import com.runtimeconverter.runtime.interfaces.ContextConstants; import com.runtimeconverter.runtime.functions.FunctionBaseRegular; import com.runtimeconve...
37.46
102
0.73465
8f16a3e8a4cec7f604b19adb9bd11f007ffca6ce
593
package org.jeecg.modules.cable.vo; import lombok.Data; import org.jeecg.common.aspect.annotation.Dict; import java.io.Serializable; @Data public class SettleAccountsVo implements Serializable { private String planId; private String planName; private String planType; private String projectNo; pri...
24.708333
55
0.743676
778ff58da28ccf7215fe1597926685d6c839508c
12,939
/* * 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 trabalholab1; import Banco.ClienteDB; import Banco.Conector; import Banco.PedidosDB; import java.util.ArrayList; import models...
45.4
147
0.646572
429d86a17ee4481c4e5a780200d14e74f422c517
290
package com.cerner.jwala.service.media; /** * Exception wrapper for {@link MediaService} errors * * Created by Jedd Cuison on 12/29/2016 */ public class MediaServiceException extends RuntimeException { public MediaServiceException(final String msg) { super(msg); } }
19.333333
61
0.713793
f61e39245e8331a6d1f3439b8db2b338f991f8ac
3,940
package com.tank.utils.pathfinding; import java.util.*; import com.badlogic.gdx.math.Vector2; public class PathfindingUtil { public static LinkedList<Vector2> pathfinding(int[][] map, int sRow, int sCol, int eRow, int eCol){ ArrayList<Node> queue = new ArrayList<Node>(); ArrayList<Node> c...
37.884615
133
0.470051
6647b53775e5942589cd55491ae73df05a302046
1,349
/* * Copyright 2020 Netflix, 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 ...
29.977778
86
0.750185
368c4c7c376b951d18abc858901071ea5ecc484d
9,276
package com.logicaldoc.gui.frontend.client.impex.archives; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.AsyncCallback; import com.logicaldoc.gui.common.client.Session; import com.logicaldoc.gui.common.client.beans.GUIArchive; import com.logicaldoc.gui.common.client.beans.GUIIncrem...
34.228782
110
0.73232
21b24dc6d1029b54701d41dd6e8f885aa891a4e3
11,066
/* * Trabalho de Programacao Orientada a Objetos 2 * Grupo: * 11511BSI267 - Heitor H. Nunes * 11411BSI207 - Matheus Eduardo da S. Ramos * 11511BSI257 - Pedro Henrique da Silva * 11511BSI215 - Steffan M. Alves */ package MODEL.BEAM; import java.time.LocalDateTime; import java.time.format.DateTimeForm...
34.260062
259
0.545906
e6ada2cd204ee2105de3c403aa694e9d281483c1
6,844
package in.myinnos.surveylib.fragment; import android.app.DatePickerDialog; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.text.Editable; import android.text.Html; import android.text.InputFilter...
38.666667
129
0.650205
b4974775c22883e9df81452a374c9391a539f682
6,715
/* Copyright (c) 2019 AT&T Intellectual Property. # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. ...
31.087963
89
0.657334
f21a7a4287c99652cfb44a46a92105fd5a4652e9
15,409
package org.firstinspires.ftc.teamcode; import android.util.Log; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.util.ElapsedTime; public abstract class RoboLordsLinearOpMode extends LinearOpMode { protected RoboLordsHardw...
40.337696
142
0.649296
dbf5e3ac7ef6b098c7467faf3f670b5a6531022c
1,457
package org.logstash.beats; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * Implementation of {@link Batch} intended for batches constructed from v1 protocol * */ public class V1Batch implements Batch{ private int batchSize; private List<Message> messages = new ArrayList<>(...
18.443038
84
0.672615
e9a1f19eab6ad0a58f7aa3f758c1d5c8cbcd6d9d
496
package tech.pdai.springboot.swagger.entity.param; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Builder; import lombok.Data; /** * user. * * @author pdai */ @Data @Builder @ApiModel(value = "User", subTypes = {AddressParam.class}) public class UserParam { ...
18.37037
58
0.72379
fe2bf38ddde6fe4e72bdffc3bfe7c1a4aed56057
1,553
package hl.restauth.client; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; imp...
28.236364
146
0.788152
561d9a2b8ec0ed6aa03a0fa42b6c994a3eff1265
1,154
package com.aires.cloud.server.test.controller; import com.aires.cloud.server.test.service.IHelloService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.GetM...
25.086957
76
0.717504
3a81f54fb2b0007fcfc83d1425296155bc310f7e
2,101
package sonia.scm.repository.xml; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import sonia.scm.ContextEntry; import sonia.scm.repository.InternalRepositoryException; import sonia.scm.repository.Repository; import sonia.scm.store.CopyOnWrite; import sonia.scm.store.StoreConstants; import sonia.scm.update.U...
35.016667
118
0.749643
45a587843d1a0b515dc0a2491ed4f921c176abb9
441
package org.siy.shop.user.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.siy.common.api.BaseApi; import org.siy.shop.user.api.SearchHistoryApi; import org.siy.shop.user.po.SearchHistory; @RestController @RequestMappi...
33.923077
97
0.84127
0d808ee2922f597672d3015708cdb8cc27233751
1,618
package com.baidu.brpc.naming; import lombok.extern.slf4j.Slf4j; import java.util.HashMap; import java.util.Map; @Slf4j public class NamingServiceFactoryManager { private static volatile NamingServiceFactoryManager instance; private Map<String, NamingServiceFactory> namingServiceFactoryMap; public stat...
35.955556
97
0.702719
b1bb287caea9969a4d861b9dfea8c22c4f27ee4e
1,540
package com.github.adminfaces.showcase.pages.fragments; import java.util.List; import java.util.concurrent.TimeUnit; import static org.assertj.core.api.Assertions.assertThat; import org.jboss.arquillian.drone.api.annotation.Drone; import org.jboss.arquillian.graphene.Graphene; import org.jboss.arquillian.graphene.Grap...
29.056604
99
0.685065
11b5167f6284bd1ea7a2b848d8dd68ccdba5d968
9,215
/** * Utility program to encrypt and decrypt the passwords with 128-bit AES encryption * Key would be dynamic as entered by the user. * * Copyright (c) 2016 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files * (the "Software"), ...
41.509009
122
0.5707
34269bda31fbf7c6c4e28a6b6a27acf082ddc9be
233,583
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Docflow/InvoiceDocflow.proto package Diadoc.Api.Proto.Docflow; public final class InvoiceDocflowProtos { private InvoiceDocflowProtos() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } ...
42.585779
297
0.676894
889c057883311a9479c12012cd270a9068aa810b
5,479
package com.xuecheng.manage_course.controller; import com.xuecheng.api.course.CourseControllerApi; import com.xuecheng.framework.domain.course.*; import com.xuecheng.framework.domain.course.ext.CourseInfo; import com.xuecheng.framework.domain.course.ext.CourseView; import com.xuecheng.framework.domain.course.ext.Teach...
31.488506
121
0.694287
77dc9a8c41666d386ae0388a7fa3a69852142ffe
1,872
package com.gk.mortgage.calculator.service; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Auto...
34.666667
78
0.803419
4d4b09a1e76f8625193da9e0d6a6099047c3f5ea
2,339
package diiv.javapractice.util.collections; public class DiivBinaryHeapPriorityQueue<T extends Comparable> implements DiivPriorityQueue<T> { public DiivBinaryHeapPriorityQueue() { _binHeap = new BinaryHeap<T>(DEFAULT_CAPACITY); } public DiivBinaryHeapPriorityQueue(int capacity) { if (capa...
22.27619
96
0.536127
74a0275d2e83c32115d138c50389070c465932c6
2,336
/* * Copyright 2019 The Exonum Team * * 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...
38.933333
100
0.740582
781507aca4b34995024987e8e6379c9b6f451f62
618
package com.alibaba.alink.pipeline.dataproc; import org.apache.flink.ml.api.misc.param.Params; import com.alibaba.alink.operator.common.dataproc.KeyToValueModelMapper; import com.alibaba.alink.params.dataproc.KeyToValueParams; import com.alibaba.alink.pipeline.MapModel; /** * Key to Value operation with map model. ...
24.72
72
0.788026
b62a3c10ea4e20a1375403d27fcdbef7e3c1c7b7
62
package liu.mars.market.status; public class CallAuction { }
12.4
31
0.774194
54968a261750450a9803c2172e0d514518314f11
525
package vip.mate.system.feign; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import vip.mate.core.feign.constant.FeignConstant; import java.util.List; @FeignClient(value = FeignConstant.MATE_CLOUD_SYSTEM) public interface ISysRolePermissionProvider...
26.25
63
0.76
86bd21285f58d71e3f9b3d92453ba8f938eba60c
1,888
package com.athena.common.utils; import com.auth0.jwt.JWT; import com.auth0.jwt.JWTVerifier; import com.auth0.jwt.algorithms.Algorithm; import com.auth0.jwt.interfaces.DecodedJWT; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.context.properties.ConfigurationProperties; import...
26.591549
125
0.651483
93a2d82ae3ea6f1eaaeb216a470c0d96e5ac28e9
923
package com.qihoo.qsql.server; import java.util.Properties; import org.apache.calcite.avatica.AvaticaConnection; import org.apache.calcite.avatica.AvaticaFactory; import org.apache.calcite.avatica.UnregisteredDriver; /** * Extension of {@link AvaticaFactory} * for Quicksql. */ public abstract class QuicksqlFactory...
24.945946
76
0.748646
8a95a48bcb784eac508db4637cc4f62f0473cd0d
5,985
package gov.faa.services.airport.data; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import gov.faa.services.airport.data.AirportInformation; public class AirportData { private static final Map<String, AirportInformation> airportMap; static { AirportInformation ap; airportM...
57.548077
121
0.694069
9afffc5c1b91b143c70d9584316ff45c74bc1333
1,896
package models; import com.avaje.ebean.Model; import com.avaje.ebean.PagedList; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import scala.collection.immutable.Page; import java.util.*; import javax.persistence.*; import play.db.ebean.*; import play.data.fo...
21.545455
118
0.654008
4b46b1b279a81b51afc3c37ee9ae7d6fad052336
2,699
package net.ryanland.empire.bot.command.impl.profile; import net.dv8tion.jda.api.entities.User; import net.ryanland.empire.bot.command.arguments.ProfileArgument; import net.ryanland.empire.bot.command.info.Category; import net.ryanland.empire.bot.command.info.CommandInfo; import net.ryanland.empire.sys.file.database.P...
42.171875
121
0.643942
7574ff7a529a1faec515458d9a8d56218d5cef4e
20,775
/* * Copyright 2007 - 2020 Ralf Wisser. * * 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 a...
34.857383
183
0.701372
b8582dffe8acd53f47167efbaec7e2a81f54b5f1
1,870
/** * Copyright 2016-2017 Symphony Integrations - Symphony 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 a...
31.166667
84
0.691979
efd7e48d54c5073bd17ae4cbbf5db88bbd173f19
841
package com.melt.petclinic.services.map; import com.melt.petclinic.model.Owner; import com.melt.petclinic.services.OwnerService; import org.springframework.stereotype.Service; import java.util.Set; @Service public class OwnerServiceMap extends AbstractMapService<Owner, Long> implements OwnerService { @Override ...
20.02381
94
0.664685
8ee057f67058568ff764c48cdbed53c269d62e22
1,580
/* * 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")...
25.901639
76
0.683544
af07ebff398127187f3798c50c243c1e626d8b6e
3,262
package BackTracking; // You are given N, and for a given N x N chessboard, find a way to place N queens such that no queen can attack any other queen on the chess board. A queen can be killed when it lies in the same row, or same column, or the same diagonal of any of the other queens. You have to print all such con...
24.343284
308
0.519007
e3ebd52d7deb8eb2c5b4954e801f7b1990e66b09
1,006
package de.jonasfrey.dldungeonsjeiinfo.nbt.tags; /* * Doomlike Dungeons by is licensed the MIT License * Copyright (c) 2014-2018 Jared Blackburn * * This class added by Hubry at GitHub, January 2019 */ import de.jonasfrey.dldungeonsjeiinfo.nbt.NBTType; import net.minecraft.nbt.JsonToNBT; import net.minecraft....
22.863636
78
0.741551
5019dfce924d704440e1941e89d78dd4717bbdfb
2,190
package org.esupportail.opi.web.beans.pojo; import org.esupportail.opi.domain.beans.references.commission.Commission; import java.util.List; import java.util.Map; /** * @author ylecuyer * Pojo servant e stocker les informations d'un individu pour * l'edition de la liste preparatoire des commission * Information ...
16.343284
76
0.62968
0011a13fd4585b080b8a739088b72e3e0f3a1b55
1,335
package de.codemakers.bot.supreme.permission; import java.util.List; import net.dv8tion.jda.core.entities.Guild; import net.dv8tion.jda.core.entities.User; /** * PermissionFilter * * @author Panzer1119 */ public interface PermissionFilter { public String getName(); public boolean isGuildPermissionGrante...
31.046512
109
0.706367
2ea8dc87c51337cc04e19253a9b18009b6c8b753
196
package com.solvd.station.DAO.operational; import com.solvd.station.models.operational.Arrival; import com.solvd.station.DAO.IBaseDAO; public interface IArrivalDAO extends IBaseDAO<Arrival> { }
24.5
56
0.821429
4043b37f6390b64bab99049e95a007dc8123b3b4
7,358
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
29.789474
195
0.692308
2cca8080e58e862699966af7dab1bb5805ed4e0c
2,798
package petablox.android.harnessgen; import javax.xml.*; import javax.xml.parsers.*; import javax.xml.xpath.*; import javax.xml.namespace.*; import org.w3c.dom.*; import org.xml.sax.*; import java.io.*; import java.util.*; /* * reads layout xml files to find out several info about the app * @author Saswat Anand */ p...
29.765957
130
0.687277
3d0cab0d940aef9f20feb5acf2f1494d6d82ef46
3,787
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.java.decompiler.code; import org.jetbrains.java.decompiler.main.DecompilerContext; import org.jetbrains.java.decompiler.util.TextUtil; import org.jetbrains....
25.587838
140
0.596778
6b1529ffbe053429e4f6e31f35053cdce5c7a8f6
2,439
package org.mbari.kb.jpa.knowledgebase; import com.google.common.collect.ImmutableMap; import com.typesafe.config.Config; import com.typesafe.config.ConfigFactory; import org.eclipse.persistence.config.TargetDatabase; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import java.uti...
48.78
105
0.701927
46cd56eff898a2e63824f88bdd90a5411d268cbb
1,423
package nse.skbh.springboot.pojo; import java.util.List; public class ParentFOSecStockWatchData { public String totValMil; public String time; public int dec; public String totVal; public List<FOSecStockWatchData> data; public String totQty; public String totQtyMil; public int noChg; public int ...
19.763889
55
0.669712
8be287b2313fc34e2285b9860544c82f47769d25
8,635
import io.restassured.http.ContentType; import io.restassured.path.json.JsonPath; import io.restassured.RestAssured; import org.junit.Test; import static org.hamcrest.Matchers.is; public class ServiceDescriptorArrayTest extends AbstractFeatureServiceTest { @Test public void testViewAsRoot() { JsonPath...
41.315789
186
0.555182
172b58c42019bd3eba58e2351792208087a54662
2,264
/* * Copyright 2018-2021 adorsys GmbH & Co KG * * 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 ...
38.372881
100
0.765901
486c335d2c2b0cc2405d7a90db9a80c545381c68
405
package com.xunlei.downloadprovider.ad.home.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; // compiled from: ADGDTVideoItem.java final class c implements OnClickListener { final /* synthetic */ a a; c(a aVar) { this.a = aVar; } public fina...
22.5
71
0.701235
2d27734c29911c290ab7e8237ea65b7f4118cb2b
1,627
package ca.corefacility.bioinformatics.irida.model.user; import java.util.Date; import java.util.Objects; import java.util.UUID; import javax.persistence.*; import javax.validation.constraints.NotNull; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.jpa.domain.support.Auditing...
20.08642
86
0.744315
78446f06090c1b4be2dcfc6e92e8c30058f88da2
476
package com.company; public class Exercise_5_7 { public static void main(String[] args) { double tuition = 10000; tuition = tuition * Math.pow(1.05, 10); System.out.printf("Tuition will be $%.2f in 10 years\n", tuition); double sum = 0; for(int i= 0; i<4; i++) { ...
29.75
75
0.527311
e8656017e2d2a4a423517424a10a08ec0b2da4bd
1,942
package ru.breffi.storyid.generated_api.api; import ru.breffi.storyid.generated_api.CollectionFormats.*; import retrofit2.Call; import retrofit2.http.*; import okhttp3.RequestBody; import okhttp3.ResponseBody; import okhttp3.MultipartBody; import ru.breffi.storyid.generated_api.model.CodeVerifyViewModel; import ru....
28.985075
111
0.759011
367479586b40d8996019b0e01ab68bd2696d34b7
3,849
package com.tr.rp.varstore; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import java.util.Objects; import java.util.stream.Collectors; import com.tr.rp.ast.AbstractExpression; import com.tr.rp.exceptions.RPLException; import com.tr.r...
26.544828
110
0.691868
52a4c04ad82553ac919d63f984b67233d2c4cce3
8,551
package com.liyangbin.cartrofit.solution; import com.liyangbin.cartrofit.Call; import com.liyangbin.cartrofit.CartrofitContext; import com.liyangbin.cartrofit.CartrofitGrammarException; import com.liyangbin.cartrofit.FixedTypeCall; import com.liyangbin.cartrofit.Key; import com.liyangbin.cartrofit.annotation.MethodCat...
41.509709
136
0.606011
7fae8594eaf5c4eb54bdbec58e88983e9e082960
2,218
import java.util.ArrayList; /** * Continent class which provides information regarding the Continents. * * @author Kartika Patil */ public class Continent { /** Name of the continent. */ private String name; /** List of countries in the continent. */ private ArrayList<Country> listOfCountries; /** * Co...
20.163636
88
0.651037
11c4366fbdb94a40be9ec22b82b19b62c552f2c2
766
import org.openqa.selenium.By; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import com.gargoylesoftware.htmlunit.BrowserVersion; public class Testing { /** * @param args */ public static void main(String[] args) { HtmlUnitDriver driver=new HtmlUnitDriver(BrowserVersion.FIREFOX_38); driver.get("http...
23.9375
70
0.711488
417a451db48e2fe9a5f8691231b16c445ab51125
5,267
/* * Copyright 2013, Unitils.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
39.30597
129
0.693184
5bf5fbfa53b7f0248b48c95b71fb2954c60aff3f
9,371
/** * Copyright 2019 SPeCS. * * 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 writi...
25.464674
118
0.579981
fefbab8380bd699e6aebca5567e5db89b17f3dfc
5,863
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
25.491304
81
0.719427
75d5bf6523f53cce2866cf5f0154efce8d01b974
407
package yal.arbre.instruction; import yal.arbre.expression.Expression; public class DeclTab extends Instruction { String name ; Expression exp ; public DeclTab(String _name, Expression _exp, int n) { super(n); name = _name ; exp = _exp ; } @Override public void verifi...
16.28
58
0.601966
0269fe2ecd9230cbd181c9a961c8372da70e780c
1,896
/******************************************************************************* * Copyright 2018 572682 * * 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/...
36.461538
97
0.650316
5316ba5ee17d69ebf168259c001c159ef9feeadf
2,106
package io.collap.bryg.compiler.ast.expression.bool; import bryg.org.objectweb.asm.Label; import io.collap.bryg.compiler.ast.expression.Expression; import io.collap.bryg.compiler.bytecode.BrygMethodVisitor; import io.collap.bryg.compiler.context.Context; import io.collap.bryg.compiler.util.BoxingUtil; import io.collap...
35.1
126
0.688984
29ee394560a5155d42b3c723d2d854d37fc088ed
4,067
package fr.marin.cyril.belvedere.views; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.util.AttributeSet; import android.util.Log; import android.view.View; import fr.marin.cyril.belvedere.tools...
31.045802
142
0.584952
81fa83ba2ff0446b5c0414ca15db7ba1fc19e1aa
1,338
/* * Copyright 2015-2017 GenerallyCloud.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
27.306122
75
0.668909