Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
package lzma.sdk.rangecoder; import java.io.IOException; public class Encoder { private static final int kTopMask = ~((1 << 24) - 1); private static final int kNumBitModelTotalBits = 11; private static final int kBitModelTotal = (1 << kNumBitModelTotalBits); private static final int kNumMoveBits = 5;...
989
github-java-corpus
2,012
package lzma.sdk.rangecoder; public class BitTreeDecoder { private final short[] Models; private final int NumBitLevels; public BitTreeDecoder(int numBitLevels) { NumBitLevels = numBitLevels; Models = new short[1 << numBitLevels]; } public void init() { Decoder.initBitMode...
354
github-java-corpus
2,012
package lzma.sdk.rangecoder; import java.io.IOException; public class Decoder { private static final int kTopMask = ~((1 << 24) - 1); private static final int kNumBitModelTotalBits = 11; private static final int kBitModelTotal = (1 << kNumBitModelTotalBits); private static final int kNumMoveBits = 5;...
585
github-java-corpus
2,012
package com.sk89q.mclauncher; import java.awt.Color; import java.awt.Cursor; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.Action; import javax.swing.BorderFactory; import javax.swing.Icon; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.border....
416
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
524
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (...
4,429
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
709
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
251
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
816
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,440
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
267
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,301
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,321
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,307
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
898
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
464
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
210
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
542
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
794
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
458
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
689
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
261
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
4,773
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
3,384
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
217
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,373
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
366
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
268
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
3,380
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
2,303
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
2,022
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
402
github-java-corpus
2,012
package com.sk89q.mclauncher.util; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; public class MixedDataBufferedInputStream extends BufferedInputStream { private int lineBufferSize = 8192; public MixedDataBufferedInputStrea...
272
github-java-corpus
2,012
package com.sk89q.mclauncher.util; import java.io.OutputStream; import java.net.URL; import java.security.MessageDigest; import java.util.EventObject; import javax.swing.event.EventListenerList; import com.sk89q.mclauncher.DownloadListener; import com.sk89q.mclauncher.DownloadProgressEvent; public abstr...
946
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (...
918
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,849
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
821
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
962
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (...
2,269
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,724
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (...
1,594
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
612
github-java-corpus
2,012
package com.sk89q.mclauncher.util; import java.io.IOException; import java.security.MessageDigest; import com.sk89q.mclauncher.DownloadListener; public interface Downloader { /** * Register listener for download events. * * @param l listener */ public abstract void addDown...
428
github-java-corpus
2,012
package com.sk89q.mclauncher.util; import javax.swing.SwingUtilities; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; import javax.swing.text.BadLocationException; import javax.swing.text.Document; import javax.swing.text.Element; /** * From http://tips4java.wordpress.com/2008/10/1...
664
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
410
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
240
github-java-corpus
2,012
package com.sk89q.mclauncher; import com.sk89q.mclauncher.util.Util; import java.io.File; /** * Represents a jar that contains the main Minecraft game. * * @author md_5 */ public class MinecraftJar { private final File file; private String version; public MinecraftJar(File file) { this.file ...
159
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
268
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
2,267
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
255
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
205
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (...
1,786
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,472
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
515
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
320
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
3,239
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,004
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
2,266
github-java-corpus
2,012
package com.sk89q.mclauncher; import java.util.EventListener; import java.util.EventObject; public interface ProgressListener extends EventListener { public void titleChanged(TitleChangeEvent event); public void statusChanged(StatusChangeEvent event); public void valueChanged(ValueChangeEvent event); ...
68
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
257
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
2,196
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
440
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
543
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
758
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,005
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
266
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
706
github-java-corpus
2,012
package com.sk89q.mclauncher; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.GridLayout; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; import javax.imageio.ImageIO; import javax...
650
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
487
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
5,559
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
431
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
255
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
2,790
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
713
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
1,926
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
506
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
483
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
3,249
github-java-corpus
2,012
/* * SK's Minecraft Launcher * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
2,348
github-java-corpus
2,012
package jp.mitukiii.tumblife; import android.app.Application; public class App extends Application { public static boolean isClearCached = false; }
33
github-java-corpus
2,012
package jp.mitukiii.tumblife; import jp.mitukiii.tumblife.R; import jp.mitukiii.tumblife.util.TLLog; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.content.DialogInterface.OnClickListener; import android.c...
768
github-java-corpus
2,012
package jp.mitukiii.tumblife.util; import java.io.IOException; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import android.content.Context; import android.content.res.AssetManager; import jp.mitukiii.tumblife.exeption.TLSDCardNotFoundException; import jp.mitukiii.tumblife.model.TLPost; impo...
1,810
github-java-corpus
2,012
package jp.mitukiii.tumblife.util; import jp.mitukiii.tumblife.Main; import android.util.Log; public class TLLog { public static final boolean IS_DEBUG = false; public static int e(String msg) { return Log.e(Main.APP_NAME, msg); } public static int e(String msg, Throwable tr) { return Log.e(Mai...
364
github-java-corpus
2,012
package jp.mitukiii.tumblife.util; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; public class TLBrowser { protected String cookie; public HttpURLConnection req...
581
github-java-corpus
2,012
package jp.mitukiii.tumblife.util; import java.io.IOException; import java.io.OutputStreamWriter; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class TLConnect...
791
github-java-corpus
2,012
package jp.mitukiii.tumblife.util; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputS...
2,413
github-java-corpus
2,012
package jp.mitukiii.tumblife.exeption; import java.io.IOException; public class TLFailureException extends IOException { private static final long serialVersionUID = 820045226246174242L; public TLFailureException() {} public TLFailureException(String message) { super(message); } }
66
github-java-corpus
2,012
package jp.mitukiii.tumblife.exeption; public class TLAuthenticationFailureException extends TLFailureException { private static final long serialVersionUID = -2760519504496168047L; public TLAuthenticationFailureException() { super("Authentication failed."); } public TLAuthenticationFailureException(St...
76
github-java-corpus
2,012
package jp.mitukiii.tumblife.exeption; public class TLSDCardNotFoundException extends TLFailureException { private static final long serialVersionUID = 7263100142532892304L; public TLSDCardNotFoundException() { super("SDCard not found."); } public TLSDCardNotFoundException(String message) { super...
78
github-java-corpus
2,012
package jp.mitukiii.tumblife.exeption; public class TLParserException extends TLFailureException { private static final long serialVersionUID = -5127186827932785079L; public TLParserException() { super("Parsing failed."); } public TLParserException(String message) { super(message); } }
73
github-java-corpus
2,012
package jp.mitukiii.tumblife; import java.util.HashMap; import jp.mitukiii.tumblife.R; import jp.mitukiii.tumblife.model.TLPost; import jp.mitukiii.tumblife.model.TLSetting; import jp.mitukiii.tumblife.tumblr.TLDashboard; import jp.mitukiii.tumblife.tumblr.TLDashboardDelegate; import jp.mitukiii.tumblife.tumblr.TLDash...
5,254
github-java-corpus
2,012
package jp.mitukiii.tumblife.model; public class TLModel { }
18
github-java-corpus
2,012
package jp.mitukiii.tumblife.model; import jp.mitukiii.tumblife.R; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.preference.PreferenceManager; import android.view.KeyEvent; public class TLSetting extends TLModel { public sta...
1,692
github-java-corpus
2,012
package jp.mitukiii.tumblife.model; import java.io.Serializable; public class TLTumblelog extends TLModel implements Serializable { private static final long serialVersionUID = 4700140126971213055L; protected String title; protected boolean isAdmin; protected int posts; protected boolean twitterEnable...
671
github-java-corpus
2,012
package jp.mitukiii.tumblife.model; import java.io.Serializable; import jp.mitukiii.tumblife.util.TLExplorer; import jp.mitukiii.tumblife.util.TLLog; public class TLPost extends TLModel implements Serializable { private static final long serialVersionUID = -7040021309142170021L; public static final String TYPE_Q...
3,655
github-java-corpus
2,012
package jp.mitukiii.tumblife.model; import java.io.Serializable; import java.util.List; public class TLUser extends TLModel implements Serializable { private static final long serialVersionUID = -105340118971840100L; protected List<TLTumblelog> tumblelogs; protected String defaultPostFormat; prot...
537
github-java-corpus
2,012
package jp.mitukiii.tumblife.ui; import jp.mitukiii.tumblife.R; import jp.mitukiii.tumblife.model.TLSetting; import jp.mitukiii.tumblife.util.TLLog; import android.app.AlertDialog; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.DialogInterface; import android.c...
628
github-java-corpus
2,012
package jp.mitukiii.tumblife.ui; public interface TLWebViewClientDelegate { public void startActivityFailure(); }
26
github-java-corpus
2,012
package jp.mitukiii.tumblife; import java.io.File; import jp.mitukiii.tumblife.R; import jp.mitukiii.tumblife.model.TLSetting.DASHBOARD_TYPE; import jp.mitukiii.tumblife.util.TLExplorer; import jp.mitukiii.tumblife.util.TLLog; import android.app.ProgressDialog; import android.content.Context; import android.content.In...
740
github-java-corpus
2,012
package jp.mitukiii.tumblife; public enum KeyCodeMap { KEYCODE_UNKNOWN ("UNKNOWN", 0), KEYCODE_SOFT_LEFT ("SOFT_LEFT", 1), KEYCODE_SOFT_RIGHT ("SOFT_RIGHT", 2), KEYCODE_HOME ("HOME", 3), KEYCODE_BACK ("BACK", 4), KEYCODE_CALL ("CALL", 5), KEYCODE_ENDCALL ("ENDCALL", 6), KEYCODE_0 ("0", 7), KEYCODE_1 ...
1,180