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
de2787be682fc502f2bfc0a332978c82d3e4f68a
3,617
/* * Copyright 2014-2016 CyberVision, 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 o...
34.447619
97
0.761681
f7bf2e31e2b2fd2cd4b51c882e7ca14705f7e3a6
4,816
package gherkin.formatter; import static gherkin.util.FixJava.readResource; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import gherkin.JSONParser; im...
35.940299
122
0.664659
207ce311799ccd7b34b6b1ef20e54fa0c2a813a4
5,327
/* * The MIT License * * Copyright (c) 2017, CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
33.929936
119
0.66942
ff84976cf3414047ed78c02e55f3d6f1ba4f4f4e
4,081
package aguapotable.presentacion.controladores; import aguapotable.logica.entidades.Ciclo; import aguapotable.logica.funciones.FCiclo; import java.io.Serializable; import java.util.List; import javax.annotation.PostConstruct; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import java...
27.02649
108
0.620926
1ceaba9d7aff7ba14c9b8cbd06dd2605b0dbe905
12,729
/* * Copyright 2007-2021, CIIC Guanaitong, Co., Ltd. * All rights reserved. */ package com.ciicgat.grus.boot.autoconfigure.data; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.mapping.DatabaseIdProvider; import org.apache.ibatis.plugin.Interceptor; import org.apache.ibatis.session.SqlSessio...
44.506993
152
0.735957
a28831125b5b3cdb0672a0db98e87ce1eb5cfc72
359
package testclasses.exceptions.invoke.invokestatic; import it.oblive.annotations.NativeObfuscation; public class ThrowInvokeStaticLong { public ThrowInvokeStaticLong() { } public static long normalDiv(int a, int b) { return a / b; } @NativeObfuscation public int div(int a) { ...
18.894737
51
0.671309
dddc1fb86767d265748345cc815479cab031ece5
2,194
/** * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.pivotal.gemfirexd.thrift; import java.util.Map; import java.util.HashMap; import org.apache.thrift.TEnum; public enum FieldType implements org.apache.thrift.TEnum { ...
18.913793
77
0.580219
5e0a5fdf4c69f4469aa71fe68f0e1c12b675d6b0
1,497
/* * 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 edu.wpi.first.wpilibj.templates.commands; /** * * @author Andrew */ public class TurnTo extends CommandBase { doub...
23.761905
79
0.606546
5e7762740f7212a9cbe8870a8f44e3b5a458aeec
4,994
package edu.mayo.mprc.swift.params2; import edu.mayo.mprc.MprcException; import edu.mayo.mprc.database.Change; import edu.mayo.mprc.unimod.ModSet; import edu.mayo.mprc.workspace.User; import java.util.List; import java.util.Map; /** * Static version of ParamsDao - does not enable any modifications, only serves defa...
20.983193
131
0.761714
96844f978416e932af0adc4225065dba5370072a
621
/* * DefaultEntity.java * * Copyright 2017-2018 BCS-Technologies. All Rights Reserved. * * This software is the proprietary information of BCS-Technologies. * Use is subject to license terms. */ package com.bcs.bm.catalog_of_instruments_rudata.repositories.entities; import java.time.LocalDateTime; public inte...
24.84
71
0.73591
d86ef957c09d62982b11333e738c30242eccaa67
4,006
/* * 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 uipacontroleadotantes.gui.adotantes; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax....
31.054264
147
0.537943
e2e531781f9da2356b26233cd255b9038bdd4761
1,471
import java.util.Calendar; import java.util.TimeZone; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("gx") public class class204 { @ObfuscatedName("qy") @ObfuscatedGetter( longValue = 697021873402356...
30.020408
205
0.639701
73b2bde63d00796a6df216985ea5289dfa96c54c
5,307
package com.ebr163.probetools; import android.content.Context; import android.content.SharedPreferences; import android.database.sqlite.SQLiteOpenHelper; import android.preference.PreferenceManager; import com.ebr163.probetools.http.IProbeHttpInterceptor; import com.ebr163.probetools.manager.AssetsManager; import com...
41.787402
115
0.693235
b6413f3d830b626379e97104b21bbdf221e96b3c
1,753
package com.runer.toumai.dao; import android.content.Context; import com.fasterxml.jackson.databind.JsonNode; import com.orhanobut.logger.Logger; import com.runer.net.JsonUtil; import com.runer.net.RequestCode; import com.runer.net.interf.INetResult; import com.runer.toumai.bean.AliPayResultBean; import com.runer.toum...
31.303571
87
0.72105
b08a12d081579208bdad62a7f7dbbd2619d22cf1
831
package concurrent; /** * A Runnable class used to test the performance of each concurrent ListSet * implementation. This thread simply hits the list with a large number of * remove. */ public class RemoveTestThread extends TestThread implements Runnable { private int nSuccessful = 0; private int nFailed =...
23.742857
98
0.593261
e00b10dd3cd55da1838b09b973a4fe221e887035
181
package org.dao.generator.base; /** * * @author <a href=mailto:lazy_p@163.com>lazyp</a> * */ public interface DBHandler { public TableMeta getTableMeta(String tableName); }
16.454545
50
0.701657
4d59dbe7aced4b4c405a9cd267aa1d1a5cbbf3e4
897
package io.bdeploy.common.cli.data; import java.util.ArrayList; import java.util.List; /** * Builds a table row cell by cell. */ public class DataTableRowBuilder { private final DataTable target; private final List<DataTableCell> cells = new ArrayList<>(); DataTableRowBuilder(DataTable target) { ...
24.916667
126
0.608696
4aca27c9b16010345f15cde9a32e9dada95a0971
1,387
package com.gwac.action; import com.gwac.dao.MultimediaResourceDao; import com.gwac.model.MultimediaResource; import com.opensymphony.xwork2.ActionSupport; import java.util.List; import javax.annotation.Resource; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.str...
28.895833
71
0.756309
57ef122faf1e2a4da69d227aea157fa54063c9b6
493
/** * An activity for a Respondent while he is waiting to be connected to someone * */ package com.test.glasgowteam12.Activities; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.test.glasgowteam12.R; public class RespondentCallWait extends AppCompatActivity { @Override ...
23.47619
78
0.762677
a5d75597196ae3f0d8fbcd84872471787e81d5d3
2,728
package com.mohsinkd786.projection; import com.mohsinkd786.entity.BankAccount; import com.mohsinkd786.event.AccountCreatedEvent; import com.mohsinkd786.event.MoneyCreditedEvent; import com.mohsinkd786.event.MoneyDebitedEvent; import com.mohsinkd786.exception.AccountNotFoundException; import com.mohsinkd786.query.FindB...
38.422535
94
0.723607
25382c41a902fe7295d076019cb9702ace785b81
156
package io.github.codejanovic.functions.map; public interface MapFunction3<From1, From2, From3, To> { To map(From1 from1, From2 from2, From3 from3); }
26
56
0.75
bf39b23fb63de3a6c5e4dee5251013dd4a35336f
1,037
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner entrada = new Scanner(System.in); int soma = 0, somaM = 0, somaF = 0, contM = 0, contF = 0, contJ = 0; for (int x = 0; x < 3; x++) { System.out.println("Digite o sexo: "); int sexo = entrada.nextInt(); Sys...
32.40625
103
0.610415
ae7374ab2a9a43f5ad96bddd5614e076be68714d
1,749
package com.yeamy.pattern.feature.demo; import android.app.Activity; import android.os.Bundle; import android.support.annotation.Nullable; import android.widget.Toast; import com.yeamy.pattern.data.DemoBean; import com.yeamy.pattern.task.HttpRequest; import com.yeamy.pattern.task.TaskCallback; import com.yeamy.patter...
27.328125
106
0.656375
49d9106ead853af81ebdc429bc7920bf435a7d93
8,090
/* Copyright (c) 2012 Aaron Perkins Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, s...
34.57265
100
0.639555
08a6ed2c7e831bc7ff4f165c096a48faced136f5
3,592
/* * 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.212766
156
0.745824
35f8d0df63e4e4e840eb6433719eaedb1a4fcc10
5,442
/* * Copyright (c) 2018-2019, BEPAL * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
36.52349
86
0.620911
55ee20407438b0e6d42b8baa88728633abcf7385
2,260
package com.pattern.tutor.syntax.action.newfeature.java8.chap5; import static java.util.stream.Collectors.toList; import java.util.Arrays; import java.util.List; import com.pattern.tutor.syntax.action.newfeature.java8.entity.Dish; import com.pattern.tutor.syntax.action.newfeature.java8.entity.Pair; public class Map...
30.958904
111
0.615044
2d30e5458462288c922d684d80948c32945aa412
326
package com.artos.spi.core; import com.artos.api.core.server.IMembershipService; import com.exametrika.common.utils.ByteArray; import com.exametrika.common.utils.ICompletionHandler; public interface IGroupChannel extends IMembershipService { void publish(ByteArray value, ICompletionHandler<ByteArray> commitHandle...
32.6
79
0.834356
e10622f1fefe4feb3b1b49987cb5ff9e1addcf85
12,843
package me.deecaad.weaponmechanics.mechanics.defaultmechanics; import me.deecaad.core.compatibility.CompatibilityAPI; import me.deecaad.core.file.SerializeData; import me.deecaad.core.file.SerializerEnumException; import me.deecaad.core.file.SerializerException; import me.deecaad.core.file.SerializerVersionException; ...
45.381625
191
0.654831
2689c4615516d2498d2e30fdcbd1002f43405efb
7,710
package com.example.healthify; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.google.android.gms.tasks.OnC...
49.741935
155
0.505707
2ab6da94a799362086ce3bc1a68d99c11715409f
7,100
package meteordevelopment.nbt; import meteordevelopment.nbt.tags.*; import java.io.*; public class NbtWriter implements Closeable, AutoCloseable { private final OutputStream stream; private final DataOutput out; public NbtWriter(String name, OutputStream stream) { this.stream = stream; t...
31.004367
103
0.525352
f5ccdcfb4499be056daf104348849995c0ebfe8c
1,381
/* * Waxeye Parser Generator * www.waxeye.org * Copyright (C) 2008-2010 Orlando Hill * Licensed under the MIT license. See 'LICENSE' for details. */ package org.waxeye.parser; import org.waxeye.ast.IAST; /** * The result of a parse. * * @param <E> The AST type. * * @author Orlando Hill */ public final clas...
18.413333
65
0.541636
af77f6ce54a9d1b6b3c5384e331fa5954122c5de
1,951
package com.windacc.wind.auth.service.impl; import com.windacc.wind.toolkit.entity.LoginUser; import com.windacc.wind.api.feign.IUserClient; import com.windacc.wind.auth.service.IUserDetailsService; import com.windacc.wind.security.entity.LoginUserDetails; import com.windacc.wind.toolkit.exception.BusinessException; i...
36.811321
95
0.758585
876b2384dd5c431479f4943d7babdaadac7d093b
5,982
package com.blogspot.direinem.infrastructure.repository; import java.util.LinkedList; import java.util.List; import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.Query; import org.apache.log4j.Logger; import com.blogspot.direinem.domain.model.Order; import com...
34.77907
183
0.651622
3f6cc1555695396fc4cfd60238b691b3b9c43469
1,061
package com.github.mickeer.codegen.fieldnames; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * For each class annotated with this annotation, a class with class' name * postfixed with "Fie...
39.296296
83
0.746466
c8f943e27fa00eb493560e453e1e515886ade2ea
9,993
package jetbrains.mps.lang.structure.typesystem; /*Generated by MPS */ import jetbrains.mps.lang.typesystem.runtime.AbstractNonTypesystemRule_Runtime; import jetbrains.mps.lang.typesystem.runtime.NonTypesystemRule_Runtime; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.typesystem.inference.TypeChe...
65.743421
430
0.751626
560119546c37a6e929c558d3ba6f1d194f4f3836
53,247
package projects.zunawe.pokesorter; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileInputStream...
44.115162
178
0.546866
bb85167070a3d6420cdc4806ade46aaea842df5d
3,510
/* * Project Sc2gears * * Copyright (c) 2010 Andras Belicza <iczaaa@gmail.com> * * This software is the property of Andras Belicza. * Copying, modifying, distributing, refactoring without the authors permission * is prohibited and protected by Law. */ package hu.belicza.andras.sc2gearsdb.datastore; ...
24.545455
153
0.64188
4c0d36eaa928fbe053f767122cc12914613eb3a1
1,328
package com.github.dockerjava.jaxrs; import static com.google.common.base.Preconditions.checkNotNull; import java.io.IOException; import javax.ws.rs.client.WebTarget; import org.apache.commons.codec.binary.Base64; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.dockerjava.api.model.AuthConfig...
28.869565
107
0.708584
6d24dd8622d107967e030ab02d048b65439cf522
316
package com.facebook.jni; import com.facebook.proguard.annotations.DoNotStrip; @DoNotStrip public class NativeRunnable implements Runnable { private final HybridData mHybridData; public native void run(); private NativeRunnable(HybridData hybridData) { this.mHybridData = hybridData; } }
21.066667
52
0.753165
943911908e5b78bd1a2703397ecbfadeb4059f97
4,391
package com.c4soft.util; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * <h1>/!\ Do not use for production purpose /!\</h1> Helper class for CSV * records (i.e. CSV lines).<br> * Unquoted empty values are interpre...
28.888158
115
0.571624
1a38c13f5bf40a2c9a496af44f91e12a1ece3ef3
2,042
import java.util.Scanner; /* Program 388z Rock Paper Scissors Wesley Rogers 2/8/16 Java 1.8u25, using Eclipse Mars Windows 7 Plays a game of rock paper scissors against the computer. What I learned: Not much, pretty simple. Difficulties: The requirements for...
31.90625
225
0.619491
9e1975add3d802d8c6aab23ec8086d76e156a2ca
1,390
package com.riskvis.db.dao; import java.util.List; import com.riskvis.entity.TurnsHistoryHasPlacesrisksId; /** * @author <a href="http://machadolucas.me">machadolucas</a> * */ public interface ITurnsHistoryHasPlacesrisksIdDAO { /** * Add TurnsHistoryHasPlacesrisksId * * @param TurnsHistoryHasPlacesrisksId...
23.166667
78
0.764029
b05b47b5be7e3bea8b2a031397a15351875d3f4e
10,127
/* * Copyright © 2012-2014 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
46.242009
119
0.705342
b7df28a2e73bceaa56cc0af15bc4e23c190fef0e
11,521
package com.ufranco.userservice.services; import com.ufranco.userservice.models.dto.QueryParams; import com.ufranco.userservice.models.dto.Response; import com.ufranco.userservice.models.dto.UserQueryResponse; import com.ufranco.userservice.models.entities.User; import com.ufranco.userservice.models.exceptions.Invalid...
29.84715
99
0.649423
65b3bee77865fbee1ed9779b1ad53c74d507d0d2
379
package life.qbic.portal.portlet.model; public class RoleAt { String affiliation; String role; public String getAffiliation() { return affiliation; } public String getRole() { return role; } public RoleAt(String affiliation, String role) { super(); this.a...
18.047619
52
0.609499
3a5cad6b9a96a7b9c12728e7c2a620500720f40e
807
package com.jyoryo.entityjdbc.builder; import com.jyoryo.entityjdbc.support.Condition; /** * 基于模板和条件数据,动态构建sql * @author jyoryo * */ public interface SqlBuilder { /** * 通过id获取模板内容,将模板与数据解析返回解析后的sql内容 * @param sqlOrId SQL语句或对应SQL模板中的id。 * @param condition 条件 * @return */ String sq...
17.933333
50
0.648079
4a1ca8450cc9f84b3b4ac684f7950c7dc05ba726
2,475
package com.space.cornerstone.system.domain.entity; import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.space.cornerstone.framework.core.constant.Constant; import ...
18.065693
76
0.563636
e415b20a0be6e938517dd7bb488ecc97aef9916b
3,394
package other; import android.widget.FrameLayout; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.TableLayout; import android.widget.TextView; import android.graphics.Color; public class AppBgcolor { private static int a = 1; private static int red = 0; private stati...
29.258621
87
0.652917
924e672ec5c5041bf27a6a3f8dae9fed945f7167
1,039
package de.garkolym.cp.commands.impl; import de.garkolym.cp.Start; import de.garkolym.cp.commands.Category; import de.garkolym.cp.commands.CommandBase; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.Player; public class Command_KICK extends CommandBase { public Command_KICK() { ...
30.558824
101
0.606352
60ed82ac5a92576e07ca84d9b4887da194854b23
7,594
package beans.crud; import com.kumuluz.ee.rest.beans.QueryParameters; import com.kumuluz.ee.rest.utils.JPAUtils; import entities.curriculum.Curriculum; import utils.SearchAllCriteriaFilter; import javax.enterprise.context.ApplicationScoped; import javax.persistence.EntityManager; import javax.persistence.NoResultExce...
38.744898
128
0.710561
12dc4b6638256e64c3e118e8de68030293c005d8
501
package com.petsvalley.service; import com.petsvalley.entity.Macth; import com.petsvalley.util.PageModel; import java.util.Date; public interface MatchService { PageModel<Macth> getMatchByPage( PageModel<Macth> page, Integer userId ); Integer getCount( Integer userId ); Integer deleteById( Integer msg...
23.857143
102
0.752495
7937464646044b381800944af0dae196b16a7fd7
6,774
package tests.dataaccesslayer; import junit.framework.TestCase; import dataaccesslayer.Database; import domainobjects.Expense; import domainobjects.IDSet; import domainobjects.Label; import domainobjects.Money; import domainobjects.PayTo; import domainobjects.PaymentMethod; import domainobjects.SimpleDate; public cla...
34.561224
109
0.749926
70b5f196816d76c179e9b3b668c0260157532f53
1,170
import java.util.Locale; import java.util.Scanner; public class Solution { static boolean isAnagram(String a, String b) { // Complete the function a = a.toUpperCase(); b = b.toUpperCase(); boolean anagram = false; StringBuilder b1 = new StringBuilder(b); ...
29.25
67
0.417094
ee6a5bbb39dac9ec27da010dcf72765b1befb4d7
2,111
/** * Tencent is pleased to support the open source community by making Tars available. * * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except * in compliance with the License. You may obtain a co...
31.044118
92
0.681194
ef9aaf3a0980b7747c7d270dda4384d739287ad7
1,858
package choonster.testmod3.client.init; import choonster.testmod3.TestMod3; import choonster.testmod3.init.ModBlocks; import net.minecraft.client.renderer.ItemBlockRenderTypes; import net.minecraft.client.renderer.RenderType; import net.minecraft.world.level.block.Block; import net.minecraftforge.api.distmarker.Dist; ...
50.216216
106
0.808396
2c239ec2bb82cb63647cfcd1cd73274333cd0fd9
9,384
/** * 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
79
0.706628
866aa9391864196ccd604687c67f8831f30d6196
1,064
public class Bus extends Transport { private double time; private final double maxTime; private int count; // Count of how many differents Passengers has travelled inside the bus during a certain period public Bus(int maxSeating, int maxStanding, int maxTime) { super(maxSeating, maxStanding); if(...
28
119
0.679511
4f0e4c828598b094ccc86bce0bdd39b611fe0b77
7,461
import java.awt.*; import java.util.ArrayList; /** * this class is for the controlling of the informations of the Army and the Reinforcements */ public class Gamer { public Color color; public ArrayList<Territory> myTerritory = new ArrayList<Territory>(); public int reinforcements = 0; public int rei...
33.16
124
0.514006
2ce6dd4983d836535ba230f296e755875921714a
1,015
package com.pigeoff.rss.cardstackview; import android.view.View; import com.pigeoff.rss.cardstackview.Direction; public interface CardStackListener { void onCardDragging(com.pigeoff.rss.cardstackview.Direction direction, float ratio); void onCardSwiped(com.pigeoff.rss.cardstackview.Direction direction); ...
33.833333
101
0.706404
493a7b7889347c862a83fe9a1eb262c8696647a5
300
package Controller; public class Tabela { String [] colunas = {"NOME", "EST/PROF", "CURSO", "TURNO"}; public String[] getColunas() { return colunas; } public void setColunas(String[] colunas) { this.colunas = colunas; } public Tabela() { } }
15.789474
63
0.553333
1b3dd45d3c06489e125b6ec4509ff10f12fb0406
588
import java.io.*; class bracket { public static void main(String args[])throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int i,j;String s1=""; char ch,ch2; System.out.print("enter string"); String s=br.readLine(); for(i=0;i<s....
19.6
76
0.494898
17a7fdc48d35d86ae8ffa031d37142cfc876ea17
2,800
package com.salesmanager.core.business.generic.service; import java.io.Serializable; import java.util.List; import javax.persistence.metamodel.SingularAttribute; import com.salesmanager.core.business.generic.dao.SalesManagerEntityDao; import com.salesmanager.core.business.generic.exception.ServiceException; import c...
23.140496
127
0.74
a98ef497677a05a8fba3f0c954e3bf3024d1d2cc
1,545
/* * 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 ...
33.586957
75
0.765696
281e23100f6720cc07073eb9875a2baba6572780
5,164
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // 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: 2015.0...
27.178947
134
0.583656
d6f7882dbdd132278da62b2a77a2355e3e0797b3
339
package net.wolfesoftware.jax.ast; public class BreakVoid extends BranchStatement { @Override protected void decompile(String indentation, StringBuilder out) { out.append("break"); } public static final int TYPE = 0x10e60378; public int getElementType() { retur...
19.941176
68
0.634218
456c3ddf40c69a3356b2aca33de8ec754500e61f
521
package Singleton; /** * 饿汉式. 这种方法非常简单,因为单例的实例被声明成 static 和 final * 变量了,在第一次加载类到内存中时就会初始化,所以创建实例本身是线程安全的。 * 缺点是它不是一种懒加载模式(lazy initialization),单例会在加载类后一开始就被初始化,即使客户端没有调用 * getInstance()方法。饿汉式的创建方式在一些场景中将无法使用:譬如 Singleton 实例的创建是依赖参数或者配置文件的,在 * getInstance() 之前必须调用某个方法设置参数给它,那样这种单例写法就无法使用了。 * * @author 30868 *...
21.708333
71
0.758157
bd084744e9c13a1cbd0fdde0b58e6ef0b83ce3b3
1,834
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
35.960784
120
0.7759
cc384a81104b0e2d11600801bb3ab8167430e357
8,638
package vista; import java.awt.EventQueue; import java.awt.GridLayout; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JButton; import javax.swing.JTextField; import javax.swing.JLabel; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JTextPane; impo...
24.893372
73
0.707108
3d87bd632696f75acd93a375a1d036b8aa3cb992
3,072
package com.dream.coolweather.util; import android.content.Context; import com.dream.coolweather.R; import com.dream.coolweather.model.Area; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import java.io.IOException; import java.util.ArrayList; import java.util.List; /** * Creat...
39.896104
128
0.442057
fd5c909d4b9eea8b53f4bfb7c0b45ed82b5aa0a2
1,942
/* Copyright (c) 2010-2011 Per Gantelius This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial application...
30.825397
77
0.754377
1ae2651ab9e78f2615f26353d5bd96582b8a859a
3,501
package com.buuz135.industrial.utils.explosion; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.vector.Vector3f; /** * Class copied and adapted from Draconic Evolution https://github.com/brandon3055/BrandonsCore/blob/master/src/main/java/com/brandon3055/brandonscore/lib/ShortPos.java */ publ...
36.46875
187
0.627535
9cb3d55b5ba6e7a9039ca544ee2015b1d3a87131
19,823
/* * Copyright 2010-2021 Australian Signals Directorate * * 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 appl...
42.538627
117
0.728195
b2fae1317e5c761a0e20b6c217e096d0eba5ca7e
16,334
/* * 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.sigad.sigad.business.helpers; import com.grupo1.simulated_annealing.Locacion; import com.grupo1.simulated_annealing.Pista;...
39.549637
111
0.551304
dda24510744abc9659e2f51b9b463d6590965be1
2,788
/* ------------------------------------------------------------------- Copyright (c) 2014, Andreas Löscher <andreas.loscher@it.uu.se> and All rights reserved. This file is distributed under the Simplified BSD License. Details can be found in the LICENSE file. -----------------------------------------------...
28.742268
78
0.710187
7f5f67c0a7cb4bfd13f12ae4146f9f23ab56aa83
4,133
package test.integration.api; import org.junit.jupiter.api.Test; import se.jbee.inject.*; import se.jbee.lang.Qualifying; import se.jbee.lang.Type; import java.util.Arrays; import static org.junit.jupiter.api.Assertions.*; import static se.jbee.inject.Instance.defaultInstanceOf; import static se.jbee.inject.Instance...
27.925676
88
0.766997
d5d0628264596198b13d7e094b9297dea4a8547f
462
package com.hrm.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.ArrayList; import java.util.Map; /** * @author zjw * @package backend * @Date 2021/7/12 * @Time 10:21 */ @Data @AllArgsConstructor @NoArgsConstructor public class C...
17.769231
38
0.705628
955893c9952d75f5377ca5b7c2cc39e5ce673852
3,040
// This file is auto-generated, don't edit it. Thanks. package com.antgroup.antchain.openapi.baasdt.models; import com.aliyun.tea.*; public class ConfirmIpSuperviseapproveRequest extends TeaModel { // OAuth模式下的授权token @NameInMap("auth_token") public String authToken; @NameInMap("product_instance_id")...
27.142857
105
0.690132
519e8e465364e4b56e10186c443cb60fbf59348f
1,523
package com.winter.flashsale.mq; import com.winter.flashsale.config.RabbitConfig; import lombok.extern.slf4j.Slf4j; import org.springframework.amqp.rabbit.connection.CorrelationData; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.stereotype.Service; import java.util.UUID; @Slf...
33.108696
107
0.699934
f413888a7783bffe1d674cf86f182c7dd77bb488
1,906
package validation.constraints.validator; import static org.junit.Assert.assertEquals; import java.util.Set; import javax.validation.ConstraintViolation; import org.junit.Test; import validation.constraints.CorrelationValid; /** * Tests CorrelationValidator * @author hironobu-igawa */ public class CorrelationV...
26.472222
153
0.637985
75480b5dd2fee73b6efa0a62dffa069fa1f5c353
10,507
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
39.5
101
0.697154
806867b843b71a28663e70be872a7d372340124f
8,141
/* * Copyright 2010-2013 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...
40.502488
135
0.664906
5b9e6819008787472ef77c94e52397dfa58a0b52
309
package com.showka.web.u01; import com.showka.system.annotation.ShiftJis; import com.showka.web.FormBase; import lombok.AllArgsConstructor; import lombok.Getter; @AllArgsConstructor @Getter public class U01G001Form extends FormBase { @ShiftJis private String kokyakuName; private String bushoName; }
16.263158
45
0.809061
a63a959a6326de2d5baded5c5d06693d75fc5afe
1,193
package test; import gudusoft.gsqlparser.EDbVendor; import gudusoft.gsqlparser.TGSqlParser; import gudusoft.gsqlparser.TSourceToken; import junit.framework.TestCase; public class testToken extends TestCase { public void testPosinList(){ TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvoracl...
37.28125
130
0.633697
bbb2db796aeff3dd663f41369d36edb867bb057a
1,251
package org.javacord.api.event.channel; import org.javacord.api.entity.channel.PrivateChannel; import org.javacord.api.entity.channel.ServerTextChannel; import org.javacord.api.entity.channel.ServerThreadChannel; import org.javacord.api.entity.channel.TextChannel; import java.util.Optional; /** * A text channel eve...
27.195652
68
0.695444
ffadb2760cf27f75c8746f14747c8f18c01a1bbb
773
package water.compiler.parser; import water.compiler.lexer.Token; import water.compiler.lexer.TokenType; /** * Represents an error produced by the parser whilst processing tokens. */ public class UnexpectedTokenException extends Exception { private final Token token; private final String message; public Unexpec...
30.92
143
0.737387
df7f9ff028ec34ed8864e7e9ded8af64758fcaef
2,541
package edu.utd.minecraft.mod.polycraft.entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.projectile.EntitySnowball; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; import net.minecraft.util.DamageSource; imp...
35.788732
159
0.744982
7e6d31f41313758ca9229ac9874018c25b61319c
1,905
package com.github.dynamicextensionsalfresco.gradle.configuration; import com.github.dynamicextensionsalfresco.gradle.tasks.DeBundleTaskConvention; import com.github.dynamicextensionsalfresco.gradle.tasks.InstallBundle; import org.gradle.api.Action; import org.gradle.api.Project; import org.gradle.api.tasks.TaskProvid...
32.844828
107
0.71706
31279a487b8c442098b92b3d5269ac16038eb42f
3,952
/* * Copyright 2021 gparap * * 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...
34.365217
99
0.705972
83f4565343d80cf9b4d15d2fb6b0c88dfbfe9c2b
507
package com.jeffmony.demo.softfilter; import com.jeffmony.livesdk.filter.softvideofilter.BaseSoftVideoFilter; /** * Created by jeffmony. */ public class GrayFilterSoft extends BaseSoftVideoFilter { @Override public boolean onFrame(byte[] orignBuff, byte[] targetBuff, long presentationTimeMs, int sequenceNum...
28.166667
107
0.682446
a73f3e048e9ffa25b82241192c66fa1184c07d5d
2,718
package com.box.l10n.mojito.service.branch.notification.phabricator; import com.box.l10n.mojito.service.branch.BranchUrlBuilder; import com.box.l10n.mojito.utils.ServerConfig; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
55.469388
171
0.768212
845acd468b97b1537e988f62b797508afe8140c2
108
package edu.illinois.cs.cs125.answerable.classdesignanalysis.fixtures.names.reference; public class Foo {}
27
86
0.833333
d0d53e6f19b8696d3c7ed7986fdd3b681d872553
4,289
/************************************************************** * * 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 y...
44.677083
98
0.599207
caa4278730a850f87a37be5494c4cf120d989d39
1,757
package com.provectus.fds.models.bcns; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.provectus.fds.models.utils.JsonUtils; import lombok.*; import java.io.IOException; @Getter @Builder @Setter @NoArgsConstructor @ToString @EqualsAndHashCode publ...
25.838235
71
0.674445
6aee69f8c3eb2c8fd4f83977b713b07b29d87a22
1,978
package com.example.bootstrapdemo.controllers; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class billing { @Id private String fname; private String umail; private String pname; private String time; private String addr; private int zip; private int cno; private String c...
18.146789
114
0.640546
d1a7f556730b8866d4de38cae03ce14589b6ad03
3,673
package br.health.workflow.core.communication; import br.health.workflow.core.communication.config.RestTemplateConfig; import br.health.workflow.controller.dto.EndpointDTO; import br.health.workflow.controller.dto.MicroserviceDTO; import lombok.extern.log4j.Log4j2; import org.springframework.beans.factory.annotation.A...
30.608333
156
0.719303
38b44fddc7eaf5819e8043c7649ada25edc5b3ff
1,750
package com.baeldung.properties.yamlmap.pojo; import java.util.List; import java.util.Map; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.PropertySource; import org.springframework.stereotype.Component; import com.baeldung.properties...
26.515152
91
0.648
4acf2a6ae95ab2d5add6575cd8a5b118475c04bc
3,313
import com.google.gson.Gson; import dto.AuthRequestDTO; import dto.ErrorDTO; import okhttp3.*; import org.testng.Assert; import org.testng.annotations.Test; import java.io.IOException; public class OkHttpLoginTest { Gson gson = new Gson(); OkHttpClient client = new OkHttpClient(); public static final Me...
32.480392
90
0.632961
55a4a41e073631c1ee0ada98ac3b397c699f8266
717
package website.magyar.adoration.web.service; import website.magyar.adoration.database.tables.Person; import website.magyar.adoration.database.tables.Social; /** * Google type of AuthenticatedUser. */ public class GoogleUser extends AuthenticatedUser { /** * Creates a Google User login class. * ...
31.173913
94
0.702929
951815a1d4583dac3dda1ec33594be23f8281668
416
package ua.footballdata.repositories; import java.util.List; import org.socialsignin.spring.data.dynamodb.repository.EnableScan; import org.springframework.data.repository.CrudRepository; import ua.footballdata.model.entity.TeamEntity; //@Repository @EnableScan public interface TeamEntityRepository extends CrudRepo...
24.470588
80
0.826923