file_name
stringlengths
6
86
file_path
stringlengths
45
249
content
stringlengths
47
6.26M
file_size
int64
47
6.26M
language
stringclasses
1 value
extension
stringclasses
1 value
repo_name
stringclasses
767 values
repo_stars
int64
8
14.4k
repo_forks
int64
0
1.17k
repo_open_issues
int64
0
788
repo_created_at
stringclasses
767 values
repo_pushed_at
stringclasses
767 values
BaseX.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/tools/BaseX.java
package com.referendum.tools; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * allows you to convert a whole number into a compacted representation of that number, * based upon the dictionary you provide. very similar to base64 enc...
5,329
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
ScriptRunner.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/tools/ScriptRunner.java
package com.referendum.tools; /* * Slightly modified version of the com.ibatis.common.jdbc.ScriptRunner class * from the iBATIS Apache project. Only removed dependency on Resource class * and a constructor * GPSHansl, 06.08.2015: regex for delimiter, rearrange comment/delimiter detection, remove some ide warnings...
8,592
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
VotingSystem.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/voting_system/VotingSystem.java
package com.referendum.voting.voting_system; public interface VotingSystem { enum VotingSystemType { MULTIPLE_CHOICE, SINGLE_CHOICE; } abstract VotingSystemType getVotingSystemType(); }
196
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
UnrankedVotingSystem.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/voting_system/rank_type/UnrankedVotingSystem.java
package com.referendum.voting.voting_system.rank_type; import com.referendum.voting.voting_system.choice_type.MultipleChoiceVotingSystem; import com.referendum.voting.voting_system.choice_type.MultipleChoiceVotingSystem.MultipleChoiceVotingSystemType; public interface UnrankedVotingSystem extends MultipleChoiceVotin...
476
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RankedVotingSystem.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/voting_system/rank_type/RankedVotingSystem.java
package com.referendum.voting.voting_system.rank_type; import com.referendum.voting.voting_system.choice_type.MultipleChoiceVotingSystem; import com.referendum.voting.voting_system.choice_type.MultipleChoiceVotingSystem.MultipleChoiceVotingSystemType; public interface RankedVotingSystem extends MultipleChoiceVotingS...
565
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RangeVotingSystem.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/voting_system/choice_type/RangeVotingSystem.java
package com.referendum.voting.voting_system.choice_type; import com.referendum.voting.voting_system.VotingSystem; public interface RangeVotingSystem extends VotingSystem { public enum RangeVotingSystemType { AVERAGE, MEDIAN, NORMALIZED; } RangeVotingSystemType getRangeVotingSystemType(); default VotingSy...
401
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
MultipleChoiceVotingSystem.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/voting_system/choice_type/MultipleChoiceVotingSystem.java
package com.referendum.voting.voting_system.choice_type; import com.referendum.voting.voting_system.VotingSystem; import com.referendum.voting.voting_system.VotingSystem.VotingSystemType; public interface MultipleChoiceVotingSystem extends VotingSystem { enum MultipleChoiceVotingSystemType { UNRANKED, RANKED; ...
500
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
SingleChoiceVotingSystem.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/voting_system/choice_type/SingleChoiceVotingSystem.java
package com.referendum.voting.voting_system.choice_type; import com.referendum.voting.voting_system.VotingSystem; import com.referendum.voting.voting_system.VotingSystem.VotingSystemType; public interface SingleChoiceVotingSystem extends VotingSystem { enum SingleChoiceVotingSystemType { FPTP; } SingleChoice...
473
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RangeBallot.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/ballot/RangeBallot.java
package com.referendum.voting.ballot; import com.referendum.voting.candidate.RangeCandidate; public class RangeBallot implements Ballot { private RangeCandidate candidate; public RangeBallot(RangeCandidate candidate) { this.candidate = candidate; } public RangeCandidate getCandidate() { return candidate; }...
323
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
Ballot.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/ballot/Ballot.java
package com.referendum.voting.ballot; import java.util.List; import com.referendum.voting.candidate.RankedCandidate; public interface Ballot { }
152
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RankedBallot.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/ballot/RankedBallot.java
package com.referendum.voting.ballot; import java.util.Collections; import java.util.List; import com.referendum.voting.candidate.RankedCandidate; import com.referendum.voting.candidate.RankedCandidate.RankedCandidateComparator; public class RankedBallot implements Ballot { private List<RankedCandidate> rankings; ...
552
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RangeCandidateResult.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/candidate/RangeCandidateResult.java
package com.referendum.voting.candidate; import java.util.Comparator; public class RangeCandidateResult implements Candidate { private Integer id, count; private Double score; public RangeCandidateResult(Integer id, Double score, Integer count) { this.id = id; this.score = score; this.count = count; } ...
786
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RankedCandidate.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/candidate/RankedCandidate.java
package com.referendum.voting.candidate; import java.util.Comparator; public class RankedCandidate implements Candidate { private Integer id, rank; public RankedCandidate(Integer id, Integer rank) { this.id = id; this.rank = rank; } @Override public Integer getId() { return id; } @Override public...
643
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RangeCandidate.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/candidate/RangeCandidate.java
package com.referendum.voting.candidate; import java.util.Comparator; public class RangeCandidate implements Candidate { private Integer id; private Double rank; public RangeCandidate(Integer id, Double rank) { this.id = id; this.rank = rank; } @Override public Integer getId() { return id; } @O...
650
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
Election.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/election/Election.java
package com.referendum.voting.election; public interface Election { Integer getId(); void runElection(); }
119
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
ElectionRoundItem.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/election/ElectionRoundItem.java
package com.referendum.voting.election; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import com.referendum.voting.candidate.RankedCandidate; public class ElectionRoundItem { public enum Status { STAYS, DEFEATED, ELECTED, ELECTED_PREVIOUSLY; } private Status status = Status.STA...
1,432
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RangeElection.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/election/RangeElection.java
package com.referendum.voting.election; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.referendum.voting.ballot.RangeBallot; import com.ref...
4,318
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
FPTPElection.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/election/FPTPElection.java
package com.referendum.voting.election; import com.referendum.voting.voting_system.choice_type.SingleChoiceVotingSystem; public interface FPTPElection extends SingleChoiceVotingSystem { @Override default SingleChoiceVotingSystemType getSingleChoiceVotingSystemType() { return SingleChoiceVotingSystemType.FPTP; }...
326
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
STVElection.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/election/STVElection.java
package com.referendum.voting.election; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.r...
14,661
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
ElectionRound.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/election/ElectionRound.java
package com.referendum.voting.election; import java.util.Collections; import java.util.List; import com.referendum.voting.election.ElectionRoundItem.ElectionRoundItemComparator; public class ElectionRound { private List<ElectionRoundItem> electionRoundItems; private Integer threshold; public ElectionRound(List...
704
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
MultipleWinnerElectionResults.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/results/MultipleWinnerElectionResults.java
package com.referendum.voting.results; import java.util.List; import com.referendum.voting.ballot.RankedBallot; import com.referendum.voting.election.ElectionRound; public interface MultipleWinnerElectionResults extends ElectionResults { List<ElectionRound> getRounds(); List<RankedBallot> getBallots(); Integ...
480
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
RangeElectionResults.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/results/RangeElectionResults.java
package com.referendum.voting.results; import java.util.List; import com.referendum.voting.candidate.RangeCandidateResult; public interface RangeElectionResults extends ElectionResults { List<RangeCandidateResult> getRankings(); default ElectionResultsType getElectionResultsType() { return ElectionResultsType...
343
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
ElectionResults.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/voting/results/ElectionResults.java
package com.referendum.voting.results; import com.referendum.voting.election.Election; public interface ElectionResults extends Election { enum ElectionResultsType { MULTIPLE_WINNER, SINGLE_WINNER; } ElectionResultsType getElectionResultsType(); }
267
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
DynamicPages.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/webservice/DynamicPages.java
package com.referendum.webservice; import static spark.Spark.get; import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.referendum.DataSources; import com.referendum.tools.Tools; public class DynamicPages { static final Logger log = LoggerFactory.getLogger(API.class); ...
1,646
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
API.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/webservice/API.java
package com.referendum.webservice; import static spark.Spark.get; import static spark.Spark.post; import static spark.Spark.before; import java.io.UnsupportedEncodingException; import java.math.BigInteger; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import ja...
26,788
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
WebService.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/webservice/WebService.java
package com.referendum.webservice; import static spark.Spark.get; import static spark.Spark.port; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import spark.Spark; import spark.utils.GzipUtils; import com....
1,423
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
BuildFastTables.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/scheduled/BuildFastTables.java
package com.referendum.scheduled; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.ArrayList; import java.util.Properties; import org.qu...
2,403
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
ScheduledJobs.java
/FileExtraction/Java_unseen/dessalines_referendum/src/main/java/com/referendum/scheduled/ScheduledJobs.java
package com.referendum.scheduled; import static org.quartz.JobBuilder.newJob; import static org.quartz.SimpleScheduleBuilder.simpleSchedule; import static org.quartz.TriggerBuilder.newTrigger; import org.quartz.JobDetail; import org.quartz.Scheduler; import org.quartz.SchedulerException; import org.quartz.Trigger; i...
1,086
Java
.java
dessalines/referendum
20
1
4
2015-12-09T18:13:46Z
2017-02-25T23:46:17Z
ExampleUnitTest.java
/FileExtraction/Java_unseen/CactiChameleon9_Gecko-Browser/app/src/test/java/com/example/geckobrowser/ExampleUnitTest.java
package com.example.geckobrowser; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public vo...
385
Java
.java
CactiChameleon9/Gecko-Browser
9
0
0
2020-08-18T08:49:37Z
2021-06-25T11:34:25Z
SettingsActivity.java
/FileExtraction/Java_unseen/CactiChameleon9_Gecko-Browser/app/src/main/java/com/example/geckobrowser/SettingsActivity.java
package com.example.geckobrowser; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.Button; import android.widget.EditText; import android.wi...
5,085
Java
.java
CactiChameleon9/Gecko-Browser
9
0
0
2020-08-18T08:49:37Z
2021-06-25T11:34:25Z
MainActivity.java
/FileExtraction/Java_unseen/CactiChameleon9_Gecko-Browser/app/src/main/java/com/example/geckobrowser/MainActivity.java
package com.example.geckobrowser; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import android.view.View; import android.view.inputmethod.Inpu...
15,896
Java
.java
CactiChameleon9/Gecko-Browser
9
0
0
2020-08-18T08:49:37Z
2021-06-25T11:34:25Z
ExampleInstrumentedTest.java
/FileExtraction/Java_unseen/CactiChameleon9_Gecko-Browser/app/src/androidTest/java/com/example/geckobrowser/ExampleInstrumentedTest.java
package com.example.geckobrowser; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute o...
762
Java
.java
CactiChameleon9/Gecko-Browser
9
0
0
2020-08-18T08:49:37Z
2021-06-25T11:34:25Z
PropertiesTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/config/PropertiesTest.java
package com.tek271.reverseProxy.config; import static org.junit.Assert.*; import org.junit.Test; import com.tek271.reverseProxy.model.Mappings; import com.tek271.reverseProxy.utils.PropertiesFile; public class PropertiesTest { private static final String FILE= "reverseProxy.test.properties"; @Test public voi...
587
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
RegexToolsTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/utils/RegexToolsTest.java
package com.tek271.reverseProxy.utils; import static org.junit.Assert.assertEquals; import java.util.List; import org.junit.Test; import com.google.common.collect.ImmutableList; public class RegexToolsTest { @Test public void testFindAll() { String pattern= "A+"; String text= "A-AA-AAA-"; List<Tup...
1,108
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
PropertiesFileTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/utils/PropertiesFileTest.java
package com.tek271.reverseProxy.utils; import static org.junit.Assert.*; import org.junit.Test; public class PropertiesFileTest { private static final String FILE= "reverseProxy.test.properties"; @Test public void testSubset() { PropertiesFile propertiesFile= new PropertiesFile(FILE); PropertiesFile...
423
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
TextToolsTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/utils/TextToolsTest.java
package com.tek271.reverseProxy.utils; import static org.junit.Assert.*; import org.junit.Test; public class TextToolsTest { @Test public void testRemoveControlChars() { assertEquals("", TextTools.removeControlChars(null)); assertEquals("", TextTools.removeControlChars("")); assertEquals(" ", T...
436
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
UrlMapperTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/text/UrlMapperTest.java
package com.tek271.reverseProxy.text; import static org.junit.Assert.assertEquals; import org.junit.Test; import com.tek271.reverseProxy.model.ModelFactory; public class UrlMapperTest { private UrlMapper target= new UrlMapper(ModelFactory.MAPPING1); @Test public void testMapContentUrlUrl() { ass...
534
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
TagTranslatorTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/text/TagTranslatorTest.java
package com.tek271.reverseProxy.text; import static org.junit.Assert.assertEquals; import java.util.regex.Pattern; import org.junit.Test; import com.tek271.reverseProxy.model.ModelFactory; public class TagTranslatorTest { // Will find all <a .*> tags private static final String ANCHORE_REGEX= "<[aA]\\b(\"[^\"]...
1,852
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
TextTranslatorTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/text/TextTranslatorTest.java
package com.tek271.reverseProxy.text; import static org.junit.Assert.*; import java.util.regex.*; import org.junit.Test; import com.tek271.reverseProxy.model.ModelFactory; public class TextTranslatorTest { private TextTranslator target= new TextTranslator(ModelFactory.MAPPING1); @Test public void testRegEx() ...
1,645
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
MappingTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/model/MappingTest.java
package com.tek271.reverseProxy.model; import static org.junit.Assert.*; import org.junit.Test; public class MappingTest { @Test public void constructorShouldParseInput() { Mapping mapping = new Mapping("maps.google.com, localhost:8080, /rp/maps"); assertEquals("maps.google.com", mapping.hiddenDomain); ...
1,319
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
ModelFactory.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/model/ModelFactory.java
package com.tek271.reverseProxy.model; public class ModelFactory { public static final Mapping MAPPING1= new Mapping("maps.google.com, localhost:8080, /rp/maps"); public static final Mapping MAPPING2= new Mapping("www.facebook.com, localhost:8080, /rp/fb"); public static final Mappings MAPPINGS = Mappings.crea...
352
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
MappingsTest.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/test/java/com/tek271/reverseProxy/model/MappingsTest.java
package com.tek271.reverseProxy.model; import static org.junit.Assert.*; import org.junit.Test; public class MappingsTest { @Test public void testfindByProxyUrl() { Mappings mappings= ModelFactory.MAPPINGS; assertEquals(mappings.get(0), mappings.findByProxyUrl("http://localhost:8080/rp/maps/1")); asse...
693
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
Config.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/config/Config.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,031
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
Properties.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/config/Properties.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,550
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
PropertiesFile.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/utils/PropertiesFile.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
3,536
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
FileTools.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/utils/FileTools.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
2,397
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
RegexFlagsEnum.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/utils/RegexFlagsEnum.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,361
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
RegexTools.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/utils/RegexTools.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
2,136
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
TextTools.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/utils/TextTools.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,363
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
Tuple3.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/utils/Tuple3.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
2,200
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
Tuple2.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/utils/Tuple2.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,996
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
ContentType.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/servlet/ContentType.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
2,083
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
ProxyFilter.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/servlet/ProxyFilter.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
2,656
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
ContentUtils.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/servlet/ContentUtils.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,950
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
ContentTranslator.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/servlet/ContentTranslator.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,894
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
TextTranslator.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/text/TextTranslator.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
2,447
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
UrlMapper.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/text/UrlMapper.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
2,327
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
TagTranslator.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/text/TagTranslator.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
3,328
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
Mappings.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/model/Mappings.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,687
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
Mapping.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/model/Mapping.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
2,291
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
RegexPair.java
/FileExtraction/Java_unseen/ahabra_reverse-proxy/project/src/main/java/com/tek271/reverseProxy/model/RegexPair.java
/* This file is part of Tek271 Reverse Proxy Server. Tek271 Reverse Proxy Server is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Tek...
1,642
Java
.java
ahabra/reverse-proxy
33
14
2
2011-03-13T21:38:24Z
2011-03-26T04:51:43Z
RSACipherTesting.java
/FileExtraction/Java_unseen/gonespy_bstormps3/test/main/java/com/gonespy/service/testing/RSACipherTesting.java
package com.gonespy.service.testing; import com.gonespy.service.shared.Constants; import com.gonespy.service.util.CertificateUtils; import org.junit.Ignore; import org.junit.Test; import javax.crypto.Cipher; import javax.xml.bind.DatatypeConverter; import java.math.BigInteger; import java.security.*; import java.secu...
6,409
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
RsaExample.java
/FileExtraction/Java_unseen/gonespy_bstormps3/test/main/java/com/gonespy/service/testing/RsaExample.java
package com.gonespy.service.testing; import org.apache.commons.codec.digest.DigestUtils; import javax.crypto.Cipher; import javax.xml.bind.DatatypeConverter; import java.security.*; import static java.nio.charset.StandardCharsets.UTF_8; public class RsaExample { public static KeyPair generateKeyPair() throws Ex...
3,834
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
TestStringUtils.java
/FileExtraction/Java_unseen/gonespy_bstormps3/test/main/java/com/gonespy/service/util/TestStringUtils.java
package com.gonespy.service.util; import org.junit.Ignore; import org.junit.Test; import java.util.LinkedHashMap; import java.util.Map; import static com.gonespy.service.util.CertificateUtils.SERVER_DATA; import static com.google.common.truth.Truth.assertThat; public class TestStringUtils { // GOLDEN MD5 - thi...
5,062
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
TestGsLargeInt.java
/FileExtraction/Java_unseen/gonespy_bstormps3/test/main/java/com/gonespy/service/util/TestGsLargeInt.java
package com.gonespy.service.util; import com.google.common.collect.ImmutableList; import org.junit.Test; import java.util.Arrays; import static com.google.common.truth.Truth.assertThat; // NOTE: all functions tested against C except where specified public class TestGsLargeInt { @Test public void testGsLarg...
7,979
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
TestCertificateUtils.java
/FileExtraction/Java_unseen/gonespy_bstormps3/test/main/java/com/gonespy/service/util/TestCertificateUtils.java
package com.gonespy.service.util; import com.google.common.base.Strings; import com.google.common.collect.ImmutableMap; import org.junit.Test; import javax.crypto.Cipher; import java.math.BigInteger; import java.security.KeyFactory; import java.security.interfaces.RSAPublicKey; import java.security.spec.RSAPublicKeyS...
4,338
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
TestSoapUtils.java
/FileExtraction/Java_unseen/gonespy_bstormps3/test/main/java/com/gonespy/service/util/TestSoapUtils.java
package com.gonespy.service.util; import com.google.common.collect.ImmutableMap; import org.junit.Test; import java.util.Map; import static com.google.common.truth.Truth.assertThat; public class TestSoapUtils { @Test public void testEmptySoapTag() { String tag = SoapUtils.emptySoapTag("sometag"); ...
3,245
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
TestGPMessageUtils.java
/FileExtraction/Java_unseen/gonespy_bstormps3/test/main/java/com/gonespy/service/util/TestGPMessageUtils.java
package com.gonespy.service.util; import org.junit.Test; import java.util.LinkedHashMap; import java.util.Map; import static com.google.common.truth.Truth.assertThat; public class TestGPMessageUtils { @Test public void testParseClientLogin() { String test = "\\login\\\\challenge\\ZXX7h9eiTe0EP5teW1...
2,637
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
RunAllServices.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/RunAllServices.java
package com.gonespy.service; import com.gonespy.service.auth.AuthService; import com.gonespy.service.availability.AvailabilityService; import com.gonespy.service.gpcm.GPCMService; import com.gonespy.service.gpsp.GPSPService; import com.gonespy.service.sake.SakeService; import com.gonespy.service.stats.GStatsService; i...
1,590
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
DropwizardProbe.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/DropwizardProbe.java
package com.gonespy.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.net.ssl.*; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.cert.X509Ce...
3,266
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
AvailabilityTestClient.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/availability/AvailabilityTestClient.java
package com.gonespy.service.availability; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.util.Arrays; import static com.gonespy.service.util.StringUtils.bytesToReadableHex; ...
1,436
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
AvailabilityService.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/availability/AvailabilityService.java
package com.gonespy.service.availability; import com.gonespy.service.util.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.SocketException; public class AvailabilityService implements Runn...
3,087
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPCMService.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/gpcm/GPCMService.java
package com.gonespy.service.gpcm; /** * Created by gonespy on 8/02/2018. * * gpcm.gamespy.com:29900 * */ import java.io.IOException; import java.net.ServerSocket; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class GPCMService implements Runnable { private static final String DISPLAY_NAME...
1,041
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPCMTestClient.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/gpcm/GPCMTestClient.java
package com.gonespy.service.gpcm; /** * Created by gonespy on 8/02/2018. */ import java.io.*; import java.net.Socket; import java.net.UnknownHostException; import static com.gonespy.service.util.GPMessageUtils.readGPMessage; public class GPCMTestClient { public static void main(String[] args) { Strin...
1,595
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPCMServiceThread.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/gpcm/GPCMServiceThread.java
package com.gonespy.service.gpcm; /** * Created by gonespy on 8/02/2018. */ import com.gonespy.service.shared.GPState; import com.gonespy.service.util.GPNetworkException; import com.gonespy.service.util.StringUtils; import com.gonespy.service.shared.Constants; import com.google.common.base.Strings; import org.slf4j...
7,777
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPSPTestClient.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/gpsp/GPSPTestClient.java
package com.gonespy.service.gpsp; /** * Created by gonespy on 8/02/2018. */ import com.gonespy.service.util.GPMessageUtils; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.net.Socket; import java.net.UnknownHostException; public class GP...
1,338
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPSPService.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/gpsp/GPSPService.java
package com.gonespy.service.gpsp; /** * Created by gonespy on 8/02/2018. * * gpsp.gamespy.com:29901 * */ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.net.ServerSocket; public class GPSPService implements Runnable { private static final String DISPLAY_NA...
1,031
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPSPServiceThread.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/gpsp/GPSPServiceThread.java
package com.gonespy.service.gpsp; /** * Created by gonespy on 8/02/2018. * */ import com.gonespy.service.util.GPMessageUtils; import com.gonespy.service.shared.GPState; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; impo...
4,860
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
SakeServiceConfiguration.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/sake/SakeServiceConfiguration.java
package com.gonespy.service.sake; import com.fasterxml.jackson.annotation.JsonProperty; import io.dropwizard.Configuration; import io.federecio.dropwizard.swagger.SwaggerBundleConfiguration; public class SakeServiceConfiguration extends Configuration { @JsonProperty("swagger") public SwaggerBundleConfigurati...
354
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
DummyHealthCheck.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/sake/DummyHealthCheck.java
package com.gonespy.service.sake; import com.codahale.metrics.health.HealthCheck; public class DummyHealthCheck extends HealthCheck { @Override protected Result check() throws Exception { return Result.builder() // TODO Add proper health check .withMessage("Add proper...
402
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
SakeService.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/sake/SakeService.java
package com.gonespy.service.sake; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; impo...
3,306
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
SakeResource.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/sake/resources/SakeResource.java
package com.gonespy.service.sake.resources; import com.gonespy.service.util.SoapUtils; import io.swagger.annotations.Api; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaTy...
10,551
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
VersionResource.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/sake/resources/VersionResource.java
package com.gonespy.service.sake.resources; import com.google.common.collect.ImmutableMap; import io.swagger.annotations.Api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import java.io.IOException; import java.io.InputStream; import java.util.Map; i...
1,486
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPState.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/shared/GPState.java
package com.gonespy.service.shared; public enum GPState { CONNECT, WAIT, DONE }
93
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
Constants.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/shared/Constants.java
package com.gonespy.service.shared; import com.google.common.base.Strings; public abstract class Constants { public static final int STRING_AUTH_LENGTH = 32; public static final String DUMMY_AUTH_TOKEN = Strings.padEnd("", STRING_AUTH_LENGTH, '1'); public static final String DUMMY_PARTNER_CHALLENGE = Str...
887
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
AuthServiceConfiguration.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/auth/AuthServiceConfiguration.java
package com.gonespy.service.auth; import com.fasterxml.jackson.annotation.JsonProperty; import io.dropwizard.Configuration; import io.federecio.dropwizard.swagger.SwaggerBundleConfiguration; public class AuthServiceConfiguration extends Configuration { @JsonProperty("swagger") public SwaggerBundleConfigurati...
354
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
DummyHealthCheck.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/auth/DummyHealthCheck.java
package com.gonespy.service.auth; import com.codahale.metrics.health.HealthCheck; public class DummyHealthCheck extends HealthCheck { @Override protected Result check() throws Exception { return Result.builder() // TODO Add proper health check .withMessage("Add proper...
402
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
AuthService.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/auth/AuthService.java
package com.gonespy.service.auth; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; impo...
3,562
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
AuthResource.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/auth/resources/AuthResource.java
package com.gonespy.service.auth.resources; import com.gonespy.service.util.CertificateUtils; import com.gonespy.service.util.SoapUtils; import io.swagger.annotations.Api; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import jav...
3,703
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
VersionResource.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/auth/resources/VersionResource.java
package com.gonespy.service.auth.resources; import com.google.common.collect.ImmutableMap; import io.swagger.annotations.Api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import java.io.IOException; import java.io.InputStream; import java.util.Map; i...
1,486
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GStatsTestClient.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/stats/GStatsTestClient.java
package com.gonespy.service.stats; /** * Created by gonespy on 8/02/2018. */ import com.gonespy.service.util.GPMessageUtils; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.net.Socket; import java.net.UnknownHostException; public class G...
1,723
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GStatsServiceThread.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/stats/GStatsServiceThread.java
package com.gonespy.service.stats; /** * Created by gonespy on 8/02/2018. * */ import com.gonespy.service.shared.GPState; import com.gonespy.service.util.GPMessageUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; imp...
4,057
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GStatsService.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/stats/GStatsService.java
package com.gonespy.service.stats; /** * Created by gonespy on 8/02/2018. * * gstats.gamespy.com:29920 * */ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.net.ServerSocket; public class GStatsService implements Runnable { private static final String DISPL...
1,050
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPMessageUtils.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/util/GPMessageUtils.java
package com.gonespy.service.util; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; public abstract class GPMessageUtils { private static String MESSAGE_DELIMITER ...
2,584
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GsLargeInt.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/util/GsLargeInt.java
package com.gonespy.service.util; import javax.crypto.Cipher; import java.math.BigInteger; import java.security.KeyFactory; import java.security.interfaces.RSAPublicKey; import java.security.spec.RSAPublicKeySpec; import java.util.ArrayList; import java.util.List; public class GsLargeInt { private static int GS_...
6,790
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
SoapUtils.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/util/SoapUtils.java
package com.gonespy.service.util; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.SAXException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import java.io.ByteArr...
4,580
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
GPNetworkException.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/util/GPNetworkException.java
package com.gonespy.service.util; import java.io.IOException; public class GPNetworkException extends IOException { public GPNetworkException(String s) { super(s); } }
186
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
StringUtils.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/util/StringUtils.java
package com.gonespy.service.util; import com.google.common.base.Strings; import org.apache.commons.codec.DecoderException; import org.apache.commons.codec.binary.Hex; import org.apache.commons.codec.digest.DigestUtils; import java.nio.ByteBuffer; import java.security.MessageDigest; import java.util.Map; import java.u...
6,423
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
CertificateUtils.java
/FileExtraction/Java_unseen/gonespy_bstormps3/src/main/java/com/gonespy/service/util/CertificateUtils.java
package com.gonespy.service.util; import com.gonespy.service.gpcm.GPCMServiceThread; import com.google.common.base.Strings; import java.util.LinkedHashMap; import java.util.Map; public abstract class CertificateUtils { // PUBLIC EXPONENT / POWER public static final String WS_AUTHSERVICE_SIGNATURE_EXP = "010...
10,726
Java
.java
gonespy/bstormps3
27
6
4
2018-02-13T06:47:07Z
2020-10-13T08:47:07Z
ExampleUnitTest.java
/FileExtraction/Java_unseen/drcoms_jlu-drcom-client/drcom-android-new/app/src/test/java/com/example/drclient/ExampleUnitTest.java
package com.example.drclient; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void a...
381
Java
.java
drcoms/jlu-drcom-client
142
1
9
2014-10-20T16:26:48Z
2020-09-01T13:48:47Z