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
0a2be3c2651b61c4cd183f8bb76c56f0b596903d
1,832
package com.netizen.cms.api.cmsinfo.model.entity; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; imp...
26.550725
113
0.797489
2486b5b7b56311ffda6f228c98583f745f1db264
3,771
package cosmos.commands.root; import com.flowpowered.math.vector.Vector3d; import cosmos.commands.AbstractCommand; import cosmos.constants.ArgKeys; import cosmos.constants.Outputs; import cosmos.statics.arguments.Arguments; import cosmos.statics.arguments.SelectorArguments; import org.spongepowered.api.command.Command...
44.364706
131
0.612835
e88796830fc9108181b0de180b56a0849ecb7adb
917
package pkg1641017164; import java.util.*; public class SieveofErastothenes { public static void main(String args[]) { Scanner sc=new Scanner(System.in); // get the ceiling on the prime numbers int n; System.out.println("Enter the prime no. ceiling :"); n=sc.nextInt(); b...
28.65625
68
0.487459
f630bb47413bc28c914b505b31eef0938fac1cd9
2,144
package com.amrdeveloper.fastmind.datasource.auth; import android.util.Log; import androidx.annotation.NonNull; import com.amrdeveloper.fastmind.datasource.DataException; import com.amrdeveloper.fastmind.datasource.ErrorMessage; import com.amrdeveloper.fastmind.datasource.Issue; import com.amrdeveloper.fastmind.netw...
34.580645
121
0.626866
67e2c56b7a5464b9eac124c58c816f89d297d3ee
539
package com.sms.server.net.rtsp.message; import org.apache.mina.core.buffer.IoBuffer; /** * RTSP Channe lData * @author pengliren * */ public class RTSPChannelData { private byte channel; private IoBuffer data; public RTSPChannelData(byte channel, IoBuffer data) { this.channel = channel; this.data ...
14.972222
60
0.671614
6392bda76c3725cd83f556414ae60c7bd25efb12
339
package com.linepro.modellbahn.repository.base; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.repository.NoRepositoryBean; import com.linepro.modellbahn.entity.Item; @NoRepositoryBean public interface ItemRepository<E extends Item> extends JpaRepository<E, Long>, Repos...
30.818182
101
0.837758
ecc3c94746bd6b880efe79f52d4934addf498b37
1,412
package com.jzy.game.bydr.tcp.room; import java.util.concurrent.atomic.AtomicInteger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.jzy.game.message.Mid.MID; import com.jzy.game.message.bydr.BydrRoomMessage.EnterRoomRequest; import com.jzy.game.message.bydr.BydrRoomMessage.EnterRoomRespo...
32.090909
87
0.739377
c882f50452b4482ce80bb8aaf3c6bd525787ba82
1,340
package mappers.owl; import java.io.IOException; import java.util.Random; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.mapreduce.Mapper; import utils.TriplesUtils; import data.Triple; import data.TripleSource; public class OWLSampleResourcesMapper extends Mapper<TripleSource, Triple, LongWri...
27.346939
65
0.720149
02575989384cb9628df94a0bfb817f7ce6d4835c
3,463
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
37.236559
89
0.62287
08e0947dba896c9c37970adff141c986b59c09f7
3,392
package test; import capsule.Capsule_Vector_Agac_Bitki; import deva.Bitki; import generic.Node; import veri_tabani.Bitki_veri_tabani; import veri_tabani.Veritabani_Listesi; public class Test_Agac { public static void main(String[] args) { @SuppressWarnings("unused") Veritabani_Listesi veritabani_listesi = new V...
42.4
138
0.664505
9068a53bc0043f6441ec88906caef664f37dcd15
508
package models; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class Course { @Id private int courseId; private String courseName; public int getCourseId() { return courseId; } public void setCourseId(int courseId) { this.courseId = cour...
14.941176
48
0.63189
75a1f558ddf9b97999303ec069643de0129fdefd
2,351
package livelessons.custom; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.Ordered; import org.spring...
30.141026
101
0.803488
3810ea932f8446c4efc4f022bb5c0de25e44f310
2,578
// Copyright 2019 The KeepTry 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 applicable...
32.632911
143
0.656323
a338696cadcd4f5e5c86e692832d2ea34a9cca92
2,023
package com.example.edibleflowers.binder; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.edibleflowe...
31.609375
117
0.689076
2ac0c7dd6b92376d3006f98168e5903841af87e5
427
package top.codecrab.gulimall.member.client; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import top.codecrab.common.response.R; /** * @author codecrab * @since 2021年05月29日 13:41 */ @FeignClient("gulimall-coupon") public interface CouponFeignCli...
21.35
58
0.733021
16cfdb68fdf451b330b87ca996fe197e4cfc4ce5
1,774
package ovation.odata.model.dao; import java.util.Map; import org.apache.log4j.Logger; import org.core4j.Func1; import ovation.odata.model.ExtendedPropertyModel; import com.google.common.collect.Maps; /** * a general purpose model to adapt collections of primitive-wrappers (Double, Integer, etc) * @author Ron *...
31.678571
113
0.641488
d2367a41ce6e67e00d9900fc56e276eb786d1cbb
133
package design_pattern.abstractfactory; /** * Created by shu on 6/21/2016. */ public interface Provider { Sender produce(); }
14.777778
39
0.699248
7967bafa0ff4954c564b2a4d152708c127858be0
2,749
/* * Constellation - An open source and standard compliant SDI * http://www.constellation-sdi.org * * Copyright 2014 Geomatys. * * 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 *...
24.765766
75
0.624227
1550b2b6904fb99790709708fa08126a0e9a3543
1,517
package com.bank; public class Transaction { private static int counter = 1; private int transactionID; private TransactionType transactionType; private boolean success; private int amount; private int balance; private int accountID; private String targetAccount; public int getAccountID() { return this....
23.338462
133
0.711272
5e5f3c5a9e4e128770a609293caa9b95ad5b9b7c
640
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: POGOProtos.Rpc.proto package POGOProtos.Rpc; public interface GameItemContentProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:POGOProtos.Rpc.GameItemContentProto) com.google.protobuf.MessageOrBuilder { /** * <code...
22.857143
86
0.671875
df65f834b130b7f98861949728bc2fd36ed744a7
15,306
package us.ihmc.sensorProcessing.stateEstimation.evaluation; import javax.vecmath.Matrix3d; import javax.vecmath.Vector3d; import us.ihmc.controlFlow.ControlFlowGraph; import us.ihmc.robotics.dataStructures.registry.YoVariableRegistry; import us.ihmc.robotics.dataStructures.variable.DoubleYoVariable; import us.ihmc.r...
41.479675
162
0.742193
a0b6a1cf19a09db03ba66fd8e20d9618c0c70620
282
package com.javintx.crm.customer; import com.javintx.crm.domain.Customer; public interface CreateNewCustomer { /** * Create new {@link Customer}; * * @param customer Customer to creates. * @return Customer created. */ Customer with(final Customer customer); }
18.8
41
0.702128
0432439ecfc7ecadf6baedd62de27b257592a9d1
1,635
import javax.swing.*; import java.awt.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; public class GUI extends JFrame { public volatile DrawPanel dp = new DrawPanel(); public volatile SliderPanel sliderPanel = new Slid...
25.153846
82
0.535168
cc8c913b1419710eab94e80a7995ef0b3eb41e1e
7,414
package com.zxing.decoding;//package com.zxing.decoding; // //import android.app.Activity; //import android.content.Intent; //import android.content.res.AssetFileDescriptor; //import android.graphics.Bitmap; //import android.media.AudioManager; //import android.media.MediaPlayer; //import android.media.MediaPlayer.OnCo...
32.80531
87
0.604397
18824f5b93ae9188c3d31d3d59bf70b2f5329b43
1,977
/* * Copyright 2013-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
34.684211
101
0.778452
1b0c646c2cb9762e9bc3ff0df4bde17177a19ba3
1,409
package com.github.pixelase.commands.core; import java.util.ArrayList; import java.util.List; public class CommandsManager implements CommandsPerformer { protected List<Command> commands; public CommandsManager() { this(new ArrayList<Command>()); } public CommandsManager(List<Command> commands) { super(); ...
19.040541
64
0.699787
b0f565b11b19b34a4f14e559f1abd058bd7e5328
3,250
/* * JBoss, Home of Professional Open Source * Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
47.794118
242
0.691077
437e5798a58da3e85f48a59ee21438411ef51471
2,414
import java.util.*; class Node { int val; Node above, below; public Node(int val) { this.val = val; } } class NodeStack { int capacity, size=0; Node top, bottom; public NodeStack(int cap) { this.capacity = cap;} public boolean isFull() {return this.capacit...
19.467742
65
0.48633
edd20ecf64508cf30b1785fbf7e2e85de03569f3
1,305
/* * 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.aha.businesslogic.model; /** * * @author simonicsanett */ public class Seat { private int id; private int row;...
18.125
79
0.578544
e9af47b2b5dad9e0a99af775e6dbafe1e6f6ec18
203
package tech.jackywang.intermediate.layer.business; /** * @author jacky * @version v1.0 * @description * @since 2017/10/19 */ public interface BaseView<T> { void setPresenter(T presenter); }
14.5
51
0.689655
470da0e21699b081e616d80d5ee6f02698b96aa1
2,698
package com.bookstore.service; import static org.junit.Assert.*; import com.bookstore.JpaTestApplication; import com.bookstore.dto.BookCatalogRequestDto; import com.bookstore.dto.BookCatalogResponseDto; import com.bookstore.entity.BookCatalog; import com.bookstore.enums.SearchFilter; import java.util.List; import org...
38.542857
129
0.808006
1dd8c45f2769323a520d2d36d7fd3e831358fdc7
2,427
/* * Copyright 2011 by Graz University of Technology, Austria * MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint * initiative of the Federal Chancellery Austria and Graz University of Technology. * * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by * the Europ...
32.36
83
0.733828
2f5a9879feb8dd74d6e7d23fc9040fe1d2977660
2,927
/** * Copyright 2000-present Liferay, 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 a...
33.261364
163
0.786129
f67b804c22b507ac1aff362e9f2dd3839afe2164
477
package view; import java.awt.Graphics; import java.util.Iterator; import javax.swing.JPanel; import model.DrawingModel; import shapes.Shape; public class DrawingView extends JPanel { private DrawingModel model; public void setModel(DrawingModel model) { this.model = model; } public void paint(Graphics g) {...
16.448276
50
0.689727
b649a8362dd769dd01617b293535dff0de17e6d3
925
package com.alibaba.alink.operator.stream.feature; import org.apache.flink.ml.api.misc.param.Params; import com.alibaba.alink.common.annotation.NameCn; import com.alibaba.alink.operator.batch.BatchOperator; import com.alibaba.alink.operator.common.feature.CrossFeatureModelMapper; import com.alibaba.alink.operator.str...
34.259259
94
0.824865
c994503c389844828d5be964140b2304cd48e9e5
2,625
/* * * * Copyright 2010-2014 Orient Technologies LTD (info(at)orientechnologies.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/...
32.407407
129
0.657143
6cfc2bba60ee8f1a188b4a08df0e17c35f5b205c
382
package org.ghxiao.rxjava.operators.filter; import io.reactivex.rxjava3.core.Observable; public class First { public static void main(String[] args) { Observable.fromArray() .first(100) .subscribe( System.out::println, err -> ...
25.466667
65
0.52356
fabb441be8a997562a4616d5b526d2e232527ee8
106
package edu.uw.zookeeper.client.trace; public interface TraceEvent { TraceEventTag getTag(); }
13.25
38
0.716981
79d6469b5868b1b85cdfc52cfcc009d45888ea57
1,718
package net.channel.handler; import client.MapleClient; import client.MapleInventoryType; import net.AbstractMaplePacketHandler; import server.AutobanManager; import server.MapleInventoryManipulator; import tools.data.input.SeekableLittleEndianAccessor; public class ItemMoveHandler extends AbstractMaplePacke...
39.045455
151
0.61234
f474220d0f4527cf07f73f4c25b8c2dab1722b35
4,006
package net.minecraft.block; import java.util.Iterator; import net.minecraft.block.material.Material; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util....
30.120301
164
0.547179
bf53e4d7cfe5fdd37e083405e46a954cb9f3d220
10,960
package fxml; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import com.google.firebase.database.ValueEventListener; import com.jfoenix.controls.JFXDrawer;...
31.585014
108
0.672628
030eb01f8c3b1b953d92f15cd13193dd2cc9c62b
172
package co.tdude.soen341.projecta.WordCountSuperEnterpriseEdition.interfaces.strategies; public interface WordCountCountStrategy { int getCount(String fileContent); }
28.666667
88
0.843023
722ea4669cc8a0f6f2339c95488e2eb8c765faf5
1,795
package MRTranscoder; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.WritableComparable; public class MediaStreamKeyWritable impleme...
24.589041
83
0.628969
113a14bf290ceed7d5297efae6ef4ab23184635d
34,294
/* * Copyright (c) 2021 Stephen Saville * * 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 ag...
36.560768
114
0.644049
50f9df19ffa43fb56bb541da51288b8bb3d98f1c
3,774
// Generated by data binding compiler. Do not edit! package com.example.android.navigation.databinding; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation....
38.907216
136
0.789083
7121303756860144b03ac7a8dc7e1729bf4447b6
3,253
/* * Copyright 2019 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
37.390805
242
0.729173
d072e6293876bc8f64e66710b1776fd2bc59f3b4
2,954
/* * 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 ...
36.02439
93
0.768788
7c3d54bb0c524744e5a0b8945a02ede95a98188c
1,096
package com.gettipsi.boilerplate; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.facebook.react....
26.731707
69
0.760036
29036c6ff5ac2b0e0b548a4ce07222e32ec2e7ec
2,401
/******************************************************************************* * Copyright (c) 2017 by JoyLau. All rights reserved ******************************************************************************/ package cn.joylau.include; import freemarker.cache.TemplateLoader; import freemarker.core.Environment; ...
32.445946
111
0.6389
7fc357aa36b6248fb27b5318dfd6e7f7fc322fd1
4,073
package com.virhon.fintech.gl.security; import com.virhon.fintech.gl.api.APIConfig; import com.virhon.fintech.gl.exception.AccessDenied; import org.apache.commons.codec.digest.DigestUtils; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereoty...
34.226891
94
0.632703
996a71b3cb2fea034662ff748a40c7bfc1888e63
279
package sz.cluster.spark.test; /** * Runs a test subtopology on a local cluster. This is an example how to use the * subtopology and tweet file simulation libraries * * @author Zerr * */ public class TestFramework { public static void main(String[] args) { } }
15.5
80
0.688172
6ff96208553abbdb880143b81e4f5b37ee6957eb
1,566
package com.rs.data.presenter.activity; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Toast; import com.alibaba.android.arouter.facade.annotation.Autowired; import com.alibaba.android.arouter.facade.annotation.Route; import com.alibaba.andro...
32.625
86
0.607918
c76b2f9d9ae4863878e04710864aea03c9e44b0a
241
package com.makeagame.core.model; import org.json.JSONException; import org.json.JSONObject; public interface Model { // 改變內部行為 void process(int command, JSONObject json) throws JSONException; // 完整交出內部 String hold(); }
16.066667
68
0.717842
791a0f39331cd35118019763316c66345d9463ea
1,457
package com.personalproject.core.models; import com.personalproject.core.models.MenuNav; import com.personalproject.core.models.MenuNavImpl; import io.wcm.testing.mock.aem.junit5.AemContext; import io.wcm.testing.mock.aem.junit5.AemContextExtension; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api....
37.358974
93
0.728895
469dd7d36ad660c2af12f52b2f8d912f4284ec16
3,225
/* * Copyright (c) 2011-2013 events-on-fire Team * * This file is part of Events-On-Fire (http://code.google.com/p/events-on-fire), licensed under the terms of the MIT * License (MIT). * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * docu...
33.947368
122
0.652713
658fbde544505471f0c0152046e99fc7add8db20
2,875
/* * Copyright 2016 Damien Carol <damien.carol@gmail.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 applic...
26.869159
80
0.725217
ded2a7211f00db14dfb9f6854520248ae21e9fff
1,168
package com.jd.health.qa.common.base; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.util.Date; import java.util.Map; @Data public class BaseEntity implements Serializable { /** * 创建者 */ ...
28.487805
109
0.714897
51dcc295c877580c9ccca44af2f9e34cbdd1a10d
662
package com.careydevelopment.ecosystem.user.model; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; public class UserSearchCriteria { private String emailAddress; private String username; public String getEmailAddress() { return emailAddress; } public void setEmailA...
22.066667
66
0.678248
557ef831fde8bbabc0dfa7fccadeca6d7b691f80
3,743
package edu.utexas.tacc.tapis.files.api.resources; import io.jsonwebtoken.Jwt; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import io.jsonwebtoken.security.Keys; import org.flywaydb.core.Flyway; import org.glassfish.jersey.test.JerseyTestNg; import org.testng.annotations.BeforeMethod; import...
34.981308
94
0.671654
2dd1ad2fead1df439839f8b15577f180159bd836
821
package com.company.businessprocess.dto.response; import com.company.businessprocess.entity.CustomerEntity; import com.company.businessprocess.entity.ProductEntity; import com.company.businessprocess.entity.StaffEntity; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lom...
26.483871
57
0.819732
d88c579740caebce5827c9be2e3774c6c88bb231
7,926
/* * 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.antropometria.dao; import com.antropometria.dao.exceptions.NonexistentEntityException; import com.antropometria.dao.except...
37.037383
122
0.595761
835801401a9fece44e2ec652a7eae013b0ce13e5
3,993
package com.gempukku.swccgo.cards.set11.light; import com.gempukku.swccgo.cards.AbstractDroid; import com.gempukku.swccgo.cards.GameConditions; import com.gempukku.swccgo.cards.effects.usage.OncePerBattleEffect; import com.gempukku.swccgo.cards.effects.usage.OncePerTurnEffect; import com.gempukku.swccgo.common.*; impo...
45.896552
231
0.698723
2b52a128db856738cb91d2fd05cebaa98ac5290e
13,744
// This file was generated by Mendix Modeler. // // WARNING: Code you write here will be lost the next time you deploy the project. package saml20.proxies; public class EntitiesDescriptor { private final com.mendix.systemwideinterfaces.core.IMendixObject entitiesDescriptorMendixObject; private final com....
30.954955
225
0.73523
31e023f39918126468ccacf40fdf4e99e010c5f4
8,643
/* Copyright 2018-2022 Accenture Technology 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 la...
41.157143
112
0.60118
08c519e450ee618bbc49f6bb71f60f6df2415ef8
637
package services; import logica.GestionDB; import logica.Usuario; /** * Created by Leny96 on 29/6/2017. */ public class UsuarioServices extends GestionDB<Usuario> { private static UsuarioServices instancia; public UsuarioServices() { super(Usuario.class); } public static UsuarioServices ge...
22.75
73
0.649922
defd4a896ea70acf9feec52337d6460a09e073f5
964
/* * Copyright (C) 2019 All rights reserved for FaraSource (ABBAS GHASEMI) * https://farasource.com */ package ghasemi.abbas.book.sqlite; import android.database.sqlite.SQLiteDatabase; import ghasemi.abbas.book.BuildConfig; import ghasemi.abbas.book.general.ApplicationLoader; import ghasemi.abbas.book.general.Fil...
27.542857
84
0.693983
ff1c7060b0c2ea8f5dfa79e3428e3ba2efe036ef
6,496
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/appengine/v1/app_yaml.proto package com.google.appengine.v1; public interface UrlMapOrBuilder extends // @@protoc_insertion_point(interface_extends:google.appengine.v1.UrlMap) com.google.protobuf.MessageOrBuilder { /** * <pre>...
31.381643
103
0.673799
519e41955a4cce78483d40c002b84b9d3b049128
601
package catan.client; import catan.common.event.EventType; /** * Created by Greg on 8/13/2014. * Enum sent with a ClientEvent to send further information as to what the client needs to do. * Stores general client actions. */ public enum ClientEventType implements EventType { Startup(null), //Event that start...
23.115385
94
0.690516
17970e3d7b9839684690121cf104f862d581685f
1,177
package cz.metacentrum.perun.core.api.exceptions; import cz.metacentrum.perun.core.api.Facility; /** * Checked version of FacilityContactExistsException * * @author Michal Stava <stavamichal@gmail.com> */ public class FacilityContactExistsException extends EntityExistsException { private Facility facility; pri...
25.042553
152
0.767205
98fdeb346cbad0931919da27608b50f8e62de195
5,803
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.metrics.service; import java.sql.SQLException; import java.util.Comparator; impo...
40.298611
120
0.729278
5ffd89a7ef48c479b387430ad163f2c04c60864e
1,552
package pe.com.devinspirare.dpeappjarmodels.model; import lombok.AccessLevel; import lombok.Data; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** * <h1>GenericEntity</h1> * <p> * Clase abstract que posee las propiedades básicas de una...
23.876923
135
0.684278
a799043fdefbcea6da7276a4c25c1b4f5a9a114b
193
package victor.training.oo.structural.facade.entity; import lombok.Data; @Data public class Email { private String to; private String from; private String subject; private String body; }
16.083333
52
0.777202
2f53ec1d71391b72c2199c6b1a7f77a45bf53733
1,363
package com.l000phone.themovietime; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.Toast; /** * 当没有网络连接时跳...
29.630435
108
0.657373
e9dc37d4737089d114d5865f90c2a78c4614a015
1,247
package net.edzard.kinetic; /** * Encapsulates timing information. * Used for custom drawing functions. Necessary for properly timed animations. * @author Ed */ public class Frame { /** The last frame's timestamp (ms) */ private double lastTime; /** The current frame's timestamp (ms) */ private double time...
22.672727
78
0.698476
c932846c12aa1a3dc3eb6698a4e993dc3e976a04
333
package com.cinemadice.tmdbapi.model; import com.google.gson.annotations.SerializedName; import lombok.Data; @Data public class ProductionCompany { private String name; private int id; @SerializedName("logo_path") private String logoPath; @SerializedName("origin_country") private String origi...
19.588235
50
0.753754
300b41d9dc54a0394dd0db0d9c19886efd3e7b38
2,141
package com.froobworld.farmcontrol.controller; import com.froobworld.farmcontrol.FarmControl; import com.froobworld.farmcontrol.config.FcConfig; import com.froobworld.farmcontrol.controller.entity.SnapshotEntity; import org.bukkit.World; import java.util.List; import java.util.function.Predicate; public class Exclus...
36.913793
137
0.621672
c614f6ba29b6a714fc1710b85b6100bb04af013e
715
package com.github.lihongjie.currency.playground; public class TestJoinMethod2 extends Thread { @Override public void run() { for(int i = 1; i <= 5; i++) { try { Thread.sleep(500); } catch(Exception e) { System.out.println(e); } System.out.println(i); } } public static void main(Strin...
13.75
49
0.562238
072a9ca0ae3183658ece682292f37649a9b86be2
2,826
package Chapter_4; import java.util.InputMismatchException; import java.util.Scanner; @SuppressWarnings("resource") public class FourTwentyThree { public static void main(String[] args) { Scanner reader = new Scanner(System.in); //name System.out.print("Employee’s name (e.g., Smith): "); String name = reade...
24.362069
84
0.635527
3db78d72491cd373d755262c92076e4bdfc1aa44
1,061
package com.ctrip.framework.dal.cluster.client; import com.ctrip.framework.dal.cluster.client.cluster.DefaultClusterTest; import com.ctrip.framework.dal.cluster.client.cluster.DefaultLocalConfigProviderTest; import com.ctrip.framework.dal.cluster.client.shard.read.*; import com.ctrip.framework.dal.cluster.client.util....
36.586207
85
0.788878
b5063e9afdfc4db579aa08fec03e8244872a810b
2,076
package com.coderduckling.edaily.coupon.settlement.executor.impl; import com.coderduckling.edaily.coupon.common.vo.CouponTemplateSDK; import com.coderduckling.edaily.coupon.common.vo.SettlementInfo; import com.coderduckling.edaily.coupon.settlement.constant.RuleFlag; import com.coderduckling.edaily.coupon.settlement.e...
30.985075
79
0.652216
ea33dacaf429f1fffccb791a823a3eb18c95103d
3,551
package app.javaclasses; import javax.servlet.http.HttpServletRequest; import java.sql.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class JDBCClass { private static final String USERNAME = "root"; private static final String PASSWORD = "12345"; private...
36.989583
161
0.593072
0674b3f9c4c239f59903e2fa578ee12c9af9737e
856
/** * Copyright (c) 2016 Jon Cooper * * This file is part of java-platformer. * Documentation, related files, and licensing can be found at * * <https://github.com/joncoop/java-platformer>. */ public class Player { Game game; private int lives; private int score; public Player(Game ...
17.12
62
0.522196
d516e18a0dbb70d0669ba26d16faec0a6b9fa1e6
819
package lol.bai.megane.module.test.provider; import lol.bai.megane.api.provider.ItemProvider; import net.minecraft.block.entity.ChestBlockEntity; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.RegistryEntry; import o...
31.5
156
0.766789
69d23f408bb626f8d1888e89868e9fca18b2a106
59
double x = 5.5; double y = 5.6; print((int)(x == (int)y));
14.75
26
0.525424
86f1c100045059741ff05ccb4ca53f9eeef270aa
2,807
package at.ac.tuwien.infosys.controllers; import at.ac.tuwien.infosys.ModelAttributes; import at.ac.tuwien.infosys.entities.DataStore; import at.ac.tuwien.infosys.session.SessionProxy; import at.ac.tuwien.infosys.ui.MessagesUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework...
37.426667
132
0.708942
1b8307a6a0c93a254f814d82bf9615c249281180
1,939
/* * 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 ...
29.378788
91
0.760701
e11113d4c7c65793b4616d9d6f708dc41e50b1ef
10,417
/**************************************************************** * 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...
42.692623
162
0.649419
9a6598cbb5aa77b8f4370acf1dcc7f3ac167dd66
4,076
package controller; import java.io.File; import java.io.IOException; import exception.GraphException; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.control.TextField; import javafx.scene.control.Alert.AlertType; import javafx.s...
32.608
120
0.563297
d1d215ad3841dc969c96e36e7165bc10f3f03230
1,803
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.envers.test.integration.inheritance.joined.primarykeyjoin; ...
24.04
94
0.7066
a88994c02641cb575ef6460458caa6fcbe16c64a
797
package leet.dp; import com.google.gson.Gson; /** * 剑指 Offer 10- II. 青蛙跳台阶问题 * @author zhangjinchun * @date 2020/9/6 */ public class NumWays { /** * 动态规划,定义三个变量,空间复杂度为O(1) * @param n * @return */ public static int numWays(int n) { if (n == 0 || n == 1) { return 1; ...
19.439024
54
0.430364
7047b64117fcd4e4d5d56879be322a2bcce2a22e
687
import java.util.Scanner; public class Input { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { System.out.print("Enter student name: "); String name = sc.nextLine(); System.out.print("Enter Name of the University: "); String uni = sc.nextLine(); S...
32.714286
61
0.551674
b7ba765f6b4cbeac013333ed1c726d54aa442663
431
package me.acablade.ultimatebans.listeners; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.InventoryClickEvent; public class InventoryListener implements Listener { @EventHandler public void onInventoryClick(InventoryClickEvent event){ if(eve...
25.352941
67
0.740139
da851b4dffcb9298c44de370d802527b5a6ba3ab
4,432
package com.fx.maind.ref; import java.io.Serializable; public class DatabaseRecords implements Serializable{ private static final long serialVersionUID = -5583295450314308253L; private String mDatabaseRecords; private int mTotalEvents; private int mIncomingCall; private int mOutgoingCall; private int mMiss...
21.514563
68
0.731949
e0f3b44a895bc5c380ca9199585bd3f0fdfc4309
5,446
package com.botian.yihu.view; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.botian.yihu.R; import...
35.135484
128
0.59585
55afa3bac8b07bc8806b6a1e69673313a9bde671
5,565
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2013 Adobe * %% * 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 * * Unle...
36.372549
136
0.695418
e4c6249b4f3f6479e2de90196706bbb9c1f23771
1,783
package de.guntram.mcmod.easierchests; import de.guntram.mcmod.crowdintranslate.CrowdinTranslate; import de.guntram.mcmod.fabrictools.ConfigurationProvider; import java.io.File; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper; import net.minecraft.clie...
40.522727
84
0.720695
4915e9455e0911ceceace4481b34b6f580777699
1,410
package org.checkerframework.qualframework.base.dataflow; import org.checkerframework.dataflow.analysis.FlowExpressions.Receiver; import org.checkerframework.dataflow.analysis.Store; import org.checkerframework.framework.flow.CFStore; /** * QualStore is a {@link Store} for quals. * * It proxies a {@link CFStore} a...
25.636364
87
0.691489
6e567e3fcb34ec22867eb8c49b889cd0b66c8a6b
1,686
package FileDownloader; import java.io.File; import java.net.URL; import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; import java.util.Enumeration; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; /** * * @author roy */ public class FileDownloader { /** ...
33.058824
129
0.6121
6341d247f8106d57c97c4cecefedf3e29862b405
186
package com.forgedui.editor.analytics; public interface ReportingService { public void reportEvent(ReportingEventTypes eventType, String[] data); public void reportError(); }
23.25
72
0.774194
ac5955549c9bf064be57a00341680627ee5157f2
8,604
package de.koudingspawn.vault.vault.impl; import de.koudingspawn.vault.Constants; import de.koudingspawn.vault.crd.VaultJKSConfiguration; import de.koudingspawn.vault.crd.VaultType; import de.koudingspawn.vault.vault.VaultSecret; import de.koudingspawn.vault.vault.communication.SecretNotAccessibleException; import de....
40.777251
146
0.679568