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
9aaa930a2c9aff1c47e4234038b1d928b3e496fd
3,920
package soundcom.scorelab.org.soundcom_lib; import android.content.Context; import android.widget.ImageView; import soundcom.scorelab.org.soundcom_lib.FSK_Modulator; import soundcom.scorelab.org.soundcom_lib.AudioHandler; import soundcom.scorelab.org.soundcom_lib.ImageHandler; import soundcom.scorelab.org.soundcom_li...
36.296296
184
0.621939
45205172948b2aa043887fb03ee2b3a746223757
980
package me.ByteCoder.Core.Command.Commands; import me.ByteCoder.Core.Command.Command; import me.ByteCoder.Core.Command.CommandSender; import me.ByteCoder.Core.Logger.Logger; import me.ByteCoder.Core.Logger.Logger.LoggType; import me.ByteCoder.Core.Utils.ServerUtils; import me.ByteCoder.Core.Utils.StringUtils; ...
23.902439
79
0.696939
2244e40ed74bc546963f7cb01c9f6af5a5ec3c58
755
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the repository root. package com.microsoft.tfs.core.clients.serverstatus.exceptions; import com.microsoft.tfs.core.exceptions.TEClientException; /** * Base class for server status client exceptions. * * @since T...
24.354839
79
0.711258
c80c76874f0522bb64199066be7c6c80bdf656b2
66
import org.openqa.selenium.WebDriver; public class StartMain{ }
11
37
0.787879
4ba81082fa0d3aaffcec5cb2dcab33593a947893
3,114
/******************************************************************************* * Copyright © 2019 by California Community Colleges Chancellor's Office * * 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 * o...
40.441558
127
0.708414
dd65043ed73e83c97787039acf45644409c91def
179
package net.adrianlehmann.swt_revision.patterns.variation_patterns.factory_method; /** * Created by adrianlehmann on 09.07.17. */ public class uPhone implements Smartphone { }
22.375
82
0.793296
a3ce5150cedd8dd9e60b91e58c283adec18fcc0e
4,725
/* * Copyright 2018 NAVER Corp. * * 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...
31.925676
131
0.567196
8863945d3108edaf7475a34ea042ea26b4b85496
29,716
package org.batfish.question.routes; import static org.batfish.datamodel.Prefix.MAX_PREFIX_LENGTH; import static org.batfish.datamodel.matchers.RowMatchers.hasColumn; import static org.batfish.question.routes.RoutesAnswerer.COL_ADMIN_DISTANCE; import static org.batfish.question.routes.RoutesAnswerer.COL_AS_PATH; impor...
44.220238
100
0.645006
f984b8708ccb50ac85f7726ee9543b0381e3ee33
1,462
package ru.job4j.model.dao; import org.junit.After; import org.junit.Before; import org.junit.Test; import ru.job4j.model.entities.Address; import static org.junit.Assert.*; public class DAddressTest { private Address address; private DAddress addr = DAddress.getInstance(); /** * Before. */ ...
20.305556
55
0.546512
741dd3b0da3925ed6a2e4e06b67a3c461f569a52
330
package com.atlassian.opsgenie.user.model; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; @Data public class AddUserRequest{ @JsonProperty("fullName") private String fullname; private String username; private String locale; private String timezone; private UserRole ...
18.333333
53
0.754545
eecbc0e90163a4e431442141644f58da9a74ddb4
1,469
/** * * Copyright 2020 paolo mococci * * 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...
29.979592
78
0.762423
fdfcce01774d110ca58dd5dbf2a97f031b265188
964
package com.example.swagger.demo.service; import com.example.swagger.demo.model.Book; import lombok.NoArgsConstructor; import org.springframework.stereotype.Service; import java.math.BigDecimal; import java.math.RoundingMode; import java.time.LocalDateTime; import java.util.List; import java.util.UUID; @Service publi...
43.818182
193
0.717842
bdc4b3205fb1433998df72f61bbc5fe9e4512728
1,839
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
32.839286
85
0.681892
7ce140c4e698f83da86fb2fc8de2ffd4d9b052cf
2,896
/* * Copyright Ningbo Qishan Technology Co., 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 ...
36.658228
115
0.680594
843cc83fdd7a4ee80bd6f4719db0667985dac1d2
3,954
package io.voucherify.android.client.model; import com.google.gson.annotations.SerializedName; import java.util.Date; import java.util.HashMap; import java.util.Map; public class Customer implements Querable { private String id; @SerializedName("source_id") private String sourceId; private String ...
22.724138
93
0.566262
851c7ed65fb94aaaff3aa67dc3ab67c50bbdf8f6
1,063
package com.genymobile.scrcpy; import android.graphics.Rect; public class Options { private int maxSize; private int bitRate; private boolean tunnelForward; private Rect crop; private boolean sendFrameMeta; // send PTS so that the client may record properly public int getMaxSize() { r...
20.442308
85
0.64158
ceb4d9091c86c5bfa380b92a311c94b9fb67b73a
5,455
package com.quootta.mdate.ui.activity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import android.widget.RelativeLayout; import android.widget.TextView; import com.quootta.mdate.R; import com.quootta.mdate.base.BaseActivity; import com.quoot...
32.470238
109
0.661778
6c07be0b112beb0b495f90a35c0d9c78618bc89a
986
package edu.century.FinalProject.old; import java.math.BigDecimal; public class SavingsAccount extends Account { private final BigDecimal MIN_BALANCE = new BigDecimal("100.00"); public SavingsAccount(){ super(); } public SavingsAccount(String amount, String accountNumber) { super(amount, accountNumber);...
22.930233
94
0.71501
c4267d68190b3472b8049ddb23c030f197ef4eec
2,185
/** * Copyright (C) ${project.inceptionYear} ${owner} (hello@graylog.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...
26.975309
97
0.655835
7b9a5d8ce5ac1ea2a476f341a074f0c64ce95c05
1,679
import java.util.Scanner; public class SPIRALDISPLAY { public static void Display(int [][] a) { for (int i = 0; i < a.length; i++) { for (int j = 0; j < a[0].length; j++) { System.out.print(a[i][j]+" "); } System.out.println(); } } public static void main(String[] ar...
15.263636
63
0.455628
77b2880e9156642d10bf4b5830b9c6662be77d61
1,987
/* * 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 battleship; import java.util.Scanner; import battleship.Exceptions.*; import java.io.IOException; /** * * @author Nacho Ver...
26.144737
80
0.603926
ce9d828e9b409f16b91d6f667f0c5288a4fb39dd
27,882
package gjavac.test.java; import gjavac.lib.Contract; import gjavac.lib.Offline; import gjavac.lib.*; import static gjavac.lib.UvmCoreLibs.*; @Contract(storage = Storage.class) class DemoContract extends UvmContract<Storage> { @Override public void init() { this.getStorage().name = ""...
48.744755
209
0.546051
2a2dd76586b0f82bb2802e4a6722a101509383f4
11,004
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ...
44.550607
292
0.643402
adf259efa5d84a831ff481d0e734e841d7aa91b4
2,057
package net.minecraft.command.server; import com.google.gson.JsonParseException; import java.util.List; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.command.SyntaxErrorException; import net.minecraft.command.W...
36.087719
130
0.728245
f61f13816a3e16dddbc8c2b8b29c1863782d410a
1,033
package im.puglisi.simplelist; import org.bukkit.plugin.Plugin; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; /**@author Jason Puglisi * @version 1.3.0 */ public class SimpleList extends JavaPlugin { public static Plugin pex; public static Plugin sc; // Plugin enable public ...
27.184211
70
0.71152
c9ceaa9a5f85ebb02e350069b26a34803f8fc1b4
4,667
/* Copyright 2019 Evan Saulpaugh 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 ...
30.109677
154
0.636383
57d94f03c322c1c4292c630031558f8c1b00fe0f
3,795
/* * Copyright 2018 Ryos.io. * * 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...
34.816514
88
0.751779
25168eee66a0f89f48c249a79f872f46ca6c250c
675
package com.hlogi.wappclone.web; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import com.hlogi.wappclone.databinding.ActivityWappWebBinding; //TODO: Implement signing in to WApp Web using QR code public class WAppWebActivity extends AppCompatActivity { private ActivityWappWebBindi...
25
70
0.733333
c7d1a3659396a2754693b03909e06b7016dfc12f
746
package com.C4theBomb.datastructures.treesandgraphs; import java.util.ArrayList; import java.util.List; public class MinimalTree { Node<Integer> root; public MinimalTree(ArrayList<Integer> list) { this.root = createMinimalTree(list, 0, list.size() - 1); } public Node<Integer> createMinimalTr...
28.692308
94
0.646113
8bc26c78fff7562430f157f4f5ee001decd5633b
558
package org.example.com.streamDemo; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; public class FlatMapDemo { public static void main(String[] args) { methodTest(); } static void methodTest() { ...
27.9
127
0.673835
8c1bce54c1565b8ce92c8914d820b632e4b40d4d
2,852
/* * 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")...
43.876923
156
0.693198
36db99796a77622ea7d60da381e5efbcc0a8ef02
23,105
// Copyright 2018 The Bazel Authors. 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 appl...
41.932849
100
0.737676
5ac12fd633ad202f8e3c812ca21d05e148318c40
1,496
package se.fnord.graph.orientdb; import org.junit.Test; import static org.junit.Assert.assertEquals; public class TestOrientURL { @Test public void remoteHappyCase() { final OrientURL remote = OrientURL.create("remote:ap.se:3434/fnord"); assertEquals(new OrientURL("remote", "ap.se:3434", "/"...
29.92
82
0.641711
9e09570541698e4b4cfc3e9617ef697071ac6363
4,464
package doWork.file; import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.util.List; import java.util.Map; import java.util.TreeMap; import java.util.Map.Entry; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase...
36.590164
132
0.670027
8371c51bfa4e56d220eb57cf0444e0aab94714e8
1,157
private void sendData(HttpServletResponse response, MediaBean mediaBean) throws IOException { if (logger.isInfoEnabled()) logger.info("sendData[" + mediaBean + "]"); response.setContentLength(mediaBean.getContentLength()); response.setContentType(mediaBean.getContentType()); response...
41.321429
132
0.560933
55ae7387199dc82f422f69c424418ef01c0e562f
2,607
package com.fasterxml.jackson.annotation; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; /** * Tests to verify that it is possibly to merge {@link JsonIncludeProperties.Value} * instances for overrides */ public class JsonIncludePropertiesTest extends T...
37.782609
129
0.696586
75f423b4aee4e800756327ff8145c04dc84afc7f
4,532
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.network.implementation; import com.azure.core.management.exception.ManagementException; import com.azure.core.management.SubResource; import com.azure.resourcemanager.network.LoadBalancer; ...
38.40678
112
0.677846
6135179cbee60eb3859cdaed166f16f6a50a85e0
6,085
/************************************************************************** FileSystem.java is part of Titanium4j Mobile 3.0. Copyright 2012 Emitrom 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...
35.377907
128
0.660477
47d4ee2adceddf7d63754b1f457800a0e7b030c8
3,146
/* * Copyright (C) 2013 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 ...
24.968254
93
0.713605
e17dadcf3c1b91033c9564fc8e0ad43523d2938a
671
/* Generated By:JavaCC: Do not edit this line. CanonicalTermParserTreeConstants.java Version 5.0 */ package org.cs3.prolog.connector.internal.cterm.parser; public interface CanonicalTermParserTreeConstants { public int JJTVOID = 0; public int JJTATOM = 1; public int JJTNIL = 2; public int JJTVARIABLE = 3; pu...
23.964286
99
0.687034
1ea6e87a538edfa2041e7adbe14be44875be25a8
3,443
package com.github.javarushcommunity.jrtb.command; import com.github.javarushcommunity.jrtb.javarushclient.JavaRushGroupClient; import com.github.javarushcommunity.jrtb.javarushclient.dto.GroupDiscussionInfo; import com.github.javarushcommunity.jrtb.javarushclient.dto.GroupRequestArgs; import com.github.javarushcommu...
42.506173
115
0.717979
347caf98d6f6c56cd97e3ee704ebad34ce468e80
11,271
/* * 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.445104
95
0.50936
0d249f83c1a5001a2144fd98ef0eaaaf2f3910b8
2,181
package com.gempukku.swccgo.logic.effects; import com.gempukku.swccgo.game.SwccgGame; import com.gempukku.swccgo.logic.timing.AbstractStandardEffect; import com.gempukku.swccgo.logic.timing.Action; /** * This class is used as the effect that is responded when a top-level or response action occurs. * Setting a Respo...
31.608696
121
0.715727
1e0176aa2964b9f5c6363ce8e6a9eb506d32c101
519
/* * This file is part of the constraint solver ACE (AbsCon Essence). * * Copyright (c) 2021. All rights reserved. * Christophe Lecoutre, CRIL, Univ. Artois and CNRS. * * Licensed under the MIT License. * See LICENSE file in the project root for full license information. */ import main.Head; /** * This is...
21.625
84
0.691715
da3688c419e9ddc6185e4a7ee069d4aceb8ea16e
529
package demoa001.model; import org.noear.solon.validation.annotation.NotBlank; public class Model { /** * 用户名 * @since 1.0 */ @NotBlank String name; /** * nick name * @required * @since 1.0 */ String nick; public String getName() { return name; ...
13.564103
54
0.529301
64affc1b4c173d517031ec7cf08b40571039961e
816
package sql; import config.SqlExecuteConfig; import org.apache.flink.table.api.TableResult; import org.apache.flink.table.api.bridge.java.StreamTableEnvironment; public class SqlExecute { private TableResult tableResult; private SqlExecuteConfig sqlConfig; private SqlExecute(SqlExecuteConfig sqlConfig) {...
27.2
94
0.724265
b3caf8c32bc5d690045d7e69de4a745a514473a4
632
package com.feitianzhu.fu700.model; import com.google.gson.annotations.SerializedName; /** * Created by dicallc on 2017/9/28 0028. */ public class WXModel { /** * sign : 8006c15bb9695f7da257de66d8921726 * timestamp : 1506518784 * noncestr : 1wpl1n1q8ekdksbpckpqmh9ftqm7dsld * partnerid : 1244914402 ...
21.793103
52
0.732595
502c791f3668c1978e3630e066ba9543f4fab75f
1,367
package net.buildtheearth.terraminusminus.substitutes.net.minecraft.util.math; public class ChunkPos { public final int x, z; public ChunkPos(int x, int z) { this.x = x; this.z = z; } public ChunkPos(BlockPos block) { this(blockToCube(block.x), blockToCube(block.z)); } public int getPosX() { retu...
18.472973
78
0.651061
0e441561b7b2dc350d23f7bd4781d2013be406a2
6,995
package com.github.skjolber.xmlfilter.test; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.io.StringReader; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Properties; import javax.xml.parsers.SAXParserFacto...
34.121951
156
0.710365
6a474d86bfc8132e49c4a3792457365788f54882
5,719
/* * Copyright 2014-2017 Rudy De Busscher (www.c4j.be) * * 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...
40.274648
132
0.735094
51e7514efb544056a7d1f7f42af31caa7101e6ea
2,214
/******************************************************************************* * Copyright 2021 Konexios, 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.apa...
27.333333
80
0.714092
ac26f8a9438e525464c7b3f582ff2a27895eb8bf
886
package pruebas; import dto.Productos; import java.util.List; import mybatis.SessionFactory; import mybatis.mapper.ProductosMapper; import org.apache.ibatis.session.SqlSession; public class PruebaQry { public static void main(String[] args) { List<Productos> list; try (SqlSession session = Sessio...
30.551724
88
0.594808
2f789730d04fc85fd7bd3e9c71080069bc397c40
4,027
/* * 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 ...
36.944954
95
0.700273
bd302556e58fdbdcbe72a441e231617c9185b0b0
712
package com.tz.redismanager.config.sdk.domain.dto; import com.tz.redismanager.config.sdk.enm.ConfigTypeEnum; import lombok.Getter; import lombok.Setter; import lombok.ToString; /** * <p>配置Context</p> * * @author tuanzuo * @version 1.7.0 * @time 2021-08-07 19:16 **/ @Getter @Setter @ToString public class ConfigC...
13.692308
57
0.577247
9a1213e15a677415c9516c6cf44c47e26aec1ac4
1,282
package jp.gr.java_conf.daisy.ajax_mutator.detector.dom_manipulation_detector; import java.util.List; import jp.gr.java_conf.daisy.ajax_mutator.detector.AbstractDetector; import jp.gr.java_conf.daisy.ajax_mutator.mutatable.DOMCreation; import org.mozilla.javascript.ast.AstNode; import org.mozilla.javascript.ast.Func...
33.736842
78
0.724649
5227bf0b45d33030ebf1e24f9e8c2c64d327b46a
1,061
package com.unascribed.fabrication.mixin.a_fixes.better_pause_freezing; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import com.unascribed.fabrication....
39.296296
186
0.816211
680a3472339991b40383de051b6e5221c96a0975
6,213
/** */ package edu.kit.ipd.sdq.kamp4aps.model.aPS.StructureRepository.impl; import edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository.ComponentRepositoryPackage; import edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository.Controller; import edu.kit.ipd.sdq.kamp4aps.model.aPS.StructureRepository.ControlC...
29.306604
169
0.680348
8fc3c8fd7bc38826eae4ad3dc901689a111b330e
3,511
package org.jboss.resteasy.test.providers.jaxb.regression; import org.jboss.resteasy.client.ClientRequest; import org.jboss.resteasy.client.ClientResponse; import org.jboss.resteasy.core.Dispatcher; import org.jboss.resteasy.plugins.providers.jaxb.JAXBContextWrapper; import org.jboss.resteasy.test.EmbeddedContai...
29.504202
124
0.588152
98693d33606cd90378474b168d8d0c4288a85648
8,847
/* * 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")...
33.511364
129
0.74805
bf38a0a9ae96f4a87a05aac6432ceee9e23ab622
203
package ch.uzh.ifi.hase.soprafs22.rest.dto; import lombok.Getter; import lombok.Setter; @Getter @Setter public class LobbyStartDTO { private String hostToken; private Boolean roundStarted; }
14.5
43
0.763547
4dea438460192b3fd8f47f8877a4a1180f7e2516
7,733
package it.unibz.inf.ontop.test.sparql11; import com.google.common.collect.ImmutableSet; import it.unibz.inf.ontop.test.sparql.ManifestTestUtils; import it.unibz.inf.ontop.test.sparql.MemoryOntopTestCase; import org.eclipse.rdf4j.query.Dataset; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; ...
34.522321
143
0.726626
7953beaf6659151b5d0760f73562425f8116d67c
282
package com.gitee.qdbp.jdbc.test.model; import com.gitee.qdbp.able.model.reusable.ExtraData; /** * 选项 * * @author zhh * @version 180514 */ public class RoleOptions extends ExtraData { /** 版本序列号 **/ private static final long serialVersionUID = 1L; }
16.588235
53
0.648936
3e8abb22e53bca5539c351ddf01f31c033709f4c
6,973
/* * The MIT License * * Copyright 2017 Leif Lindbäck <leifl@kth.se>. * * 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 * ...
42.779141
115
0.492041
0a6f5fcc4893730c355042b58589115323c6700b
431
package br.com.armange.codeless.reflection.klass; public class ClassValue { private final Class<?> value; private final Exception exception; public ClassValue(final Class<?> value, final Exception exception) { this.value = value; this.exception = exception; } public Object get...
21.55
72
0.645012
a86881a4166cdcfc13fe54330aaec2eecc6f4180
4,025
/** * @author krvsingh */ package connectors.qc.notifier.restclient.model; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.URISyntaxException; import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import connectors.qc.notifier....
23.265896
105
0.712795
9dcf94ba881928a85f3cece34f6401eced7e6066
11,182
/* * * 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"); y...
34.195719
106
0.549812
208626d13baabb1d02e65822b70376f3b6d2fbaf
6,354
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package erp.mod; import erp.mod.cfg.db.SDbCompanyBranchEntity; import erp.mod.cfg.db.SDbCountry; import erp.mod.cfg.db.SDbCurrency; import erp.mod.cfg.db.SDbFunctionalArea; import erp.mod.cfg.db.SDbLanguage; import erp...
38.047904
184
0.587819
8116c772e7bc5c9cfc09443134a4849828bc34a6
2,942
package cn.e3mall.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestM...
26.504505
84
0.756968
3f2712af484105aceb5c6f5426bf1b74933fa9c5
105
package com.piesat.excel.excel; public interface ReadExcelResultCallback<T> { void onResult(T t); }
17.5
45
0.752381
be0b080880366f6545e430d5f73468ca2e001936
1,305
package io.geekidea.springbootplus.example; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.io.Resource; import org.springframework.jdbc.datasource.init.DataSource...
34.342105
85
0.758621
ad29a239dba312750f4bff0583ad28c698414e33
1,088
package com.omertdemirel.rentacar.business.abstracts; import java.util.List; import org.springframework.data.domain.Sort; import com.omertdemirel.rentacar.business.dtos.CreditCardDto; import com.omertdemirel.rentacar.business.dtos.ListCreditCardDto; import com.omertdemirel.rentacar.business.request.CreateCreditCardR...
32
76
0.840074
6b42aac7b0251d76a1018dd5e62ded9256e85dd3
6,676
package brokenlib.common.notification; import brokenlib.BrokenLib; import brokenlib.common.network.BrokenLibNetwork; import brokenlib.common.notification.packet.CSPacketNotification; import brokenlib.common.notification.packet.SPacketRemoveNotification; import io.netty.util.collection.IntObjectHashMap; import net.mine...
39.738095
142
0.691282
0edd32529c8f82781392a6d69803d3f8d813c22b
3,941
package cn.com.tsjx.sys.impl; import java.io.IOException; import javax.annotation.Resource; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import org.apache.commons.lang3.StringUtils; import org.springframework.core.task.TaskExecutor; import org.springframework.mail.javamail....
38.637255
120
0.643745
3a0e5b1ca0b2fe4d5ab67a40e87e48514a3e8320
4,653
/* * Copyright (C) 2011 Everit Kft. (http://everit.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
37.224
99
0.712229
ef35f23e3b2d975271d978930f59c5f84bd06679
3,577
/* * 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.191011
156
0.760973
3356bb2a75ddb8794dbc68d28e0b6dc0423921c4
4,255
/* Copyright (c) since 2015, Tel Aviv University and Software Modeling Lab 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 noti...
27.993421
98
0.73537
ddb8084c28c606d01f357ad83b548942afaede8d
486
package be.kdg.repaircafe.backend.persistence.api; import be.kdg.repaircafe.backend.dom.repairs.Repair; import be.kdg.repaircafe.backend.dom.users.roles.Client; import java.util.List; /** * Extra interface to support customization of Spring's Data interfaces */ public interface RepairRepositoryCustom { // http...
28.588235
121
0.794239
e2456464e4833c1cb89581a511d2b7928c1e3b83
1,229
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.test.annotations.cid.keymanytoone; import java.io.Serializabl...
20.483333
94
0.716843
0e198a05dc1ef0539837659a1917843df7be3937
3,117
/*************************************************************************** * Copyright 2017 Kieker Project (http://kieker-monitoring.net) * * 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 a...
38.012195
160
0.725056
84106db3305a99b9a792ac442a80281109d5c066
1,675
package algorithms; public class LCS { public static void main(String[] args){ String a=new String("fa"); String b=new String("fa"); System.out.print(a==b); String d = "44"; int aa3= 1; // String X = "ak46deetyyxaz"; // String Y = "k6dcbtacbzeg"; // char[] x = X.toCharArray(); // char[] y = Y.toCharArr...
32.843137
135
0.638209
c9601d78c8bedad418e029f8b476e227789f0940
1,019
package net.modificationstation.stationapi.api.common.recipe; import net.modificationstation.stationapi.api.common.StationAPI; import net.modificationstation.stationapi.api.common.event.recipe.RecipeRegisterEvent; import net.modificationstation.stationapi.api.common.registry.Identifier; import net.modificationstation....
37.740741
165
0.794897
e98c84f7637d27d97b47854b74d02e9c25d460e9
2,044
package acceptance; import acceptance.pageobject.ListBookPage; import org.junit.Before; import org.junit.Test; import org.openqa.selenium.WebDriver; import static org.assertj.core.api.Assertions.assertThat; public class ITSearchBooks extends BaseAcceptance { private ListBookPage listBookPage; private static...
29.623188
111
0.710372
6f2185076a9d900d5822b5dbcf0c6dd4314fa5b3
1,645
package me.monkeykiller.customblocks.commands; import me.monkeykiller.customblocks.CustomBlocksPlugin; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.command.PluginCommand; import org.bukkit.command.TabExecutor; import org.jetbrains.annotations.NotNull; import org.jetbrai...
31.037736
143
0.71307
d822de8a34b3489813fd5e41a3fe9f70cec8edb9
2,200
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
31.428571
93
0.699091
23e6efb9d98bf8bcd7722cc89fd9fc59b43d88fa
14,102
package ch.poole.openinghoursfragment; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.uiautomator.By; import androidx.test.uiautomator.BySelector; import androidx.test.uiautomator.Configurator; import androidx.tes...
37.806971
122
0.604595
d606fa0756945850814dd16efacefbe7ae76876b
449
package org.softspiders.pairs; import java.util.Collections; import java.util.HashSet; import java.util.Set; public class Pairs { private Set<Pair> pairs = new HashSet<Pair>(); public void addPair(Pair pair) { pairs.add(pair); } public void removePair(Pair pair) { pairs.remove(pair); } public Set<Pair> g...
17.269231
47
0.712695
b130d3321b933a1223970a500aa3832a332eee88
6,775
package tw.osthm; import android.os.Environment; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; import org.json.JSONException; import org.json.JSONObject; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap...
36.820652
120
0.569004
93050441443a4fe13789bed1589a61cfd97cbf85
908
package reflectx.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Catch exceptions that might occur in the proxy interface implementation class method, * return the default value if the...
25.942857
88
0.759912
f77c9d8324c1d86c1c1e2084e8ca5498c99b3b90
8,099
package com.github.yamill.orientation; import android.app.Activity; import android.content.pm.ActivityInfo; import android.graphics.Point; import android.hardware.SensorManager; import android.provider.Settings; import android.view.Display; import android.view.OrientationEventListener; import java.util.HashMap; import...
35.213043
160
0.654155
2ceee8686c8774c55dc4c06b35198348236d57bb
1,355
package ch.wisv.toornament.model; import ch.wisv.toornament.model.enums.MatchStatus; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.HashMap; import java.util.List; import java.util.Map; ...
24.196429
71
0.692251
4270d7d2388beaaa2f9b432a7c19930748aa99cd
170
class A { static { Runnable runnable = new Runnable() { public void run() { } }; System.out.println(runnable); } }
18.888889
44
0.447059
3def1ea8d7e4e87fe84b5ff8817e3531ca386415
1,528
package io.perfeccionista.framework.pagefactory.factory.proxy; import io.perfeccionista.framework.exceptions.ElementMethodNotImplemented; import io.perfeccionista.framework.exceptions.attachments.MobileElementAttachmentEntry; import io.perfeccionista.framework.pagefactory.elements.base.MobileChildElement; import io.pe...
40.210526
116
0.768979
e8a3ca203a43f7f529384d2b7a0e4043e684c01e
8,991
/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. * * All rights reserved. Email: russ@q12.org Web: www.q12.org * * Open Dynamics Eng...
38.423077
100
0.467245
c7d118c0ef3e8feef2987e889903e0394e9ee159
664
package neuronet.copy; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; public class EMFProvider { private static final EMFProvider singleton = new EMFProvider(); private EntityManagerFactory emf; private EMFProvider() { } public static EMFProvider getInstance() { r...
20.75
83
0.715361
27d1170d9ed3315fcd7d2a95c52e5be4d40726c1
2,919
package org.motechproject.security.authentication; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import org.motechproject.security.domain.MotechUser; import org.motechpro...
33.170455
98
0.764303
15458cf5fe10f594533cb400a6733afe637ca57a
807
package io.boodskap.iot.spi.storage.jpa; import io.boodskap.iot.StorageException; import io.boodskap.iot.dao.RawDataDAO; import io.boodskap.iot.model.jpa.RawData; import io.boodskap.iot.spi.storage.IRawStorage; import io.boodskap.iot.spi.storage.jpa.dao.RawDataDAOImpl; public class JPARawStorage implements IRawStorag...
19.682927
69
0.758364
541a947c1e766686c23b3e47a0e1eb8114d7a2b1
4,872
/* * The MIT License * * Copyright 2018 d471061c. * * 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...
34.309859
97
0.597906
6303fec36fbde34f99fa7ca089553d4696bd74a3
572
package com.networkedassets.git4c.infrastructure.database.ao; import net.java.ao.Entity; import net.java.ao.Preload; import net.java.ao.schema.Table; @Table("RepositoryUsages") @Preload public interface RepositoryUsageEntity extends Entity { String getUuid(); void setUuid(String uuid); String getUsernam...
22
61
0.744755
bd2903bffae1b041582af6c9369f6e2212150fe2
214
package br.com.gabriel.logica; import br.com.gabriel.poo.Funcionario; public class FuncionarioExterno { public static void main(String[] args) { Funcionario f = new Funcionario(); f.nome = "Roberto"; } }
17.833333
41
0.719626
33675f2f462df5049c4beadbc21415b26ba8a480
1,992
/* * Copyright 2011 DTO Solutions, Inc. (http://dtosolutions.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 r...
30.181818
89
0.693775