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
a2539c083602cb0cfc130252a006a47e8923a1a7
2,458
package com.example.demo.service; import com.example.demo.dao.ModelContainerDao; import com.example.demo.domain.ModelContainer; import com.example.demo.utils.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework...
34.619718
128
0.691212
aa07b9e592e9d208ad1ca75020dc61028dc0523e
1,758
package com.artos.tests.annotation_testimportance; import com.artos.annotation.TestCase; import com.artos.annotation.TestImportance; import com.artos.annotation.TestPlan; import com.artos.annotation.Unit; import com.artos.framework.Enums.Importance; import com.artos.framework.Enums.TestStatus; import com.artos.framewo...
40.883721
97
0.526166
d0c077a2b9894e94c3f8c9742f1406692a19bbb4
8,078
package com.tang.activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import com.lidroid.xutils.ViewUtils; import com.lidroid.xutils.view.annotation.ViewInject; import com.lidroid.xutils.view.annotation.event.OnClick; import com.tang.blockchain.Wallet...
32.441767
112
0.504952
0fe643ce7e2381478cc0683861049cb1ba818c30
1,495
package com.rajendarreddyj.spring.web.hateoas.listener; import java.net.URI; import javax.servlet.http.HttpServletResponse; import org.apache.http.HttpHeaders; import org.springframework.context.ApplicationListener; import org.springframework.stereotype.Component; import org.springframework.web.servlet.support.Servl...
41.527778
143
0.797993
080e8dd19de450411b44d35d603f3b43a3424dfb
738
package br.inatel.cdg.pilha; import br.inatel.cdg.pilha.exception.PilhaVaziaException; import java.util.ArrayList; import java.util.List; public class Pilha<T> { private List<T> elementos; private int qtdElementos; public Pilha() { elementos = new ArrayList<>(); } public boolean pilhaVazia() { return q...
17.571429
57
0.707317
d7540c54236f4065df4f475ab24c56998b1f5c9a
3,568
/* * Copyright 2015. AppDynamics LLC and its affiliates. * All Rights Reserved. * This is unpublished proprietary source code of AppDynamics LLC and its affiliates. * The copyright notice above does not evidence any actual or intended publication of such source code. * */ package com.appdynamics.extensions.d...
36.040404
107
0.644339
0fda7d52b0dbe42c14cbc78ba6d12ab6f957a855
4,295
/** * 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...
32.293233
102
0.659837
138afd9db3d0132f9efb48a8041840ce9d2aae6e
4,224
/** * Copyright 2010-2012 by PHP-maven.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.064516
119
0.67661
740e1c8ff7b420470534fe77dfa6896e9bd2af22
704
package com.gao.yingjian.mobiledevelopmentassignmentone.Models; import java.util.ArrayList; public class SurveyDetailGroup { private String groupName; private String groupDescription; private ArrayList<SurveyDetailItem> items; public SurveyDetailGroup(String groupName, String groupDescription, ArrayL...
25.142857
108
0.710227
bad12684edf32396297f170de6a87d4325a72870
3,195
/* * 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 ...
31.323529
98
0.714241
ec904280a303dddebda4804dd6d593e56df4f894
730
package <%= appPackage %>.<%= packageName %>; import com.joxad.easydatabinding.bottomsheet.DialogBottomSheetBaseVM; import <%= appPackage %>.R; import <%= appPackage %>.BR; import <%= appPackage %>.databinding.<%= name %>Binding; import <%= appPackage %>.<%= packageName %>.<%= name %>; /** * Generated by generator-a...
25.172414
93
0.624658
ea4103c37610409e8f2a952dc281b4392a8be8ec
332
package io.kurumi.ntt.td.client; import io.kurumi.ntt.td.TdApi; public class TdException extends RuntimeException { private TdApi.Error error; public TdException(TdApi.Error error) { super(error.message); this.error = error; } public TdApi.Error getError() { return error...
13.833333
51
0.64759
a4333dc34f15d4e4de36e3f1191bf5b2859a2ca9
3,424
package cn.bgenius.jf_android_java_demos; import android.app.Activity; import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import java.io.Buf...
32
97
0.551402
9f43366806d57deefeed0c1ff09aacc70be22a29
4,610
// Generated from io\onedev\server\search\entity\build\BuildQuery.g4 by ANTLR 4.7.2 package io.onedev.server.search.entity.build; import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.tree.ErrorNode; import org.antlr.v4.runtime.tree.TerminalNode; /** * This class provides an empty implementation...
28.993711
114
0.711497
1ade1c3643b39d6092f3d6ec8e7e0b459069a7b3
1,927
import java.util.*; import javafx.collections.*; import javafx.scene.control.*; import javafx.scene.control.cell.*; public class ProspettoModelliSalvati extends TableView<ModelloSalvato> { private final ObservableList<ModelloSalvato> ol; public void aggiornaListaModelli(List<ModelloSalvato> ...
41
100
0.687078
4f4aab93a2ef1328987f595eec919a7f44dca23a
3,777
/* * 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.151515
109
0.686524
165eaa1109ddaf7d6a3d94bba41e7a8b83d327df
2,823
package org.openvasp.client.crypto; import static org.assertj.core.api.Assertions.assertThat; import org.junit.jupiter.api.Test; /** * @author Olexandr_Bilovol@epam.com */ class ECDHKeyPairTests { /* * CSHARP_ keys generated by OpenVASP.CSharpClient.Cryptography.ECDH_Key */ private static final...
45.532258
189
0.784626
ee113036ecabe283c6f16c7a3b15465cd656d0a5
3,620
package nc.unc.application.data.service; import com.vaadin.flow.server.VaadinSession; import nc.unc.application.data.entity.LogEnregistrement; import nc.unc.application.data.entity.User; import nc.unc.application.data.enums.TypeCrud; import nc.unc.application.data.repository.LogEnregistrementRepository; import org.spr...
33.831776
128
0.75884
272564ab7b1d5ec06bc678e8a40ef04c0e3e3f85
4,515
package com.painless.pc.folder; import android.app.Fragment; import android.app.FragmentTransaction; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.vi...
33.198529
155
0.743743
6b7fb809e776b5ce5f2e86ec80c5a105b3a3e5b8
920
package snake; /** * @author Giulio Jiang * time scheduler thread */ public class TimerRunnable implements Runnable { private long start; private long next; private Board board; private long delay; public TimerRunnable(Board board) { this.board = board; this.start = System....
18.77551
55
0.517391
269d264324fe5cb75afd629633ca3da069b43f37
1,867
package org.tiscs.reststack.core; import ch.qos.logback.ext.spring.web.LogbackConfigListener; import ch.qos.logback.ext.spring.web.WebLogbackConfigurer; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; import org.springframe...
44.452381
105
0.778254
da9f0d83e0b9e60387310060039841fd8bb66ef0
2,922
package com.mexus.homeleisure.security.controller; import com.mexus.homeleisure.security.request.RefreshRequest; import com.mexus.homeleisure.security.request.SignInRequest; import com.mexus.homeleisure.security.request.SignUpRequest; import com.mexus.homeleisure.security.response.RefreshResponse; import com.mexus.hom...
27.055556
96
0.738535
fb488808badcf27ab9798ef54881af68c37bea59
3,543
package io.github.fablabsmc.fablabs.api.fiber.v1.schema.type; import java.math.BigDecimal; import java.util.Objects; import java.util.StringJoiner; import javax.annotation.Nullable; import io.github.fablabsmc.fablabs.api.fiber.v1.exception.ValueDeserializationException; import io.github.fablabsmc.fablabs.api.fiber.v...
30.543103
122
0.726785
5f69a9cce035bee41fed5851d6933b7dea10c77d
8,913
/** * HpcCatalogDAOImpl.java * * <p> * Copyright SVG, Inc. Copyright Leidos Biomedical Research, Inc * * <p> * Distributed under the OSI-approved BSD 3-Clause License. See * http://ncip.github.com/HPC/LICENSE.txt for details. */ package gov.nih.nci.hpc.dao.oracle.impl; import java.util.ArrayList; import java....
38.921397
129
0.703242
1374a0a68033b0d7eeb93f62ca2e54e3009086ca
276
package com.bit.juniornaver.model.dao; import java.util.List; import com.bit.juniornaver.model.vo.CharacterBean; public interface CharacterMapper { public List<CharacterBean> listCharacter(int menuId); public CharacterBean getCharacter(int characterId); }
21.230769
55
0.771739
e2b20f8d43d03d6e2da90d5fed905d6278707c59
1,229
package com.quanlt.vietcomicclean.domain.interactor; import com.quanlt.vietcomicclean.domain.executor.PostExecutionThread; import com.quanlt.vietcomicclean.domain.executor.ThreadExecutor; import rx.Observable; import rx.Subscriber; import rx.Subscription; import rx.schedulers.Schedulers; import rx.subscriptions.Subsc...
31.512821
92
0.74288
6d3827f3a636574769b9e4278990cb28887d1c00
4,710
package com.vimukti.accounter.web.client.ui.vat; import java.util.ArrayList; import java.util.List; import com.vimukti.accounter.web.client.AccounterAsyncCallback; import com.vimukti.accounter.web.client.core.ClientFinanceDate; import com.vimukti.accounter.web.client.core.ClientTDSChalanDetail; import com.vim...
28.545455
73
0.728025
9fdcbc6ebf6baec6223f06b98388656bd039900e
27,632
package fi.nls.oskari.work; import fi.nls.oskari.log.LogFactory; import fi.nls.oskari.log.Logger; import fi.nls.oskari.pojo.*; import fi.nls.oskari.wfs.WFSImage; import fi.nls.oskari.wfs.pojo.WFSLayerStore; import fi.nls.oskari.worker.AbstractJob; import org.geotools.feature.FeatureCollection; import org.opengis.featu...
34.19802
130
0.592248
4c93d83d13c5ba11d577abea11da2b911eeba374
3,433
/** * Copyright (C) 2006-2021 Talend Inc. - www.talend.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 appli...
47.680556
117
0.535683
55ce3b4bb5620e4d969a9a410405216d805b3cf7
311
package ec.edu.ups.dao; import java.util.List; public interface GenericDAO<T, ID> { public void create(T entity); public T read(ID id); public void update(T entity); public void delete(T entity); public void deleteByID(ID id); public List<T> findAll(); }
15.55
37
0.610932
107eb08c0e480c21ef8e03ce0e30809bb7c26221
1,261
package com.openwebserver.core.Connection; import ByteReader.ByteReader; import java.io.IOException; import java.net.Socket; public class Connection extends ByteReader implements ConnectionWriter { protected Thread handler; private final Socket socket; public Connection(Socket socket) throws IOExceptio...
21.372881
72
0.602696
9055ca8c59bdf8931be9b32b4dfdcf4f44e664f9
1,160
/* * */ package com.synectiks.process.common.plugins.pipelineprocessor.processors.listeners; import com.synectiks.process.common.plugins.pipelineprocessor.ast.Pipeline; import com.synectiks.process.common.plugins.pipelineprocessor.ast.Rule; import com.synectiks.process.common.plugins.pipelineprocessor.ast.Stage; impo...
41.428571
87
0.787069
2c3f3baed4d959430e4b433312362f352e8987e4
47
private long nl() { return in.nextLong(); }
15.666667
25
0.617021
95fd731cb22453ba09f233e4061865cb46c3c499
1,256
package com.senla.autoservice.repository; import java.util.Arrays; import com.senla.autoservice.bean.Work; import com.senla.autoservice.utills.ArrayChecker; public class WorkList { private Work[] serviceList; static private int lastID; public WorkList(int size) { serviceList = new Work[size]; } public WorkL...
20.258065
103
0.67914
5abafcc46d0b11c53c06a0bc0fffb6cbdde5f8fc
941
package com.bapplications.maplemobile.utils; public class Color { public static final int RED = android.graphics.Color.argb(255, 255, 0, 0); public static final int GREEN = android.graphics.Color.argb(255, 0, 255, 0); public static final int BLUE = android.graphics.Color.argb(255, 0, 0, 255); private ...
26.138889
80
0.587673
a060c0daebaf85af41bb6e618b44eec0d4e98043
12,697
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.hdinsight.v2018_06_01_preview; import java.util....
27.542299
109
0.661574
c5214606ea4f6d1442eeb7f719644449d7fccaa5
1,483
package com.github.joonasvali.naturalmouse.support; import com.github.joonasvali.naturalmouse.api.SystemCalls; import java.awt.*; public class DefaultSystemCalls implements SystemCalls { private final Robot robot; public DefaultSystemCalls(Robot robot) { this.robot = robot; } @Override public long cu...
30.895833
119
0.724208
ed4be6334d42e85cec1708960b535c5af5460d2e
171
/** * Fixtures for testing {@link org.anchoranalysis.image.io.bean.stack.writer.StackWriter} and related classes. */ package org.anchoranalysis.test.image.rasterwriter;
34.2
110
0.783626
bf764d2fb0302b5612bb383abc13fc9e722366be
6,734
package com.tecmanic.gogrocer.Fragments; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.RelativeL...
39.846154
216
0.619543
a5464fac1859f4c6e85aac0ef749a63e86aeeaf5
6,124
package com.worldql.mammoth.worldql_serialization; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.nio.ByteBuffer; import java.util.List; import java.util.UUID; import static com.worldql.mammoth.worldql_serialization.Codec.copyByteBuffer; import static com.worldql.mam...
31.56701
149
0.529393
9585672dd47fe956ee50f498bcc7b330036968cf
1,912
package me.etki.grac.infrastructure.dto.github; /** * @author Etki {@literal <etki@etki.name>} * @version %I%, %G% * @since 0.1.0 */ public class RateLimit { private ResourceSection resources; private ResourceLimit rate; public ResourceSection getResources() { return resources; } pub...
21.483146
64
0.569561
067a6a04b1ba4174ed37cbf9a43a539ddefd8f01
3,528
package com.larksuite.oapi.core.utils; import com.larksuite.oapi.core.model.OapiHeader; import com.larksuite.oapi.core.model.OapiRequest; import com.larksuite.oapi.core.model.OapiResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import j...
40.090909
110
0.601474
26fde4fceba086fb36bba9aa992fafad9bb44fd2
1,202
package rocks.cleanstone.game.command.cleanstone; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import rocks.cleanstone.game.command.CommandMessage; import rocks.cleanstone.game.command.SimpleCommand; import rocks.cleanstone.player.Player; import rocks....
33.388889
133
0.72213
93fabfb8a011cbab9550145f482ed44f16600cb6
1,413
package com.maven.dao; import java.util.List; import java.util.Map; import org.springframework.stereotype.Repository; import com.maven.base.dao.BaseDao; import com.maven.entity.ExchangeRate; @Repository public interface ExchangeRateDao extends BaseDao<ExchangeRate> { /** * 查询所有汇率 * @return List<ExchangeRate> ...
20.185714
77
0.71196
1e6c103270e6a7e626f384bfd9aac5d0b8231793
3,479
package com.github.kklisura.cdt.examples; import com.github.kklisura.cdt.launch.ChromeLauncher; import com.github.kklisura.cdt.protocol.commands.*; import com.github.kklisura.cdt.protocol.types.dom.RGBA; import com.github.kklisura.cdt.protocol.types.overlay.HighlightConfig; import com.github.kklisura.cdt.services.Chro...
32.820755
96
0.696752
086812449814ad2a0921e432808a93ab9a80f110
2,822
package br.com.sailboat.canoe.dialog.selectable; import android.app.Dialog; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.FragmentManager; import android.support.v7.app.AlertDialog; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widg...
29.092784
100
0.700921
1a50309228ae68f8543a826c60e48b7a56c96352
8,354
/* Copyright (c) 2014-2016 Boundless and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/edl-v10.html * * Cont...
46.154696
93
0.651784
3435782757ffe6d21287d7f8e95eb7e3aa21716e
2,364
import java.util.*; class point { int x, y; point(int x, int y) { this.x = x; this.y = y; } } public class ClosestPair { static Scanner scan = new Scanner(System.in); static double dist(int x1, int y1, int x2, int y2) { return Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2)); } static double br...
26.266667
82
0.579526
89d2040fe2b82e7acb5eef54a2f87558cd22eaf3
673
/* * Copyright 2012-09-12 the original author or authors. */ package pl.com.softproject.springtestaltkom.springaspect; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.Abs...
24.925926
80
0.745914
639398e77b268ff0e571e0fce612fb99ac949814
15,263
/* * ==================================================================== * 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 ...
35.828638
101
0.678962
21d5db674c25c45aa99b840c052abc4b3598b795
2,393
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
28.831325
119
0.66987
fce0fa175aab69fcb96cdff6ebae77deb06121fb
522
package com.donaldwu.main.responsebody; import java.util.List; import java.util.Map; public class GetAllUserResponseBody { private String message; private List<Map<String, Object>> users; public String getMessage() { return message; } public void setMessage(String message) { this...
20.076923
59
0.649425
8208a56a41c8e605552e9824496b2565e46f32ed
1,470
/* * Copyright 2022 Starwhale, 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 required by applica...
22.96875
81
0.672789
212bb7807832fc220eea641bf3d08f6aa3b1b4ab
2,713
package org.platformlayer.client.cli.output; import java.io.Closeable; import java.io.IOException; import java.io.OutputStream; import java.io.StringWriter; import java.io.Writer; import org.platformlayer.metrics.model.MetricDataStream; import org.platformlayer.metrics.model.MetricDataVisitor; import com.fasterxml.j...
23.798246
86
0.77958
7b49509cfed62f6789a9510efeb71e5b97599fab
623
package com.gaofengze.demo.data; /** * Created by gaofengze on 2018/11/26 */ public class NetWorkData { public static final String success = "200"; public static final String codeError = "201"; public static final String logout = "300"; public static final String serverError = "500"; // 60.25...
34.611111
86
0.691814
a4878b4ffad852bc04e743afa435efd43a6518cf
935
package com.stemcell.android.exception; import java.util.Arrays; /** * */ public class BusinessException extends RuntimeException { private static final long serialVersionUID = -6578431977912288874L; private Object[] params; public BusinessException(String message, Throwable cause, Object... messagePa...
22.804878
88
0.636364
a9652cd3af57cb9bfe4fa03e3050015e04e11c3c
269
package name.anonymous.heros.api.web.pagination.query.builder.jpa.criteria.parser; import name.anonymous.heros.api.web.pagination.query.builder.jpa.criteria.model.IGroup; public interface IGroupParser { Object parse(IGroup group, JsonRuleParser parser); }
33.625
88
0.791822
a676c0f0be4946973ce64d10d5e1442bcd224dc9
3,085
package org.fugerit.java.core.web.navmap.model; import java.io.Serializable; import java.util.Iterator; import org.fugerit.java.core.util.collection.KeyObject; import org.fugerit.java.core.util.collection.ListMapStringKey; /** * NavEntry wrapper * * Version 1.0 (2016-12-02) * * @author Fugerit <m...
20.163399
105
0.647326
73a74e8dc58590d36d8d0dce1a1e87b9cc7abea0
557
package com.gnd.calificaprofesores.NetworkProfOpinion; public class Materia { private String nombre; private String facultad; public Materia(String nombre, String facultad) { this.nombre = nombre; this.facultad = facultad; } public String getNombre() { return nombre; }...
19.892857
54
0.635548
f7bfac398fddc46e62498cf698a4a48cfbe0a2af
2,236
/* * 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 ma...
36.064516
93
0.709302
c2eb9a30c67bd42eae4854c0dff73d8c5b7638f1
1,723
/* * Copyright 2017 MovingBlocks * * 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...
45.342105
162
0.745792
42def3e5cfe4b9bc2e5820b1ff09ec5e389611ea
2,830
/* * Copyright 2006-2016 Edward Smith * * 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.159091
290
0.70212
2b31e4fb248eb50ca06ffdf8f9f6441ba1c83b3c
418
package com.omisoft.vitafu.themoviedbapi.model.changes; import com.fasterxml.jackson.annotation.JsonProperty; import com.omisoft.vitafu.themoviedbapi.model.core.IdElement; public class ChangedMovie extends IdElement { @JsonProperty("adult") private boolean adult; public boolean isAdult() { re...
18.173913
61
0.712919
4b616483d2dfa50445df0e31b789258146277625
1,539
/** ISOQuant, isoquant.plugins.processing.fractions, 07.05.2012 */ package isoquant.plugins.processing.fractions; import isoquant.app.Defaults; import isoquant.interfaces.iMainApp; import isoquant.kernel.db.DBProject; import isoquant.kernel.plugin.SingleActionPlugin4DB; import de.mz.jk.jsix.mysql.MySQL; import de.mz.j...
26.534483
125
0.758285
b86c215c4e6815bd56e71c2c041a2d7b511a2bd9
4,473
package com.muxistudio.jobs.ui.forum; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.muxistudio.jobs.R; import com.mu...
33.631579
105
0.667337
a4d33e2d4b5584115648296f3bce92c932d56a81
2,605
/* * Copyright 2015-2017 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...
24.345794
85
0.706334
1e56a77f427e113a38e78e84b3a25db6e66bd025
524
/* * Copyright (c) 2017 Hiylo Org. All rights reserved * Project: framework * File: CartException.java * Data: 11/27/17 7:54 AM * Author: hiylo */ package org.hiylo.components.exceptions; import java.io.Serializable; /** * @author hiylo * @date 2017年10月19日 08:09:34 */ public class CartException extends Bas...
20.96
74
0.715649
ea3d5c43c981fbde2c11bee020d9387cbff65586
3,401
package uk.org.retep.util; import java.awt.*; import javax.swing.*; import java.awt.event.*; /** * Display an Exception to the user * @author * @version 1.0 */ public class ExceptionDialog extends JDialog { // This is used to store the parent frame. // Classes like StandaloneApp set's this so that the // d...
24.120567
75
0.676566
aa5616f18734c220f0d4443f1174394e30d7468b
617
package io.cryptolens.models; public class DeactivateModel extends RequestModel { public int ProductId; public String Key; public String MachineCode; public boolean Floating; public DeactivateModel() { } public DeactivateModel(int productId, String key, String machineCode) { Pro...
22.851852
93
0.662885
cd2cb2c96eccae2deb98a3910dc30952b7aa053d
946
/* * Copyright (C) 2014 Michell Bak * * 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 agree...
28.666667
75
0.72833
27b15b782c0765805dbe57e8f979675f802f0b52
348
import java.io.*; public class exceptions_tryCatch { public static void main(String args[]) { try { int a[] = new int[3]; System.out.println("element four: " + a[4]); }catch(ArrayIndexOutOfBoundsException e) { System.out.println("Exception thrown: " ...
26.769231
58
0.525862
6d65e6099cc01b65a3b3207ed3187ab20a94671c
321
package us.dot.its.jpo.ode.model; public class OdeBsmData extends OdeData { private static final long serialVersionUID = 4944935387116447760L; public OdeBsmData() { super(); } public OdeBsmData(OdeMsgMetadata metadata, OdeMsgPayload payload) { super(metadata, payload); } } ...
20.0625
71
0.679128
ec5fb85bc7f59d46c7f59faac6d2ff67bed8b895
1,103
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * BQServiceSchedulingRetrieveInputModelServiceSchedulingInstan...
33.424242
194
0.835902
27d82144663f19716c1b83ec758dadde097650f4
4,744
package stego.main; import com.google.common.base.Throwables; import org.apache.sanselan.ImageFormat; import org.apache.sanselan.ImageReadException; import org.apache.sanselan.ImageWriteException; import org.apache.sanselan.Sanselan; import org.springframework.stereotype.Controller; import org.springframework.ui.Model...
47.919192
247
0.733769
80e8759d9580e80ba8fa9599280bb5ae0e318a39
1,770
package seedu.revision.logic.commands; import static seedu.revision.logic.commands.CommandTestUtil.assertCommandFailure; import static seedu.revision.logic.commands.CommandTestUtil.assertCommandSuccess; import static seedu.revision.testutil.TypicalMcqs.getTypicalMcqs; import org.junit.jupiter.api.BeforeEach; import o...
36.122449
111
0.774011
c91a8c6dad08262a819b0ecf1e4107c4f6b0a917
945
package frc.robot.utils; import org.montclairrobotics.sprocket.drive.DTStep; import org.montclairrobotics.sprocket.drive.DTTarget; import org.montclairrobotics.sprocket.drive.steps.GyroCorrection; import org.montclairrobotics.sprocket.geometry.Degrees; import org.montclairrobotics.sprocket.utils.Togglable; public cla...
25.540541
129
0.696296
7059ccc27c4621d20cfab627f31de7cd6c229134
351
package com.tvycas.countyinfo.network; import com.tvycas.countyinfo.model.BoundingBox; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; public interface CountryBoundingBoxApiService { @GET("search?format=json&limit=1") Call<List<BoundingBox>> getPosts(@Qu...
23.4
68
0.780627
4c818a4064de9e166f2495c6fdf27ebc59458ec0
2,098
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
25.277108
81
0.594852
e06c61e910e4b108794e73750ad480919d15815c
2,995
package com.haxademic.sketch.volume; import java.io.PrintWriter; import java.util.ArrayList; import com.haxademic.core.app.AppSettings; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.draw.shapes.MarchingCubes; import com.haxademic.core.hardware.kinect.KinectSize; import processing.core.PImage; i...
23.217054
118
0.66177
37189235a320cc58810637f6452fb4746beec3e5
327
package com.ceiba.tipo.comando; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @AllArgsConstructor @NoArgsConstructor public class ComandoTipoGlamping { private Long id; private String definicion; private Long cantPersonasMa...
15.571429
34
0.795107
1689b45e0103042638a10f49dc6ab931696b1e3e
123
package ch.itenengineering.naming.ejb; public interface AnnotationNamingRemote { public String echo(String message); }
15.375
41
0.804878
b1caac42df11c4c08ac4bff3cad37ee36a2330a5
6,282
package com.borzaindustries.dumbwiki; import android.app.Activity; import android.app.Dialog; import android.content.Intent; import android.os.Bundle; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuItem; import android.webkit.WebView; import android.webkit.WebViewClient; import android...
32.381443
83
0.566062
e518a3c6608f9465c0dea4425154d34ae7d9a281
1,643
package android.support.p001v7.app; import android.content.res.Resources.NotFoundException; import java.lang.Thread.UncaughtExceptionHandler; /* renamed from: android.support.v7.app.q */ /* compiled from: AppCompatDelegateImplBase */ class C0777q implements UncaughtExceptionHandler { /* renamed from: a */ fi...
37.340909
211
0.663421
14518f5183c4a17eb78b6e6bc2fb28403d67d1f8
1,160
package com.example.android.sunshine.app.watchview; import android.graphics.Bitmap; import android.graphics.Canvas; /** * Created by AArifi on 9/10/2016 * Project:Unsplash * Email "adonisarifi@gmail.com" */ public interface UnsplashContract { interface View extends BaseView<UnsplashContract.SunshinePresenter...
20.350877
73
0.687069
de7090f74fa2e8828dba3bf6ea88f4989e93e3e9
215
package designpattern.adapterpattern; /** * 适配器模式,将类的接口转换成想要的接口,来实现不同 的接口 * 真实的适配器,有的改变插座形状来匹配不同的插头。 * 有的会改变交流电为直流电这样执行复杂的操作。 * <p> * OO适配器:将现有的系统 和新增加的厂商类搭配使用是,写一个中间类。进行数据转换。 */ public class AdapterTest { }
17.916667
44
0.753488
922b3a49651ce2df09606fe46316fed5e44a4669
3,471
/** */ package org.talend.repository.generic.model.genericMetadata.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.impl.EFactoryImpl; import org.eclipse.emf.ecore.plugin.EcorePlugin; import org.talend.r...
29.415254
159
0.600691
f6eb3e1b5233f9eda170d2dc30f615206218537a
254
package net.accela.prismatic.annotation; /** * Anything with a back and front buffer that can be refreshed. */ public interface BufferRefreshable { /** * Refreshes the contents of this {@link BufferRefreshable}. */ void refresh(); }
21.166667
64
0.685039
40831a5ca454c93486d2c264ec8027e0c5993f6a
1,076
package com.veadan.recManage.recController; import com.veadan.config.resultFormat.JsonResult; import com.veadan.recManage.recModel.PrintDetail; import com.veadan.recManage.recService.PrintDetailService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.fact...
32.606061
78
0.795539
05c35751df8026121d7ad4a64c8d2f0650fc63c8
585
package Demo01File; import java.io.File; public class Demo03GetMethod { public static void main(String[] args) { File f1 = new File("F:\\wenjian"); System.out.println(f1.getAbsoluteFile()); System.out.println(f1.getName()); System.out.println(f1.toString()); System.out.prin...
30.789474
77
0.608547
81197bafc5d8f49ac44abd53f1d7ccadef13824a
12,093
/* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.governanceservers.openlineage.admin; import org.janusgraph.core.JanusGraph; import org.odpi.openmetadata.adminservices.configuration.properties.OpenLineageConfig; import org.odpi.openmetadat...
43.974545
191
0.667494
6b007c15d404b6d45917feadb9d0b2425bda7904
9,564
package uk.gov.hmcts.reform.hmc.helper; import org.springframework.stereotype.Component; import org.springframework.util.CollectionUtils; import uk.gov.hmcts.reform.hmc.data.ActualAttendeeIndividualDetailEntity; import uk.gov.hmcts.reform.hmc.data.ActualHearingDayEntity; import uk.gov.hmcts.reform.hmc.data.ActualHeari...
53.730337
117
0.732016
d9e9b2e5c207fbb285efaae3d89ff98e7b5bf883
165
package com.github.romankh3.templaterepository.springboot.dto; import lombok.Data; @Data public class LectureDTO { private Long id; private String name; }
16.5
62
0.763636
73d39d6cef4f9b29b0cba35d3e68df63e3b141cf
1,819
package com.wis.view; /** * Created by ybbz on 16/7/28. */ import java.io.IOException; import android.content.Context; import android.hardware.Camera; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.graphics.Bitmap; import android.graphics.Canvas; import...
23.320513
89
0.636064
000ba14d30e8f1f02b149e9d37b90731bec7fbff
5,400
/******************************************************************************* * Copyright (c) 2012 IBM Corporation. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v. 1.0 which accompa...
35.761589
105
0.671852
03c857f5f11f0133fed6ccfc5759d1c0bfd456cc
309
package io.renren.modules.app.dto; import java.util.ArrayList; import java.util.List; import lombok.Data; @Data public class TreeNode { protected int id; protected int parentId; protected List<TreeNode> children = new ArrayList<TreeNode>(); public void add(TreeNode node) { children.add(node); } }
17.166667
63
0.747573
0a61208011416362a4034e249224bf5ec1e43a50
23,600
/* * Copyright 2013-present Facebook, 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...
31.891892
99
0.685254
1d26096c1837a7e327e6a768d357af7b106a5d09
3,250
package com.wildsmith.material.playground; import android.content.Context; import android.util.Log; import android.view.View; import android.view.ViewGroup; import com.wildsmith.material.list.ListRow; import com.wildsmith.material.list.ListRowAdapter; import com.wildsmith.material.playground.rows.PlaygroundActionBarC...
31.553398
106
0.630154
aceffce511f9603b6f14ead8e38d9abb39509f5d
3,372
package CommandTree; import Errors.InvalidCommandException; import java.util.AbstractMap.SimpleEntry; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map.Entry; import java.util.ResourceBundle; import java.util.regex.Pattern; /** * This class takes in a command from...
32.114286
121
0.662515
8d68943bbfb4757a36baeb7d2099ecfd0545416b
29,758
/* * 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 etrt.system; import etrt.database.My_CNX; import java.awt.Color; import java.sql.PreparedStatement; import java.sql.ResultSet;...
52.950178
182
0.668459
aa43fc0803c8f225a1927b9866572cef2217ece4
1,922
package com.quasar.sika.design.server.business.role.controller; import java.util.List; import com.sika.code.result.Result; import com.sika.code.standard.base.controller.BaseStandardController; import com.quasar.sika.design.server.business.role.service.RoleService; import com.quasar.sika.design.server.business.role.po...
33.137931
72
0.744017