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
d62049d8378818580fb767e5ee1913da7a5ad1d5
Java
sablepankaj190/Spring-Projects
/SpringJdbc/src/com/hexa/client/UpdateEmployeeSal.java
UTF-8
822
2.078125
2
[]
no_license
package com.hexa.client; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.dao.EmptyResultDataAccessException; import com.hexa.dao.IDao; import com.hexa.entity.Emp; public class UpdateEmployeeSal { sta...
true
1cd2f91ee57d68701901f16415ce365b29644245
Java
1xago/twu-biblioteca-PedroSoares
/test/com/twu/biblioteca/LoggedOptionsMenuManagerTest.java
UTF-8
2,631
2.40625
2
[ "Apache-2.0" ]
permissive
package com.twu.biblioteca; import Managers.AdminOptionsMenuManager; import Managers.LoggedOptionsMenuManager; import org.junit.Test; import java.util.List; import static org.junit.Assert.assertEquals; public class LoggedOptionsMenuManagerTest { @Test public void LoggedOptionsMenuManager() { L...
true
915c7c5c56ade29211d7f1984217d6cc9d86c4c1
Java
luiz158/michael-training-samples
/src/main/java/config/xml/innerbean/InnerBeanTest.java
UTF-8
1,256
2.3125
2
[]
no_license
package config.xml.innerbean; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class InnerBeanTest { private...
true
e80f1d92f84663e8e33f91b84c82a66a08ecdb05
Java
PenghaiZhang/openEQUELLA
/Source/Plugins/Core/com.equella.core/src/com/tle/core/activecache/ActiveCacheConfigurationConverterExtension.java
UTF-8
2,235
1.90625
2
[ "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "EPL-1.0", "LGPL-2.0-or-later", "Classpath-exception-2.0", "LicenseRef-scancode-jdom", "ICU", "Apache-1.1", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "GPL-1.0-or-later", "CPL-1.0", "C...
permissive
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
true
97d9d328990e15c8d7a7a04470e4cdf3496b2b30
Java
phamquockhanh/QuanLiQuanCafe
/app/src/main/java/com/example/ribon/quanliquancafe/util/FragmentUtils.java
UTF-8
712
2.234375
2
[]
no_license
package com.example.ribon.quanliquancafe.util; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import com.example.ribon.quanliquancafe.R; /** * Created by Ribon on 07/03/2017. */ public class FragmentUtils { public stat...
true
b59cd208af57da17069781f472f6262e1dffe6cd
Java
PrasannaSM/Java
/Control statements/enhancedfor.java
UTF-8
244
3.15625
3
[]
no_license
import java.util.*; class enhancedfor { public static void main(String args[]) { String b[]=new String[5]; Scanner obj=new Scanner(System.in); for(int i=0;i<5;i++) b[i]=obj.nextLine(); for(String c:b) System.out.println(c); } }
true
961e774fb0151b5965dc8e5472489af8fc1aa2ed
Java
oalee/Aftabe
/app/src/main/java/ir/treeco/aftabe2/API/Rest/Interfaces/OnFriendRequest.java
UTF-8
197
1.585938
2
[ "Beerware" ]
permissive
package ir.treeco.aftabe2.API.Rest.Interfaces; /** * Created by al on 4/25/16. */ public interface OnFriendRequest { void onFriendRequestSent(); void onFriendRequestFailedToSend(); }
true
a3ade34185a4cd1dc05a69e2483f71266254aa25
Java
guobinhit/design-pattern
/demo/src/com/hit/math/strategy/ModelDuck.java
UTF-8
499
3.34375
3
[ "MIT" ]
permissive
package com.hit.math.strategy; /** * author:Charies Gavin * date:2017/9/17,19:54 * https:github.com/guobinhit * description:策略模式(抽象类 Duck 的具体实现类) */ public class ModelDuck extends Duck { /** * 通过无参的构造器,对行为进行初始化 */ public ModelDuck() { flyBehavior = new FlyNoWay(); quackBehavior ...
true
6adc45dd3bbb7d4c3c125f372a943a62711fa054
Java
STAMP-project/dspot-experiments
/benchmark/training/com/alibaba/json/bvt/bug/Bug_for_lenolix_5.java
UTF-8
713
1.945313
2
[]
no_license
package com.alibaba.json.bvt.bug; import SerializerFeature.WriteClassName; import SerializerFeature.WriteMapNullValue; import com.alibaba.fastjson.JSON; import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; public class Bug_for_lenolix_5 extends TestCase { public void test_for_objectK...
true
d6c3329bb0ddc87c1fd2e3095e9f72f9a7ec0d08
Java
Milfist/tdd
/calculator-service/src/test/java/com/milfist/calculator/SumTest.java
UTF-8
708
2.3125
2
[]
no_license
package com.milfist.calculator; import io.quarkus.test.junit.QuarkusTest; import org.junit.jupiter.api.Test; import javax.ws.rs.core.MediaType; import static io.restassured.RestAssured.given; import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.CoreMatchers.is; @QuarkusTest public clas...
true
3dd4b92db901a1d215d674c7273228adb3dcf7c7
Java
Aerodog/ThetaPort
/src/main/java/com/thetablock/thetaport/commands/DepatureMessage.java
UTF-8
1,509
2.453125
2
[]
no_license
package com.thetablock.thetaport.commands; import com.thetablock.thetaport.enums.Response; import com.thetablock.thetaport.services.PortServices; import com.thetablock.thetaport.utils.cmdManager.Cmd; import org.apache.commons.lang.ArrayUtils; import org.bukkit.command.CommandSender; import java.util.Arrays; import ja...
true
2299194afb9f0a5306093e69fc25f9c43537b446
Java
bd2kccd/causal-rest-api
/src/main/java/edu/pitt/dbmi/ccd/causal/rest/api/service/AuthFilterService.java
UTF-8
12,113
1.757813
2
[]
no_license
/* * Copyright (C) 2016 University of Pittsburgh. * * 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 option) any later version. * *...
true
337c119f9c0307490533fdcbde9a88a38d2c2249
Java
salespaulo/barebone
/barebone-core/src/main/java/org/ps/barebone/core/configuration/AbstractDatabaseConfiguration.java
UTF-8
1,255
2.0625
2
[]
no_license
/** * barebone-core * * Copyright 2011 Z Sistemas Ltda ME * 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 requ...
true
15106411108a4f977e3d65c077433b507a96fc9f
Java
looooogan/icomp-4gb-api
/common/src/main/java/com/common/mapper/IProductLineMapper.java
UTF-8
2,585
2.15625
2
[]
no_license
package com.common.mapper; import com.common.pojo.ProductLine; import com.common.vo.ProductLineVO; import java.util.List; /** * * @ClassName IProductLineMapper * @Description TODO * @author Jivoin */ public interface IProductLineMapper { /** * @Title: addProductLine * @Description: 新增ProductLine * ...
true
eb0c767c460656690e9b805e40a9ded21bb7314e
Java
1546489704/boke
/src/com/csdj/entity/CommentBack.java
UTF-8
1,893
2.390625
2
[]
no_license
package com.csdj.entity; import java.util.List; /** * 评论类 */ public class CommentBack { //有参构造 public CommentBack(int hID, int sID, int postID, String content, int pID, String hTime,int cid) { this.hID = hID; this.sID = sID; this.postID = postID; this.content = content; ...
true
888374bb74e6879303e4cc6797ed395a13854c57
Java
cskamil/PcExParser
/csedpad/07.IfElse/TeamAssignment.java
UTF-8
2,226
4.46875
4
[]
no_license
/** * author: Priti Oli * topic: If-else condition * subTopic: if-else condition to check even/odd jersey_number * goalDescription: This program assigns a jersey to one of two teams, teamE if jersey number is even else to teamO * source:N/A * output: assigned to teamE */ public class TeamAssignment { public sta...
true
f92fdc593ec66d6bdba95b145f954ff4f66e9f33
Java
akageun/montiful
/src/main/java/kr/geun/oss/montiful/app/alarm/common/repo/impl/AlarmRepoImpl.java
UTF-8
1,443
1.992188
2
[]
no_license
package kr.geun.oss.montiful.app.alarm.common.repo.impl; import com.querydsl.jpa.impl.JPAQuery; import kr.geun.oss.montiful.app.alarm.common.cd.AlarmManageSearchTypeCd; import kr.geun.oss.montiful.app.alarm.common.models.AlarmEntity; import kr.geun.oss.montiful.app.alarm.common.models.QAlarmEntity; import kr.geun.oss....
true
ea78975ccb1d97e424135fe16bbee7336966ec96
Java
osblagra/FuncionJava
/Funcions/src-com/funcions/Mate.java
UTF-8
1,750
3.890625
4
[]
no_license
package funcions; public class Mate { public static int factorial(int num){ int factorial = 1; for(int i=num; i > 0; i--) factorial *= i; return factorial; } public static boolean numPrimer(int num){ if(num == 1 || num == 2) return true; else for(int i = num-1; i > 1; i--) if(num...
true
0af49471a91cee2adbf235a2f2537f4ad236c0c2
Java
tanguybernard/drone-project
/FireDrone/app/src/main/java/projet/istic/fr/firedrone/Interceptor/Interceptor.java
UTF-8
1,362
2.625
3
[]
no_license
package projet.istic.fr.firedrone.Interceptor; import projet.istic.fr.firedrone.FiredroneConstante; import retrofit.RequestInterceptor; import retrofit.RestAdapter; /** * Created by mamadian on 22/04/16. * */ public class Interceptor { private String token; /** un interceptor de requete qui ajoute à tout...
true
2d1b1394bd49d9a3d516787604132b0ecb863c24
Java
ugurozalp/alproid-github-example
/Example/src/main/java/alproid/github/Example/Puzzlers/String/Pool/StringExam_DifferentType.java
UTF-8
1,758
3.265625
3
[]
no_license
package alproid.github.Example.Puzzlers.String.Pool; public class StringExam_DifferentType { public static void main(String[] args) { String lang1 = "java8"; final String version = "8"; String lang2 = "java" + version; System.out.println(lang1 == lang2); // true // Burada String version degis...
true
cd9c8f0283d1166b61586a84980c523566a93207
Java
faz-old/query
/query-core/src/main/java/de/faz/modules/query/PreparedQuery.java
UTF-8
3,655
2.140625
2
[]
no_license
/* * Copyright (c) 2013. F.A.Z. Electronic Media GmbH * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of F.A.Z. Electronic Media GmbH and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to F.A.Z. Electronic Me...
true
2b8c50334d963a8bee7735a6dab0ec3efe0fec77
Java
Lyrics2000/java_desktop_app-tutorial_javaFX
/src/org/xmcode/demo/FxComboBoxExample.java
UTF-8
2,256
3.25
3
[]
no_license
package org.xmcode.demo; import javafx.application.Application; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.scene.Scene; import javafx.scene.control.ComboBox; import javafx.scene.control.Label; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; imp...
true
fe9e6193cf0cd457424dcd301edffe2d10564531
Java
LZ9/AgileDev
/app/src/main/java/com/lodz/android/agiledev/bean/base/PageBean.java
UTF-8
319
1.710938
2
[ "Apache-2.0" ]
permissive
package com.lodz.android.agiledev.bean.base; /** * 页码数据 * Created by zhouL on 2017/6/27. */ public class PageBean { /** 当前页 */ public int pageNo; /** 返回的条数 */ public int pageSize; /** 总页数 */ public int totalPage; /** 总条数 */ public int count; }
true
a068f0136f3d6007354040c057bb8449f2748bff
Java
b14d35/USTHB
/M2/Cpt.Avc/Test_Sockets/testTp1/InterMysql.java
UTF-8
195
1.796875
2
[]
no_license
package testTp1; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.ArrayList; public interface InterMysql extends Remote { void calcul(int M) throws RemoteException; }
true
7229d37a4c63a3bb7054dd2ac48c2ab35d1ddc30
Java
sagardafle/AutomationTestPlan
/src/objectstesting/PageHeaderTest.java
UTF-8
2,039
2.390625
2
[]
no_license
/** * */ package objectstesting; import static org.junit.Assert.*; import java.util.concurrent.TimeUnit; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox....
true
6759854a9cf64de4b019aa0c4da698fa5d5137ef
Java
zhangqifan1/View_Suoyin
/app/src/main/java/com/example/administrator/view_suoyin/Util_Pinyin.java
UTF-8
1,620
2.78125
3
[]
no_license
package com.example.administrator.view_suoyin; import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType; import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat; import net.sourceforge.pinyin4j.format.HanyuPinyinToneType; import net.sourceforge.pinyin4j.format.exc...
true
7f1dd1440396215c695bf4442466caf7cd86b84e
Java
q2p/BooruGrabber
/src/q2p/boorugrabber/storage/versions/IndexableBank.java
UTF-8
1,738
2.6875
3
[]
no_license
package q2p.boorugrabber.storage.versions; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.LinkedList; import q2p.boorugrabber.storage.Token; import q2p.boorugrabber.storage.Tokenizer; public abstract class IndexableBank<Identifier> { private final Storag...
true
567bfe516a37433b2a6dd8477346a0e2bfb19f1e
Java
zhongxingyu/Seer
/Diff-Raw-Data/25/25_09ee0b715c2e0f03d22fb9a8d092eeac507b3bc2/UnaryExpressionEvaluator/25_09ee0b715c2e0f03d22fb9a8d092eeac507b3bc2_UnaryExpressionEvaluator_s.java
UTF-8
13,851
2.140625
2
[]
no_license
package org.overture.interpreter.eval; import java.util.Collections; import java.util.List; import org.overture.ast.analysis.AnalysisException; import org.overture.ast.expressions.AAbsoluteUnaryExp; import org.overture.ast.expressions.ACardinalityUnaryExp; import org.overture.ast.expressions.ADistConcatUnary...
true
efc4927ff64956f13d18fa992f34f8aaf71e4534
Java
ErickVerlangieri/COP3330_verlangieri
/verlangieri_p3/src/Triangle.java
UTF-8
377
3.265625
3
[]
no_license
public class Triangle extends Shape2D { protected double base, height; protected String name; public Triangle(double base, double height){ this.base = base; this.height = height; this.name = "triangle"; } public double getArea(){ return (base * height)/2; } ...
true
933f55ffc322fdc04ee2090bce891735520d7a3b
Java
zhujunliang12/shop-admin
/src/main/java/com/fh/model/Product.java
UTF-8
3,875
2.046875
2
[]
no_license
package com.fh.model; import com.fasterxml.jackson.annotation.JsonFormat; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; public class Product { private Integer productId; private String productName; private String title; private Integer status; private Intege...
true
2f58a09674aa6ced309cbaad88caa6313730bee3
Java
latter-yu/TestBook
/com/bit/Main.java
UTF-8
967
3.09375
3
[]
no_license
package com.bit; import com.bit.book.BookList; import com.bit.user.AdminUser; import com.bit.user.NormalUser; import com.bit.user.User; import java.util.Scanner; public class Main { public static User login() { //输入身份 Scanner scanner = new Scanner(System.in); System.out.println("姓名"); ...
true
b70b5435f26b0e4771505aaca2db4c730fda0894
Java
Jolin25/Woniu
/FirstProject/src/com/woniuxy/regex/basic/Demo.java
GB18030
507
3.484375
3
[ "MIT" ]
permissive
package com.woniuxy.regex.basic; /* * ַʽƥ */ public class Demo { public static void main(String[] args) { String str = "@@@@@@"; Demo demo = new Demo(); System.out.println(demo.isName(str)); } public boolean isName(String str) { String regex = "@+"; String[] s = str.split(regex); boolean isTrue = false...
true
ffc113a1cb92503628e72e2109cddecf6484faa9
Java
bulainikolai/cars
/src/main/java/com/cars/application/pages/CarCommonInfoPage.java
UTF-8
1,392
2.359375
2
[]
no_license
package com.cars.application.pages; import com.cars.application.models.Car; import com.cars.framework.elements.Button; import com.cars.framework.elements.Label; import org.openqa.selenium.By; public class CarCommonInfoPage extends BaseCarsComPage { private static final By UNIQUE_ELEMENT_LOCATOR = By.xpath("//a[@c...
true
72313ede257764e70857dae677f6ce21728db477
Java
NathanLCR/treinamento-basis
/xtarefas/src/main/java/com/basis/campina/xtarefas/web/rest/AnexoResource.java
UTF-8
1,693
1.984375
2
[]
no_license
package com.basis.campina.xtarefas.web.rest; import com.basis.campina.xtarefas.servico.AnexoService; import com.basis.campina.xtarefas.servico.dto.AnexoDTO; import lombok.AllArgsConstructor; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind....
true
352172bd42e17f6b3be1c094d539ec3418d4fc74
Java
Elic0de/Aooni
/src/main/java/com/elic0de/aooni/listeners/UserQuitListener.java
UTF-8
477
1.9375
2
[]
no_license
package com.elic0de.aooni.listeners; import com.elic0de.aooni.user.User; import com.elic0de.aooni.user.UserSet; import org.bukkit.entity.Player; import org.bukkit.event.player.PlayerQuitEvent; public class UserQuitListener implements PlayerQuitListener { @Override public void onQuit(PlayerQuitEvent event) { ...
true
441df4bc8b96d698ba5d2cb8fa8c40c28b116bdd
Java
apsalbke/Practice
/FirstProject/src/SwitchStatement/DayOfWeek.java
UTF-8
1,419
4.28125
4
[]
no_license
package SwitchStatement; import java.util.Scanner; public class DayOfWeek { public static void main(String[] args) { //Write a program that asks a user to enter a number corresponding to the day of the week starting from // 1 being Sunday, 2 being Monday, etc… //If the number is not betwee...
true
d157b62ea74a1f2e64c5597bb3ac6dc2d9f0ffc2
Java
cerijerome/ceri
/ceri-log/src/main/java/ceri/log/rpc/service/RpcServer.java
UTF-8
1,754
2.453125
2
[]
no_license
package ceri.log.rpc.service; import java.io.IOException; import java.util.concurrent.TimeUnit; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import ceri.common.function.RuntimeCloseable; import ceri.common.text.ToString; import ceri.common.u...
true
e3efdf211f586dfe5252327af54bde10d882fbf4
Java
cckmit/mktcenter
/mktcenter-service/src/main/java/com/bizvane/messageservice/mongo/RockeLogPOMongoDao.java
UTF-8
684
2
2
[]
no_license
package com.bizvane.messageservice.mongo; import com.bizvane.messagefacade.models.po.RocketLogPO; import org.springframework.data.mongodb.core.query.Query; import org.springframework.stereotype.Component; import java.util.List; @Component public class RockeLogPOMongoDao extends BaseMongoDao<RocketLogPO> { public ...
true
20e1995876c506b0f460c5ca5188fcafcb95585c
Java
pablogadhi/ExpoUVG
/ExpoUVG_Final/piwik-sdk/src/main/java/org/piwik/sdk/dispatcher/Dispatcher.java
UTF-8
9,774
2.15625
2
[ "MIT" ]
permissive
/* * Android SDK for Piwik * * @link https://github.com/piwik/piwik-android-sdk * @license https://github.com/piwik/piwik-sdk-android/blob/master/LICENSE BSD-3 Clause */ package org.piwik.sdk.dispatcher; import android.support.annotation.NonNull; import android.support.annotation.VisibleForTesting; import org.p...
true
cd324db87b24b6a594241b82fc3370f8a031f626
Java
kpfalzer/macplacer
/gfx/src/gfx1/Main2.java
UTF-8
2,573
3.0625
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package gfx1; import javax.swing.SwingUtilities; import javax.swing.JFrame; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Canvas; import java.aw...
true
c121030089c5edf92471a9d4418eca32b22aa6f4
Java
potjerodekool/jnode
/core/src/mmtk-vm/org/mmtk/vm/gcspy/ServerSpace.java
UTF-8
1,962
1.820313
2
[]
no_license
/* * This file is part of the Jikes RVM project (http://jikesrvm.org). * * This file is licensed to You under the Common Public License (CPL); * You may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.opensource.org/licenses/cpl1.0.php *...
true
32e04663bba32173086915eb1528b3974635a8e5
Java
songaal/abcc
/core/src/main/java/org/fastcatsearch/ir/index/ShardIndexMapper.java
UTF-8
3,307
2.375
2
[ "Apache-2.0" ]
permissive
//package org.fastcatsearch.ir.index; // //import java.io.IOException; //import java.util.HashMap; //import java.util.Map; //import java.util.Set; // //import org.fastcatsearch.ir.common.IRException; //import org.fastcatsearch.ir.config.DataInfo.RevisionInfo; //import org.fastcatsearch.ir.document.Document; //import or...
true
3dce30d9562517f971250a4510e40819bcc9816d
Java
AbnerZheng/python-for-data-analysis
/YHUtility/src/ReadFileUtility.java
GB18030
2,681
3.03125
3
[]
no_license
import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.RandomAccessFile; /** * @date 20151120 * * @author yuhuan * */ public class ReadFileUtility { public static String PATH = "data/rtdata.txt"; /...
true
1868e5c305981cbd662adfe8c7cf28c11e69fcbf
Java
droyenko/FileAnalyser
/src/main/java/com/droie/practice/spring/core/beans/ConnectionPool.java
UTF-8
1,295
2.5
2
[]
no_license
package com.droie.practice.spring.core.beans; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.SQLException; import org.apache.commons.dbcp.ConnectionFactory; import org.apache.commons.dbcp.DriverManagerConnectionFactory; import org.apache.commons.dbcp.PoolableConnect...
true
69f52782187f7b84067c8c824e04d3c45cec8674
Java
eltano126/ORT-Taller5
/TP3/CalculadoraAndroid/src/ort/t5/tp2/MainActivity.java
UTF-8
1,825
2.515625
3
[]
no_license
package ort.t5.tp2; import java.util.Observable; import java.util.Observer; import ort.t5.tp3.calculadora.R; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.EditText; public class MainActivity extends Activ...
true
6be4a8ba9998e7c8cea2a2b9f015b936088da3bd
Java
AdityaKiet/basicandroid
/LenDen/src/com/kiet/lenden/Insert.java
UTF-8
4,020
2.390625
2
[]
no_license
package com.kiet.lenden; import android.app.Activity; import android.app.AlertDialog; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import com.kei.lenden.R; public class Insert extends Activity i...
true
04c3ca69f9c6c656b3cbcca7d1f4495a3ac2161e
Java
xcpxcp198608/app_liveplay_new
/common/src/main/java/com/px/common/utils/NetUtils.java
UTF-8
4,412
2.59375
3
[]
no_license
package com.px.common.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; /** * network utils */ p...
true
e3979bd2b9b91394d3949fe5457494717829d02f
Java
wason12/InciManager_uo251893
/src/main/java/inciManager/incidenceController/IncidenceControllerFacadeClass.java
UTF-8
2,365
2.328125
2
[ "Apache-2.0" ]
permissive
package inciManager.incidenceController; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype....
true
dc847c90edbec5165fe8a1112a1978310d25a3f0
Java
brianwoo/eclipse_kura_prototype
/obs-kura-rest/src/com/obs/bwoo/kuramqtt/server/utils/JsonUtils.java
UTF-8
390
2.09375
2
[]
no_license
/** * */ package com.obs.bwoo.kuramqtt.server.utils; import net.sf.json.JSON; import net.sf.json.xml.XMLSerializer; /** * @author bwoo * */ public class JsonUtils { public static JSON fromXml(String xmlString) { XMLSerializer xmlSerializer = new XMLSerializer(); JSON json = xmlSerializer.read(xmlString);...
true
c5055edd184e94e8c87d6a4b583a1d24014e4db4
Java
calm4wei/springboot-service
/src/test/java/org/apache/commons/validator/ValidatorTest.java
UTF-8
3,356
2.875
3
[]
no_license
package org.apache.commons.validator; import org.apache.commons.validator.routines.*; import org.apache.commons.validator.routines.DateValidator; import org.junit.Test; import java.math.BigDecimal; import java.util.Calendar; import java.util.Date; import java.util.Locale; /** * Created by weifeng on 2017/5/23. */ ...
true
0c90e2b704ab4b09552b08adaa33ddca47000116
Java
ntn11phm/Exam-Personel-Assignment-Project
/src/examProject/dao/DbManipulator.java
UTF-8
2,006
2.78125
3
[]
no_license
package examProject.dao; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import examProject.transferObjects.DBConnectionTO; public class DbManipulator { private JdbcConnect jdbc; private Connection con; private ResultSet rs; private Statement state; ...
true
5d92251c12177dc60ff7d57b60315329453558fa
Java
yunWJR/yun-ws-server
/src/main/java/com/yun/yunwsserver/module/wesocket/session/ImPlatformSessionManager.java
UTF-8
4,402
2.59375
3
[]
no_license
package com.yun.yunwsserver.module.wesocket.session; import com.yun.yunwsserver.module.wesocket.model.ClientUserStatusType; import com.yun.yunwsserver.module.wesocket.model.ImWsSession; import com.yun.yunwsserver.module.wesocket.model.ImWsSessionUser; import lombok.Data; import java.util.*; /** * 平台的 session 管理 */...
true
1407af7cb2630bf0142e84f302fe3c3d6e4cf8c6
Java
green-fox-academy/ViolaZsombor
/week-07/practise/services/ITodoService.java
UTF-8
342
1.953125
2
[]
no_license
package com.smgvalen.mysql.services; import com.smgvalen.mysql.models.Todo; import java.util.List; public interface ITodoService { List<Todo> findAll(); Iterable<Todo> findAllByDone(Boolean done); List<Todo> findAllByUrgentAndDone(Boolean urgent, Boolean active); Iterable<Todo> getFilteredData(Boolean urgen...
true
24efdce2af53433b230c4d0335ce153bd502977b
Java
WiolaLupkowska/MetodyNumeryczne_Kepler-Java_JavaFX
/MN_projekt1_Łupkowska/MN_L5_projekt/src/main/java/Funkcja.java
UTF-8
294
1.554688
2
[]
no_license
public interface Funkcja { double funkcjaZ(double E, double T, double ekscentrycznosc, double t); //public abstract double trajektoriaX(double wyliczoneE, double ekscentrycznosc, double a); double trajektoriaY(double wyliczoneE, double ekscentrycznosc, double a); }
true
ec6d4a0307f163cfce1c2f19efc9a82440eab2c3
Java
muhammedyounusattari/jamaican-api
/src/main/java/com/pica/dao/AgentDAO.java
UTF-8
428
2.015625
2
[]
no_license
package com.pica.dao; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.data.mongodb.repository.Query; import org.springframework.stereotype.Repository; import com.pica.model.Agent; @Repository public interface AgentDAO extends MongoRepository<Agent, Long>{ @Query(value...
true
6a32b97500388bb1b9f07d63bd19de996df7e518
Java
bit01class/java2018
/workspace/day14/src/com/bit/day14/Ex02.java
UHC
4,420
3.296875
3
[]
no_license
package com.bit.day14; class MyNumException extends Exception{ public MyNumException(String msg) { super(msg); } } public class Ex02 { final static String title = "----------------------------------------------------" + "\n лα׷(ver 0.1.0)" + "\n ----------------------------------------------------"; final...
true
9294e8d0d08390f7e9600bc35e3d5ff9b4f3c3f6
Java
wpelaez55/ExposingIndustryMediocrity
/com.citi.mobile.co/Sources/ny0k/C0278K.java
UTF-8
3,356
2.109375
2
[ "MIT" ]
permissive
package ny0k; import android.content.Context; import android.util.Log; import com.konylabs.android.KonyMain; import com.rsa.mobilesdk.sdk.BuildConfig; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.ObjectOutputStream; import java.io.OutputStream; import java.io.Se...
true
64317635ee2674875762ee278d18e2f8db8bd205
Java
shawnchris/java
/lintcode/Expression_Evalution.java
UTF-8
2,595
3.609375
4
[]
no_license
package lintcode; import java.util.*; public class Expression_Evalution { private int get(String a, Integer base) { if (a.equals("+") || a.equals("-")) return 1 + base; if (a.equals("*") || a.equals("/")) return 2 + base; return Integer.MAX_VALUE; } private double eval(ASTNode root) { if (root == n...
true
a24924e64105ba1bfff15b82ab1ecb7af418946d
Java
dioneuty/2nd-project
/2017-05-23-semi-final/src/com/hb/staff/controller/StaffInfo.java
UTF-8
2,015
2.078125
2
[]
no_license
package com.hb.staff.controller; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet....
true
d5e42a879c9d2b5069f9867201aca8d923ab87f9
Java
yin-lu/task
/task8/rmiServer/src/main/java/com/yl/test/TestRMI.java
UTF-8
377
1.671875
2
[]
no_license
package com.yl.test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class TestRMI { public static void main(String[] args) { ApplicationContext ac = new ClassPathXmlApplicationContext("springMybatis.xml"); ...
true
5f64cfb411b45dc2cdc6917c8f80ba1f930ff986
Java
lolololai/work1
/app/src/main/java/com/example/kurotsuno/work1/MainActivity.java
UTF-8
1,081
2.296875
2
[]
no_license
package com.example.kurotsuno.work1; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; public class MainActivity extends AppCompatActivity { Button b1; TextView t1;...
true
712ce0a0fc206f94a2ecc93c4f7947d43d6fa83f
Java
xiebinJava/MDApp
/app/src/main/java/com/example/xiebin/mymdapp/widget/toollbar/BadgeActionProvider.java
UTF-8
2,431
2.296875
2
[]
no_license
package com.example.xiebin.mymdapp.widget.toollbar; import android.content.Context; import android.support.annotation.DrawableRes; import android.support.v4.view.ActionProvider; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.exa...
true
cc6a06ef35debbc02f12ec1dfb733180fd02d6aa
Java
rainyou123/yu33
/day8/src/web/Generic/Node.java
UTF-8
374
2.875
3
[]
no_license
package web.Generic; public class Node <T>{ private T data; public Node(T data) { this.data = data; } public T getData() { return data; } public void setData(T data) { this.data = data; } @Override public String toString() { return "Node{" + ...
true
37b5151c96773d7b249ce03bdf0f91959e3a6dd3
Java
hp274201904/likebook
/src/main/java/library/test/servicetest.java
UTF-8
1,120
1.9375
2
[]
no_license
package library.test; import library.dao.UserMapper; import library.entity.Book; import library.entity.Indent; import library.entity.Journal; import library.entity.User; import library.service.BookService; import library.service.IndentService; import library.service.JournalService; import library.service.UserService; ...
true
eca54b36b0c1818ff28ae4bcc6e5dac3bec2b898
Java
javiruiperez/Trabajo-Final
/main/utils/Acceso.java
UTF-8
1,495
3.140625
3
[]
no_license
package main.utils; import main.DbConnections.DBConnection; import java.sql.*; /** * Esta clase da funcionalidad al acceso comparando el usuario y la contraseña que el usuario proporciona * con los usuarios y contraseñas de la base de datos. Si la comparacion resulta positiva, se da acceso * al usuario, si no se ...
true
ccc5ec6fb9c825262e4b4451f35718328fed9da7
Java
pbokelompok30/event-kampus
/Documents/Event Kampus/Event Kampus/src/Eventkampus/RegisterEvent(1).java
UTF-8
21,146
2.125
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 Eventkampus; /** * * @author Try WIguna */ public class RegisterEvent extends javax.swing.JFrame { /** * Creates ...
true
3ccd28a30477e98b1e0df63f74b03f494599cdd8
Java
1692737734/chat-server
/src/main/java/com/chat/util/MD5Util.java
UTF-8
1,612
3.015625
3
[]
no_license
package com.chat.util; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class MD5Util { /** * 获取MD5字符 * @param info * @return */ public static String getMD5(String info){ //获取 MessageDigest 对象,参数为 MD5 字符串,表示这是一个 M...
true
a6d3bb5e792f4ff6360f7cc00815eba6ece818d0
Java
Edson19-coder/Proyecto_IEUW
/IEUW_SuministrosPAG/src/main/java/com/mycompany/ieuw_suministrospag/dao/ProductDAO.java
UTF-8
10,467
2.359375
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 com.mycompany.ieuw_suministrospag.dao; import com.mycompany.ieuw_suministrospag.models.InStockModel; import com.mycompany.ieu...
true
80e6d91940e0aede1bf26a34689e8461d4efed81
Java
shenlong07412/shop
/src/net/shopxx/dao/CommunityDao.java
UTF-8
262
1.585938
2
[]
no_license
package net.shopxx.dao; import java.util.List; import net.shopxx.entity.Community; /** * Dao - 社区 * * @author chenshw * */ public interface CommunityDao extends BaseDao<Community, Long> { public List<Community> findList(Community community); }
true
e3027a02958f0654879bf69364b618d99cba788b
Java
silinulad/EPAM-external-training
/to-do/src/main/java/com/example/intouch/files/utils/AbstractFileHandler.java
UTF-8
1,052
2.53125
3
[]
no_license
package com.example.intouch.files.utils; import java.io.File; import java.io.IOException; import javax.servlet.ServletException; import com.example.intouch.constans.Constants; import com.example.intouch.exceptions.UploadException; public abstract class AbstractFileHandler { protected String fileName; protected i...
true
99dfe322fb6851337f6db0fa37379ff5e9ed406a
Java
libgdx/gdx-pay-example
/core/src/com/badlogic/gdx/pay/app/MyFancyInAppShop.java
UTF-8
7,375
2.359375
2
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
package com.badlogic.gdx.pay.app; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.pay.Information; import com.badlogic.gdx.pay.Offer; import com.badlogic.gdx.pay.OfferType; import com.badlogic.gdx.pay.PurchaseManagerConfig; import com.badlogic.gdx.pay.PurchaseObserver; import com.badlogic.gdx.pay.Transaction; imp...
true
9c4b7b90a8c449629a3df760efbd04146cfb46df
Java
merrymercy/compiler2017
/src/com/mercy/compiler/AST/FuncallNode.java
UTF-8
1,039
2.53125
3
[]
no_license
package com.mercy.compiler.AST; import com.mercy.compiler.FrontEnd.ASTVisitor; import com.mercy.compiler.Type.FunctionType; import com.mercy.compiler.Type.Type; import java.util.List; /** * Created by mercy on 17-3-18. */ public class FuncallNode extends ExprNode { private ExprNode expr; private List<ExprN...
true
81a445db94df294bf1a8c140c32413952dbcf5ae
Java
zhaoyang199108/spoor
/src/main/java/com/yzk/entity/SpoorSpoor.java
UTF-8
1,460
1.921875
2
[]
no_license
package com.yzk.entity; import java.util.Date; public class SpoorSpoor { private long spoorId; private Date createTime; private String spoorContent; private String spoorTagOne; private String spoorTagTwo; private String spoorTagThree; private String isSetting; public String getIsSetting() { ret...
true
f1ff514f19a3dcad674adc9486c996b4434681f5
Java
ANUJ581/competitive-programming-1
/src/contest/hackercup/FHC_2015_Round_1_Corporate_Gifting.java
UTF-8
3,264
2.953125
3
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
package contest.hackercup; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.StringTokenizer; public class FHC_2015_Round_1_Corporate_Gifting { static BufferedReade...
true
950743fbe69fdde4016283003dc400e39ad0b7c9
Java
zukker/zues
/src/lsdsoft/metrolog/MeasurePoint.java
WINDOWS-1251
2,737
2.859375
3
[]
no_license
package lsdsoft.metrolog; import java.util.*; /** * <p> .</p> * <p> , * </p> * * <p>Copyright: Copyright (c) 2004</p> * <p>Company: Ural-Geo</p> * @author lsdsoft * @version 0.9 */ public class MeasurePoint { /** * () . * @todo: accurateValue & accurateDelta...
true
6ef3ba3b2e243f864b32530d2468b09fab80b228
Java
Jimut123/code-backup
/java_backup/my java/sayak/purchase.java
UTF-8
212
2.53125
3
[ "MIT" ]
permissive
public class purchase { public static void main(int a) { int d= (25*a)/100; float d1=(25/100)*(float)a; System.out.println("sellng price="+d+","+d1); } }
true
70defb41ee0f79eb3dabdc1192c862dc1bb06dec
Java
huanganrang/bshoot
/bshoot-biz/src/main/java/jb/dao/impl/UserPraiseRecordDaoImpl.java
UTF-8
281
1.5
2
[]
no_license
package jb.dao.impl; import jb.dao.UserPraiseRecordDaoI; import jb.model.TuserPraiseRecord; import org.springframework.stereotype.Repository; @Repository public class UserPraiseRecordDaoImpl extends BaseDaoImpl<TuserPraiseRecord> implements UserPraiseRecordDaoI { }
true
ad563dc76e50b633778c1f56eeca42108cbd7dab
Java
fsh596847/wht
/app/src/main/java/com/xiaowei/android/wht/ui/PatientAddAtivity.java
UTF-8
11,154
1.742188
2
[]
no_license
package com.xiaowei.android.wht.ui; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.view.Window; imp...
true
f35488e2105b46faa89fd9efbfe4a9a902c390fb
Java
mkipcak/Nexus_App
/app/src/main/java/com/example/fayeed/nexus/Main/Chat/Chat_Messaging.java
UTF-8
4,492
1.835938
2
[]
no_license
package com.example.fayeed.nexus.Main.Chat; import android.provider.Settings; import android.support.v4.app.Fragment; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.util....
true
21832d818a6bbacc56b82f95e42d3f67a8118140
Java
sunilkhuwal/SFDCDev
/WebService/QuerySFObject.java
UTF-8
6,988
2.203125
2
[]
no_license
import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.List; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.utils.URIBuilder; import org.apach...
true
88763838064f44869a722e667658f2710bc320b9
Java
rkartik-naiker/codechef
/CodeChef/src/com/codechef/june18/Probability.java
UTF-8
1,380
3.328125
3
[]
no_license
package com.codechef.june18; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashMap; public class Probability { public static void main(String arg[]) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { int testCases = Integer.parseInt(br.re...
true
6e725d0e3000c89af35c016bf72d1f833b72f844
Java
Verburner/Marked
/src/main/java/theMarked/actions/LevitateAction.java
UTF-8
1,087
2.453125
2
[ "MIT" ]
permissive
package theMarked.actions; import com.megacrit.cardcrawl.actions.AbstractGameAction; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.core.Settings; import com.megacrit.cardcrawl.dungeons.AbstractDungeon; import theMarked.cards.AlyssasBlade; import java.util.Iterator; public class Levi...
true
1d74562842e3b1fbf397e1afc7959a31e0545fbd
Java
FundIngSoft2021-10/RankingU
/app/src/main/java/com/example/rankingu/Classes/Profesor.java
UTF-8
1,014
2.8125
3
[]
no_license
package com.example.rankingu.Classes; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class Profesor implements Serializable { String nombre; List<Materia> materiasList; public Profesor() { this.materiasList = new ArrayList<>(); } public Profesor(S...
true
2671d247ae1927161e48abd2bd1cea36a9f9ddf6
Java
sergiocy/scripts-tests
/test-java/proj-java-attack-dbs/src/main/java/com/sc/project/attackdbs/service/textprocessing/TopicModeling.java
UTF-8
675
2.484375
2
[]
no_license
package com.sc.project.attackdbs.service.textprocessing; import java.util.List; import cc.mallet.topics.ParallelTopicModel; public class TopicModeling { //..atributo para cuando entre un texto... String text = null; //...o atributo por si entra una colección de textos... //...sobreescribo el constructor para u...
true
04e353c417d26e019d5d96fcde95b175e6f3379e
Java
system-designer/WebServer
/src/com/webserver/core/servlet/WebServer.java
UTF-8
2,335
2.71875
3
[]
no_license
package com.webserver.core.servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.Prin...
true
f4188da041666106b10b58a48d7a865d5c7fcd4a
Java
apinkin/ai-contest-ants
/src/AbstractHiveMind.java
UTF-8
2,368
2.765625
3
[]
no_license
import java.util.HashSet; import java.util.Random; import java.util.Set; public abstract class AbstractHiveMind implements IHiveMind { public static final long PANIC_TIME = 100L; private int turnNumber; private long turnStart; private IField lastField; protected void log(Object message) { ...
true
3d92268ec713799a9cf205df9959f247720cafab
Java
tykaind/charter4
/src/com/javaex/ex01/PointList.java
UTF-8
600
2.90625
3
[]
no_license
package com.javaex.ex01; import java.util.Arrays; import com.javaex.ex03.Point; public class PointList { private Point[] pArray; private int crtPos; public PointList() { this.pArray = new Point[3]; crtPos =0; } public void add(Point point) { //추가 pArray[crtPos] = point; ...
true
f0c030a248b975f27ce9b5a7c961f8de3ed4756e
Java
GJW459/JavaStudy
/JavaInnerClass/src/InnerClassStudy/Demo3.java
UTF-8
76
1.890625
2
[]
no_license
package InnerClassStudy; public interface Demo3 { void demoMethod(); }
true
dabc859d5801b1447c3bb0386b83a81285a3da7e
Java
Suzart99/ExThreadSemaforo
/semaforo/src/main/java/br/exercicio/semaforo/base/Simulador.java
UTF-8
756
2.734375
3
[]
no_license
package br.exercicio.semaforo.base; import javax.swing.*; import java.awt.*; import java.util.ArrayList; import java.util.List; /** * Simulador * * @author mariojp */ public class Simulador extends JFrame { private List<Semaforo> semaforos = new ArrayList<Semaforo>(); public List<Semaforo> getSemaforos(...
true
3068f6df5cfff7b3ddcd155aded10fe4304912ed
Java
yvesrafaralahy/ipi-java-250-export
/ipi-java-250-export/src/main/java/com/example/demo/service/FactureService.java
UTF-8
1,162
2.09375
2
[]
no_license
package com.example.demo.service; import com.example.demo.dto.FactureDTO; import com.example.demo.repository.FactureRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.uti...
true
892cb7c89fe6f14f35bfc7c808184bcc29957a49
Java
xeon-ye/AndroidAdvanced
/ui/src/main/java/com/blend/ui/recyclerview/RecyclerViewAdapter.java
UTF-8
3,043
2.4375
2
[]
no_license
package com.blend.ui.recyclerview; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.Toast; import com.blend.ui.R; ...
true
7b930847b72d2e39e1c82a041fa23bf8e789a504
Java
blinkfox/fenix
/src/main/java/com/blinkfox/fenix/config/FenixConfig.java
UTF-8
22,425
1.507813
2
[ "Apache-2.0" ]
permissive
package com.blinkfox.fenix.config; import com.blinkfox.fenix.config.entity.TagHandler; import com.blinkfox.fenix.consts.Const; import com.blinkfox.fenix.consts.SymbolConst; import com.blinkfox.fenix.core.FenixHandler; import com.blinkfox.fenix.core.FenixHandlerFactory; import com.blinkfox.fenix.core.concrete.BetweenHa...
true
0269f82295dcd0348fde7e316864d92d5eed8252
Java
hangnt1001/test-circleci
/src/main/java/com/mediastep/beecow/gateway/security/social/CustomSignInAdapter.java
UTF-8
1,908
2
2
[]
no_license
/* * * Copyright 2017 (C) Mediastep Software Inc. * * Created on : 12/1/2017 * Author: Loi Tran <email:loi.tran@mediastep.com> * */ package com.mediastep.beecow.gateway.security.social; import javax.inject.Inject; import javax.servlet.http.Cookie; import org.slf4j.Logger; import org.slf4j.LoggerFactory; impor...
true
fb36b2323899514e8514a560cbb6ff5804852b94
Java
whitegreen/Dalsoo-Bin-Packing
/src/main/java/whitegreen/dalsoo/Convex.java
UTF-8
2,178
3.046875
3
[ "MIT" ]
permissive
package whitegreen.dalsoo; import java.util.ArrayList; import java.util.List; /** * @author Hao Hua, Southeast University, whitegreen@163.com */ class Convex { private static final double ZERO_AREA = 1E-6; // for mm List<double[]> convex; // convex is clockwise Convex() { } public Convex(PackedPoly strip)...
true
1e5c127415e334f56bef128c9bf6b3848b6f6795
Java
urtheone/MyMvpDemo
/app/src/main/java/com/robot/mymvpdemo/base/Constants.java
UTF-8
838
1.671875
2
[]
no_license
package com.robot.mymvpdemo.base; import android.os.Environment; import com.robot.mymvpdemo.App; import java.io.File; /** * 常量 * @author leo */ public class Constants { //================= KEY ==================== public static final String KEY_ALIPAY = "aex07566wvayrgxicnaraae"; public static final ...
true
debbadb598863d85100be2a636d09eb9d8fad80e
Java
ishubin/galen-ide
/src/main/java/com/galenframework/ide/devices/commands/DeviceResizeCommand.java
UTF-8
3,192
2.28125
2
[ "Apache-2.0" ]
permissive
/******************************************************************************* * Copyright 2016 Ivan Shubin http://galenframework.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 * * ...
true
a5fbe96acde8b03997c16a0568c3c8f69cc70c1e
Java
Alex-000/amazonejb
/src/main/java/fr/treeptik/amazonejb/model/CD.java
UTF-8
1,045
2.203125
2
[]
no_license
package fr.treeptik.amazonejb.model; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Temporal; import javax.persistence.TemporalType; @Entity public class CD extends Article { /** * */ private static final long serialVersionUID = 1L; private String compositeur; private ...
true
caa28c61b642119e7595a5306e1dc7c3d741f3db
Java
dougblack/nextbus
/src/com/doug/nextbus/activities/FavoritesActivity.java
UTF-8
2,772
2.109375
2
[]
no_license
package com.doug.nextbus.activities; import roboguice.inject.InjectView; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.LinearLayout; impor...
true
31ef2ade9031cbcac1a35856d3ff9d0ba5af1baa
Java
orevitnoonairam/climed
/src/ABMDieta/GuiModificarDieta.java
UTF-8
11,328
1.984375
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * GuiModificarDieta.java * * Created on 19-oct-2011, 9:55:08 */ package ABMDieta; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Giuliodori Eug...
true
3deab13873b7961c3e0fc25f9f891e96621287ac
Java
workspaceit/dccpos
/src/main/java/com/workspaceit/dccpos/entity/Sale.java
UTF-8
9,799
2.1875
2
[]
no_license
package com.workspaceit.dccpos.entity; import com.fasterxml.jackson.annotation.JsonFormat; import com.workspaceit.dccpos.config.PersistenceConfig; import com.workspaceit.dccpos.constant.SALE_TYPE; import com.workspaceit.dccpos.entity.accounting.Entry; import org.hibernate.annotations.CreationTimestamp; import javax.p...
true