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
0bc9c886a0b6929aa14952fec9690f8099ae2198
284
package gr.istl.virtualtoolkitsc.widgets; public class PanelSelector { static PanelFactory factory; public static void setPanelFactory(PanelFactory panelFactory) { factory = panelFactory; } public static VirtualContainer createPanel() { return factory.createPanel(); } }
18.933333
64
0.78169
8a894a8b6d321e46b8cc2e3f2f35ca4e9460f923
1,490
// // Copyright (C) 2010-2016 Roger Rene Kommer & Micromata GmbH // // 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...
25.254237
81
0.734899
beae34ae95b295517e8532409899d03f866c48ec
655
package org.mage.test.cards.single.m21; import mage.constants.PhaseStep; import mage.constants.Zone; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; public class BurlfistOakTest extends CardTestPlayerBase { @Test public void boostOnCardDraw(){ // {2}{G}{G} // ...
26.2
79
0.683969
e88b5af0aa0b50828af9b41fa6a3c2accce8dbef
1,212
package e.a.a.a.y0.m; import e.a.a.a.y0.b.a1.c; import e.a.a.a.y0.b.a1.e; import e.a.a.a.y0.m.n1.h; import e.a.a.a.y0.m.n1.i; import e.t.g; import e.x.b.l; import kotlin.jvm.internal.DefaultConstructorMarker; public abstract class k0 extends i1 implements h, i { public k0() { super((DefaultConstructorMark...
28.186047
114
0.502475
f79f6e1bbb387df8333e80dcd46629e068233097
644
// This is a generated file. Not intended for manual editing. package com.intellij.plugin.powershell.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface PowerShellCommandCallExpression extends PowerShellExpression, PowerShellReferencePsiElement { @No...
24.769231
110
0.810559
5129c999d4b789731e2e606a53ab732331465536
3,877
/** * This file is part of the Java Machine Learning Library * * The Java Machine Learning Library is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) ...
35.568807
94
0.551199
7044743d3ba3c30a915290ebd69b4fe74ae66ee3
1,569
package com.sipios.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.time.Duration; /** * This class helps define the properties that can be loaded in the application. * Spring Boot will fill the valu...
30.173077
299
0.730402
80e0d93fe0486b8c6d12163c99da9ea0d5238b33
414
package @packageName@.pageobjects; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import com.cognifide.qa.bb.qualifier.PageObject; @PageObject public class SearchComponent { @FindBy(css = "input[type=search]") private WebElement searchField; public void searchF...
21.789474
49
0.731884
491c7ece59890bcd7e0d82ededfac564f8676365
11,487
/* * 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 view; import java.sql.Connection; import java.sql.ResultSet; import javax.sql.PooledConnection; import javax.swing.JOptionPane...
43.511364
165
0.581179
e154ff6675147072abbcae9f29c03d3bf9b94fba
1,654
package l04.agendaContatos; import java.util.Scanner; public class AgendaContatos { public static void main(String[] args) { Scanner input = new Scanner(System.in); Contato[] agenda = new Contato[5]; int pos = 0; String contFixo = new String(); String contCelular = new String(); for (int i = 0; i < 5; ...
29.017544
89
0.588271
b14508c0f6cb0a6e24d54ee71cd27810333e97dd
1,743
package sample; import java.io.IOException; import javax.annotation.Priority; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerRequestFilter; import javax.ws.rs.core.Application; import org.glassfish.jersey.server.ResourceCon...
25.632353
81
0.660356
e916392bfe502957ed40667e1a2bcea12f7d3e3b
332
package View.Help; import View.UserHistory; public class sumHelp extends Help{ public static final String sumHelp = "Syntax: SUM expr1 expr2\n" + "returns sum of the values expr1 and expr2"; public sumHelp(UserHistory userHistory) { super(userHistory); this.helpString = sumHe...
20.75
68
0.665663
14d9b6ccab142dd41d8eb58c8a5b955c60bd59ab
1,222
/** * 7. 整数反转 * * https://leetcode-cn.com/problems/reverse-integer/ * * @author yipengup * @date 2021/8/24 */ public class Lc7 { public static void main(String[] args) { int x = -3; System.out.println(x % 10); // System.out.println(new Test7().reverse(x)); } /** * 主要考虑两...
21.438596
54
0.483633
623988b1357f9a1ed90aa7474a34da99b83d7a2b
1,353
/* * Copyright 2021 Haulmont. * * 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...
35.605263
118
0.742794
89ffcadbf91f03f73ac8431d53b19b3d4d05b313
378
package com.ort.dbflute.exbhv; import com.ort.dbflute.bsbhv.BsAbilityTypeBhv; /** * The behavior of ABILITY_TYPE. * <p> * You can implement your original methods here. * This class remains when re-generating. * </p> * @author DBFlute(AutoGenerator) */ @org.springframework.stereotype.Component("abilityTypeBhv")...
23.625
59
0.759259
3a505079fceada024e8e2028fc1bfb77b485fcdd
154
package com.example.dao; import com.example.entities.User; public interface UserDao { User getByEmail(String email); boolean add(User user); }
15.4
34
0.733766
7a743515855c90333630a469cf5c825c63830e9b
1,787
package me.ehp246.aufrest.demo.postman; import java.util.concurrent.atomic.AtomicReference; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import com.fasterxml.jackson.annotation.JsonInclude.I...
30.810345
97
0.786234
04785b40f43906adee3ca6bf3baee52f2ab1207c
7,583
/* * 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 ...
48.608974
170
0.67203
e2ba21f4a5ac6ab89e496f87337f80ea8c4aecee
3,568
package com.dsi.parallax.ml.classifier.smoother; import com.dsi.parallax.ml.util.pair.FirstDescendingComparator; import com.dsi.parallax.ml.util.pair.PrimitivePair; import com.google.common.collect.Lists; import java.util.Collection; import java.util.Collections; import java.util.List; import static com.go...
26.42963
202
0.660034
e982cc1f5a32d01481e15fccca24a805d15005b6
983
package com.ndd.review.controller.user; import com.ndd.review.bean.EditorBean; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import java.util.ArrayList; import java.util.List; @Controller p...
29.787879
62
0.690743
96c482f5ec56c133ec6d023aece132d42489c881
5,080
/** * Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved. * * 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 fil...
39.6875
146
0.715551
5dbc71d06e77d5c98c10898b5676f08cdc188cb4
691
package com.yuqi.mrrs.subject; import com.yuqi.yuqi.exception.MrrsExceptionHandler; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.hystrix.EnableHystrix; import org.springframework.cloud.openfeign.EnableFe...
32.904762
68
0.823444
d1fbaba2ce2e30d19b7a127de434f48a9716faa3
7,986
package io.github.marwlod.baseball_elimination; import edu.princeton.cs.algs4.FlowEdge; import edu.princeton.cs.algs4.FlowNetwork; import edu.princeton.cs.algs4.FordFulkerson; import edu.princeton.cs.algs4.In; import edu.princeton.cs.algs4.StdOut; import java.util.ArrayList; import java.util.Arrays; import java.util....
41.811518
132
0.612822
160dacc26aec99ce7765fe6909fd2b1758360d6b
502
package com.jamierf.mediamanager.healthchecks; import com.codahale.metrics.health.HealthCheck; import com.jamierf.mediamanager.db.ShowDatabase; public class DatabaseHealthcheck extends HealthCheck { private final ShowDatabase shows; public DatabaseHealthcheck(ShowDatabase shows) { this.shows = shows...
26.421053
102
0.741036
19e88d9fec4fd18b24a867275e7b9cd4f87c232c
1,060
package com.duanxr.pgcon.core.detect; import com.duanxr.pgcon.core.PGPool; import com.duanxr.pgcon.event.FrameEvent; import com.google.common.eventbus.EventBus; import com.google.common.eventbus.Subscribe; import java.util.concurrent.CountDownLatch; import lombok.SneakyThrows; public abstract class FrameReceiver { ...
24.651163
58
0.724528
9c7b94216a522eb48bbc1a11046d786c755f25c5
9,770
package kiz.learnwithvel.notes.ui.note; import android.annotation.SuppressLint; import android.app.Activity; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.GestureDetector; import android.view.MotionEvent; import android.view.View; import android.view.inputmethod....
31.314103
105
0.61607
a79adfe2c7677f0dcc8cb23e3110a57eda8d47d7
1,048
package Process; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; public class CallableImpl implements Callable<String> { public static void main(String[] args) { Callable<String> callable = new CallableImpl("haha "); FutureTask<String...
20.54902
61
0.68416
35c3911cd3ffaf96d35cebd73516ae0539d8027a
8,883
package javase.data.array.container.collection; import java.util.*; import java.util.Collection; import java.util.Comparator; /** * This class consists exclusively of static methods that operate on or return * collections. It contains polymorphic algorithms that operate on * collections, "wrappers", which return ...
83.801887
195
0.734662
81d18c636e39ab133b14ea258f89ba0871bf328d
408
package com.jd.blockchain.binaryproto.impl2; import com.jd.blockchain.utils.io.BytesOutputBuffer; import com.jd.blockchain.utils.io.BytesSlice; public interface DynamicValueConverter extends ValueConverter { /** * 写入一个动态长度的值;以一个头部的长度字节开始 * @param value * @param buffer * @return */ int encodeDynamicValue(...
21.473684
64
0.779412
85bea28d1edddc514b781d0a74725ecdeec59d21
724
package Model; public class ModelTable1 { String indexIDNo, name, party; public ModelTable1(String indexIDNo, String name, String party) { this.indexIDNo = indexIDNo; this.name = name; this.party = party; } public String getIndexIDNo() { return indexIDNo;...
16.454545
70
0.551105
dc1c36e3fff4105323f725bf73e82acab15eeb70
495
package com.baeldung.app.api; public class Flower { private String name; private Integer petals; public Flower(String name, Integer petals) { this.name = name; this.petals = petals; } public String getName() { return name; } public void setName(String name) { ...
17.068966
48
0.587879
ac5d201a527f961e90706628af7adf5e49174b29
1,472
import java.net.URL; import java.util.List; import com.shotgunsoftware.*; class FindExample { public static void main(String[] args) { try { URL u = new URL("http://yourshotgunserver.com/api3/"); Shotgun s = new Shotgun(u, "kp_testing", "9e795d3df53d1aea43b61f7c4a8dfa93c29c4ead"); ...
36.8
99
0.539402
e7318976ef175feabd3b58082848fef6d6cee387
1,907
package wraith.fwaystones.util; import net.minecraft.server.MinecraftServer; import net.minecraft.util.Identifier; import wraith.fwaystones.FabricWaystones; import java.util.HashMap; import java.util.HashSet; public final class WaystonesWorldgen { public static final HashMap<Identifier, Identifier> VANILLA_VILL...
43.340909
172
0.733613
6c421b6bd2ce46afa9b21adff02b6f40817a0159
3,757
package com.petkit.android.http; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.zip.GZIPInputStream; import org.apache.http.Header; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; im...
33.846847
127
0.565345
10df7d2b9c8673fb96fac119443884f81efa3a49
330
package global.mile.crypto; import org.bitcoinj.core.Base58; import java.util.Arrays; import java.util.zip.CRC32; import java.util.zip.Checksum; public class Signature extends Bytes { public static final int SIZE = 64; public Signature(byte[] data) { super(data); assert data.length == SIZE;...
17.368421
38
0.687879
3e36931fd072a2c0275e67cf5bc128bf789843b2
12,166
/* Copyright (c) 2012, The Smith-Kettlewell Eye Research Institute 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 ...
29.965517
144
0.689298
6a855a7dcc694d123cc5b7cc70adff914910cade
1,150
/** * Copyright 2021 Avgustin Marinov * * 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...
34.848485
129
0.728696
fa3c1b2e9af3e2dee395015aedefb06425173ed3
52,141
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.05.18 at 05:13...
30.653145
159
0.503519
b72ad455d55d2f1f847a4b51110cde0d80782bcd
4,395
package tca; import java.text.DecimalFormat; import org.jfree.chart.ChartFactory; import org.jfree.chart.JFreeChart; import org.jfree.chart.annotations.XYLineAnnotation; import org.jfree.chart.plot.PlotOrientation; import org.jfree.chart.plot.XYPlot; import org.jfree.data.xy.XYDataItem; import org.jfree.data.xy.XYSer...
30.950704
108
0.65256
5b46c7240ad5d5e12009865da7614290a8c46a9e
2,082
package org.jasig.ssp.util.importer.job.twodottwo; import java.math.BigDecimal; import java.util.HashMap; import java.util.Map; import junit.framework.Assert; import org.apache.commons.lang3.time.DateUtils; import org.jasig.ssp.util.importer.job.PrototypeJobRunnerTest; import org.junit.After; import org.junit.Before...
32.53125
141
0.732469
dfb745cba8f39c8f6024cf4d78f3b196a1067ee0
1,341
package org.xtwy.media; import java.lang.reflect.Method; import java.util.Map; import org.springframework.context.ApplicationListener; import org.springframework.context.event.ContextRefreshedEvent; import org.springframework.core.Ordered; import org.springframework.stereotype.Component; import org.springframework.st...
23.12069
103
0.721104
3c8f8977716021e92efeca9c1c2f64e739b0dbab
2,498
package mat.client.expressionbuilder.modal; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.VerticalPanel; import com.google.gwt.user.client.ui.Widget; import mat.client.expressionbuilder.model.DateTimeModel; import mat.client.expressionbuilder.model.ExpressionBuilderModel; i...
29.388235
149
0.783427
07a8feed9b29c12dc82e509b5ae00990bc7928d3
402
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class MapTest { Map testMap = new Map(1, "NM", 1); @Test void testGetId() { assertEquals(testMap.getId(), 1); } @Test void testGetMod() { assertEquals(testMap.getMod(), "NM"); } @Tes...
18.272727
49
0.589552
00df4081695d67ea69c842bc4fc78ded5cfdf325
2,962
/* * 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 ...
34.847059
76
0.650236
4cac4b42bd063667baca05c087e4ff0813f1e0c2
5,146
package AQSaga.util; import java.io.*; import java.util.Arrays; import static java.lang.System.*; public class PromptUtil { static boolean getBoolValueFromPrompt(String variableName, String defaultValue) throws IOException { return getValueFromPrompt(variableName, defaultValue).equalsIgnoreCase("y")?tru...
33.633987
105
0.472017
09f7fd7752a2dcf985848e0c4821f24b16a0cf91
504
package com.thoughtworks.wzz.stream; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; /** * @Date 2021/8/27 5:54 下午 * @Created by zhouzhou.wang */ public class StreamFilter { public static void main(String[] args) { List<Integer> list = Arrays.asList(-1, -2, 0, 3); ...
25.2
57
0.625
b8150a5d3cc82ec4638f7d978afcc03c769657eb
499
import java.util.Scanner; public class Sum_Even { public static void main(String[] args) { int total = 0; Scanner teclado = new Scanner(System.in); for (int i = 0; i < 2; i++) { System.out.println("Digite um numero "); int numero = teclado.nextInt(); ...
29.352941
70
0.490982
eb53a51c3712bc2957efab1925058f3007fc1eb7
2,746
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
33.084337
117
0.672251
4ce8f651f526abadb77186afdbd576ebc3a8c007
841
package mirrorEnds; public class MirrorEnds { //Retorne a maior String que esteja no comço da String dada "string" e que seja o espelho de outra que esteja no fim. //É possível que se sobreponha. Ex.:(("abXYZba") → "ab"; ("abca") → "a"; ("aba") → "aba"). public String mirrorEnds(String string) { i...
35.041667
121
0.535077
d7f08c2de21090f040708bc2725d1b0019221ea6
4,047
package com.ericyuegu.whaddyahavin; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.transition.Slide; import android.util.Log; import android.view.Gravity; import android.view.Window; import android.widg...
38.913462
119
0.64171
5b4dda96d814c9489c611deac490d7ed436ba2fb
244
package com.github.gaboso.behavior.visitor.without.element; import com.github.gaboso.behavior.visitor.without.AtvPart; public class Fender implements AtvPart { @Override public double calculateShipping() { return 3; } }
18.769231
59
0.733607
55fbf4cb557f34a83af24f918591cbde5c739271
332
package com.ggj.java.spring.intercept; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import test.BaseTest; import static org.junit.Assert.*; public class MovieTest extends BaseTest { @Autowired private Movie movie; @Test public void paly() { movie.paly...
19.529412
62
0.713855
e8c36295592568d0c53828331878ab4635468332
2,898
/** * Copyright (C) 2015-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICE...
28.693069
136
0.717046
e24e2f3aa642b900ef03064cbcf9bd2b6869f7cc
3,767
package com.cpacm.core.action; import android.util.Log; import com.cpacm.core.mvp.presenters.LoginIPresenter; import com.cpacm.core.oauth.MoefouApi; import com.github.scribejava.core.builder.ServiceBuilder; import com.github.scribejava.core.model.OAuth1AccessToken; import com.github.scribejava.core.model.OAuth1Reques...
34.245455
89
0.500664
71a09ca67f611c92fb3f192bd405e0c689fa9c28
7,616
/* * Copyright 2010 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 in w...
35.423256
80
0.641544
6c70656087fb55ca6edac1035a9f287800bfa804
1,294
package com.vti.guardian.nio.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; public class AppConfig { private String name; private String host; private String zkurl; private int port; public String getName() { return name; } public v...
19.313433
97
0.702473
10c6faa9275c165ab70284b6addd6efccd6978f0
21,523
/* * 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.29511
157
0.567997
9478541fdc50b11f689b498c59a8b24d3ccc4700
1,221
package com.blevinstein.xade; import com.google.common.collect.ImmutableList; import java.util.List; public class FloodStrategy implements Strategy { private World world; private Player player; private int atom = 1; public FloodStrategy(World world, Player player) { this.world = world; this.player = ...
25.978723
70
0.613432
2caebb859b0070264711e865ffe70a5746f0d29f
934
/* * Created 05.09.18 02:44. * Last modified 05.09.18 02:44 * This file is part of KingdomHallTimer which is released under "no licence". */ package jw.kingdom.hall.kingdomtimer.downloader.model; import jw.kingdom.hall.kingdomtimer.downloader.entity.ScheduleDownloader; import jw.kingdom.hall.kingdomtimer.download...
35.923077
98
0.788009
bba8393c18156310c6b8d7b2ea555f7572c45390
532
package com.ebay.kshantaraman.simpletodo; /** * Created by kshantaraman on 11/15/15. */ public class Item { private long id; private String description; public long getId() { return id; } public void setId(long id) { this.id = id; } public String getDescription() { ...
16.625
52
0.609023
03513f09854666c4aa5d4e24d16e35d66db37f30
3,846
/* ******************************************************************** Licensed to Jasig under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Jasig licenses this file to you under the Apache License, ...
21.606742
71
0.576963
50d7a31e5767a5a3037879480198a4d20ad3a62a
5,454
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
34.0875
107
0.651999
d19ebd802000f35dcd55ea96445126688511dfe5
4,953
/* * Copyright 2014 astamuse company,Ltd. * * 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 ...
36.153285
126
0.642843
433ba735bbd28943bdc3db3d1a7fe2afc06be0bf
9,300
package aggregator.view; import java.awt.Desktop; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.ResourceBundle; import aggregator.*; import aggregator.constants.PlatformName; import javafx.beans.value.ChangeListener; import javafx.beans.value.Observ...
24.603175
109
0.605054
068d9c7212769de0f84c298184ded1c3d226228a
1,802
package com.gigaspaces.jdbc.model.table; import com.gigaspaces.jdbc.model.QueryExecutionConfig; import com.gigaspaces.jdbc.model.join.JoinInfo; import com.gigaspaces.jdbc.model.result.QueryResult; import com.j_spaces.jdbc.builder.QueryTemplatePacket; import com.j_spaces.jdbc.builder.range.Range; import net.sf.jsqlpars...
29.540984
97
0.785239
41ae75d9444e6b324e8b8ebae9b6ed9b9f0b467c
1,119
package io.zucchiniui.backend.feature.dao; import io.zucchiniui.backend.feature.domain.Feature; import io.zucchiniui.backend.feature.domain.FeatureQuery; import io.zucchiniui.backend.support.ddd.morphia.BaseMorphiaQuery; import xyz.morphia.query.Query; import java.util.Collection; class FeatureQueryImpl extends Base...
27.292683
82
0.700626
0811596b4171230792829216615e77e9c70a3431
351
package org.acme; import io.fabric8.kubernetes.client.KubernetesClient; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; @ApplicationScoped public class BeanWithInjection { @Inject KubernetesClient kubernetesClient; public KubernetesClient getKubernetesClient() { re...
20.647059
53
0.783476
dc90317204ff6e2b1f36bb9e6aec7f20e95a7092
6,492
/** Generated by the default template from graphql-java-generator */ package ${packageUtilName}; /** * @author generated by graphql-java-generator * @see <a href="https://github.com/graphql-java-generator/graphql-java-generator">https://github.com/graphql-java-generator/graphql-java-generator</a> */ import java.io....
35.47541
203
0.761245
a138110ab681b42053f74ddb4048194b3b0e0f8b
326
package com.nullptr.one.image; import com.google.gson.annotations.SerializedName; /** * @AUTHOR nullptr * @DATE 创建时间: 2018/7/18 * @DESCRIPTION */ public class ImageObject { @SerializedName("data") private ImageDetail imageDetail; public ImageDetail getImageDetail() { return imageDetail; ...
15.52381
50
0.690184
15308cfc6ef5f8867ee1111c5e6fb62c5433c51e
1,365
package org.softuni.exam_prep_sboj.service; import org.apache.commons.codec.digest.DigestUtils; import org.modelmapper.ModelMapper; import org.softuni.exam_prep_sboj.domain.entities.User; import org.softuni.exam_prep_sboj.domain.models.service.UserServiceModel; import org.softuni.exam_prep_sboj.repository.UserReposito...
35
101
0.740659
3d3186d945819236010698a04dc838526d398e13
5,004
// Copyright 2017 Twitter. 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 applicable ...
35.239437
95
0.695843
c8e422f0092eb8ec7dec6c856104b5ec805e87a4
2,692
package com.goldenebrg.authserver.mvc; import com.goldenebrg.authserver.rest.beans.UserDto; import com.goldenebrg.authserver.services.mvc.SignUpControllerModelController; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Con...
35.893333
113
0.695765
f2f9044907709c3f9d495678fb75f31433889011
273
package com.batis.application.database.repository.jpa.base; import com.batis.application.database.entity.physics.DeviceInfo; import com.batis.application.database.repository.jpa.CustomQuery; public interface DeviceInfoRepository extends CustomQuery<DeviceInfo, Long> { }
34.125
77
0.846154
4c5a0ab33af518ea679f9808808fb365bc85360d
1,908
package com.alibaba.dubbo.config.spring.context.annotation; import com.alibaba.dubbo.config.AbstractConfig; import org.springframework.core.annotation.AliasFor; import java.lang.annotation.*; /** * Enables Dubbo components as Spring Beans, equals * {@link DubboComponentScan} and {@link EnableDubboConfig} combinati...
31.278689
90
0.705975
74b7d6c2651ca8010616dcc9c5934c02ecea8cde
11,972
/* * Copyright 2016-2018 MarkLogic Corporation * * 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...
35.630952
121
0.690862
ab6bb78f88bc3bcf8aac7766d322ab0e09733952
2,680
package DynamicProgramming; /** * Max 1D Range Sum (Kadane’s algorithm) * <pre> * [1] page.129 , [2] page.136, [3] page.132, [6] page.21 * UVA Problem 507 * For A = [ –2,11,–4,13,–5,–2 ] the solution will be 20, i = 1: j = 3 * </pre> * * @author lmperez * @see Max2DRangeSum */ public class Max1...
29.450549
80
0.427239
9686f70d9a4ca66e429bdbf7c9817ff91b57169e
113
package com.isscroberto.onemovie; /** * Created by isscr on 27/03/2017. */ public interface BaseView<T> { }
11.3
34
0.681416
b00c4b9390c694646c5fc177c27c7245898fe2d3
1,291
/** * 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.resourcemover.v2021_01_01; import java.util.Coll...
30.738095
80
0.726569
84a6a018734bcc87aa250835409010d7376a270f
35,073
package edu.up.cs.androidcatan.catan; import android.util.Log; import java.util.ArrayList; import java.util.Random; import edu.up.cs.androidcatan.catan.actions.CatanBuildCityAction; import edu.up.cs.androidcatan.catan.actions.CatanBuildRoadAction; import edu.up.cs.androidcatan.catan.actions.CatanBuildSettlementActio...
51.502203
265
0.573404
0263783a294c2edb303bdc858405833135fc5b0d
685
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // chaintag source file // Copyright (c) 2019 by Elmar Sonnenschein / esoco GmbH //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ package de.esoco.ewt.js.html; import de.esoco.ewt.js.event.EventTarget; import ...
29.782609
78
0.49635
079edfac6dc0245fed86b047f9a0606bf7ad5279
2,127
package cn.com.nwdc.db.rdb.common.utils; import cn.com.nwdc.db.anno.cache.TableInfoHelper; import cn.com.nwdc.db.anno.cache.info.TableInfo; import cn.com.nwdc.db.rdb.common.type.TypeAdapterResolver; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.ReflectionUtils; import java.l...
33.234375
116
0.624824
68feab905b2834dac9ab1632dcd0e43ea4639c80
3,180
/* * Copyright (c) 2012-2014 Jeffrey Guenther * * 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, me...
31.8
73
0.677673
45e8e0ab3b223026168bace73781ae55b0396fbc
10,944
/** * @Title: PersonPage.java * @Package com.anjilang.controller * @author linqingsong * @date 2015年1月8日 */ package com.anjilang.controller; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import net.sf.json.JSONArray; import org.springfram...
30.655462
117
0.719207
52dc0107ae9b201fd32a5b409bd129ac229ae222
1,909
module pck.dbms { requires java.naming; requires javafx.controls; requires javafx.fxml; requires javafx.web; requires org.controlsfx.controls; requires com.dlsc.formsfx; requires org.kordamp.ikonli.javafx; requires org.kordamp.bootstrapfx.core; requires mssql.jdbc; requires jav...
28.073529
82
0.722892
44b47b2e178cd83f7282811974f14f472bc6a9f2
3,703
package com.kirich1409.svgloader.glide; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.Restric...
38.175258
104
0.703484
355dcbf9e3be7f4222757d2a88ef1989426b46d0
435
package uff.dew.avp.localqueryprocessor.localquerytask; /** * * @author Alex */ abstract public class LQT_Msg_Help extends LQT_Message { private int a_offerNumber; /** Creates a new instance of LQT_Msg_Help */ public LQT_Msg_Help( int idSender, int offerNumber ) { super( idSender ); ...
20.714286
58
0.657471
1c461c327028996ddc7b17da93175458d083e447
3,554
/* * 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 ...
44.987342
180
0.767586
21ba8e89dfa1dba21c27809835da72fed81d7722
2,578
import java.io.*; import java.util.*; public class uniquemst { private static final String PROG = "uniquemst"; private static int[] parents; private static int n; private static int m; private static boolean first; private static class Edge implements Comparable<Edge> { private int u; private int v; priva...
23.017857
61
0.597362
5ecf8ea5a43a74881cb58e7a28c75fd874bad792
325
package com.angkorteam.fintech.ddl; public interface MixXbrlNamespace { public static final String NAME = "mix_xbrl_namespace"; public interface Field { public static final String ID = "id"; public static final String PREFIX = "prefix"; public static final String URL = "url"; ...
18.055556
59
0.667692
be67607f5a8c89faf95156893744a96c052bbeec
1,740
package com.krevin.crockpod.podcast; public class Podcast { private String mName; private String mRssFeedUrl; private String mAuthor; private String mLogoUrlSmall; private String mLogoUrlLarge; public Podcast(String name, String rssFeedUrl, String author, String logoUrlSmall, String logoUrlLa...
27.1875
115
0.618391
0843c80b880d0562586c4496a534fa9d76ac08b2
1,031
package net.n2oapp.framework.config.io.control.plain; import net.n2oapp.framework.api.metadata.control.plain.CodeLanguageEnum; import net.n2oapp.framework.api.metadata.control.plain.N2oCodeEditor; import net.n2oapp.framework.api.metadata.io.IOProcessor; import org.jdom2.Element; import org.springframework.stereotype.C...
33.258065
95
0.71581
542f05d7ed821ec01be2091724470a45f5ec2a4c
1,140
package com.walmartlabs.concord.it.amazons3; /*- * ***** * Concord * ----- * Copyright (C) 2017 - 2018 Walmart 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 * * ...
25.909091
75
0.654386
592d6251035c9fa8f6f7d8cc4897ca88bc4e935a
536
package com.wy.enums; import com.wy.common.PropConverter; import com.wy.common.StatusMsg; /** * 所有只有2种状态的字段比较或者0,1赋值:0非,1是 * * @author ParadiseWY * @date 2020年4月7日 下午4:21:12 */ public enum CommonEnum implements StatusMsg, PropConverter { NO() { @Override public Object getValue() { return "否"; } }, ...
14.105263
60
0.654851
dbf3e71e27cb66297cff382c04c81d590be38bff
283
package cn.evergrand.it.bluetooth.connect.listener; import android.bluetooth.BluetoothGattCharacteristic; public interface WriteCharacterListener extends GattResponseListener { void onCharacteristicWrite(BluetoothGattCharacteristic characteristic, int status, byte[] value); }
35.375
101
0.85159
e1565ff36c60c88f539dfe73f3da53b58edb295f
405
package io.github.fatihbozik.oca.abstractclasses.question3; abstract class House { protected abstract Object getSpace(); } abstract class Room extends House { abstract Object getSpace(Object list); } abstract public class Ballroom extends House { public abstract Object getSpace(); public static void...
22.5
59
0.738272
b80231f4765fd9926f498ec1a6c37ca2303f7f7f
204
package org.knowm.xchange.bitfinex.dto; public class BitfinexException extends RuntimeException { public BitfinexException() {} public BitfinexException(String message) { super(message); } }
18.545455
57
0.759804
90a625cbc9b5a6e7f175387cda0ca1a69a1139cc
568
package io.github.wdpm.jdk9; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; public class ImmutableCollectionSample { // in Java 8 Map<Integer, String> emptyMap = new HashMap<>(); Map<Integer, String> immutableEmptyMap = Collections.unmodifiabl...
27.047619
83
0.674296
b0fcb01e765a4dd9e8f1aa0ae8661641dbefcbc6
7,539
package com.quittle.androidemulator; import com.android.build.gradle.BaseExtension; import com.android.build.gradle.internal.dsl.DefaultConfig; import io.mockk.impl.annotations.MockK; import io.mockk.junit5.MockKExtension; import org.gradle.api.Project; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter...
37.507463
117
0.692134
e64b1871ce07619853c23b0bfadeadc9870a812c
1,263
// Part of Measurement Kit <https://measurement-kit.github.io/>. // Measurement Kit is free software under the BSD license. See AUTHORS // and LICENSE for more information on the copying conditions. package io.ooni.libndt.api; import java.util.HashMap; import java.util.Map; public class NDTSettings { // Implemen...
31.575
79
0.70863
1189304d6e33f2995c32451936477f0d646fe2c1
1,869
package com.bojan.sdk.myokhttp.body; import com.bojan.sdk.myokhttp.response.IResponseHandler; import java.io.IOException; import okhttp3.MediaType; import okhttp3.RequestBody; import okio.Buffer; import okio.BufferedSink; import okio.ForwardingSink; import okio.Okio; import okio.Sink; /** * 重写request body 设置上传进度监听...
27.895522
91
0.679508