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
f76aa2dadb4f84b5feb0f6813b631b0059d6d8a9
2,071
package com.spring.dao; import java.math.BigInteger; import java.util.List; import org.apache.ibatis.annotations.Param; import com.spring.model.WeldingMachine; import tk.mybatis.mapper.common.Mapper; public interface WeldingMachineMapper extends Mapper<WeldingMachine>{ List<WeldingMachine> getWeldingMachineAll(@P...
27.986486
104
0.775471
d4c6768bf3b74d08f0f1e25870add3268d5c0cbd
828
package l03.impostoRenda; import java.util.Scanner; public class ImpostoRecolhido { public static void main(String[] args) { Contador c = new Contador(); Scanner input = new Scanner(System.in); int controle = 0; float impostoRecolhido = 0; System.out.print("Quantidade de funcionários: "); int funci...
23.657143
92
0.67029
1c0c9997f88401497c2b44661a38ba59045ebda3
1,925
package net.paperpixel.fk.kube; import net.paperpixel.fk.core.FKConstants; import java.awt.*; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; public enum KubeType { INACTIVE_KUBE("inactive", InactiveKube.class.getName(), FKConstants.INACTIVE_KUBE_COLOR), EFFECT_KUBE(...
31.048387
93
0.64987
141baf2eded6a1eb4bbdb1447099f1ec48f19542
416
package com.derek.mall.coupon.dao; import com.derek.mall.coupon.entity.CouponSpuCategoryRelationEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 优惠券分类关联 * * @author derek * @email derek_mcp@163.com * @date 2020-12-22 15:06:31 */ @Mapper public i...
23.111111
99
0.788462
8084522b0593b335b60a07305d51c36158b7aca0
4,995
package com.example.umang.calculator; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import static android.R.attr.value; public class MainActivity extends AppCompatActivity { String answer = ""; double two= 0, result=0; ...
23.450704
81
0.471672
19a03b24c753c857409c39c7dbc215ac9f3d0b67
9,162
package wyjc.builder; import static wyc.lang.WhileyFile.*; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import wybs.lang.NameResolver; import wyc.lang.WhileyFile; import wyc.lang.WhileyFile.Decl; import wyc.lang.WhileyFile.Expr; import wyc.lang.WhileyFile....
34.704545
123
0.699301
dd4e46dfdea86c00d172d2e0e800d746e1508ab1
16,503
package cz.destil.settleup.util; import android.content.Context; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import cz.destil.settleup.R; import cz.destil.settleup.data....
42.864935
134
0.547961
ddf990d8d71495167b1d87f6cac99795086de66c
1,873
/* * © Crown Copyright 2013 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
34.054545
110
0.802456
b422414976723f5c23ac4ff187d8edbbd04e9063
326
package pl.kania.etd.graph.drop; import lombok.Value; @Value class SimpleDoubleValue implements HasValue<SimpleDoubleValue> { double value; @Override public int compareTo(SimpleDoubleValue o) { if (o == null) { return -1; } return Double.compare(value, o.getValue()); ...
20.375
64
0.634969
d4470c5c03f37c18cf1c89c53ca47a926857e5cd
1,835
// 2 package com.oddcc.leetcode.editor.cn; import com.oddcc.leetcode.editor.cn.common.ListNode; public class AddTwoNumbers { public static void main(String[] args) { Solution solution = new AddTwoNumbers().new Solution(); // ListNode n1 = solution.addTwoNumbers(new ListNode(0), new ListNode(0)); //...
37.44898
149
0.502997
6c741bf46ac4f6c036e4b2c681d97e5d4f2b3b56
2,212
package cn.hutool.core.comparator; import cn.hutool.core.util.CharUtil; import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.StrUtil; import java.io.Serializable; import java.util.Comparator; import java.util.List; /** * 版本比较器<br> * 比较两个版本的大小<br> * 排序时版本从小到大排序,即比较时小版本在前,大版本在后<br> * 支持如...
24.853933
106
0.56736
d4b56703e693a7f8507d89ed79ab93de92666080
313
package reinmind.strategy; public class Item { String upCode; int price; public Item(String upCode, int price) { this.upCode = upCode; this.price = price; } public String getUpCode() { return upCode; } public int getPrice() { return price; } }
14.904762
43
0.571885
2ac6c88915513b6f3de81ebbb3c5b268499721f6
2,769
/* * (C) Copyright 2014-2015 Nuxeo SA (http://nuxeo.com/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
35.050633
75
0.711809
2ad2b51c5c43764ff36cd35ccc7880e179432637
195
package io.vertx.zero.marshal.reliable; interface Rules { /** **/ String REQUIRED = "required"; /** **/ String TYPED = "typed"; /** **/ String FORBIDDEN = "forbidden"; }
17.727273
39
0.558974
2219d1069f17f359fad07b04c6fb1ab2b5bc2f3f
2,384
package org.rongji.dfish.misc.pinyin; import java.util.HashMap; import java.util.Map; class KeyValuePair { KeyValuePair(char c){ key=c; } public FindResult match(char[] content, int begin, int end) { char c=content[end]; FindResult result=new FindResult(FindResult.STATE_UNMATCH,begin,end); i...
24.326531
74
0.632131
9858be4d7a5b7fff4c67084a95906eefd0f2b759
765
package com.ad.miningobserver.exception.boundary; import com.ad.miningobserver.client.AbstractClient; import com.ad.miningobserver.exception.control.ExceptionPath; import com.ad.miningobserver.exception.entity.ExceptionError; import org.springframework.stereotype.Component; /** * Client interface for the exception ...
30.6
71
0.754248
74c42d52b48dad2127867c63cb5c6a1563489628
7,088
/*--- iGeo - http://igeo.jp Copyright (c) 2002-2013 Satoru Sugihara This file is part of iGeo. iGeo is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3. iGeo is distri...
47.57047
118
0.678894
a324b21a45bd081c1604c00ba1be49dd0f6ad234
6,400
package net.remisan.base.repository; import java.util.ArrayList; import java.util.List; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import net.remisan.base.model.mock.TestMock;...
37.426901
107
0.654531
cd45fb057ff86ab73c47c2acf35bdbe64aac8fc5
975
package org.cjzheng01.inventory.reactor; import org.junit.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; public class ReactorTest { @Test public void test1() { List<String> list = n...
24.375
60
0.582564
33908251aaed13983ded8fc77e4a9b3c07d821df
2,797
package slogo.View; import java.util.List; import java.util.ResourceBundle; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.ListView; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.layout.Background; import javafx.scene.layou...
32.149425
99
0.763318
b224ced9014b454c5cd6c32a05b528740437b43d
4,905
package pl.coderslab.cls_wms_app.service.wmsSettings; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import pl.coderslab.cls_wms_app.app.SecurityUtils; import pl.coderslab.cls_wms_app.app.TimeUtils; import pl.coderslab.cls_wms_app.entity.EmailRecipients; ...
44.189189
129
0.78104
48fc0c767750d46757caf746fcc99c9e09013386
701
package com.avans.AvansMovieApp.Utilities.FetchingUtilities; import com.avans.AvansMovieApp.Model.CompactMovie; import com.avans.AvansMovieApp.Model.Review; import org.junit.Assert; import org.junit.Test; import java.util.ArrayList; public class ReviewTest { private Review review; //Arrange @Test ...
18.945946
60
0.661912
5e2391a3319c081c934e4fc9c66c1b99d3d8f4fc
6,309
/* * 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 ec.edu.espe.saturn.service; import ec.edu.espe.saturn.dao.DAOServices; import ec.edu.espe.saturn.dao.QueryParameter; ...
49.289063
92
0.563322
768d7a906fd29bdf1aaf08752f1798ce9b900abd
10,525
package com.simibubi.create.content.contraptions.components.structureMovement; import java.util.HashMap; import java.util.Map; import com.simibubi.create.AllBlocks; import com.simibubi.create.content.contraptions.components.actors.BlockBreakingMovementBehaviour; import net.minecraft.block.BlockState; import net.mine...
36.545139
109
0.752304
0ef2f940c9338d0711fcfa3d9aaa434c2c5ac547
2,586
/* * Copyright 2018-2020 adorsys GmbH & Co KG * * 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 ...
46.178571
176
0.743619
107df9893bfda0c7a7f6805a78141bdb79109faa
1,177
/******************************************************************************* * Copyright (c) 2000, 2004 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...
43.592593
205
0.686491
3810e29709664a900d379fbc01924f756611b644
2,647
package com.drk.tools.gplannercore.core.streams; import com.drk.tools.gplannercore.core.Plan; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.TimeUnit; public class PlanBuffer { private final BlockingQueue<Item> queue; private boolean is...
24.509259
78
0.55459
ffbca926f5b1377b76f65f397ddbab1e09660da2
9,927
package com.bumptech.glide; import android.content.Context; import android.graphics.Bitmap; import android.net.Uri; import com.bumptech.glide.load.model.GenericLoaderFactory; import com.bumptech.glide.load.model.ModelLoader; import com.bumptech.glide.load.model.ModelLoaderFactory; import com.bumptech.glide.load.model...
35.580645
117
0.701823
a69de1b0b3d9a076d9897aed19461d4c147ed548
553
package com.peoplepowerco.virtuoso.models.rules; import java.util.List; /** * Created by justintan on 4/22/16. */ public class PPRuleSavePropertyModel { private int id; private List<PPRuleSaveParameterModel> parameter; public int getId() { return id; } public void setId(int id) { ...
19.75
72
0.663653
2813fc33c18af9ab62d42715da1e58baeeedb3d6
1,844
/* * Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com. * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is free software: you can redistribute it and/or modify * it under the ...
34.148148
116
0.679501
2e855faa90038f127c42527d09b2c083006d3978
995
package com.qa.ims.persistence.dao; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.Before; import org.junit.Test; import com.qa.ims.persistence.domain.Items; import com.qa.ims.utils.DBUtils; public class ItemsDAOTestempty { private final ItemsDAO ...
20.306122
113
0.712563
449adad4d1f9cd19ce619ef5107b89fde0dc4ec4
2,125
/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.uccollaborationlib; import com.wilutions.com.*; /** * ChannelState. * Enumerates the media channel states. */ @SuppressWarnings("all") @CoInterface(guid="{00000000-0000-0000-0000-000000000000}") public class ChannelState { static ...
40.865385
94
0.751529
eef7c268f64aef6bc896206a7c316d17c275b19d
1,587
package Shape.Shape2D; import Color.ColorRGB; import Interface.ICalculable; import Shape.Point2D; import Shape.Shape; import java.util.ArrayList; public abstract class Shape2D extends Shape implements ICalculable<Shape2D> { protected ArrayList<Point2D> points; public Shape2D(ArrayList<Point2D> p, String n) ...
22.671429
77
0.565217
f1cfa31224783f336efb34552e4b38d542d925d4
8,633
package net.elodina.mesos.util; import com.sun.net.httpserver.Headers; import com.sun.net.httpserver.HttpExchange; import org.junit.Test; import java.io.*; import java.net.InetSocketAddress; import java.net.URI; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Arrays; import java.util.Col...
32.700758
112
0.57257
46854e8373c8301ff375d581eca69cee72140b55
3,094
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
27.873874
79
0.644473
ecccd5299eefef24186aa6fc235af57d73987fe1
1,464
package bilokhado.linkcollector.converter; import javax.faces.application.FacesMessage; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.convert.Converter; import javax.faces.convert.ConverterException; import javax.faces.convert.FacesConverter; import bilokhado.li...
29.28
108
0.75888
b6defa8bc368df9a1d5a289e7ff48e112559579a
9,453
package com.linkedin.metadata.boot.steps; import com.linkedin.common.AuditStamp; import com.linkedin.common.urn.Urn; import com.linkedin.data.DataMap; import com.linkedin.data.template.RecordTemplate; import com.linkedin.entity.EntityResponse; import com.linkedin.entity.EnvelopedAspectMap; import com.linkedin.events.m...
41.279476
144
0.749074
86f306a790b394ed0d37e98ec01f44947cca548c
1,030
/* * Copyright 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech) * * 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 ...
33.225806
81
0.748544
3c190a94bac5e94ac23d46053430159cf0835397
2,843
/******************************************************************************* * Copyright (c) 2012 IBM Corporation. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v. 1.0 which accompa...
37.407895
118
0.723531
25dff7c4794c8192893c06a7e5bc529e27968df0
3,731
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.content.browser.accessibility.captioning; import android.content.Context; import android.view.accessibility.CaptioningManager; impo...
35.533333
96
0.733047
32afecd6b7dda6b715e7bf95549dbaecc9d1b58d
1,616
package com.morrisware.flutter.net; import android.content.Context; import com.morrisware.flutter.net.request.FileRequest; import java.io.File; /** * @author mmw * @date 2020/3/20 **/ public class FileDownloader { public static final int STATUS_PENDING = 1; public static final int STATUS_RUNNING = 1 << ...
34.382979
123
0.73453
4d7f08d6a5d95b8de17f2df64c44212c3a357c37
56,689
package bsearch.app ; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.even...
40.091231
229
0.722433
bb38d9c410f9772f8476efc9f4f42f07a8690c3e
2,058
package org.smartregister.chw.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.json.JSONObject; import org.smartregister.chw.core.custom_views.NavigationMenu; import org.smart...
46.772727
159
0.806608
7fa1fb97e0a4a42240e20fd73b3cb12889769ed9
2,146
package io.github.thatsmusic99.headsplus.config.headsx.icons; import io.github.thatsmusic99.headsplus.HeadsPlus; import io.github.thatsmusic99.headsplus.commands.maincommand.DebugPrint; import io.github.thatsmusic99.headsplus.config.headsx.Icon; import io.github.thatsmusic99.headsplus.util.InventoryManager; import org...
25.855422
115
0.647251
bf9da9fb683358cb996dfa4494a9e045b0c381dc
3,054
package gnat.filter.nei; import gnat.alignment.Alignment; import gnat.filter.Filter; import gnat.representation.Context; import gnat.representation.Gene; import gnat.representation.GeneRepository; import gnat.representation.IdentificationStatus; import gnat.representation.RecognizedEntity; import gnat.representation.T...
34.314607
130
0.759332
2ed125b37090b1d1428071166a4260fd3f823884
3,675
package lk.my.sliit.it18106398.foodapp; import android.os.Bundle; import android.util.Log; import android.widget.Toast; import android.widget.Toolbar; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerv...
37.886598
101
0.666395
d3e19e7331e4f0586b28fc5b56a34ad858236c5b
1,878
package uk.org.webcompere.modelassert.json.condition.tree; import uk.org.webcompere.modelassert.json.PathWildCard; import java.util.List; import java.util.regex.Pattern; public interface PathMatcher { /** * Does this path matcher prevent a match, or do any of its successors prevent a match * @param lo...
32.947368
90
0.646432
ca6c6bd86ee5351633930d8d23ec06ba44dfd223
790
package kotlin.contracts; import kotlin.Metadata; import kotlin.Unit; import kotlin.jvm.functions.Function1; @Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0016\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u001a\"\u0010\u0000\u001a\u00020\u00012\u0017\u0010\u0002\u...
60.769231
498
0.743038
9d945fd6a293f204ed53478f6ac50d6c8b5c43a4
594
package co.team.reservation.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import co.team.reservation.service.ReservationService; import co.team.reservation.service.ReservationVO; @Service public class ReservationImp...
19.8
62
0.794613
c418d6ee6a329543acbbc9989c2c02a45ac076e5
1,092
package smpl.ordering; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * Helper class for getting data out of the 'application.properties' file found on the * class path. */ public class PropertyHelper { public static Properties get...
22.285714
111
0.637363
1da2d09482f53788443a3f9efa32e97a456f92c0
7,223
package net.minecraft.entity.monster; import net.minecraft.entity.player.*; import net.minecraft.pathfinding.*; import net.minecraft.util.*; import net.minecraft.block.*; import net.minecraft.item.*; import net.minecraft.init.*; import net.minecraft.potion.*; import net.minecraft.world.*; import net.minecraft.entity.*...
33.439815
158
0.622594
1e7e23cc709f3f96764bbd9fdf05b922f19869d5
1,435
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.recognizers.datatypes.timex.expression; import java.util.ArrayList; import java.util.List; public class Resolution { private List<Entry> values; public List<Entry> getValues() { retu...
19.930556
61
0.554007
2ee59721c8e7a9c9655241bb97a1277c2152863c
5,363
// Copyright 2014 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 applicable ...
35.052288
98
0.70166
e6fc7832accc20e43d7d57dba44a9df095636a0b
2,574
/* * Copyright 2020 S. Webber * * 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...
33
105
0.658897
1446f60597465fd504add22cd978703bdcea5f0e
21,430
/* * 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.801262
117
0.50532
f35eb53460d7d956b753fd76d94345312a24b9d4
6,224
package com.arun.admin; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import javax.annotation.Resource; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet...
23.486792
120
0.654081
77937eb8a096e92f57bd5a1a3dc4b6a2e9272e97
1,253
package db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.database.sqlite.SQLiteDatabase.CursorFactory; public class MyWeatherDBHelper extends SQLiteOpenHelper { private static final String CREATE_T_PROVINCE = "create t...
27.844444
92
0.741421
ac70376150b4bd0d50c158027cc23c0ee306f823
549
package com.ilsid.poc.uidiscovery.microservice_a.main; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; /** * * @author illia.sydorovych * */ @Sp...
27.45
93
0.817851
2ea3ffb40dd9dcc1705b669bbeef68ad099d24cb
6,411
package com.hitomi.tilibrary.transfer; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os.Build; import android.support.v7.app.AlertDialog; import android.view.KeyEvent; import com.hitomi.tilibrary.loader.ImageLoader; import com.hitomi.tilibrary.loader...
26.7125
95
0.623304
6e73c62cb77f7117bea728a7a3a9cdf29d3b18bf
2,745
package com.burakgomec.wordreminder.Adapters; import android.annotation.SuppressLint; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import...
34.746835
101
0.732605
b50e7254681f584db50f98f320cee14bbb41d244
3,329
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the project root. /* * Copyright 2000-2009 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 obt...
45.60274
159
0.71553
de5f5fbe7acd59e7e47c0ab9065635ac4e33e4ac
1,533
package cn.nekocode.tachie.sample; import android.content.Context; import android.graphics.Bitmap; import android.support.v8.renderscript.Allocation; import android.support.v8.renderscript.RenderScript; import cn.nekocode.rs.ScriptC_Tachie; /** * Created by nekocode on 16/8/3. */ public final class TachieRenderScr...
30.66
92
0.696021
6c9affb83b65756e82a0c7a3c672b54d416a3770
1,929
package pg.gipter.toolkit.sharepoint.soap; import org.w3c.dom.*; import javax.xml.parsers.*; import java.util.Map; class BatchElement { private final Map<String, String> attributes; BatchElement(Map<String, String> attributes) { this.attributes = attributes; } Element create() { tr...
36.396226
90
0.627786
dbc138e24da354fd96c4f7397696435308f35391
1,639
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedHashSet; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Linked...
26.015873
86
0.546065
08d0b976ebacaf163e52c78bbb318ce877a88403
1,486
package net.sourceforge.marathon.component.jide; import java.awt.Component; import java.awt.Point; import java.awt.event.MouseEvent; import org.json.JSONArray; import com.jidesoft.swing.JideSplitPane; import net.sourceforge.marathon.component.RComponent; import net.sourceforge.marathon.javarecorder.IJSONRecorder; i...
30.326531
116
0.727456
00422c80830a1454c4f3f9101e526dd4cb071ed1
15,137
package bio.terra.cli.businessobject; import bio.terra.cli.exception.SystemException; import bio.terra.cli.serialization.persisted.PDUser; import bio.terra.cli.service.GoogleOauth; import bio.terra.cli.service.SamService; import bio.terra.cli.service.utils.HttpUtils; import bio.terra.cli.utils.FileUtils; import bio.te...
38.912596
210
0.704565
70cdedaee12a88839cdca1956ca2667067812997
1,799
package org.tbd.TextAdventureCreator; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import ilusr.textadventurecreator.statusbars.ProjectStatusService; import ilusr.textadventurecreator.statusbars.StatusItem; public class ProjectStatusServiceUnitTest { private ProjectStatusServi...
20.678161
66
0.715397
98bfbe7d2bafadf2617348bf5eba860ef1d5b096
9,043
/* * Author: Gergely Zahoranszky-Kohalmi, PhD * * Organization: National Center for Advancing Translational Sciences * * Email: zahoranszkykog2@mail.nih.gov * */ package gov.nih.ncats.smrtgraph4j; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io....
26.519062
312
0.627004
7247b034c6a6085415d613ef08226174043f0dfa
4,905
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
43.40708
136
0.734557
a04f08345fa1fc599137175fc7271ad180ed4a32
1,709
package com.katacoda.solver.subcommands; import com.katacoda.solver.models.Configuration; import com.katacoda.solver.models.Hints; import com.katacoda.solver.models.Verifications; import org.jboss.logging.Logger; import picocli.CommandLine.Command; import picocli.CommandLine.Model.CommandSpec; import picocli.CommandLi...
29.982456
155
0.684611
9f7a29eb717e1f3ca1475d9cc4ca34c2c86f98a8
607
/* * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.awt; /** * Listener interface so Java Plug-in can be notified * of changes in AWT modali...
14.116279
79
0.62603
23bf44a1af0bb85bf79e58b0e1cb8ad5d791ab50
3,695
/* * #%L * BroadleafCommerce Profile * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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...
26.775362
89
0.74046
0a6353866bbd6280a16bc8b68512ed7458d368a9
1,121
package co.edu.unbosque.back_cadena_lagenerica.sale_details; import java.io.IOException; import org.springframework.boot.jackson.JsonComponent; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com...
36.16129
92
0.818912
a3d018ae959ecfcdfb9b9e81e7a893cdaee0e407
15,535
/* * Entry.java * Copyright (C) 2010 RWTH Aachen University, Germany * @author Sanchez Villaamil (moa@cs.rwth-aachen.de) * * 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 ...
33.552916
120
0.622337
1e5b9334167a4b5bb842a14c27dfd5b3e83720f4
817
package org.wanglilong.ccm.po; import java.util.Date; public class Transaction extends BasePO{ private String id; private String creditCardId; private Integer amount; private Date time; private String merchant; public String getId() { return id; } public void setId(String id) { this.id = id; } public...
17.76087
51
0.71481
f76c413ed59285f0f20d3b574accb22a033aca56
1,151
package com.ampota.shared.client; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springfram...
37.129032
108
0.779322
33126606699bf6bf1fb9ee9a00124d787d2bf062
2,179
package de.gecko.medicats.claml; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElementRef; i...
29.445946
112
0.726939
f023f90b25059f3223afd033c1190fc6c45f5ac7
1,188
package be.aga.dominionSimulator.cards; import be.aga.dominionSimulator.DomCard; import be.aga.dominionSimulator.DomPlayer; import be.aga.dominionSimulator.enums.DomCardName; public class TravellerCard extends DomCard { DomCardName myUpgrade; public TravellerCard(DomCardName domCardName) { super( domCa...
38.322581
178
0.660774
e960ff0cdff1f4b1f96944335aede1a81cb6d18c
1,994
package org.embulk.output.jdbc; import java.sql.Timestamp; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import org.embulk.output.jdbc.TimestampFormat; import org.junit.Test; import static org.junit.Assert.assertEquals; public class TimestampFormatTest { @Test p...
33.233333
93
0.598295
b1dfde084b6d443b7cd7002f01378f26ba454737
205
package org.ernest.applications.trampoline.utils; public class SanitizeActuatorPrefix { public static String clean(String actuatorPrefix){ return actuatorPrefix.replaceFirst("^/",""); } }
25.625
54
0.736585
7f2deb9fb9b33c67ca537b00cd89e3809e53113c
1,431
package de.trho.rpi.examples; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import com.pi4j.io.gpio.Pin; import com.pi4j.wiringpi.Gpio; import de.trho.rpi.core.AbstractAppModule; public class PinTestModule extends AbstractAppModule { private final L...
26.5
100
0.60587
be10c972be093c1743f4e0b798246a90c640d2e4
368
package org.firstinspires.ftc.teamcode.Hardware; import com.qualcomm.robotcore.eventloop.opmode.OpMode; public class RobotTeleOpExample extends OpMode { Robot bsgbot = new Robot(); @Override public void init() { bsgbot.initRobot(hardwareMap); } @Override public void loop() {...
18.4
54
0.665761
5e77911a8364cf2209ef801db74654ec2764857c
845
package com.zhishiquan.openapi.urls; import com.zhishiquan.openapi.common.URLConstants; /** * 训练营接口url * @author jl */ public final class TeamUrl extends AbstractBaseUrl { private TeamUrl(String name, String url) { super(name, url); } /** * 团队成员列表 */ public static TeamUrl users(...
22.837838
83
0.604734
1046020cdd9f3e5ba0ba0789c5f3b5c669921556
5,488
/* * 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 ...
37.333333
109
0.729956
d199ee783003eff33ae55bfdc5913aa93a1fce7c
1,204
package globant.appFarmer.models.request; import javax.validation.constraints.Digits; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Positive; import java.math.BigDecimal; public class BoxEggRequest { @NotNull(message = "color is req...
20.40678
103
0.658638
ae9cb4e92794b76e5b0045d8e0084f3ac3032ed9
2,993
package bead01; public class Parser { private enum Rule { S, S2, l0, T1, T2, T3, T4, T5 } private static Tokenizer t; private static Rule currentRule; private static boolean isSigned; // S -> S' | sS' private static void S(Terminal input) { if (input == Terminal.s) { isSigned = true; } current...
18.25
66
0.605747
f5989763680245655d977ab2271e01564e979395
409
package com.ctrip.framework.apollo.portal.spi.defaultimpl; import com.ctrip.framework.apollo.core.enums.Env; import com.ctrip.framework.apollo.portal.entity.bo.ReleaseHistoryBO; import com.ctrip.framework.apollo.portal.spi.MQService; public class DefaultMQService implements MQService { @Override public void ...
27.266667
74
0.782396
90b250c40c3931bdb0827d27bbf6f9fd299f84c8
4,127
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.hybrid.appservice.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; impor...
25.79375
95
0.63654
99fdc51206c0fb389ba810fc07739d81fac49101
8,043
/* * 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.65272
117
0.680343
4cc51daece880b1c31696726adec7f6add03d462
1,736
package at.technikumwien.hashtable.command; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardOpenOption; import java.util.Scanner; import at.technikumwien.hashtable.GsonHashtableWrapper; import at.technikumwien.hashtable.Hashtable; import at.technikumwien...
35.428571
135
0.576037
13ff82db6b2e1f6c0dd091f648c90b80f1a7ade9
327
package com.github.design.component; /** * 组合模式抽象根节点 */ public interface IStaff { /** * 枝干节点获取子节点的方法 */ IStaff getChild(int index); /** * 枝干节点增加子节点的方法 */ void addChild(IStaff child); /** * 枝干节点移除子节点的方法 */ void removeChild(IStaff child); /** * 组和对象共有的行为方法 */ void informatio...
11.678571
36
0.593272
467aa66a610dc2a55399612e34f906918edc98f0
1,386
package com.deer.wms.produce.manage.model; /** * @Author: hy * @Date: 2019/7/21 18:08 * @Version 1.0 * * 物料基础信息,集成库存、公司、供应商、单位等信息 * */ public class MaterialsInfoDto extends MaterialsInfo{ private String positionName; private Float quantity; private String companyName; private String unitName; ...
20.086957
54
0.649351
4ebeb37d8756a1514a0240f60e7f06b4468b697c
7,759
// SPDX-License-Identifier: Apache-2.0 // Copyright Contributors to the OpenTimelineIO Project. package io.opentimeline.opentimelineio; import io.opentimeline.OTIONative; import io.opentimeline.OTIOObject; import java.util.*; import java.util.function.BiConsumer; import java.util.stream.Collectors; /** * AnyDictio...
26.66323
111
0.571465
85187267a6da3875f3da78b750d9cfa7269d021b
2,307
package api.util; /** * The Class Sextuple. * * @param <A> * the generic type * @param <B> * the generic type * @param <C> * the generic type * @param <D> * the generic type * @param <E> * the element type * @param <F> * the generic type...
12.271277
61
0.416558
0954d6ed104491b39c63483b1f32b9997e7900b1
3,519
package util.bfs; import java.util.Collection; import java.util.Objects; import java.util.Set; import java.util.function.BiFunction; import java.util.function.Function; import java.util.function.Predicate; import com.google.common.collect.Sets; public class BFS { /** * Applies a BFS search to the given Sta...
32.88785
148
0.608127
2c3abe0144195c24c90655052eb73d04cab08820
1,477
/* * Copyright 2006-2021 Marcel Baumann * * 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 ...
37.871795
156
0.717671
6665943f604635810deed312dc72a9b230130b71
338
package com.peng.commonlib.ui.base; /** * create by Mr.Q on 2019/3/11. * 类介绍: * 1、全局的终止操作 * 2、弹出终止对话框,回退到登录界面 */ public interface OnTerminalAction { /** * 账号认证失败,可能是因为 token 失效了 * @param msg */ void showUnauthorized(String msg); /** * 账户不可用 */ void showInvalidA...
15.363636
38
0.576923
deefd4d9d19b396b048384087fdc688a5acfd7b7
786
package kr.co.popone.fitts.feature.store.bookmark; import kotlin.jvm.functions.Function0; import kotlin.jvm.internal.Lambda; import kr.co.popone.fitts.ui.decorator.FirstItemMarginDecorator; import kr.co.popone.fitts.ui.decorator.FirstItemMarginDecorator.Builder; import org.jetbrains.annotations.NotNull; final...
37.428571
109
0.754453
3677a158bd742d9e7c5f17990e7f2d83e5b6cb98
1,819
/* * Copyright (c) 2020 Vikash Madhow */ package ma.vi.esql.parser.expression; import ma.vi.esql.parser.Context; import java.util.Map; import static ma.vi.base.string.Escape.escapeJsonString; import static ma.vi.esql.parser.Translatable.Target.JSON; /** * Logical or operator in ESQL. * * @author Vikash Madhow...
25.985714
126
0.583288
1625fc2b456591244ea07abc66a6060497d4001f
3,216
package io.basestar.graphql.transform; import io.basestar.graphql.GraphQLStrategy; import io.basestar.graphql.GraphQLUtils; import io.basestar.schema.InstanceSchema; import io.basestar.schema.use.*; import lombok.RequiredArgsConstructor; import java.util.Collection; import java.util.HashMap; import java.util.Map; imp...
34.956522
110
0.493781