blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
132
path
stringlengths
2
382
src_encoding
stringclasses
34 values
length_bytes
int64
9
3.8M
score
float64
1.5
4.94
int_score
int64
2
5
detected_licenses
listlengths
0
142
license_type
stringclasses
2 values
text
stringlengths
9
3.8M
download_success
bool
1 class
57abe7b63e2928b35f2677a5d9276f6a960faa46
Java
mabingteng/ssh2_test
/src/com/jialin/service/AdminManagerImp.java
UTF-8
979
2.203125
2
[]
no_license
package com.jialin.service; import javax.annotation.Resource; import com.jialin.dao.IAdminDao; import com.jialin.dao.IPopulationDao; import com.jialin.entity.Admin; public class AdminManagerImp implements IAdminManage { @Resource private IAdminDao aDao; public IAdminDao getaDao() { retur...
true
19e1acaa19b509a4679e7c64887da27796d5d77f
Java
veriktig/scandium
/old-external/felix/converter/schematizer/src/main/java/org/apache/felix/schematizer/impl/SchematizerImpl.java
UTF-8
16,549
1.789063
2
[ "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
/* * 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 ...
true
f7988b90d5aa51a37a7359722732a3bd2dc161bf
Java
KostyaKrivonos/parser
/ParserMC2/src/main/java/com/example/ParserMC2/dao/ExplorerDAO.java
UTF-8
845
2.234375
2
[]
no_license
package com.example.ParserMC2.dao; import com.example.ParserMC2.entity.FullEntity.Explorer; import com.example.ParserMC2.entity.LightEntity.ExplorerLight; import org.springframework.stereotype.Component; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; @Component public class Expl...
true
9cefe5c577eca380c9970111d8398d728317942d
Java
blingbling-110/Exercise-of-Java-mingrisoft
/w6_3/src/w6_3/W6_3.java
GB18030
436
2.953125
3
[]
no_license
package w6_3; import java.util.Arrays; public class W6_3 { public static void main(String[] args) { // TODO Զɵķ String arr[] = new String[] {"1995", "01", "10"}; W6_3 shower = new W6_3(); shower.showArray(arr); Arrays.fill(arr, 2, 3, "bb"); shower.showArray(arr); } public void showArray(String arr[]...
true
bb5726ff4ea601844228b5e8e0387c172a580293
Java
roman-nevr/ButtonsList
/app/src/main/java/org/berendeev/buttonslist/di/Injector.java
UTF-8
3,108
2.171875
2
[]
no_license
package org.berendeev.buttonslist.di; import android.content.Context; import org.berendeev.buttonslist.data.RepositoryImpl; import org.berendeev.buttonslist.data.datasource.DatabaseDataSource; import org.berendeev.buttonslist.data.datasource.DatabaseOpenHelper; import org.berendeev.buttonslist.domain.Repository; impo...
true
fafb54b347fd6c0e0565472f1c85ea02d987dfe9
Java
linlinjava/smalljvm
/src/smalljvm/classfile/constant/NameAndTypeConstant.java
UTF-8
547
2.421875
2
[]
no_license
package smalljvm.classfile.constant; import smalljvm.classfile.ConstantInfo; /** * Created by junling on 2017/4/6. */ public class NameAndTypeConstant implements ConstantInfo { public byte tag; public short name_index; public short descriptor_index; public static final int LENGTH = 5; public by...
true
7245872ecd86aaffc2a8004a3ca7a9b8cdc2aef5
Java
cmZoO/primary
/src/main/java/com/primary/bean/HeadTeacherKey.java
UTF-8
621
2.390625
2
[]
no_license
package com.primary.bean; public class HeadTeacherKey { private Integer classid; private Integer stuffid; public HeadTeacherKey() { super(); } public HeadTeacherKey(Integer classid, Integer stuffid) { super(); this.classid = classid; this.stuffid = stuffid; } public Int...
true
cf71c959ee1e74529331da08960b58e8e26b7626
Java
sunnyanimesh/AttendanceManagement
/src/com/Controler/AttendanceController.java
UTF-8
9,505
2.53125
3
[]
no_license
package com.Controler; import com.dao.ParentDao; import com.dao.StudentDao; import com.model.*; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.*; import javafx.sce...
true
e136299289dd1523ca55b0c1ed3e407252c3dbbc
Java
moutainhigh/tproject
/java/cn/maitian/trade/warrant/noteProcess/EnquiryPrice/po/EnquiryPrice.java
UTF-8
3,942
2.203125
2
[]
no_license
package cn.maitian.trade.warrant.noteProcess.EnquiryPrice.po; import java.util.Date; import org.hibernate.envers.Audited; import cn.maitian.trade.common.po.BasePo; /** * @Description: 询价po * * @author gdy * @version V1.0 * @Date 2019年8月6日 下午2:33:01 *************姓名*******日期******...
true
42928bbe8c90cb29a465c9215bd45ce21dc914a9
Java
VolkanGurbuz/pet-clinic
/pet-clinic-web/src/main/java/com/volkangurbuz/petclinic/bootstrap/DataLoader.java
UTF-8
2,894
2.59375
3
[]
no_license
package com.volkangurbuz.petclinic.bootstrap; import com.volkangurbuz.petclinic.model.*; import com.volkangurbuz.petclinic.services.*; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import java.time.LocalDate; @Component public class DataLoader implements CommandL...
true
6b70a6aadc13e185f92b77804ae3484f886434fd
Java
tbrg/uffs-prog1-2021-1
/aula-08-encapsulamento/ComEncapsulamentoProblema2Resolvido/Main.java
UTF-8
1,779
3.75
4
[]
no_license
// Programa que respeita o encapsulamento // Problema resolvido: Mesmo com uma alteracao na representacao dos dados da classe // Funcionario (no entanto, o tipo de retorno e os // parametros dos metodos publicos da classe nao foram // alterados), o restante do...
true
d220f7b180128ae16100e9fa03628dd898ef156b
Java
NighthawkEmpires/NECore
/src/main/java/net/nighthawkempires/core/task/HeartbeatTask.java
UTF-8
250
1.796875
2
[]
no_license
package net.nighthawkempires.core.task; import net.nighthawkempires.core.NECore; import org.bukkit.scheduler.BukkitRunnable; public class HeartbeatTask extends BukkitRunnable { public void run() { NECore.getConnector().ping(); } }
true
073b3a354f20e1f292f7b33f825e827880e9832d
Java
GillesC/agent-based-purchase-intention-generator
/src/GreenValues/GreenValues.java
UTF-8
692
1.867188
2
[]
no_license
package GreenValues; /** * Class containing different constant values for green paramaters */ public class GreenValues { /* Shop parameters */ public static double GREEN_PERCEIVED_RISK_CONTRIBUTION_PERCENTIGE = 14.8; public static double GREEN_PERCEIVED_TRUST_CONTRIBUTION_PERCENTIGE = 18; public stat...
true
eec6d01ea8f86c875b66c4f0ffbca747af7ecc82
Java
dolphin836/36Account
/API/src/main/java/dolphin/account/Constant/ExceptionConstant.java
UTF-8
432
1.8125
2
[]
no_license
package dolphin.account.Constant; /** * 异常码定义 * @author dolphin */ public class ExceptionConstant { /** * 整个应用的异常码 */ public static final String APP_EXCEPTION_CODE = "00"; /** * Common 模块异常码 */ public static final String COMMON_MODULE_CODE = "00"; /** * Member 模块异常码 ...
true
02d47b747d263a26e02922f7ad5125d1dedb8845
Java
MandBoy/java
/ChessClubCODE/src/ChessSystem/ChessSystem.java
UTF-8
2,155
3.140625
3
[]
no_license
package ChessSystem; import TeamLeaderManagement.TeamLeaderMGMT; import ChessSystem.InputHandler.*; public class ChessSystem { private LoginFH loginFH = new LoginFH(); //ChairmanMGMT charmanMGMT; //CashierMGMT cashierMGMT; TeamLeaderMGMT teamLeaderMGMT; Reads input; private boolean running; ...
true
8a8d148f9fe1eddd83e0467100d04838004e043a
Java
jawiezhu/Exercise
/OfferTest/leetcode/src/leetcode_Easy/LowestCommonAncestorofaBinarySearchTree.java
UTF-8
370
2.890625
3
[]
no_license
package leetcode_Easy; public class LowestCommonAncestorofaBinarySearchTree { public TreeNode lowestCommonAncestor(TreeNode root,TreeNode p,TreeNode q){ if(root==null) return null; if(root.val>p.val&&root.val>q.val) return lowestCommonAncestor(root.left,p,q); if(root.val<p.val&&root.val<q.val) return lowestComm...
true
5701f783f9039b16bbf5e93eeddc3ab86a321331
Java
marzwu/AC
/app/src/main/java/com/xtremeprog/xpgconnect/GConnectJNI.java
UTF-8
40,277
1.671875
2
[]
no_license
package com.xtremeprog.xpgconnect; public class GConnectJNI { static { try { System.loadLibrary("XPGConnect"); } catch (UnsatisfiedLinkError e) { System.err.println("JNI error: " + e); System.exit(1); } swig_module_init(); } public static...
true
10c64c90e945a2f3a91c0ee29023899d6103c5af
Java
syniavina/OneTwoTrip
/src/Param_value.java
UTF-8
1,488
2.859375
3
[]
no_license
// to find param up_status="200" and get value 200 in int class Param_value { int getUpStatus(String param_name, String line){ int paramPosition = line.indexOf(param_name); int start = line.indexOf('"', paramPosition); // расположение 1й ковычки int end = line.indexOf(' ', paramPosition);...
true
6a269b4276e679d5a73b38357784ac8eba9189fa
Java
zhattty/cat_eye
/guns/guns-api/src/main/java/com/stylefeng/guns/rest/persistence/model/responseVo/cinemaResponseVo/AreaVO.java
UTF-8
1,048
2.125
2
[ "Apache-2.0" ]
permissive
package com.stylefeng.guns.rest.persistence.model.responseVo.cinemaResponseVo; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.io.Serializable; /** * Created by wawawa * Date 2019/4/23 Time 15:15 */ public class AreaVO implements Serializable { private String areaId; privat...
true
c5dc08ac943a7515ba6e6f24d9f803f1df02093b
Java
dugol/SupportForm
/SupportForm/test/co/edu/udea/usi/dao/impl/MainFrameDAOImplTest.java
UTF-8
2,456
2.046875
2
[]
no_license
package co.edu.udea.usi.dao.impl; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.spring...
true
2ca7c85355ad9d2dd7deae08bffde4fb1c265a3c
Java
Emiliewu/ProjectManager_Java_Spring
/src/main/java/com/emilie/projectmanager/models/User.java
UTF-8
4,161
2.265625
2
[]
no_license
package com.emilie.projectmanager.models; import java.util.Date; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.pers...
true
012ec38ca906378cbc5a7ac92e8c26bd501efd76
Java
Nibelung0/CorujAPI
/src/main/java/org/faeterj/apicoruja/coruja/model/entity/Aluno.java
UTF-8
1,999
2.59375
3
[]
no_license
package org.faeterj.apicoruja.coruja.model.entity; import javax.persistence.*; @Entity @Table(name="aluno") public final class Aluno extends Pessoa { @Id @Column(name="aluno_id") @GeneratedValue(strategy=GenerationType.AUTO) private long id; @OneToOne(optional=true) @JoinColumn(name ...
true
9b07a711e56b2e02ff4545ef3c406092e1ec410a
Java
Daniel12122/PromRegistrationTest
/src/main/java/page/RegistrationUserPage.java
UTF-8
1,120
1.921875
2
[]
no_license
package page; import base.BasePage; import com.codeborne.selenide.Condition; import com.codeborne.selenide.SelenideElement; import org.openqa.selenium.By; import static com.codeborne.selenide.Selenide.$; public class RegistrationUserPage extends BasePage { private SelenideElement registrationSellerBtn = ...
true
5eeb76aee3de9e4ba1a46fe473b2124d7898f722
Java
chl-yanfa/chl_PM_admin
/chl_PM_admin/src/java/com/car/auction/aftersale/entity/Aftersale.java
UTF-8
3,214
2.078125
2
[]
no_license
package com.car.auction.aftersale.entity; import java.util.Date; /** * 项目名称:SDIC-Inner * 类名称:Aftersale * 类描述:售后表 * 创建人:zhangwanxin * 创建时间: 2018年9月18日 下午1:46:58 */ public class Aftersale { private String id; private String auctionId; private String auctionSetId; private Date dealTime; private...
true
1d03d1500e77af9f9cc59d7baa9be6bd6f9c1dc3
Java
Dhanam77/Data-Structures-and-Algorithms
/src/Stacks/CustomStack.java
UTF-8
927
3.46875
3
[]
no_license
package Stacks; class CustomStack { int top = -1; int[] arr; int maxSize; public CustomStack(int maxSize) { arr = new int[maxSize]; this.maxSize = maxSize; } public void push(int x) { if(top == maxSize - 1) { return; ...
true
9cfc36d354ba4d675d9a54e9c9494741b825d63d
Java
liviniya/FLED
/src/main/java/com/moroz/fled/util/ImageTransformer.java
UTF-8
1,237
3.4375
3
[]
no_license
package com.moroz.fled.util; /* * Created by : Oksana_Moroz * Created at : 11-04-2016 */ import static com.moroz.fled.util.CheckerUtil.checkIfRedGreenAndBlueAreEquals; import java.awt.*; import java.awt.image.BufferedImage; public class ImageTransformer { public BufferedImage toGrayscaleImage(BufferedImage image...
true
09d2173efda7fb0550add9f7e45f3e853a26ee33
Java
DriesDeBackker/dream-eval
/Delay/src/main/java/evalapp/graphgenerator/GraphGenerator.java
UTF-8
3,163
2.84375
3
[]
no_license
package evalapp.graphgenerator; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Random; import java.util.Set; import evalapp.master.Config; public class GraphGenerator { private DependencyGraph graph; private Random r; public GraphGenerator(long seed) { this.r = ne...
true
b20a7f45d37dbc62f2df0bb05e77ab2db69deb6c
Java
pezuca/repouniversity
/src/main/java/com/repouniversity/web/utils/HTTPSessionManagerUtil.java
UTF-8
1,701
2.703125
3
[]
no_license
package com.repouniversity.web.utils; import javax.servlet.http.HttpServletRequest; /** * @author Federico Tray */ public class HTTPSessionManagerUtil { public static String ATTR_LOGIN = "login"; private HTTPSessionManagerUtil() {} // Utility class /** * Gets an attribute from the request sessi...
true
d4e8ecad6d2e26674e546b985df6c899e1f44ea2
Java
imrankhurram/QuotationWebsiteCurrent
/src/com/nextcontrols/bureaudao/IRemortMonPRecordingServiceDAO.java
UTF-8
716
1.914063
2
[]
no_license
package com.nextcontrols.bureaudao; import java.util.List; import com.nextcontrols.bureaudomain.RemortMonPRecordingService; public interface IRemortMonPRecordingServiceDAO { public List<RemortMonPRecordingService> getRemortMonPRecordingsList(String pCountry) ; public void addRemortMonPRecording(int pnumber...
true
3342e0f0129264e4f99119c08ed16c8cdf8aa94a
Java
1013764208/Java
/lesson16/src/Test15/ProductTest.java
UTF-8
3,092
3.78125
4
[]
no_license
package Test15; /** * @author HXS * @create 2021-02-25 14:09 */ /* 经典例题:生产者/消费者问题 生产者(Productor)将产品交给店员(Clerk),而消费者(Customer)从店员处取走产品, 店员一次只能持有固定数量的产品(比如:20),如果生产者试图生产更多的产品,店员会叫 生产者停一下,如果店中有空位放产品了再通知生产者继续生产;如果店中没有产品了,店员 会告诉消费者等一下,如果店中有产品了再通知消费者来取走产品。 分析: 1. 是否是多线程问题 ? 是,生产者线程,消费者线程 ...
true
82221f5cf11f347135901aa31f3c614f55d6b78f
Java
googleapis/java-pubsublite
/proto-google-cloud-pubsublite-v1/src/main/java/com/google/cloud/pubsublite/proto/PublisherProto.java
UTF-8
10,465
2.171875
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
true
1376a990ed5d6e3698fe0b970816bac2cd963b02
Java
pulumi/pulumi-azure
/sdk/java/src/main/java/com/pulumi/azure/storage/outputs/GetPolicyRuleAction.java
UTF-8
3,490
1.882813
2
[ "BSD-3-Clause", "MPL-2.0", "Apache-2.0" ]
permissive
// *** WARNING: this file was generated by pulumi-java-gen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package com.pulumi.azure.storage.outputs; import com.pulumi.azure.storage.outputs.GetPolicyRuleActionBaseBlob; import com.pulumi.azure.storage.outputs.GetPolicyRuleActionSn...
true
077c25a1cd6e9389824a434e6ad483f90712fdfd
Java
herrsorgenfrei/mandrillservice
/src/test/java/de/tschumacher/mandrillservice/MandrillServiceTest.java
UTF-8
4,082
1.8125
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2015 Tobias Schumacher * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
true
331d0822378af0be84335b815c97c05f8c100a31
Java
Caiit/NAO_Pilot
/NAO_Pilot/app/src/main/java/nl/mprog/nao_pilot/MainActivity.java
UTF-8
8,566
2.171875
2
[]
no_license
package nl.mprog.nao_pilot; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.nsd.NsdManager; import android.os.Handler; import android.os.Message; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.os.Bundle; import android....
true
f475090e5f797a429cd30d7997204ac4f877e56b
Java
CZwwww/JAVA
/javase1/api/src/com/xms/jdk8/InsatntDemo.java
UTF-8
489
2.609375
3
[]
no_license
package com.xms.jdk8; import java.time.*; /** * @author czw * @create 2021-06-28-上午 9:19 */ public class InsatntDemo { public static void main(String[] args) { Instant i1 = Instant.now(); Instant i = Instant.ofEpochSecond(0); OffsetDateTime offsetDateTime = i1.atOffset(ZoneOffset.MAX);...
true
86086f4b0d35a0770c4d218a7f38412c03a26a23
Java
h183502/dat110public
/week6/CloudMQTT-iotthreads-exercise/src/no/hvl/dat110/display/DisplayDevice.java
UTF-8
453
2.765625
3
[]
no_license
package no.hvl.dat110.display; public class DisplayDevice extends Thread { public void run() { System.out.println("Display started"); // TODO try { // Make a new instance of MQTTSubClient while (true) { // use the sub instance to get the temperature // Print the tem...
true
edc6de5d6c4dc296277e59feadf98c4edb2d5d6a
Java
nicogranuja/jmissilecommand
/Missile command/src/acabativa/game/missiled/model/elements/AbstractComplexElement.java
UTF-8
921
2.8125
3
[]
no_license
package acabativa.game.missiled.model.elements; import java.awt.Point; import java.util.ArrayList; import java.util.List; public abstract class AbstractComplexElement implements GameElement{ List<AbstractSimpleElement> simpleElements = new ArrayList<AbstractSimpleElement>(); int maxWidth = 0; int maxH...
true
44450ee2d016f40cce8cab961b4effb7bd9eee84
Java
ModProg/LightOverlay
/fabric/src/main/java/me/shedaniel/lightoverlay/fabric/mixin/MixinClientConnection.java
UTF-8
1,774
2.078125
2
[ "Apache-2.0" ]
permissive
package me.shedaniel.lightoverlay.fabric.mixin; import me.shedaniel.lightoverlay.fabric.LightOverlay; import net.minecraft.network.ClientConnection; import net.minecraft.network.Packet; import net.minecraft.network.listener.PacketListener; import net.minecraft.network.packet.s2c.play.BlockUpdateS2CPacket; import net.m...
true
0ca1f366a47acc07767015bc95b4b7f5eb05005a
Java
pimpu/android
/floc_github/Floc/app/src/main/java/com/cleanslatetech/floc/activities/SelectInterestActivity.java
UTF-8
1,599
1.9375
2
[]
no_license
package com.cleanslatetech.floc.activities; import android.content.Context; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.AppCompatTextView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.G...
true
3dbd3fd24b4192acf6d4c5c1d0ec17e82494c6e9
Java
bigapple520520/bigappleui
/trunk/com.dazzle.bigappleui/src/com/dazzle/bigappleui/demo/pull2refresh/GridViewDemo.java
UTF-8
4,633
2.421875
2
[]
no_license
/* * @(#)GridViewDemo.java Created on 2014-11-21 * Copyright (c) 2014 ZDSoft Networks, Inc. All rights reserved. * $Id$ */ package com.dazzle.bigappleui.demo.pull2refresh; import java.util.LinkedList; import java.util.List; import android.app.Activity; import android.os.AsyncTask; import android.os.Bundle; im...
true
cd2f5386140f4553c5ce6cb1b81e56c3d95704d4
Java
shofujimoto0617/Java
/src/Greeting.java
UTF-8
163
2.28125
2
[]
no_license
@FunctionalInterface public interface Greeting { public String hello(String word); Greeting greeting = (String word) -> { return "こんにちは"; }; }
true
4cbd43672c29eba91a66b55941d491d70d25c43c
Java
Sonith/Restaurant
/webserver/src/rest/api/dao/TimingsDAO.java
UTF-8
4,932
2.578125
3
[]
no_license
package rest.api.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.joda.time.DateTime; import org.joda.time.LocalTime; import org.joda.time.format.DateTimeFormat; import org.joda.tim...
true
c97ee9f7b839921e2f5d35633a4eb570fff08278
Java
Potatka/CurrencyConverter
/src/controller/Controller.java
UTF-8
4,795
2.78125
3
[]
no_license
package controller; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.Alert; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.VBox; import model.Currency; import model.CurrencyKind; public class Controller { private Currency...
true
6a136839127413ca3782ec228b35a5ef140cfb59
Java
woshixuyuguo/bfp
/src/main/java/org/jeecgframework/workflow/model/diagram/Graph.java
UTF-8
1,898
2.5
2
[]
no_license
/* */ package org.jeecgframework.workflow.model.diagram; /* */ /* */ import java.util.ArrayList; /* */ import java.util.List; /* */ /* */ public class Graph /* */ { /* */ private Node initial; /* */ /* */ public Node getInitial() /* */ { /* 10 */ return this.init...
true
f607fe44b756b67619ee80c8b811259b21a3b1ed
Java
araqs/chef
/src/main/java/com/chef/products/dairy/Yogurt.java
UTF-8
174
2.40625
2
[]
no_license
package com.chef.products.dairy; public class Yogurt extends Dairy { public Yogurt(String name, int calorie, int weight) { super(name, calorie, weight); } }
true
4627e35a972abcdcde183eb4cac0fb884e0008cb
Java
LDCSistemas/dbavacina
/SistemaControleVacinacaoWeb/src/java/br/com/Bean/ProfissaoBean.java
UTF-8
2,293
2
2
[]
no_license
/* * 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 br.com.Bean; import br.com.Dao.HibernateDao; import br.com.Dao.InterfaceDao; import br.com.Model.Profissao; import b...
true
b99b6ec856b7495a8cb1137d7b7a9cd91755b852
Java
henriwasd/CatchIn-market-auto
/CatchInTeste/test/br/com/entra21java/dao/ColaboradorDAOTest.java
UTF-8
5,389
2.375
2
[]
no_license
/* * 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 br.com.entra21java.dao; import br.com.entra21java.bean.ColaboradorBean; import br.com.entra21java.bean.PessoaBean; import br.c...
true
87d29f0e58eafcb4f3a6278058b01d56fc6849b4
Java
daddybh/iOffice
/src/com/arcsoft/office/ss/model/drawing/TextParagraph.java
UTF-8
1,964
2.453125
2
[ "Apache-2.0" ]
permissive
/* * 文件名称: TextParagraph.java * * 编译器: android2.2 * 时间: 上午9:10:21 */ package com.arcsoft.office.ss.model.drawing; import com.arcsoft.office.simpletext.font.Font; import com.arcsoft.office.ss.model.style.Alignment; /** * TODO: 文件注释 * <p> * <p> * Read版本: Read V1.0 * ...
true
bf6005bcdac32a72a57e3b9eb7bbc043094e530c
Java
chilloutcyka/Tower-Defense-V1.1
/src/Store.java
UTF-8
954
2.28125
2
[]
no_license
import java.awt.*; public class Store { public static int shopWidth = 8; public static int buttonSize = 52; public static int cellSpace = 2; public static int awayFromRoom = 29; public Rectangle[] button = new Rectangle[shopWidth]; public Store() { define(); for(int i=0; i< button.length; i++) { butt...
true
40bd66abe0d32ea69dd254c7719597939a4dc235
Java
deborah-powers/myUtils
/Text.java
UTF-8
355
2.84375
3
[]
no_license
package myUtils; public class Text{ public String text; public String subString (String wordStart, String wordEnd){ int d= text.indexOf (wordStart); int f= text.indexOf (wordEnd, d); d+= wordStart.length(); String subStr = text.substring (d,f); return subStr; } public Text (String text){ this.text = tex...
true
e646da7d393f0f2aed956dd10d66a0d18a5e9eeb
Java
jackwickham/olep
/src/main/java/net/jackw/olep/message/transaction_request/TransactionRequestMessage.java
UTF-8
875
2.15625
2
[ "MIT" ]
permissive
package net.jackw.olep.message.transaction_request; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.google.errorprone.annotations.Immutable; import java.util.Set; @JsonTypeInfo( use = JsonTy...
true
b3f329e1addde73827c83125a9cbe91ad31e3c4c
Java
tanushreekothari/CloudBar
/src/main/java/presentationLayer/ContactServlet.java
UTF-8
1,717
2.375
2
[]
no_license
package presentationLayer; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import busines...
true
1f35f47d28f10bdbeba134c19d09ff8a59afe73b
Java
johnffracassi/jcfx
/fx/trunk/fx-backtest/src/main/java/com/jeff/fx/backtest/chart/DateTranslatingFormat.java
UTF-8
895
2.4375
2
[]
no_license
package com.jeff.fx.backtest.chart; import org.jfree.data.xy.DefaultHighLowDataset; import java.text.DateFormat; import java.text.DecimalFormat; import java.text.FieldPosition; import java.text.SimpleDateFormat; import java.util.Date; public class DateTranslatingFormat extends DecimalFormat { private ...
true
263b6972145aa6324184289a7cd57bfa6578355a
Java
KyohKatha/krakatoa2010
/Krakatoa/src/AST/Expr.java
UTF-8
370
2.0625
2
[]
no_license
/* * *Integrantes * * Bruno Antunes da Silva 317292 * Katharina Carrapatoso Garcia 317144 * */ package AST; abstract public class Expr { abstract public void genC( PW pw, boolean putParenthesis ); abstract public void genKrakatoa(PW pw, boolean putParenthesis); ...
true
237095179025b7a00e00f2b3c5fdc7d7b3a607f3
Java
ecaroa/Ada
/OPP/ChallengeHarryPotter/ChallengeHP/src/app/hechizos/VulneraSanentur.java
UTF-8
366
2.015625
2
[]
no_license
package app.hechizos; /** * VulneraSanentur */ public class VulneraSanentur extends HechizoCuracion{ public VulneraSanentur() { this.esOscuro = true; this.nivelCuracion = 40; this.nivelDanio = 0; this.nivelEnergia = 18; this.nombre = "Vulnera Sanetur"; this.tipoH...
true
b1ea85c8ee36e361c5cf102b3337a449d3266443
Java
flyingeaglet/texada
/traces/quarry/Counter/Counter.java
UTF-8
827
3.25
3
[ "BSD-3-Clause" ]
permissive
public class Counter { private int size; public Counter(){ size = 0; } public void add(){ size++; } public void remove(){ size--; } public static void main(String[] args) { // Test 1; Counter c1 = new Counter(); c1.add(); c1.remove(); ...
true
d157e34a889c211f05edd15cc3916bee076cd4b6
Java
aistis-/strategy-template-design
/src/strategy/Herbivorous.java
UTF-8
233
2.234375
2
[ "MIT" ]
permissive
package strategy; public class Herbivorous implements Rapacity { public int foodComsuptions() { return 3; } public String getFood() { return "herbals"; } public String getEatingHabits() { return "Herbivorous"; } }
true
74ed1c60b23535247a657c11879db12970a4b088
Java
RWColgate/IdeaProjects
/2017.12.22_ReservingTicket/src/KsiazkaBibliotekazad7/Main.java
UTF-8
870
3.171875
3
[]
no_license
package KsiazkaBibliotekazad7; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) { List<Ksiazka> ksiazki = new ArrayList<>(); ksiazki.add(new Ksiazka("Biblia", "1423", "1956", "Luter")); ksiazki.add(new Ksiazka("Wiedzmin", "1432"...
true
20ff253a8700a0914d72f8059ffedfd63966730b
Java
dwifdji/real-project
/crawler/crawler-common/src/main/java/com/_360pai/crawler/common/util/ComUtils.java
UTF-8
11,626
2.234375
2
[]
no_license
package com._360pai.crawler.common.util; import com._360pai.arch.core.sysconfig.properties.SystemProperties; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import org.apache.commons.lang3.StringUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; i...
true
2928159b50e98c677e8a7767c23fa94e5029672a
Java
rajtheinnovator/Sarun0795_PopMovie
/app/src/main/java/com/example/user/app/popmovies/Movie.java
UTF-8
2,399
2.59375
3
[]
no_license
package com.example.user.app.popmovies; import android.os.Parcel; import android.os.Parcelable; import org.json.JSONException; import org.json.JSONObject; /** * Created by User on 04-01-2017. */ public class Movie implements Parcelable { private int id; private String title; // original_title privat...
true
86a762d9a04568b8fd43d86054175171ae10d68c
Java
chicojr/psc20151
/PSC/Atividades/Ativ09-CadastroClientes-Solucao/src/dados/IClienteDAO.java
UTF-8
216
2
2
[]
no_license
package dados; import dominio.Cliente; public interface IClienteDAO { public void inserir(Cliente cliente); public void atualizar(Cliente cliente); public Cliente consultarCliente(String cpf); }
true
9288d05a62646ab644967d8006a876836b70a352
Java
liuhuan2019/ssm_admin
/itcast-ssm-dao/src/main/java/com/lh/dao/ProductDao.java
UTF-8
230
1.929688
2
[]
no_license
package com.lh.dao; import com.lh.Product; import org.apache.ibatis.annotations.Select; import java.util.List; public interface ProductDao { @Select("select * from product") List<Product> findAll() throws Exception; }
true
691e6d851c6d03ceb328f0f3f1a8410973a15e70
Java
sowmyaravidas/crypto
/org.jcryptool.crypto.classic.vigenere/src/org/jcryptool/crypto/classic/vigenere/ui/VigenereWizard.java
UTF-8
1,482
2.015625
2
[]
no_license
// -----BEGIN DISCLAIMER----- /******************************************************************************* * Copyright (c) 2008 JCrypTool Team and Contributors * * All rights reserved. This program and the accompanying materials are made * available under the terms of the Eclipse Public License v1.0 which * ac...
true
14915e2b9ae6b263460a594066bcd031fea23de6
Java
pinoelefante/Mathematicously
/src/it/pinoelefante/mathematicously/activities/games/EnduranceActivity.java
UTF-8
6,001
2.3125
2
[]
no_license
package it.pinoelefante.mathematicously.activities.games; import it.pinoelefante.mathematicously.R; import it.pinoelefante.mathematicously.constants.Difficolta; import it.pinoelefante.mathematicously.constants.Giochi; import it.pinoelefante.mathematicously.generator.Domanda; import it.pinoelefante.mathematicousl...
true
8315c87572b833b9c1e7c8a744d93051a1e0c63a
Java
nwenat/CodeWarsJava
/WichAreIn/src/whildhogs/Ghost.java
UTF-8
582
3.171875
3
[]
no_license
package whildhogs; public class Ghost{ public String color; public Ghost() { int i = (int) (Math.random()*4); System.out.println(i); switch (i) { case 0: this.color = "white"; break; case 1: this.color = "yellow"; ...
true
3cf31fa0a687a1c24457f388522fc3815a743d42
Java
sureshsinghbhandari/wairAvtomaciq
/tests/picklejar/src/main/java/com/wire/picklejar/execution/PickleJarExecutionListener.java
UTF-8
2,719
2.359375
2
[]
no_license
package com.wire.picklejar.execution; import com.wire.picklejar.Config; import static com.wire.picklejar.Config.SCREENSHOT_PATH; import com.wire.picklejar.gherkin.model.CucumberReport; import com.wire.picklejar.gherkin.model.Feature; import com.wire.picklejar.gherkin.model.Scenario; import java.nio.charset.StandardCha...
true
14dd1fc479d2f2042fcfc1a28a56c9598f46bda6
Java
codingsui/tb
/tb-dubbo-sso-query-api/src/main/java/com/sty/tb/dubbo/service/impl/UserServiceImpl.java
UTF-8
723
2.171875
2
[]
no_license
package com.sty.tb.dubbo.service.impl; import com.sty.tb.dubbo.pojo.User; import com.sty.tb.dubbo.service.UserQueryService; import java.util.ArrayList; import java.util.List; public class UserServiceImpl implements UserQueryService { @Override public List<User> queryAll() { List<User> list...
true
bafacd2c02922bee9664be7f1a552f30a3bd991d
Java
iamrainius/Map
/src/com/google/android/gms/map/model/CircleOptions.java
UTF-8
1,529
2.390625
2
[]
no_license
package com.google.android.gms.map.model; import com.google.android.gms.map.LatLng; import android.os.Parcel; import android.os.Parcelable; public class CircleOptions implements Parcelable { public static final CircleOptionsCreator CREATOR = new CircleOptionsCreator(); private LatLng center; private double radi...
true
3a7d34731d02668484a1f2b0b522d53ce2771dcf
Java
jackwei/htmis
/src/com/git/business/claim/ClaimInComeServiceMgrImpl.java
UTF-8
11,090
1.820313
2
[]
no_license
/** * */ package com.git.business.claim; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.apache.ibatis.session.RowBounds; import ...
true
843a0f07a4fb21f2c92b2bb15f9a69c14c30050d
Java
sjshin000/test_skeleton_testNG
/src/test/java/testng/TestNGTest1.java
UTF-8
160
1.773438
2
[]
no_license
package testng; import org.testng.annotations.Test; public class TestNGTest1 { @Test public void testNGTest1(){ System.out.println("TestNG Test 1"); } }
true
5cb2f90296201cefc8af82d0e7bfd566b4376f51
Java
idavehuwei/bonelf
/bonelf-service-test/src/main/java/com/bonelf/testservice/config/websocket/WebSocketConfig.java
UTF-8
1,675
2
2
[]
no_license
package com.bonelf.testservice.config.websocket; import com.bonelf.testservice.core.websocket.WebSocketInterceptor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.scheduling.TaskScheduler; import org.springframework.scheduli...
true
530ba38b011286be5505fa242bfa2f43132e060e
Java
bmakarand2009/springjpa
/src/main/java/com/hwsyndrome/helloworld/dao/MessageDao.java
UTF-8
1,693
2.984375
3
[]
no_license
package com.hwsyndrome.helloworld.dao; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.stereotype.Repository; import com.hwsyndrome.helloworld.domain.Message; /** * Data Access Object (DAO) for the Message class. */ @Repository...
true
c76c864264ac6f1719e8a1634dde4c5667dc1a4d
Java
jitendray6677/user_spring
/src/main/java/com/dao/StudentDaoImpl.java
UTF-8
2,224
2.203125
2
[]
no_license
package com.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; //import java.sql.ResultSet; //import java.util.List; import java.util.List; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
true
48794d92d5d43d2ef19ba9b5f8c81ffeff8fa191
Java
archimatetool/archi
/org.eclipse.draw2d/src/org/eclipse/draw2d/ScalablePolygonShape.java
UTF-8
4,695
2.59375
3
[ "EPL-1.0", "LicenseRef-scancode-free-unknown", "MIT" ]
permissive
/******************************************************************************* * Copyright (c) 2008, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
true
d453fff2e2112a6eb768649e7628136e08903449
Java
julianmira01/servintesa
/ServiciosWebSIOT/ServiciosWebSIOT-war/src/java/modelo/datos/objetos/liquidacion/Factura.java
UTF-8
24,660
2.21875
2
[]
no_license
package modelo.datos.objetos.liquidacion; import java.io.*; import java.sql.*; import java.util.*; /** * Factura Value Object. * This class is value object representing database table L_FACTURAS * This class is intented to be used together with associated Dao object. */ /** * This sourcecod...
true
0506f9d1d824fe6c4ce4c83c1558abd383cf5afa
Java
Solodis/TestAutomation
/Selenium_WD_Basics/src/main/java/com/epam/vyacheslav_utenkov/java/lesson7/bo/message/Director.java
UTF-8
497
2.625
3
[]
no_license
package com.epam.vyacheslav_utenkov.java.lesson7.bo.message; public class Director { private MessageBuilder messageBuilder; public Director (MessageBuilder messageBuilder){ this.messageBuilder = messageBuilder; } public Message makeMessage(String addressee, String subject, String text){ messageBuilder.crea...
true
bf7bff6bf089cbebf0a1a412cbe9952192371e27
Java
amininger/abolt
/java/src/abolt/classify/ShapeGKNN.java
UTF-8
1,687
2.9375
3
[]
no_license
package abolt.classify; import java.util.*; /** A temporary hack to get shape rotation * integrated into the system. Will die when * shape classification is updated. */ public class ShapeGKNN extends GKNN { public ShapeGKNN(int k_, double p_) { super(k_, p_); } public void add(ArrayList<...
true
671ec5defba50a764e56d1f3da77e0b92408fe75
Java
ripahl/FullPipelineExample
/Test/.settings/src/test.java
UTF-8
1,641
2.25
2
[]
no_license
import org.apache.xpath.operations.String; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.ie.InternetExplorerDriver; public class test { public static void main(String[] args) { String projectLocation = System.getProperty("user.dir"); //FIREFOX /...
true
8ba751003f0d56442da8eef4bd18e6effe0e6f64
Java
xrealm/tiktok-src
/sources/com/p280ss/android/ugc/aweme/account/login/p975v2/p977ui/C22054e.java
UTF-8
5,462
1.617188
2
[]
no_license
package com.p280ss.android.ugc.aweme.account.login.p975v2.p977ui; import android.app.Activity; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.text.TextUtils; import android.util.Base64...
true
89490c55561a3b97ef86559654036c958bfc3900
Java
Rhwanxx/springboot-example
/springboot-validation/src/main/java/com/springboot/domain/City.java
UTF-8
1,554
2.296875
2
[]
no_license
package com.springboot.domain; import java.io.Serializable; public class City implements Serializable { private static final long serialVersionUID = -8759623705759904029L; private Integer cityId; private String cityName; private String cityMemo; private Integer cityLevel; private String ...
true
18d545ee97f70cd8de908816fccefd92ea680e80
Java
romanticstxj/service
/core/src/main/java/com/madhouse/platform/premiummad/rule/BaseRule.java
UTF-8
4,855
2.578125
3
[]
no_license
package com.madhouse.platform.premiummad.rule; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.regex.Matcher; import java.uti...
true
0d216076264c996739476f93f8e9d53deff0a090
Java
Sobika2531/Java-Programming-Laboratory
/Inheritance and Polymorphism/Q5.java
UTF-8
3,272
3.203125
3
[]
no_license
import java.io.*; import java.util.Date; import java.util.Scanner; class Invoice3 { Date date; String part_no; String part_des; int quant_of_item; double price_of_item; double amount; static double discountRate=0.2; Scanner sc=new Scanner(System.in); Invoice3() { part_n...
true
52f8669438d3136221de687e08c3b697af6bc802
Java
isXander/EvergreenHUD-Example-Addon
/src/main/java/co/uk/isxander/exampleaddon/elements/ExampleElement.java
UTF-8
588
2.59375
3
[]
no_license
package co.uk.isxander.exampleaddon.elements; import co.uk.isxander.evergreenhud.elements.Element; import co.uk.isxander.evergreenhud.elements.ElementData; public class ExampleElement extends Element { @Override public void initialise() { } @Override protected ElementData metadata() { r...
true
3e4a813a5c03dd925286492c677ff415368d65fb
Java
javacert/oca
/src/javaexamples/cert/miscellaneous/AccessingStaticVariablesThroughtAStandardClass.java
UTF-8
411
3.1875
3
[]
no_license
package javaexamples.cert.miscellaneous; public class AccessingStaticVariablesThroughtAStandardClass { public static void main(String[] args){ SomeClassWithAStaticVariable s = new SomeClassWithAStaticVariable(); System.out.println(s.x); // 0 System.out.println(SomeClassWithAStaticVariable....
true
8386e80fabc600c8be8affbb81e3f78f026f53af
Java
Pavtern/SolvingAlgorithms
/src/CodingBat/StringBits.java
UTF-8
1,046
3.9375
4
[]
no_license
package CodingBat;/*Given a string, return a new string made of every other char starting with the first, so "Hello" yields "Hlo". stringBits("Hello") → "Hlo" stringBits("Hi") → "H" stringBits("Heeololeo") → "Hello"*/ // //public class CodingBat.StringBits { // public String str = "Heeolol...
true
4c3e0f257b972d8f84e4e3704606f8472bad4b78
Java
xiaolinpeter/lucene-solr
/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestSolrEntityProcessorEndToEnd.java
UTF-8
12,963
1.53125
2
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown", "CDDL-1.1", "NAIST-2003", "CC-BY-SA-3.0", "LicenseRef-scancode-unicode", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-other-copyleft", "ANTLR-PD", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.0-or-later", "GPL...
permissive
/* * 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 ...
true
0175047341b1aee93d76a090b0e30072da81aece
Java
goldberg0073/Summer-2019_Java-
/src/InterviewQuestion/RemoveRepeatedWords.java
UTF-8
854
3.328125
3
[]
no_license
package InterviewQuestion; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Set; public class RemoveRepeatedWords { public static void main(String[] args) { String str="Goodbye bye bye world world world Reya is is the the best player in eye eye game"; String removeRep...
true
65d0737e0875c605436645a4d1e15c4ff59f3105
Java
AGGADNABIL/xitneppa
/project-business/src/main/java/com/tyba/appentix/business/referentiel/service/ReferentielService.java
UTF-8
2,946
1.976563
2
[]
no_license
/* * ReferentielService.java * * Copyright (c) 1990-2014 TYBASOFT, Inc. All Rights Reserved. */ package com.tyba.appentix.business.referentiel.service; import java.util.List; import com.tyba.appentix.business.referentiel.model.Personnel; import com.tyba.appentix.business.referentiel.model.ProfilAcc; import com.ty...
true
7867d699ed3a168bcfcb087d039c679fecc3c301
Java
lasseko645/ElisaTheGamebackup
/app/src/main/java/teamt/elisathegame/model/RandomWrongAnswer.java
UTF-8
406
2.171875
2
[]
no_license
package teamt.elisathegame.model; /* This purpose of this class is to randomly select a wrong answer from our database and to repeat this process until the needed 5 wrong answers have been selected */ public class RandomWrongAnswer { private int questionControlVarTemp; private String DBQuestionReferenceTemp; ...
true
cc2b9fd83ebb4cbe57798c1a624a19060be54819
Java
skh3930/taxi
/call/src/main/java/taxi/policy/PolicyHandler.java
UTF-8
1,041
2.09375
2
[]
no_license
package taxi.policy; import taxi.config.KafkaProcessor; import taxi.event.CalledTaxi; import taxi.repository.Call; import taxi.repository.CallRepository; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.stream.annotation.Stream...
true
292488c7f5f6e7be47875f5f98dc0af5c12e5163
Java
timothyolt/ShipwreckedWGen
/src/main/java/org/bytefire/plugins/shipwreckedwgen/OverworldChunkGenerator.java
UTF-8
17,361
2.390625
2
[]
no_license
package org.bytefire.plugins.shipwreckedwgen; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Random; import org.bytefire.plugins.shipwreckedwgen.biomes.BiomeGen; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Biome; imp...
true
ce109cbffa93a1eeffc5d752198136bd37eba498
Java
imgaryyang/campus
/src/com/gzzm/oa/userfile/UserFileService.java
UTF-8
12,180
2.078125
2
[]
no_license
package com.gzzm.oa.userfile; import com.gzzm.oa.cloudstorage.usercloud.UserCloudShare; import com.gzzm.platform.commons.NoErrorException; import net.cyan.commons.ext.CompressUtils; import net.cyan.commons.transaction.Transactional; import net.cyan.commons.util.*; import net.cyan.commons.util.io.CacheData; import net....
true
0272adb21cb5d6384290650bba9780178cc78d2a
Java
sdiver/industrysolution
/src/main/java/service/solutionmanagerService.java
UTF-8
1,450
1.859375
2
[]
no_license
/** * * @Title:solutionmanagerService.java * * @Package:service * * @Description:TODO * * @author shi sdiver * * @date 2017年1月12日 上午1:43:06 * * @version V1.0 * */ package service; import java.util.Date; import java.util.Map; public interface solutionmanagerService { Map<Object, O...
true
663e06635007cdbcb8da68fe0a73c65afb8b84a9
Java
qiuchili/ggnn_graph_classification
/program_data/JavaProgramData/6/2590.java
UTF-8
1,096
2.75
3
[ "MIT" ]
permissive
package <missing>; public class GlobalMembers { public static int Main() { int t; int n; int m; int i; int[][] a = new int[100][100]; int j; int k; int sum; t = Integer.parseInt(ConsoleInput.readToWhiteSpace(true)); int[] p = new int[100]; for (i = 0;i < t;i++) { sum = 0; ...
true
229d7a5e3bbe68632bf34b6c8e09042ef9be85bb
Java
anoopvs/sb-cookbook
/src/main/java/org/sb/examples/WildcardAction.java
UTF-8
3,152
2.328125
2
[ "Apache-2.0" ]
permissive
package org.sb.examples; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springbridge.action.Action; import org.springbridge.action.ActionForm; import org.springbridge.action.ActionForward; import org.springbridge.action.ActionMapp...
true
8d996e3bb1bf1af3cff8d864f3559b2f841f8729
Java
fhir-ru/fhir-ru
/tools/java/org.hl7.fhir.igtools/src/org/hl7/fhir/igtools/openapi/ServerWriter.java
UTF-8
571
1.820313
2
[ "BSD-3-Clause" ]
permissive
package org.hl7.fhir.igtools.openapi; import org.hl7.fhir.utilities.Utilities; import com.google.gson.JsonObject; public class ServerWriter extends BaseWriter { public ServerWriter(JsonObject object) { super(object); } public ServerWriter description(String value) { if (!Utilities.noSt...
true
3c947ebf6bc3658f3dd59713c8692b9920dbb4cb
Java
jwpttcg66/game-expression
/src/main/java/com/snowcattle/game/expression/impl/DivideExpression.java
UTF-8
509
2.5625
3
[]
no_license
package com.snowcattle.game.expression.impl; /** * 除法操作。 */ public class DivideExpression extends BinaryOperationExpression { private static final long serialVersionUID = -6210937060757444787L; /* (non-Javadoc) * @see com.renren.socialgame.commons.dao.config.Expression#getValue(int) */ @Ove...
true
c32597779518074cd048d6963538fc1473351309
Java
qiangli524/maintain
/src/main/java/com/ailk/model/ext/JsonResult.java
UTF-8
1,273
2.046875
2
[]
no_license
package com.ailk.model.ext; import java.util.ArrayList; import java.util.List; import java.util.Map; public class JsonResult { private MetaData metaData; private boolean success = true; private String message; private long total; private List<Map> records = new ArrayList<Map>(); private List<Map> columns...
true
fed5add1965eaf56517618ffd7af04283ad2d30c
Java
rozborsky/cv
/src/main/java/ua/cv/rozborsky/equation/interfaces/Equation.java
UTF-8
519
2.328125
2
[]
no_license
package ua.cv.rozborsky.equation.interfaces; /** * Created by roman on 18.11.2016. */ public interface Equation { void setId(int id); int getId(); double getA(); void setA(double a); double getB(); void setB(double b); double getC(); void setC(double c); double getX1(); ...
true
6e2b835a7787314ec89ca8b62bfeb3029c30321d
Java
jay0308/java-programs
/Inheritence/Child2.java
UTF-8
503
3.484375
3
[]
no_license
class Parent { Parent() { System.out.println("Constructor of Parent"); } static{ System.out.println("Static block of Parent"); } } class Child2 extends Parent { Child2() { super(); System.out.println("Constructor of Child2 "); } Child2(int x) { System.ou...
true