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
1c177f88234d41668b4b18c7334e66e72ab743d8
505
package org.test.chartjs.configuration; public class ChartTitle { private Boolean display = null; private String text = null; public ChartTitle() { initDefaultValues(); } public void initDefaultValues() { display = true; text = "Chart.js Line Chart"; } public Boolean getDisplay() { return display; ...
14.852941
42
0.689109
ca57621aac929e4a6c20179d4b0e2b37a748b1dd
637
/* * This file is part of the DITA Open Toolkit project. * * Copyright 2015 Jarno Elovirta * * See the accompanying LICENSE file for applicable license. */ // Dummy class to allow compiling against RenderX package com.renderx.xep.lib; import org.xml.sax.SAXException; public class FormatterException extends SAX...
20.548387
60
0.678179
e74ef9a430d3f8062a8f183480b058110422f23c
855
package bglib.display.shapes; import java.awt.*; import bglib.util.RectType; import bglib.util.Vector2i; public class FillRect extends Rect { public FillRect(RectType rect, int border, Color color, boolean useConversion) { super(rect, border, color, useConversion); } public FillRect(RectType rec...
24.428571
84
0.608187
f2c6d848554c54942be548001b24e5b096b3f8a1
6,660
package com.project.convertedCode.includes.vendor.nesbot.carbon.src.Carbon.Lang; import com.runtimeconverter.runtime.RuntimeStack; import com.runtimeconverter.runtime.interfaces.ContextConstants; import com.runtimeconverter.runtime.includes.RuntimeIncludable; import com.runtimeconverter.runtime.includes.IncludeEventEx...
65.294118
253
0.53979
5f29fa761ea6de42eab27081da582199794568a0
148
package com.siondream.ld29.room; public class MessagePostAction extends PostAction { String message; @Override public void run() { } }
10.571429
51
0.716216
f829e53c783943d4dca81bf74919deb95a46cc04
1,477
/* * Copyright 1999-2020 Alibaba Group Holding 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 applica...
29.54
100
0.703453
bdd686f95b6e59e34652a90c12e0f2b650a64182
1,115
package com.mamasnicolaou.javadatastructures; public class Main { public static void main(String[] args) { testStack(); System.out.println(); testSimpleStack(); System.out.println(); testQueue(); } public static void testStack(){ System.out.println("Testin...
24.777778
54
0.547085
1b88b6cc4275c2e7ab202f512c5a144768add28e
1,489
package cdeler.highlight.highlighters; import java.awt.*; import javax.swing.*; import javax.swing.text.BadLocationException; import javax.swing.text.DefaultHighlighter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import cdeler.highlight.settings.TokenStyle; import cdeler.highlight.settings.UISettingsM...
34.627907
103
0.745467
c8c416f2a6f6ff1c39d78ef213cff0847330ab5d
6,512
package org.apache.helix.rest.server; /* * 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 Licens...
43.413333
97
0.747236
f773c8ab846d11d7598f4fa5d5e757486e8741a2
1,893
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
32.637931
95
0.760697
7d8b927be1b83db28cbf01f514e288f7e02d8072
1,065
package com.cloudwarriors.containercrush.cloudwarriors.models; import lombok.Data; @Data public class ProductDetailResponse { private String segment; private String segmentName; private String family; private String familyName; private String classType; private String className; private String commodity; pri...
25.357143
62
0.826291
dafef9ce87e4a6a53310720149e53661c1a0ce1d
12,056
/** * <copyright> * </copyright> * * $Id$ */ package org.eclipse.bpel4chor.model.pbd.impl; import java.util.Collection; import org.eclipse.bpel4chor.model.pbd.Activity; import org.eclipse.bpel4chor.model.pbd.DanglingFlowActivityLink; import org.eclipse.bpel4chor.model.pbd.PbdPackage; import org.eclipse.bpel4chor...
29.120773
172
0.693514
d097a6c3c46395198c47c8368a72b121a86d8fb1
4,696
package ru.vyarus.guice.validator.group; import com.google.common.collect.Sets; import org.junit.Assert; import org.junit.Test; import ru.vyarus.guice.validator.group.annotation.MethodGroupsFactory; import ru.vyarus.guice.validator.group.support.groups.FooGroup; import ru.vyarus.guice.validator.group.support.groups.Fo...
45.592233
99
0.71678
34d9d04cefb2617315aa620c82256e8001c65068
326
package AppSettingsHandler; import com.google.inject.AbstractModule; import com.google.inject.Singleton; /** The type App settings bindings. */ public class AppSettingsBindings extends AbstractModule { @Override protected void configure() { bind(IAppSettings.class).to(AppSettings.class).in(Singleton.class); ...
23.285714
71
0.773006
9336477053314cbc6d58ce0507607328100159cd
3,681
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2008 Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 ...
24.217105
98
0.606629
fcdceec2402dfa9f9cf9a8f73c89d4f7b2c08de3
1,418
import java.io.File; import java.util.HashMap; import java.util.LinkedList; import java.util.Scanner; public class PartA { public static void main(String[] args) { Scanner sc = new Scanner(System.in); HashMap<Character, Character> closeMap = new HashMap<>(); closeMap.put('(', ')'); closeMap.put('[', ']'); c...
27.803922
74
0.503526
c2d2268f05c045b67dcef903e87049ec21cffd76
4,140
/* * 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 ...
46
99
0.677536
1c5c6313fa9f74eb25afe29b68a8a22985d7b4ea
1,182
package com.highcom.admin.controller; import com.highcom.admin.pojo.*; import com.highcom.admin.service.MflowService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; imp...
33.771429
72
0.698816
95534fdc9d8cdaa50649f234979081de7c1170c7
2,908
package org.netlight.messaging; import org.netlight.channel.ChannelContext; import org.netlight.util.TimeProperty; import org.netlight.util.concurrent.AtomicBooleanField; import org.netlight.util.concurrent.CacheManager; import java.util.Objects; import java.util.concurrent.ExecutorService; import java.util.concurren...
35.463415
143
0.652338
94bf5da533538afd103c80628d4ad162d780f38c
1,534
package io.neow3j.devpack.constants; /** * Contains the possible respond codes that are used by Oracles. */ public class OracleResponseCode { /** * Indicates that the request has been successfully completed. */ public static final byte Success = 0; /** * Indicates that the protocol of th...
26
93
0.660365
b7701b8bc6cbb5d446287531071ee092eac939b9
1,396
/* * Copyright 2021 ROCKSEA. All rights Reserved. * ROCKSEA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package kr.co.sample.gateway.exception; import java.util.Map; import org.springframework.boot.web.error.ErrorAttributeOptions; import org.springframework.boot.web.reactive.error.DefaultErrorAtt...
37.72973
85
0.712751
effaa6d46ce6ce8f59c2b262c9e8bbb94728a8bc
964
package edu.gmu.csiss.earthcube.cyberconnector.tools; import java.util.List; import org.json.simple.JSONObject; import org.json.simple.JSONValue; import edu.gmu.csiss.earthcube.cyberconnector.database.DataBaseBroker; /** *Class QueryOrderStatusTool.java *@author Ziheng Sun *@time Aug 10, 2015 12:11:27 PM *Origi...
22.418605
70
0.742739
fddc39815feed7b04c442b416be7169c3dc6aa1f
4,046
package poe.level.data; import javafx.embed.swing.SwingFXUtils; import javafx.scene.control.Spinner; import javafx.scene.control.SpinnerValueFactory; import javafx.scene.image.Image; import javafx.util.StringConverter; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.*; import java.ne...
37.813084
130
0.615917
069923fe011099442822f84080ee83b59bfabb3c
7,037
package no.nav.fo.veilarbdialog.service; import lombok.RequiredArgsConstructor; import no.nav.fo.veilarbdialog.db.dao.DataVarehusDAO; import no.nav.fo.veilarbdialog.db.dao.DialogDAO; import no.nav.fo.veilarbdialog.db.dao.StatusDAO; import no.nav.fo.veilarbdialog.db.dao.VarselDAO; import no.nav.fo.veilarbdialog.domain....
43.171779
139
0.732699
21c780c8b734d04bad90b38136181a33d01604bb
1,027
package com.yourtion.leetcode.daily.m10.d15; import com.yourtion.leetcode.utils.binary.Node; /** * 116. 填充每个节点的下一个右侧节点指针 * * @author Yourtion * @link https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node/ */ public class Solution { public Node connect(Node root) { if (root == n...
27.026316
86
0.481986
d3e28c48ba413a24b5adf4153cdad4ccdda0a1c1
2,909
/* * Copyright (c) 2007 - 2010 Citrix Systems, Inc. All Rights Reserved. */ package com.citrix.wi.controls; import com.citrix.wi.mvc.WIContext; import com.citrix.wi.pageutils.Include; import com.citrix.wi.types.UserInterfaceBranding; import com.citrix.wi.util.ClientInfoUtilities; /** * Maintains presen...
31.619565
162
0.645583
ceaa707f5fbec46a567a5bd464115c2a4ed8ea4e
7,612
/** * 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.497143
129
0.697189
906311591ba22e2dfc938981043341f649245ad5
2,265
package com.google.template.autoesc.file; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import com.google.template.autoesc.inp.Source; /** * Relates character indices in the parsed input to source/line. */ final class LineMap { /** * For each SourceL...
26.647059
75
0.63223
65f966966447ec7714c31ed7d7867d8c195f9373
4,018
/* The MIT License (MIT) Copyright (c) 2016 Giacomo Marciani and Michele Porretta 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 r...
37.90566
89
0.726481
57a9cefeaf50f4c2c314351ad02fe62b58cef1b8
5,540
/* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Inc. * Copyright 2010, Real-Time Innovations, 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...
46.554622
109
0.738989
c087086d0d10ce26df39185581726fc10fbbf578
2,571
/* * #%L * ImgLib: a general-purpose, multidimensional image processing library. * %% * Copyright (C) 2009 - 2013 Stephan Preibisch, Tobias Pietzsch, Barry DeZonia, * Stephan Saalfeld, Albert Cardona, Curtis Rueden, Christian Dietz, Jean-Yves * Tinevez, Johannes Schindelin, Lee Kamentsky, Larry Lindsey, Grant Har...
39.553846
120
0.727732
f5a8eb592884e6785cb77c2d17f4be98586d344c
124
package org.anyboot.mvc.plugin.springmvc; public class TemplateView extends org.anyline.plugin.springmvc.TemplateView{ }
31
77
0.822581
ea57830b998a66c072592634474e4770dfc11ca5
446
package edu.fdiazaguirre.hackerrank; public class Solution { static final char[] VOCABULARY = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; static final int OFFSET = 10; public static void main(String[] args) { // TODO Auto-generated method stub for ...
29.733333
140
0.591928
ba820a2119c4ce7ca6f75a6c151ccd924108014e
12,245
/* * Copyright (c) 2011-2019, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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...
38.02795
125
0.682074
8b48783f8213ccc3e20c585da80d31c2a2c5a3ef
5,722
/** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version 2...
45.055118
120
0.690842
bc527a8f6007918a9b0528254d42dab4abdbdfe2
3,009
package io.github.phantamanta44.libnine.block.state; import com.google.common.collect.Lists; import net.minecraft.block.properties.IProperty; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import javax.annotation.Nullable; import java.util.HashMap; import java.util...
33.433333
108
0.657694
f30607aa27c1baddffb184ddb786f6d6b6743a81
1,810
/* * Copyright 2018-2019 Ki11er_wolf * * 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...
31.206897
94
0.70442
831513ec26dc3f01014e229f33e9aef63862d45a
791
package com.aoeai.spin.accelerator.themes.customize.xy.finance.bean; import com.aoeai.spin.accelerator.generate.common.BaseClassProperty; import lombok.Data; import java.util.List; /** * 门面控制器测试类 * @author aoe * @date 2020/6/23 */ @Data public class XyFinFacadeTest extends BaseClassProperty { /** * 测试主...
15.509804
68
0.628319
8d894964da59eb8c03fc6d81154b6d9caa19cf78
63
package jports.data; public enum FilterOperation { AND, OR }
10.5
29
0.746032
a0a6c24860142787654004cb2f0e91dd2255501c
185
package com.arrow.dashboard.widget; public interface IScheduledWidget extends IWidget { public void start(); public void run(); public void stop(); public void destroy(); }
15.416667
51
0.724324
1c4f0cb55ae4f02c8f9a95e6a7fb9932bfcc7531
3,210
package com.pomelo.devnews.model; import org.json.JSONArray; import org.json.JSONObject; import java.util.ArrayList; public class MobileNews { public static final String URL_ANDROID_NEWS = "http://gank.avosapps.com/api/data/Android/10/"; public static final String URL_IOS_NEWS = "http://gank.avosapps.com/ap...
24.503817
98
0.574143
713dccd68a7f8240ec41280fd13d7f4d59432453
751
package com.liziczh.designpattern.chain.service; import com.liziczh.designpattern.chain.Handler; import com.liziczh.designpattern.chain.handler.AHandler; import com.liziczh.designpattern.chain.handler.BHandler; import com.liziczh.designpattern.chain.handler.CHandler; /** * A * * @author chenzhehao * @version 1.0 ...
21.457143
59
0.63249
6e43e21ef0ec4888053e316d0fcf0ef890691750
1,605
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
34.891304
83
0.707165
d74dfddf7b3668de92c5215b89a0c56f104b431a
810
package lykrast.defiledlands.common.item; import java.util.List; import javax.annotation.Nullable; import lykrast.defiledlands.common.util.LocUtils; import net.minecraft.block.Block; import net.minecraft.client.resources.I18n; import net.minecraft.client.util.ITooltipFlag; import net.minecraft.item.ItemBlock; import...
27.931034
131
0.802469
7936a7e067aea32f0fbd47fba341cad154502c26
1,798
package com.projects.melih.wonderandwander; import android.os.StrictMode; import com.crashlytics.android.Crashlytics; import com.projects.melih.wonderandwander.di.DaggerSingletonComponent; import com.projects.melih.wonderandwander.di.SingletonComponent; import com.squareup.leakcanary.LeakCanary; import javax.inject....
29.47541
91
0.649055
da1135cbaf891ddd06aad177bdb68510f7ad87fb
1,673
package app.discoveritech.hoom.Activities; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.LinearLayout; import app.discove...
33.46
101
0.708906
d0b0ed9c18d47a9783f4fa9d2b7c7ef1191bd879
1,063
package com.inet.testapplication; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.UIManager; /** * Test Program */ public class TestLauncher { /** * Startpunkt vom Installer * * @param args ignored * @throws Exception if any error occur on connect...
29.527778
132
0.613358
35180cef75e611a93212c2fbfbb52c221d4d27ce
397
package com.eorionsolution.demo.bpms.creditcardapplicationdemo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class CreditCardApplicationDemoApplication { public static void main(String[] args) { Sprin...
28.357143
80
0.823678
24514ddf59429d01cfdd603b0a59bc471cc2aab4
640
package com.linkedin.common.client; import com.linkedin.common.urn.CorpuserUrn; import com.linkedin.identity.CorpUserKey; import com.linkedin.restli.client.Client; import javax.annotation.Nonnull; public class CorpUsersClient extends BaseClient { protected CorpUsersClient(@Nonnull Client restliClient) { ...
25.6
67
0.740625
8096b2ceefaed4893572c216fdb99e2d83aa2daa
367
package com.Attributs; public class Ressource { /* class contenant les attributs de la ressource demandee */ private String name; Ressource(String name) { this.name=name; } public void setName(String name) { this.name = name; } public String ge...
15.956522
59
0.550409
655a58775626822bd86297ec5a6f598065f31e48
13,581
/******************************************************************************* * Copyright (C) 2005-2013 Alfresco Software Limited. * * This file is part of the Alfresco Mobile SDK. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
37.620499
158
0.584935
0e66c9dc8ee2fbb5b4cacb3e08fc23d39ca8defe
687
package se.kth.iv1350.integration; /** * Thrown when trying to fetch an item * from a database with a none existing ID */ public class NoMatchingIDException extends Exception { /** * Creates an instance with a message specifying * what item ID wasn't able to be found in the * database * @par...
23.689655
63
0.631732
92c6d92ed7b0fe2828b1ff1dc4736ba3d85fc4a1
657
package com.moment.logconverge.img; import android.content.Context; import android.widget.ImageView; /** * Created by moment on 2018/1/30. */ public class ImageCache { private static Context mContext; private static String imageUrl; private static final ImageCache INSTANCE = new ImageCache(); pub...
19.909091
64
0.652968
d5011290292e21b3f9f241ca98160cd610d33459
1,386
/* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ package com.amazonaws.services.lambda.runtime.tests.annotations; import com.amazonaws.services.lambda.runtime.tests.EventArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; import java.lang.annotation.*; /** * Thi...
34.65
184
0.698413
e0dec749c26529c47bb438b20bb4f4df0874b291
2,676
/***************************************************************************** * Copyright (C) The Apache Software Foundation. All rights reserved. * * ------------------------------------------------------------------------- * * This software is published under the terms of the Apache Software License * * v...
36.657534
87
0.592676
2a67507209af22aa2d97e1f6bc99c6e54f05fd39
10,227
/******************************************************************************* * Copyright 2016 Jalian Systems Pvt. 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:...
40.422925
117
0.576122
8d5ded2d380e45d0cdffc33b5abd22a4d059fc24
1,199
package com.codekeyz.nalosms; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.Toast; import com.nalo.nalosms.NaloSMS; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) {...
29.975
84
0.604671
6b65d74ed2a12880d272f55d95537b2a943d16aa
421
package com.onesait.edge.engine.zigbee.util; public class PermitJoin { private int data = 0; public PermitJoin( int data){ this.data=data; } public int getData() { return data; } public String getPermitJoining(){ int result = this.data & 0x3; switch (result) { case 0: retur...
15.035714
45
0.5962
8d4c0fb76cfe3c3696d6adb3c7ab17dd0507d92b
1,986
package ar.com.javacuriosities.sessions; import com.auth0.jwt.JWT; import com.auth0.jwt.algorithms.Algorithm; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; impo...
35.464286
113
0.632427
94bfcaf0b807ff1bda5629e522f6db2aa846217c
457
package optional.util; import java.util.Optional; /** * @author zhangyupeng * @date 2018/8/25 */ public class Person { private Car car; private int age; public Optional<Car> getCar() { return Optional.ofNullable(car); } public int getAge() { return age; } public Perso...
15.758621
40
0.564551
e4b4e249dfe01b14730e4d4c83210e6ddd3953b9
1,813
package org.opendaylight.controller.md.sal.dom.xsql.jdbc; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.DriverPropertyInfo; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.util.Properties; import java.util.logging.Logger; ...
24.5
80
0.627689
1503976b2ccc98df53146734ff02904f74b52138
735
package com.google.cloud.storage; import com.google.common.base.*; import com.google.api.services.storage.model.*; static final class StorageImpl$7 implements Function<Bucket, com.google.cloud.storage.Bucket> { final /* synthetic */ StorageOptions val$serviceOptions; StorageImpl$7(final StorageOptions va...
31.956522
105
0.692517
2a27a6061da2049e576a857e6fd222b032967984
7,523
package sbt_inc; import com.typesafe.zinc.Compiler; import com.typesafe.zinc.*; import org.apache.maven.plugin.logging.Log; import org.apache.maven.toolchain.Toolchain; import scala.Option; import scala_maven_executions.MainHelper; import util.JavaLocator; import java.io.File; import java.util.ArrayList; import java....
42.027933
275
0.646551
a1e4cb21380a8e6c8121661b7be5cfb7e8954f64
288
package AsposeCellsExamples.SmartMarkers; public class Person { private String m_Name; private int m_Age; public Person(String name, int age) { this.m_Name = name; this.m_Age = age; } public String getName() { return m_Name; } public int getAge() { return m_Age; } }
13.714286
41
0.694444
8a09b27de6ca5116dfe71f0027e468f638c02b74
653
package com.tome.main.security.validation; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import com.baeldung.web.dto.UserDto; import com.tome.main.security.PlayerDTO; public class PasswordMatchesValidator implements ConstraintValidator<PasswordMatches, Object> { ...
28.391304
95
0.765697
99ac04c0e7e7d8189a1b1b29cc82f594b7f09349
5,966
package joshie.harvest.cooking.recipe; import joshie.harvest.api.cooking.Ingredient; import joshie.harvest.api.cooking.IngredientStack; import joshie.harvest.api.cooking.Recipe; import joshie.harvest.api.cooking.Utensil; import joshie.harvest.cooking.CookingAPI; import joshie.harvest.cooking.HFCooking; import joshie.h...
46.976378
151
0.689071
ea8f2d66707cf8edc5ce8a9eb03449370d885c03
3,155
/* * 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 view.componets.Dashboard; import view.componets.Theme; import java.awt.Dimension; import javax.swing.JPanel; /**...
34.293478
152
0.683043
30d6a41c110feed837a1369f6cbdeb275563cae5
3,364
package org.jtwig.spring; import com.google.common.base.Function; import org.jtwig.addons.Addon; import org.jtwig.addons.tag.TagAddon; import org.jtwig.functions.repository.api.FunctionRepository; import org.jtwig.parser.config.ParserConfiguration; import org.jtwig.parser.config.TagSymbols; import org.jtwig.resource.J...
31.439252
95
0.706302
a2d4f442d25f32de152198c2c2c7ba2f259a671d
1,343
package com.badugi.game.logic.model.domain.vo.flash.user; public class TrackRooms { private String rid;// 房间id private String rn;// 房间名称 private double bb;// 大盲 private double sb;// 小盲 private String sp;// 速度 private int cc;// 房间人数 private int st;// 状态(1:坐下,0:旁观,2留座) public TrackRooms() { super(); } pu...
14.287234
74
0.612063
e4711306de46787dd675b15224779617663256d4
5,020
/** * The MIT License (MIT) * * Copyright (c) 2014 Seamus Minogue * * 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 ...
36.642336
106
0.767131
577918d5a4e3ded8473b93d496bf8e162e15f8f7
808
/* * */ package com.synectiks.process.common.plugins.pipelineprocessor.ast.statements; import com.synectiks.process.common.plugins.pipelineprocessor.EvaluationContext; import com.synectiks.process.common.plugins.pipelineprocessor.ast.expressions.Expression; public class FunctionStatement implements Statement { ...
26.933333
89
0.75495
6e8f5998f0fb1d3e8bae6cd0070777937fa7d79a
1,324
package com.example.qt.dl; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.Handler; import android.view.View; import andr...
28.782609
94
0.667674
28d85c623184e8639809c3788bd93ca03ab3119f
32,255
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) <2019> eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * is...
33.494289
210
0.724384
1dac4fb34532c57705fcb1cfb0e5254dbf1a1799
457
package com.example; import java.util.List; import javax.sql.DataSource; import java.sql.Connection; public interface PagoDAO { public void setDataSource(Connection connection); public void create(String descripcionPago); public Pago getPago(Integer ID_Pago); public List<Pago> ...
35.153846
65
0.695842
d1b5576ab0a80efd7b3fdbf867eed35e740202cb
5,420
package mods.clayium.gui.client; import codechicken.nei.recipe.GuiCraftingRecipe; import java.util.ArrayList; import java.util.List; import mods.clayium.block.tile.TileClayContainer; import mods.clayium.block.tile.TileClayMachines; import mods.clayium.core.ClayiumCore; import mods.clayium.gui.GuiPictureButton; impor...
37.638889
237
0.687454
b01fea924f59a3f903a3bad3f9f987f6edb252fe
246
package com.stormmq.java.parsing.ast.details.valueDetails; public final class DoubleSingleValueDetail implements SingleValueDetail { private final double value; public DoubleSingleValueDetail(final double value) { this.value = value; } }
20.5
71
0.804878
79795f496840a0e74ffb763e1424b21edba0af5b
2,893
package org.loader.router; import android.content.Context; import org.loader.router.exception.NotRouteException; import org.loader.router.rule.ActivityRule; import org.loader.router.rule.ReceiverRule; import org.loader.router.rule.Rule; import org.loader.router.rule.ServiceRule; import java.util.HashMap; import java...
24.726496
76
0.578638
ee356c6ab8da236fa62c9b8a9b974853794f53e2
2,109
/** * generated by Xtext 2.25.0 */ package org.sodalite.dsl.optimization.optimization; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>EKeras</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> *...
29.291667
125
0.638691
58562fd006ebd1c6d6ae382564a794c7e7c56020
1,098
package softuni.softunigamestore.domeins.entities; import lombok.Getter; import lombok.Setter; import softuni.softunigamestore.domeins.enums.Role; import javax.persistence.*; import javax.validation.constraints.Email; import javax.validation.constraints.Pattern; import java.util.Set; @Entity @Table(name = "users") @...
29.675676
99
0.652095
0e73a809379361cd7fc62e37f18c6efd34f75c30
517
package com.example.diploma.persistence.dto.admin; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.FieldDefaults; import java.util.List; @Data @NoArgsConstructor @AllArgsConstructor @FieldDefaults(level = AccessLevel.PRIVATE...
19.884615
50
0.769826
82a1010ea7b2bec2313f246e9c8a405b3675c84e
2,535
package com.inepex.ineom.shared; import java.util.Map; public abstract class PropHandler { public abstract void setProp(HasProp hasProp, String group, String key, Boolean value); public abstract void setProp(HasProp hasProp, String group, String key, Double value); public abstract vo...
33.8
95
0.614201
5723c3634b3374e0588e7ff80e5673ba5254b510
4,472
/* * All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved. * * Copyright (C) 2016-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...
38.222222
110
0.722272
b680100e0c81f7df009dc6c53ccf80178c4e814d
823
package experimentobackup.dominio; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; public class Copiador extends AbstractCopiador { public Copiador() { } ...
25.71875
95
0.670717
adf2f3d3b34f66f9b6b8fafcf892670939986de1
1,632
package game; import java.util.concurrent.ThreadLocalRandom; import static game.Color.*; public class Player { private final String name; private final Color color; public Player(String name, Color color) { this.name = name; if (color == NONE) { throw new IllegalArgumentExcep...
22.985915
102
0.563113
52169adf9fbe60b8caa8b4809d8bbd71975b4f55
4,634
/** * Copyright 2016-2017 Seznam.cz, a.s. * * 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.310811
88
0.716012
1e0646741cd21bc4e2730becf8be9928e7f432be
2,348
package com.song.deviceinfo.model.beans; /** * Created by chensongsong on 2020/8/3. */ public class XposedHookBean { private boolean xposedApp = false; private boolean xposedImei = false; private boolean xposedSerial = false; private boolean xposedSsid = false; private boolean xposedMac = false; ...
23.247525
61
0.667376
6e33b8e5aae79e12144be8720913425a03d88f32
1,886
package com.wix.reactnativenotifications.core; import android.app.IntentService; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Log; import com.wix.reactnativenotifications.core.notifications.ILocalNotification; import com.wix.reactnativenotifi...
42.863636
111
0.7614
73ad5510a01c4ebfbeb4654ae0d3400da7138122
735
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.packt.section6; import java.util.ArrayList; import java.util.List; /** * * @author Erik Costlow */ publi...
20.416667
80
0.613605
1235198e84d5be80dd0585624e4f0c23ad00066a
7,634
/* * * Copyright (c) 2021 Marco Marini, marco.marini@mmarini.org * * 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...
36.352381
156
0.611868
5c6a98533decff636ee8c9c4a42d5f9fceed4b0b
1,762
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
25.911765
116
0.646425
2db8b7b43b5e9b2db436112aebdd2192cc42926d
353
package com.yikekong.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; @Configuration @ConfigurationProperties("webhook") @Data public class WebHookConfig { private String online; //断连web钩子地址 ...
22.0625
75
0.804533
ec8d7fe345cf0c9981f65a2187ead51c37c25ce4
1,944
package Shameimaru.powers; import Shameimaru.cards.sp.photograph.Photograph; import com.megacrit.cardcrawl.actions.common.ReducePowerAction; import com.megacrit.cardcrawl.actions.common.RemoveSpecificPowerAction; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.cards.DamageInfo; import c...
39.673469
168
0.73714
4b20fe72624900b7caa8a307e3b5b2bf4149dcfe
8,097
package za.ac.unisa.lms.tools.cronjobs.jobs; import java.io.ByteArrayOutputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import java.util.Calendar; import javax.mail.internet.AddressException; import javax.mail.internet.InternetAddress; import org.apache.struts.util.LabelValu...
34.164557
138
0.682845
491fa2687aecfc8a4b8d4925c5815dd5937e25e9
64,979
package org.onosproject.provider.framework.abnormal.feature.impl; import org.apache.felix.scr.annotations.Activate; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Deactivate; import org.apache.felix.scr.annotations.Modified; import org.apache.felix.scr.annotations.Reference;...
45.030492
116
0.5953
c85fa199d44fd81ef2c85387c1254e4d5ba89c53
760
package io.hashimati.security; import jakarta.inject.Singleton; import org.jasypt.util.password.StrongPasswordEncryptor; @Singleton public class PasswordEncoderService implements PasswordEncoder{ private StrongPasswordEncryptor strongPasswordEncryptor = new StrongPasswordEncryptor(); @Override public Stri...
30.4
92
0.775
c615fd8ba26a3ea8c86361b8be0fb4f9f84d65b5
3,003
package com.github.onlyofficehelper.ds.config; import com.github.onlyofficehelper.annotation.OnlyOfficeConfig; /** * <p> * The document section allows to change all the parameters pertaining to the document (title, url, file type, etc.). * </p> * * @author EricChen 2020/02/25 00:13 * @see <a href='https://api.o...
28.330189
177
0.658342
e037c68bfebb44d2cfceae37571e6d8fa719c458
3,112
/******************************************************************************* * Copyright 2012 EMBL-EBI, Hinxton outstation * * 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 * * h...
32.082474
80
0.69473
e396ea5fbbedd80b99b0bf218bc68cdab0678aae
8,745
package org.jboss.resteasy.test.validation; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.RunAsClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.resteasy.api.validation.ResteasyConstraintViolation; import org.jboss.resteasy.api.vali...
53
167
0.728073
244740d44a4c609492d33a34ce5c1cfa8927f4ab
4,647
/** * The MIT License * * Copyright (c) 2020 Ilwoong Jeong (https://github.com/ilwoong) * * 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...
23.953608
89
0.647084
c7f32f0704236d748da2be8997ded84e5e5e9dd6
2,563
/* * Copyright 2015 Szabolcs Balazs Beres. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
32.0375
80
0.739758