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
8fe201c340437448046b2fba5d650e15f8e3905c
371
/** * An API for EcologyMod * * How to use: * https://github.com/Artem226/MinecraftEcologyMod/wiki/Modders-Info * * https://minecraft.curseforge.com/projects/ecology-mod * * https://github.com/Artem226/MinecraftEcologyMod * */ @API (apiVersion = "1.3", owner = "ecomod", provides = "ecomodapi") package eco...
23.1875
68
0.706199
93031776a3e52ff66d16ec98ad137e93cf11e0d6
2,281
/* * Copyright (c) 2011, dooApp <contact@dooapp.com> * 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 con...
53.046512
758
0.769838
ea01a22b19c0980b36509c54984f1cf6b8ac2a90
7,139
// @(#)PlotPlain.java 11/2003 // Copyright (c) 1998-2003, Distributed Real-time Computing Lab (DRCL) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source cod...
28.670683
80
0.672083
852bae4c818e594cfd84b0188bf8d1287ef1386a
12,850
/** * The MIT License (MIT) * * Copyright (c) 2014-2019 <mickael.jeanroy@gmail.com> * * 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 ...
33.905013
146
0.700856
f589617c0412005a410928c073dac6d761aace99
1,935
/* * Copyright 2018 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 a...
26.148649
88
0.592765
dcd88ce5b78c878f6434878223942be992a7f81d
459
package cn.ffcs.wisdom.city.simico.kit.activity; import android.os.Bundle; import android.widget.ListView; import cn.ffcs.wisdom.city.simico.ui.action.ScrollControl; public class PListFragment extends PFragment implements ScrollControl { protected ListView _listview; public PListFragment() { } @Override pub...
18.36
58
0.769063
e39a8c401fe5a2d9b06b9d4b52f6a06a4aa55c38
7,471
package buildcraft.api.core; import java.lang.reflect.Field; import java.util.IdentityHashMap; import java.util.concurrent.Callable; import javax.annotation.Nonnull; import net.minecraft.nbt.NBTBase; import net.minecraft.util.EnumFacing; import net.minecraftforge.common.capabilities.Capability; import net.minecraft...
43.436047
120
0.669924
0e200c4d8cb0e26ee092eb6ce361eec7ec821ac7
4,075
package net.telepathicgrunt.bumblezone.biome.biomes; import net.minecraft.entity.EntityClassification; import net.minecraft.entity.EntityType; import net.minecraft.world.biome.Biome; import net.minecraft.world.gen.GenerationStage; import net.minecraft.world.gen.feature.IFeatureConfig; import net.minecraft.world.gen.pl...
44.293478
259
0.791411
8eb48a8345c9479a39848c3f7a05dfc558494cfd
4,735
package omega.entities; import flounder.camera.*; import flounder.devices.*; import flounder.helpers.*; import flounder.loaders.*; import flounder.maths.vectors.*; import flounder.profiling.*; import flounder.renderer.*; import flounder.resources.*; import flounder.shaders.*; import flounder.textures.*; import omega.e...
36.705426
155
0.756917
6a8881cafbf4da2d599d0f7f2fd1a0ed92118ba2
1,542
package io.jitstatic.utils; /*- * #%L * jitstatic * %% * Copyright (C) 2017 - 2019 H.Hegardt * %% * 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/lice...
30.235294
89
0.697795
75edc54ff2da9f4b173e02ebad93ac69a5f4e8c8
7,399
/* * Copyright 2006 The National Library of New Zealand * * 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 b...
27.102564
141
0.679957
242fa652966edb1192d9e6429cbe3bc25fef7897
2,622
/* * Copyright (C) 2014 Mobilejazz * * 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...
30.137931
139
0.715103
f3bd09a64a08aa1461bcb432826a6bf679bd0e6e
6,820
/* * 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 brasiltur; import java.util.ArrayList; /** * * @author fls */ public class ControleGaragem { ArrayList<Onibus> onibus;...
36.470588
241
0.579326
d878834af30020b71a1e99e0cac41551c21d7f4e
2,541
package badgamesinc.hypnotic.ui.altmanager.altmanager2; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.UUID; import badgamesinc.hypnotic.Hypnotic; ...
30.987805
161
0.576545
4e36bc6cef63f092c54ca9acf9fa3f862e994757
359
package com.plivo.api.models.recording; import com.plivo.api.models.base.Getter; import retrofit2.Call; public class RecordingGetter extends Getter<Recording> { public RecordingGetter(String id) { super(id); } @Override protected Call<Recording> obtainCall() { return client().getApiService().recordi...
21.117647
75
0.732591
991a27f8edabe6c2a4ed07dac152c433ad09f3a3
1,693
package com.stt.portfolioupdater; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.List; public class DBUpdater { private static Connection connect() { try { Class.forName("com.mysql.cj.jdbc.Driver"); Connection con...
26.453125
88
0.704666
478672a5e9bb9274d6ad489e9556dcdb9501b56b
1,514
/** * */ /** * @author Larson Carter * * @created 1/17/2018 * * @updated ??? * */ import java.util.Scanner; public class program { /** * */ public program() { // TODO Auto-generated constructor stub } /** * @param args * @throws InterruptedException */ public static void main(Stri...
20.459459
89
0.624835
af4ac8ffab8f40bff781c790430f93d4181bfe55
204
package io.ketill.psx; import io.ketill.IoDeviceSeeker; class MockPsxSeeker extends IoDeviceSeeker<PsxController> { @Override protected void seekImpl() { /* nothing to seek */ } }
15.692308
59
0.686275
9c143755fecff17b9026564cb473d1229d0f5c4e
3,624
package me.iasc.vultureegg.app.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteQueryBuilder; import android.util.Log; import java.util.ArrayList; import java.util.List; public class DeviceDAO extends AppDBDAO { private...
34.514286
81
0.625552
6c612056fa4c6430e1ae579453b3b64ff27c8e7b
1,679
package it.polito.ezgas.dto; /** * Created by softeng on 27/4/2020. */ public class UserDto { Integer userId; String userName; String password; String email; Integer reputation; Boolean admin; public UserDto(Integer userId, String userName, String password, String email, Integer reputati...
20.47561
119
0.637284
ada0dc224611535bf4258d862fed17b4b476fc22
934
package jp.azw.wheel.tuple; import java.util.Optional; public class MutableRange<T extends Comparable<T>> extends ImmutableRange<T> { protected MutableRange(T first, T second) { super(first, second); } synchronized public MutableRange<T> setMax(T max) { this.max = Optional.ofNullable(max); order(); retur...
23.948718
80
0.706638
e10d302005cb0481d97dfe9f5aa63e25e08aaefa
1,851
package com.example.demo.resolver; import org.springframework.core.MethodParameter; import org.springframework.http.MediaType; import org.springframework.web.bind.support.WebDataBinderFactory; import org.springframework.web.context.request.NativeWebRequest; import org.springframework.web.context.request.ServletWebRequ...
41.133333
180
0.777418
6e500697b540d4300d7cf4a6daae40762ef1c240
802
package xyz.lebster.core.runtime.prototype; import xyz.lebster.core.SpecificationURL; import xyz.lebster.core.interpreter.Interpreter; import xyz.lebster.core.node.value.UndefinedValue; import xyz.lebster.core.node.value.Value; import xyz.lebster.core.node.value.object.Executable; public class FunctionPrototype exten...
30.846154
103
0.798005
6a33c445ea40c54b0188bb94aa5d8b279d53f12e
1,013
/* */ package psdi.webclient.beans.workman; /* */ /* */ import java.rmi.RemoteException; /* */ import psdi.app.person.virtual.PersonAvailSetRemote; /* */ import psdi.util.MXException; /* */ /* */ public class ModAvailBean extends AMBaseBean /* */ { /* */ public void initialize() /* */ ...
31.65625
85
0.568608
088eb545504150c697f8a171a9501ff58d5d75d6
3,464
/** * */ package org.otojunior.biblioteca.dao.livro; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.List; import javax.persistence.EntityManager; import org.junit.Before; import org.junit.Test; import org.otojunior.biblioteca.dao.DaoBaseTest; import or...
25.659259
110
0.676097
90361825c5c6b4f2b996bc80b5e56bcc687f86d5
3,026
package br.com.battista.arcadia.caller.repository; import java.util.List; import java.util.Locale; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.google.appengine.repackaged.com.google.api.client.util.Strings; import com.googlecode.objectif...
29.960396
93
0.610707
75fd13da3ce9d0607402ca5eec780496234ab3eb
1,093
package pl.zankowski.iextrading4j.client.rest.request.refdata; import pl.zankowski.iextrading4j.api.refdata.IEXNextDayExDate; import pl.zankowski.iextrading4j.client.rest.manager.RestRequest; import pl.zankowski.iextrading4j.client.rest.manager.RestRequestBuilder; import pl.zankowski.iextrading4j.client.rest.request.I...
37.689655
139
0.734675
27f8b9f19087672ad6f56fa2fc2f813505055c5c
4,597
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2017.11....
36.776
122
0.714596
1da4a19bf53e11719b73f851cc78d12204400c7d
1,476
/* * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * */ package com.sun.enterprise.web; import java.util.Map; /** * Implementation of AdHocServletInfo interface providing information * specific to the ad-hoc servlet responsible for servicing HTTP requests * for EJB webservice endpoints. * ...
26.357143
87
0.665312
67feabb31bd9dffede355eefaa1a18bd851f7ace
2,504
package com.amazon; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; /* Maximum bounded array https://aonecode.com/interview-question/maximum-bounded-array brute force */ public class MaximumBoundedArray { public ...
26.924731
81
0.537939
be8fa293d751ff4e5f09474fc902e0f820835b22
2,733
/** * Copyright (C) Gustav Karlsson * * 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 ...
36.932432
163
0.643615
76b5b736e0110bd2ef4a2c57254c960fc232b86f
3,928
package dxmnd.com.zigbang.java.map; import android.Manifest; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.RelativeLayout; import android.widget.Toast; import com.gun0912.tedpermission.PermissionListener; import com.gun0912.tedpermiss...
34.45614
102
0.683809
7ba1452c57dd12ea58f869aa80e3e27fe9c1f5d0
207
package com.info.formbean; import lombok.Data; /** * @author : yue * @since : 2020/9/16 * 常用的查询条件 */ @Data public class CommonFormBean { private String studentId; private String semester; }
11.5
29
0.666667
4ca12e867e9d5160f931f1814fda91bea41a44c3
3,403
package bot.utilities; import java.io.File; import java.net.URISyntaxException; public class FileSeeker{ private boolean isRunFromJar = false; private String targetName = "config.json"; private String targetPath = ""; private String basePath; private File baseFile; //target is an absolute na...
30.657658
110
0.590361
7e94a6be13802dcddd2c25c57dfb3b3801be39d5
2,463
/* * Copyright 2015-2021 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 app...
30.036585
120
0.628096
981ccf313b6f90ec63f4f37ca43f824353c70a39
1,636
package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ @javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DontComp...
46.742857
232
0.763447
fa206989e8407dd7f07cf59aadb05efffb115bea
3,887
package com.ai.export; /* *{ * Copyright (C) 1996 - 2000 Active Intellect, Inc. * All Rights Reserved. *} */ import com.ai.application.interfaces.*; import java.util.*; import com.ai.application.utils.*; import java.io.*; import com.ai.common.Tokenizer; import com.ai.htmlgen.*; import com.ai.xml.*; ...
33.8
110
0.614613
fa9b7edf45ea47a8b743306abeac559cab6a5d65
1,307
/* * Copyright 2000 Association for Universities for Research in Astronomy, Inc., * Observatory Control System, Gemini Telescopes Project. * * $Id: FITSKeywordsFrame.java 4414 2004-02-03 16:21:36Z brighton $ */ package jsky.image.fits.gui; import java.awt.BorderLayout; import javax.swing.JFrame; import jsky.im...
23.339286
79
0.687835
d3ffa94e512672e3cb218b6c6892fd98a2c2074a
272
package model.thread; import model.scacchiera.Seta; public class ThSeta extends Thread { public Seta seta; public ThSeta(String name, Seta seta) { super(name); this.seta = seta; } @Override public void run() { } }
14.315789
43
0.584559
bbac59c1dc8461dd2b44a135f15c6f0e99cd7d20
947
package cn.ljs.services.impl; import java.util.List; import cn.ljs.dao.Ec_userDao; import cn.ljs.dao.ShopCarOfUserDao; import cn.ljs.dao.impl.Ec_userDaoImpl; import cn.ljs.dao.impl.ShopCarOfUserDaoImpl; import cn.ljs.javabean.Ec_user; import cn.ljs.javabean.ShopCarOfUser; import cn.ljs.services.ShopCarOfUse...
26.305556
75
0.76452
741a2cb8b03f8666ca6ac86fd4e26a1dd813b8d8
774
package com.kiriost.game.mechanic.pathfinding.heuristics; import com.kiriost.game.gameobject.GameObject; import com.kiriost.game.gameobject.map.TileBasedMap; import com.kiriost.game.mechanic.pathfinding.AStarHeuristic; /** * A heuristic that uses the tile that is closest to the target * as the next best til...
28.666667
93
0.657623
be889442d81270c1abf9b0ec4111278b7eed7ff8
1,013
package au.org.greekwelfaresa.idempiere.test.assertj; import org.compiere.impexp.BankStatementMatchInfo; import org.compiere.model.MAccount; import org.compiere.model.PO; import org.compiere.process.ProcessInfoLog; import au.org.greekwelfaresa.idempiere.test.assertj.bankstatementmatchinfo.BankStatementMatchInfoAssert...
32.677419
104
0.825271
531f2695878fcaf9f1f214762873c999895e9e9c
3,682
package com.github.sahlaysta.bleco.dict; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.Map; /* Input stream abstraction that reads * from a .bleco file and loads Bleco dictionary */ final cl...
27.073529
62
0.674905
ca570c8fd8afb58bf600d98ed0ea3a29092741bd
11,288
package gov.nara.opa.api.services.impl.annotation.transcriptions; import gov.nara.opa.api.annotation.locks.AnnotationLock; import gov.nara.opa.api.annotation.locks.AnnotationLockErrorCode; import gov.nara.opa.api.annotation.transcriptions.Transcription; import gov.nara.opa.api.annotation.transcriptions.TranscriptionEr...
36.649351
96
0.667346
ffb923b3fe681b048b85a86543b332abc725cddb
2,513
package de.hochschuleTrier.fmv.filter.constraints; import java.util.Iterator; import prefuse.Visualization; import prefuse.action.GroupAction; import prefuse.data.Graph; import prefuse.data.Node; import prefuse.util.PrefuseLib; import prefuse.visual.EdgeItem; import prefuse.visual.NodeItem; import de.hochschuleTrier....
34.424658
134
0.762037
9b2116c10aa712f840c30d14e343aa8f67b1a314
5,142
package com.bw.util; import java.util.Date; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormatter; import com.google.common.base.Optional; public final class StringUtil { private StringUtil() { } public static boolean isBlank(String value) { return com.google.common.ba...
31.740741
114
0.693504
e03b3077319e56405873953a03f5f4c4b64ec31e
11,556
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
41.124555
109
0.671253
0c63e0c2144f12199bc46af37a093239ce49942d
2,458
import java.util.ArrayList; /** * @author Joy Xiao * @brief Hand of cards class */ public class Hand extends ArrayList<Card> { private static final long serialVersionUID = 1L; /** * Hand constructor */ public Hand() { } /** * Displays the player's hand to the console */ publ...
23.409524
68
0.572823
d3c1dd5e7710c7c5e4f821434fee20501d853a4e
1,880
package com.github.ants280.jeff.farm.ws.resources; import com.github.ants280.jeff.farm.ws.dao.PoultryDao; import com.github.ants280.jeff.farm.ws.model.Poultry; import java.util.List; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; imp...
21.609195
68
0.745213
10f53c87810a1bf4ce809d4acf595eaf5bb3e436
2,872
/* * Copyright 2015-2020 Alexandr Evstigneev * * 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...
41.028571
138
0.736769
bc208e804d48307085c34101811cd491bdaae516
803
package com.quorum.tessera.api.common; import com.quorum.tessera.config.Config; import com.quorum.tessera.transaction.TransactionManager; import com.quorum.tessera.transaction.TransactionManagerFactory; import java.util.Optional; import static org.mockito.Mockito.mock; public class MockTransactionManagerFactory imp...
27.689655
90
0.779577
0b89e06c1200e6af1899cd023126a28fcff09247
44,872
package edu.berkeley.nlp.assignments; import edu.berkeley.nlp.io.PennTreebankReader; import edu.berkeley.nlp.ling.Tree; import edu.berkeley.nlp.ling.Trees; import edu.berkeley.nlp.util.*; import java.util.*; /** * @author Dan Klein */ public class POSTaggerTester { static final String START_WORD = "<S>"; stat...
38.384944
206
0.676658
52dd5fe6a9a9a7d57beee683836878dbf5871b11
781
package com.kennycason.kumo.font.scale; /** * Created by kenny on 6/30/14. */ public class LinearFontScalar implements FontScalar { private final int minFont; private final int maxFont; public LinearFontScalar(final int minFont, final int maxFont) { this.minFont = minFont; this.maxFont ...
27.892857
81
0.661972
d4bdb90035a98388d5b911d7bf37666985c924c2
8,252
package seedu.address.logic.commands; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.DESC_AMY; import static seedu.address.logic.commands.CommandTestUtil.DESC_BOB; import static seedu.addr...
47.699422
119
0.766966
3ff87447a9798f0575a599b3e5fef666ef241f29
3,480
package net.traitors.util.save; import net.traitors.Layer; import net.traitors.controls.Controls; import net.traitors.thing.item.Gun; import net.traitors.thing.platform.NullPlatform; import net.traitors.thing.platform.UniverseTile; import net.traitors.thing.platform.ship.Ship; import net.traitors.thing.player.Player; ...
35.876289
95
0.654023
9d1e61a9e9a8ff4714c07f181fd4900cba21c420
94,373
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
40.107522
113
0.70641
0446ae6e9ddd55c90fd6891ed0c180da4da7abca
152
/** * Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes. */ package ghost.framework.webflux.web.module.socket.adapter;
25.333333
83
0.776316
1af71388ee2c2b2974f8e1c13236ef29c7903c06
147
package com.webot.bintools.models; public class EncodeRequest { public String fromCodec; public String toCodec; public String text; }
18.375
34
0.741497
1090a7bb4f84a79ff75da22f0af07366f3c28395
1,749
// Copyright 2020 Martin Pfannemüller // // 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...
32.388889
91
0.76558
6d3d57265a0d5551062c94afafa71f7ff15b91e6
22,135
/* * Copyright 2019 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
42.73166
100
0.743348
0781a94f97738ef6069456ec10e2c25068c5501e
840
package org.euvsvirus.cac.model; import javax.persistence.*; import java.io.Serializable; import java.util.UUID; /** * Nie ohne mein Team. * * @author Nils Knudsen * @since 23.04.20 **/ @Entity public class Team implements Serializable { @Id private String id; private String name; private Stri...
16.470588
54
0.611905
ccbf4744e7e01e2d1462a4c2aa571ae64cb54111
111
package com.flashcursos.model.entity; public enum DificuldadeEnum { BASICO, INTERMEDIARIO, AVANCADO; }
11.1
37
0.756757
0c25c8e07485ef7463f62b3d4df825e574a46216
1,360
package ca.a00972539.assignment3.util; import java.util.Scanner; /** * Class InputReader reads user input from the keyboard. */ /** * @version 2016.01.20 * @author Bullwinkle Moose */ public class InputReader { private Scanner scanner; /** * Default constructor for InputReader class * Create a new Inpu...
20.606061
57
0.660294
883c929e8dbaf7c28171b6c0a36dda550d3c1838
6,282
/* ==================================================================== Copyright 2002-2004 Apache Software Foundation 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://w...
30.794118
92
0.582617
3a1f72f2b271b91194004ad06a83077a93cb518e
7,260
package konid.soxzz5.fitfood.fitfood_addrecipe_step; import android.os.Bundle; import android.app.Fragment; import android.support.annotation.Nullable; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import andr...
29.876543
123
0.577273
a551a00a74c6793c962a79a9e99cb7907b14523c
1,794
package entity; import java.util.Date; public class WorkOrder { private Integer id; private String title; private String details; private Date date; private Integer state; private String comments; private Client client; private Operator operator; public WorkOrder() { state = 0; details = "...
16.766355
46
0.640468
1350356a0280cc234a6f2a43a8f951879de1c510
1,947
/* * Copyright (c) 2017 K Sun <jcodeing@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 applicab...
29.953846
84
0.736004
72f0f841e68a5563876df5230309fd10050b3f2b
3,387
package mos.kos.cache.act.list; import android.os.Handler; import android.view.View; import android.widget.LinearLayout; import java.util.ArrayList; import mos.kos.cache.R; import mos.kos.cache.data.AlphaBean; import mos.kos.cache.init.BaseActivity; import mos.kos.cache.logic.AlphaAdapter; import x.rv.XRecyclerView;...
29.198276
94
0.527015
e1dac964dc6cd86198a49874c8ef1000e1a94cc2
630
package Aula02; public class Calculadora { int num1; int num2; int resultado; void somar() { resultado = num1 + num2; System.out.println("O resultado da soma é de: " + resultado); } void subtrair() { resultado = num1 - num2; System.out.println("O resultado da su...
25.2
78
0.585714
c1ddcc77a9f2a0f18d435ab02d5ee27c87bbdd93
663
package ca.bc.gov.educ.api.sld.notification.service; import ca.bc.gov.educ.api.sld.notification.model.EventEntity; import com.fasterxml.jackson.core.JsonProcessingException; import org.springframework.transaction.annotation.Transactional; /** * The interface Event handler service. */ public interface EventHandlerSe...
23.678571
76
0.746606
748f98bde6daa1aa9cb1e9662aaa0065f4897c9b
5,206
/** * 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 * ...
31.743902
128
0.74952
930788f20f8ba8eee59a1cc303e6da3226dd09cd
1,636
package com.reesehu.componentbase; import com.reesehu.componentbase.empty_service.EmptyIAccountService; import com.reesehu.componentbase.empty_service.EmptyIShareService; import com.reesehu.componentbase.service.IAccountService; import com.reesehu.componentbase.service.IShareService; /** * Function: * <br/> * Desc...
24.787879
76
0.671149
c710fbcb50c3e5a26933ab739e2914d40ce72bbf
1,466
package com.emc.temp.delete1; import com.emc.vxrail.kohl.ssh.SSHConnector; import com.emc.vxrail.kohl.ssh.SSHResponse; public class TestSSHConnector { public static void main(String[] args) throws Exception { String command = "ls -l"; String userName = "deb"; String password = "abcd@1234"...
35.756098
85
0.635744
697c647ea4943da5c2d6cfb9523269e72c743539
1,951
package com.moqtar.transport.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.ui.ModelMap; import org.springframework.validation.BindingResult; import org.springframework.web.bind...
36.811321
125
0.801128
b3b051fa121a1e1d9265d661aa5540765ac9bdde
395
package top.huzhurong.fuck.provider; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author chenshun00@gmail.com * @since 2019/5/3 */ @SpringBootApplication public class BootProviderApplication { public static void main(String[] arg...
24.6875
68
0.774684
fc17deb80a888d6d34159307893af320bc8a04b7
366
package org.w3c.dom.svg; import org.w3c.dom.DOMException; public interface SVGRect { float getX(); void setX(float var1) throws DOMException; float getY(); void setY(float var1) throws DOMException; float getWidth(); void setWidth(float var1) throws DOMException; float getHeight(); void...
16.636364
50
0.715847
2a3c2a8b487d873418a16b33326f5d464d4895d3
4,247
/* * 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 ...
49.383721
140
0.763598
3fd04c19e6f591b8eba813381a7a60dda4d47470
592
package edu.ranken.prsmith.customdialogs.data; import android.graphics.drawable.Drawable; import androidx.annotation.NonNull; import androidx.annotation.Nullable; public class Thing { private final String name; private final String imageUrl; public Thing(@Nullable String name, @Nullable String imageUrl)...
21.142857
68
0.6875
ca14558130a5afa3758ef1bd23e07015579662d5
6,837
/* * Copyright 2018 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 applica...
34.530303
100
0.686851
c3dfc8ddb24c3b299d6ef107f8e7fe3ca059e405
1,295
/** * Copyright 2011 The Open Source Research Group, * University of Erlangen-Nürnberg * * 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/lic...
33.205128
77
0.72973
3d9935d4c76627f6a9c1a8a95cd5c2da32478df6
292
package javasmmr.zoosome.models.animals; public class Dolphin extends Aquatic { public Dolphin(int nrOfLegs, String name, int avgSwimDepth, WaterType waterType) { super(nrOfLegs, name, avgSwimDepth, waterType); } public Dolphin() { super(0, "Dolphin", 50, WaterType.SALTWATER); } }
24.333333
83
0.746575
d69681929cdab4bb61e15fb57083a0de21045a67
10,409
package wseemann.media.romote.service; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilte...
36.780919
162
0.659718
8ea54dab29613907efb89e552375ffb2e43c023e
2,140
package com.hacks1ash.crypto.wallet.blockchain.model; import com.hacks1ash.crypto.wallet.blockchain.GenericRpcException; import com.hacks1ash.crypto.wallet.blockchain.utils.JSON; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import java.util.Map; @Slf4j @Getter public class RPCException extends GenericRpcE...
31.940299
187
0.665888
6aaff8b7f1a731f034662b0ea65f7324778507fb
504
package com.xeiam.xchange.examples.hitbtc; import com.xeiam.xchange.Exchange; import com.xeiam.xchange.ExchangeFactory; import com.xeiam.xchange.ExchangeSpecification; import com.xeiam.xchange.hitbtc.HitbtcExchange; public class HitbtcExampleUtils { public static Exchange createExchange() { ExchangeSpecificat...
26.526316
83
0.791667
6918277371d15dc9e5eff5989c23f56ee9fa1304
377
package com.jonssonyan.service; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import com.jonssonyan.entity.RoleMenuList; import com.jonssonyan.entity.vo.RoleMenuListVo; public interface RoleMenuListService extends IService<RoleMenuList> { IPage<Ro...
34.272727
69
0.843501
5d439cc392e9625078d32dc61c8a5e95c270ee78
160
package ru.ezhov.changelog.builder.engine.domain; public interface ChangelogRepository { void save(String template) throws ChangelogRepositoryException; }
26.666667
67
0.825
ec0566194bc980f13fed7e30607d9c230bf7c849
1,014
package org.kodekuality.fixmock; import io.dropwizard.Application; import io.dropwizard.setup.Environment; import org.kodekuality.fixmock.admin.resource.FixSessionResource; import org.kodekuality.fixmock.fix.handler.MessageHandlerFactory; import org.kodekuality.fixmock.fix.session.FixSessionFactory; import org.kodekua...
40.56
99
0.803748
f12ed5e8b1c10a045f8623054d8139bca69f0bd3
361
package es.uca.cromuca.repositories; import es.uca.cromuca.entities.Especie; import es.uca.cromuca.entities.HistorialDeterminacion; import org.springframework.data.jpa.repository.JpaRepository; public interface HistorialDeterminacionRepository extends JpaRepository<HistorialDeterminacion, Long> { HistorialDetermi...
36.1
103
0.853186
f17d3027d3f3ab38d74aa9762edd5259baa977eb
2,847
/* * Copyright (c) 2013 - 2014 Paul Griffioen * * 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, merg...
32.724138
126
0.708816
53b59f3decb80b199c1fe482016d7191c8de250f
333
package com.geccocrawler.gecco.utils; import com.geccocrawler.gecco.spider.SpiderThreadLocal; public class EngineRetUtil { public static Object getRet() { return SpiderThreadLocal.get().getEngine().getRet(); } public static void setRet(Object o) { SpiderThreadLocal.get().getEngine().ret(...
20.8125
60
0.696697
0de9f786282da57646fd5bb50df79c934824e65d
1,079
package org.rcsb.cif.binary.codec; import org.junit.Test; import org.rcsb.cif.binary.data.EncodedDataFactory; import org.rcsb.cif.binary.data.FloatArray; import org.rcsb.cif.binary.data.Int32Array; import org.rcsb.cif.binary.encoding.IntervalQuantizationEncoding; import static org.junit.Assert.assertArrayEquals; impo...
37.206897
127
0.726599
58858e0b53d01126ca2026f61ddb63c05bd9ad60
3,269
/* * This represents an arbitrary C/C++ Expression Statement * * Copyright (c) 2008, Carnegie Mellon University * This software is distributed under the terms of the * Simplified BSD License (see tdl/LICENSE.TXT) * */ public class DataExpressionStatement extends DataStatement { /* Class Constants. */...
30.268519
72
0.684307
dbcf1b19ad8f950a4981fb842b9583891c7a1393
14,984
package com.huanchengfly.tieba.post.utils; import android.app.Activity; import android.app.ActivityOptions; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.ne...
45.682927
187
0.54665
b0a25da0d89900571b7d086c5724fd23cf849400
2,415
/* * 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.044776
140
0.751967
86d2e46e46e505013749331181f76c0f6cd1428d
6,320
/* * (c) Copyright 2018 Palantir Technologies Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
40.254777
117
0.705696
e93de23228274e3b87ff1c3f5987d96a542b9f14
1,321
/** * */ package xyz.sunjianhua.data.response; import java.io.Serializable; import xyz.sunjianhua.data.common.CommonRspData; /** * @Description 交易 单笔交易 回调 * @author sunjianhua * @date 2018年1月30日 上午9:02:29 */ public class TransactionSyncTransactionRspData extends CommonRspData implements Serializ...
17.613333
95
0.685087
79d1e30d6ddaaf8034a6b4a90a5a4be4ed1b2572
5,514
package de.swagner.paxbritannica.mainmenu; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.math.Vector3; import com.badlogic.gdx.math.collision.Bou...
29.967391
77
0.698223
278f993d326ad291c7a464c3e18a31f406e73b00
10,198
package com.snaker.dfs.service.impl; import cn.hutool.core.io.FileUtil; import cn.hutool.core.lang.UUID; import com.aspose.cells.Workbook; import com.aspose.words.License; import com.snaker.common.enums.FileTypeEnum; import com.snaker.common.utils.CommandUtil; import com.snaker.common.utils.file.FileUtils; import com....
43.581197
231
0.539518
21001b9a99c9e9421f6d76464a27a26b5432e94b
2,129
/* * Copyright 2019 Wultra 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 agreed to in...
26.283951
75
0.680601
6bcdc5a0ea44f15f362e5d76bc87ea3f811774f2
227
package io.renren.modules.sys.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import io.renren.modules.sys.entity.SysLogEntity; /** * 系统日志 * */ public interface SysLogDao extends BaseMapper<SysLogEntity> { }
14.1875
61
0.753304