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
e5954f027c152bcb42a57cbe77c5b51950b77cbd
7,063
/* * 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 ...
24.105802
148
0.74062
44297ae13e84a2cfd1f41b1164b1c32f9e671c89
366
package com.asha.nightowllib.paint; import android.content.res.TypedArray; import android.view.View; /** * Created by hzqiujiadi on 15/11/7. * hzqiujiadi ashqalcn@gmail.com * * response for setup values and * draw draw draw draw */ public interface IOwlPaint { void draw(View view, Object value); Object[...
21.529412
54
0.724044
6d8af45f28293d634959bcec4b9eba2b8115d9d6
865
package eu.ha3.matmos.game.data.modules; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityClientPlayerMP; import eu.ha3.matmos.engine.core.interfaces.Data; import eu.ha3.matmos.game.data.abstractions.module.Module; import eu.ha3.matmos.game.data.abstractions.module.ModuleProcessor; /* -...
27.903226
76
0.774566
a221ef5bac3d1b3b5c0ed2724d465e251ffa8635
2,767
// Template Source: BaseEntity.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------------------...
33.743902
152
0.693531
03871ec39f0502fe09f33796776d323968967ca0
15,190
package org.ihtsdo.termserver.scripting.template; import java.io.IOException; import java.util.*; import org.snomed.authoringtemplate.domain.ConceptTemplate; import org.snomed.authoringtemplate.domain.logical.*; import com.google.common.base.Charsets; import com.google.common.io.Files; import org.ihtsdo.otf.rest.cl...
37.321867
207
0.7079
6bf8658343e9a25f917eda9f4dfa539c74170cc7
6,435
/* * Copyright 2016 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
30.642857
100
0.679254
948fd74722d6f0f6a08afa2a164578f1d0685fdb
533
package org.prosolo.services.assessment.data.grading; /** * @author stefanvuckovic * @date 2018-01-17 * @since 1.2.0 */ public interface GradeDataVisitor<T> { T visit(ManualSimpleGradeData gradeData); T visit(AutomaticGradeData gradeData); T visit(ExternalToolAutoGradeData gradeData); T visit(Comp...
28.052632
53
0.757974
31d3ac405495d9a9772cfab73035a88c02d1b5ec
2,466
/* * Copyright (C) 2010 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 app...
32.88
75
0.751014
e547d8ea2f79555f964bead1296b63494e42b8e9
1,133
package com.unascribed.yttr.network; import com.unascribed.yttr.client.particle.VoidBallParticle; import com.unascribed.yttr.init.YNetwork; import com.unascribed.yttr.network.concrete.NetworkContext; import com.unascribed.yttr.network.concrete.S2CMessage; import com.unascribed.yttr.network.concrete.annotation.field.Ma...
26.348837
77
0.772286
e9c6ad07c0f4b71990992b9b05ce7ae6c309e9c8
7,200
/******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
32
106
0.660694
a39781258c8294744eb166d772d6ec1c9d97b184
10,330
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2002-2018 ymnk, JCraft,Inc. 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 retai...
30.293255
85
0.620716
f1439eb0dbe3f0f9b484d80be43ab007f43a626f
5,560
package com.alibaba.ververica.connectors.hologres.api.table; import org.apache.flink.table.data.DecimalData; import org.apache.flink.table.data.GenericArrayData; import org.apache.flink.table.data.StringData; import org.apache.flink.table.data.TimestampData; import org.apache.flink.table.types.logical.LogicalType; imp...
38.344828
99
0.618345
4a1453ae456893f5196b42318ebb42b03724e405
2,053
package seedu.sugarmummy.model.recmf; import static java.util.Objects.requireNonNull; import static seedu.sugarmummy.commons.util.AppUtil.checkArgument; /** * Represents the name of <code>Food</code> in the recommended food list. Guarantees: immutable; is valid as declared in * {@link #isValidName(String)} */ publ...
28.513889
120
0.646858
72c1e38f113d46ceeb87fd7a97bcce571cbbb564
186
package ro.ovidiuconeaac.businesslayer.beans; import ro.ovidiuconeac.models.Sweet; /** * Created by ovidiu on 2/7/17. */ public interface SweetsBean { Sweet getRandomSweet(); }
15.5
45
0.731183
6ec64549af6d5fa83d7f4a55c69b83b8df9d5bf4
411
package com.zype.android.webapi.events.plan; import com.zype.android.webapi.RequestTicket; import com.zype.android.webapi.events.DataEvent; import com.zype.android.webapi.model.plan.PlanResponse; /** * Created by Evgeny Cherkasov on 22.06.2018 */ public class PlanEvent extends DataEvent<PlanResponse> { public ...
24.176471
63
0.756691
646160e4edb50121b3612e949e94bb5b23f4a7a7
2,907
package org.qbit.messanger.userservice.web; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Spy; import org.mockito.junit.jupiter.MockitoExtension; import org.qbit.messanger.userservice.converter.UserUserD...
32.662921
116
0.71861
dd715f047c083c6800ff187a1866e52264b94719
431
class RubikRight extends RubikFront { public RubikRight(Rubik rubik) { super(rubik.getGrid()); } @Override public RubikFront left() { return super.rightView().left().leftView(); } @Override public RubikFront right() { return super.rightView().right().leftView(); ...
18.73913
52
0.596288
619aace2a05c1409c4a23b0603916df5c405ce51
568
package game; public interface Strategy { public void attack(Monster m); } // TODO create a strategy for each hero type /* - MageStrategy - void attack(Monster) - WarriorStrategy - void attack(Monster) - PriestStrategy - void attack(Monster) */ /* Attack algorithm if hero type weapon found use it (x...
19.586207
56
0.728873
d6db303e7be032983f272d2b4070583b363a8a1b
671
package com.example.supernotes.designpattern.builder; import com.example.supernotes.designpattern.builder.carpart.Engine; import com.example.supernotes.designpattern.builder.carpart.SeatBelt; import com.example.supernotes.designpattern.builder.carpart.WindScreen; public class Program { public static void main(Str...
33.55
71
0.648286
2c768eca26d3508283d2119ea58fa46e7b880739
3,967
/* * Copyright (c) 2016 PayMaya Philippines, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modify, mer...
39.67
143
0.706579
2028a151d4396dbf7d03d7db0c2755cc91e8cb71
1,278
package basewindow.transformation; import basewindow.BaseWindow; public class ScaleAboutPoint extends Transformation { public double x; public double y; public double z; public double posX; public double posY; public double posZ; public ScaleAboutPoint(BaseWindow window, do...
26.625
160
0.578247
d15285c6e06c76e4aa380b2ec932fd3f242c6b81
1,812
package ftn.ktsnvt.culturalofferings.dto; import java.util.Date; import java.util.List; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Positive; public class NewsDTO { private Long id; @NotBlank(message = "News title cannot be e...
20.827586
73
0.630795
1e2ebe63b893211f35e2f7f1cdce65fd9d8d0c83
2,420
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
31.025641
98
0.673554
9ca988782076e69094f114c032e71d4ace74ee5c
2,789
package me.skywave.helloapplication.front.dialog; import android.app.Activity; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.T...
33.202381
99
0.66081
1e4280e23b92305241eaa2f77ea328fd26add787
16,395
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
45.415512
186
0.556755
d703b39fc04dfaab5528bb193e45acec919cb323
215
class Solution { public int hammingDistance(int x, int y) { int s = x ^ y; int sum = 0; while (s != 0) { sum++; s &= s - 1; } return sum; } }
16.538462
46
0.372093
e35b8da98bbe2aa7b4d6d129daf4a7a89cd9a09d
515
package com.wxw; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; /** * URL http://localhost:8000/ * @author weixiaowei * @desc: 秒杀注册中心 * @date: 2021/7/11 */ @EnableEu...
25.75
74
0.776699
6b826b7c4218ffa49b274885226ab51bcb4eb92a
3,273
/******************************************************************************* * Copyright (c) 2007, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
32.405941
101
0.713107
d3dfeb39e62bd4580428cd22d295435a62c36560
2,423
/*- * #%L * Mastodon Collections * %% * Copyright (C) 2015 - 2021 Tobias Pietzsch, Jean-Yves Tinevez * %% * 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 abo...
29.91358
113
0.722658
2a438ce6c2a65a9557251410557e1efb6774d274
745
package com.fenbi.newbull.mvc.web.configure; import lombok.extern.slf4j.Slf4j; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler; impo...
33.863636
93
0.810738
9885542091fa5c7c1468d7fc54883a12f0d032e6
2,206
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.components.browser_ui.widget.textbubble; import android.content.Context; import android.view.LayoutInflater; import android.view.View...
44.12
100
0.736174
f9c1c538163e7423c2e3259c223e589dc9dc09d9
862
package com.iec2016018.CCWarmup.Algos.Sorting.Hybrids; import java.util.Arrays; public class Radix { /* R A D I X S O R T -- ABOUT : > The lower bound for comparison based sorting algorithm (Merge Sort, Heap Sort, Quick Sort.. etc) is Q(nLogn), i.e, they c...
22.684211
120
0.476798
9dd045a50fe64068cbad3e590416a0e96b0baf18
1,704
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.util.lang.api.concern; /** * This interface is used to document the concept and meaning of <em>accessibility</em> (of a user-interface). We * provide advanced support es...
54.967742
120
0.758216
46ef8a77ac84150db9bcd5e917effbe8cd4987c1
2,328
/** * <a href=“http://www.openolat.org“> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
33.73913
104
0.712199
ad02946b1ac43d226a51684091cec999b306be84
2,198
/* * Copyright 1999-2021 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...
28.545455
81
0.692448
1dc36b0f9210866e9c3734bad9da869085e7b3dc
1,474
/* * Nimrod/G * https://github.com/UQ-RCC/nimrodg * * SPDX-License-Identifier: Apache-2.0 * Copyright (c) 2021 The University of Queensland * * 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 Licen...
24.983051
75
0.729986
6b6482e24b40ecdf657fa4d1ce27882480c09396
4,071
/* * File: AbstractKernelizableBinaryCategorizerOnlineLearner.java * Authors: Justin Basilico * Company: Sandia National Laboratories * Project: Cognitive Foundry Learning Core * * Copyright April 04, 2011, Sandia Corporation. * Under the terms of Contract DE-A...
34.210084
143
0.709162
cb81b955acf6e8c12127a7b82fe41f84bb3e08d7
507
package org.mharris.artifactory.artifactoryscanner.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.Date; @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Artifact { private String repo; private String path; private String name; ...
22.043478
61
0.757396
6ddfb2cb04cafe61f4221c34f194508857c40673
3,054
/******************************************************************************* * 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 ...
43.628571
93
0.740995
72d527a0c2a4de57ce168e8aac3cd9890a59dabf
561
package com.trasier.client.util; import com.trasier.client.api.ContentType; import org.junit.Test; import static com.trasier.client.util.ContentTypeResolver.resolveFromPayload; import static org.junit.Assert.assertEquals; public class ContentTypeResolverTest { @Test public void resolveContentType() { ...
31.166667
87
0.755793
6d8dc6313da652572a4763830c4c8a3a970684f8
687
package org.jtwig.unit.util; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.IsEqual.equalTo; import static org.jtwig.util.FilePath.path; public class FilePathTest { @Test public void pathTest() throws Exception { assertThat(path("/test/test...
31.227273
95
0.668122
dd22ee7a3b9eb0fe668582351fd1df23042c5527
1,940
package com.hjh.files.sync.client; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import org.apache.http.util.Asserts; import com.hjh.files.sync.common.HLogFactory; import com.hjh.files.sync.common.ILog; import com.hjh.files.sync.common.RemoteFile; import com.hjh.files.sync.common....
31.290323
104
0.715464
bc40feec0aa070827f2036509a1b556572de2e32
88
package space.dubovitsky.thymeleaf.object; public enum Gender { MALE, FEMALE; }
11
42
0.715909
e11815f37a0ee6a3be8d5417620635bee421fc2d
3,427
package com.ld.codeGenerate.entity; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.persiste...
22.398693
67
0.744091
c4543296fbf3d19a6a0898e45d28185094cd70f8
1,437
/* * Copyright 2012 Amadeus s.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 agreed to i...
32.659091
99
0.705637
94b7d9a8551848b1daeffa995464af8f4cdfdc0c
2,118
/* 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...
37.821429
108
0.772427
6c79e897175e9faec95d1d75978de7c22a5d71cf
247
package com.baeldung.executable; import javax.swing.JOptionPane; public class ExecutableMavenJar { public static void main(String[] args) { JOptionPane.showMessageDialog(null, "It worked!", "Executable Jar with Maven", 1); } }
20.583333
90
0.716599
f873154f7ecb7cb50b5fcd325d32f2914d7b31d6
1,989
/* * JBoss, Home of Professional Open Source * Copyright 2015, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
39.78
133
0.75264
de456c861b0569a023b28f18aa439c3920ffe925
1,323
package betterwithaddons.util; import betterwithaddons.item.ItemTea; import betterwithaddons.item.ModItems; import betterwithaddons.util.TeaType.ItemType; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.Ingredient; import javax.annotation.Nullable; public class IngredientTea extends Ingredien...
28.76087
143
0.644747
4e85d0c2ba2588ac581f35533cae8e815f5d080b
654
package evolved.model; import evolved.model.compute.Operator; import java.util.Set; public class ComponentBuilderConfiguration { private final Set<String> inputKeys; private final String outputKey; private final Operator operator; public ComponentBuilderConfiguration(Set<String> inputKeys, String ...
20.4375
102
0.678899
0244ce918341ef9951db4028108e579e9066f3c7
1,383
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package ch.qos.logback.core.status; import java.util.ArrayList; import java.util.List; // Referenced classes of package ch.qos.logback.core.status: // ...
27.117647
68
0.573391
d148d29e099a1e5c4948cfa30dd241b1e3697d51
7,360
package streetmap.view.general; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.InputEvent; import java.awt.event.KeyEvent; import javax.swing.Box; import javax.swing.JLabel; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import ja...
29.206349
117
0.762092
335d3e593443162bc262308904dce67df1e46809
4,766
package org.dontpanic.spanners.springmvc.controllers; import org.dontpanic.spanners.springmvc.domain.Spanner; import org.dontpanic.spanners.springmvc.exception.SpannerNotFoundException; import org.dontpanic.spanners.springmvc.services.SpannersService; import org.junit.Before; import org.junit.Test; import org.junit.ru...
31.562914
96
0.690516
c3515e96d454a231afdc0f7be1110f8391c497bd
1,514
/* вор, который ворует самые ценные посылки и игнорирует все остальное. * Вор принимает в конструкторе переменную int – минимальную стоимость посылки, которую он будет воровать. * Также, в данном классе должен присутствовать метод getStolenValue, * который возвращает суммарную стоимость всех посылок, которые он свор...
35.209302
108
0.68362
6638f0140269ca1b5d94c2cb4b5b1390be3916b0
280
package com.edomingues.icalexchange365.repository; import com.edomingues.icalexchange365.model.AuthorizationState; public interface AuthorizationStateRepository { public AuthorizationState load(String state); public void save(AuthorizationState authorizationState); }
25.454545
63
0.835714
49694d6ca9747e9231b8da825c2b7ca5b853afeb
2,532
package de.uni_hildesheim.sse.monitoring.runtime.recordingStrategiesElements; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import de.uni_hildesheim.sse.monitoring.runtime.recordingStrategies. RecorderStrategy; /** * Defines a message element which transp...
22.607143
78
0.571485
923626506f61ef69e90ef4b1dcd796565d76b61a
10,852
package com.concordium.sdk.transactions; import com.concordium.sdk.crypto.ed25519.ED25519ResultCode; import com.concordium.sdk.crypto.ed25519.ED25519SecretKey; import com.concordium.sdk.exceptions.ED25519Exception; import com.concordium.sdk.exceptions.TransactionCreationException; import lombok.val; import org.junit.T...
44.842975
157
0.589845
5cd07c2c47f4b363baba2ae32621e69ad6505412
1,288
package org.fluentjava.iwant.core; import java.util.SortedSet; import java.util.TreeSet; public class Workspace { private final String name; private final SortedSet<Target<?>> targets; private Workspace(String name, SortedSet<Target<?>> targets) { this.name = name; this.targets = targets; } public String ...
19.223881
72
0.710404
c99a24d47c89f10b55b7fc27338078bd36d25b67
1,831
package org.jayhenri.store_manager.service.store; import org.jayhenri.store_manager.interfaces.service.other.EmployeeServiceI; import org.jayhenri.store_manager.model.store.Employee; import org.jayhenri.store_manager.repository.store.EmployeeRepository; import org.springframework.beans.factory.annotation.Autowired; im...
23.779221
76
0.724194
336ea0df0b1f29d54c8a5567ba6057bf47615271
1,264
/* * Copyright 2017 Michele Milidoni <michelemilidoni@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 requi...
32.410256
75
0.663766
9416f4489883f899b6664160d2684e3806bd09b9
1,622
/** * ListApps - lists all 3rd party installed apps * * @author (Brendan Manning) * @version (0.0.1) */ import java.io.*; import java.lang.*; import java.lang.String; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; public class listapps { public static void main(String[] args) { ...
31.803922
82
0.505549
5574c1c4c845c584f095ca3ae1b98ba20d2af296
2,757
/* * (C) Copyright 2011 Nuxeo SA (http://nuxeo.com/) and others. * * 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 require...
30.633333
107
0.689518
607c5eb73424cb3fd352de17df5fc2a7a28f1e22
1,282
package lt.samerdokas.gdd.batch; import java.nio.file.Paths; import java.util.Locale; class Env { public static boolean isTerminalCompatible() { return Boolean.parseBoolean(System.getenv().getOrDefault("GDD_UNICODE_TERMINAL", "false").toLowerCase(Locale.ROOT)); } public static String getServi...
32.871795
144
0.670047
cd9fea3e888ab754ff8fcd48f37de96038823a8b
892
package com.acgist.snail.utils; import java.lang.reflect.InvocationTargetException; import org.junit.jupiter.api.Test; import com.acgist.snail.pojo.entity.TaskEntity; public class PropertyDescriptorTest extends Performance { @Test public void testRead() throws IllegalAccessException, IllegalArgumentException, In...
30.758621
109
0.776906
c9727183c57fde88b53cfb7c8f81608eaa8868d6
254
package com.wisdom.acm.base.vo; import lombok.Data; @Data public class BaseBoVo { /** * 主键 */ private Integer id; /** * 业务对象代码 */ private String boCode; /** * 业务对象名称 */ private String boName; }
10.583333
31
0.519685
aba2db8a7800d6dbddf0f012b61de7079531eccd
13,834
package cat.yoink.dream.impl.module.combat; import cat.yoink.dream.api.module.Category; import cat.yoink.dream.api.module.Module; import cat.yoink.dream.api.setting.Setting; import cat.yoink.dream.api.setting.SettingType; import cat.yoink.dream.mixin.mixins.accessor.IMinecraft; import net.minecraft.block.Block; import...
38.427778
111
0.692569
9a8d7d592ff7c97ad0c4cf60cd9ae74f80249ddb
2,761
/* * Copyright 2016-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...
31.375
92
0.749366
350942826610640ea0c94d6c08a9b7ba618614f5
3,690
package com.dat3m.svcomp.utils; import static com.dat3m.dartagnan.program.utils.EType.INIT; import java.io.BufferedReader; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.stream.IntStream; import com.dat3m.dartagnan.program.Program; impor...
40.108696
162
0.636043
c2dc220dce8d9988817f1a56189b354b99a484c7
159
package com.example.uas_usecase_2301847404.game; public class InfantryHero extends Heroes{ public InfantryHero() { this.HeroType = Heroes.INFANTRY; } }
15.9
48
0.773585
6c122c4e44397e5a2537de33f68e2cd663509669
5,787
/* * Copyright 2015-2016 Hippo B.V. (http://www.onehippo.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 req...
38.324503
121
0.703473
472f34bd6c3170e9a005c9dac55a71f9bf5255a2
355
package com.ethanco.sample.view; import java.util.Collection; /** * Created by EthanCo on 2016/9/30. */ public interface IListView<M> { void onRefreshSuccess(Collection<M> collection); void onRefreshFailed(String error); void onLoadMoreSuccess(Collection<M> collection); void onLoadMoreFailed(Str...
17.75
53
0.721127
b90385344f1e09d1ee8a3fe54e5d0cf7c4957323
461
package io.github.avivcarmis.confEager.sources; import io.github.avivcarmis.confEager.ConfEagerSource; /** * Out of the box source to map Environment Variables */ public class ConfEagerSourceEnvironmentVariables extends ConfEagerSource { public static final ConfEagerSource INSTANCE = new ConfEagerSourceEnviron...
25.611111
93
0.778742
bd15a9e58409a371a1e969b455fecf555ee9b74e
31,198
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package studentmanagement; import database.Connect; import java.awt.Dimension; import java.awt.Toolkit; import java.sql.ResultSet; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Date;...
51.652318
193
0.664466
339d32cd9d8c52ad0e0b9bb8fbcfc3a8f697bd1c
650
package Heranca; /* HERANCA = usar palavra extends na classe As classes que recebem a herança do pai tem acesso aos seus metodos e atributos, não sendo preciso reescrever código */ public class Main { public static void main(String[] args) { Car carro = new Car(); carro.go(); System.out...
24.074074
116
0.566154
0ee218eacfe4f04ac070bcb6e2bd6f4f8fe6c25e
2,360
package com.fzjk.guanwang.config; import com.fzjk.guanwang.interceptor.LoginInterceptor; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.system.ApplicationHome; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; im...
32.777778
88
0.705508
5559871e63314f6e292e34b003d8ede10559646b
7,088
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.logic.v2016_06_01; import com.fasterxml.jackson....
28.01581
111
0.665632
568067df5b6b12529b93996668dfc244e353e979
5,308
/* * Copyright 2016 Code Above Lab 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
32.564417
116
0.642615
5a3f28f8e5d1beb13eb6a7258c80738dc1f265d5
1,162
/* * Copyright (c) 2018-present, Aaron J. Halbert. * * 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 o...
35.212121
112
0.767642
e7efc7e4d96dcfdd52361b6ee3e6fd2458b7ef29
894
package main.actions.lib; import net.dv8tion.jda.api.entities.Guild; import net.dv8tion.jda.api.entities.TextChannel; public abstract class ModAction implements Action { // Define shared fields private String targetUserID; private String targetUserName; private String adminID; private String adminName; public...
22.923077
97
0.771812
6ce955619d95a49fd4820b19fb419ec4376b5094
1,804
/** * * Copyright (c) 2006-2017, Speedment, 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 requ...
35.372549
86
0.709534
ca154eb513e123cb6c366988162d291362f60f55
3,513
package com.baomidou.config; import java.io.File; import java.nio.charset.Charset; /** * 定义常量 * * @author YangHu, tangguo * @since 2016/8/31 */ public class ConstVal { public static final String MODULENAME = "ModuleName"; public static final String ENTITY = "Entity"; public static final String SERIVCE = "...
47.472973
118
0.768005
0b564d17a991d37f0eab965f60819ac981be6449
941
package it.pagopa.pagopa.apiconfig.entity; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence...
24.128205
64
0.77152
6f0d825b7e69ce79ab9714490df0652132bd753e
2,637
package edu.pasudo123.board.core.config.auth; import edu.pasudo123.board.core.config.auth.dto.OAuthAttributesDto; import edu.pasudo123.board.core.config.auth.dto.SessionUserDto; import edu.pasudo123.board.core.user.model.User; import edu.pasudo123.board.core.user.repository.UserRepository; import lombok.RequiredArgsCo...
42.532258
140
0.780432
622b86300563f801fb28f7819869786c998537e3
594
package com.zeligsoft.domain.omg.corba.api.IDL; import com.zeligsoft.base.zdl.staticapi.core.ZObject; import com.zeligsoft.base.zdl.staticapi.functions.TypeSelectPredicate; public interface CORBAAnonymousSequence extends ZObject { org.eclipse.uml2.uml.DataType asDataType(); /** * A predicate which returns true i...
34.941176
113
0.799663
144ee6b78149e511de11f2242c2be330ca4b499f
240
package com.java.gmall.cart.constants; /** * @author jiangli * @since 2020/1/31 16:25 */ public interface CartConstant { /* redis key 前缀*/ // 购物车前缀 String GMALL_CART = "gmall:cart:"; // sku价格前缀 String GMALL_SKU = "gmall:sku:"; }
15
38
0.658333
5a50124f2ea41077f9c84f088a7ab7f615beb4c4
277
package com.windrises.design.mode.decorator; /** * 矩形长方形 * * @author liuhaozhen * @version Revision 1.0.0 * @date 2020/6/10 10:52 */ public class Rectangle implements Shape { @Override public void draw() { System.out.println("Shape: Rectangle"); } }
17.3125
47
0.646209
376af26cd5b8a30dcd3dde3b98cb85a7f74bee16
1,804
package com.javadesignpattern.strategy.season.java2; import org.junit.Test; import java.util.ArrayList; import java.util.Collection; import java.util.Date; /** * 一、集合框架的概述 * * 1.集合、数组都是对多个数据进行存储操作的结构,简称Java容器。 * 说明:此时的存储,主要指的是内存层面的存储,不涉及到持久化的存储(.txt,.jpg,.avi,数据库中) * * 2.1 数组在存储多个数据方面的特点: * > 一旦初始化以后,其长...
24.053333
71
0.588137
0e60505e4280001b54ef127dd584f8d49620bf9e
1,923
package io.ebean.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Used to control which ToMany relationships are preferred as 'joins' rather than * as 'secondary joins' (query fetches). ...
29.584615
87
0.683827
211cf08835732c11493cff80aa7768321321518d
237
package xyz.erupt.annotation.sub_field.sub_edit; import xyz.erupt.annotation.constant.AnnotationConst; public @interface CheckboxType { String id() default AnnotationConst.ID; String label() default AnnotationConst.LABEL; }
19.75
53
0.78481
c553b7d3e232ced144f8bb370fede94ee6af2fc2
7,160
package com.suheng.structure.gson; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ByteTest { private sta...
39.777778
261
0.588128
f678b91dd0a177f1c7187c4643321416e2e82614
45,552
/* * Copyright (C) 2017 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 app...
35.952644
156
0.668072
c53c018e600c50f15b47ef25395f9cdb13b9d194
2,565
package com.Voxce.model; import java.sql.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="user_cv") public class UserCV { private int user_cv_id; private int user_id;...
20.039063
59
0.733723
9e0f1a5a558d045d6bd2bfa24301187b536660be
12,570
package gq.gouq; import javax.swing.*; import javax.swing.event.ListDataListener; import javax.swing.filechooser.FileNameExtensionFilter; import javax.swing.filechooser.FileSystemView; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowEvent; import ...
40.288462
250
0.575099
8fd3927ddc3551599455597e2a63fd26b02e36ba
1,960
/* * IRClib -- A Java Internet Relay Chat library -- class SSLDefaultTrustManager * Copyright (C) 2002 - 2006 Christoph Schwering <schwering@gmail.com> * * This library and the accompanying materials are made available under the * terms of the * - GNU Lesser General Public License, * - Apache License, ...
30.153846
81
0.664796
9cf1bb4abb35d116c374a275c46a9d3e0410282d
835
package com.tvd12.ezydata.mongodb.testing.bean; import java.util.List; import com.tvd12.ezydata.mongodb.EzyMongoRepository; import com.tvd12.ezyfox.annotation.EzyAutoImpl; import com.tvd12.ezyfox.database.annotation.EzyQuery; import com.tvd12.ezyfox.util.Next; @EzyAutoImpl public interface DuckRepo extends EzyMongoR...
23.857143
68
0.686228
3d1d244994c645031593a9bb8f57607dc8e43495
1,849
package es.ucm.fdi.iw.model; import java.sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; @NamedQueries({ @NamedQuery(name="allComment", q...
17.778846
65
0.713359
99bd0a30118f1460f865f64df42a9e5d591621ee
689
package io.lsdconsulting.lsd.distributed.mongo.integration.testapp.config; import io.lsdconsulting.lsd.distributed.mongo.integration.testapp.repository.TestRepository; import org.springframework.boot.test.context.TestConfiguration; import org.springframework.context.annotation.Bean; import static io.lsdconsulting.lsd...
31.318182
113
0.786647
bd10da8407714d8c5a80a6872894f45d8fbcc84d
869
package br.com.fernando.chapter10_concurrencyUtilities.part00_intro; public class Intro { // Concurrency Utilities for Java EE provides a simple, standardized API for using concurrency from application components without compromising // container integrity while still preserving the Java EE platform’s fundam...
57.933333
159
0.771001
b131bd785e180ff49c47566040a58496c8a6de37
562
package com.neomind.samples; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; @RunWith(JUnit4.class) public class NashornTest { @Test public void doTest() throws Exception { ScriptEngineManager ma...
23.416667
86
0.74911
4f0273041edf31604ca6a5093783210ef7390e80
8,033
package weiboclient4j; import weiboclient4j.model.Friendship; import weiboclient4j.model.User; import weiboclient4j.model.UserIdList; import weiboclient4j.model.UserList; import weiboclient4j.params.Paging; import weiboclient4j.params.Remark; import weiboclient4j.params.ScreenName; import weiboclient4j.params.SourceSc...
38.435407
114
0.72725