project: Rev 202
This commit is contained in:
@@ -25,14 +25,14 @@ public class BufferedNetSocket extends AbstractSocket {
|
||||
BufferedSink sink;
|
||||
|
||||
BufferedNetSocket(Socket var1, int var2, int var3) throws IOException {
|
||||
this.socket = var1; // L: 12
|
||||
this.socket.setSoTimeout(30000); // L: 13
|
||||
this.socket.setTcpNoDelay(true); // L: 14
|
||||
this.socket.setReceiveBufferSize(65536); // L: 15
|
||||
this.socket.setSendBufferSize(65536); // L: 16
|
||||
this.source = new BufferedSource(this.socket.getInputStream(), var2); // L: 17
|
||||
this.sink = new BufferedSink(this.socket.getOutputStream(), var3); // L: 18
|
||||
} // L: 19
|
||||
this.socket = var1;
|
||||
this.socket.setSoTimeout(30000);
|
||||
this.socket.setTcpNoDelay(true);
|
||||
this.socket.setReceiveBufferSize(65536);
|
||||
this.socket.setSendBufferSize(65536);
|
||||
this.source = new BufferedSource(this.socket.getInputStream(), var2);
|
||||
this.sink = new BufferedSink(this.socket.getOutputStream(), var3);
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
@@ -41,15 +41,15 @@ public class BufferedNetSocket extends AbstractSocket {
|
||||
)
|
||||
@Export("close")
|
||||
public void close() {
|
||||
this.sink.close(); // L: 48
|
||||
this.sink.close();
|
||||
|
||||
try {
|
||||
this.socket.close(); // L: 50
|
||||
} catch (IOException var2) { // L: 52
|
||||
this.socket.close();
|
||||
} catch (IOException var2) {
|
||||
}
|
||||
|
||||
this.source.close(); // L: 53
|
||||
} // L: 54
|
||||
this.source.close();
|
||||
}
|
||||
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
@@ -68,7 +68,7 @@ public class BufferedNetSocket extends AbstractSocket {
|
||||
)
|
||||
@Export("available")
|
||||
public int available() throws IOException {
|
||||
return this.source.available(); // L: 28
|
||||
return this.source.available();
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@@ -78,7 +78,7 @@ public class BufferedNetSocket extends AbstractSocket {
|
||||
)
|
||||
@Export("isAvailable")
|
||||
public boolean isAvailable(int var1) throws IOException {
|
||||
return this.source.isAvailable(var1); // L: 23
|
||||
return this.source.isAvailable(var1);
|
||||
}
|
||||
|
||||
@ObfuscatedName("t")
|
||||
@@ -88,7 +88,7 @@ public class BufferedNetSocket extends AbstractSocket {
|
||||
)
|
||||
@Export("read")
|
||||
public int read(byte[] var1, int var2, int var3) throws IOException {
|
||||
return this.source.read(var1, var2, var3); // L: 38
|
||||
return this.source.read(var1, var2, var3);
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@@ -99,33 +99,33 @@ public class BufferedNetSocket extends AbstractSocket {
|
||||
@Export("write")
|
||||
public void write(byte[] var1, int var2, int var3) throws IOException {
|
||||
this.sink.write(var1, var2, var3);
|
||||
} // L: 44
|
||||
}
|
||||
|
||||
protected void finalize() {
|
||||
this.close(); // L: 58
|
||||
} // L: 59
|
||||
this.close();
|
||||
}
|
||||
|
||||
@ObfuscatedName("b")
|
||||
public static String method6496(long var0) {
|
||||
if (var0 > 0L && var0 < 6582952005840035281L) { // L: 31
|
||||
if (0L == var0 % 37L) { // L: 32
|
||||
if (var0 > 0L && var0 < 6582952005840035281L) {
|
||||
if (0L == var0 % 37L) {
|
||||
return null;
|
||||
} else {
|
||||
int var2 = 0; // L: 33
|
||||
int var2 = 0;
|
||||
|
||||
for (long var3 = var0; var3 != 0L; var3 /= 37L) { // L: 34 35 37
|
||||
++var2; // L: 36
|
||||
for (long var3 = var0; var3 != 0L; var3 /= 37L) {
|
||||
++var2;
|
||||
}
|
||||
|
||||
StringBuilder var5 = new StringBuilder(var2); // L: 39
|
||||
StringBuilder var5 = new StringBuilder(var2);
|
||||
|
||||
while (var0 != 0L) { // L: 40
|
||||
long var6 = var0; // L: 41
|
||||
var0 /= 37L; // L: 42
|
||||
var5.append(class332.base37Table[(int)(var6 - var0 * 37L)]); // L: 43
|
||||
while (var0 != 0L) {
|
||||
long var6 = var0;
|
||||
var0 /= 37L;
|
||||
var5.append(class332.base37Table[(int)(var6 - var0 * 37L)]);
|
||||
}
|
||||
|
||||
return var5.reverse().toString(); // L: 45
|
||||
return var5.reverse().toString();
|
||||
}
|
||||
} else {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user