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 |
|---|---|---|---|---|---|
3620823323037e21496bcc9957ec23cb5932c124 | 3,515 | package org.InnovativeProducts.ipmusicplayer;
import android.Manifest;
import android.content.Intent;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import androi... | 33.47619 | 121 | 0.634993 |
88677bc1ee18e094b8e07eb0407625af5652fb75 | 243 | package com.secret.marketprovider.generic;
import java.util.List;
import com.secret.model.marketprovider.MarketProviderData;
abstract public class Parser {
abstract public List<MarketProviderData> parse(String content) throws Exception;
}
| 24.3 | 81 | 0.82716 |
095634b207a91fdb21c28100261895ca66e06897 | 219 | package org.bc.crypto;
public class MaxBytesExceededException extends RuntimeCryptoException {
public MaxBytesExceededException() {
}
public MaxBytesExceededException(String var1) {
super(var1);
}
}
| 19.909091 | 71 | 0.748858 |
d95a0580bff2c9623f2ac7b5278a7ce8a8c80daf | 776 | package com.xuecheng.api.search;
import com.xuecheng.framework.domain.search.CourseSearchParam;
import com.xuecheng.framework.domain.search.EsCoursePub;
import com.xuecheng.framework.domain.search.EsTeachplanMediaPub;
import com.xuecheng.framework.model.response.QueryResponseResult;
import io.swagger.annotations.Api;
... | 31.04 | 86 | 0.78866 |
d3e3f4fa5eb572545d29ced27c1d4abe8690b37f | 3,594 | package seedu.address.logic.parser;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.address.logic.parser.CommandParserTestUtil.assertParseFailure;
import static seedu.address.logic.parser.CommandParserTestUtil.assertParseSuccess;
import java.util.Arrays;
import o... | 47.289474 | 118 | 0.72148 |
d9194429584fac61e3498559ff51b3b1eb2cd076 | 433 | package com.wy.abstracfactory;
/**
* 日语青空
*
* @author 飞花梦影
* @date 2021-11-03 15:39:09
* @git {@link https://github.com/dreamFlyingFlower }
*/
public class AbstractJapanAir extends AbstractAir {
@Override
public String country() {
return "中文";
}
@Override
public String name() {
return "Air";
}
@Ove... | 13.967742 | 53 | 0.65127 |
d6437b1cff2bf889d16ad26263f5ac27aa85c909 | 2,618 | package com.example.writeo.model;
import com.example.writeo.enums.ArticleStatus;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import static org.junit.jupiter.api.Assertions.... | 24.240741 | 74 | 0.62605 |
0aee324e180f78b88115047c69ed7b70307bb439 | 14,026 | /*
* Copyright (C) 2012 Google Inc.
* Copyright (C) 2015 Keith M. Hughes.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 29.343096 | 99 | 0.722016 |
bd5e754d2e935f2a58337c196ed483105a7225e5 | 12,978 | package com.gemteks.merc.service.layout.service;
import java.io.IOException;
import java.util.Base64;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.cloudant.client.api.views.ViewResponse;
import com.cloudant.client.api.views.ViewResponse.Row;
import com.gemteks... | 43.69697 | 140 | 0.642241 |
bd5349793ce103fe1efe8bec98cd8c7eea22a538 | 3,185 | package com.github.baserecycleradapter.activity;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.sup... | 30.92233 | 159 | 0.643328 |
2d4a85b5e7e91784b4769e0a4dcee3d7b2370e7e | 7,799 | package com.github.rod1andrade.states;
import com.github.rod1andrade.commands.simulation.StartRandomTrashsCommand;
import com.github.rod1andrade.commands.vacuumcleaner.*;
import com.github.rod1andrade.entities.*;
import com.github.rod1andrade.entities.Window;
import com.github.rod1andrade.models.VacuumCleanerModel;
im... | 47.554878 | 202 | 0.730991 |
a2d867c7f9c7fd5f1c89c75176e44c86387a5d7a | 865 | package com.master.keymanagementserver.kms.helpers;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* UserStates Tester.
*
* @author <Authors name>
* @version 1.0
* @since <pre>Oct 10, 2017</pre>
*/
public class UserStatesTest {
@Bef... | 22.179487 | 85 | 0.663584 |
a20c00f6ad30ce179a7d2df4da8330c08edf3122 | 551 | package org.keycloak.social.streamlabs;
import org.keycloak.broker.oidc.mappers.AbstractJsonUserAttributeMapper;
/**
* Streamlabs user attribute mapper.
*/
public class StreamlabsUserAttributeMapper extends AbstractJsonUserAttributeMapper {
private static final String[] cp = new String[]{
StreamlabsIde... | 22.04 | 84 | 0.716878 |
8148428e3b97f6d87a97514e528fc6da551ef4f7 | 995 | package io.github.code10ftn.monumentum.model;
import java.util.Date;
public class Comment {
private long id;
private String comment;
private Monument monument;
private Date timestamp;
public Comment() {
}
public Comment(String comment, Monument monument, Date timestamp) {
thi... | 17.767857 | 71 | 0.61005 |
0c7ec78ed7bdc2aa3cd31a84759687eda5e92dd9 | 340 | package cn.aixuxi.ossp.common.annotatioin;
import java.lang.annotation.*;
/**
* 请求否方法参数上添加该注解,则注入当前登录账号的应用id
* 例子:public void test(@LoginClient String clientId) // 则注入webApp
* @author ruozhuliufeng
* @date 2021-07-17
*/
@Target(ElementType.PARAMETER)
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interf... | 21.25 | 65 | 0.767647 |
3263f54b05fdf9e6f485726761e33ae09f443a26 | 448 | package vn.aptech.springboot.amazingtoy.service;
import vn.aptech.springboot.amazingtoy.model.subcategory.Subcategory;
import java.util.List;
public interface SubcategoryService {
List<Subcategory> findAllSubcat();
void create(Subcategory subcategory);
void update(Subcategory subcategory);
Subcategor... | 28 | 69 | 0.772321 |
c15e59bd76e9f9d6d1635d80f7d9eb4958286e0b | 2,878 | package org.gridkit.jvmtool.gcmon;
import org.gridkit.jvmtool.event.SimpleCounterCollection;
import org.gridkit.jvmtool.event.SimpleTagCollection;
public class MemoryInfoEventPojo implements MemoryPoolInfoEvent {
private long timestamp;
private SimpleTagCollection tags = new SimpleTagCollection();
priva... | 27.673077 | 77 | 0.627172 |
0ed1483818ae139af7988cbb9e4f2ecf2b1d1d5a | 1,166 | package se.arbetsformedlingen.matchning.portability.builder;
import se.arbetsformedlingen.matchning.portability.dto.PhoneType;
public class PhoneTypeBuilder {
private PhoneType phoneType = new PhoneType();
public PhoneTypeBuilder setCountryDialingCode(String countryDialingCode) {
phoneType.setCountr... | 27.761905 | 78 | 0.721269 |
44d364a92846acd8c722a8494a130b9011f93c7b | 2,109 | /**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundati... | 22.43617 | 72 | 0.661451 |
546cb5f829eb1d3b75c029f671a4122b812648c4 | 600 | package me.ianhe.security.model;
/**
* @author iHelin
* @date 2018-12-17 17:37
*/
public class RolePath {
private String pathPattern;
private String role;
public RolePath(String pathPattern, String role) {
this.pathPattern = pathPattern;
this.role = role;
}
public String getPa... | 18.181818 | 54 | 0.62 |
90f14e0a7b080b39285be2c4097220e7e6bab99e | 3,481 | /*
GNU LESSER GENERAL PUBLIC LICENSE
Copyright (C) 2006 The Lobo Project
This 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 2.1 of the License, or (at your ... | 29.5 | 99 | 0.699799 |
c51ffa8a490d0d178a976250eb9950c9654d59ca | 18,023 | /**
* Copyright 2011-2021 Asakusa Framework Team.
*
* 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... | 43.220624 | 111 | 0.655163 |
5c4fabb0798d3eef7a78e7070c4396d2c83d0a85 | 8,111 | package ru.nivanov;
import java.util.*;
/**
* Created by Nikolay Ivanov on 26.05.2017.
*/
class OrderBook {
private String name;
private TreeMap<Float, Order> buyOrders;
private TreeMap<Float, Order> sellOrders;
private String sep = System.getProperty("line.separator");
private Set<OrderBook> or... | 35.574561 | 107 | 0.467267 |
02bce3db399ca3d3f1850eafe452547e9b73252a | 1,138 | package simulations;
import gameparts.RangedWeapon;
import gameparts.Weapon;
public class WeaponSims {
Weapon weapon;
int simulations;
public WeaponSims(Weapon weapon) {
this.weapon = weapon;
}
public void runRawDamageSimulation(int simulations) {
int totalDamage = ... | 35.5625 | 130 | 0.644991 |
2ca5163205b4fb25cf56a9bc587e37aa5ff42c06 | 481 | // Code generated by lark suite oapi sdk gen
package com.larksuite.oapi.service.sheets.v2.model;
import com.google.gson.annotations.SerializedName;
public class SpreadsheetsValuesImageResult {
@SerializedName("spreadsheetToken")
private String spreadsheetToken;
public String getSpreadsheetToken() {
... | 26.722222 | 62 | 0.756757 |
f0c4bd777c8eb3ab9bc7237646c66bdbcb0eb49c | 197 | package fr.rss.download.api.constantes;
public class Const {
public static final String DEFAULT_VALUE = "defaultValue";
public static final String TV_SHOW_LIST_FILE = "myTvShowList_test.xml";
}
| 28.142857 | 72 | 0.796954 |
919c97951f604457ef5029b1d734a85c1199ed2b | 2,048 | /*
* Copyright 2019-2021 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 33.57377 | 100 | 0.717773 |
117cc90598106aecc98deea7b1288fea01545868 | 538 | package game.item;
import static java.lang.Math.*;
import static util.MathUtil.*;
import util.BmpRes;
public class IronHammer extends HammerType{
private static final long serialVersionUID=1844677L;
static BmpRes bmp=new BmpRes("Item/IronHammer");
public BmpRes getBmp(){return bmp;}
protected double toolVal(){retu... | 26.9 | 66 | 0.754647 |
dd67cdfb2062721dc92a1db2eb1a3ea07ef7f41e | 3,928 | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.curve.interestrate;
import java.util.Collections;
import java.util.Set;
import org.threeten.bp.Instant;
import org.threeten.bp.Loca... | 47.325301 | 194 | 0.805754 |
fa328c1b323e928e558bfdb73681ffa3cbb9af7e | 115 | package com.codurance.domain.io;
public interface UserInput {
boolean hasNextLine();
String nextLine();
}
| 16.428571 | 32 | 0.721739 |
6062c2b476e441bc0aee03a431892436077ff7d0 | 5,540 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | 31.83908 | 100 | 0.633032 |
1a0403bccbc0a215cfb44e04ab5088843a000d40 | 3,127 | /***********************************************************************************************************************
* Copyright (C) 2010-2013 by the Stratosphere project (http://stratosphere.eu)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi... | 41.144737 | 154 | 0.731692 |
0095e75d5f9f0b9944889b603ab700dfc10edb4b | 372 | package demo;
public class Main {
public static void main(String[] args) {
Student student = new Student("Pesho", 15);
student.getGrades().add(5.5);
student.getGrades().add(6d);
student.getGrades().add(4.5);
System.out.println(student.getGrades().stream().mapToDo... | 24.8 | 102 | 0.58871 |
a096941183c85f95ff426881fc6d15e1c052484f | 397 | package steps;
import cucumber.api.PendingException;
import cucumber.api.java8.En;
/**
* Created by petrash on 1/24/18.
*/
public class Java8VersionStep implements En {
public Java8VersionStep() {
And("^I just wanjt to see how step looks for Cucumber-Java(\\d+)$", (Integer arg0) -> {
System.... | 24.8125 | 95 | 0.644836 |
06c956559685ba850771e7e1fb06dd913e781bfb | 3,729 | package io.recode.decompile;
import io.recode.classfile.Method;
import io.recode.model.Expression;
import io.recode.model.ModelFactory;
import io.recode.util.Sequence;
import io.recode.model.Statement;
import io.recode.util.Stack;
import java.lang.reflect.Type;
import java.util.List;
public interface DecompilationCo... | 30.818182 | 113 | 0.685438 |
4f4597683d4319c03bc6b91d395fcc39f4d2ab7a | 1,382 | package com.pwc.logging;
import com.pwc.logging.service.LoggerService;
import org.junit.Test;
public class ButTest extends LoggerBaseTest {
@Test
public void butBlankTest() {
LoggerService.BUT("");
verifyLogOutput("But");
}
@Test
public void butNullTest() {
LoggerService.... | 27.098039 | 96 | 0.639653 |
0d0f5dcac857e2e5fdd1648e74992282c36e7292 | 8,073 | package financial;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Portfolio {
private Double mTotalFunds; // 投资资金总规模(单位:万元)
private Double mCashLowerLimit; // 空仓规模下限(单位:万元)
private Double mTotalPosition; // 实际仓位总金额(单位:万元)
private ... | 27.742268 | 95 | 0.690821 |
8fa97bcb622fe6201680f13184166ea1c241e646 | 898 | package io.github.toquery.framework.front.connfig;
import io.github.toquery.framework.core.security.AppSecurityConfigurer;
import io.github.toquery.framework.core.security.AppSecurityIgnoring;
import lombok.extern.slf4j.Slf4j;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.... | 29.933333 | 91 | 0.750557 |
0d48fa1ca7c823bcecd970e161ce627af6e35f44 | 1,255 | package si.vilfa.junglechronicles.Utils;
import com.badlogic.gdx.physics.box2d.Body;
import si.vilfa.junglechronicles.Component.GameComponent;
import si.vilfa.junglechronicles.Component.Loggable;
import java.lang.reflect.InvocationTargetException;
/**
* @author luka
* @date 27/11/2021
* @package si.vilfa.junglech... | 27.888889 | 119 | 0.61992 |
fc1b91a073359144dad4a973172b8bc31e825140 | 1,387 | /**
* Copyright © 2021 Yusuf Aytas. 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 app... | 25.685185 | 90 | 0.687815 |
2e12e4c40bab0d119e50dae348b6557469f08832 | 136 | package quarter01.level01.lesson08;
public class Main {
public static void main(String[] args) {
new GameWindow();
}
}
| 17 | 44 | 0.654412 |
9b2b3df51f229993ced286d75b7ed78ec385c3f7 | 777 | package jpl.ch03.ex01;
import static org.junit.Assert.*;
import org.junit.Test;
public class PassengerVehicleTest {
@Test
public void testPassengerVehicle_1() {
PassengerVehicle obj = new PassengerVehicle();
obj.setPassengers(1);
assertEquals(1, obj.getPassengers());
}
@Test
public void testPassengerVeh... | 21 | 48 | 0.737452 |
f268b25fe106d88bbb9e60ce76160ccbfe887e25 | 525 | package iot.technology.coap;
import org.eclipse.californium.core.CoapResource;
import org.eclipse.californium.core.server.resources.CoapExchange;
import static org.eclipse.californium.core.coap.CoAP.ResponseCode.DELETED;
/**
* @author james mu
* @date 2020/5/9 09:38
*/
public class RemovableResource extends CoapR... | 21.875 | 74 | 0.714286 |
8e6eda7f772c44e56a1f0ac112e053d90ce9efad | 2,210 | /*
* Copyright 2017 Department of Biomedical Informatics, University of Utah
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
*... | 34 | 91 | 0.645249 |
a80d6339aeb5e35c64dc05218e8cab55564f589e | 114 | package com.nattguld.util.chrono;
/**
*
* @author randqm
*
*/
public enum Clock {
HOUR_12,
HOUR_24;
}
| 7.6 | 33 | 0.605263 |
42db07acf3ee8a630515fc7794837d18dc5694be | 2,546 | /**
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 32.227848 | 104 | 0.698743 |
146a50a287f9e958379565520c5ee7a58b9a97b8 | 25,750 | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 34.938942 | 98 | 0.70532 |
69d6625d66d5b1334acb95ffa570679f746e714f | 414 | package com.marchnetworks.security.authentication;
import com.marchnetworks.command.api.security.UserInformation;
public abstract interface SessionService
{
public abstract UserInformation veryifyUser( String paramString );
public abstract void deleteAllSessions( boolean paramBoolean );
public abstract void dele... | 25.875 | 74 | 0.833333 |
d0102931a334b07b478d61ff6f68f0341ab95a19 | 1,053 | package com.firstdata.payeezy.models.transaction;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Created by FA7G14Q on 9/1/2015.
*/
@JsonAutoDetect(getterVisibility= JsonAutoDetect.Visi... | 28.459459 | 167 | 0.761633 |
1b91ad955058d38f3a7d1c289db42e2a2d7d6251 | 1,756 | package com.kidand.algorithms.and.data.structures.algorithms.sort.shellsort;
/**
* ██╗ ██╗██╗██████╗ █████╗ ███╗ ██╗██████╗
* ██║ ██╔╝██║██╔══██╗██╔══██╗████╗ ██║██╔══██╗
* █████╔╝ ██║██║ ██║███████║██╔██╗ ██║██║ ██║
* ██╔═██╗ ██║██║ ██║██╔══██║██║╚██╗██║██║ ██║
* ██║ ██╗██║██████╔╝██║ ██║██║ ╚████║███... | 24.732394 | 81 | 0.308087 |
34a22ded0355ba54acf957153729da397b916f69 | 599 | package com.bkc.event.dao;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.bkc.event.vo.EventVO;
import com.bkc.event.vo.StoreVO;
@Repository
public interface EventDAO {
//게시글 조회
public List<EventVO> getEventList(EventVO event);
//게시글 상세조회
public EventVO getEvent(EventVO e... | 19.322581 | 53 | 0.75793 |
b50e6da6c6ac9f2cc6985fca5d2c2319282d8aa5 | 1,194 | package pruefungsvorbereitung;
import java.util.*;
class Example1 {
public void example() {
Set set = new TreeSet();
set.add(new Integer(2));
set.add(new Integer(1));
System.out.println(set);
}
}
class Example2 {
public void example() {
Set set = new HashSet();
set.add(new Integer(2));
... | 19.57377 | 42 | 0.618928 |
f68884319294900d51d3bca36826c4b5c52a2f39 | 2,507 | package tmt.tcs;
import csw.util.config.Configurations.ConfigKey;
import csw.util.config.DoubleKey;
import csw.util.config.StringKey;
/**
* This class contains all the configurations specific to TCS Assembly
*/
public class TcsConfig {
public static final String tcsPrefix = "tcs";
public static final String mcsP... | 51.163265 | 86 | 0.788592 |
6c745bc0e8dc08ab5193a3096999046998cfd748 | 904 | package org.nico.codegenerator.consts;
public enum MailType {
REGISTER(1, "注册"),
;
private int code;
private String msg;
private MailType(int code, String msg) {
this.code = code;
this.msg = msg;
}
public int getCode() {
return code;
}
public vo... | 17.384615 | 46 | 0.47677 |
3c5e6f737092461f7fc16dd9f8ce4535c282208e | 5,349 | package com.callforcode.greenfarm.controller.impl;
import com.callforcode.greenfarm.consts.GreenFarmConst;
import com.callforcode.greenfarm.controller.api.GFPlantTaskController;
import com.callforcode.greenfarm.entity.*;
import com.callforcode.greenfarm.exception.SeedNotFoundException;
import com.callforcode.gre... | 43.487805 | 101 | 0.67994 |
68979d0aa1d73ac6fa1e9eddb473f5aad0c1a06a | 2,013 | package com.xresch.cfw.features.dashboard.parameters;
import java.util.HashSet;
import java.util.LinkedHashMap;
import javax.servlet.http.HttpServletRequest;
import com.xresch.cfw._main.CFW;
import com.xresch.cfw.datahandling.CFWField;
import com.xresch.cfw.datahandling.CFWField.FormFieldType;
import com.xresch.cfw.... | 31.453125 | 105 | 0.573274 |
4225df793d6d869c4cc96da964a52716990f5aa2 | 881 | package com.fermedu.iterative.controller;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import java.util.... | 25.171429 | 62 | 0.729852 |
10c56385d144ba42e39df488419fb055c6f79ee7 | 1,297 | package sarf.verb.quadriliteral.unaugmented.passive;
import sarf.Word;
import sarf.util.*;
import sarf.verb.quadriliteral.unaugmented.*;
/**
* الفعل الماضي الرباعي المجرد المبني للمجهول
* <p>Title: Sarf</p>
* <p>Description: برنامج التصريف</p>
* <p>Copyright: Copyright (c) 2006</p>
* <p>Company: </p>
... | 26.469388 | 150 | 0.673863 |
7f71d8de7933f299833ecd63707ceb59769c8df4 | 221 | package example.service;
import example.repo.Customer293Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer293Service {
public Customer293Service(Customer293Repository repo) {}
}
| 20.090909 | 57 | 0.837104 |
8a190b3a78428a4a86de75b31adfe92aa7df5180 | 666 | package org.gaussian.supersonic.session.validation;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import java.util.UUID;
public class SessionIdValidator implements ConstraintValidator<ValidSessionId, String> {
@Override
public void initialize(ValidSessionId c... | 26.64 | 88 | 0.686186 |
c93f53e6da396abf90ce89dbce3b257f2be4272d | 15,261 | /*
* Copyright (c) 2008-2018, Hazelcast, 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 ... | 37.681481 | 115 | 0.617718 |
288d21851aea17c1456f013bcfdac15d45a7b9d9 | 6,043 | package com.pushtorefresh.storio.sqlite.annotations.processor.generate;
import com.pushtorefresh.storio.sqlite.annotations.processor.ProcessingException;
import com.pushtorefresh.storio.sqlite.annotations.processor.introspection.JavaType;
import com.pushtorefresh.storio.sqlite.annotations.processor.introspection.StorI... | 57.552381 | 168 | 0.714877 |
aafba173424dfa7a2d6ab74856ae52972a288dcd | 3,694 | package io.chat.menuchat;
import io.chat.ouput.Output;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import static io.chat.menuchat.Bot.getDataBotFile;
/**
* MenuTracker.
*
* @author Maxim Vanny
* @version 5.0
* @since 4/11/2019
*/
public class MenuChat ... | 25.832168 | 79 | 0.514889 |
a063230b4c791997d1ca038193764398ba8ff698 | 207 | package com.artemis.component;
import com.artemis.Component;
import com.artemis.annotations.PackedWeaver;
@PackedWeaver
public class IllegalComponent extends Component {
public Object ImNotAllowedHere;
}
| 20.7 | 49 | 0.835749 |
a43146f3f2e7bc66e85d11e3da464ec1e18b24ac | 610 | package com.os7blue.pl.gnmr.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* @Description: 处理日期格式的工具类
* @Author: os7blue
* @CreateDate: Create by 18-8-25 下午8:16
* @UpdateUser: os7blue
* @UpdateDate: Update by 18-8-25 下午8:16
* @UpdateRemark: 修改内容:无
* @Version: 1.0... | 23.461538 | 79 | 0.662295 |
629d93302e8da34b4c6b08d5e44e4094b0648eee | 145 | package com.book.controller;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class BookController {
}
| 14.5 | 62 | 0.813793 |
d08ee178344ea16d0f8db780f012cefc5a957e76 | 6,909 | package ca.uwo.csd.ai.nlp.libsvm.ex;
import ca.uwo.csd.ai.nlp.libsvm.svm;
import ca.uwo.csd.ai.nlp.libsvm.svm_model;
import ca.uwo.csd.ai.nlp.libsvm.svm_node;
import ca.uwo.csd.ai.nlp.libsvm.svm_parameter;
import ca.uwo.csd.ai.nlp.libsvm.svm_problem;
import java.io.IOException;
import java.util.ArrayList;
import java... | 36.946524 | 129 | 0.505717 |
1fb2f7bab1d0e2e6243c93d3f8bcf545ab777a93 | 1,356 | package com.restdocs.action.util;
import com.intellij.psi.PsiAnnotation;
import com.intellij.psi.PsiModifierList;
import com.restdocs.action.common.SpringAnnotations;
import java.util.stream.Stream;
import static com.restdocs.action.common.SpringAnnotations.*;
public class SpringUtil {
public static boolean c... | 39.882353 | 118 | 0.721976 |
a719ee9f813c518ded42d9d1260ccc7819ec4ad3 | 35,700 | package net.mcreator.minerustaddonsmod;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.common.registry.EntityEntry;
import net.minecraftforge.fml.common.network.NetworkRegistry;
... | 47.855228 | 164 | 0.785826 |
85dc266de3f9c4fe62678f9ca5f981fdf942fe69 | 58 | /**
* JPA domain objects.
*/
package mark.quinn.domain;
| 11.6 | 26 | 0.655172 |
8c146afe2e8c964fc5a41f03d31ee73767fd5ac8 | 1,955 | package top.codemc.liveappuidemo.fragment;
import android.app.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.... | 29.179104 | 103 | 0.703836 |
2154de01861f2534719d70559f56180fcd9bbc9d | 408 | package frc.robot.commands.shooter;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.Shooter;
public class StopShooter extends CommandBase {
private Shooter shooter;
public StopShooter(Shooter shooter) {
this.shooter = shooter;
addRequirements(this.shooter);
... | 20.4 | 50 | 0.698529 |
98c506d197890958da8de78b61df2f39ab8bd2d7 | 3,048 | /*******************************************************************************
* Copyright 2013 Ednovo d/b/a Gooru. All rights reserved.
*
* http://www.goorulearning.org/
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (... | 36.285714 | 86 | 0.725722 |
8f9693f2685588f47e73963897f57ef6e1ae2a7d | 5,728 | package com.sigma.dao.blockchain;
import com.google.protobuf.ByteString;
import com.sigma.dao.constant.TendermintQuery;
import com.sigma.dao.constant.TendermintTransaction;
import com.sigma.dao.service.NetworkConfigService;
import io.grpc.stub.StreamObserver;
import lombok.extern.slf4j.Slf4j;
import org.json.JSONArray... | 44.75 | 147 | 0.70007 |
a6ebf1eac2accb8ae5e5512ff01bd5ec54c31b5c | 371 | package com.rabbit.samples.springreactivewebsocket;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SpringReactiveWebSocketApplication {
public static void main(String[] args) {
SpringApplication.run(Spri... | 23.1875 | 72 | 0.84097 |
62daefebf6971734fc6dae5cae8620136fefe240 | 7,026 | /********************************************************************************
*
* Copyright FUJITSU LIMITED 2020
*
*******************************************************************************/
package org.oscm.app.connector.activity;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4... | 37.174603 | 121 | 0.54583 |
2d384690a5595d1081388d4818ffbe89a198aeb0 | 5,473 | /*
* Copyright (c) 2019 by Andrew Charneski.
*
* The author licenses this file to you under the
* Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance
* with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | 36.731544 | 130 | 0.676777 |
f85c317704aa99285df7ed450aff5fb140f14485 | 1,016 | package g0101_0200.s0150_evaluate_reverse_polish_notation;
// #Medium #Top_Interview_Questions #Array #Math #Stack #Programming_Skills_II_Day_3
// #2022_02_23_Time_12_ms_(29.56%)_Space_44.8_MB_(8.19%)
import java.util.Stack;
@SuppressWarnings("java:S1149")
public class Solution {
public int evalRPN(String[] toke... | 29.028571 | 84 | 0.545276 |
ae5321368e46a0035bfec7917b3144eb16ee18f5 | 144 | package de.hswhameln.typetogether.networking.api;
public interface User {
int getId();
String getName();
Document getDocument();
}
| 18 | 49 | 0.708333 |
59d0cdc9cd1f395d6acd35ffe2fe845d320aa640 | 635 | import java.util.Scanner;
public class Aula0010 {
public static void main(String[] args) {
// int num;
// num = 11;
//
// if(num == 10){
// System.out.println("sim, é igual");
// }else{
// System.out.println("não, o número não é");
//
// }
int num;
... | 24.423077 | 68 | 0.497638 |
933a93a40932f8c9e8e3c4e38609ba33c51dba13 | 13,194 | /*
* Serposcope - SEO rank checker https://serposcope.serphacker.com/
*
* Copyright (c) 2016 SERP Hacker
* @author Pierre Nogues <support@serphacker.com>
* @license https://opensource.org/licenses/MIT MIT License
*/
package serposcope.controllers.admin;
import com.google.inject.Inject;
import com.google.inject... | 33.318182 | 102 | 0.618008 |
1e9390e01df4c1127ce2d566f3399dca126d1cec | 5,091 | package de.techfak.gse.mbaig;
import uk.co.caprica.vlcj.factory.MediaPlayerFactory;
import uk.co.caprica.vlcj.player.base.MediaPlayer;
import uk.co.caprica.vlcj.player.base.MediaPlayerEventAdapter;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
public class MPlayer {
// static... | 34.167785 | 111 | 0.5989 |
7654efdb3c4151df0b1e255cfa003adaebe9d5b4 | 3,277 | package com.google.android.gms.auth.api.signin;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import com.google.android.gms.common.internal.safeparcel.zzb;
public class zza implements Creator<EmailSignInOptions> {
static void zza(EmailSignInOptions emailSignInOptions, Par... | 36.411111 | 121 | 0.508392 |
f41eda207a54cd20be598f3c77040ce22b95a49d | 722 | package org.ovirt.engine.ui.userportal.section.main.view.popup.vm;
import org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidgetPopupView;
import org.ovirt.engine.ui.common.widget.uicommon.popup.vm.VmDiskAttachPopupWidget;
import org.ovirt.engine.ui.uicommonweb.models.vms.AttachDiskModel;
import com.google.gw... | 45.125 | 130 | 0.801939 |
ead0af5e1b4ea53b105e14a064cdb485bd9b01ff | 241 | package org.xzhi.af.impl;
import org.xzhi.af.Color;
/**
* Red
*
* @author Xzhi
* @date 2021-07-12 17:17
*/
public class Red implements Color {
@Override
public void fill() {
System.out.println("[--- 红色 ---]");
}
}
| 14.176471 | 43 | 0.572614 |
1b90ee5037a64fdaea516ca582e247655d7f169a | 8,664 | package io.github.geniusv.dao;
import org.mybatis.generator.api.IntrospectedTable;
import org.mybatis.generator.api.PluginAdapter;
import org.mybatis.generator.api.dom.java.*;
import org.mybatis.generator.api.dom.xml.Attribute;
import org.mybatis.generator.api.dom.xml.Document;
import org.mybatis.generator.api.dom.xml... | 47.086957 | 194 | 0.691367 |
1423ab25939e4b5b752c1a4158f96f9ca355427c | 2,273 | /*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.measure.fx;
import java.util.Optional;
import com.opengamma.strata.basics.ReferenceData;
import com.opengamma.strata.basics.currency.FxRate;
import com.... | 36.66129 | 115 | 0.767708 |
70092f7ba17ecd62c0654837aa8ae58a00f67986 | 716 | package de.embl.schwab.crosshair.legacy;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.io.File;
import java.io.IOException;
import static org.junit.jupiter.api.Assertions.*;
class OldFormatSettingsReaderTest {
private OldFormatSettingsReader oldFormatSettingsReader;
... | 26.518519 | 95 | 0.73743 |
3adb166f070586772395f8c1f4996459ad9dddba | 15,157 | /*
* 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 ... | 36.347722 | 126 | 0.612984 |
8f159f4ff2e59c55777bffc42fa6f81c4b1f247e | 12,107 | package com.redhat.fuse.boosters.rest.http;
import javax.annotation.Generated;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.rest.CollectionFormat;
import org.apache.camel.model.rest.RestParamType;
import org.springframework.stereotype.Component;
/**
* Generated from Swagger specificati... | 42.332168 | 159 | 0.455522 |
716cd6f0bd9b144c5fcd48c9b64135f78a33c0c2 | 3,019 | /*
* Copyright (c) 2009-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | 31.123711 | 77 | 0.671414 |
817e54cb6aabae5a99f719e363a0bf274a2a3fb8 | 2,617 | package build_a_game;
import java.util.Random;
public class Spawn {
private Handler handler;
private HUD hud;
private int scoreKeep=0;
private Random r= new Random();
private GameObject player;
public Spawn(Handler handler, HUD hud) {
this.handler=handler;
this.hud=hud;
for (int i... | 32.308642 | 124 | 0.620558 |
03d22b4b47f80ca575d43b408dd8ac7625a1fead | 5,227 | /*L
* Copyright Georgetown University, Washington University.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cab2b/LICENSE.txt for details.
*/
package edu.common.dynamicextensions.ui.webui.actionform;
import java.util.HashMap;
import java.util.List;
import ja... | 16.437107 | 86 | 0.635164 |
b14edd4fb7263bd5ffbaf30a95059c00b720c420 | 509 | // you can also use imports, for example:
import java.util.*;
// you can write to stdout for debugging purposes, e.g.
// System.out.println("this is a debug message");
class Solution {
public int solution(int[] A) {
Map<Integer, Integer> map = new HashMap<>();
for(int a : A){
... | 23.136364 | 55 | 0.502947 |
f9534ce55d0ceafd8340a343afabb49955312731 | 1,552 | /*
* Copyright 2013-2014 Amazon Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" ... | 27.22807 | 97 | 0.693943 |
2032ed2abf7ea5f2b86be2125b72fb624a1b5c35 | 514 | package controllers.annotation;
import actions.AnonymousCheckAction;
import play.mvc.With;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
*/
@With(AnonymousCheckAction.class)
@Target({ElementType... | 24.47619 | 49 | 0.803502 |
219fe6e4e444def9f4eafa3e712c3caa3915882c | 5,249 | package com.asus.zenbodialogsample;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import com.asus.robotframework.API.RobotCallback;
import com.asus.robotframework.API.RobotCmdState;
import com.asus.robotframework.... | 30.34104 | 122 | 0.633073 |
527efd5c92bb0a03206c94115cee4aa90a116c21 | 774 | package com.artirigo.kontaktio;
import android.Manifest;
import android.content.pm.PackageManager;
import androidx.annotation.Nullable;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext... | 29.769231 | 64 | 0.803618 |
1cbbeecd314098f0de0461e0c0ef80e25345dbeb | 500 | package app.services.interfaces;
import app.models.dtos.binding.CreateCarDto;
import app.models.dtos.view.CarsPartListDto;
import app.models.dtos.view.FindByMakerCarDto;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public interface CarService {
void createCar(CreateCarDto create... | 26.315789 | 58 | 0.808 |
fddee1098ee835eacbf4076673a038f3a8054e58 | 1,547 | package me.pbox.site.web.page;
import com.google.inject.Inject;
import me.pbox.site.dao.PackageDao;
import me.pbox.site.model.Package;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.StringUtils;
import org.nocturne.annotation.Parameter;
import org.nocturne.link.Link;
/**
* @author... | 25.783333 | 84 | 0.617324 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.