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
8eaa7f415e7f0a068d93924aeb946073e4a0f311
2,779
class Test { static interface I { void m(); } I i1 = ()-> { continue <error descr="Undefined label: 'l'">l</error>; }; I i2 = ()-> { break <error descr="Undefined label: 'l'">l</error>; }; I i3 = ()-> { I i_i1 = ()-> { continue <error descr="Undefined label: 'l'">l</error>; }; ...
35.177215
90
0.369917
ad96017cdd52e9098d83203ad6201576504dd565
9,782
/* * 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 co.edu.uniandes.csw.requirement.resources; import co.edu.uniandes.csw.requirement.dtos.ObjetivoDTO; import co.edu.uniandes.cs...
45.078341
191
0.685238
f0426dc8d15aa7992420c6da34defa68d4cc8dcc
2,247
package games.stendhal.client.gui.j2d.entity.helpers; import games.stendhal.client.sprite.Sprite; import temp.java.awt.Graphics; /** * Helper class for drawing sprites with a certain alignment in a certain area * * @author madmetzger */ public class DrawingHelper { /** * Align a sprite in a defined area...
30.364865
110
0.511348
49d4cd16f9f6b3058cd114226530d1eba5e47c4e
136
package org.ihtsdo.snowowl.authoring.single.api.review.pojo; public enum BranchState { UP_TO_DATE, FORWARD, BEHIND, DIVERGED, STALE }
22.666667
60
0.794118
6cec922a74e02ee2c03e8f5f3d7151f5bad320d6
14,828
package org.firstinspires.ftc.teamcode; /* Made By Cameron Doughty 1/15/2018 */ import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2cGyro; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2cColorSensor; import com.qualcomm.robotcore.eventloo...
36.70297
170
0.606353
d03b854d3b2c3e05deb1231f5ffd42f359d82475
271
package com.drakklord.gradle.metric.tooling.checkstyle; import org.gradle.api.plugins.quality.Checkstyle; import java.util.List; /** * Created by DrakkLord on 2016. 11. 01.. */ public interface CheckstyleMetricModel { List<CheckstyleTaskContainer> getTasks(); }
20.846154
55
0.763838
64069f2b2211378afc0a378726fdb0ffbcd3bd5d
664
package uk.co.idv.method.entities.verification; import lombok.Builder; import lombok.Data; import uk.co.idv.method.entities.result.Result; @Builder @Data public class CompleteVerificationResponse { private final boolean sequenceCompletedByVerification; private final boolean methodCompletedByVerification; ...
23.714286
58
0.763554
cde8c960f321fd1870b9d06a7cff8c0da90ef14a
3,947
package edu.ohsu.sonmezsysbio.cloudbreak; import org.apache.commons.math3.distribution.LogNormalDistribution; import org.apache.commons.math3.distribution.NormalDistribution; import org.apache.log4j.Logger; /** * Created by IntelliJ IDEA. * User: cwhelan * Date: 3/12/12 * Time: 3:11 PM */ /** * Functions to co...
42.902174
122
0.631872
c563bde7965c71b699e76c53fccb820dedc2c32a
2,093
package com.example.lotrcharacters.models; import com.example.lotrcharacters.models.Doc; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import org.parceler.Parcel; import java.util.List; @Parcel public class MyPreciousResponse { @SerializedName("docs") @Expos...
19.201835
122
0.59484
73ef910101ee1b74e97b36288e362cfd91fbbe62
827
// Joseph Igama // Solution for problem #1773 import java.util.List; public class Solution_1773 { class Solution { public int countMatches(List<List<String>> items, String ruleKey, String ruleValue) { int matches = 0; for (int i = 0; i < items.size(); i++) { ...
24.323529
93
0.437727
dd25d4eefaa21ae5b4b39f9fbdcb7b05a151467a
1,142
//opgave13_1.java //auteur : Brent Berghmans 1334252 //enigma codering uitbreiding class taak13_1 { public static void main (String []args) { String givenString, encodedString = ""; int i, n; if (args.length < 2) return; givenString = args[0]; n = Integer.parseInt(args[1]); /*if (n < 0){ n += 26; ...
23.791667
133
0.502627
76d6e50d5b8e17f21b05bf9555c54abf662036cb
757
package org.songzxdev.leetcode.week05; //给定一个非负整数数组 A,返回一个数组,在该数组中, A 的所有偶数元素之后跟着所有奇数元素。 // 你可以返回满足此条件的任何数组作为答案。 // 示例: // 输入:[3,1,2,4] //输出:[2,4,3,1] //输出 [4,2,3,1],[2,4,1,3] 和 [4,2,1,3] 也会被接受。 // 提示: // 1 <= A.length <= 5000 // 0 <= A[i] <= 5000 // Related Topics 数组 public class Solution905 { /** * 题目:905....
21.628571
49
0.446499
8fdff6f2514ff8662add719e5663250641af0526
1,456
package org.impactready.teamready; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public class JSONServices { private static final String TAG = "JSON Services"; public static JSONArray remove(JSONArray objectsJSON, String id) { try { ...
28.54902
73
0.522665
6443bb48d0f0b4a65e844dd781566fbd07038235
1,711
package org.leo.server.panama.server; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.ni...
30.553571
86
0.66277
64449bfa45ebc7a6fc0d83ef7e163695e883c8e2
7,607
package com.spike.giantdataanalysis.jena.rdf; import java.io.InputStream; import org.apache.jena.rdf.model.Bag; import org.apache.jena.rdf.model.Model; import org.apache.jena.rdf.model.ModelFactory; import org.apache.jena.rdf.model.NodeIterator; import org.apache.jena.rdf.model.Property; import org.apache.jena.rdf.mo...
30.306773
97
0.632575
9c0515a8d386e94bc2a7775ce6f90871fe523782
2,925
package com.androidbegin.parselogintutorial; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.parse....
29.545455
72
0.66906
ae5bde53ec28bedbae6737f577f59afb83416f35
3,465
package Project; import java.util.Scanner; /** * * @author victoriaswindle */ public class tabulator { private static int WingsOrder = 0; private static int FriesOrder = 0; private static int wingTotal = 0; private static int friesTotal = 0; private final static double wingPrice = ....
25.858209
83
0.572294
e1472f1b5a5c54e6227fa79cdd32ebb1527366e1
11,890
package org.esupportail.esupsignature.web.controller.user; import org.esupportail.esupsignature.entity.SignBook; import org.esupportail.esupsignature.entity.User; import org.esupportail.esupsignature.entity.Workflow; import org.esupportail.esupsignature.entity.enums.SignType; import org.esupportail.esupsignature.excep...
49.3361
213
0.653659
a612df6f6853b396ee44382d048365f03c887dcb
5,220
/* * Licensed to STRATIO (C) under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. The STRATIO (C) licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file...
41.76
120
0.689464
70411e56f1b0211a51749ee588018a973d2de735
2,489
// Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.rendering.primitives; import org.joml.Vector3f; import org.terasology.engine.rendering.assets.mesh.Mesh; import org.terasology.engine.rendering.assets.mesh.StandardMeshData; import org.terasology.engine.ut...
41.483333
87
0.562475
d817ac921a227cbace66841460cd844fa6a226b5
1,320
package com.tappx.a; import android.content.Context; import com.tappx.sdk.android.TappxPrivacyManager; public final class o2 { private static volatile o2 c; /* renamed from: a reason: collision with root package name */ private final Context f537a; private final m2 b = new m2(); private o2(Cont...
20.307692
67
0.487879
0b191d27c3d63b235ae01a519e243b220ae3e23d
16,915
/* * Copyright (c) 2003-2016, KNOPFLERFISH project * 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 ...
33.695219
100
0.628791
06e58493e60d3d450974fa2576a39312820b52a8
1,384
package de.immomio.mailsender; import de.immomio.config.ApplicationMessageSource; import lombok.extern.slf4j.Slf4j; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.exception.VelocityException; import org.apache.velocity.tools.generic.DateTool; impor...
27.68
93
0.717486
0ec848e959c218abcc1ef8cd6cff00bbb519fe82
3,370
/* * (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...
24.779412
114
0.64184
9f99414748028cd60203b29772a9953ca7099c3e
1,201
package com.xeiam.xchange.cryptsy.dto.marketdata; import java.util.List; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; /** * @author ObsessiveOrange */ @JsonIgnoreProperties(ignoreUnknown = t...
22.660377
190
0.729392
88c6a02c3e8a3c86379eafa509451b464a9923d1
3,276
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CliSyntax.PREFIX_DATE; import static seedu.address.logic.parser.CliSyntax.PREFIX_EXERCISE_WEIGHT; import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME...
44.876712
118
0.75641
0fdb7ea40d668f80acc32c587c98108f9cbd17d7
9,054
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
39.537118
99
0.744312
e0fed36be862c37c7dc447fb5fa44244859f33bd
1,021
package id.franspratama.geol.view; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.poi.ss.usermodel.Workbook; import org.springframework.web.servlet.view.document.AbstractXlsxView; import id.franspratama.geol...
32.935484
107
0.799216
78c5bb2d21fd7a559468d110434aebe2c426c0a0
65,162
/** */ package top.artifact; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import top.base.BasePackage; /** * <!-- begin-user-doc --> * The <b>Package</b> for the model. * It contains accessors for the...
28.233102
148
0.640496
9e78724f0fbd90df7dfa60b3c9e7f49893143d06
2,286
package com.hrLDA.doc; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.poifs.filesystem.POIFSFileSystem; ...
32.197183
100
0.547244
ab378871f6726850f8677bf45dac2f1d93aedaad
778
package chapter2.project; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Scanner; public class CountWords { public static HashMap<String, Integer> counts(List<String> listString){ HashMap<String, Integer> retHashMap = new HashMap<String, Integer>(); for (String text...
24.3125
72
0.683805
bfb1b1bf1ba5c9743db28ed48acce59a32de43ee
1,862
package br.com.caelum.eventos.dominio; import static java.util.Arrays.asList; import java.util.List; public class Agenda { private final ListaDePalestras listaDePalestras; public Agenda(ListaDePalestras palestras){ this.listaDePalestras = palestras; } public List<Trilha> prepararTrilhas() { SessaoDaManh...
31.559322
86
0.782492
8fb8ad2c7f4482109e8167393ac6faca45f50ef1
211
package com.github.jszeluga.generators; public abstract class AbstractGenerator<T> implements Generator<T> { @Override public void initialize() throws Exception { //stub implementation } }
21.1
68
0.720379
4f9613665686796ce0bf11e6ecab4179e3ec83da
309
package com.app; import org.junit.Test; import org.springframework.test.context.web.WebAppConfiguration; import static org.junit.Assert.assertTrue; @WebAppConfiguration public class AppTests extends BaseTest { @Test public void contextLoads() { assertTrue("Context Loads", true); } }
18.176471
64
0.7411
0eccc9f741758cd18207fea2e67bb009e5529f17
1,341
/* * @lc app=leetcode.cn id=836 lang=java * * [836] 矩形重叠 */ // @lc code=start class Solution { public boolean isRectangleOverlap(int[] rec1, int[] rec2) { Rectangle recA = new Rectangle(rec1); Rectangle recB = new Rectangle(rec2); if (recA.isValid() || recB.isValid()) { ret...
21.629032
71
0.552573
c61eea0baf7111986bf9f5ef840c0b6ee1835ff4
939
package PruebasColecciones; import java.util.ArrayList; /** * Material del libro Big Java, Student Edition - http://bcs.wiley.com/he-bcs/Books?action=sitemap&itemId=0471697036&bcsId=2291 * ¡Lo tenéis en la biblioteca! * This program tests the ArrayList class. */ public class ArrayListTester { public static ...
32.37931
127
0.691161
0f8b5aecfc9f54a3cc32389f589980ff61b6e5a4
1,811
package multithreading.threads; import java.io.BufferedInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; /** * @author Bischev Ramil * @since 2020-06-10 * Download file with speed limit. * Limit on bytes. */ public class Wget { public static void main(String[] arg...
36.22
114
0.575925
922b096108d81a548a8bba1bb9d50498090f095c
1,251
package com.hencoder.hencoderpracticedraw2.practice; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import androidx.annotation.Nullable; import android.util.AttributeSet; import android.view.View; public class Practice09StrokeCapView extends View { Paint paint = new...
26.0625
101
0.678657
913d094134c634aa0aa4b5dd06d9403febbcfd65
4,543
package __orm__; public class Constants { public static final String DEVICE_STATE_IDLE = "i"; public static final String DEVICE_STATE_LOCKED = "l"; public static final String DEVICE_STATE_RUNNING = "r"; public static final String DEVICE_STATE_ERROR = "e"; public static final String DEVICE_STATE_DO...
32.219858
75
0.691834
cbc17b295fffeb74caac9eb3477e3f732870924a
2,299
/** Copyright by Barry G. Becker, 2000-2011. Licensed under MIT License: http://www.opensource.org/licenses/MIT */ package com.barrybecker4.game.twoplayer.common.search.strategy.integration; import com.barrybecker4.game.twoplayer.common.TwoPlayerMove; import com.barrybecker4.game.twoplayer.common.search.Progress; /*...
37.080645
115
0.648543
0999a1b1a08fb41a2ef53264d89c2f65642a2c17
9,550
package edu.ithaca; import java.util.*; import edu.ithaca.QualatativeStats.*; public class EnemyRecommenderReflex { public Enemy recommendEnemy(Party party){ //QUANT STAT: moveSpeed, AC, hp, con, str, wis, intel, dex, cha int partySize = party.getPartySize(); int combinedMS = 0; ...
50.263158
184
0.686597
3d897e343a0af0fa754f26958ad879512426f8c8
62,164
package org.opensrp.web.rest; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.module.SimpleModule; import com.faster...
50.457792
208
0.701194
29abfdf2979b9e7f23122285030b602a1db1dd6a
635
package com.stc.trawl.voice.data.preprocess; import com.stc.trawl.voice.data.dto.PreprocessorResultDto; import lombok.AllArgsConstructor; import lombok.Data; import java.io.Serializable; import java.net.URI; import java.util.List; @Data @AllArgsConstructor public class SamplerData implements Serializable { priva...
25.4
71
0.770079
8cafed643c79efcef438d6cf15b83f894730fc8c
247
package info.globalbus.oraclewrapper; import java.util.List; public interface ProcedureCaller<T> { String OUTPUT_PARAM = "output"; String INPUT_PARAM = "input"; List<T> mapList(Object... input); T mapObject(Object... input); }
19
37
0.696356
cbf1d26bbb942043649f193bd1f74a685af21fb4
989
package com.example.web.servlet.threads; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOExcepti...
30.90625
113
0.700708
40e4d8817d61a18e65dda804cd5aacf98f112672
57,487
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: crypto/models.proto package crypto; public final class Models { private Models() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( co...
32.663068
93
0.64418
e48e8e5c1b0c58dcce21de435bc486a7d848c8dd
1,862
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
31.559322
80
0.73362
a400afd51f94db8fdd4025b5965b9b768ba73f9b
5,698
/* * Copyright (c) 2017 Kiall Mac Innes <kiall@macinnes.ie> * * 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 ...
38.5
106
0.620393
6c64801499336df7f377aaed7ea37beefb978121
7,133
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.classlookup; import static com.android.tools.r8.utils.codeinspector.Matchers...
37.740741
99
0.722697
cd04c335d2e8496b34e81da6ea5fb444c3141e16
3,451
package cronapi.rest; import java.io.File; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.lang.management.ManagementFactory; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servle...
36.326316
141
0.700377
9597cf24ebf6c768f06e351d9388f5d3b99683f8
244
package com.github.mikesafonov.smpp.core.exceptions; /** * @author Mike Safonov */ public class ResponseClientBindException extends RuntimeException { public ResponseClientBindException(String message) { super(message); } }
20.333333
67
0.741803
6e502770ad51feee93b25d595c84964b91a8a849
600
/** * A grafikus valtozathoz tartozo Main osztaly, mely tartalmazza a main() fuggvenyt. */ public class Main { public static void main(String[] args) { View view = new View(); Game game = new Game(); GameMap gameMap = new GameMap(); Timer timer = Timer.instance(); timer.setG...
25
84
0.596667
3bdf7bcd5045710a670181278b4359c33e457566
5,514
package echodot.mode.listen; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import javax.sound.sampled.AudioFileFormat; import javax.sound.sampled.AudioFormat; import javax.sound....
36.76
87
0.551505
659831f9c7e359d7bed3a222b403881a8461ba46
253
package ru.job4j.professionsuse; public class House { int height; int lenght; int width; public House(int height, int lenght, int width) { this.height = height; this.lenght = lenght; this.width = width; } }
18.071429
53
0.604743
081dcf62ab0b4bfe31a640c4b2e9fe2a540cf831
445
package io.microservices.demo.referencemanagement.repository; import io.microservices.demo.referencemanagement.domain.PaperCollectionId; import org.springframework.data.jpa.repository.*; import org.springframework.stereotype.Repository; /** * Spring Data repository for the PaperCollectionId entity. */ @SuppressWa...
29.666667
93
0.833708
1f3a31d7418ad6e58768f70042421a457ce4a373
880
import java.util.Scanner; /** * Created by George-Lenovo on 4/5/2017. */ public class VowelOrDigit { public static void main(String[] args) { Scanner in = new Scanner(System.in); char ch = in.next().charAt(0); if (isCharVowel(ch)) { System.out.println("vowel"); } else...
27.5
175
0.5125
22c28ae23f4c3a2ac7f0a9fd78f10fe154f55dcf
9,818
package com.luneruniverse.minecraft.mod.nbteditor.util; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.function.Predicate; import com.google.gson.JsonParseException; import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.brigad...
32.61794
188
0.656447
ebc7e487603fd4c049aa4fc4d01eaf8fc9d0cafc
762
package ca.bc.gov.educ.api.edx.repository; import ca.bc.gov.educ.api.edx.model.v1.EdxActivationCodeEntity; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Optional; import java.util.UUID; @Repository public interf...
38.1
127
0.862205
3abd6af96201e42590c212bfb1dc013bfab0c9e3
204
package com.works.repositories; import com.works.model.Vendor; import org.springframework.data.jpa.repository.JpaRepository; public interface VendorRepository extends JpaRepository<Vendor,Integer> { }
22.666667
73
0.833333
a005b06a81d30ab48dc972850adfb293b012bfc1
4,806
package ui; import java.util.List; import dao.PosedujeDAO; import model.Klijent; import model.Vozilo; import utils.PomocnaKlasa; public class PosedujeUI { private static void ispisiMeni() { System.out.println("******************************************************************************************************...
31.618421
130
0.608406
780a3b5a6aab9ffecb2438d24334ded828570005
713
package asch.io.wallet.activity; import android.os.Bundle; import android.support.annotation.Nullable; import asch.io.base.util.ActivityUtils; import asch.io.wallet.R; import asch.io.wallet.view.fragment.AccountInfoFragment; /** * Created by kimziv on 2017/12/11. */ public class AccountInfoActivity extends TitleT...
28.52
107
0.764376
3d427f133dcb2e6734c57fdfcd4912e977c09832
223
package net.objectlab.kit.util; public class SampleStandardDeviation extends PopulationStandardDeviation { @Override protected long getDataPointsForCalc() { return super.getDataPointsForCalc() - 1; } }
24.777778
74
0.748879
b7d8b0260e1ae96e2cbc746e2519f703fa1873d7
266
package runtime; /*** * @description: System.getProperty( ) method * @author rui.chow * @date 2020/12/10 */ public class ShowUserDir { public static void main(String[] args) { System.out.println(System.getProperty("user.dir")); } }
14.777778
59
0.620301
b06ce170f4d1236786a730ef2dbb065066ff5eaf
423
package ca.wescook.nutrition.proxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; public interface IProxy { void preInit(FMLPreInitializationEvent event...
35.25
70
0.836879
320dd079aa99ac75167b3176ad5c5b552aaa956d
13,597
package com.tdlzgroup.educasa.Inicio.InicioFragments; import android.Manifest; import android.app.Fragment; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.B...
41.966049
222
0.615798
5ad1358a92ce3034f14ac2f3133443a0963cf62c
343
package cn.com.allunion.common.validation; /** * 验证组接口 * @author yang.jie * @email yang.jie@all-union.com.cn * @date 2016/5/27. * @copyright <url>http://www.all-union.com.cn/</url> */ public interface ValidationGroup extends Validation { /** * 设置验证未通过提示 * @return 验证未通过提示 */ void setErrorTi...
20.176471
53
0.650146
50f43ffaf5e00d46d36cf2151de3d1dd43ac40fa
25,575
/* * Copyright 2014 gitblit.com. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
34.843324
130
0.677419
e70d3f1e667c90d73a7274ca7ec44c381d87e921
1,765
/* * 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 co.edu.uniandes.csw.mascotas.entities; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence....
19.395604
79
0.608499
64502a5c0256ba2629baafa25fecea24057411c0
2,234
/* * 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...
39.192982
109
0.718442
70582a5dd5ec252da9675f63da01f0393a1c2d32
2,918
package crazypants.enderio.machine.monitor; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.network.INetworkManager; import net.minecraft.network.packet.Packet; impo...
33.54023
124
0.736121
48a6dc252a73bc3cf1dc26b7ea2832c4b92e4c09
3,878
/* * Copyright 2003-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
34.936937
133
0.753739
3e9d1a092b28fa765ff856973386b72f548ef333
14,493
/* * 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 ...
46.156051
130
0.695094
6c01e73fbcf4a7c67fc2c9c4d7bea54fa465ae4e
148
package zy.es.mapping.type; public class NumberRange { public Number gte; public Number lte; public Number gt; public Number lt; }
16.444444
27
0.689189
24ba5fc7f01fd6572874ec869f133ed6464a1062
25,565
/* * Copyright (C) 2009 University of Washington * * 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 ...
39.945313
138
0.595658
7d35b1be9f4e7263a442f21f45a5a886c4b6523a
1,972
/** * Copyright 2021 UINB Technologies Pte. Ltd. * <p> * 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 Ap...
31.301587
75
0.648073
ce986e75dd676e9cace0fa8423a76a1b26972946
1,566
// ============================================================================ // // Copyright (C) 2006-2019 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
30.115385
126
0.600255
77965c98653ec13353c2680a4121bebf58b1b7f3
607
package com.example.jpa.service.mapper; import com.example.jpa.entity.primary.Book; import com.example.jpa.service.dto.BookDTO; import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; /** * BookMapper * * @author star */ @Service public class BookMapper { public Book conver...
20.233333
46
0.682043
a40441fcfb7ce2674bd014b3b9aa81280a8ea603
1,689
package com.remair.util; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import com.remair.log.LogUtils; /** * 项目名称:heixiu * 类描述: * 创建人:wsk * 创建时间:16/5/4 20:54 * 修改人:LiuJun * 修改时间:16/5/4 20:54 * 修改备注: */ public class ClipboardUtil { /** * 实现文...
23.458333
81
0.505033
0cd6dc134837eb049e4a48e8a756ac056d9d36a5
9,178
package org.icatproject.authn_oidc; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.security.interfaces.RSAPublicKey; import java.util.Arrays; import javax.annotation.PostConstruct; import javax.annotation...
31.431507
114
0.728154
8a535fadfcc91c064e2a7111ff4568e1195bf35b
4,134
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
34.739496
134
0.657233
f035e1bde77a6101ca9431d9ae7f1edb9e8662b0
656
package com.designpattern.cases.constructor.singleton; public class Singleton { private String objName; public String getObjName() { return objName; } public void setObjName(String objName) { this.objName = objName; } private Singleton() { } public static Singleton...
17.72973
54
0.60061
d85b2300e001a0b6a8ab61a6cc464475f693600f
440
package com.smlnskgmail.jaman.hashchecker.screenshots; import androidx.test.runner.AndroidJUnit4; import com.smlnskgmail.jaman.hashchecker.R; import org.junit.runner.RunWith; @RunWith(AndroidJUnit4.class) public class HashTypesScreenshotTest extends BaseScreenshotTest { @Override public void runTest() { ...
20.952381
65
0.720455
81489d374c201f3625e9280d3606ea57fded943a
2,167
package com.zjzy.morebit.Module.common.Dialog; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.trello.rxlifecycle2.components.support.RxAppCompatActivity; import com.zjzy.morebit....
24.348315
96
0.624365
bd5c89a5102c828a580944a4bb3e603aa0a9fe85
1,045
package com.replica; import com.graphhopper.util.Helper; import org.junit.jupiter.api.extension.BeforeAllCallback; import org.junit.jupiter.api.extension.ExtensionContext; import java.io.File; import static com.replica.ReplicaGraphHopperTest.*; import static org.junit.jupiter.api.extension.ExtensionContext.Namespace...
31.666667
117
0.719617
31669f6f535fb57a72d338a9e916e2948a02f828
631
package ru.schernigin.arrays; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Test class rotation array. * * @author schernigin. * @version 1 * @since 05.12.2016 */ public class RotationArrayTest { /** * Test mrthod rotation. */ @Test public...
21.758621
69
0.656101
21318ba2a77536c6fc862360cb4393902879d234
1,367
package com.piasy.playground.ViewCompatAnimate; import android.os.Bundle; import android.view.View; import androidx.appcompat.app.AppCompatActivity; import androidx.core.view.ViewCompat; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super...
32.547619
96
0.618873
bb7eeb5336bdb8fd9c8718c06d5f521bc2a2cc02
1,821
package com.cookpad.puree; import android.content.Context; import com.cookpad.puree.outputs.PureeOutput; import com.google.gson.Gson; import java.util.HashMap; import java.util.Map; public class PureeConfiguration { private Context applicationContext; private Gson gson; private Map<String, PureeOutput> ...
26.779412
100
0.576606
ccd755412bea702567fc6438d7eacd234717ad5b
9,889
package com.nedap.healthcare.aqlparser.util; import com.nedap.healthcare.aqlparser.AQLParser; import com.nedap.healthcare.aqlparser.exception.AQLRuntimeException; import com.nedap.healthcare.aqlparser.exception.AQLUnsupportedFeatureException; import com.nedap.healthcare.aqlparser.model.*; import com.nedap.healthcare.a...
58.514793
132
0.643442
0c2f6ec5c4b4a7535196ee3334a3a43ed0c1ceb0
2,828
package com.charles445.rltweaker.handler; import java.lang.reflect.Field; import java.util.HashSet; import com.charles445.rltweaker.RLTweaker; import com.charles445.rltweaker.config.ModConfig; import com.charles445.rltweaker.util.CompatUtil; import com.charles445.rltweaker.util.CriticalException; import com.charles44...
28.857143
135
0.769448
ddb1f4d5e8718bef20ec554acaa05941f85222f9
3,417
package iti.suitceyes.ontology; import java.io.IOException; import java.io.InputStream; import java.util.Iterator; import org.eclipse.rdf4j.model.Model; import org.eclipse.rdf4j.model.Resource; import org.eclipse.rdf4j.model.Statement; import org.eclipse.rdf4j.model.impl.TreeModel; import org.eclipse.rdf4j.model.voca...
42.185185
121
0.794849
456942c9f8e4bb4213cde8b996d34fe52066b6df
3,897
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...
16.725322
816
0.79728
1a0b5bff7e754cad1be6d3a4863e5b0c514913cf
1,342
import java.util.concurrent.Semaphore; public class Husbandman implements Runnable { public static double figure = 0.009979230876253742; public String card; public static Semaphore waffen; public static int lettering; public Husbandman(String ownership) { this.card = ownership; } public synchronize...
25.320755
64
0.628167
02adc3f1c1f38bfc8300afd4bb770282cf148208
406
import java.awt.Graphics; // Draws oval. I'm not sure what else you expected. class OvalDraw extends Oval{ public OvalDraw(){ super(0,0,0,0); } public OvalDraw(int positionXIn, int positionYIn, int widthIn, int heightIn){ super(positionXIn, positionYIn, widthIn, heightIn); } public void paintComponent(Gra...
21.368421
78
0.721675
f70883ad58f9e4b2a74804bd5dc95bffcc997ffa
2,479
package mage.cards.d; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.ContinuousEffectImpl; import mage.abilities.keyword.UnearthAbility; import mage.cards.Card; import mage.cards.CardImp...
30.9875
114
0.673659
f978ad33f94dceb4adfc99b3aac5986f5bd5a17a
2,296
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
35.323077
137
0.760453
08628c888b84ffe6c4dc52d2e9b0196dcda0fde0
694
package br.com.zupacademy.kleysson.mercadolivre.dto.request; import com.fasterxml.jackson.annotation.JsonCreator; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import javax.validation.constraints.*; public class LoginRequest { @NotBlank @Email private String ema...
24.785714
87
0.736311
029f18815d99cf1acdde7fed984bf21d907ad423
587
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package chapter06.command; import de.lessvoid.nifty.controls.ConsoleCommands.ConsoleCommand; import chapter06.controller.NiftyController; /** * * @author reden */ public class HideCommand implements Con...
22.576923
66
0.688245
59dfcd6759d07d6e4118c7760913bd161970f666
543
package com.github.glusk.srp6_variables.wow; import com.github.glusk.caesar.Bytes; import com.github.glusk.caesar.Hex; /** WoW Test Vector: session key (K). */ public final class WoWSessionKey implements Bytes { /** Pre-set constant that represents this variable. */ private static final Bytes VALUE = ...
27.15
58
0.668508
cd0053578cdc66c04d112cdb2cf9b4806b16e2ff
477
package uo.ri.ui.admin; import alb.util.menu.BaseMenu; /** * Menu principal del administrador de la base de datos * * @author UO250999 * */ public class MainMenu extends BaseMenu { public MainMenu() { menuOptions = new Object[][] { { "Administrador", null }, { "Gestión de mecánicos", MecanicosMen...
19.875
62
0.658281
53acedc353f7b5aadfb9513f910d68c638fc91d2
6,893
/* * Copyright 2017-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
31.331818
105
0.721166