<commit_before>package com.mobilesolutionworks.android.httpcache;

import org.apache.http.NoHttpResponseException;

import java.io.IOException;
import java.io.InterruptedIOException;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by yunarta on 8/6/14.
 */
public enum CacheErrorCode
{
    UNKNOWN(0xffffffff),
    TIMEOUT_EXCEPTION(0x8000 | 21),
    IO_EXCEPTION(0x8000 | 20),
    SECURITY_EXCEPTION(0x8000 | 10),
    GENERIC_PROCESS_ERROR(0x8000),

    NET_HTTP_NOT_FOUND(0x4000 | 404),
    GENERIC_NET_ERROR(0x4000),
    CANCELED(0x1),
    OK(0),
    DELETED(-1);

    private int mValue;

    CacheErrorCode(int value)
    {
        mValue = value;
    }

    public int value()
    {
        return mValue;<commit_msg>modify error code to hex value<commit_after>package com.mobilesolutionworks.android.httpcache;

import org.apache.http.NoHttpResponseException;

import java.io.IOException;
import java.io.InterruptedIOException;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by yunarta on 8/6/14.
 */
public enum CacheErrorCode
{
    UNKNOWN(0xffffffff),
    TIMEOUT_EXCEPTION(0x8000 | 0x15),
    IO_EXCEPTION(0x8000 | 0x14),
    SECURITY_EXCEPTION(0x8000 | 0x0a),
    GENERIC_PROCESS_ERROR(0x8000),

    NET_HTTP_NOT_FOUND(0x4000 | 404),
    GENERIC_NET_ERROR(0x4000),
    CANCELED(0x1),
    OK(0),
    DELETED(-1);

    private int mValue;

    CacheErrorCode(int value)
    {
        mValue = value;
    }

    public int value()
    {
        return mValue;
{'fraction_non_alphanumeric': 0.10526315789473684, 'fraction_numerical': 0.06528980679546968, 'mean_word_length': 3.4437869822485205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1091371', 'n_tokens_mistral': 609, 'n_tokens_neox': 536, 'n_words': 96}