Changeset 94056f6


Ignore:
Timestamp:
Apr 28, 2016 1:49:45 AM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
fb5ef83
Parents:
9f31b1f
Message:

fixup @since after prop

Location:
core/java/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/freenet/support/CPUInformation/CPUID.java

    r9f31b1f r94056f6  
    110110     *  Get the jbigi version, only available since jbigi version 3
    111111     *  Caller must catch Throwable
    112      *  @since 0.9.25
     112     *  @since 0.9.26
    113113     */
    114114    private native static int nativeJcpuidVersion();
     
    117117     *  Get the jcpuid version
    118118     *  @return 0 if no jcpuid available, 2 if version not supported
    119      *  @since 0.9.25
     119     *  @since 0.9.26
    120120     */
    121121    private static int fetchJcpuidVersion() {
     
    227227
    228228    /**
    229      *  @since 0.9.25
     229     *  @since 0.9.26
    230230     */
    231231    static int getExtendedEBXFeatureFlags()
     
    240240    /**
    241241     *  There's almost nothing in here.
    242      *  @since 0.9.25
     242     *  @since 0.9.26
    243243     */
    244244    static int getExtendedECXFeatureFlags()
  • core/java/src/freenet/support/CPUInformation/CPUIDCPUInfo.java

    r9f31b1f r94056f6  
    4949    /**
    5050     * @return true iff the CPU supports the AVX instruction set.
    51      * @since 0.9.25
     51     * @since 0.9.26
    5252     */
    5353    public boolean hasAVX()
     
    6060    /**
    6161     * @return true iff the CPU supports the AVX2 instruction set.
    62      * @since 0.9.25
     62     * @since 0.9.26
    6363     */
    6464    public boolean hasAVX2() {
     
    7878     *
    7979     * @return true iff the CPU supports the AVX-512 Foundation instruction set.
    80      * @since 0.9.25
     80     * @since 0.9.26
    8181     */
    8282    public boolean hasAVX512()
     
    9292     *
    9393     * @return true iff the CPU supports the ADX instruction set.
    94      * @since 0.9.25
     94     * @since 0.9.26
    9595     */
    9696    public boolean hasADX()
     
    101101    /**
    102102     * @return true iff the CPU supports TBM.
    103      * @since 0.9.25
     103     * @since 0.9.26
    104104     */
    105105    public boolean hasTBM()
     
    118118    /**
    119119     * @return true iff the CPU supports the 64-bit support
    120      * @since 0.9.25
     120     * @since 0.9.26
    121121     */
    122122    public boolean hasX64() {
     
    126126    /**
    127127     * @return true iff the CPU supports the BMI1 instruction set.
    128      * @since 0.9.25
     128     * @since 0.9.26
    129129     */
    130130    public boolean hasBMI1() {
     
    134134    /**
    135135     * @return true iff the CPU supports the BMI2 instruction set.
    136      * @since 0.9.25
     136     * @since 0.9.26
    137137     */
    138138    public boolean hasBMI2() {
     
    142142    /**
    143143     * @return true iff the CPU supports the FMA3 instruction set.
    144      * @since 0.9.25
     144     * @since 0.9.26
    145145     */
    146146    public boolean hasFMA3() {
     
    150150    /**
    151151     * @return true iff the CPU supports the MOVBE instruction set.
    152      * @since 0.9.25
     152     * @since 0.9.26
    153153     */
    154154    public boolean hasMOVBE() {
     
    159159     * Also known as LZCNT
    160160     * @return true iff the CPU supports the ABM instruction set.
    161      * @since 0.9.25
     161     * @since 0.9.26
    162162     */
    163163    public boolean hasABM() {
  • core/java/src/freenet/support/CPUInformation/CPUInfo.java

    r9f31b1f r94056f6  
    7272    /**
    7373     * @return true iff the CPU supports the AVX instruction set.
    74      * @since 0.9.25
     74     * @since 0.9.26
    7575     */
    7676    public boolean hasAVX();
     
    7878    /**
    7979     * @return true iff the CPU supports the AVX2 instruction set.
    80      * @since 0.9.25
     80     * @since 0.9.26
    8181     */
    8282    public boolean hasAVX2();
     
    9494     *
    9595     * @return true iff the CPU supports the AVX-512 Foundation instruction set.
    96      * @since 0.9.25
     96     * @since 0.9.26
    9797     */
    9898    public boolean hasAVX512();
     
    105105     *
    106106     * @return true iff the CPU supports the ADX instruction set.
    107      * @since 0.9.25
     107     * @since 0.9.26
    108108     */
    109109    public boolean hasADX();
     
    111111    /**
    112112     * @return true iff the CPU supports TBM.
    113      * @since 0.9.25
     113     * @since 0.9.26
    114114     */
    115115    public boolean hasTBM();
     
    123123    /**
    124124     * @return true iff the CPU supports the 64-bit support
    125      * @since 0.9.25
     125     * @since 0.9.26
    126126     */
    127127    public boolean hasX64();
     
    129129    /**
    130130     * @return true iff the CPU supports the BMI1 instruction set.
    131      * @since 0.9.25
     131     * @since 0.9.26
    132132     */
    133133    public boolean hasBMI1();
     
    135135    /**
    136136     * @return true iff the CPU supports the BMI2 instruction set.
    137      * @since 0.9.25
     137     * @since 0.9.26
    138138     */
    139139    public boolean hasBMI2();
     
    141141    /**
    142142     * @return true iff the CPU supports the FMA3 instruction set.
    143      * @since 0.9.25
     143     * @since 0.9.26
    144144     */
    145145    public boolean hasFMA3();
     
    147147    /**
    148148     * @return true iff the CPU supports the MOVBE instruction set.
    149      * @since 0.9.25
     149     * @since 0.9.26
    150150     */
    151151    public boolean hasMOVBE();
     
    154154     * Also known as LZCNT
    155155     * @return true iff the CPU supports the ABM instruction set.
    156      * @since 0.9.25
     156     * @since 0.9.26
    157157     */
    158158    public boolean hasABM();
  • core/java/src/freenet/support/CPUInformation/IntelCPUInfo.java

    r9f31b1f r94056f6  
    8080     * In general, this requires 32nm or smaller process.
    8181     * @return true if the CPU implements at least a SandyBridge level instruction/feature set.
    82      * @since 0.9.25
     82     * @since 0.9.26
    8383     */
    8484    public boolean IsSandyCompatible();
     
    9494     *
    9595     * @return true if the CPU implements at least a IvyBridge level instruction/feature set.
    96      * @since 0.9.25
     96     * @since 0.9.26
    9797     */
    9898    public boolean IsIvyCompatible();
     
    116116     * In general, this requires 22nm or smaller process.
    117117     * @return true if the CPU implements at least a Haswell level instruction/feature set.
    118      * @since 0.9.25
     118     * @since 0.9.26
    119119     */
    120120    public boolean IsHaswellCompatible();
     
    137137     *
    138138     * @return true if the CPU implements at least a Broadwell level instruction/feature set.
    139      * @since 0.9.25
     139     * @since 0.9.26
    140140     */
    141141    public boolean IsBroadwellCompatible();
  • core/java/src/net/i2p/util/NativeBigInteger.java

    r9f31b1f r94056f6  
    158158    private final static String JBIGI_OPTIMIZATION_VIAC32     = "viac32";
    159159    /**
    160      * The optimization levels defined here are since 0.9.25. Each of the 32-bit processors below
     160     * The optimization levels defined here are since 0.9.26. Each of the 32-bit processors below
    161161     * needs an explicit fallback in getResourceList() or getMiddleName2().
    162162     * 64-bit processors will fallback to athlon64 and athlon in getResourceList().
    163      * @since 0.9.25
     163     * @since 0.9.26
    164164     */
    165165    private final static String JBIGI_OPTIMIZATION_COREI_SBR   = "coreisbr";
     
    182182    /**
    183183     * ARM
    184      * @since 0.9.25
     184     * @since 0.9.26
    185185     */
    186186    private final static String JBIGI_OPTIMIZATION_ARM_ARMV5           = "armv5";
     
    195195    /**
    196196     * None, no optimizations. The default fallback for x86.
    197      * @since 0.9.25
     197     * @since 0.9.26
    198198     */
    199199    private final static String JBIGI_OPTIMIZATION_X86       = "none";
     
    508508     * @return big endian twos complement representation of (base ^ exponent) % modulus
    509509     * @throws ArithmeticException if modulus &lt;= 0
    510      * @since 0.9.25 and libjbigi version 3
     510     * @since 0.9.26 and libjbigi version 3
    511511     */
    512512    private native static byte[] nativeModPowCT(byte base[], byte exponent[], byte modulus[]);
    513513
    514514    /**
    515      *  @since 0.9.25 and libjbigi version 3
     515     *  @since 0.9.26 and libjbigi version 3
    516516     *  @throws ArithmeticException
    517517     */
     
    520520    /**
    521521     *  Only for testing jbigi's negative conversion functions!
    522      *  @since 0.9.25
     522     *  @since 0.9.26
    523523     */
    524524    //private native static byte[] nativeNeg(byte d[]);
     
    527527     *  Get the jbigi version, only available since jbigi version 3
    528528     *  Caller must catch Throwable
    529      *  @since 0.9.25
     529     *  @since 0.9.26
    530530     */
    531531    private native static int nativeJbigiVersion();
     
    533533    /**
    534534     *  Get the libmp version, only available since jbigi version 3
    535      *  @since 0.9.25
     535     *  @since 0.9.26
    536536     */
    537537    private native static int nativeGMPMajorVersion();
     
    539539    /**
    540540     *  Get the libmp version, only available since jbigi version 3
    541      *  @since 0.9.25
     541     *  @since 0.9.26
    542542     */
    543543    private native static int nativeGMPMinorVersion();
     
    545545    /**
    546546     *  Get the libmp version, only available since jbigi version 3
    547      *  @since 0.9.25
     547     *  @since 0.9.26
    548548     */
    549549    private native static int nativeGMPPatchVersion();
     
    552552     *  Get the jbigi version
    553553     *  @return 0 if no jbigi available, 2 if version not supported
    554      *  @since 0.9.25
     554     *  @since 0.9.26
    555555     */
    556556    private static int fetchJbigiVersion() {
     
    567567     *  Set the jbigi and libgmp versions. Call after loading.
    568568     *  Sets _jbigiVersion, _nativeOk3, and _libGMPVersion.
    569      *  @since 0.9.25
     569     *  @since 0.9.26
    570570     */
    571571    private static void setVersions() {
     
    589589     *  Get the jbigi version
    590590     *  @return 0 if no jbigi available, 2 if version info not supported
    591      *  @since 0.9.25
     591     *  @since 0.9.26
    592592     */
    593593    public static int getJbigiVersion() {
     
    598598     *  Get the libgmp version
    599599     *  @return "unknown" if no jbigi available or if version not supported
    600      *  @since 0.9.25
     600     *  @since 0.9.26
    601601     */
    602602    public static String getLibGMPVersion() {
     
    655655    /**
    656656     *  @throws ArithmeticException if m &lt;= 0
    657      *  @since 0.9.25 and libjbigi version 3 and GMP version 5
     657     *  @since 0.9.26 and libjbigi version 3 and GMP version 5
    658658     */
    659659    public BigInteger modPowCT(BigInteger exponent, BigInteger m) {
     
    666666    /**
    667667     *  @throws ArithmeticException if not coprime with m, or m &lt;= 0
    668      *  @since 0.9.25 and libjbigi version 3
     668     *  @since 0.9.26 and libjbigi version 3
    669669     */
    670670    @Override
     
    10071007    }
    10081008   
    1009     /** @since 0.9.25 */
     1009    /** @since 0.9.26 */
    10101010    private static void error(String s) {
    10111011        error(s, null);
    10121012    }
    10131013   
    1014     /** @since 0.9.25 */
     1014    /** @since 0.9.26 */
    10151015    private static void error(String s, Throwable t) {
    10161016        if(_doLog) {
Note: See TracChangeset for help on using the changeset viewer.