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
0740bf3fd3f743d57a295ce8a2f0fb275650627e
4,884
/* * Copyright (C) 2020 Beijing Yishu 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 ...
35.649635
127
0.687142
11306f3a04be7a70d0e943d53f0bd1455c0dcabc
744
package net.distortsm.api.mixin; import org.schema.game.client.controller.GameClientController; import org.schema.schine.network.client.ClientController; import org.schema.schine.network.client.ClientState; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowe...
33.818182
67
0.805108
cf9cc6ce19e7c14e5d0b2cf04453827ffe37d6ed
878
/* * 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 akh.convdimtoncdf; /** * * @author akheckel */ class SinCell { int nBands; float bandSums[]; in...
21.414634
80
0.552392
21983c5c5c7f23f645b919729fedd9aab2362c92
610
package org.jccastro.clip.assesment.transaction.datastore; import java.util.List; import org.jccastro.clip.assesment.model.Transaction; /** * Interface for the basic transaction operations * @author JCCastro * */ public interface TransactionDataStore { /** * * @param transaction */ public void saveTran...
16.944444
72
0.711475
8918e53c77b0f9012832caa9633a39ae19664923
705
package gestionprojet.controleur.actions; import javax.swing.AbstractAction; import gestionprojet.view.ui.Fenetre.FenetreOption; import java.awt.event.ActionEvent; public class ActionDerouler extends AbstractAction{ private static final long serialVersionUID = 1L; public static final String NOM_ACTION = "...
24.310345
91
0.739007
accf8d7524956ddae27a550d6c40b9e06f0b2462
297
package cz.metacentrum.perun.dispatcher.dao; import java.util.List; import java.util.Map; /** * * @author Michal Karm Babacek JavaDoc coming soon... * */ public interface RulesDao { Map<Integer, List<String>> loadRoutingRules(); List<String> loadRoutingRulesForEngine(int clientID); }
17.470588
54
0.734007
629344f8fffaedfc953b915ced0a95dbdc9c0c73
4,457
package org.alfresco.utility.web; import org.alfresco.utility.LogFactory; import org.alfresco.utility.web.browser.WebBrowser; import org.alfresco.utility.web.browser.WebBrowserFactory; import org.joda.time.DateTime; import org.slf4j.Logger; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import...
37.453782
149
0.584474
f99ae6261be0c1f4b7af020ceb26b668d3003c71
288
package com.bigkoo.pickerview.listener; import android.view.View; import com.bigkoo.pickerview.view.BasePickerView; /** * Created by KyuYi on 2017/3/2. * E-Mail:kyu_yi@sina.com * 功能: */ public interface CustomListener { void customLayout(BasePickerView pickerView, View v); }
18
57
0.743056
3911b8b238cc488750947f3a7c62e72e4fec6ca7
596
package ocp.chap2DesignPatternsAndPrinciples; public class LambdaExample { @FunctionalInterface public interface NoReturnType { void test(); } public static void noReturnType(NoReturnType l) { l.test(); } public static void main(String... args) { // TODO // Allowed noReturnType(() -> System.out.prin...
18.060606
50
0.65604
93ad15cd6ea9514db8c6bbe6583989ce1982a736
1,609
package com.github.mariemmezghani.topnews.Model; public class Source { private String id; private String name; private String description; private String url; private String category; private String language; private String country; public Source(String id, String name, String descript...
20.628205
125
0.602859
dc67868a13c8cc469831c36646e5b98db28803db
88
package packageA; public class classA2 { public classA1 a1; public void foo() {} }
11
22
0.693182
ee4b0ac5d52df48015569be9492da686626d2eac
11,407
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package crjpa; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityNotFo...
34.358434
117
0.742702
1e74cbf8dd35da79b7d9d98cfe08fa50124ea3e1
2,797
package com.github.snailycy.hybridlib.webview; import android.net.Uri; import android.text.TextUtils; import android.view.View; import android.widget.ProgressBar; import com.github.snailycy.hybridlib.util.HybridCacheUtils; import com.tencent.smtt.export.external.interfaces.WebResourceResponse; import java.io.File; i...
28.540816
103
0.658563
e550c346089d0f3eed4be7f8f8f47198dab9e275
732
package me.chanjar.weixin.mp.bean.guide; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.common.util.json.WxGsonBuilder; import java.io.Serializable; import java.util.List; /** * 顾问列表. * * @author <a href="https://github.com/binarywang">Binary Wang</a> * @date 2020...
20.914286
70
0.726776
2a3e0f9973bb4d045c3af10a5de1b3575286f167
962
package com.stm.login.base.view; import com.nhn.android.naverlogin.OAuthLoginHandler; import com.stm.common.dao.User; /** * Created by ㅇㅇ on 2017-06-20. */ public interface LoginView { void init(); void initFacebookSdk(); void initNaverOauthLogin(); void setNaverOAuthLoginHandler(OAuthLoginHandl...
17.814815
75
0.723493
b66410d6e39309b809259be0469338fa31d0ff48
2,221
package com.belonk.lang.classes; import com.belonk.util.Printer; interface Action { } interface Size { } // 玩具 class Toy { Toy() { } Toy(int i) { } } // 益智玩具 class FancyToy extends Toy implements Action, Size { FancyToy() { super(1); } } /** * <p>Created by sun on 2016/1/14. * * @author sun * @vers...
22.434343
117
0.564611
3a400f6932ddf9b8366eed36802fea2c1f549d1d
1,620
package com.wareninja.opensource.ip2location.config; import org.yaml.snakeyaml.Yaml; import java.io.File; import java.io.FileInputStream; public class FileConfiguration { private final String parameter; public FileConfiguration(String parameter) { this.parameter = parameter; } public YamlC...
31.764706
87
0.60679
9c838c0477a08103c43ca3c2a83bad3b40b614bd
616
package com.andcreations.ae.tex.pack.gen; import java.io.File; import java.util.List; import com.andcreations.ae.tex.pack.TexPackerCfg; /** * @author Mikolaj Gucki */ public class TexPackGenCfg { /** */ private TexPackerCfg cfg; /** */ private List<File> dirs; /** */ ...
18.666667
61
0.542208
b0bc9d6bdc434cb2c8e5fb1fa4984d4aae50f6b1
3,201
/******************************************************************************* * Copyright 2012 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 * * ...
34.419355
108
0.685411
bcf5e013ad3b46100d3a29ec88456e6a40fa652f
249
package no.nav.foreldrepenger.mottak.queue; import no.nav.foreldrepenger.no.nav.spmottak.meldinger.dokumentnotifikasjonv1.Forsendelsesinformasjon; public interface MeldingsFordeler { void execute(Forsendelsesinformasjon forsendelsesinfo); }
24.9
102
0.843373
889f86a198f8e46066f3da51a06d0e6d24e477f1
1,979
package com.mzr.tort.core.dto.utils; import org.apache.commons.lang3.Validate; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.util.Map; public final class TypeUtils extends org.apache.commons.lang3.reflect.TypeUtils { private TypeUtils() { } public static <T extends T...
39.58
122
0.634664
def2f038fd6199905d388961419efdc58334d581
750
package org.pcsoft.framework.jnode3d; import org.junit.Test; import org.pcsoft.framework.jnode3d.camera.PerspectiveLookAtCamera; import org.pcsoft.framework.jnode3d.internal.JNode3DInternalScene; import org.pcsoft.framework.jnode3d.node.BoxNode; import org.pcsoft.framework.jnode3d.node.GroupNode; import org.pcsoft.fra...
30
67
0.745333
bbfe9f7dbbb2356d22aff2573e69d9b28271d0c7
14,038
/* Copyright (C) 2005-2011 Fabio Riccardi */ package com.lightcrafts.jai.opimage; import com.lightcrafts.media.jai.util.ImageUtil; import com.lightcrafts.media.jai.util.JDKWorkarounds; import com.lightcrafts.jai.LCROIShape; import com.lightcrafts.mediax.jai.*; import java.awt.image.*; import java.awt.*; import java....
37.736559
107
0.528423
15d182f9a10556d7ce4d636fa1a8a89b32559714
4,191
package com.ohmybug.web; import com.ohmybug.pojo.Grade; import com.ohmybug.pojo.Page; import com.ohmybug.pojo.Student; import com.ohmybug.pojo.T_Class; import com.ohmybug.service.GradeService; import com.ohmybug.service.StudentService; import com.ohmybug.service.T_ClassService; import com.ohmybug.service.impl.GradeSer...
46.566667
136
0.724409
1b1b0f03261c26e3fe2d17c96f63e3072076dd18
18,138
/* See the NOTICE file distributed with this work for additional information regarding copyright ownership. 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....
24.880658
94
0.650513
ef1b7581272613a677c7f5559ca4f96b6f0f96d8
3,186
package model.levelStuff; import model.Char; import model.Item; import model.PlayerCharacter; import model.enemies.Enemy; import java.util.ArrayList; import java.util.Comparator; import java.util.List; public class NewRoom { private List<Item> inventory; //current room inventory private List<Enemy> enemies; ...
24.136364
136
0.590082
0f1f5e3eea66da7c0a25dffb253a35b81b22a676
309
package com.thanple.little.boy.web.entity.msg; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * Created by Thanple on 2018/5/24. */ @Data @AllArgsConstructor @NoArgsConstructor public class RedisPubMsg { private Long id; private RedisPubBean pubBean; }
18.176471
46
0.770227
8bd5769d3ae2b31fd0125b49f182c5f5df560ec1
4,359
package com.equipeRL.backend.Controllers; import com.equipeRL.backend.Controllers.interfaces.ControllerCRUDInterface; import com.equipeRL.backend.Controllers.propertyEditors.PermissaoPropertyEditor; import com.equipeRL.backend.Models.Permissao; import com.equipeRL.backend.Models.Usuario; import com.equipeRL.backend.Se...
30.062069
113
0.654508
2cd32e109b50f623b83392c55557ab4e6641e28e
12,421
/* * Copyright (C) 2013 salesforce.com, 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 ...
37.984709
120
0.634329
951fefe59fcc41385e1165ceab484ff7cd04d3d8
702
package net.runelite.client.plugins.xptrackersimple; import net.runelite.api.Skill; import net.runelite.client.config.Config; import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigItem; @ConfigGroup("SimpleXpTrackerConfig") public interface SimpleXpTrackerConfig extends Config { ...
25.071429
55
0.646724
4fcd9822d74a557cb07ac2a4ddb5bbb600370d3b
2,565
package com.jaxwallet.app.ui.widget.holder; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core.content.ContextCompat; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import an...
36.126761
107
0.720858
0a73f82b11df04fa08ba21748ea0693651fb3b19
197
package com.aisino.test.aop; /** * @author: xiajun003 * @Date: 2019/3/31 17:37 * @Description: */ public interface IMathCalculator { int div(int i, int j); int div2(int i, int j); }
14.071429
34
0.624365
a0b8af24b9ccac05a8cf7e3b2a715a0845998cc6
3,128
package com.popularmovies.vpaliy.data.mapper; import android.util.Log; import com.popularmovies.vpaliy.data.configuration.ImageQualityConfiguration; import com.popularmovies.vpaliy.data.entity.Movie; import com.popularmovies.vpaliy.domain.model.MediaCover; import java.util.ArrayList; import java.util.List; import jav...
46
102
0.767903
4f2f5f02c63a52d1b0a0e9d1149c77f7ec8381aa
464
package com.pgmacdesign.randomuserapitests; /** * Link to communicate between activity and fragments * Created by PatrickSSD2 on 3/25/2017. */ public interface FragmentLink { /** * Set fragment to switch to * @param whichFragment Will either be: * {@link Constants#FRAGMENT_L...
25.777778
70
0.642241
bd172c10b44d83099f1c7a77636e33cdf1e7002f
2,612
package com.TonyTiger.simplecoins.block; import com.TonyTiger.simplecoins.Main; import com.TonyTiger.simplecoins.TileEntity.MintTileEntity; import com.TonyTiger.simplecoins.network.ModGuiHandler; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import...
35.297297
120
0.772971
17be6d429542ecc6ac55f8eaf664433c0c1f0966
236
/* * Copyright (c) 1998-2021 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ /** * Make an object on S3 look like a RandomAccessFile. */ package ucar.unidata.io.s3;
23.6
97
0.737288
3020816dcdc77cfc71a845ae4c611b5fcd166c03
3,238
/* * Copyright (C) 2004-2016 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option...
26.112903
161
0.699197
16149bfdc0ae444cf6bb0253a964b935cebff4b0
360
package badgamesinc.hypnotic.event.events; import badgamesinc.hypnotic.event.Event; public class EventSendMessage extends Event { private String message; public EventSendMessage(String message) { this.message = message; } public String getMessage() { return message; } public void setMessage(String me...
17.142857
45
0.75
86f97a9a6b7f567d09986e8709978f70c2ff8df6
6,070
/* * The MIT License * * Copyright (c) 2018-2022, qinglangtech Ltd * * 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...
44.306569
161
0.672817
37d492b032deee80eee3d6327ddc765eb91bfedb
2,772
/* * 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.804878
121
0.665224
f1a8de902b08aaffdbfb03108da99fcf4d183188
249
package com.example.hades.dagger2._11_global_singleton; public class NetworkChannel { private static final String TAG = NetworkChannel.class.getSimpleName(); public void info() { System.out.println(TAG + "@" + hashCode()); } }
24.9
75
0.698795
30588f459bbef676517330e299274c58b3df9284
895
package com.zhou.javakc.ccds.center.service; import com.zhou.javakc.ccds.center.dao.CenterDao; import com.zhou.javakc.component.data.entity.ccds.Center; import com.zhou.javakc.component.data.jpa.base.BaseService; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import or...
29.833333
84
0.709497
96cf444190b2f3d88e9c857ed58573f72469b6ca
599
package cn.qhy.common.util; import cn.qhy.common.core.CustomException; /** * @author qhy * @date 2021/12/29 16:06 */ public class AssertUtil { public static void isTrue(boolean flag, String tips) { if (flag) { throw CustomException.msg(tips); } } public static void isTrue...
19.966667
68
0.580968
85a12a4995801b504ac1cf7d916cc17998df3153
5,696
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.searchlib.rankingexpression.rule; import com.yahoo.searchlib.rankingexpression.ExpressionFunction; import com.yahoo.searchlib.rankingexpression.RankingExpression; import com.yahoo.searchlib.rankin...
40.112676
129
0.662921
b7bac9ffd39c6afad546c7fddab9a65636a91495
547
package com.pascalwelsch.compositeandroid.fragment; import android.util.Log; public class FragmentTracking extends FragmentPlugin { private static final String TAG = FragmentTracking.class.getSimpleName(); @Override public void onResume() { super.onResume(); Log.v(TAG, "#1 onResume()");...
18.862069
77
0.605119
396a8210cf34641322c973aa398656b6b498754a
1,650
package io.arivera.oss.embedded.rabbitmq; import io.arivera.oss.embedded.rabbitmq.util.OperatingSystem; import org.junit.Test; import java.net.URL; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; public class OfficialArtifactRepositoryTest { @Test public void downlo...
32.352941
120
0.734545
b1fa5045fd7f35945dcae9b49e43fd46791058f8
2,622
package com.example.wollyz.assignment; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; import java.util.ArrayList;...
26.484848
60
0.519069
d340b90bd59c7318faa6a8e44a0a43d68a621879
3,438
package top.zhogjianhao.jmh.contrast.str; import cn.hutool.core.util.StrUtil; import org.junit.jupiter.api.Test; import org.openjdk.jmh.annotations.*; import top.zhogjianhao.StringUtils; import java.util.concurrent.TimeUnit; @State(Scope.Benchmark) @Threads(1) @Fork(1) @OutputTimeUnit(TimeUnit.MICROSECONDS) @Warmup(...
48.422535
93
0.594241
681822ed50a973890e45b357875f5d930b28eab2
2,564
import vtk.vtkNativeLibrary; import vtk.vtkRenderWindow; import vtk.vtkRenderWindowInteractor; import vtk.vtkRenderer; import vtk.vtkNamedColors; import vtk.vtkActorCollection; import vtk.vtk3DSImporter; import vtk.vtkCamera; public class ThreeDSImporter { // ---------------------------------------------------------...
27.276596
88
0.631045
44eb97f9e1feca2be1c63994eae8c78213f239a5
617
package oop; public class BaseAdvertising { private int ID; private int clicks = 0; private int views = 0; public BaseAdvertising() { } public int getID() { return this.ID; } public void setID(int ID) { this.ID = ID; } public int getClicks() { ...
14.690476
39
0.531605
02b92722608aa3b506c2a80dfb6c26c34c0cdaaa
220
package com.payu.ratel.client; import com.payu.ratel.context.RemoteServiceCallListener; public interface RatelServiceCallPublisher { void addRatelServiceCallListener(RemoteServiceCallListener listener); }
24.444444
74
0.813636
53ce69d4d697b49b459bd4e210f84745d594a9e9
240
package dhl.businessLogic.traning; import dhl.businessLogic.leagueModel.interfaceModel.ILeagueObjectModel; public interface ITraining { ILeagueObjectModel updatePlayerStats(ILeagueObjectModel objLeagueObjectModel) throws Exception; }
30
99
0.8625
bf445974f4cb9357192c103c99291310a660d053
557
package com.design.statepattern; /** * @author Kunal Sharma at 12/10/20 10:52 PM */ public class GameTest { public static void main(String[] args) { GameContext context = new GameContext(); context.setState(new HealthyState()); context.gameAction(); System.out.println("*****")...
20.62963
48
0.587074
93a46660a118c8053b2b923ff1e1f3af83053bfc
4,687
package web; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net.ServerSocket; import java.security.KeyStore; import java.util.ArrayList; import javax.net.ssl.KeyManager; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SSLContext; im...
33.241135
145
0.664604
857f28ef9a8921179d49b23c4e4c9fbda8b65f60
2,306
package utilidades; import java.util.ArrayList; import java.util.List; import java.util.function.BiFunction; import java.util.function.BiPredicate; import java.util.function.Function; import modelo.Elemento; import aprendizado.RegressaoLogistica2; import aprendizado.Regressao; import aprendizado.RegressaoL...
41.927273
119
0.791847
34f03ed1f56c223d976d73e1be805f9b8bbc12b6
885
/* * Copyright (c) teris.io & Oleg Sklyar, 2017. All rights reserved */ package io.teris.kite.rpc.jms; import java.util.concurrent.CompletableFuture; import javax.annotation.Nonnull; import javax.jms.ConnectionFactory; import javax.jms.JMSException; import io.teris.kite.rpc.ServiceExporter; import io.teris.kite.r...
22.692308
89
0.80565
ef1a9453d3f92443ce2230ae288b30fdd88d1990
1,768
package org.cytoscape.rest.internal.serializer; import java.io.IOException; import java.util.List; import java.util.Set; import org.cytoscape.group.CyGroup; import org.cytoscape.model.CyEdge; import org.cytoscape.model.CyIdentifiable; import org.cytoscape.model.CyNode; import com.fasterxml.jackson.core.JsonGenerator...
28.516129
112
0.769796
75e026dbc57ac2ccbaa838257586de0e67b7244a
6,905
package eu.semagrow.core.impl.optimizer; import eu.semagrow.core.impl.plan.ops.BindJoin; import eu.semagrow.core.impl.plan.ops.HashJoin; import eu.semagrow.core.impl.plan.ops.MergeJoin; import eu.semagrow.core.impl.plan.ops.SourceQuery; import eu.semagrow.core.plan.Plan; import org.openrdf.query.BindingSet; import org...
30.688889
95
0.576394
6f6e36f00b1dd8a57e04d0ef397f719beb85ff6c
6,391
package com.ngdesk.nodes; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.bson.Document; import org.bson.conversions.Bson; import org.bson.types.ObjectId; import org.json.JSONArray; import org.json.JSONObje...
35.115385
126
0.719449
3063c01fb42be7987d9fa618d7843eda6f3a23f3
515
package com.roy.design.visitor.store; import com.roy.design.visitor.visitor.Human; public class Cafe implements Store { private static final int TOTAL_SEAT = 5; private int usedSeat = 0; @Override public void accept(Human human) { human.visit(this); } @Override public void addVis...
17.166667
44
0.621359
29d9fd9e3c63167c81e2e4481f76fabd05bde60a
330
package com.github.jeasyrest.ioc; import com.github.jeasyrest.ioc.util.InjectionMap; public class Injections extends InjectionMap { public static final Injections INSTANCE = new Injections(); private Injections(String... mapNames) { super("META-INF/jeasyrest/injections", "jeasyrest/injections");...
23.571429
71
0.727273
d1560f1fd903d123e387fa81fdb158493e0f147c
167
package com.withwiz.plankton.network.message2; /** * Message body interface */ public interface IMessageBody<TYPE_RAW_DATA> extends IMessagePart<TYPE_RAW_DATA> { }
20.875
82
0.790419
817a80053a02505fec07e687776f9327007e7079
1,478
package me.coley.bmf.attribute.method; import me.coley.bmf.util.Measurable; /** * Local variable entry for the * {@link me.coley.bmf.attribute.method.LocalVariableTable}. * <ul> * <li>{@link #start} * <li>{@link #length} * <li>{@link #name} * <li>{@link #desc} * <li>{@link #index} * </ul> * * @author Matt ...
21.42029
72
0.523004
2f444f3c16db7c60b9f8bd509b5b64c5378e609c
3,552
/* * Copyright 2019-2020 The Polypheny 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 applicable law or...
32
115
0.623029
e2bb4207a7ede7f4654277e62f44899ece14dd8a
160
package com.jtransc.io.async.impl; import com.jtransc.io.async.JTranscAsyncResources; public class JTranscAsyncResourcesJVM extends JTranscAsyncResources { }
22.857143
69
0.84375
5dd5075d18f6c18a54410a9cbfdaf339139f78a0
8,133
/* * * * Copyright 2021 UBICUA. * * * * 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 a...
44.933702
197
0.718677
6af535ebbfeb50d779623816f3a382878ac89e24
3,960
package org.auslides.security.shiro.realm; import org.auslides.security.model.Permission; import org.auslides.security.model.Role; import org.auslides.security.model.User; import org.auslides.security.repository.UserRepository; import org.auslides.security.shiro.util.HashHelper; import com.google.common.base.Precondit...
37.714286
123
0.767929
90b8b0101af9a443a69a79084279638980e47700
2,081
package mage.cards.a; import mage.MageInt; import mage.abilities.common.AttacksAloneControlledTriggeredAbility; import mage.abilities.dynamicvalue.DynamicValue; import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount; import mage.abilities.dynamicvalue.common.StaticValue; import mage.abilities.effects.c...
35.87931
140
0.730899
83b6c91bf02279307f9eb47bb012e86ce89ef2c0
2,358
/* * (c) Copyright 2015-2017 Micro Focus or one of its affiliates. * * Licensed under the MIT License (the "License"); you may not use this file * except in compliance with the License. * * The only warranties for products and services of Micro Focus and its affiliates * and licensors ("Micro Focus") are as may ...
36.276923
90
0.690416
874622c81d0f5bb3628dccafedebea56f068a384
9,101
package org.onetwo.common.tree; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.onetwo.co...
30.23588
166
0.662345
047bf789820cc1ca4af0fcdfbaf16516cb09da5b
6,028
/** * Copyright (c) 2019-2030 panguBpm All rights reserved. * <p> * http://www.pangubpm.com/ * <p> * (盘古BPM工作流平台) */ package com.pangubpm.bpm.model.xml.impl.type.attribute; import com.pangubpm.bpm.model.xml.impl.type.reference.ReferenceImpl; import com.pangubpm.bpm.model.xml.instance.ModelElementInstance; import...
26.438596
119
0.70355
808d0f26ae1af70f1062fbbea7d1f4381aca5b7f
1,607
import java.util.Scanner; import java.util.*; class Collections_Set_1 { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); while(t>0) { Set<Integer> s = new HashSet<Integer>() ; int q = sc.nextInt(); while(q>0) { GfG g = new GfG(); char...
18.471264
77
0.501556
fc6c8c13863ebc8165829cff5610ae00a7bbd0f8
5,175
package com.google_ml_kit.vision; import android.content.Context; import android.util.Log; import androidx.annotation.NonNull; import com.google.android.gms.tasks.OnFailureListener; import com.google.android.gms.tasks.OnSuccessListener; import com.google.mlkit.vision.common.InputImage; import com.google.mlkit.vision...
41.733871
106
0.577005
d38637470c9c96c3322e507117a8c425f22d3832
1,624
package frictionless.frictionless.mixin; import frictionless.frictionless.Frictionless; import net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback; import net.minecraft.block.AbstractBlock; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraft.item.ItemConvertible; import or...
24.606061
91
0.702586
92403411ad2fd60bf6096e190ec5c00fafd532d3
5,148
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
45.157895
113
0.704157
a0c88523e684c988120683df42b7fe86272eae40
1,191
package client; public class MapleCharacterUtil { private MapleCharacterUtil() { } public static boolean canCreateChar(String name, int world) { return isNameLegal(name) && MapleCharacter.getIdByName(name, world) < 0; } public static boolean isNameLegal(String name) { ...
32.189189
150
0.47691
6c5d7a517b16fd4d091c7b0ea0dc0d591ce26615
3,112
/* * Copyright 2012 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 i...
18.19883
80
0.496465
b65c6b3788c572057a8a7881dab95f0e3c026873
3,097
package nocategoryyet; import java.util.LinkedList; import java.util.Queue; public class SegmentTree { private static class Node { int from; int to; Node left; Node right; int total; public Node(int from, int to) { this.from = from; this.to = to; } public String toString() {...
26.470085
114
0.624798
47a26cca239026f5a02172d7b5a9d72401665671
2,235
package com.forezp.banya.Presenter; import android.content.Context; import android.util.Log; import android.widget.Toast; import com.forezp.banya.base.BasePresenter; import com.forezp.banya.bean.music.MusicRoot; import com.forezp.banya.bean.music.Musics; import com.forezp.banya.viewinterface.music.IGetMusicById; impo...
26.927711
119
0.661745
a1d5f7866aa8805f2679e292427b6c03085d6747
220
package edu.asupoly.ser422.t6mvc2.handler; import java.util.Map; import javax.servlet.http.HttpSession; public interface ActionHandler { public String handleIt(Map<String, String[]> params, HttpSession session); }
20
75
0.786364
5af12e3544f5619e1eb8ed715520765cc74b5983
860
/****************************************************************************** * Copyright (c) 2015 IBM Corporation. * 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, and is available at ...
28.666667
79
0.606977
1c92b4e701a3c810e9192b7b4b7a5e69fd713ac6
1,445
/* * Copyright 2018-present Open Networking Foundation * * 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 applicabl...
26.272727
75
0.698962
ff291f2157868519c64ed15663ff835ce024febd
2,610
package top.auzqy._0101_0150._0122; /** * description: https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii/ * createTime: 2020/8/21 15:52 * @author au */ public class Solution_0122 { public int maxProfit(int[] prices) { // return solution1_by_copy(prices, 0); return solution2_b...
26.363636
85
0.456322
39f3723b6efdd704ffcc866e070d76cb2111a5ae
6,261
/* * 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...
45.043165
98
0.558697
5ec2dd1492d3bd9fc4bc11cbe1bc8fe0ad05c020
6,548
/* * * 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...
27.982906
104
0.57865
e222a8f480083fd9f1e9d6aa6eac5917783eb9c6
1,315
package info.bfly.app.protocol.service; import info.bfly.core.annotations.ScopeType; import info.bfly.p2p.invest.controller.InvestList; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Service; import java.util.Arrays; /** * Created by Administrator on 2017/1/4 0004. */ @S...
50.576923
226
0.74981
2f95602d7fcee4a6387e075ea40f853daf2e8d56
312
package c.d; public final class b { public static final int cardview_dark_background = 2131099716; public static final int cardview_light_background = 2131099717; public static final int cardview_shadow_end_color = 2131099718; public static final int cardview_shadow_start_color = 2131099719; }
34.666667
69
0.791667
49dc49b772f8af11b0ce3aef08f2984f7269472f
2,116
package online.himakeit.skylark.model.gank; import java.util.Date; /** * Created by:LiXueLong 李雪龙 on 2017/9/6 8:49 * <p> * Mail : skylarklxlong@outlook.com * <p> * Description: */ public class GankMeiZhi { public String objectId; public String url; public String type; public String desc; pub...
18.561404
49
0.598771
a385625ff744b0ed86150670998d7f3cc283f998
1,650
package org.arsok.app; import javafx.scene.image.Image; import javafx.scene.image.PixelWriter; import javafx.scene.image.WritableImage; import javafx.scene.paint.Color; import static org.arsok.app.Main.instance; public class RayTrace { private final WritableImage image; private final PixelWriter writer; ...
27.966102
107
0.532121
f61231973bb5a552a47dfdbeab5226aed5b00b33
2,424
package br.com.userede.erede; import com.google.gson.annotations.SerializedName; public class Item { public static final Integer PHYSICAL = 1; public static final Integer DIGITAL = 2; public static final Integer SERVICE = 3; public static final Integer AIRLINE = 4; @SerializedName("amount") ...
20.033058
60
0.615512
483de1645e954ff1b83e57838c020fd0d89669fc
2,347
/** * Copyright (c) 2010 Perforce Software. All rights reserved. */ package com.perforce.team.ui.mergequest; import org.eclipse.osgi.util.NLS; /** * @author Kevin Sawicki (ksawicki@perforce.com) */ public class Messages extends NLS { private static final String BUNDLE_NAME = "com.perforce.team.ui.mergequest...
21.731481
103
0.686408
19683f3b64773d61a9708f93edda162c9d72b2a4
736
package android.support.v7.internal.widget; import android.view.ViewTreeObserver; import android.view.ViewTreeObserver.OnGlobalLayoutListener; final class O implements ViewTreeObserver.OnGlobalLayoutListener { O(SpinnerCompat paramSpinnerCompat) { } public final void onGlobalLayout() { if (!SpinnerCo...
28.307692
83
0.741848
2bda445a61ac1dea12bcf14f5bbcafbb9c35fc2c
2,259
/* * Copyright 2011 Corpuslinguistic working group Humboldt University Berlin. * * 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 * *...
25.382022
76
0.674192
70676640a33ab9b6adbc60eff1905ebbe567b3d8
2,131
package skybox; import org.lwjgl.util.vector.Matrix4f; import org.lwjgl.util.vector.Vector3f; import entities.Camera; import renderEngine.DisplayManager; import shaders.ShaderProgram; import toolbox.Maths; public class SkyboxShader extends ShaderProgram{ private static final String VERTEX_FILE = "src/skybox/skybox...
28.413333
89
0.779446
aa542ce76a8763e73ae4697a2a942a7044859509
221
package com.jerryjin.kit; /** * Author: Jerry * Generated at: 2019/3/16 11:53 AM * GitHub: https://github.com/JerryJin93 * Blog: * WeChat: enGrave93 * Description: */ public interface ICopy { Object copy(); }
15.785714
40
0.660633
04859a6635b028383aa61f37ed6ab53809b328c3
2,089
package io.papermc.lib.environments; import io.papermc.lib.features.asyncchunks.AsyncChunksPaper_13; import io.papermc.lib.features.asyncchunks.AsyncChunksPaper_15; import io.papermc.lib.features.asyncchunks.AsyncChunksPaper_9_12; import io.papermc.lib.features.asyncteleport.AsyncTeleportPaper; import io.papermc.lib.f...
38.685185
99
0.69842
e8de9b368deca86adc71a39a92b04b7ca4083c98
1,045
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.cfca.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite.m...
26.125
108
0.779904
9a7d626b199bee0b26bc34603cd28e665a2966c1
1,617
/* * Copyright 2018 jd.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 applicable law or agreed t...
33
83
0.711812
59c63d90f1c8fa5a3a62d3ffe8e3262a80da9d97
532
package com.elusivehawk.util.math; import com.elusivehawk.util.Dirtable; /** * * * * @author Elusivehawk */ public abstract class Arithmetic extends Dirtable { private boolean immutable = false, sync = false; public boolean isImmutable() { return this.immutable; } public Arithmetic setImmutable() ...
12.372093
49
0.669173
62909cb9e4f21a8402503bf141954ba7af562647
5,247
/* * Copyright (c) 2012 M. M. Naseri <m.m.naseri@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without limitation the rights to use, copy, m...
40.053435
115
0.725367