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
20ea3b279f878b41aefa1584c14c5a750a4ddcef
981
import java.io.FileOutputStream; import java.net.URL; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; public class JavaRethumbExample { public static void main(String [] args) throws Exception { // First apply a square operation, then convert to PNG format. Str...
37.730769
155
0.698267
c57cac510519fc19f528e6062f07862f8ab96f02
5,602
/******************************************************************************* * Copyright 2021 Cognizant Technology Solutions * * 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 * * ...
50.468468
177
0.766333
55d7d5da081279539d6ac038733c77e6ea6b1c57
8,115
/** * 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...
40.373134
98
0.669501
315300e0e0496ce987f0c0b155108f277de77b76
3,860
// -------------------------------------------------------------- // java_common/mcached_manipulate.java // // May/28/2012 // -------------------------------------------------------------- import java.io.PrintWriter; import java.util.HashMap; import com.danga.MemCached.MemCachedClient; import net.arnx.jsonic.JSO...
24.74359
88
0.531088
7c24ff5be36ee9d2f4973ed210ccf968a45dcaf3
859
package org.zhxie.java.string.operation; import static org.junit.Assert.*; /** * Created by zhxie on 6/4/2018. */ public class FilterStarInStringTest { @org.junit.Test public void testFilterStar() throws Exception { assertEquals("**", FilterStarInString.filterStar("***")); assertEquals("*qq...
33.038462
70
0.640279
c1851acbf9815c104a98095a567c933c8349d1b9
816
package com.evliion.ev.payload; /** * */ public class ApiResponse { private Boolean success; private String message; private Long id; public ApiResponse(Boolean success, String message) { this.success = success; this.message = message; } public ApiResponse(Boolean success, ...
17.361702
66
0.621324
63e9e324a5738da0262e5cedf11de397a3fad7c9
4,739
/* * Copyright (C) 2014 Camptocamp * * This file is part of MapFish Print * * MapFish Print 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 3 of the License, or * (at your option) any l...
34.34058
139
0.685799
3464bfa1b65b34b4e693106575ba9ab8c7f52fec
225
package io.toolisticon.byoct.jpa.manytomanyprocessor.testmethod; import javax.persistence.ManyToMany; public class TestcaseValidUsage { @ManyToMany() String method( String parameter) { return null; } }
18.75
64
0.733333
2397387588fb1fc2a175945a5f79a53a1c05bb40
823
package main.utils.votes.api.discordbotlist; import java.util.concurrent.CompletionStage; public interface DBLApi { CompletionStage<Void> setStats(int guilds); public static class Builder { private String botID; private String token; public Builder setToken(String token) { ...
24.939394
83
0.580802
5ecd33a401956b215534687f15bb56c097614d37
428
package pl.altkom.asc.lab.micronaut.poc.policy.service.api.v1.events; import pl.altkom.asc.lab.micronaut.poc.policy.service.api.v1.events.dto.PolicyDto; public class PolicyTerminatedEvent { private PolicyDto policy; public PolicyTerminatedEvent(PolicyDto policy) { this.policy = policy; } pub...
22.526316
82
0.71028
8bd12e047c0e0562ce18b58fb55a066c2939773a
21,773
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
51.840476
140
0.669499
2a530674bd0aa2c0636ce1ec05dfe92134d939de
3,674
package com.entrevista.service; import com.entrevista.beans.Session; import com.entrevista.entity.Client; import com.entrevista.repository.ClientRepository; import com.entrevista.utils.Asserts; import com.entrevista.utils.Constants; import com.entrevista.beans.SignIn; import org.springframework.http.HttpStatus; import...
36.376238
135
0.68209
7189858ae062e1a777a28de0af36bea1d0b827f2
2,997
package com.blocklaunch.blwarps; import com.blocklaunch.blwarps.data.WarpDataQueries; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.flowpowered.math.vector.Vector3d; import org.spongepower...
26.522124
143
0.603604
3f0ddf44d32c79b222049e7f6bd681f7595c94e0
1,969
package org.yeastrc.xlink.www.web_utils; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.yeastrc.auth.dao.AuthUserDAO; import org.yeastrc.xlink.www.constants.AuthAccessLevelConstants; import org.yeastrc.xlink.www.objects.ProjectTblSubPartsForProjectLists; imp...
37.150943
133
0.777044
b882843fa29fb7d284e9d28ff94a0e413ded2f08
2,045
package com.snk.door.service.impl; import com.snk.common.core.text.Convert; import com.snk.door.domain.CwaHoliday; import com.snk.door.mapper.CwaHolidayMapper; import com.snk.door.service.ICwaHolidayService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Au...
21.526316
91
0.661125
5247562adf77c217b0dd0c306f1d27307441faf3
1,392
/* * This file is generated by jOOQ. */ package de.vorb.sokrates.db.jooq.tables.pojos; import java.io.Serializable; import javax.annotation.Generated; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.8" }, comments = "This clas...
18.810811
59
0.588362
abe8c6c07c2863047dd306d3dcbeb986100ddec1
11,717
package tpe.fruh_razzaq_jando.pue1; /** * Diese Klasse implementiert einen Bruch * * @author TPE_UIB_01 */ public class Bruch implements Cloneable { public static final int HASHSHIFT = 32; // ================================================================================ // Properties // ========...
30.753281
88
0.544935
f4eca4c1361ab0e3c214bc98fe8ad8fed5b821a9
3,710
package org.cloud.sonic.controller.services.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.cloud.sonic.common.http.RespEnum;...
38.645833
124
0.686792
031bd40e5fe840182e8f3a9361d008188c227fb7
18,096
/*- * << * task * == * Copyright (C) 2019 sia * == * 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...
38.177215
179
0.645999
0d9ca8b81c7c9d2b036a35c16a2d5ad3c429940f
1,826
package com.vimukti.accounter.core; import java.util.HashMap; import java.util.Map; import org.json.JSONException; import com.vimukti.accounter.web.client.Global; import com.vimukti.accounter.web.client.exception.AccounterException; import com.vimukti.accounter.web.client.externalization.AccounterMessages; ...
21.738095
75
0.714677
3a48be69deb87d28dddc7d5ea781b065a32cd2c3
5,924
/* * Copyright 2019 Yevhenii Voievodin * * 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 ...
42.618705
149
0.708136
181f3b7256546228c2f307c2de50aacddfda5d70
344
package io.renren.modules.miniapp.service; import com.baomidou.mybatisplus.service.IService; import io.renren.common.utils.PageUtils; import io.renren.modules.miniapp.entity.HistorySuggest; import java.util.Map; public interface HistorySuggestService extends IService<HistorySuggest> { PageUtils queryPage(Map<Str...
28.666667
73
0.819767
048e8ff58792bca094f776ab8fec2812c8fa504b
1,729
package xyz.refinedev.coins.profile; import lombok.Getter; import xyz.refinedev.coins.RefineCoins; import xyz.refinedev.coins.profile.listener.ProfileListener; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.UUID; @Getter public class ProfileHandler { pr...
25.426471
107
0.642568
5629b39f7924bcced1d17a8cc9710daf1e7e7d4f
2,139
/* * The MIT License (MIT) * Copyright © 2015-2016 Gerson B. Martins (gbmartins.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 li...
42.78
114
0.750351
e31a131778f0e50660090d3e4e0b04e46d0d03b7
6,665
/* * 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 ...
43
96
0.713428
6bb3c2eb4a59c8c789e6253065600ebaba0eee5d
11,436
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
40.697509
101
0.677685
e59bc93424b7546224ea01c6ef12a4045bca1603
328
package clients; /** * Created by YotamG on 13/07/2017. */ public class RemoteClientMac extends RemoteClient { RemoteClientMac(String host, int port, String user, String password, OS os) { super(host, port, user, password, os); } RemoteClientMac(RemoteMachine machine) { super(machine); ...
20.5
81
0.664634
89dbb91b6705d3e48ce26333aad5aa56044a921e
1,579
package com.atmecs.utilities; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import...
27.701754
118
0.755541
53b71667a95333ea3a11f189100e171df6ad78ea
1,349
package part_1.medium.sort; import java.util.ArrayList; import java.util.HashMap; import java.util.List; public class FrequencySort451 { public static void main(String[] args) { String s = "tree"; System.out.println(frequencySort(s)); } public static String frequencySort(String s) { ...
26.45098
79
0.49444
325d31fd16f84c8c3c8da4e1464a11ef70e61972
9,055
/* * Copyright 2019-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
35.649606
126
0.775262
3a1946d9d74bdd333baf471e50868e3d19d4ec6a
1,831
/* Copyright 2015 Google 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 applicable law or agreed to in ...
29.532258
96
0.71491
bbdd529e233ac92316c9b3910761083e44f479a9
2,404
package uk.gov.hmcts.reform.roleassignment.versions; public final class V1 { private V1() { } public static final class MediaType { private MediaType() { } // External API public static final String SERVICE = "application/vnd.uk.gov.hmcts.role-assignment-service"; ...
50.083333
115
0.675125
85a4b3179b7a9a506b2fbf21c7e070c209608b96
935
package dia2110.projeto; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import javax.swing.JFileChooser; public class Controle { public static void main(String[] args) throws IOExcepti...
19.893617
61
0.665241
9cc9f5e52e6992d49601d5724de090c242786373
169
package etl.data.export.generator; import java.util.Map; public abstract class ExportGenerator{ public abstract void doGenerate(Map<String,String> parameters); }
16.9
64
0.786982
8713ce5d8ff77c255425efd1f5a34696093c9f1f
4,179
package com.tarikhakan.app.interfacebank.main_interface.ecommerce_interfaces.interfaces.interface_1; import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.os.Build; import android.support.annotatio...
49.75
133
0.749462
7818facf9beb883790128bc04906a0868330fea7
2,760
package fr.insee.arc.core.service.engine.xsd.groups; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import fr.insee.arc.core.service.engine.xsd.XsdElement; public class XsdIterator implements Iterator<XsdElement> { private final XsdGroup[] sequences; ...
29.052632
111
0.714855
27000ce1e8d270d704170f3cf172c4d6848dad65
6,676
// // 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: 2020...
33.049505
123
0.584781
71725df8a06d20766e1ec0a718e79d746e696a82
14,270
package com.vlk.multimager.activities; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import android.content.res.Configuration; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.provider.Med...
37.454068
143
0.622635
d5ebaf3bb694fd308e8bf1723d6e23cbb4f700ec
2,180
package tests; import com.google.common.collect.Ordering; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.testng.Assert; import org.testng.annotations.Test; import java.util.ArrayList; import java.util.List; public class CheckCountriesTest extends LoginAdminFixture { @Test p...
41.923077
127
0.627982
798d05fc337ed4ee2b80ddcecf5a0bf484845170
4,537
package cn.zifangsky.easylimit.session; import cn.zifangsky.easylimit.exception.session.InvalidSessionException; import java.io.Serializable; import java.time.LocalDateTime; import java.time.temporal.ChronoUnit; import java.util.Collection; /** * Session * * @author zifangsky * @date 2019/3/23 * @since 1.0.0 *...
22.798995
79
0.607009
56809e4f7384ae9e6fe52f45bc79a313827468b8
14,934
/* * Copyright (C) 2015 The Minium 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 applicable law or agr...
36.874074
136
0.592005
b2eda9f1648a66cc6fd3e83de5bb5ed4134fcedf
288
package ru.ldwx.crm.repository; import ru.ldwx.crm.model.PersonEntity; import java.util.List; import java.util.Optional; public interface PersonRepository { List<PersonEntity> getAll(); Optional<PersonEntity> getById(long id); List<PersonEntity> findByName(String name); }
22.153846
47
0.763889
1e0141edb8f51aa5af79b32e83214aadc75ab115
8,945
package com.daxton.customdisplay.api.location; import com.daxton.customdisplay.CustomDisplay; import com.daxton.customdisplay.api.action.SetActionMap; import com.daxton.customdisplay.api.entity.*; import com.daxton.customdisplay.api.other.StringFind; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bu...
39.755556
194
0.568474
31ac214df4f23e2cd38e83292853f7dd78042ea1
3,489
package org.edx.mobile.util; import android.content.Context; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.edx.mobile.R; import org.edx.mobile.base.BaseTest; import org.edx.mobile.whatsnew.WhatsNewItemModel; import org.edx.mobile.whatsnew.WhatsNewModel; import org.junit.Test; impo...
37.516129
102
0.677271
fc49e9b7740ba62b7920d7b2e71a7a78a72cd733
1,399
/* * Copyright © 2019 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
33.309524
104
0.776984
2b494646037748689090f539323efddddd65e8e3
1,036
package org.dddjava.jig.domain.model.implementation.analyzed.declaration.type; import java.util.Collections; /** * パラメータ化された型 * * 総称型 {@code Hoge<T>} に対する {@code Hoge<Fuga>} 。 */ public class ParameterizedType { TypeIdentifier typeIdentifier; TypeParameters typeParameters; public ParameterizedType(T...
28
92
0.726834
4d64e7a4df11918a11d70559541fe4c383594a0a
6,367
/*- * #%L * Genome Damage and Stability Centre SMLM ImageJ Plugins * * Software for single molecule localisation microscopy (SMLM) * %% * Copyright (C) 2011 - 2020 Alex Herbert * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
38.355422
100
0.710382
694da18818692930ce432cc7f3085c7ddfa7113e
481
package com.fc.fcstroe.data.bean; /** * class description here * * @author fucong * @version 1.0.0 * @see "" */ public class LoginBean extends BaseEntity { private String token; private User user; public String getToken() { return token; } public void setToken(String token) { ...
14.575758
44
0.582121
7beab3c37bd69ab782cb1bff6b72cec35faf106c
892
package dominio; import java.awt.Color; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import javax.swing.JTextField; public class EventTextFiel implements MouseListener{ private JTextField txt; public EventTextFiel(JTextField txt) { this.setTxt(txt); } @Override public void ...
14.15873
52
0.715247
1cc3e7ce4040300b6d566011816e8ef1156da3f3
3,466
/** * 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...
41.261905
93
0.746394
f459f1ab0f5502d45d2fc69e969ca2895c9b5ed1
816
package io.nanovc.agentsim.simulations.memory; import io.nanovc.meh.*; /** * An in-memory simulation handler. * <p> * This captures the public API between the {@link MEHConcepts#HANDLER handler} and code running simulations. * This follows {@link MEHPatterns#MODEL_ENGINE_HANDLER architecture 3} of the {@link MEHP...
34
163
0.748775
7f334e6ffd9c7f0766a1ef9491ad43e0c7323e76
4,149
package cn.youmi.framework.activity; import android.os.Bundle; import android.view.KeyEvent; import android.view.MenuItem; import cn.youmi.framework.R; import cn.youmi.framework.fragment.BaseFragment; public class FragmentContainerActivity extends BaseSwipeBackActivity { private NavigationController navigation...
29.635714
133
0.624006
4fa7f114cb9ab39641e29428fa286dde57222453
17,495
/* * Copyright (c) 2013-2018, Bingo.Chen (finesoft@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 appl...
42.258454
100
0.720206
648ac2308e3696f39784155396553d83cbaa1de1
4,399
package com.twilio.oai; import java.util.*; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import org.openapitools.codegen.CodegenModel; import org.openapitools.codegen.CodegenParameter; import org.openapitools.codegen.CodegenProperty; public class Conventio...
52.369048
193
0.675153
580723750303091fcc2550edfc26a1e82918f644
1,524
package com.github.kennedyoliveira.pastebin4j.api; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import javax.management.RuntimeErrorException; import java.util.Optional; import static org.hamcrest.core.Is.is; import static org.junit.Assert.*; /** * @author kennedy */ pu...
29.307692
103
0.73294
6abb07b4992db0468142cada1a9f3a94e2de1fb6
8,241
package mekanism.client.gui; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import mekanism.api.Coord4D; import mekanism.api.transmitters.TransmissionType; import mekanism.client.gui.button.GuiButtonDisableableImage; import mekanism.client...
43.373684
212
0.664118
af99b3f820a48340f6521e1a8cffa78677acfd80
87
package finergit.ast.token; public class DOSTATEMENTSEMICOLON extends SEMICOLON { }
12.428571
53
0.804598
807643e58194560c39f988219c4c232a69b626e0
306
package com.funtl.my.shop.web.admin.service; import com.funtl.my.shop.domain.User; import org.springframework.stereotype.Service; @Service public interface UserService { /** * 登录 * @param email * @param password * @return */ User login(String email, String password); }
18
46
0.669935
6b397b3ff9a75001db31a62ca5b3c3f78e11d1f3
1,396
/* 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 not use this ...
26.846154
60
0.725645
1e49b3c006728ba9b3f86b74895b1d2a029bc2dc
2,778
package pt.ulisboa.ewp.node.domain.repository.http.log.ewp; import java.time.ZonedDateTime; import java.util.Collection; import javax.transaction.Transactional; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; impo...
35.615385
113
0.756659
df74d4a6c85044a0945aaf80f52523a894096680
1,111
package org.fkit.test; import java.io.InputStream; import java.util.Random; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import org.fkit.domain.User; public class MyBa...
28.487179
90
0.729973
1ded2fb8b676222b25f530f6e024b53c38c69079
176
package com.github.thedeadone.unchecker; @FunctionalInterface public interface ThrowingDoubleToIntFunction<E extends Exception> { int applyAsInt(double value) throws E; }
25.142857
67
0.818182
e4e06e49d0517315ff7e02d2cdd3ed949dbc9924
1,353
package wrm.libsass; import java.io.File; import java.io.IOException; import java.net.JarURLConnection; import java.net.URI; import java.net.URL; import java.util.Optional; class Lookups { static Optional<Lookup.Result> findLocalFile(URI base, URI uri) { String pathname = base.resolve(uri).toString(); File file ...
29.413043
90
0.724316
357b4779dc09078bb0aa5977a25284f4a46ac3f6
145
public class Test { int a = 3; int c = 12; public void run() { int arr = 12; long test = 1; } }
9.666667
23
0.386207
7d61819ccca54dfa75c5e1ab7fef947c20bf7c06
3,289
/* * Created on 28 ago 2017 ( Time 17:51:14 ) * Generated by Telosys Tools Generator ( version 2.1.1 ) */ package com.tuin.business.service.mapping; import org.modelmapper.ModelMapper; import org.modelmapper.convention.MatchingStrategies; import org.springframework.stereotype.Component; import com.tuin.bean.Destino...
26.103175
128
0.733658
c4060d145404214a17715707896b6c2c08def097
2,915
package io.mindjet.litereader.viewmodel.detail.douban; import android.content.Intent; import android.view.View; import android.view.ViewGroup; import io.mindjet.jetgear.mvvm.base.BaseViewModel; import io.mindjet.jetgear.mvvm.viewinterface.AdapterInterface; import io.mindjet.jetgear.mvvm.viewinterface.ViewInterface; i...
38.866667
133
0.71012
b7f205b1e365d2fe38de650acfe88235c1ad916f
139
module com.mycompany.openjfx { requires javafx.controls; requires javafx.media; exports com.mycompany.openjfx; requires sml; }
23.166667
34
0.741007
b6a54f2d13ca1aaaa548fe36f40f976580535c3e
3,407
package modelo; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javafx.beans.property.IntegerProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; impo...
25.810606
97
0.689463
237a60dd7eafcd4d6fa5b8601c3477263e6ebcb1
1,377
package syntax.bytes; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.IsEqual.equalTo; import com.github.kuangcp.util.ShowBinary; import lombok.extern.slf4j.Slf4j; import org.junit.Test; /** * @author kuangcp on 2019-04-24 11:39 PM */ @Slf4j public class OperatorTest { @Test...
21.515625
90
0.562818
04f288990964e0ad79fcae82082463bd44fb112f
297
package com.seamk.mobile.eventbusevents; /** * Created by Juha Ala-Rantala on 25.3.2018. */ public class ItemAddedEvent { private Object object; public ItemAddedEvent(Object object) { this.object = object; } public Object getObject() { return object; } }
16.5
44
0.646465
5c78cd5fb796b88648111fd5d021c14433f58fcf
2,264
package com.easypick.admin.gallery.bussinesscontroller; import java.util.Map; import org.hibernate.Session; import org.hibernate.SessionException; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.s...
25.438202
96
0.735424
3fbe9db8544a7074accf476b09d54177f7f84c7e
1,144
/* * Copyright (c) $today.year.Davin Alfarizky Putra Basudewa.This software is for educational only */ import driver.com.davin.connector; import java.sql.*; import javax.swing.*; import javafx.application.Application; public class Main { public static void main(String args[]) { /* try { ...
36.903226
199
0.576049
3f25df5047ad59b857eda8589bc6c8fc19c3e786
1,305
/*- * #%L * Testing of HTTP Server * %% * Copyright (C) 2005 - 2020 Daniel Sagenschneider * %% * 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...
29
75
0.718008
5769c629fc7c004520622648d993721c3e515b63
655
package com.ibyte.sys.attach.dto; import com.ibyte.sys.attach.dto.base.SysAttachUploadBaseVO; import lombok.*; /** * 附件上传对象(API上传) * * @author <a href="mailto:shangzhi.ibyte@gmail.com">iByte</a> * @since 1.0.1 */ @Getter @Setter @NoArgsConstructor @AllArgsConstructor @ToString(exclude = {"fdFileData"}) public cl...
16.794872
67
0.621374
86b0a5e0ccb34568199ad2307058b774b8adb7f3
1,584
package cm.android.framework.ext.alarm; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import android.os.IBinder; import cm.android.framework.client.ipc.BinderFactory; import cm.android.framework.client.ipc.LocalProxyUtils; public final class TimerManager extends ITimerServer.Stub implements BinderFactory...
28.8
97
0.647096
cbe6dd81af6dcdcf062e71cbb65b4cd71f42ca85
4,853
/* 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 writing, software * distribut...
47.578431
186
0.7721
3ce9efcc7b23c0e961beea836546f4fe498921b1
3,698
import java.util.Collection; /** * Represent any class made of a finite set of simply connected edges. This * include simple polygons, multiple polygons, or more specialized shapes like * rectangles, squares... * The boundary of a polygon is a collection of GJLinearRing2D. */ public interface GJPolygon2D extends...
28.666667
78
0.617902
5479ccb56a22aa4bde7103a28d8088fade4bf50d
4,652
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: kythe/proto/xref.proto package com.google.devtools.kythe.proto; public interface DocumentationReplyOrBuilder extends // @@protoc_insertion_point(interface_extends:kythe.proto.DocumentationReply) com.google.protobuf.MessageOrBuilder { /*...
31.646259
97
0.684222
ffe45e913c064a31e2675c7374d305f6e05a3626
1,048
package com.angcyo.fragment.base; import android.content.res.Configuration; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import com.angcyo.uiview.kotlin.ActivityExKt; import com.angcyo.uiview.utils.ScreenUtil; /** * Copyright (C) 2016,深圳市红鸟网络...
25.560976
66
0.727099
40cecae53380200db8073fade34ae0c47b36e00f
107
package com.sqb.designpattern.factory.factorymethod; public interface FactoryBMW { BMW createBMW(); }
17.833333
52
0.775701
7187e9237abb1d7ef4661bba30e857f83b08d8d7
1,833
package io.kestra.runner.kafka.streams; import io.kestra.core.models.flows.Flow; import io.kestra.core.runners.Executor; import io.kestra.core.services.FlowService; import io.kestra.runner.kafka.services.SafeKeyValueStore; import lombok.extern.slf4j.Slf4j; import org.apache.kafka.streams.KeyValue; import org.apache.ka...
36.66
131
0.740862
f939e86655c1976d572849e08647a42983cc27fd
402
package com.eztexting.api.client.api.messaging.model; /** * Delivery status type */ public enum DeliveryStatus { NA("na"), DELIVERED("delivered"), NO_CREDITS("no_credits"), BOUNCED("bounced"), OPTED_OUT("opted_out"); private String status; DeliveryStatus(String status) { this.status = status; ...
20.1
107
0.651741
cf7f7beaf4a093e2306e45c6e72c28e514a2a9a3
1,852
/* * LangPi basic language processing tasks * * Copyright 2015-2016 Abdelkrime Aries <kariminfo0@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.apach...
27.235294
75
0.709503
d544634c1f7fbbcb03191713183d9b1bdf1b07bf
6,367
package com.net2plan.libraries; import java.util.Date; import java.util.Map.Entry; import java.util.Optional; import java.util.SortedMap; import java.util.TreeMap; import java.util.function.Function; import org.apache.commons.math3.distribution.TDistribution; import org.apache.commons.math3.stat.regression.SimpleRegr...
51.764228
264
0.717763
0cbb8e749b98908705a8c594d54a93856c9c733d
2,089
package yanevskyy.figures; import org.junit.After; import org.junit.Before; import org.junit.Test; import yanevskyy.BoardGame; import yanevskyy.Chess; import yanevskyy.ChessBoard; import yanevskyy.Square; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.*; /** * Created by Y on 23....
27.12987
119
0.56247
8d3f038a4c5652997f1fc8cec48dbde2c29326b8
8,682
/* * 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 writing, software * dis...
41.146919
119
0.645013
087a30142ec07939b4344143c4d5938412080911
7,163
/* * //****************************************************************** * // * // Copyright 2016 Samsung Electronics All Rights Reserved. * // * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * // * // Licensed under the Apache License, Version 2.0 (the "License"); * // you may not use thi...
38.510753
149
0.59207
d88ac93266baae20c61b63dc2a056ca7566c52a2
1,773
package et.naruto.versioner.base; import java.util.concurrent.atomic.AtomicInteger; public class Versionable { private final int g; private final long version; private final static AtomicInteger g_count=new AtomicInteger(0); public Versionable() { this(0); } private Versionable(final l...
30.050847
120
0.596165
3c2d5c49ab06afcbcab38e78f130248f77807de5
315
import org.aspectj.weaver.WeakClassLoaderReference; public class Code { /** * @param args */ public static void main(String[] args) { try{ WeakClassLoaderReference wclref = new WeakClassLoaderReference(null); System.out.println("OK"); }catch(Throwable npe){ System.out.println("KO"); } } }
17.5
72
0.688889
dd114ae23e655d7a73742413c74d19b17afb9047
1,917
package org.ldk.structs; import org.ldk.impl.bindings; import org.ldk.enums.*; import org.ldk.util.*; import java.util.Arrays; import java.lang.ref.Reference; import javax.annotation.Nullable; /** * A Tuple */ @SuppressWarnings("unchecked") // We correctly assign various generic arrays public class TwoTuple_u32Scr...
25.905405
76
0.723005
f6e340b3c8b4a414f6e7e03ca48898a144d9f58d
2,503
package org.openstack4j.model.heat; import java.util.List; import java.util.Map; import org.openstack4j.model.ModelEntity; import org.openstack4j.openstack.common.GenericLink; /** * This interface describes the getter-methods (and thus components) of a stack. * All getters map to the possible return valu...
22.963303
88
0.648422
99753174f19b5efafcee40d9760f0e264dfb51d5
1,150
package com.yolonews; import com.google.inject.Guice; import com.google.inject.Injector; import com.yolonews.auth.AuthAPI; import com.yolonews.auth.AuthFilter; import com.yolonews.auth.SecurityContextFilter; import com.yolonews.auth.UserAPI; import com.yolonews.posts.PostAPI; import io.dropwizard.Application; import i...
32.857143
89
0.741739
d9a671bdcc6bbcb5c671c1502e5bd6d1c45fd22d
1,617
package com.danielcotter.swingit.model; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; @Component @Scope("prototype") public class StagingModel { private Map<Str...
23.434783
86
0.709957
5089c34f735b88b2065c55aba0b845c6fec42ad8
1,439
package net.webservicex; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.xml.bind.annotation.XmlSeeAlso; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2.10-b140803.1500 * Generated sou...
28.78
112
0.688673
fef44cbce16c7320a7b4899c12090881f315c5af
463
package by.homesite.gator.service.mapper; import by.homesite.gator.domain.*; import by.homesite.gator.service.dto.UserPropertiesDTO; import org.mapstruct.*; /** * Mapper for the entity {@link UserProperties} and its DTO {@link UserPropertiesDTO}. */ @Mapper(componentModel = "spring", uses = { UserMapper.class }) pu...
33.071429
95
0.779698
69337a4ed16520c1980c115dc6588bb915781d99
511
package com.benleadbeater.database.hello.mySpringDatabaseBootApp.repository; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.benleadbeater.database.h...
34.066667
76
0.851272
1956883d4a133870c0c492c4c11902b2fc46d1d1
2,923
/* * Copyright (c) 2008-2018 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 agr...
33.215909
134
0.650359
ee38588a090924608d035dd58554f1748499f594
328
package devices; import java.awt.Frame; import devices.acq4xx.ACQ2106; import devices.acq4xx.ACQ480; import mds.data.descriptor_s.NODE; public class ACQ2106_ACQ480x5 extends ACQ2106{ public ACQ2106_ACQ480x5(final Frame frame, final NODE<?> head, final boolean editable){ super(frame, head, editable, 5, ACQ480.class...
25.230769
88
0.783537
249ef1ae91878b4f443ccb111dc6791d5e4daefe
3,003
/* * Copyright (c) 2017, ValidationFramework Authors * 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 code must retain the above copyright notice, this * ...
41.708333
120
0.747253
87164ec8e8756d25585579b148ac180eb73489f5
2,299
package ldkproductions.com.example.objects; import ldkproductions.com.example.data.CGPoint; import ldkproductions.com.example.programs.ColorShaderProgram; import static ldkproductions.com.example.util.Constants.BYTES_PER_FLOAT; /** * Created by Leo on 10.12.2015. */ public abstract class GL_Colored_Shape...
25.831461
86
0.604611