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
1e0c681e3c6755bdf99c2a1e28d96a8017b3e47f
554
package ch.heigvd.amt.model; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class MovieTest { @Test public void shouldCreateAMovie() { Movie movie = Movie.builder() .id(404) .title("Not Found") ...
22.16
52
0.590253
be3e131f5247e23802c8f8d03746d6ed6b289daf
873
/* * Given numRows, generate the first numRows of Pascal's triangle. * For example, given numRows = 5, * Return * [ * [1], * [1,1], * [1,2,1], * [1,3,3,1], * [1,4,6,4,1] * ] */ public class PascalTriangle { public List<List<Integer>> generate(int numRows) { List<List<Integer>> r...
23.594595
68
0.484536
bf786d8692b93a30f5e46c6fe647d7c1fe836c99
1,846
package models.client; import java.util.*; import javax.persistence.Column; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; import javax.persistence.OneToOne; import javax.persistence.Entity; import javax.persistence.Id; import play.db.ebean.Model; import play.Logger; import models.orders.Orde...
27.147059
95
0.719935
96030962a9fe2800328bf9a4c5ac637264d55483
1,621
/* * ============LICENSE_START======================================================= * ONAP Policy Engine - Common Modules * ================================================================================ * Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved. * ===============================...
37.697674
97
0.595928
f63e9c5b246352eb8a8c3b05ca8023c9cdd50a19
1,897
package com.bfsi.mfi.vo; import java.util.Date; import com.bfsi.mfi.entity.MbsReqReceiverView; public class MbsReqReceiverViewVO extends MaintenanceVO<MbsReqReceiverView>{ public MbsReqReceiverViewVO() { entity = new MbsReqReceiverView(); } public MbsReqReceiverViewVO(MbsReqReceiverView entity) { super(ent...
19.161616
76
0.74117
c7acf1f164ff42c87320396c3c4d14033fedc349
3,350
package io.kimmking.cache.tester; import com.google.common.collect.Maps; import io.kimmking.cache.entity.Author; import io.kimmking.cache.entity.Order; import io.kimmking.cache.service.AuthorService; import io.kimmking.cache.service.OrderService; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.juni...
27.235772
88
0.597313
0c4239fa5000c144d3c68220e445e8c6afe78590
3,378
package gg.projecteden.nexus.features.store.perks.autosort.commands; import gg.projecteden.nexus.Nexus; import gg.projecteden.nexus.features.listeners.TemporaryListener; import gg.projecteden.nexus.framework.commands.models.CustomCommand; import gg.projecteden.nexus.framework.commands.models.annotations.Path; import g...
33.445545
118
0.772647
810a0433fee49efd1b664c085cdbaa80f28ee2e7
1,316
package org.knowm.xchange.loyalbit.service; import java.io.IOException; import javax.crypto.Mac; import javax.ws.rs.FormParam; import org.knowm.xchange.service.BaseParamsDigest; import net.iharder.Base64; import si.mazi.rescu.RestInvocation; public class LoyalbitDigest extends BaseParamsDigest { private final S...
31.333333
103
0.75076
52b485c99dd030748b6e8676caeb180148ccbebb
758
package org.bouncycastle.openpgp.operator; import org.bouncycastle.openpgp.PGPException; public abstract class PGPSecretKeyDecryptorWithAAD extends PBESecretKeyDecryptor { public PGPSecretKeyDecryptorWithAAD(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider) { super(passPhrase, cal...
32.956522
155
0.737467
be3f97584785fa7403308413f6fe5b6f594e739b
1,392
/* * GlobalMilesECommerceAPILib * * This file was automatically generated for Global Miles by APIMATIC v2.0 ( https://apimatic.io ). */ package com.globalmiles.api.ecommerce.models; import java.util.*; public class StartMilePaymentRequestBuilder { //the instance to build private StartMilePaymen...
27.84
100
0.662356
8b7bfe8f5cff10aca48c551c60f7d977afd5b1bb
367
package me.gigawartrex.smalladditions.exceptions; /** * Exception for when no filename was specified. * * @author Paul Ferlitz */ public class NoFileNameException extends Exception { /** * Class constructor. */ public NoFileNameException() { super("NO specific FILENAME d...
20.388889
73
0.640327
69056273740e54815200a07ef9f701b3cde28bb2
4,274
package com.NowakArtur97.WorldOfManga.feature.user; import com.NowakArtur97.WorldOfManga.feature.manga.inUserList.MangaInUserListStatus; import com.NowakArtur97.WorldOfManga.feature.manga.details.Manga; import com.NowakArtur97.WorldOfManga.feature.manga.inUserList.MangaInUserList; import com.NowakArtur97.WorldOfManga....
31.426471
123
0.677819
8b62f2303400fe751ac8d082b7cebd69bda6319f
357
/* * @lc app=leetcode.cn id=1470 lang=java * * [1470] 重新排列数组 */ // @lc code=start class Solution { public int[] shuffle(int[] nums, int n) { int[] arr = new int[n + n]; for (int i = 0; i < n; i++) { arr[i + i] = nums[i]; arr[i + i + 1] = nums[n + i]; } ...
16.227273
45
0.434174
41e9dd03d2f746820dfc907841f7818ff2f70b08
897
package poussecafe.runtime; import java.util.HashMap; import java.util.Map; import java.util.Optional; import poussecafe.exception.PousseCafeException; public class Configuration { private Map<String, Object> values = new HashMap<>(); void add(String key, Object value) { if(values.contai...
26.382353
81
0.618729
3d3040c506e35f7c52149615ea5c5febf282ad18
10,160
package com.kobylynskyi.graphql.codegen.kotlin; import com.kobylynskyi.graphql.codegen.TestUtils; import com.kobylynskyi.graphql.codegen.model.GeneratedLanguage; import com.kobylynskyi.graphql.codegen.model.MappingConfig; import com.kobylynskyi.graphql.codegen.utils.Utils; import org.hamcrest.core.StringContains; impo...
50.049261
119
0.718799
1e95f5ff66faf9739f50a8e2772559a995ec9ece
4,656
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2004, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
36.375
92
0.588918
8b10632f8637ed131c3a7ba9f6b0e846e19d5740
7,390
/* * Copyright 2019 Confluent Inc. * * Licensed under the Confluent Community License (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.confluent.io/confluent-community-license * * Unless required by applicable law or a...
32.844444
100
0.752503
067371882bcd9831dd343a1527f17631107f2fd4
3,575
package org.ovirt.engine.core.utils.kerberos; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; /* * Exception during configure domains. If this exception occurred its probably because * DB errors. This class define handling of configure exceptions */ public class ManageDomainsResult exte...
32.207207
117
0.632727
6be785bba0ac419b076683160a260d7b1609ecad
7,221
/* * 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 ...
49.458904
111
0.773993
e0f3fcc93d35f200770ff41be9353b80301c13fd
8,625
package com.example.soundroid.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.net.Uri; import android.util.Log; import com.example.soundroid.db.SoundroidContract.*; import java.util.ArrayList; impo...
41.868932
131
0.62029
ddac37f6c07e67822a62a4a309aad9e62c223714
5,354
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.or...
34.320513
119
0.620844
aa497b2c9a8758536e29c5aeeda91ad454b6a7d4
4,431
/* * Copyright 2018 JDCLOUD.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 to in...
19.959459
76
0.590612
3aa05f7eb6039516b5517b10f3b240a9b500e0df
5,471
/* * Copyright 2015 LinkedIn 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 t...
40.828358
357
0.528057
a8179e7575d8f661a371cc4c5f505b71742aec3b
892
package com.revanwang.employee.dao; import com.revanwang.employee.domain.Employee; import com.revanwang.employee.query.EmployeeQueryObject; import com.revanwang.employee.query.PageResult; import java.util.List; /** * 员工信息DAO接口 */ public interface IEmployeeDAO { /** * 保存员工信息 * @param e 新增员工 */ ...
16.218182
56
0.577354
9baec7acb8ed31537e5d07538f5aca16438396d9
2,215
package com.lagou.gateway.filter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.cloud.gateway.filter.GatewayFilterChain; import org.springframework.cloud.gateway.filter.GlobalFilter; import org.springframework.core.Ordered; import org.springframework.stereotype.Component; import o...
38.859649
103
0.690745
31d2bed20bd9f05e4748b11181da581015da53e1
129
version https://git-lfs.github.com/spec/v1 oid sha256:3732eebaa52f83c2fd8faba4413d78d221215eacb9e4f28b3120d97e5d560e1a size 2534
32.25
75
0.883721
5bb02cc55edba0d69131829e1ca9fd5cbf017118
1,461
package seedu.address.logic.parser.vendor; import static java.util.Objects.requireNonNull; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CliSyntax.PREFIX_VENDOR_ID; import seedu.address.logic.commands.vendor.DeleteVendorCommand; import seedu...
39.486486
119
0.776865
700aa1595092cf2767ac66b0d0b3e5d94327d4d8
1,253
package com.koch.ambeth.example.conversionHelper; /*- * #%L * jambeth-examples * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
28.477273
84
0.77095
39a21a6d497c0b73130596f7aa459bcaeeca5352
1,690
package ua.kiev.icyb.bio.filters; import java.io.Serializable; import ua.kiev.icyb.bio.Sequence; import ua.kiev.icyb.bio.StatesDescription; import ua.kiev.icyb.bio.Transform; import ua.kiev.icyb.bio.res.Messages; /** * Композиция из нескольких преобразований. */ public class TransformComposition implements Transfo...
24.142857
79
0.700592
b2f841c7484cc157619444dc17f622a0cadebbe6
130
version https://git-lfs.github.com/spec/v1 oid sha256:e01d606778c3d407e2ad1f1bcf34f8266a3b16dec75151b026bdb99f93f0296b size 14961
32.5
75
0.884615
5e2914d08b5595d4db254a88c0996ca495b8790a
211
package sonar.core.client.gui; public interface IGuiOrigin { void setOrigin(Object origin); static <T extends IGuiOrigin> T withOrigin(T gui, Object origin) { gui.setOrigin(origin); return gui; } }
16.230769
67
0.725118
fa275d134f9cb7dbfe74ed19fa8ea8931aa715fb
1,494
package com.smart.canteen.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.activerecord.Model; import io.s...
24.096774
61
0.72423
e48b23357bb87eaad8582d4c3c94339f21e75abe
1,766
package help.lixin.sharding.resource.controller; import help.lixin.sharding.resource.entity.Order; import help.lixin.sharding.resource.service.IOrderService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.math.BigDecimal; import java.util.A...
26.358209
180
0.644394
44a8f979cae424897faef9e332a782d6fc05fa99
5,779
package com.lognull.libnetwork.protocol; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.net.SocketException; import org.apache.commons.net.telnet.TelnetClient; import com.lognull.libnetwork.consumer.spi.Client; import com.lognull.libnetwork.exception.ClientException; ...
20.78777
76
0.664475
5cf7307bcf2f4127891eccea133d8d461848a33a
2,247
package com.coinninja.coinkeeper.presenter.activity; import javax.inject.Inject; public class RecoveryWordsPresenter { static final int NUM_WORDS = 12; static final int MAX_PAGER_POSITION = NUM_WORDS - 1; public enum ButtonState { START, DEFAULT, END } View view; @Inject public ...
23.904255
86
0.591455
b92700a0caf154a50697127d2f3c10f8117bcde6
320
package com.clients; import com.panels.BasicPanel; // Concrete Creator from the 'Factory Method' pattern. Creates teacher frame. public class TeacherFrameCreator extends FrameCreator { @Override public BasicFrame createFrame(String frameTitle, BasicPanel panel) { return new TeacherFrame(frameTitle, panel); } }
24.615385
77
0.79375
013d9474744231a50f14341f0ea6348fa9e16c00
2,951
/******************************************************************************* * Copyright (c) 2004 Actuate 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 availabl...
20.212329
98
0.642833
5926a60206448de2e8b5352b45efa9315dce685c
1,424
package scene.geometry; import java.util.ArrayList; import support.Color3f; import support.Point3f; import support.TexCoord2f; import support.Vector3f; import support.Vector4f; import util.Point4f; import util.WorldTriangle; public class TriangleSet extends Geometry { public TriangleSet(Point3f [] coordinates, Vec...
36.512821
192
0.748596
ac09f2de82426ddf6d63e21febc1f7e68e10bb01
1,108
package homework3; /** * BasePlusCommisionEmployee: baseSalary * Employee->CommisionEmployee->BasePlusCommisionEmployee * * Created by WeiXiao on 06/12/17 */ public class _15211301_WeiXiao_3_BasePlusCommisionEmployee extends _15211301_WeiXiao_3_CommisionEmployee { private double baseSalary; public _1521...
22.612245
111
0.66065
3c0f5610b508ff6ed6254fedf37c3fcf4c72f5d7
9,728
package com.huazie.fleaframework.db.sql; import com.huazie.fleaframework.common.FleaFrameManager; import com.huazie.fleaframework.common.slf4j.FleaLogger; import com.huazie.fleaframework.common.slf4j.impl.FleaLoggerProxy; import com.huazie.fleaframework.core.base.cfgdata.entity.FleaConfigData; import com.huazie.fleafr...
39.706122
122
0.632813
e398d8d25a900236103be50e41068ab43bf4813d
3,895
/* * 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 ...
49.303797
202
0.769448
d632575818ec73e925dc688193a2b257acd3a527
2,182
/* * Copyright 2009-2011 Collaborative Research Centre SFB 632 * * 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 ...
23.717391
75
0.714024
76cf4e384cb9b593d4e979d322c7e1d5b1f5b808
5,922
package BEANS; import java.sql.*; //import java.util.Properties; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; public class NewDocK { public String lMenu = ""; public String navi = ""; public String getList(HttpServletRequest r, String o, String g) throws ClassNotFou...
43.226277
233
0.47771
22bfb319e0b2107b826526632bb2dbc8fbaa9cd0
3,661
/* * Copyright 2019 The Data Transfer Project 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 applicab...
42.08046
100
0.740235
2faa619487577279f5b4755721f51d389469ed93
4,387
package li.cil.circuity.common.ecs.component; import li.cil.circuity.api.bus.BusController; import li.cil.circuity.api.bus.BusElement; import li.cil.circuity.api.bus.device.AbstractBusDevice; import li.cil.circuity.api.bus.device.AddressBlock; import li.cil.circuity.api.bus.device.AddressHint; import li.cil.circuity.a...
34.543307
142
0.577388
33c676edcd68f9f46176f89ba0002e2feaf3f96b
12,887
package harry.security.responder.resources; import iaik.cms.SecurityProvider; import iaik.cms.ecc.ECCelerateProvider; import iaik.security.ec.provider.ECCelerate; import iaik.security.provider.IAIKMD; import iaik.utils.Util; import iaik.x509.X509CRL; import iaik.x509.X509Certificate; import iaik.x509.ocsp.OCSPRequest;...
42.956667
133
0.601847
b07138347cafe1012f134c61b37b2aedae8da14e
42
package main; public class MainCtrl { }
7
23
0.714286
14bb1c61c841c1292047832f9a3a9718ae4842a5
2,916
package br.indie.fiscal4j.cte300.classes.nota; import br.indie.fiscal4j.DFBase; import br.indie.fiscal4j.validadores.DFBigDecimalValidador; import br.indie.fiscal4j.validadores.StringValidador; import org.simpleframework.xml.Element; import org.simpleframework.xml.Namespace; import org.simpleframework.xml.Root; impor...
33.136364
131
0.74177
1b6bfffc265929cb571d103e221e8c24a95b5778
11,154
/* * Copyright (C) 2014 Camptocamp * * This file is part of MapFish Print * * MapFish Print is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
41.311111
130
0.639591
1a8f1a3845601a82b505a70c45891ba09c0adb87
1,807
/* * 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...
31.155172
100
0.718318
f4f33e1f549d8a53fcff984110876eb371e02238
2,826
package com.projectem.game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.*; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.utils.Disposable; import com.projectem.game.ecs.*; import com.projectem.game.input.*; import com.projectem.game.menu.ISceneManager; import com.projectem.game.render...
28.26
120
0.667728
80d6adbbd77f965e0c2c6579ddfad84e10884d9e
2,543
package com.blurryworks.fragment.validator.rule.logic; import java.lang.annotation.Annotation; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.Collection; import com.blurryworks.fragment.validator.ValidationResult; import com.blurryworks.fragment.validator.engine.ResultStatus;...
29.917647
229
0.748722
0f452cb55a2311d500d768e69235e91f170719be
354
import java.util.*; /** * Main for Markov Text Generation Program * * @author ola * @date Jan 12, 2008 * */ public class MarkovMain { public static void main(String[] args) { IModel model = new MapMarkovModel(); SimpleViewer view = new SimpleViewer("Compsci 201 Markovian Text" + " Generation", "k count...
19.666667
69
0.666667
0e4bae33bdbbee50a55ddd19c20323a111f8d23e
27,912
import io.appium.java_client.AppiumDriver; import io.appium.java_client.TouchAction; import io.appium.java_client.android.AndroidDriver; import io.appium.java_client.touch.WaitOptions; import io.appium.java_client.touch.offset.PointOption; import org.junit.After; import org.junit.Assert; import org.junit.Before; import...
33.268176
159
0.549334
98a88d893aacda2f9610103b451097108c5666b9
13,520
// Copyright 2021, Justen Walker // SPDX-License-Identifier: Apache-2.0 package tech.justen.concord.goodwill.task; import com.walmartlabs.concord.ApiClient; import com.walmartlabs.concord.client.ApiClientConfiguration; import com.walmartlabs.concord.client.ApiClientFactory; import io.grpc.Server; import io.grpc.Serve...
40.845921
119
0.591568
ce9300fa0eb26245077740810b7acf0dd5fca9bc
251
interface List{ boolean isEmpty(); boolean isFull(); boolean isFound(int e);//search an element from the list void insertItem(int e);//insert an element on the desired position boolean remove(int e);//remove the specified element void clear(); }
31.375
67
0.749004
af6a909351ae993458d115212ac315d633321361
1,777
package com.pdffiller.client.api; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import com.pdffiller.client.PdfFillerAPIClient; import com.pdffiller.client.dto.DocumentInfo; import com.pdffiller.client.dto.DocumentListResponse; import com.pdffiller.client.dto.DocumentUploadRequest...
32.309091
101
0.760833
961952abed2b1fdbfe983eea8fce921939a23d65
708
package subarray; import org.junit.Assert; import org.junit.Test; /** * @author LiDaQian */ public class FindMaximumSubArrayTest { @Test public void testFind() { int[] array1 = new int[] {13, -3, -25, 20, -3, -16, -23, 18, 20, -7, 12, -5, -22, 15, -4, -7}; int[] array2 = new int[] {13, 20, ...
27.230769
102
0.625706
c2d9aa4125837fb18f1ea879f52668e33658a44c
1,163
package com.stackroute.quizify.recommendationservice.controller; import com.stackroute.quizify.recommendationservice.domain.LikesGame; import com.stackroute.quizify.recommendationservice.service.LikesGameService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotat...
29.820513
102
0.759243
6c8dd5ecbbd50de18dc7b026db350ed1296eae77
1,256
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.ui; import com.intellij.openapi.ui.ComboBox; import com.intellij.ui.EnumComboBoxModel; import com.intellij.ui.SimpleListCellRenderer; import org.jetbrai...
39.25
140
0.763535
37ab728d35ea53a8d6f0b0826a728623eed026a5
1,014
package com.mobwal.home.models.db; import android.content.Context; import org.jetbrains.annotations.NotNull; import java.util.UUID; import com.mobwal.home.R; public class Setting { public Setting() { id = UUID.randomUUID().toString(); } public String id; public String c_key; public S...
22.043478
66
0.598619
32111ce8e15f5697dadc3f04e66cf6a2194036c2
1,237
package com.lyx.study.helloworld; public class Helloworld { public static void main(String[] var0) { System.out.print("hello world\n"); byte var1 = 1; System.out.println(var1); byte var2 = 2; System.out.println(var2); byte var3 = 3; byte var4 = 4; Sy...
26.891304
44
0.542441
7614e925d51d0978783af382b5b3c45db491211a
18,196
/* OpenRemote, the Home of the Digital Home. * Copyright 2008-2011, OpenRemote Inc. * * See the contributors.txt file in the distribution for a * full listing of individual contributors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General...
36.61167
229
0.640415
7bc3b5925a5b4552571a78c65d89ad67dbd3d66e
2,438
package sh.isaac.provider.elk; //import org.junit.jupiter.api.Test; //import org.semanticweb.elk.owlapi.ElkReasonerFactory; //import org.semanticweb.owlapi.apibinding.OWLManager; //import org.semanticweb.owlapi.model.*; //import org.semanticweb.owlapi.reasoner.InferenceType; //import org.semanticweb.owlapi.reasoner.OW...
42.77193
165
0.719852
8f41e108a45d369dcd2b9966b89bb8e80d438223
6,279
package net.minecraft.block; import net.minecraft.block.properties.*; import net.minecraft.creativetab.*; import net.minecraft.world.*; import java.util.*; import net.minecraft.util.*; import net.minecraft.init.*; import net.minecraft.item.*; import net.minecraft.block.state.*; public class BlockCrops extends BlockBu...
38.521472
295
0.598025
bf981abbab040a41bf507ef1399a851a044fe856
3,846
/********************************************************************** Copyright (c) 2009 Andy Jefferson and others. 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://...
27.669065
98
0.624545
868182d6bf6b0ed5bc4b2a9b88ea0e089db45c01
130
/** Implementations of {@link org.anchoranalysis.io.input.bean.InputManager}. */ package org.anchoranalysis.plugin.io.bean.input;
43.333333
80
0.784615
a3c56c103564b31c20ac7e829885336902266642
9,232
package ru.assisttech.assistsdk; import android.app.AlertDialog; import android.app.LoaderManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.Loader; import android.database.Cursor; import android.os.Bundle; import androidx.core.content...
36.780876
127
0.674285
bd96086d273a16980f03eb5b92585370aba88bd3
7,806
import java.util.Arrays; /** *@author Paul Nguyen *@created May 3, 2003 *@version 1.0 The main interface to the SM. The storage manager (SM) is the * primary interface to all database I/O. SM implementers will provide the * ability to store and fetch arbitrarily size records. Each record will...
26.824742
80
0.611197
0ff0bed89e7eb93d4e820c21351211f991298273
7,874
package ball.activation; /*- * ########################################################################## * Utilities * %% * Copyright (C) 2008 - 2022 Allen D. Ball * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
34.234783
94
0.590551
5f447a28054ce2a91e8209273b34c6b2815e2004
3,846
/* * Copyright 2018 Okta * * 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 writ...
42.733333
190
0.73791
c86afea847e8036c6171fe9a832ea34c70c14185
1,550
package durianhln.polymorph.hud; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.scenes.scene2d.actions.Actions; import com.badlogic.gdx.scenes.scene2d.ui.Image; /** * Represents the colored capsule button that...
33.695652
103
0.67871
f7ba5446b90b7ace43ab91f2a0a6edd98550ea80
912
package io.quantumdb.core.schema.operations; import static com.google.common.base.Preconditions.checkArgument; import com.google.common.base.Strings; import lombok.Data; import lombok.experimental.Accessors; @Data @Accessors(chain = true) public class MergeTable implements SchemaOperation { private final String le...
32.571429
98
0.804825
9388bb6312a5011b20c31cb7b6609699003e991f
16,033
package com.loopedlabs.lang; /* The MIT License (MIT) Copyright (c) 2015 Looped Labs Pvt. 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 th...
23.474378
77
0.452379
57dfd510e903fad737afbaba67f76de842170dd9
3,448
package com.ruoyi.report.controller; import java.util.List; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.s...
33.153846
103
0.732019
a89ded964da13924170591a4fee1bf553b33fb2c
14,941
/* * Copyright 2017-2019 EPAM Systems, Inc. (https://www.epam.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 requ...
47.582803
119
0.69326
78da8b53ec3b7edcf2d2f245b118ec2956cc0fd9
2,218
package com.samon.administrator.uclass; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import andr...
32.144928
122
0.656898
797aac96cb3bcb0583b09de3e9346195067aaf84
3,599
/* * 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 dao; import connection.ConnectHibernate; import java.util.List; import java.util.logging.Level; import java.util.logging.Logge...
29.743802
93
0.565157
81348227f8133489abc58430952ee7538412066d
3,291
/* * 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 * distributed ...
36.566667
119
0.701914
4a27e5b0169774c54c939afb6400292c479fceb7
2,773
/* * 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 * distributed u...
22.007937
114
0.706816
bb8dd2fadd20ba7a9e2bb00b6bed9fe6e3dd1f6f
8,119
/* * Copyright (c) 2021 Oracle and/or its affiliates. * * 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 applicabl...
31.964567
118
0.608572
6383c74e096b5841090f15bb4e77cb0a6aea795d
194
package com.betfair.aping.betting.enums; import javax.annotation.Generated; @Generated("pt.paulosantos.betfair.aping.codegen") public enum TimeGranularity { DAYS, HOURS, MINUTES }
17.636364
50
0.752577
73fdb3671501cfa174d73d401ac7f79e8b313a80
689
package com.heeexy.example.dao; import com.alibaba.fastjson.JSONObject; import com.heeexy.example.util.model.Student; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; import tk.mybatis.mapper.common.Mapper; import java.util.List; pu...
36.263158
134
0.759071
cdfe54cd624a3f2603738f2e6af95299b0157e37
31,579
package com.zw.platform.service.carbonmgt.impl; import com.alibaba.fastjson.JSON; import com.zw.platform.basic.dto.VehicleDTO; import com.zw.platform.basic.repository.NewVehicleDao; import com.zw.platform.commons.HttpClientUtil; import com.zw.platform.commons.SystemHelper; import com.zw.platform.domain.basicinfo.Vehic...
50.045959
119
0.561766
071cdefcce881821c8f1cfb10121c8fdd4839e65
3,038
package com.scj.beilu.app.ui.course; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import android.view.View; import com.mx.pro.lib.smartrefresh.layout.api.RefreshLayout; import com.scj.beilu.app.R; import com.scj.beilu.app.base.BaseMv...
30.079208
96
0.718565
983cd00cd055d9448304fd3e4705334346247ce1
808
/* * @author Mg Than Htike Aung {@literal <rage.cataclysm@gmail.com@address>} * @Since 1.0 * */ package com.mycom.products.springMybatisGenericExample.core.service.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.mycom.products.sprin...
32.32
90
0.821782
72babf84ce86b994594ec83d45e189f06c627490
4,242
/* * Copyright 2001-2013 Stephen Colebourne * * 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...
24.520231
87
0.719943
9310391ef052f8e092df12015f7f9c6b28dc9300
15,222
import java.io.File; import java.util.*; /* * Inverted Index for information retrieval * * Created by Tony Vazgar on 8/22/18. * Copyright © 2018 Tony Vazgar. All rights reserved. * Contact: luis.vazquezga@udlap.mx */ public class BooleanRetrieval{ /* * Metodo para indexar los archivos. */ p...
48.32381
202
0.477992
76efd89d515a3d1fc6d08159bd5b5f7c8335b26b
2,605
/* * Copyright (C) 2012 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...
33.397436
79
0.685605
317a623a077569e4a3d389b009c38a7ec0105f76
1,140
/* * Copyright 2016 Davide Maestroni * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
30
85
0.712281
4937d5ff37237709c0b847d9e4447828e2395959
1,166
package com.egoveris.ccomplejos.base.model; import java.util.Date; public class MedioTransporteDTO extends AbstractCComplejoDTO{ private static final long serialVersionUID = 18800162863976226L; protected Date fechaEstimadaLlegada; protected String ruta; protected String patente; protected ParticipantesDTO t...
24.291667
65
0.789022
4fbd3a06f81061b0c80397fc50919f8463f84e0c
6,527
/* Copyright (c) 2009 Peter Troshin * * JAva Bioinformatics Analysis Web Services (JABAWS) @version: 1.0 * * This library is free software; you can redistribute it and/or modify it under the terms of the * Apache License version 2 as published by the Apache Software Foundation * * This librar...
32.472637
102
0.729432
6db1a6cd0d2b043629d63fdc6e87ee040d766467
4,760
package com.scriptbasic.executors.rightvalues; import com.scriptbasic.api.ScriptBasicException; import com.scriptbasic.interfaces.BasicRuntimeException; import com.scriptbasic.spi.BasicArray; import com.scriptbasic.spi.BasicValue; import com.scriptbasic.spi.Interpreter; import com.scriptbasic.spi.RightValue; import j...
35
115
0.665546
6c1a0e9e4459663a9d19af2b456d365ca73445ad
3,135
/* * Copyright 2014-present Open Networking Laboratory * * 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...
39.1875
114
0.697927
0227254b75f207f35a6e36855a36a89819f2e568
10,476
package tccrouter.gbl.vrp.common.entity; import tccrouter.diamante.core.graph.Graph; import tccrouter.diamante.core.graph.Node; import tccrouter.diamante.core.graph.property.ComponentProperties; import tccrouter.diamante.extension.graph.property.ID; import tccrouter.gbl.common.entity.TSProblemModel; import tccr...
25.304348
83
0.692726
4d7ed98b19925cd5306664bd9981c0fcc968d793
6,470
package com.github.dockerjava.cmd; import com.github.dockerjava.api.async.ResultCallback; import com.github.dockerjava.api.command.InspectImageResponse; import com.github.dockerjava.api.command.PullImageCmd; import com.github.dockerjava.api.exception.DockerClientException; import com.github.dockerjava.api.exception.In...
40.691824
109
0.689335
9d44106c2c9751396ff9cdb737ddf6aa72d5f559
7,296
/* * L&N STEMpunks c 2017 * * WOPR-JR. * * Full repo: github.com/ln-stempunks/WOPR-JR * * Full licensing here: programming.lnstempunks.org/licensing * * GPLv3 */ package team3966.robot.commands; import edu.wpi.first.wpilibj.PIDController; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import tea...
30.78481
88
0.581277
01f5f16ec957089d1b346c95b4cc13577c667ccf
1,154
package com.ai.domain.bo; import java.util.Date; public class SipLog { private Long id; private Date createat; private String accepter; private String handler; private String num; private Long result; public Long getId() { return id; } public void setId(Long id) { ...
17.753846
66
0.581456
aa03a32f76e5f0cf6f4eb070572bc604436f3704
1,093
package site.daipeng.boot.demo.utli; /** * @author daipeng * @date 2019/9/24 14:28 * @description */ public class NumberUtil { public static Long parseStringOrIntegerOrLongToLong(Object value) { Long result = -1L; if (value == null) { return result; } if (value inst...
24.288889
77
0.537969
05d1b69d13b7303663373372ef835fc92d0ea635
3,191
package com.chenantao.playtogether.chat.mvc.view.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import com.avos.avoscloud.im.v2.AVIMConversation; import com.avos.avoscloud.im.v2.AVIMMessage; import com...
28.747748
93
0.745534