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
aff72d6108759c8955d9b44ceaa9f2efb39605d2
706
package ExampleWithoutClient; import com.xendit.exception.XenditException; import com.xendit.model.CreditCardCharge; import com.xendit.Xendit; import com.xendit.model.CreditCard; public class ExampleCreateChargeCard { public static void main(String[] args) { //access key with Option Xendit.Opt.setApiKey("xn...
29.416667
133
0.716714
63a952f8ee903a190cffae2894bf2e50e61e3830
5,901
/** * Copyright © 2017 The Thingsboard 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
45.744186
161
0.658532
c44b4e81069bd36c0b02eb3a2bb7b16d52a56e37
2,643
/* * JIPS - JIPS Image Processing Software * Copyright (C) 2006 - 2017 Markus Karnik (markus.karnik@gmail.com) * * This file is licensed to you under the MIT license. * See the LICENSE file in the project root for more information. * */ package de.karnik.jips.gui.frames.internal; import de.karnik.jips.common....
30.37931
85
0.677639
d75de15f68f48a1220a994f55db27c7d55e92db3
10,931
package io.sourceforge.uniqueoid.gui; import io.sourceforge.uniqueoid.ResourcesProvider; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.Hyperlink; import javafx.scene.control.Label; import javafx.sc...
35.722222
116
0.583204
58beaebf3c0d1a2803f3111cac199978fdfa97fd
5,295
// // WindowEqualizerCustom.java is distributed under the FreeBSD License // // Copyright (c) 2012, Carlos Rafael Gimenes das Neves // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Red...
34.835526
116
0.726534
4b19361219ae78baee980bcba9d184aaa364082f
562
package org.jeecg.modules.demo.product.service.impl; import org.jeecg.modules.demo.product.entity.Product; import org.jeecg.modules.demo.product.mapper.ProductMapper; import org.jeecg.modules.demo.product.service.IProductService; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.extension...
28.1
104
0.797153
14d9d7746fdf5800960d7d2e88e05d411103a8cd
5,758
/* * Copyright 2021 KasukuSakura * * 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...
37.38961
85
0.508336
667ab1d4ca3f76485352d29ad409336e5597f0d6
263
package br.com.fiap.selfcare.repository; import org.springframework.data.jpa.repository.JpaRepository; import br.com.fiap.selfcare.model.User; public interface UserRepository extends JpaRepository<User, Long> { public Long countById(Long id); }
21.916667
68
0.768061
4fa4ef10e783b7d6ee4b672990ca0977d33e920b
951
// Part of FingerprintIO: https://fingerprintio.machinezoo.com package com.machinezoo.fingerprintio.ansi378v2009; /** * Finger position on hands (<a href="https://templates.machinezoo.com/ansi378-2009#position">POSITION</a>). */ public enum Ansi378v2009Position { /** * Unknown position (code 0). */ UNKNOWN, /...
17.943396
108
0.626709
01311dcaa90c0bc7384f415ebb4f3dc9e1f3a5e8
333
package com.x.cms.assemble.control.jaxrs.log; import com.x.base.core.bean.BeanCopyTools; import com.x.base.core.bean.BeanCopyToolsBuilder; import com.x.cms.core.entity.Log; public class ExcuteBase { BeanCopyTools<Log, WrapOutLog> copier = BeanCopyToolsBuilder.create(Log.class, WrapOutLog.class, null, WrapOutLog.Ex...
27.75
125
0.792793
cee3e37e11f73eb67175fef7098fff1a47ec2a3d
904
package com.udacity.gradle.builditbigger.data; import android.support.test.filters.LargeTest; import android.support.test.runner.AndroidJUnit4; import org.junit.runner.RunWith; import java.util.concurrent.CountDownLatch; import static junit.framework.Assert.assertNotNull; @RunWith(AndroidJUnit4.class) @LargeTest p...
28.25
96
0.706858
51e333b4a1d3cce0201ff5e20662393623edfa53
1,558
package com.alan344.utils; public class StringUtils { /** * 检查对象是否为空 * * @param str 字符串 * @return true or false */ public static boolean isBlank(String str) { return (str == null || "".equals(str) || "".equals(str.trim())); } /** * 如果为空则获取默认值 * * @param...
25.129032
83
0.526316
73ecd8fb27898ba8b146fe5b76b26e7afc0b3b71
626
package org.privatechat.user.strategies; import org.privatechat.user.models.User; import org.privatechat.user.repositories.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class UserRetrievalByIdStrategy implements IUserRetri...
28.454545
80
0.821086
ef07a9b9cf9b2c579af3dbd4e5f8e32f02d7653f
1,890
package org.scavino.converters; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.camel.Converter; import org.apache.camel.TypeConverters; import org.scavino.model.Book; import org.scavino.model.OrderConfirmation; import org.springframework...
28.636364
81
0.678836
d588e5bcb48e6aeaf0aa33c1b46fd400996bd702
1,879
/* 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 no...
34.796296
103
0.739223
9723e71872770629383f2d2bf76ad31df0bb6220
5,472
/** * <copyright> </copyright> * * $Id$ */ package org.talend.core.model.metadata.builder.connection.provider; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.edit.provider.Composeab...
37.22449
127
0.679642
1af53105233d297555899c1eb6948545e6824c24
4,384
package panda.service; import org.modelmapper.ModelMapper; import panda.domain.entities.Package; import panda.domain.entities.Receipt; import panda.domain.entities.User; import panda.domain.models.service.PackageServiceModel; import panda.domain.models.service.ReceiptServiceModel; import panda.repository.interfaces.Re...
31.539568
81
0.648723
d5f1964022992e7ac7504fdb5d169e0068589485
443
package riotapi.staticdata.item; public class GroupDto { private String MaxGroupOwnable; private String key; public String get_MaxGroupOwnable() { return MaxGroupOwnable; } public void set_MaxGroupOwnable(String MaxGroupOwnable) { this.MaxGroupOwnable = MaxGroupOwnable; } ...
20.136364
61
0.656885
213abed79858a577c1982b710267a7f38a459aa5
2,113
/* * 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 not ...
35.216667
100
0.706578
d90ab23f76148106c532f8bc59ece565719ca256
44,419
package no.nav.foreldrepenger.regler.uttak.fastsetteperiode; import static no.nav.foreldrepenger.regler.uttak.fastsetteperiode.TapendeSakOrkestreringTest.annenpartsPeriode; import static no.nav.foreldrepenger.regler.uttak.fastsetteperiode.grunnlag.PeriodeMedAvklartMorsAktivitet.Resultat.I_AKTIVITET; import static no.n...
66.297015
142
0.677435
624b641f1964ed0b4e0785ada79b46ab8551742e
2,999
package mage.cards.s; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility; import mage.abilities.effects.AsThoughEffectImpl; import mage.abilities.keyword.DeathtouchAbility; import mage.abilities.keyword.PartnerAbility; imp...
33.322222
158
0.714905
5360356d75efe86ba9ba0597589e208929c57dfe
477
package br.com.cyop.enumerator; import br.com.cyop.version.Version; import br.com.cyop.version.VersionService; import io.yawp.repository.Feature; import java.util.List; public class EnumeratorService extends Feature { public Enumerator createInstance(String versionUrl, String enumeratorName, List<String> values) {...
29.8125
98
0.805031
bc44645ff0bff1797341841655e8907777c9d8de
8,070
package com.lee.ultrascan; public final class R$string { public static final int abc_action_bar_home_description = 2131296256; public static final int abc_action_bar_home_description_format = 2131296257; public static final int abc_action_bar_home_subtitle_description_format = 2131296258; public static...
65.609756
89
0.808055
2fb3b0e9e813d186cd27290ab7849878e7243623
1,726
package com.mark.common.kafka; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.kafka.clients.consumer.ConsumerRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.kafka.listener.LoggingErrorHandl...
40.139535
122
0.658169
6bc3fb0b17d9921161edc9f16f5c9d744cb8eb03
130
version https://git-lfs.github.com/spec/v1 oid sha256:f2add3625764f0554527f8e96fc159383c84cb26129e1f97f4dbf5ceaefde381 size 19291
32.5
75
0.884615
1e9564ef91e222aac90dc1e7846ac838d9cdeaea
3,064
package br.com.zup.apicartaobrancoproposta.controller; import java.net.URI; import java.util.Arrays; import java.util.Optional; import javax.validation.Valid; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMa...
38.78481
153
0.805809
c3a3973b5cf7be81c80d33ef3ee7e4ded81b1498
363
package com.bingo; import com.bingo.bean.User; import com.bingo.service.DBServiceDemo; import java.sql.SQLException; public class Main { public static void main(String []args) throws SQLException, ClassNotFoundException { User user = new User("1",1,"1","1","1","1","1","1","1","1","1"); ...
25.928571
89
0.644628
6339477f0b1c2dbe046dbb29ed47ab147e0938fd
1,114
import java.util.Scanner; /** * @author 柯凯元 * @create 2021/5/31 17:51 */ /* * 小练习,修改密码 * */ public class Administrator { String loginName = "admin"; String password = "123"; public void introduce(){ System.out.println("用户名:"+loginName); System.out.println("密码:"+password); } ...
23.208333
76
0.52693
6c111ff0131d104cc47295d05074318a74592f6c
8,963
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.deploy; import com.yahoo.component.Version; import com.yahoo.config.application.api.DeployLogger; import com.yahoo.config.provision.ApplicationId; import com.yaho...
48.711957
143
0.688162
00fa3a0e89be0fdc1fb3f7ec3e0be53775ee0699
2,544
package mekanism.api.chemical; import java.util.Optional; import java.util.Set; import java.util.function.Supplier; import mekanism.api.MekanismAPI; import mekanism.api.chemical.gas.Gas; import mekanism.api.chemical.infuse.InfuseType; import mekanism.api.chemical.pigment.Pigment; import mekanism.api.chemical.slurry.Sl...
44.631579
169
0.750393
dcef111cc54b2889940d4502a29dc396ed6f8b5b
2,421
package models; import play.data.format.Formats; import play.data.validation.Constraints; import javax.persistence.*; import java.util.Date; /** * Created by mads on 3/12/16. */ @Entity public class Comentario { @Id @GeneratedValue(strategy=GenerationType.AUTO) public Integer id; @Constraints.Requi...
29.52439
109
0.599752
2c0eba83f81f2c7a77a3912e4b09e9a3a5e48980
180
package com.rafalj.crawler.service.impl; import java.util.Set; import org.jsoup.nodes.Element; public interface ElementFetcher { Set<String> fetchElements(Element element); }
18
45
0.788889
6f435fc1078ba3622924504f858d7c2593e80341
2,492
/* * Copyright (C) 2018 Joumen Harzli * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
34.136986
136
0.769262
fd47c4636c9820a4a79acc8c6661b05b5a27e809
11,184
package it.unibz.inf.ontop.iq.tools.impl; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import com.google.common.hash.Hashing; import it.unibz.inf.ontop.dbschema.*; import it.unibz.inf...
47.189873
153
0.653076
331a59febc253e48d75f58f126d99eb767d6fe78
12,607
/* * Copyright (c) 2019-2020 VMware, Inc. * SPDX-License-Identifier: BSD-2-Clause */ package com.rad2.apps.nfv.ctrl; import akka.actor.ActorRef; import akka.actor.ActorSelection; import com.fasterxml.jackson.annotation.JsonProperty; import com.rad2.apps.nfv.akka.NetworkSliceWorker; import com.rad2.apps.nfv.akka.Pr...
27.768722
110
0.595463
bb965b578ac18cccf3356f2bf8fcc47634ece570
3,645
package com.fhr.icoweb.utils; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import org.springframework.web.multipart.MultipartFile; /** * 文件操作辅助类 * */ public class SimpleFileUtil { //创建目录 public static void mkDir(String path) { File file = new ...
23.516129
110
0.649383
c2fd8fcbb816680aa43d5ce7ce0814d34016ffcc
1,191
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002, 2013 Oracle and/or its affiliates. All rights reserved. * */ package com.sleepycat.persist.impl; import com.sleepycat.persist.raw.RawObject; import java.util.IdentityHashMap; /** * Extends RawAbstractInput to convert complex (C...
25.340426
79
0.63644
34af0a607282c571743c1b4d3f753e17d040d6b9
2,074
package com.Shop.Dao; import com.Shop.Model.Area; import org.hibernate.Session; import java.util.List; /** * Created by Administrator on 2016/4/15 0015. */ public class AreaDao extends BaseDao implements IGeneralDao<Area> { @Override public Area findById(int id) { return super.hibernateTemplate.get...
24.4
93
0.628255
4f7d5bec38208225dc1cd25c82284ff3cbb28fd1
799
package com.ruoyi.blog.service; import com.ruoyi.blog.domain.Metas; import java.util.List; /** * 项目 服务层 * * @author lw * @date 2018-12-14 */ public interface IMetasService { /** * 查询项目信息 * * @param mid 项目ID * @return 项目信息 */ public Metas selectMetasById(Integer mid); /** * 查...
14.527273
49
0.546934
5c7b808e17d52629366a9dbd75ccbf255424a3e5
1,427
package hitool.core.format; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.text.SimpleDateFormat; import java.util.Date; import hitool.core.format.annotations.Formater; public class FormatHandler { private static Format format = null; public static <T> void format(T entity) t...
27.980392
111
0.693062
52e3994087125c5efc1780e1e1867c3a1624bf07
3,216
package info.u_team.music_player.gui; import static info.u_team.music_player.init.MusicPlayerLocalization.GUI_CREATE_PLAYLIST_ADD_LIST; import static info.u_team.music_player.init.MusicPlayerLocalization.GUI_CREATE_PLAYLIST_INSERT_NAME; import static info.u_team.music_player.init.MusicPlayerLocalization.getTranslation...
35.733333
128
0.789801
5be74e8e765da9d8ddbebea01177be7c6275c61c
79,918
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 license...
15.036312
814
0.792462
9d5a5e95d74a422fd5b1d08dfd77ad29273ed383
10,471
package eu.modernmt.decoder.neural.queue; import com.google.gson.*; import eu.modernmt.decoder.DecoderException; import eu.modernmt.decoder.DecoderUnavailableException; import eu.modernmt.io.TokensOutputStream; import eu.modernmt.lang.LanguageDirection; import eu.modernmt.memory.ScoreEntry; import eu.modernmt.model.Al...
35.615646
148
0.619521
c9bfed1ac996bbeccdf4c57c8b9fb513c9e3f451
938
package com.github.speedrunshowdown.listeners; import com.github.speedrunshowdown.SpeedrunShowdown; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerAdvancementDoneEvent; public class DragonKillListener implements Listener { private SpeedrunShowdown plu...
32.344828
90
0.636461
381a4bb76ad12f61aeb02efb30d927637234520d
498
package model; import java.util.HashSet; import java.util.Set; //represents a grid square on the map public class Location { public static enum Type {HOUSE,WORK,PUBLIC,EMPTY}; public int x; public int y; public Type type; public Building building; //which building is this location a part of public Set<Pe...
19.153846
74
0.704819
9de0448af23ea0382aa6e95f8801caf4b475ce0c
3,501
package com.pecaja.app.pecajamobile.models; import java.io.Serializable; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Produto implements Serializable { private final static long serialVersionUID = -5575774130302786277L; @SerializedName("id") ...
23.18543
157
0.590117
0c5866c529d0d33f447ef75be001fcfcf6c79dd1
4,532
package php.runtime.ext.support; import php.runtime.Information; import php.runtime.common.collections.map.HashedMap; import php.runtime.env.CompileScope; import php.runtime.env.Environment; import php.runtime.exceptions.CriticalException; import php.runtime.ext.java.JavaException; import php.runtime.ext.support.compi...
33.323529
121
0.680053
e4fccb74ffa4c4c149f44d35bf24b12004334aa4
1,281
package me.coley.cafedude.classfile.annotation; import java.util.Set; import java.util.TreeSet; /** * Nested annotation element value. * * @author Matt Coley */ public class AnnotationElementValue extends ElementValue { private Annotation annotation; /** * @param tag * ASCII tag representation, must be {...
20.015625
84
0.686183
0330f5fef353ac04cdc1dfbb685088fd32409420
3,475
/* Copyright (c) 2018 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 to...
31.880734
107
0.770935
38cef6e4bb4108e60d0062a81641bff6143a5998
7,275
package banditopazzo.imu_tracker.tracking.trackingBoard; import android.content.Context; import android.graphics.*; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceView; import banditopazzo.imu_tracker.R; import banditopazzo.imu_tracker.tracking.accelerometer.UpgradableSurface; i...
29.815574
98
0.539381
82d9594224f612772aafac7c3f354cc38a8c47a4
1,724
package com.maxqiu.demo.normal; import java.util.HashSet; /** * 只出现一次的数字 * * https://leetcode-cn.com/problems/single-number/ * * @author Max_Qiu */ public class Issue0126 { public static void main(String[] args) { System.out.println(singleNumber1(new int[] {2, 2, 1})); System.out.println(s...
22.684211
69
0.426914
d75795a5cbaa8ca9f490e07545496984ce0cb7a8
3,502
package com.bluewind.boot.common.utils; import com.bluewind.boot.module.sys.sysbasedict.mapper.SysBaseDictMapper; import com.bluewind.boot.common.utils.spring.SpringUtil; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import org.apache.commons.lang3.StringUtils...
28.942149
94
0.577384
3c1dcde6523e883adf7095dd0c0ebf4f991c7b83
1,906
class Solution { Map<String,Boolean> map = new HashMap<>(); public boolean isScramble(String s1, String s2) { if (s1.equals(s2)) return true; if (s1.length() != s2.length()) return false; String key = s1 + "-" + s2; // pruning, otherw...
32.305085
109
0.47639
45b056325785bb5db6e8d9c2bb3c779b24c19115
4,332
package com.spring.college.controller; import java.text.SimpleDateFormat; import java.util.Date; import javax.servlet.http.HttpSession; import javax.validation.Valid; import org.jboss.logging.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.propertyedi...
37.669565
118
0.767313
3a38acd1c6f3eeaa1cee1b17bd4f66528ef7c7a2
1,599
package asw.participants.webService.responses; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import asw.dbManagement.model.Participant; import asw.participants.util.Utilidades; @XmlRootElement(name = "participant") public class RespuestaInfoREST { private String fi...
20.240506
69
0.736085
58614d2bf769bf3e58b9c297e854e0d884567b41
21,899
package com.gui;//package sample; import com.starboard.Game; import com.starboard.InputHandler; import com.starboard.Room; import com.starboard.items.Container; import com.starboard.items.GameItem; import com.starboard.items.HealingItem; import com.starboard.items.Weapon; import com.starboard.util.CommandMatch; import...
41.712381
221
0.528791
d54443333c5ecf4b5d65898a00dbb5cbc79ac8fd
1,622
package com.abu.dhabi.KyselyApp.domain; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import com.fasterxml.jackson.annotati...
19.780488
98
0.733662
80ca2b0e1bf508d1b52e0cbb3ea97d7c3faa6a5d
2,303
/* * 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 ...
40.403509
118
0.742944
f60934bd96e2c072f18a2eb63664b6dd074bc289
9,757
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library 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, either version 3 of the License, ...
32.741611
100
0.672953
1019f21f3d23b4dd1fd47a2cbbbf3a70f2580863
3,873
/** * Copyright 2013, WebGate Consulting AG * * 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...
27.664286
110
0.678802
460c03fd1b498a9ee0b7d39589d0d658b29e71b6
985
package topcoder.srm748; import java.util.*; public class UnreliableRover { public static final String DIR = "ENWS?"; public long getArea(String direction, int[] minSteps, int[] maxSteps) { long x = 1, y = 1; ArrayList<Integer> growths = new ArrayList<>(); for (int i = 0; i < direction.length(); i++) { int...
24.02439
72
0.539086
0179c2cdf9121b59202a2f70e5466b3bc615187d
329
package no.siriuslabs.computationapi.demo; import no.siriuslabs.computationapi.api.model.computation.DomainType; /** * DomainType implementation for the Demo application. */ // used reflective only public enum DemoDomainType implements DomainType { DEMO; @Override public String getDomainType() { return name(...
17.315789
69
0.765957
8244a28f923a9eb4265a5e25908625bc405103e2
188
package com.github.vlsidlyarevich.unity.git.service; import com.github.vlsidlyarevich.unity.common.service.AnalyzeService; public interface GitAnalyzeService extends AnalyzeService { }
23.5
69
0.845745
14aa89a5f67e0b06c57123bf854bd46b651a6671
10,210
/* * Copyright (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; import com.fasterxml.jackson.databind.JsonNode; import com.google.api.client.util.Preconditions; import com.google.common.collect.Lists; import io.airbyte.commons.json.Jsons; import io.airbyte.config.AirbyteConfig;...
38.528302
141
0.722625
f836cebaa6de20a7c14a0b67bfd003cc103cb6ba
17,026
package me.chanjar.weixin.mp.api.impl; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import me.chanjar.weixin.common.api.WxConsts; i...
35.397089
121
0.726653
e1560637652332788b181e32ea354f5594253df8
2,604
/* * 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 ...
30.27907
118
0.675115
6b56da83f916c1f7ed38f80eedc198aff650f532
2,339
package com.github.kristofa.brave; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang3.Validate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.twitter.zipkin.gen.AnnotationType; import com.twitt...
25.988889
95
0.662249
fb8230bd90e853ddc0432c678bbdc859b9f2a3e1
2,397
package org.springframework.samples.petclinic.owner; import static org.junit.Assume.assumeNotNull; import static org.junit.Assume.assumeThat; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assumptions.assumeFa...
27.872093
81
0.674176
ef022c43a25e52704b35b657394d33b2b9267877
2,389
package com.github.mkolisnyk.muto.reporter.listeners; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.Layout; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import com.github.mkolisnyk.muto.data.MutationLocation; import com.github.mkolisnyk.muto.reporter.MutoListener; import c...
21.330357
77
0.56802
afd3a156100b8ee2dc683df72bac0e988aa6924b
10,281
package actors; import akka.actor.AbstractActor; import akka.actor.ActorRef; import akka.event.Logging; import akka.event.LoggingAdapter; import br.ufes.inf.lprm.scene.SceneApplication; import models.base.Entity; import models.sensing.Sensor; import org.kie.api.conf.EqualityBehaviorOption; import org.kie.api.runtime.r...
40.317647
128
0.58934
53981ed21456d176f00e39364ff90f3c5eed6ec0
598
package com.softserve.academy.Tips4Trips.repository; import com.softserve.academy.Tips4Trips.entity.city.City; import com.softserve.academy.Tips4Trips.entity.place.Monument; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org...
35.176471
111
0.834448
c5f874ac4b9145baa60486f9d1724bd016c27647
624
package pl.joegreen.sergeants.simulator; import pl.joegreen.sergeants.framework.Actions; import pl.joegreen.sergeants.framework.Bot; import java.util.function.Function; class BotInstanceCatcher<T extends Bot> implements Function<Actions, Bot> { private final Function<Actions, T> botProvider; public T lastCr...
26
75
0.729167
4ba4f11e4286173709773303c2547c046aa96262
373
package fwcd.fructose.swing; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; public abstract class DocumentAdapter implements DocumentListener { @Override public void insertUpdate(DocumentEvent e) { } @Override public void removeUpdate(DocumentEvent e) { } @Override ...
16.954545
67
0.772118
0bfd408806af9990ab8383cee9459bf964199714
2,197
package com.joymain.jecs.pd.model; import java.util.ArrayList; import java.util.List; /** * 退回单对象 * @author www * */ public class Returno extends com.joymain.jecs.model.BaseObject implements java.io.Serializable{ private String order_bn;//订单号 private String eo_bo;//退单号 private String returnWarehouse;// modify ...
23.623656
95
0.751934
167f1ab6959b4c106e0a7c22c468d603707f23a1
447
package eu.inloop.knight.sample.model; import com.google.gson.annotations.SerializedName; /** * Interface {@link Order} * * @author f3rog * @version 2015-07-09 */ public class Order { @SerializedName("name") private String mName; @SerializedName("count") private int mCount; public Order() {...
14.9
50
0.619687
a110cca17ff0b4e7e0f3cddcf140d08ca1baf11f
5,002
package com.codepath.apps.twitter.fragments; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import com.codepath.apps.twit...
34.027211
138
0.627549
4faa4e1216ff1100170816aa8e4d8085a8e2149d
6,891
package com.alex.camera.filter; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.SurfaceTexture; import android.opengl.GLES20; import android.opengl.GLUtils; import android.util.Log; import com.alex.camera.R; import com.alex.camera.util.Buf...
35.890625
130
0.678276
3c285afae01c3a0cb620f5bd2af46bcb06519904
1,063
package cyclops.async.reactive.futurestream.reactivestreams; import cyclops.async.reactive.futurestream.LazyReact; import cyclops.reactive.companion.ThreadPools; import org.reactivestreams.Publisher; import org.reactivestreams.tck.PublisherVerification; import org.reactivestreams.tck.TestEnvironment; import org.test...
28.72973
84
0.619003
5dbc3b78c4d0d4dfe9b4eb0f816e30ab4ffc01bf
3,242
package br.com.pedropareschi.collegemanagement.domain; import br.com.pedropareschi.collegemanagement.domain.enums.Shift; import com.fasterxml.jackson.annotation.JsonIgnore; import javax.persistence.*; import java.io.Serializable; import java.util.*; @Entity public class Program implements Serializable { private...
23.492754
146
0.648365
0ed6951d7e7e3c4d537d27533c0efc40025a3d75
691
package org.zerobs.polla.exception; import lombok.AllArgsConstructor; import lombok.Getter; @Getter @AllArgsConstructor public class CustomRuntimeException extends RuntimeException { private final RuntimeExceptionType runtimeExceptionType; private final String[] args; public CustomRuntimeException(Runtim...
30.043478
91
0.769899
ed18a5874dccc48672d24608a80bf93e7a00944c
16,924
/** */ package com.github.icelyframework.configuration.util; import com.github.icelyframework.configuration.*; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.Switch; /** * <!-- begin-user-doc --> * The <b>Switch</b> for the model's inheritance hiera...
36.008511
118
0.701253
a3e7680388a82a6aaa0444aaeb25bd7d240e67d4
3,152
/* * Copyright 1999-2019 Seata.io Group. * * 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...
25.216
86
0.624048
b5e8db1951451f318c6649d9ac340ebf4cf90776
2,245
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.web.function; import java.net.URI; import java.util.SortedMap; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.r...
31.180556
114
0.684187
32b1d74ee48248c4a5c23def579aa182c33217c9
12,176
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
15.200999
813
0.78589
2fc926f40bd58403e17d0e3fb7eb21037bf72998
1,182
package com.kintone.client.api.app; import com.kintone.client.api.KintoneRequest; import com.kintone.client.model.app.CustomizeBody; import com.kintone.client.model.app.CustomizeScope; import lombok.Data; /** A request object for Update App Customize API. */ @Data public class UpdateAppCustomizeRequest implements Kin...
31.945946
100
0.714044
020aa6978c5bc90ffb154f8ac571635e4b99830e
1,957
package com.codiform.moo.translator; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Simplistic model for comparing primitives for assignment. Stupid, but better * than Java reflection. */ public class PrimitiveAssignment { private static final Map<Class<?...
32.616667
114
0.716403
af8ee32f385cbcbe77cf6ebcefc736fec73d53f2
2,457
package pro.gravit.simplecabinet.web.configuration; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import pro.gravit.simplecabinet.web.service.KeyManagementService; import java.io.FileOutputStr...
42.362069
165
0.706146
5fc4bca72dcec1fecf148301583d638f6ca690dc
172
package com.github.fgiannesini.libsass.gradle.plugin.extension; /** * Plugin modes for build type */ public enum PluginMode { DEVELOPPEMENT, PRODUCTION }
14.333333
64
0.703488
0fc806b9413fcf249fbac1eb4ebb49d3007d6824
2,677
package com.github.chrisblutz.trinity.lang; import java.util.ArrayList; import java.util.List; /** * @author Christopher Lutz */ public class TYModule { private List<TYClass> classes = new ArrayList<>(); private List<TYModule> modules = new ArrayList<>(); private String name, shortName; privat...
21.07874
67
0.514755
60f372da802005ee1f07993197771f9c3f9c8b69
27,854
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
34.774032
134
0.656638
63ad83cac9d25d33b278687efba521100e15f5e7
280
package dsf.algorithm.archive.data_staruct.monotonous_stack; /** * 牛客 https://ac.nowcoder.com/acm/problem/20806 求区间内最大差值 * TODO 没做 * @author 董少飞 * @date 2020/1/21 */ public class P20806 { public static void main(String[] args) throws InterruptedException { } }
15.555556
72
0.7
6e646f8ea9e8a1bad587a1bcef9358386e0dad5a
85,022
/* * 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 ...
36.490129
193
0.570147
19f8745cbf062e6881e572c3d8c6fb4ce33ea285
1,095
package com.redescooter.ses.mobile.rps.dao.outwhorder; import com.redescooter.ses.mobile.rps.dm.OpeOutWhouseOrderSerialBind; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 出库单产品序列号绑定信息 Mapper接口 * @author assert * @date 2021/1/25 14:22 */ public interface OutWhouseOrderSerialBindMapper {...
25.465116
96
0.707763
d1d430ca3831f807916bffeb671f203e07d8b971
112
package io.splitet.core.common; public enum EventType { OP_SINGLE, OP_START, EVENT, OP_SUCCESS, OP_FAIL; }
18.666667
52
0.75
2cb9f3252314e53c3e320f501f38646d4189e1f5
558
package com.atguigu.gmall.vo; import com.atguigu.gmall.ums.entity.MemberReceiveAddressEntity; import lombok.Data; import java.math.BigDecimal; import java.util.List; /** * @author NikerunZoo * @date 2020/10/14 0014 15:54 */ @Data public class OrderSubmitVO { private String orderToken; //防止重复提交 privat...
22.32
63
0.743728
7f1a580e60fe4e425a860a72ceb7295a1844bf62
3,334
package com.vimukti.accounter.company.initialize; import org.hibernate.Session; import com.vimukti.accounter.core.Account; import com.vimukti.accounter.core.AccounterServerConstants; import com.vimukti.accounter.core.Company; import com.vimukti.accounter.core.TAXAgency; import com.vimukti.accounter.core.TAXCo...
32.057692
73
0.781644
38e916d3522bcc9e2bc7b52a14aa3a6e44fd39e1
1,320
package cm.android.app.test; import java.util.Date; import cm.android.timer.Timer; import cm.android.util.MyFormatter; import cm.android.timer.TimerTask; public class TimerTaskTest { private static Timer timer = new Timer("ggg"); public static void test() { timer.reset(); android.util.Log....
28.085106
104
0.532576
83664cd56ab4605aabdc7cac60f6341697c94c87
8,858
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
31.190141
132
0.626552
a557b9ece5c00c7702eca6b4e4a11bac9385180c
1,224
/** * * Copyright 2012, Stoyan Rachev * * 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...
24.979592
77
0.696895
16a108ba5da5a0d4845ff12a4fe0695574a32785
12,277
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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 * *...
42.926573
75
0.334121