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
31190e574385361041d29511e0652b06be36710b
148
package org.twak.utils.ui; public class Cancellable { public boolean cancelled = false; public void cancel() { this.cancelled = true; } }
13.454545
34
0.695946
b801249aa438e26a463406d1acd594f677015174
798
/** * Created by geron on 23.04.2017. */ public class GraphMain { public static void main(String[] args) { BST bt = FileReader.readProfiles("profiles.txt"); Graph g = FileReader.readFriends("friends.txt", bt); System.out.println("Common friends of Freddie Mercury and Friendly" + ...
36.272727
80
0.565163
9620fc4cc48bdbd1389b8ac03837dfb90997b732
132
package xp.kdm.build; import lombok.NoArgsConstructor; @NoArgsConstructor() public class BuildComponent extends BuildResource { }
16.5
51
0.818182
cc023fe0c6640295e5e0ff359c4bd439901e7341
1,751
package org.apereo.cas.adaptors.radius.server; import org.apereo.cas.adaptors.radius.RadiusClientFactory; import org.apereo.cas.adaptors.radius.RadiusProtocol; import lombok.Setter; import lombok.ToString; import lombok.extern.slf4j.Slf4j; import net.jradius.client.RadiusClient; import net.jradius.packet.AccessReques...
39.795455
139
0.748715
87f1d8a80128c5d5603ca27bbef76a530367c2b8
418
package com.github.instagram4j.instagram4j.responses.commerce; import com.github.instagram4j.instagram4j.models.commerce.Product; import com.github.instagram4j.instagram4j.models.user.Profile; import com.github.instagram4j.instagram4j.responses.IGResponse; import lombok.Data; @Data public class CommerceProductsDetai...
29.857143
66
0.837321
57a1996d5e0ee9b26ee2e0bf596b5bd9e6d1213b
363
package com.phm.comp.distance; import com.phm.core.ParametersContainer; import org.apache.commons.math3.linear.RealVector; /** * * @author phm */ public class BlankDistanceMeasure implements DistanceMeasure { @Override public DistanceInfo measure(RealVector sc1, RealVector sc2, ParametersContainer pc) { ...
21.352941
89
0.741047
37c4072fcd2f32f126869ae959b5a4d3a3dd0894
778
package com.zero.hycache.tests; import com.zero.hycache.enhance.HyCacheEnhancer; import com.zero.hycache.service.UserService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.StopWatch; /** * @author zero * @date Create on 2022/2/17 * @description */ public class Performanc...
25.096774
93
0.682519
3bb6a0e55a3d59eb5173eff1c7961b6aa949a350
7,242
package org.openrepose.components.apivalidator.filter; import com.rackspace.com.papi.components.checker.Validator; import com.rackspace.papi.commons.util.http.HttpStatusCode; import com.rackspace.papi.commons.util.http.OpenStackServiceHeader; import com.rackspace.papi.commons.util.http.header.HeaderValue; import com.r...
44.981366
142
0.687379
835c98a83097b3b9859a91735b139c0205b7da4a
2,769
package com.cv.projects; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; public class Farm { byte farmland[][]; Farm (int rows, int cols, String[] barrens) { farmland = new byte[rows][cols]; ArrayList<int[]> barrenRects = new ArrayList<>(); for (...
29.457447
228
0.625135
76d2ee39e9c9de6123cccf29b0e7cec2a3810849
11,306
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
25.068736
134
0.619936
a453c36a9eed08e88184d5aeca784ddbf27629e4
40,315
/* * Copyright (c) 2022, Thomas Meaney * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ package com.eintosti.buildsystem.manager; import com.cryptomorin.xseries.XMaterial; import com.cryptomorin.xseries....
41.951093
225
0.61275
537614bd1d76b511c8adc5b5f123f67775c41e3a
1,679
/* Copyright © 2019 Pasqual K. | All rights reserved */ package systems.reformcloud.commands.ingame.command; import systems.reformcloud.commands.ingame.sender.IngameCommandSender; import java.io.Serializable; /** * @author _Klaro | Pasqual K. / created on 19.03.2019 */ public abstract class IngameCommand impl...
22.386667
82
0.628946
9aa8a5e5d4ff9b27133f61848e5d011a347f06e8
8,359
// The MIT License (MIT) // // Copyright (c) 2017 Smart&Soft // // 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...
37.995455
181
0.714081
6e35f2d0545e5603f09ce8e8a21ab05205917032
1,994
/* * Copyright (c) 2014 ProSyst Software GmbH. All Rights Reserved. * * This CODE is owned by ProSyst Software GmbH, * and is being distributed to OSGi PARTICIPANTS as MATERIALS * under the terms of section 1 of the OSGi Alliance Inc. Intellectual Property Rights Policy, * Amended and Restated as of May 23, 2011....
34.982456
94
0.772818
03796ab207883a99e59ce7264631664de8cd8c60
1,903
package net.runelite.client.plugins.custommenuswapper; import net.runelite.client.config.Config; import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigItem; @ConfigGroup("custommenuentryswapper") public interface CustomMenuSwapperConfig extends Config { @ConfigItem( p...
27.57971
100
0.581713
42e2249712ee8b064de1496ab11fd650c5d23016
2,846
package mage.cards.t; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.ReplacementEffectImpl; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.*; import mage.game.Game; import mage.game.events.GameEvent; import mage.players.P...
32.712644
129
0.701335
2887e23c217df9547dd985d0f093cbccd1dec666
710
package io.miret.etienne.gradle.sass; import org.gradle.api.file.ConfigurableFileCollection; import org.gradle.api.file.RegularFileProperty; import org.gradle.api.provider.Property; import org.gradle.workers.WorkParameters; public interface CompileSassWorkParameters extends WorkParameters { RegularFileProperty getE...
30.869565
67
0.812676
5a6aef7a03fc00eb268496d8b810bae0d9fd126e
5,504
/* * 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 ...
41.383459
176
0.619004
99cc51672c4e4b7870c18e68535703226854fff3
1,081
package com.espressif.iot.base.net.rest2; import java.net.URI; import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; class EspHttpRequest extends HttpEntityEnclosingRequestBase { final static String METHOD_POST = "POST"; final static String METHOD_GET = "GET"; final static Strin...
20.788462
69
0.608696
3387952f6af96d83f83658c3eccbdab40b20bc08
556
package slieb.blendercss.configuration; import com.google.inject.AbstractModule; public class InterfaceModule<A> extends AbstractModule { private final Class<A> interfaceClass; private final Class<? extends A> implementationClass; public InterfaceModule(Class<A> interfaceClass, Class<? extends A> imple...
26.47619
93
0.73741
7bf11d667ab4c8c82d23b45ba3b93655ea021a88
614
/* * 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 modelo.livroautor; /** * * @author creuma */ public class LivroAutor { private int fkAutor; private int fkLivr...
18.058824
79
0.630293
a44b4f13215a543cc829768a18f163f2892226c3
18,244
package com.sdsmdg.harjot.vectormaster; import android.content.Context; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Matrix; import android.graphics.Path; import android.graphics.PixelFormat; import android.graphics.Rect; import and...
38.982906
183
0.57893
36ebf9f7a9ab35a21da5763acfb53079f1acf7bd
6,482
package com.github.funnyzak.onekey.biz.service.impl; import com.github.funnyzak.onekey.biz.service.GeneralService; import com.github.funnyzak.onekey.biz.service.TypeRelationService; import org.nutz.dao.Cnd; import org.nutz.dao.Condition; import org.nutz.dao.Sqls; import org.nutz.dao.pager.Pager; import org.nutz.dao.sq...
39.52439
203
0.645788
99d31c26c9aba72964aaa9863da1fe58a218d031
3,957
/* * Copyright (c) 2016 Hugo Matalonga & João Paulo Fernandes * * 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 ...
38.048077
97
0.628506
2c893ccbfe6a96ed8c0dd5764fed5743adb8fbb6
800
package conf_5_2_1; import java.net.UnknownHostException; import org.esfinge.querybuilder.annotation.ServicePriority; import org.esfinge.querybuilder.mongodb.DatastoreProvider; import com.google.code.morphia.Datastore; import com.mongodb.Mongo; import com.mongodb.MongoException; @ServicePriority(1) public class Mon...
22.857143
64
0.76125
0c35e037587d001b97787059ec9a3697157187e6
1,574
/* * Copyright (C) 2020 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.489362
125
0.73507
4c0d5f1fdc50728ec48bbad2d47b300c978f75d8
2,400
package org.folio.services; import static java.util.stream.Collectors.toList; import static java.util.stream.Collectors.toMap; import static org.folio.invoices.utils.HelperUtils.buildIdsChunks; import static org.folio.invoices.utils.HelperUtils.collectResultsOnSuccess; import java.util.List; import java.util.Map; imp...
36.923077
132
0.750833
1be303e9c9132501769e32e57124031804461cdf
305
package com.motodb.controller; import com.motodb.view.GUI; public class Main { private final GUI firstFrame; public Main() { this.firstFrame = new GUI(); this.firstFrame.launcher(new String[] {}); } public static void main(String[] args) { new Main(); } }
16.944444
50
0.609836
ddb99411b17789d8305c30a44ef6a442f44cc94a
2,584
package com.qugengting.videoplay; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; public class BitmapSizeUtils { private static int calculateInSampleSize(BitmapFactory.Op...
39.753846
106
0.642415
f332098ab39fdff5964c5592d2113ce76bd83b68
5,117
package com.actian.ilabs.dataflow.cassandra.reader; import com.datastax.driver.core.ResultSet; import com.datastax.driver.core.Row; import com.actian.ilabs.dataflow.cassandra.connection.ClusterSession; import com.actian.ilabs.dataflow.cassandra.getter.GetterFactory; import com.actian.ilabs.dataflow.cassandra.query.Que...
31.782609
108
0.756107
64ba037621e923f04f344e588dfd22ad177e03c3
16,916
/******************************************************************************* * Copyright (c) 2000, 2008 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...
35.838983
135
0.760996
db9055643591899711a0a006e90a8178c498580c
1,810
package com.stripe.samplestore; import android.support.annotation.Nullable; import java.text.DecimalFormat; import java.util.Currency; /** * Class for utility functions. */ public class StoreUtils { static String getEmojiByUnicode(int unicode){ return new String(Character.toChars(unicode)); } ...
31.754386
90
0.61326
87eb31f48b32fc229e23d538d2f0eab1fcc305de
1,145
package eapli.base.rawmaterialmanagement.domain; import junit.framework.TestCase; import org.junit.Test; public class RawMaterialTest { @Test(expected = IllegalArgumentException.class) public void ensureMustHaveCategory() { new RawMaterial("PT50", "Exemplo1", "ExemploDescricao1", null); } @T...
35.78125
115
0.717904
dc8e487d748e98948631767c2f27549ae61998a1
2,882
/* * PowerAuth Web Flow and related software components * Copyright (C) 2017 Wultra s.r.o. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (...
23.622951
75
0.607217
89f6fffa3590916e8df41c5f48997e080bd9a986
3,822
/* * Copyright © 2022 DATAMART 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 t...
46.048193
136
0.729461
dea8b77ad916a7b41370fbf8ec9b72086bfbc06f
1,937
package com.ruoyi.store.domain; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.ruoyi.common.utils.CustomLocalDateTimeDeserializer; import com.ruoyi.common.utils.CustomLocalDateTimeSerializer; import com.ruoyi.goods.domain.Pms...
23.621951
114
0.662364
4f67b098ed2c457fda2395d79145706b8350baaa
6,410
package mysh.sql; import java.io.Serializable; import java.util.Date; public class UmOrg implements Serializable { private Long orgId; private Long domainId; private Long parentOrgId; private String orgCode; private String orgName; private Short orgState; private String remarks; ...
21.438127
81
0.632293
e56b45d0d9a8d88b836c8ca97c311e2997b7aecd
689
package com.listenergao.audioandvideolearning.utils; import android.widget.Toast; import com.listenergao.audioandvideolearning.LearningApplication; public class ToastUtils { public static void toast(int resId) { toast(LearningApplication.getContext().getString(resId), Toast.LENGTH_SHORT); } pu...
26.5
85
0.719884
68ebd6fa2ca0cf9146fafa974ab1f9b44bc87826
3,105
package css; import com.intellij.psi.PsiReference; import com.intellij.psi.css.CssDeclaration; import com.intellij.psi.css.inspections.CssInvalidElementInspection; import com.intellij.psi.css.inspections.CssUnknownPropertyInspection; import com.intellij.psi.css.inspections.invalid.CssUnknownTargetInspection; import co...
37.409639
139
0.756844
e4b3796cb15c35b933808a0706cde07c8eeb9cfd
1,963
package org.gradle.test.performance.mediummonolithicjavaproject.p156; public class Production3139 { private Production3136 property0; public Production3136 getProperty0() { return property0; } public void setProperty0(Production3136 value) { property0 = value; } priv...
18.695238
69
0.631177
fe7305f53ea4d3e0ead7de1cafe8102dbbeb8397
1,622
// // samskivert library - useful routines for java programs // Copyright (C) 2001-2012 Michael Bayne, et al. // http://github.com/samskivert/samskivert/blob/master/COPYING package com.samskivert.depot.impl.jdbc; import java.sql.Connection; import java.sql.SQLException; /** * The default liaison is used if no other...
24.208955
101
0.678175
d3b690365ee14e13b9245f518aa5f2519bbac1d2
51,406
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/framework/tensor_slice.proto package org.tensorflow.framework; /** * <pre> * Can only be interpreted if you know the corresponding TensorShape. * </pre> * * Protobuf type {@code tensorflow.TensorSliceProto} */ public final c...
34.547043
190
0.656538
d0312d9fdb9e60399f5c9cf33e78a77b2a8e76a7
419
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.plugin.ij.formatting; import com.intellij.codeInsight.editorActions.SimpleTokenSetQuoteHandler; import com.intellij.psi.JavaTokenType; import com.intellij.psi.tree.IElementType; public class GosuQuoteHandler extends SimpleTokenSetQuoteHandler { public Go...
26.1875
73
0.811456
eb9fdd3283bb8c380f99ebd3776fd1dc734a8ecb
13,860
package jetbrains.mps.debugger.java.runtime.engine; /*Generated by MPS */ import jetbrains.mps.annotations.GeneratedClass; import jetbrains.mps.debugger.java.runtime.engine.requests.IRequestManager; import jetbrains.mps.logging.Logger; import org.apache.log4j.LogManager; import java.util.Map; import jetbrains.mps.deb...
46.666667
222
0.763781
883cedd91e318907ba7c87f70c6cb1d3fc64f17c
16,957
/* ==================================================================== 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 Y...
37.024017
119
0.503509
74357c9c6946e4198e775e8053f40e5f5ab3c080
2,638
/* * Copyright (c) 2017 Snow Volf (Artem Zhiganov). * 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 applicab...
29.977273
106
0.684989
1c9eeb105cb11933a600de72afec829bc6fee74f
2,477
/* * Copyright 2013-2022 Erudika. https://erudika.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 appli...
29.843373
105
0.746064
37fb1d9b7ca268d0dbadedfd23786e031d0e54cf
10,853
package home.shared.Utilities; import com.thoughtworks.xstream.XStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.security.cert.X509Certificate; import java.util.ArrayList; public class ParseToken extend...
30.063712
117
0.447895
1063c607048edf377d6bc436b632dfda02f7ddf4
3,110
package io.mercury.serialization.wire; import java.util.HashMap; import java.util.Map; import org.jetbrains.annotations.NotNull; import net.openhft.chronicle.wire.Marshallable; import net.openhft.chronicle.wire.WireIn; import net.openhft.chronicle.wire.WireKey; import net.openhft.chronicle.wire.WireOut; ...
26.581197
107
0.72283
8c329ed58826998a1231bdc6aa3c30d48fdbd465
645
package org.xpdojo.designpatterns._03_behavioral_patterns._05_mediator; import org.xpdojo.designpatterns._03_behavioral_patterns._05_mediator.hotel.FrontDesk; import java.time.LocalDateTime; public class Guest { private final Integer id; private final FrontDesk frontDesk = new FrontDesk(); public Gues...
22.241379
86
0.706977
d330a8e0d7ccae4428f8c3d3c123b3d103eb72a8
976
package org.cujau.xml; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.xml.namespace.NamespaceContext; /** * Map-based NamespaceContext implementation. */ public class NamespaceContextImpl implements NamespaceContext { private Map<String, String> prefixToURI ...
26.378378
77
0.667008
9c854cfd65416cf68e11d871f287c52302da6911
6,693
package network; import beans.*; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import com.esotericsoftware.kryonet.Server; import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.JDOMException; import org.jdom2.input.S...
36.178378
119
0.554161
76bcdad09e02751db7a65e4b9ed8ea2aa4b0ef8d
11,522
package com.zzh.lib.switchbutton.gesture; import android.content.Context; import android.os.Build; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.view.ViewGroup; import android.view.ViewParent; import java.util.ArrayList; import java.util.List; /** *...
23.855072
129
0.534195
84aba9932503c2578ae758c3870ca6c5d3180944
2,802
package ca.uhn.fhir.jpa.searchparam.extractor; /*- * #%L * HAPI FHIR Search Parameters * %% * Copyright (C) 2014 - 2022 Smile CDR, 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 Licens...
33.759036
120
0.710207
e122b481cee3bc5c1212da4d7ade69acffb44edc
1,764
package com.interview.codingblocks.week6recursion; import java.util.Scanner; public class SmartKeypad { private static String table1[] = {" ", ".+@$", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz"}; private static void solve( String input, char[] out, int i, int j ) { //if 'i...
35.28
115
0.55839
fa32d26021bc89eb3ca962653507a0ebc7e212c3
1,026
package gov.usgs.cida.gdp.coreprocessing.analysis.grid; import org.junit.AfterClass; import org.junit.BeforeClass; /** * @author jordan * I realize that this class is pretty much just to test the default Visitor * functions, and that they don't really do anything currently. * So this isn't very useful, but I'm go...
28.5
110
0.716374
6d8f1305b4ba3fbc56d7b0764106d95a3e066bb4
1,955
package training.math; import org.junit.jupiter.api.Test; import util.CollectionUtil; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.function.IntFunction; import static org.junit.jupiter.api.Assertions.assertEquals; /** * 89. 格雷编码: https://leetcode-cn.com/problems/gr...
23
97
0.561125
ecab9e8fa01feff3ad52e299757cc8abb4853b6b
118
package kr.pe.kwonnam.freemarkerdynamicqlbuilder; /** * */ public enum EmployeeType { FULLTIME, PARTTIME }
11.8
49
0.694915
7fe16f624bbcf7ac2a7283d80f0ad0c03967f3a0
257
package dmt.server.data.entity; import dmt.server.data.helper.Entity; import dmt.server.data.table.UserAccountRecoveryTable; /** * @author Marco Romagnolo */ public class UserAccountRecoveryEntity extends UserAccountRecoveryTable implements Entity { }
21.416667
91
0.809339
085a40aa73413a1dc657037bb855e5ba49141eb2
1,061
package com.hubspot.singularity.s3downloader.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.inject.Inject; import com.google.inject.Provider; import com.hubspot.singularity.runner.base.sentry.SingularityRunnerExceptionNotifier; import com.hubspot.singularity.s3.base.ArtifactManager...
34.225806
132
0.831291
d8280f337ac729a4616372db515e2ea686c7e0b3
18,460
/* * Copyright 2011 Voxeo Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
32.048611
80
0.508017
aa8aeca714ce8715469c57f85fd92699648f2c8f
9,056
package es.redmic.test.vesselsview.integration.controller; /*- * #%L * Vessels-query-endpoint * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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 th...
34.43346
106
0.743154
0cd1a588cb15c6c25b20ad284bf4935e53684e10
1,015
package com.ruoyi.project.erp.mrpPurchase.service; import com.ruoyi.project.erp.mrpPurchase.domain.MrpPurchase; import java.util.List; /** * mrp采购单关联 服务层 * * @author sj * @date 2019-06-26 */ public interface IMrpPurchaseService { /** * 查询mrp采购单关联信息 * * @param id mrp采购单关联ID * @return mrp采购...
18.454545
73
0.639409
e6b1a07f4c1edc823beb1fe8d8fecf913a6bb893
6,539
package MathPackODE.Solvers; import MathPack.MatrixEqu; import MathPack.StringGraph; import MathPack.WorkSpace; import MathPackODE.Solver; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import static java.lang.StrictMath.*; public class TRBDF extends Solver{ double[] xn, ...
28.554585
127
0.419789
68003a124252e95d2d48d72c3ed2711851c7f95d
25,475
// 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 com.facebook.share.widget; import android.app.Activity; import android.app.Fragment; import android.content.Intent; import android.os.Bundle; impo...
38.079223
174
0.590815
a68de26d9e41b52984c21d8104df5d027b8bf524
4,038
package ai.mozark.devices.utils.aws; import ai.mozark.devices.util.RestUtil; import com.amazonaws.services.devicefarm.AWSDeviceFarm; import com.amazonaws.services.devicefarm.model.DeviceFilter; import com.amazonaws.services.devicefarm.model.ListDevicesRequest; import com.amazonaws.services.devicefarm.model.ListDevices...
39.203883
87
0.603517
55350a724742b596a05e486748d6246183c781d5
5,193
/* * The MIT License * * Copyright 2016 Volchkov Andrey. * * 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 us...
33.288462
83
0.511073
ee643b23cc039c90d0a4fb0cad13cac1f7e0a00d
7,638
/* * Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
41.737705
162
0.559963
a31917f72872dfddd88f7d05de657b39493a1a11
736
package cliporama; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.*; import javafx.stage.Stage; @SuppressWarnings("restriction") public class Main extends Application { public static void main(String[] args) { launch(args); } /** * Lance le cadre de l'interface JAVA...
22.30303
89
0.721467
0e8dd9e14855e44ce508fe9475e1254bd141d95c
550
package exemplo12.polimorfismo; import java.util.ArrayList; import java.util.List; public class TestaTocadorBarulho { public static void main(String[] args) { TocadorDeBarulho t = new TocadorDeBarulho(); List<Barulhento> lista = new ArrayList<>(); lista.add(new Carro()); lista.add(new Carro()); l...
18.965517
46
0.672727
f2595b04ed3fe7bed0cd37c431e160b2cbdc6654
56
/** * 描画用クラスのあるパッケージ */ package densan.s.game.drawing;
14
30
0.696429
4003278e290ad7151c4bc16ec8330a5955558655
7,230
package jadx.gui.ui.codearea; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.StringSelection; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java...
37.268041
142
0.697925
4da5d66a7945998a0a06bc5e67b4ec5874912cec
3,401
/* * 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.673267
100
0.694502
e6e05ea764c16194e110c205ceb74214d0aa6a4d
496
package com.zhuwj.dict.service.impl; import com.zhuwj.dict.entity.DictDetail; import com.zhuwj.dict.mapper.DictDetailMapper; import com.zhuwj.dict.service.DictDetailService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * <p> * 基础表 服务实现类 * </...
23.619048
115
0.78629
371680e7665391622dbcb4dcec62a623408651aa
1,199
package buildingOrderModule.stateFactories.actions.executableActions; import buildingOrderModule.scoringDirector.gameState.GameState; import buildingOrderModule.simulator.TypeWrapper; import bwapi.UnitType; /** * TrainUnitActionTerran_Wraith.java --- Class for training a Terran_Wraith. * * @author P H - ...
26.065217
77
0.744787
f705819ec6dee851371a75445b38e3cc4b337788
16,879
/* * 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...
38.53653
100
0.612062
fc2cfc98abd52b1391d3637e947558f3df06ce7e
1,498
package com.tomekl007.chapter_5; import org.junit.Ignore; import org.junit.Test; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.RejectedExecutionHandler; import java.util.concurrent.ThreadPoolExecutor; imp...
23.40625
74
0.638184
ca6a7a54506ffcd6452d2ed6b8e06bc962c25e5d
1,437
package de.vrees.heatpump.coolant; import org.apache.commons.math3.analysis.interpolation.DividedDifferenceInterpolator; import org.apache.commons.math3.analysis.polynomials.PolynomialFunctionNewtonForm; /** * Diese Klasse bildet den Druck/Temperatur -Verlauf des Kuehlmittels R134a in einem Polynom 4-ter Ordnung ab...
29.326531
110
0.699374
c2f2e3e8ec421473523220d90a04cf11d61d1b48
2,287
/* * 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 ...
34.651515
135
0.730652
7f76258a919ed7a65a0c510f8d2735b2cb6ffdae
1,277
/** * This class is generated by jOOQ */ package org.jooq.test.mysql2.generatedclasses.tables.pojos; /** * This class is generated by jOOQ. * * An unused table in the same schema. */ @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) @javax.persistence.Entity @javax.persistence.Table(name = "x_test_...
25.54
88
0.732185
1fdde804fc86d8814d5075df7275f50b4e6661f4
3,820
package de.bornemisza.ds.rest.security; import de.bornemisza.ds.rest.security.HashProvider; import de.bornemisza.ds.rest.security.DoubleSubmitToken; import org.junit.Before; import org.junit.Test; import org.primeframework.jwt.domain.JWT; import org.primeframework.jwt.domain.JWTException; import static org.junit.Asser...
34.107143
184
0.675654
e15d1d00afed03c30033e1f5f2d79b262f2b5c98
6,960
/* * Copyright (C) 2014 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 applicable l...
31.926606
152
0.655603
194227ff1909feedc1d54775b71aa8eafb2391c6
120
public class FirstProgram { public static void main(String[] args) { System.out.println("I start learning java!"); } }
17.142857
45
0.725
8b4a3385bc0b878c089e1293bbded9ffe514ab3f
3,975
package com.sample.springboot.data.mybatis.service.impl; import com.sample.springboot.data.mybatis.domain.second.SecondDO; import com.sample.springboot.data.mybatis.mapper.second.SecondMapper; import com.sample.springboot.data.mybatis.page.Page; import com.sample.springboot.data.mybatis.query.SecondQuery; import com.s...
34.565217
115
0.643019
2d3737888665d9fe450f7b27616256499e6aabd1
457
package com.octoperf.kraken.runtime.context.api.environment; import com.octoperf.kraken.runtime.context.entity.ExecutionContextBuilder; import com.octoperf.kraken.runtime.entity.environment.ExecutionEnvironmentEntry; import reactor.core.publisher.Mono; import java.util.List; import java.util.function.Function; publi...
38.083333
139
0.85558
dddd24ec83a06279d4d3e3e33c08718a4b2bb6f6
1,179
package com.hbm.render.tileentity; import org.lwjgl.opengl.GL11; import com.hbm.main.ResourceManager; import com.hbm.tileentity.machine.TileEntityMachineCentrifuge; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; public class RenderCent...
28.071429
134
0.741306
a3921bd15e9ec7e7cefc960e01f8094131687043
819
package de.helixdevs.deathchest.support.protection; import de.helixdevs.deathchest.api.protection.IProtectionService; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; import java.util.Arrays; public class CombinedProtectionService impl...
30.333333
109
0.726496
94a31d8526faabbb3f3748c4468a5087f82a993e
1,801
package com.arcturusmayer.memescreen; import android.app.AlertDialog; import android.app.Dialog; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android...
30.525424
120
0.7196
2ed2f43cf58748ee9966e6be5665040207007f3f
2,550
package com.jaeger.statusbarutil; import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.Window; import android.view.WindowManager; import com.jaeger.statusb...
22.566372
78
0.637255
368475f466905de0ab804139064206959e461f39
1,958
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
35.6
122
0.733912
08d4c0033219f5ea10fc57054b9246f198884e08
11,035
/******************************************************************************* * Copyright (c) 2022 Eclipse RDF4J contributors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, an...
38.449477
116
0.77517
1a4631eba77dffbc7c09e31fbbe9c3c5f5a1e57f
385
package measurement; import com.AlphaMM.utils.DateUtils; import com.AlphaMM.utils.MyUtils; import org.junit.Test; public class MyUtilsTestTest { @Test public void test1() throws Exception { System.out.println(MyUtils.randomInt(999999)); } @Test public void test2() throws Exception { ...
21.388889
61
0.698701
0041ebcece38f0ee5505d7e2192ec1af5eb5b721
523
package com.maxplus1.demo.service; import com.maxplus1.demo.dao.test1db.Test1Dao; import com.maxplus1.demo.entity.Test1Pojo; import com.maxplus1.demo.service.remote.ITest1Service; import org.springframework.stereotype.Service; import javax.annotation.Resource; /** * Created by xiaolong.qiu on 2017/1/19. */ @Servic...
20.92
54
0.755258
a6127915e56ba72f8a47a554c263f8478b281b91
1,467
package nl.ramondevaan.aoc2020.day24; import nl.ramondevaan.aoc2020.util.Parser; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; public class PathParser implements Parser<String, List<Direction>> { @Override public List<Direct...
29.34
68
0.575324
1db241b14bfd42ee14512a442bf14b73b62c51d7
1,128
package sldevand.fr.listoo.model; import android.widget.TextView; import java.io.Serializable; import io.realm.RealmObject; import io.realm.annotations.PrimaryKey; public class Category extends RealmObject implements Serializable { @PrimaryKey private String name; private String description; privat...
18.8
67
0.631206
a1d68ebf4314aff36c58912899bf99af08b41e24
3,727
package com.blakebr0.extendedcrafting.compat.crafttweaker; import java.util.Arrays; import java.util.List; import com.blakebr0.extendedcrafting.crafting.CompressorRecipe; import com.blakebr0.extendedcrafting.crafting.CompressorRecipeManager; import crafttweaker.CraftTweakerAPI; import crafttweaker.IAction; import cr...
28.022556
148
0.738664
48ca4abc83319155e9896f504126d9ae2b005fe6
320
package com.leetcode.onlinejudge.common; /** * Created by Who on 2014/6/30. */ public class TreeLinkNode { public int val; public TreeLinkNode left, right, next; public TreeLinkNode(int x) { val = x; } @Override public String toString() { return String.valueOf(val); } }
16.842105
42
0.61875
1a57bb546ec1a7488089d35efe59e4b3b40ade92
1,182
package practice.string; import java.util.stream.Stream; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; /** * <pre> * <h1>3...
24.122449
65
0.660745
66813b3f981c0faab7625fcd645cc1900519e55c
10,616
/* * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.579805
100
0.572909
a7bb335b60b534f0179fa18b148211a8e81d2f61
2,798
// ============================================================================ // // Copyright (C) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
32.16092
107
0.549678